/* ============================================
   HOME PAGE — Diseño Premium Impactante
   ============================================ */

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 20% 50%, #0a2e2e 0%, #0d1b2a 40%, #0a0f1a 100%);
  overflow: hidden;
  padding: var(--space-4xl) 0 var(--space-3xl);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Orbes de luz animados */
.hero__bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(23, 190, 187, 0.15) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  border-radius: 50%;
  animation: orb-float 8s ease-in-out infinite;
}

.hero__bg::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(86, 217, 176, 0.12) 0%, transparent 70%);
  bottom: -15%;
  right: -5%;
  border-radius: 50%;
  animation: orb-float 10s ease-in-out infinite reverse;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero__symbol {
  position: absolute;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 45vw;
  background: linear-gradient(180deg, rgba(23, 190, 187, 0.08) 0%, rgba(86, 217, 176, 0.02) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  top: 50%;
  left: -8%;
  transform: translateY(-50%);
  line-height: 1;
  user-select: none;
}

/* Línea decorativa diagonal */
.hero__inner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(23, 190, 187, 0.2) 30%, rgba(86, 217, 176, 0.2) 70%, transparent 100%);
  display: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 580px;
}

.hero__badge {
  margin-bottom: var(--space-lg);
  background: rgba(23, 190, 187, 0.15);
  border: 1px solid rgba(23, 190, 187, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__title {
  color: var(--privital-white);
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero__title .text-gradient {
  font-size: 1.2em;
  background: linear-gradient(135deg, #17BEBB 0%, #56D9B0 50%, #17BEBB 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

.hero__subtitle {
  color: rgba(167, 168, 169, 0.9);
  font-size: var(--text-lg);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: var(--space-xl);
}

/* Métricas / stats en el hero */
.hero__stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
}

.hero__stat {
  text-align: left;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  background: var(--privital-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--acerta-gris-cool);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Cotizador card — glassmorphism */
.cotizador__card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  max-width: 420px;
  width: 100%;
}

.cotizador__title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.cotizador__subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.cotizador__form .form-group {
  margin-bottom: var(--space-md);
}

.cotizador__form .form-input,
.cotizador__form .form-select,
.cotizador__form .form-textarea {
  padding: 13px 16px;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  background: var(--bg-light);
  border-color: transparent;
}

.cotizador__form .form-input:focus,
.cotizador__form .form-select:focus,
.cotizador__form .form-textarea:focus {
  background: white;
  border-color: var(--privital-celeste);
}

/* Success state */
.cotizador__success {
  text-align: center;
  padding: var(--space-xl) 0;
}

.cotizador__success-icon {
  margin-bottom: var(--space-md);
}

.cotizador__success-title {
  color: var(--color-exito);
  margin-bottom: var(--space-sm);
}

.cotizador__success-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.cotizador__success-text strong {
  color: var(--privital-celeste);
  font-size: var(--text-lg);
}

/* --- FEATURES --- */
.features {
  background: var(--privital-white);
  position: relative;
}

/* Onda decorativa entre hero y features */
.features::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--privital-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.feature-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-xl);
  background: var(--privital-white);
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--privital-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 48px rgba(23, 190, 187, 0.12);
  border-color: rgba(23, 190, 187, 0.2);
}

.feature-card__icon {
  margin: 0 auto var(--space-lg);
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(23, 190, 187, 0.1) 0%, rgba(86, 217, 176, 0.1) 100%);
  border: 1px solid rgba(23, 190, 187, 0.15);
}

.feature-card__icon svg {
  color: var(--privital-celeste);
  stroke: var(--privital-celeste);
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.15) rotate(5deg);
  background: var(--privital-gradient);
  border-color: transparent;
}

.feature-card:hover .feature-card__icon svg {
  color: white;
  stroke: white;
}

.feature-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-card__desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- PRODUCTS --- */
.products__layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.products__tabs {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  -webkit-overflow-scrolling: touch;
}

/* ============================================
   PRODUCTS HERO — Fondo oscuro con hero compacto
   ============================================ */
.products--hero {
  position: relative;
  background: radial-gradient(ellipse at 20% 50%, #0a2e2e 0%, #0d1b2a 40%, #0a0f1a 100%);
  overflow: hidden;
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-3xl);
}

.products--hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.products--hero__bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(23, 190, 187, 0.15) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  border-radius: 50%;
  animation: orb-float 8s ease-in-out infinite;
}

.products--hero__bg::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(86, 217, 176, 0.12) 0%, transparent 70%);
  bottom: -15%;
  right: -5%;
  border-radius: 50%;
  animation: orb-float 10s ease-in-out infinite reverse;
}

.products--hero__symbol {
  display: none;
}

/* --- HERO VISUAL: tarjeta premium con la portada --- */
.hero-visual {
  position: relative;
  max-width: 1040px;
  margin: 0 auto var(--space-4xl);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 12px 60px rgba(23, 190, 187, 0.22),
    0 4px 24px rgba(86, 217, 176, 0.12);
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.hero-visual__img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .hero-visual {
    border-radius: 14px;
    margin-bottom: var(--space-2xl);
  }
}

.products--hero .container {
  position: relative;
  z-index: 1;
}

/* Hero compacto dentro de Productos */
.hero-compact {
  text-align: center;
  margin-bottom: var(--space-2xl);
  padding-bottom: 0;
  border-bottom: none;
}

.hero-compact__badge {
  margin-bottom: var(--space-md);
  background: rgba(23, 190, 187, 0.15);
  border: 1px solid rgba(23, 190, 187, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-compact__title {
  color: var(--privital-white);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-compact__title .text-gradient {
  background: linear-gradient(135deg, #17BEBB 0%, #56D9B0 50%, #17BEBB 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

.hero-compact__subtitle {
  color: rgba(167, 168, 169, 0.9);
  font-size: var(--text-base);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto var(--space-lg);
}

.hero-compact__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.hero-compact__stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  background: var(--privital-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 2px;
}

.hero-compact__stat-label {
  font-size: 11px;
  color: var(--acerta-gris-cool);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Section header en fondo oscuro */
.section__header--dark h1,
.section__header--dark h2 {
  color: var(--privital-white);
}

.section__header--dark p {
  color: rgba(167, 168, 169, 0.9);
}

/* Tabs sobre fondo oscuro */
.products--hero .products__tab {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.products--hero .products__tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(23, 190, 187, 0.4);
}

.products--hero .products__tab--active {
  background: var(--privital-gradient);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 16px rgba(23, 190, 187, 0.3);
}

.products--hero .products__tab--active svg {
  stroke: white;
}

.products__tab {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--privital-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.products__tab:hover {
  border-color: var(--privital-celeste);
  color: var(--privital-celeste);
  background: rgba(23, 190, 187, 0.04);
}

.products__tab--active {
  background: linear-gradient(135deg, #0a2e2e 0%, #0d1b2a 100%);
  color: var(--privital-white);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(10, 46, 46, 0.3);
}

.products__tab--active svg {
  stroke: var(--privital-celeste);
}

.products__content {
  background: var(--privital-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-2xl);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
}

.products__panel {
  display: none;
}

.products__panel--active {
  display: block;
}

.products__panel .badge {
  margin-bottom: var(--space-md);
}

.products__panel h3 {
  margin-bottom: var(--space-md);
  font-size: var(--text-2xl);
}

.products__panel > p {
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

.products__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-xl);
  margin-bottom: var(--space-xl);
}

.products__benefits li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-primary);
  padding: var(--space-sm) 0;
}

.products__benefits svg {
  flex-shrink: 0;
}

.products__actions {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-light);
}

.products__phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: var(--text-base);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.products__phone:hover {
  color: var(--privital-celeste);
}

/* --- NETWORK & BENEFITS --- */
.network-benefits {
  position: relative;
  background: linear-gradient(135deg, #0d3b3b 0%, #17BEBB 40%, #56D9B0 100%);
  overflow: hidden;
}

.network-benefits::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  border-radius: 50%;
}

.network-benefits__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.network-benefits__col {
  text-align: center;
}

.network-benefits__icon-wrap {
  margin-bottom: var(--space-lg);
}

.network-benefits__col .icon-circle {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0 auto;
}

.network-benefits__col h3 {
  color: var(--privital-white);
  margin-bottom: var(--space-md);
  font-size: var(--text-2xl);
}

.network-benefits__col p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto var(--space-xl);
}

.network-benefits__list {
  text-align: left;
  max-width: 360px;
  margin: 0 auto var(--space-xl);
}

.network-benefits__list li {
  color: rgba(255, 255, 255, 0.9);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--text-sm);
  padding-left: var(--space-lg);
  position: relative;
}

.network-benefits__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--privital-white);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.btn--white {
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn--white:hover {
  background: var(--privital-white);
  color: var(--privital-celeste);
  border-color: white;
}

/* --- RESPALDO ACERTA --- */
.respaldo {
  background: #333333;
  color: #d1d5db;
  padding: var(--space-xl) 0;
}

.respaldo__inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.respaldo__inner .badge {
  margin-bottom: var(--space-md);
}

.respaldo__inner h2 {
  margin-bottom: var(--space-sm);
  color: #ffffff;
  font-size: var(--text-2xl);
}

.respaldo__text {
  font-size: var(--text-sm);
  line-height: 1.55;
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.7);
}

.respaldo__text strong {
  color: #ffffff;
}

.respaldo__item {
  color: rgba(255, 255, 255, 0.8) !important;
}

.respaldo__item:hover {
  color: var(--acerta-naranja) !important;
}

.respaldo__logo {
  margin-bottom: var(--space-md);
}

.respaldo__logo img {
  margin: 0 auto;
  height: 32px;
  width: auto;
}

.respaldo__contact {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.respaldo__item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: var(--text-xs);
  transition: color var(--transition-fast);
}

.respaldo__item:hover {
  color: var(--acerta-naranja);
}

.respaldo__item svg {
  color: var(--acerta-naranja);
  width: 14px;
  height: 14px;
}

.respaldo__line {
  max-width: 160px;
  margin: 0 auto;
  opacity: 0.4;
}

/* --- CTA FINAL --- */
.cta-final {
  background: radial-gradient(ellipse at 50% 50%, #3d4470 0%, #33395b 60%, #2a2f4d 100%);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(23, 190, 187, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.cta-final h2 {
  color: var(--privital-white);
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-final__text {
  color: var(--acerta-gris-cool);
  font-size: var(--text-lg);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  position: relative;
}

.cta-final .btn {
  position: relative;
  box-shadow: 0 0 30px rgba(23, 190, 187, 0.3);
}

.cta-final .btn:hover {
  box-shadow: 0 0 50px rgba(23, 190, 187, 0.5);
}

/* ============================================
   RESPONSIVE HOME
   ============================================ */

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--text-5xl);
  }

  .network-benefits__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .products__benefits {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 0;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: var(--space-4xl) 0;
  }

  .hero__inner::before {
    display: block;
  }

  .hero__title {
    font-size: 4rem;
  }

  .products__layout {
    flex-direction: row;
  }

  .products__tabs {
    flex-direction: column;
    min-width: 240px;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .products__tab {
    width: 100%;
  }

  .products__content {
    flex: 1;
  }
}

@media (min-width: 1280px) {
  .hero__title {
    font-size: 4.5rem;
  }

  .hero__symbol {
    font-size: 40vw;
  }
}

@media (max-width: 639px) {
  .hero__stats {
    gap: var(--space-xl);
  }

  .products__benefits {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonios {
  background: #FAFBFC;
}

.testimonios__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonio-card {
  background: white;
  border: 1.5px solid #EAEDF0;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
}

.testimonio-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: 'Plus Jakarta Sans', serif;
  font-size: 72px;
  line-height: 1;
  color: rgba(23, 190, 187, 0.1);
  font-weight: 800;
  pointer-events: none;
}

.testimonio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(23, 190, 187, 0.3);
}

.testimonio-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonio-card__quote {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  margin: 0 0 24px 0;
  font-style: italic;
}

.testimonio-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #F3F4F6;
}

.testimonio-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.testimonio-card__name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #252A2D;
  margin-bottom: 2px;
}

.testimonio-card__role {
  font-size: 12px;
  color: #94A3B8;
}

/* ============================================
   PROCESO DE AFILIACIÓN
   ============================================ */
.proceso__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.proceso-card {
  background: white;
  border: 1.5px solid #EAEDF0;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
}

.proceso-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(23, 190, 187, 0.3);
}

.proceso-card__number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #17BEBB, #56D9B0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}

.proceso-card h4 {
  margin-bottom: 8px;
  font-size: 18px;
}

.proceso-card p {
  color: #64748B;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

@media (min-width: 768px) {
  .testimonios__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .proceso__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .proceso__grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, #EAEDF0, #17BEBB, #56D9B0, #EAEDF0);
    opacity: 0.3;
    z-index: 0;
  }

  .proceso-card {
    position: relative;
    z-index: 1;
  }
}

/* ============================================
   PRODUCTS V2 — Layout 3 columnas (tabs | content | image)
   ============================================ */
.products-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
}

/* Tabs (sidebar izquierdo) */
.products-v2__tabs {
  background: #F5F5F7;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.products-v2__tabs-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #252A2D;
  margin: 0 0 12px 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.products-v2__tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: #64748B;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.products-v2__tab svg {
  flex-shrink: 0;
  color: #94A3B8;
  transition: color 0.2s;
}

.products-v2__tab:hover {
  background: rgba(23, 190, 187, 0.06);
  color: #17BEBB;
}

.products-v2__tab:hover svg {
  color: #17BEBB;
}

.products-v2__tab--active {
  background: white;
  color: #17BEBB;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.products-v2__tab--active svg {
  color: #17BEBB;
}

/* Contenido central */
.products-v2__content {
  padding: 40px 32px;
  background: white;
}

.products-v2__panel {
  display: none;
}

.products-v2__panel--active {
  display: block;
}

.products-v2__icon {
  display: none;
}

.products-v2__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #252A2D;
  margin-bottom: 14px;
  line-height: 1.2;
}

.products-v2__desc {
  font-size: 14px;
  line-height: 1.7;
  color: #64748B;
  margin-bottom: 14px;
}

.products-v2__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #252A2D;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  margin: 12px 0 24px;
  transition: color 0.2s;
}

.products-v2__phone:hover {
  color: #17BEBB;
}

.products-v2__phone svg {
  color: #17BEBB;
}

.products-v2__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: linear-gradient(135deg, #17BEBB, #56D9B0);
  color: white;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(23, 190, 187, 0.2);
  width: fit-content;
}

.products-v2__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 190, 187, 0.35);
}

/* Imagen lateral */
.products-v2__image {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.products-v2__image-inner {
  position: absolute;
  inset: 0;
  transition: opacity 0.3s ease;
}

.products-v2__image-inner[hidden] {
  display: none;
}

.products-v2__image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (min-width: 768px) {
  .products-v2 {
    grid-template-columns: 220px 1fr;
  }
  .products-v2__image {
    display: none;
  }
}

@media (min-width: 1024px) {
  .products-v2 {
    grid-template-columns: 220px 1fr 1fr;
  }
  .products-v2__image {
    display: block;
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .products-v2__tabs {
    flex-direction: row;
    overflow-x: auto;
    padding: 16px;
  }
  .products-v2__tabs-title {
    display: none;
  }
  .products-v2__tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .products-v2__content {
    padding: 24px 20px;
  }
  .products-v2__image {
    min-height: 220px;
  }
}

/* ============================================
   FEATURES V2 — Diseño llamativo con grid asymétrico
   ============================================ */
.features-v2 {
  position: relative;
  background: linear-gradient(180deg, #F8FAFB 0%, #FFFFFF 100%);
  padding: 100px 0;
  overflow: hidden;
}

.features-v2__decor {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(23, 190, 187, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.features-v2 .container {
  position: relative;
  z-index: 1;
}

.features-v2__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.features-v2__badge {
  margin-bottom: 20px;
  font-size: 12px;
  padding: 8px 18px;
}

.features-v2__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #252A2D;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.text-gradient-inline {
  background: linear-gradient(135deg, #17BEBB 0%, #56D9B0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-v2__subtitle {
  font-size: 17px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

/* Grid asymétrico */
.features-v2__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .features-v2__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
  }
  .feature-v2--hero {
    grid-column: span 3;
  }
}

@media (min-width: 1024px) {
  .features-v2__grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
  }
  .feature-v2--hero {
    grid-row: span 2;
    grid-column: 1;
  }
}

/* Cards */
.feature-v2 {
  position: relative;
  background: white;
  border: 1.5px solid #EAEDF0;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #17BEBB, #56D9B0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-v2:hover::before {
  transform: scaleX(1);
}

.feature-v2:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 190, 187, 0.3);
  box-shadow: 0 20px 40px rgba(23, 190, 187, 0.08);
}

/* Card hero (la grande) */
.feature-v2--hero {
  background: linear-gradient(135deg, #2a3556 0%, #33395b 50%, #1f4a4a 100%);
  border-color: transparent;
  color: white;
  position: relative;
  padding: 40px;
}

.feature-v2--hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(23, 190, 187, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.feature-v2--hero::before {
  display: none;
}

.feature-v2--hero:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(42, 53, 86, 0.3);
}

.feature-v2--hero .feature-v2__icon {
  width: 70px;
  height: 70px;
  background: rgba(23, 190, 187, 0.2);
  color: #56D9B0;
  margin-bottom: 24px;
}

.feature-v2--hero .feature-v2__title {
  font-size: 26px;
  color: white;
  margin-bottom: 14px;
}

.feature-v2--hero .feature-v2__desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-bottom: 28px;
}

.feature-v2--hero .feature-v2__tag {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

/* Iconos */
.feature-v2__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(23, 190, 187, 0.12), rgba(86, 217, 176, 0.12));
  color: #17BEBB;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.feature-v2__icon--green {
  background: linear-gradient(135deg, rgba(86, 217, 176, 0.15), rgba(86, 217, 176, 0.05));
  color: #0d9668;
}

.feature-v2__icon--orange {
  background: linear-gradient(135deg, rgba(255, 117, 70, 0.15), rgba(255, 117, 70, 0.05));
  color: #FF7546;
}

.feature-v2:hover .feature-v2__icon {
  transform: scale(1.08) rotate(-4deg);
}

.feature-v2--hero:hover .feature-v2__icon {
  transform: scale(1.08);
}

/* Tag */
.feature-v2__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #17BEBB;
  background: rgba(23, 190, 187, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  width: fit-content;
}

/* Título y desc */
.feature-v2__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #252A2D;
  margin: 0 0 8px;
  line-height: 1.3;
}

.feature-v2__desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

.feature-v2__content {
  display: flex;
  flex-direction: column;
}

/* Stat dentro del hero */
.feature-v2__stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-v2__stat-num {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(135deg, #17BEBB, #56D9B0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.feature-v2__stat-lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ============================================
   NETWORK V2 — Red Médica + Beneficios rediseño top
   ============================================ */
.network-v2 {
  position: relative;
  background: linear-gradient(135deg, #1a2238 0%, #33395b 50%, #2d4d4d 100%);
  padding: 100px 0;
  overflow: hidden;
  color: white;
}

.network-v2__decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.network-v2__decor--1 {
  width: 500px;
  height: 500px;
  background: rgba(23, 190, 187, 0.3);
  top: -150px;
  left: -150px;
  animation: orb-float 10s ease-in-out infinite;
}

.network-v2__decor--2 {
  width: 400px;
  height: 400px;
  background: rgba(86, 217, 176, 0.25);
  bottom: -100px;
  right: -100px;
  animation: orb-float 12s ease-in-out infinite reverse;
}

.network-v2 .container {
  position: relative;
  z-index: 1;
}

.network-v2__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.network-v2__header .badge {
  background: rgba(23, 190, 187, 0.15);
  border: 1px solid rgba(23, 190, 187, 0.4);
  color: #56D9B0;
  backdrop-filter: blur(8px);
  margin-bottom: 20px;
}

.network-v2__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.network-v2__subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0;
}

/* Grid 2 cards */
.network-v2__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 50px;
}

@media (min-width: 900px) {
  .network-v2__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Card */
.network-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 36px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.network-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(23, 190, 187, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.network-card:hover::before {
  opacity: 1;
}

.network-card:hover {
  transform: translateY(-8px);
  border-color: rgba(23, 190, 187, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.network-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 12px;
}

.network-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(23, 190, 187, 0.25), rgba(86, 217, 176, 0.15));
  border: 1px solid rgba(23, 190, 187, 0.3);
  color: #56D9B0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.network-card__icon--green {
  background: linear-gradient(135deg, rgba(86, 217, 176, 0.3), rgba(86, 217, 176, 0.1));
  border-color: rgba(86, 217, 176, 0.4);
  color: #7df0c0;
}

.network-card:hover .network-card__icon {
  transform: scale(1.08) rotate(-4deg);
}

.network-card__pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  background: rgba(23, 190, 187, 0.15);
  border: 1px solid rgba(23, 190, 187, 0.3);
  border-radius: 999px;
  color: #56D9B0;
  white-space: nowrap;
}

.network-card__pill--green {
  background: rgba(86, 217, 176, 0.15);
  border-color: rgba(86, 217, 176, 0.3);
  color: #7df0c0;
}

.network-card__title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: white;
  margin: 0 0 12px;
  line-height: 1.2;
}

.network-card__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0 0 28px;
}

/* Stats dentro de la card */
.network-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.network-card__stat {
  text-align: center;
}

.network-card__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #17BEBB, #56D9B0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.network-card__stat-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Lista beneficios */
.network-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.network-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.network-card__list li:last-child {
  border-bottom: none;
}

.network-card__list svg {
  color: #56D9B0;
  flex-shrink: 0;
}

/* CTA dentro de la card */
.network-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #56D9B0;
  margin-top: auto;
  padding-top: 4px;
  transition: gap 0.25s ease;
}

.network-card:hover .network-card__cta {
  gap: 14px;
}

.network-card__cta--green {
  color: #7df0c0;
}

/* Provincias */
.network-v2__provincias {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.network-v2__provincias-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 18px;
}

.network-v2__provincias-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.network-v2__provincias-list span {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: all 0.25s ease;
}

.network-v2__provincias-list span:hover {
  background: rgba(23, 190, 187, 0.15);
  border-color: rgba(23, 190, 187, 0.4);
  color: #56D9B0;
  transform: translateY(-2px);
}
