/* =========================================
   COMPONENTS
   ========================================= */

/* Botones */
.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: var(--ulp-blue);
  color: var(--white);
  border: 2px solid var(--ulp-blue);
}

.btn-primary:hover {
  background: var(--ulp-accent);
  border-color: var(--ulp-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(14, 27, 155, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--ulp-blue);
  border: 2px solid var(--ulp-blue);
}

.btn-outline:hover {
  background: var(--ulp-blue);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-white {
  background: var(--white);
  color: var(--ulp-blue);
  border: 2px solid var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-3px);
}

/* Stats Box */
.stat-box {
  background: var(--ulp-light);
  padding: 2.5rem;
  border-radius: 12px;
  border-left: 5px solid var(--ulp-blue);
  margin-top: 1.5rem;
  transition: var(--transition);
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.stat-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--ulp-blue);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  font-weight: 600;
}

/* Sector Tags */
.sector-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--ulp-light);
  border: 1px solid var(--grey-200);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.sector-tag:hover {
  background: var(--ulp-blue);
  color: var(--white);
  border-color: var(--ulp-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(14, 27, 155, 0.2);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border-top: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--ulp-blue);
}

.service-icon {
  font-size: 2rem;
  color: var(--ulp-blue);
  margin-bottom: 1.5rem;
}

.service-list li i {
  color: var(--ulp-accent);
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 0.9rem;
}

/* --- Separator --- */
.section-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 6rem 0;
  opacity: 0.6;
}

.separator-line {
  height: 1px;
  width: 150px;
  background: linear-gradient(90deg, transparent, var(--ulp-blue), transparent);
}

.separator-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ulp-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ulp-blue);
  font-size: 0.9rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-5px);
  }

  60% {
    transform: translateY(-3px);
  }
}

/* --- Premium Services Grid (New) --- */
.services-premium-container {
  margin: 4rem 0 6rem 0;
  position: relative;
}

.services-premium-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.service-premium-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(14, 27, 155, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: auto;
  /* Allow flexibility but stretch fills row */
  min-height: 450px;
  /* Enforce visual uniformity */
  flex: 1 1 300px;
  max-width: 380px;
  width: 100%;
}

.service-premium-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(14, 27, 155, 0.15);
  border-color: rgba(14, 27, 155, 0.2);
}

.service-premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--ulp-blue), var(--ulp-accent));
  transition: height 0.4s ease;
}

.service-premium-card:hover::before {
  height: 100%;
}

.service-icon-box {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--ulp-light), #fff);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  font-size: 1.8rem;
  color: var(--ulp-blue);
  transition: var(--transition);
}

.service-premium-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--ulp-blue), var(--ulp-accent));
  color: var(--white);
  transform: rotate(-5deg) scale(1.1);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.service-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ulp-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.service-link:hover {
  gap: 0.8rem;
  color: var(--ulp-accent);
}

/* Adjustments for specific cards */
.card-alfa {
  background: linear-gradient(135deg, #fff, #f8fafc);
  border: 1px solid rgba(14, 27, 155, 0.1);
}

/* Diferenciadores Grid */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.diff-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 2rem;
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.diff-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.diff-item i {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent-cyan);
}

.diff-item h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.diff-item p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin: 0;
}

/* Avatar */
.avatar {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, var(--grey-200), var(--grey-100));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--ulp-grey);
  font-weight: 700;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.avatar::after {
  content: 'JU';
  position: absolute;
  color: var(--ulp-blue);
  opacity: 0.2;
}

.book-badge {
  background: var(--badge-bg);
  border-left: 4px solid var(--badge-border);
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--badge-text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Contact Components */
.contact-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.contact-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--accent-cyan);
}

/* Form */
.form-mock {
  display: grid;
  gap: 1rem;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 6px;
  font-family: inherit;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--ulp-blue);
  background: rgba(255, 255, 255, 0.15);
}

/* =========================================
   ABOUT SECTION COMPONENTS
   ========================================= */

/* About Card con Glassmorphism */
.about-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(14, 27, 155, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--ulp-blue), var(--ulp-accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px -10px rgba(14, 27, 155, 0.25);
  border-color: rgba(14, 27, 155, 0.3);
}

/* Icon Box */
.icon-box {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--ulp-blue), var(--ulp-accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(14, 27, 155, 0.3);
  transition: var(--transition);
}

.about-card:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
}

.icon-box i {
  font-size: 2rem;
  color: var(--white);
}

/* Mission/Vision Boxes mejorados */
.mv-box {
  background: linear-gradient(135deg, rgba(14, 27, 155, 0.03), rgba(14, 77, 146, 0.05));
  border: 1px solid rgba(14, 27, 155, 0.1);
  border-left: 4px solid var(--ulp-blue);
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.mv-box::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(14, 27, 155, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mv-box:hover::after {
  opacity: 1;
}

.mv-box:hover {
  border-left-width: 6px;
  transform: translateX(8px);
  box-shadow: -10px 10px 30px rgba(14, 27, 155, 0.1);
}

.mv-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ulp-blue);
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.8rem;
  background: rgba(14, 27, 155, 0.08);
  border-radius: 6px;
}

/* Valores Grid */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.valor-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
}

.valor-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.valor-item i {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
  color: var(--white);
}

.valor-item h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

/* Stats mejorados */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(14, 27, 155, 0.05), rgba(14, 77, 146, 0.08));
  border-radius: 16px;
  border: 1px solid rgba(14, 27, 155, 0.1);
  transition: var(--transition);
}

.stat-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(14, 27, 155, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--ulp-blue), var(--ulp-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sectores con iconos */
.sector-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--ulp-light);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
  margin: 0.5rem;
}

.sector-item i {
  color: var(--ulp-blue);
  font-size: 1.1rem;
}

.sector-item:hover {
  background: var(--ulp-blue);
  color: var(--white);
  border-color: var(--ulp-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(14, 27, 155, 0.25);
}

.sector-item:hover i {
  color: var(--white);
}

/* =========================================
   CLASES ESPECÍFICAS PARA SECCIÓN NOSOTROS
   ========================================= */

/* Hero CTA Container */
.hero-cta-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* CTA Botón blanco especial */
.btn-nav-contact {
  padding: 0.6rem 1.8rem;
}

.btn-hero-white {
  background: var(--white);
  color: var(--ulp-blue);
  border-color: var(--white);
}

/* Sección Nosotros con gradiente y ondas */
.section-nosotros-bg {
  background: url('../images/blue_waves_bg.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  border-bottom: 1px solid rgba(14, 27, 155, 0.05);
}

.section-nosotros-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  /* Overlay blanco para legibilidad */
  z-index: 1;
}

/* Decoraciones de fondo (Desactivadas por nuevas ondas) */
.bg-decoration-top,
.bg-decoration-bottom {
  display: none;
}

/* Container con z-index */
.container-relative {
  position: relative;
  z-index: 2;
}

/* Espaciado de secciones */
.mb-5 {
  margin-bottom: 5rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-4 {
  margin-top: 4rem;
}

/* Badge de sección */
.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(14, 27, 155, 0.1), rgba(14, 77, 146, 0.05));
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.section-badge-text {
  color: var(--ulp-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
}

.section-badge-text i {
  margin-right: 0.5rem;
}

/* Títulos de sección */
.section-title-large {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-intro-text {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.brand-name-highlight {
  color: var(--ulp-blue);
  font-size: 1.3rem;
}

.text-bold-700 {
  font-weight: 700;
}

/* Hero Box de Abundancia Integral */
.abundance-hero-box {
  background: linear-gradient(135deg, var(--ulp-blue), var(--ulp-accent));
  padding: 4rem 3rem;
  border-radius: 24px;
  margin-bottom: 5rem;
  box-shadow: 0 20px 60px rgba(14, 27, 155, 0.2);
  position: relative;
  overflow: hidden;
}

.abundance-decoration-top {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.abundance-decoration-bottom {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.abundance-content {
  position: relative;
  z-index: 2;
}

.abundance-header {
  text-align: center;
  margin-bottom: 3rem;
}

.abundance-icon {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  display: block;
  opacity: 0.9;
}

.abundance-title {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.divider-line {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 auto;
  border-radius: 2px;
}

.divider-gradient {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--ulp-blue), var(--ulp-accent));
  margin: 0 auto;
  border-radius: 2px;
}

.abundance-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.15rem;
  line-height: 1.9;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.text-white-strong {
  color: var(--white);
}

.text-white-semibold {
  color: var(--white);
  font-weight: 600;
}

/* Grid de Misión/Visión/Valores */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 5rem;
}

.about-card-white {
  background: var(--white);
  border: 2px solid rgba(14, 27, 155, 0.1);
}

.card-header-flex {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.icon-box-small {
  width: 60px;
  height: 60px;
  margin: 0;
}

.card-title {
  margin: 0;
  font-size: 1.5rem;
}

.card-text-bordered {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  border-left: 4px solid var(--ulp-blue);
  padding-left: 1.5rem;
  margin: 0;
}

.card-text-bordered-accent {
  border-left-color: var(--ulp-accent);
}

/* Grid de valores */
.values-grid {
  display: grid;
  gap: 0.8rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  background: rgba(14, 27, 155, 0.05);
  border-radius: 8px;
}

.value-icon {
  color: var(--ulp-blue);
  font-size: 1.1rem;
}

.value-text {
  font-weight: 600;
  color: var(--text-primary);
}

/* Sección Enfoque Único */
.section-header-centered {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title-blue {
  font-size: 2.2rem;
  color: var(--ulp-blue);
  margin-bottom: 1rem;
}

.enfoque-box {
  background: var(--white);
  padding: 3.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(14, 27, 155, 0.08);
}

/* Grid de pilares */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.pillar-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(14, 27, 155, 0.05), rgba(14, 77, 146, 0.02));
  border-radius: 16px;
}

.pillar-icon {
  font-size: 2.5rem;
  color: var(--ulp-blue);
  margin-bottom: 1rem;
  display: block;
}

.pillar-title {
  color: var(--ulp-blue);
  margin-bottom: 0.5rem;
}

.pillar-subtitle {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-tertiary);
}

/* Texto centrado con max-width */
.text-centered-large {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.highlight-large {
  font-size: 1.15rem;
}

/* Sectores Box */
.sectores-box {
  background: var(--ulp-light);
  padding: 2.5rem;
  border-radius: 16px;
}

.sectores-title {
  text-align: center;
  color: var(--ulp-blue);
  margin-bottom: 2rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sectores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.sector-item-vertical {
  flex-direction: column;
  text-align: center;
  padding: 1.5rem;
}

.sector-icon-large {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

.sector-name {
  font-weight: 700;
}

/* Stats Premium Box */
.stats-premium-box {
  background: linear-gradient(135deg, var(--ulp-blue), var(--ulp-accent));
  padding: 4rem 2rem;
  border-radius: 24px;
  margin-bottom: 4rem;
  box-shadow: 0 20px 60px rgba(14, 27, 155, 0.25);
}

.stats-premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-premium-item {
  text-align: center;
  position: relative;
}

.stat-decoration-circle {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.stat-number-large {
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.stat-label-white {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CTA Social Box */
.cta-social-box {
  text-align: center;
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cta-icon-large {
  font-size: 2.5rem;
  color: var(--ulp-blue);
  margin-bottom: 1rem;
  display: block;
}

.cta-title {
  font-size: 1.5rem;
  color: var(--ulp-blue);
  margin-bottom: 0.8rem;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons-flex {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-social {
  padding: 1rem 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-social i {
  font-size: 1.2rem;
}

/* Clases de servicio */
.service-desc {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Perfil section */
.profile-role {
  color: var(--ulp-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.profile-name {
  color: var(--black);
}

.btn-linkedin {
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  font-size: 0.8rem;
}

/* Contacto section */
.contact-title {
  margin-bottom: 1rem;
}

.contact-intro {
  margin: 0 auto 3rem auto;
}

.contact-grid {
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.contact-label {
  display: block;
  opacity: 0.6;
  font-size: 0.75rem;
}

.form-select {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 6px;
}

.form-select option {
  color: var(--black);
}

.btn-submit-full {
  width: 100%;
  border: none;
}

/* Párrafo centrado */
.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   MÉTODO A.L.F.A. - SECCIÓN REDISEÑADA
   ========================================= */

.alfa-hero-section {
  background: linear-gradient(135deg, var(--ulp-blue), var(--ulp-accent));
  padding: 5rem 2rem;
  border-radius: 24px;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.alfa-hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.alfa-hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.alfa-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.alfa-hero-content .section-badge {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.alfa-hero-content .section-badge-text {
  color: var(--white);
}

.alfa-main-title {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.alfa-intro-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.alfa-intro-text strong {
  color: var(--white);
  font-weight: 700;
}

/* Grid simplificado de 4 pasos */
.alfa-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.alfa-step-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.alfa-step-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.4);
}

.alfa-letter {
  width: 80px;
  height: 80px;
  background: var(--white);
  color: var(--ulp-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.alfa-step-card:hover .alfa-letter {
  transform: scale(1.1) rotate(5deg);
}

.alfa-step-card h4 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.alfa-step-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
.alfa-cta {
  margin-top: 3rem;
  text-align: center;
}

.btn-lg {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-lg i {
  font-size: 1.3rem;
}

.alfa-sessions-note {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-top: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--ulp-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--ulp-accent);
  transform: translateY(-5px);
  color: var(--white);
}

/* Grid Misión y Visión (Top) */
.mvv-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Valores Horizontal (Ancho Completo debajo) */
.values-horizontal-card {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
  background: white;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  align-items: center;
  border: 1px solid rgba(14, 27, 155, 0.05);
}

.values-left-content {
  border-right: 1px solid rgba(14, 27, 155, 0.1);
  padding-right: 2rem;
}

.values-intro-short {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 1rem;
}

@media (max-width: 992px) {
  .mvv-top-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .values-horizontal-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }

  .values-left-content {
    border-right: none;
    border-bottom: 1px solid rgba(14, 27, 155, 0.1);
    padding-right: 0;
    padding-bottom: 2rem;
  }
}

/* Valores Interactivos Internos */
.values-interactive-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Valores Interactivos Internos - Premium Upgrade */
.values-interactive-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.values-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.v-tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ulp-blue);
  background: white;
  border: 1px solid rgba(14, 27, 155, 0.1);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.v-tab:hover {
  transform: translateY(-2px);
  background: var(--ulp-light);
  border-color: var(--ulp-blue);
  box-shadow: 0 6px 15px rgba(14, 27, 155, 0.08);
}

.v-tab.active {
  background: var(--ulp-blue);
  color: white;
  border-color: var(--ulp-blue);
  box-shadow: 0 8px 20px rgba(14, 27, 155, 0.25);
}

.values-display {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
  padding: 2rem;
  border-radius: 20px;
  min-height: 140px;
  display: flex;
  align-items: center;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(14, 27, 155, 0.05);
  overflow: hidden;
}

.values-display::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--ulp-blue);
  border-radius: 4px 0 0 4px;
}

.v-pane {
  display: none;
  animation: slideFadeUp 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.v-pane.active {
  display: block;
}

.v-pane p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  color: var(--text-secondary);
  font-weight: 500;
}

@keyframes slideFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utilidades de Escala y Animación */
.mt-5 {
  margin-top: 5rem;
}

.max-600 {
  max-width: 600px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.pulse-badge {
  animation: pulseLight 3s infinite;
}

@keyframes pulseLight {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(14, 27, 155, 0.2);
  }

  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(14, 27, 155, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(14, 27, 155, 0);
  }
}

/* Efectos de Movimiento adicionales para los valores */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Links de Libros en Perfil */
.book-link {
  color: var(--ulp-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 27, 155, 0.1);
  transition: var(--transition);
}

.book-link:hover {
  border-bottom-color: var(--ulp-blue);
  color: var(--ulp-accent);
}

/* Accordion de Valores */
.values-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  border: 1px solid rgba(14, 27, 155, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(14, 27, 155, 0.02);
  transition: var(--transition);
}

.accordion-item:hover {
  background: rgba(14, 27, 155, 0.05);
  border-color: rgba(14, 27, 155, 0.15);
}

.accordion-header {
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ulp-blue);
  transition: var(--transition);
}

.accordion-header i {
  font-size: 0.8rem;
  transition: transform 0.4s ease;
  opacity: 0.7;
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-item.active {
  background: var(--white);
  box-shadow: 0 10px 25px rgba(14, 27, 155, 0.08);
  border-color: rgba(14, 27, 155, 0.2);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  background: var(--white);
}

.accordion-item.active .accordion-content {
  max-height: 300px;
  /* Fallback height */
  padding-bottom: 1.25rem;
}

.accordion-content p {
  padding: 0 1.25rem 0.5rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  border-left: 3px solid var(--ulp-blue);
  margin-left: 1.25rem;
  margin-bottom: 0;
}
/* Portfolio Highlight Section */
.portfolio-highlight {
  background: linear-gradient(135deg, var(--ulp-blue), var(--ulp-accent));
  border-radius: 24px;
  padding: 4rem;
  margin: 4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(14, 27, 155, 0.3);
}

.portfolio-highlight::before {
  content: '';
  position: absolute;
  top: -100%;
  right: -20%;
  width: 70%;
  height: 300%;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(15deg);
  pointer-events: none;
}

.portfolio-highlight-content {
  flex: 1;
  text-align: left;
}

.portfolio-highlight-content .section-badge {
  background: rgba(255, 255, 255, 0.1);
}

.portfolio-highlight-content .section-badge-text {
  color: var(--white);
}

.portfolio-highlight-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.portfolio-highlight-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 650px;
  line-height: 1.6;
}

.portfolio-highlight-action {
  flex-shrink: 0;
}

.btn-download-premium {
  padding: 1.2rem 2.5rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--ulp-blue);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-download-premium:hover {
  background: var(--ulp-light);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
  .portfolio-highlight {
    flex-direction: column;
    text-align: center;
    padding: 3.5rem 2rem;
    gap: 2rem;
  }
  
  .portfolio-highlight-content {
    text-align: center;
  }
  
  .portfolio-highlight-content p {
    margin: 0 auto;
  }
  
  .portfolio-highlight-content h2 {
    font-size: 2rem;
  }
}
