/* 
   QuVi - Isapre Landing Styles 
   Design: World Class 2026
*/

:root {
  --isapre-hero-bg: radial-gradient(ellipse at 70% 0%, var(--brand-a08), transparent 55%),
                    radial-gradient(ellipse at 0% 100%, var(--brand-a06), transparent 45%),
                    #f8fafc;
}

/* ── Hero ────────────────────────────────────────────────── */
.isapre-hero {
  background: var(--isapre-hero-bg);
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* ── Masthead bar ────────────────────────────────────────── */
.hero-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
/* Spacer invisible para páginas hub sin logo: mantiene el alto reservado del logo
   y deja la fecha alineada a la derecha (igual que las landings de isapre). */
.hero-masthead__spacer {
  min-height: 28px;
}

.hero-masthead__logo {
  max-height: 28px;
  width: auto;
  object-fit: contain;
}

.hero-masthead__date {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ── Hero body ───────────────────────────────────────────── */
.hero-body {
  padding: 36px 0 40px;
  max-width: 660px;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero__titleEm { color: var(--brand); }

.hero__lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 36px;
}

/* ── Hero CTAs ───────────────────────────────────────────── */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__ghost-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.hero__ghost-link:hover { border-bottom-color: var(--brand); }

.hero__actions .btn--primary {
  box-shadow: none;
}
.hero__actions .btn--primary:hover {
  box-shadow: none;
}

.btn--lg {
  border-radius: 14px;
  font-size: var(--fs-14);
  height: 46px;
  padding: 0 18px;
}

/* ── Stats strip ─────────────────────────────────────────── */
.hero-stats-strip {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 0;
}

.hero-stats-strip__item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding-right: 32px;
}

.hero-stats-strip__val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.hero-stats-strip__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-stats-strip__sep {
  width: 1px;
  height: 22px;
  background: var(--border);
  margin-right: 32px;
  flex-shrink: 0;
  align-self: center;
}

/* ── Featured section header ─────────────────────────────── */
.featured-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}

.featured-head .h2 { margin-bottom: 0; }

.featured-head__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 8px;
}

.section-title {
  margin-bottom: 50px;
  text-align: center;
}

.h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.72;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.text-body {
  font-size: 15px;
  line-height: 1.72;
  color: #526173;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.text-body p {
  margin-bottom: 1.5em;
}

.text-body p:last-child {
  margin-bottom: 0;
}

.landing-about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;  /* balance vertical: head izq centrada contra el body más alto */
  text-align: left;
}

.landing-about-grid .h2 {
  margin-bottom: 0;
  text-align: left;
}

.landing-about-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.isapre-website-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
  width: fit-content;
  transition: opacity 0.15s ease;
}
.isapre-website-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.isapre-website-link svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

@media (max-width: 900px) {
  .landing-about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


.featured-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 12px;
  gap: 16px;
  /* Padding horizontal modesto: respiro para la sombra del primer/último card.
     Padding inferior generoso: para la sombra drop sin recorte. */
  padding: 4px 12px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.featured-grid::-webkit-scrollbar { display: none; }

.plan-card-mini {
  background: #fff;
  /* Borde real (no shadow) → no se recorta nunca por overflow del padre */
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 20px;
  /* Drop shadow solo vertical, mínimo horizontal → no necesita mucho respiro */
  box-shadow: 0 4px 12px rgba(15,23,42,0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  flex: 0 0 calc(30% - 8px);
  scroll-snap-align: start;
  min-width: 240px;
}

.plan-card-mini:hover {
  border-color: rgba(15,23,42,0.12);
  box-shadow: 0 8px 24px rgba(15,23,42,0.09);
}

/* Badge: full-width strip, soft color, top corners match card */
.plan-card-mini__badge {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 9px 20px;
  border-radius: 19px 19px 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  align-self: stretch;
}

/* Hide lucide icons inside badge (lucide replaces <i> with <svg>) */
.plan-card-mini__badge i,
.plan-card-mini__badge svg { display: none; }

.badge--smart   { background: #dbeafe; color: #1d4ed8; }
.badge--premium { background: #ede9fe; color: #5b21b6; }
.badge--value   { background: #dcfce7; color: #15803d; }

/* Code + tipo row — just below badge */
.plan-card-mini__toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 20px 0;
}

.plan-card-mini__code {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.plan-card-mini__tipo {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Plan name */
.plan-card-mini__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  padding: 8px 20px 0;
  flex: 1;
}

/* Coverage meta */
.plan-card-mini__meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 12px 20px 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Price — just above CTA */
.plan-card-mini__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 14px 20px 0;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
}

.plan-card-mini__price-label {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
  line-height: 1;
}

.plan-card-mini__cov {
  display: flex;
  gap: 8px;
  margin: 14px 20px 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.plan-card-mini__cov-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  /* Cada box ocupa máximo la mitad. Si solo hay uno, no se estira a full width. */
  flex: 0 1 calc(50% - 4px);
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}

.plan-card-mini__cov-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  stroke-width: 2;
  flex-shrink: 0;
}

.cov-label {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cov-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}

/* CTA as ghost button */
.plan-card-mini__cta {
  display: block;
  margin: 14px 20px 18px;
  padding: 10px 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--brand);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.plan-card-mini__cta:hover {
  background: #eff6ff;
  border-color: var(--brand);
}

/* Global Sync: Core CTA Styles from index.css */
.cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.cta--blue {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cta--blue .h2 { 
  color: white !important; 
  font-size: clamp(32px, 8.6vw, 46px);
  line-height: 1.03;
  letter-spacing: -0.043em;
  text-wrap: balance;
  margin-bottom: 16px;
  font-weight: 800;
}

.cta--blue .lead {
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: clamp(16px, 4.4vw, 20px);
  line-height: 1.5;
  text-wrap: balance;
  margin-bottom: 36px;
  max-width: 70ch;
  margin-inline: auto;
}

/* Ghost link en CTA azul: blanco semi-translúcido sobre fondo brand.
   Override SOLO del color (el border-bottom queda transparente por default
   como el resto del sitio, solo se ilumina en hover). */
.cta--blue .hero__ghost-link {
  color: rgba(255, 255, 255, 0.92);
}
.cta--blue .hero__ghost-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.cta .hero__cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.hero__cta .btn--primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: white;
  color: var(--brand-dark);
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: all 0.25s ease;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.hero__cta .btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.18);
  background: #fdfdfd;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: var(--brand);
  filter: blur(120px);
  opacity: 0.25;
  border-radius: 50%;
}

.cta-block::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: #3b82f6;
  filter: blur(100px);
  opacity: 0.15;
  border-radius: 50%;
}

.btn--white {
  background: white;
  color: var(--brand);
  font-weight: 800;
  padding: 20px 40px;
  border-radius: 18px;
  display: inline-block;
  margin-top: 32px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
}

.btn--white:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 20px 40px rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
  .hero-body { padding: 40px 0 32px; max-width: 100%; }
  .hero__title { font-size: 2.4rem; }
  .hero-stats-strip { gap: 12px 0; }
  .hero-stats-strip__sep { display: none; }
  .hero-stats-strip__item { padding-right: 20px; }
  .isapre-logo-box { width: 110px; height: 110px; border-radius: 20px; }
  .cta-block { padding: 60px 30px; border-radius: 30px; }
  .featured-grid .plan-card-mini { flex: 0 0 78vw; min-width: 0; }
}

/* =============================================================
   Sección: Datos del Catálogo (catalog-stats)
   Light-mode: coherente con el resto de la landing (fondo blanco)
   ============================================================= */

.section--stats-catalog {
  background: #f8fafc;
  border-top: 1px solid var(--border, #e2e8f0);
  border-bottom: 1px solid var(--border, #e2e8f0);
}

.catalog-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border, #e2e8f0);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.catalog-stat-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: white;
  transition: background 0.2s;
}

.catalog-stat-row:hover {
  background: #f1f5f9;
}

.catalog-stat-row__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-soft, #ede9fe);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand, #6366f1);
  margin-top: 2px;
}

.catalog-stat-row__icon i,
.catalog-stat-row__icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}

.catalog-stat-row__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.catalog-stat-row__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #94a3b8;
}

.catalog-stat-row__value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink, #0f172a);
  letter-spacing: -0.01em;
}

.catalog-stat-row__value--pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.catalog-stat-row__sub {
  font-size: 0.77rem;
  color: var(--muted, #64748b);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  line-height: 1.4;
  margin-top: 1px;
}

.catalog-stat-row__sub strong {
  color: var(--ink, #0f172a);
  font-weight: 500;
}

/* Plan link: hover sutil que invita al clic */
.catalog-stat-row__planlink {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}
.catalog-stat-row__planlink:hover strong { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.catalog-stat-row__planlink:hover .stats-code { background: var(--brand-a08, rgba(59,130,246,0.12)); color: var(--brand); }
.catalog-stat-row__planlink .stats-code { transition: background 0.15s ease, color 0.15s ease; }

.stats-code {
  margin-left: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted, #64748b);
  font-family: monospace;
  letter-spacing: 0.04em;
  background: var(--brand-soft, #ede9fe);
  padding: 1px 5px;
  border-radius: 4px;
}

.stats-tipo-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--brand-soft, #ede9fe);
  font-size: 0.74rem;
  color: var(--brand, #6366f1);
  border: 1px solid var(--border, #e2e8f0);
  font-weight: 500;
}

.stats-tipo-pill strong {
  color: var(--ink, #0f172a);
  font-weight: 600;
}

.catalog-analytics-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.cat-teaser-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1.5px dashed var(--border, #e2e8f0);
  background: white;
  text-decoration: none;
  transition: all 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.cat-teaser-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  border-style: solid;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.cat-teaser-card:hover .cat-teaser__label {
  color: var(--brand);
}

.cat-teaser-card:hover .cat-teaser__val {
  opacity: 1;
}

.cat-teaser-card > i,
.cat-teaser-card > svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--muted, #94a3b8);
  stroke-width: 1.5;
}

.cat-teaser__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cat-teaser__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
}

.cat-teaser__val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink, #0f172a);
  opacity: 0.35;
}

.cat-teaser__sub {
  font-size: 0.68rem;
  color: var(--muted, #94a3b8);
}

.landing-price-note {
  font-size: 0.71rem;
  color: var(--muted, #94a3b8);
  text-align: center;
  margin: 16px auto 0;
  max-width: 600px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .catalog-stats-grid { grid-template-columns: 1fr; }
  .catalog-analytics-teaser { grid-template-columns: 1fr; }
  .catalog-stat-row { padding: 16px 18px; }
}

/* Badge red */
.badge--network { background: #f0f9ff; color: #0369a1; }

/* Breadcrumb */
.breadcrumb { list-style: none; display: flex; gap: 6px; align-items: center; padding: 12px 0; font-size: 0.82rem; color: var(--muted); flex-wrap: wrap; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; opacity: 0.4; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li:last-child { color: var(--ink); font-weight: 500; }

/* VS Industria */
/* Separador degradado (utility — disponible si se necesita en el futuro) */
.section-divider {
  width: 100%;
  max-width: 480px;
  height: 1px;
  margin: 0 auto 40px;
  background: linear-gradient(90deg, transparent 0%, rgba(15,23,42,0.16) 50%, transparent 100%);
}

.vs-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 760px;
  margin: 40px auto 0;
}

.vs-row {
  display: grid;
  grid-template-columns: 200px 1fr 175px;
  gap: 20px;
  align-items: center;
}

/* Head: ícono + label */
.vs-row__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vs-row__head svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  stroke-width: 2;
  flex-shrink: 0;
}
.vs-row__label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}

/* Bars */
.vs-row__bars { display: flex; flex-direction: column; gap: 8px; }
.vs-bar { display: flex; align-items: center; gap: 10px; }
.vs-bar__name { font-size: 0.75rem; color: var(--muted); width: 76px; flex-shrink: 0; }
.vs-bar__track { flex: 1; height: 8px; background: var(--border); border-radius: 99px; overflow: hidden; }
.vs-bar__fill { height: 100%; border-radius: 99px; background: var(--brand); transition: width 0.4s ease; }
.vs-bar__fill--ind { background: #cbd5e1; }
.vs-bar__val { font-size: 0.82rem; font-weight: 700; color: var(--ink); min-width: 52px; text-align: right; }

/* Verdict block: dos líneas, color semántico */
.vs-row__verdict {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
  line-height: 1.25;
}
.vs-verdict__main {
  font-weight: 700;
  font-size: 0.88rem;
}
.vs-verdict__detail {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}

/* Color semántico: verde = mejor, rojo suave = peor, gris = neutro */
.vs-verdict--up   .vs-verdict__main { color: #15803d; }
.vs-verdict--down .vs-verdict__main { color: #b91c1c; }
.vs-verdict--neutral .vs-verdict__main { color: var(--muted); font-weight: 600; }

@media (max-width: 700px) {
  .vs-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .vs-row__verdict { text-align: left; }
}

/* Trust strip: la "joya" de la transparencia */
.vs-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.vs-trust__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.vs-trust__item svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}
.vs-trust__item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.vs-trust__item span {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.45;
}
@media (max-width: 700px) {
  .vs-trust {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 24px;
    margin-top: 32px;
  }
}

/* Distribución de precios */
.section--precio-dist { }
.pdist-grid { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin: 32px auto 0; }
.pdist-bar { display: grid; grid-template-columns: 150px 1fr 175px; gap: 14px; align-items: center; }
.pdist-bar__label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.pdist-bar__label small { font-weight: 400; color: var(--muted); display: block; font-size: 0.78rem; }
.pdist-bar__track { height: 10px; background: var(--border); border-radius: 99px; overflow: hidden; }
.pdist-bar__fill { height: 100%; background: var(--brand); border-radius: 99px; transition: width 0.4s ease; opacity: 0.55; }
.pdist-bar__stats {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Tramo dominante: barra a 100% opacidad + badge "más común" */
.pdist-bar--top .pdist-bar__fill { opacity: 1; }
.pdist-bar--top .pdist-bar__stats { color: var(--ink); font-weight: 600; }
.pdist-bar__badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
  background: var(--brand-a08, rgba(59,130,246,0.1));
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
@media (max-width: 600px) { .pdist-bar { grid-template-columns: 1fr; } }

/* ── Toggle CLP/UF — pill style (Apple/Stripe-like), tamaño compacto ── */
/* Override LOCAL del section-title cuando hay un toggle directo abajo.
   El section-title global tiene margin-bottom: 50px que, por margin-collapse,
   dominaba sobre el margin-top del wrap. Reducir aquí permite que el toggle
   quede visualmente equidistante entre subtítulo y cards. */
.section--precio-dist .section-title {
  margin-bottom: 28px;
}
.precios-toggle-wrap {
  display: flex;
  justify-content: center;
  /* margin-top: 0 (confiamos en el section-title de arriba que ya da 28px)
     margin-bottom: 32px para mantener respiro hacia las cards. */
  margin: 0 0 32px;
}
.precios-toggle {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.precios-toggle__btn {
  background: transparent;
  border: none;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  font-family: inherit;
  letter-spacing: 0.01em;
}
.precios-toggle__btn:hover { color: var(--ink); }
.precios-toggle__btn--active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15,23,42,0.06), 0 1px 3px rgba(15,23,42,0.04);
}
.precios-toggle__btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ── Precios por perfil — cards con datos del simulador real ─────── */
.precios-perfil-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.precios-perfil-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.03), 0 4px 12px rgba(15,23,42,0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.precios-perfil-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.precios-perfil-card__head svg {
  width: 22px;
  height: 22px;
  color: var(--brand);
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}
.precios-perfil-card__title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.precios-perfil-card__subtitle {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 3px;
}

.precios-perfil-card__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.precios-perfil-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.88rem;
}
.precios-perfil-row__lbl {
  color: var(--muted);
  font-weight: 500;
}
.precios-perfil-row__val {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.precios-perfil-row--mediana .precios-perfil-row__lbl {
  color: var(--ink);
  font-weight: 600;
}
.precios-perfil-row--mediana .precios-perfil-row__val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.01em;
}

.precios-perfil-card__nota {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
  background: var(--brand-a08, rgba(59,130,246,0.06));
  padding: 8px 10px;
  border-radius: 8px;
  margin: 0;
}
.precios-perfil-card__nota svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Divider entre nivel 1 (perfiles) y nivel 2 (distribución) */
.precios-divider {
  width: 100%;
  max-width: 320px;
  height: 1px;
  margin: 52px auto 0;
  background: linear-gradient(90deg, transparent 0%, rgba(15,23,42,0.12) 50%, transparent 100%);
}

.precios-dist-head {
  text-align: center;
  margin-top: 28px;
}
.precios-dist-head__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.precios-dist-head__lead {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 700px) {
  .precios-perfil-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .precios-perfil-card { padding: 18px 20px; }
  .precios-divider { margin-top: 40px; }
}

/* Perfiles */
.section--perfiles { }
.perfil-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; }
.perfil-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(15,23,42,0.05);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.perfil-card:hover {
  border-color: rgba(15,23,42,0.12);
  box-shadow: 0 8px 24px rgba(15,23,42,0.09);
}
.perfil-card__icon { width: 38px; height: 38px; border-radius: 10px; background: #eff6ff; display: flex; align-items: center; justify-content: center; color: var(--brand); }
.perfil-card__icon i, .perfil-card__icon svg { width: 18px; height: 18px; }
.perfil-card__title { font-weight: 700; font-size: 0.93rem; color: var(--ink); }
.perfil-card__desc { font-size: 0.84rem; color: var(--muted); line-height: 1.5; flex: 1; }
.perfil-card__cta { display: inline-flex; align-items: center; gap: 5px; font-size: 0.84rem; font-weight: 700; color: var(--brand); text-decoration: none; margin-top: 4px; }
.perfil-card__cta:hover { text-decoration: underline; }
.perfil-card__cta i, .perfil-card__cta svg { width: 14px; height: 14px; }

/* Clínicas */
.section--clinicas { }
.clinicas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 28px; }
.clinica-chip { display: flex; align-items: center; gap: 12px; background: white; border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px; transition: box-shadow 0.15s; }
.clinica-chip:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.clinica-chip i, .clinica-chip svg { color: var(--brand); flex-shrink: 0; width: 16px; height: 16px; }
.clinica-chip__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.clinica-chip__name { font-weight: 600; font-size: 0.86rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clinica-chip__count { font-size: 0.76rem; color: var(--muted); }

/* Expansión "Ver todos los prestadores" */
.clinica-chip--hidden { display: none; }
.clinicas-grid--expanded .clinica-chip--hidden { display: flex; }

.clinicas-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.clinicas-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.clinicas-toggle:hover {
  background: #eff6ff;
  border-color: var(--brand);
}
.clinicas-toggle svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
  transition: transform 0.25s ease;
}
.clinicas-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* FAQ */
.section--faq { }
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 700px; margin: 32px auto 0; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.2s; }
.faq-item[open] { border-color: var(--brand); }
.faq-item__q { cursor: pointer; padding: 17px 20px; font-weight: 600; font-size: 0.92rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; user-select: none; gap: 12px; }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after { content: '+'; font-size: 1.3rem; color: var(--brand); font-weight: 300; flex-shrink: 0; line-height: 1; }
.faq-item[open] .faq-item__q::after { content: '−'; }
.faq-item__a { padding: 0 20px 16px; font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.faq-item__a p { margin: 0; }


/* ====================================================================
   MOBILE POLISH 2026 — Ultra Pro pass
   --------------------------------------------------------------------
   Consolidación final mobile-first sobre las reglas existentes.
   Breakpoints estandarizados:
     · 720px → tablet / small laptop / phone landscape
     · 420px → phones chicos (iPhone SE / Android compactos)
     · hover:none → cualquier device táctil (desactivar transforms)
   ==================================================================== */

@media (max-width: 720px) {
  /* Reduce section padding global — 100px → 56px (40% menos vertical
     wasted en mobile, manteniendo respiración entre secciones) */
  :root { --section-y: 56px; }

  /* Tipografía global escalada */
  .h2 {
    font-size: 1.65rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
  }
  .lead { font-size: 0.98rem; line-height: 1.6; }
  .section-title { margin-bottom: 32px; }

  /* ── Hero ────────────────────────────────────────────────────────── */
  .hero-masthead { padding: 14px 0; }
  .hero-masthead__logo { max-height: 24px; }
  .hero-masthead__date { font-size: 0.62rem; letter-spacing: 0.02em; }

  .hero-body { padding: 32px 0 28px; }
  .hero__title { font-size: 2.1rem; margin-bottom: 16px; }
  .hero__lead { font-size: 0.98rem; margin-bottom: 28px; line-height: 1.6; }

  .hero__actions { gap: 14px; }
  .hero__ghost-link { font-size: 0.88rem; }

  /* Hero stats strip — grid 2-col explícito, más legible que wrap caótico */
  .hero-stats-strip {
    padding: 18px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
  }
  .hero-stats-strip__item { padding-right: 0; gap: 5px; }
  .hero-stats-strip__sep { display: none; }
  /* 5to KPI (impar) — span ambas columnas para simetría visual */
  .hero-stats-strip__item:last-child { grid-column: 1 / -1; }
  .hero-stats-strip__val { font-size: 1.15rem; }
  .hero-stats-strip__label { font-size: 0.72rem; line-height: 1.3; }

  /* ── Featured plan cards (carousel) ─────────────────────────────── */
  .featured-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
  }
  .featured-grid { padding: 4px 12px 24px; }
  .featured-grid .plan-card-mini { flex: 0 0 80vw; min-width: 0; }

  /* Padding interno de cards más compacto */
  .plan-card-mini__badge { padding: 8px 18px; font-size: 0.64rem; }
  .plan-card-mini__toprow { margin: 14px 18px 0; }
  .plan-card-mini__name { padding: 6px 18px 0; font-size: 0.92rem; }
  .plan-card-mini__cov { margin: 12px 18px 0; padding-top: 12px; }
  .plan-card-mini__price { margin: 12px 18px 0; padding: 10px 0; font-size: 1.7rem; }
  .plan-card-mini__cta { margin: 12px 18px 16px; padding: 11px 0; }

  /* ── VS Industria ───────────────────────────────────────────────── */
  /* Ya stackea a 1col en 700px (rule existente). Refino spacing. */
  .vs-grid { gap: 24px; margin-top: 28px; max-width: 100%; }
  .vs-row__head svg { width: 16px; height: 16px; }
  .vs-row__label { font-size: 0.88rem; }
  .vs-bar__name { width: 64px; font-size: 0.72rem; }
  .vs-bar__val { min-width: 44px; font-size: 0.78rem; }
  .vs-verdict__main { font-size: 0.85rem; }
  .vs-verdict__detail { font-size: 0.7rem; }

  /* Trust strip ya stackea a 1col en 700px. */
  .vs-trust { margin-top: 36px; padding-top: 24px; }

  /* ── Precios por perfil ─────────────────────────────────────────── */
  /* Mobile mantiene la asimetría del desktop (más cerca del subtítulo,
     más respiro hacia las cards) pero con valores levemente compactados. */
  .precios-toggle-wrap { margin: 18px 0 26px; }
  .precios-toggle__btn { padding: 5px 14px; font-size: 0.74rem; }
  /* Las cards ya stackean a 1col en 700px (rule existente). */
  .precios-divider { margin-top: 36px; max-width: 220px; }
  .precios-dist-head { margin-top: 22px; }
  .precios-dist-head__title { font-size: 1rem; }
  .precios-dist-head__lead { font-size: 0.8rem; }

  /* Distribución barras — stack a 720 (antes solo a 600) */
  .pdist-grid { gap: 12px; margin-top: 28px; }
  .pdist-bar {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--border);
    border-radius: 10px;
  }
  .pdist-bar__label { font-size: 0.85rem; }
  .pdist-bar__stats { font-size: 0.78rem; justify-content: flex-start; }
  .pdist-bar__badge { font-size: 0.62rem; }

  /* ── Catálogo stats ─────────────────────────────────────────────── */
  /* Ya stackea a 1col en 768px (rule existente). Pulir spacing. */
  .catalog-stats-grid { gap: 0; }
  .catalog-stat-row { padding: 16px 20px; gap: 14px; }
  .catalog-stat-row__icon { width: 36px; height: 36px; }
  .catalog-stat-row__value { font-size: 0.95rem; }
  .catalog-stat-row__sub { font-size: 0.73rem; }
  .stats-code { font-size: 0.62rem; }

  /* Analytics teaser cards */
  .cat-teaser-card { padding: 14px 16px; }

  /* ── Clínicas ───────────────────────────────────────────────────── */
  .clinicas-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 24px;
  }
  .clinica-chip { padding: 12px 14px; }
  .clinica-chip__name { font-size: 0.85rem; }
  .clinica-chip__count { font-size: 0.74rem; }
  .clinicas-toggle-wrap { margin-top: 20px; }
  .clinicas-toggle { padding: 10px 18px; font-size: 0.84rem; }

  /* ── Perfiles ───────────────────────────────────────────────────── */
  .perfil-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }
  .perfil-card { padding: 20px; }

  /* ── Sobre Isapre ───────────────────────────────────────────────── */
  /* landing-about-grid ya stackea a 900px. */
  .landing-about-grid { gap: 16px; }
  .landing-about-head { gap: 6px; }
  .isapre-website-link { font-size: 0.86rem; }

  /* ── FAQ ────────────────────────────────────────────────────────── */
  .faq-item__q { padding: 16px 18px; font-size: 0.92rem; }
  .faq-item__a { padding: 0 18px 16px; font-size: 0.88rem; }

  /* ── CTA final ──────────────────────────────────────────────────── */
  .cta--blue { padding: 56px 0; }
  .cta .h2 { font-size: 1.6rem; margin-bottom: 16px; }
  .cta .lead { font-size: 0.95rem; margin-bottom: 28px; }
}

/* ====================================================================
   PHONES CHICOS — 420px y menos (iPhone SE, Android compactos)
   ==================================================================== */

@media (max-width: 420px) {
  .h2 { font-size: 1.45rem; }
  .hero__title { font-size: 1.85rem; }
  .hero__lead { font-size: 0.94rem; }

  /* Stats strip: 1 sola columna cuando ya no caben 2 cómodamente */
  .hero-stats-strip { grid-template-columns: 1fr; gap: 12px; }
  .hero-stats-strip__val { font-size: 1.08rem; }

  /* Featured cards casi full-width para máximo aprovechamiento */
  .featured-grid .plan-card-mini { flex: 0 0 88vw; }

  /* Precios perfil — mediana más legible */
  .precios-perfil-row--mediana .precios-perfil-row__val { font-size: 1.05rem; }

  /* CTAs y botones — padding ajustado */
  .cta--blue { padding: 44px 0; }
  .cta .h2 { font-size: 1.45rem; }
}

/* ====================================================================
   TOUCH DEVICES — desactivar transforms/hovers que generan stuck states
   en dispositivos táctiles (iOS tiende a dejar :hover activo post-tap)
   ==================================================================== */

@media (hover: none) {
  .plan-card-mini:hover,
  .precios-perfil-card:hover,
  .perfil-card:hover,
  .clinica-chip:hover,
  .catalog-stat-row:hover,
  .vs-row__bars:hover {
    transform: none;
  }
}

/* ====================================================================
   MIN TOUCH TARGETS — 44×44px (Apple HIG / WCAG 2.1 AA)
   Solo aplica donde el elemento es realmente interactivo.
   ==================================================================== */

@media (max-width: 720px) {
  .plan-card-mini__cta,
  .perfil-card__cta,
  .clinicas-toggle,
  .precios-toggle__btn,
  .faq-item__q,
  .isapre-website-link,
  .catalog-stat-row__planlink {
    min-height: 44px;
  }
  .plan-card-mini__cta,
  .perfil-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}


/* ====================================================================
   TL;DR · Ficha resumen para LLMs / crawlers / lectura rápida
   Cerrado por default, expandible. Diseño compacto y discreto.
   ==================================================================== */
.quvi-tldr-wrap {
  /* Posición: dentro de la sección "Sobre la Isapre", debajo del about-grid.
     Separación clara del párrafo descriptivo de arriba. */
  margin-top: 36px;
}

.quvi-tldr {
  /* Background blanco semi-translúcido: el acordeón vive dentro de section--subtle
     (fondo gris/azul). El 50% de blanco lo distingue como elemento interactivo
     sin que destaque tanto como un #fff puro contra el fondo de la sección. */
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.quvi-tldr[open] {
  border-color: rgba(15,23,42,0.12);
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}

.quvi-tldr__summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  user-select: none;
  transition: background 0.15s ease;
}
.quvi-tldr__summary:hover { background: rgba(15,23,42,0.02); }
.quvi-tldr__summary::-webkit-details-marker { display: none; }
.quvi-tldr__summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--brand);
  line-height: 1;
  transition: transform 0.2s ease;
}
.quvi-tldr[open] .quvi-tldr__summary::after {
  content: '−';
}

.quvi-tldr__icon {
  font-size: 1rem;
  line-height: 1;
}
.quvi-tldr__hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.82rem;
}

.quvi-tldr__body {
  padding: 6px 18px 18px;
  border-top: 1px solid rgba(15,23,42,0.06);
}

.quvi-tldr__dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px 24px;
  margin: 14px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
}
.quvi-tldr__dl dt {
  color: var(--muted);
  font-weight: 500;
}
.quvi-tldr__dl dd {
  color: var(--ink);
  font-weight: 500;
  margin: 0;
}
.quvi-tldr__dl a {
  color: var(--brand);
  text-decoration: none;
}
.quvi-tldr__dl a:hover { text-decoration: underline; }

/* sr-only: visible para lectores de pantalla, oculto visualmente */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .quvi-tldr-wrap { padding: 14px 0 0; }
  .quvi-tldr__summary { padding: 11px 14px; font-size: 0.85rem; }
  .quvi-tldr__hint { display: none; }
  .quvi-tldr__body { padding: 6px 14px 14px; }
  .quvi-tldr__dl {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
  .quvi-tldr__dl dt { margin-top: 8px; }
  .quvi-tldr__dl dt:first-child { margin-top: 0; }
}


/* ====================================================================
   Compara con otras isapres · Internal linking entre las 7 landings
   Aparece antes del CTA final · alternancia white después de Sobre (gray)
   ==================================================================== */
.section--otras-isapres { background: #fff; }

.otras-isapres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 920px;
  margin: 32px auto 0;
}

.otra-isapre-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.otra-isapre-card:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 14px rgba(15,23,42,0.06);
}

.otra-isapre-card__logo {
  flex-shrink: 0;
  max-height: 22px;
  width: auto;
  object-fit: contain;
}

.otra-isapre-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.otra-isapre-card__name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.otra-isapre-card__stat {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
}

.otra-isapre-card__arrow,
.otra-isapre-card svg.lucide-arrow-right {
  width: 16px;
  height: 16px;
  color: var(--brand);
  stroke-width: 2;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.otra-isapre-card:hover .otra-isapre-card__arrow,
.otra-isapre-card:hover svg.lucide-arrow-right {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .otras-isapres-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .otras-isapres-grid { grid-template-columns: 1fr; gap: 10px; }
  .otra-isapre-card { padding: 14px 16px; }
}

/* ====================================================================
   Hub /isapres · Grid de las 7 isapres del sistema chileno
   Cards más ricas que el internal-linking de las landings: incluyen
   tagline, grupo controlador, stats (planes + GES) y CTA explícito.
   ==================================================================== */
.isapres-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 40px auto 0;
}
/* Shell idéntico al de .plan-card-mini (cards de planes) para consistencia
   visual con el resto del sitio: mismo radius, mismo shadow base, mismo hover. */
.isapre-index-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(15,23,42,0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.isapre-index-card:hover {
  border-color: rgba(15,23,42,0.12);
  box-shadow: 0 8px 24px rgba(15,23,42,0.09);
}
.isapre-index-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
}
.isapre-index-card__logo {
  max-height: 28px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.isapre-index-card__group {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: right;
}
.isapre-index-card__name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.isapre-index-card__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}
.isapre-index-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 0;
  margin: 0;
  border-top: 1px solid rgba(15,23,42,0.06);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.isapre-index-card__stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.isapre-index-card__stats dt {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.isapre-index-card__stats dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.isapre-index-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 9px 14px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.18s ease, transform 0.18s ease;
}
.isapre-index-card__cta i,
.isapre-index-card__cta svg.lucide-arrow-right {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
  transition: transform 0.18s ease;
}
.isapre-index-card__cta:hover {
  background: color-mix(in oklab, var(--brand) 88%, black 12%);
}
.isapre-index-card:hover .isapre-index-card__cta i,
.isapre-index-card:hover .isapre-index-card__cta svg {
  transform: translateX(3px);
}

/* Tabla de Precios GES */
.isapres-ges-table {
  width: 100%;
  margin: 18px 0 8px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.isapres-ges-table thead th {
  text-align: left;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(15,23,42,0.1);
}
.isapres-ges-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15,23,42,0.06);
  color: var(--ink);
}
.isapres-ges-table tbody tr:last-child td { border-bottom: 0; }
.isapres-ges-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.text-body__note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 900px) {
  .isapres-index-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 600px) {
  .isapres-index-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .isapre-index-card { padding: 18px 18px 16px; }
  .isapre-index-card__name { font-size: 1.2rem; }
  .isapre-index-card__stats { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ====================================================================
   Hub /isapres · ¿Qué es una Isapre? — Layout editorial
   Definición editorial centrada + bloque del 7% destacado + grid 2-col
   contrastante Abiertas vs Cerradas. Patrón visual distinto a las card-grids
   del resto de la página.
   ==================================================================== */
.que-es-isapre .lead a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s;
}
.que-es-isapre .lead a:hover { border-bottom-color: var(--brand); }

/* Acordeón expandible "¿Qué es el 7% de salud?" — closed by default */
.que-es-7 {
  max-width: 920px;
  margin: 40px auto 0;
  background: color-mix(in oklab, var(--brand) 5%, white);
  border: 1px solid color-mix(in oklab, var(--brand) 18%, white);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.que-es-7[open] {
  border-color: color-mix(in oklab, var(--brand) 28%, white);
  box-shadow: 0 4px 14px rgba(15,23,42,0.05);
}
.que-es-7__summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background 0.15s ease;
}
.que-es-7__summary:hover { background: color-mix(in oklab, var(--brand) 8%, white); }
.que-es-7__summary::-webkit-details-marker { display: none; }
.que-es-7__summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--brand);
  line-height: 1;
  transition: transform 0.2s ease;
}
.que-es-7[open] .que-es-7__summary::after {
  content: '−';
}
.que-es-7__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
}
.que-es-7__icon i,
.que-es-7__icon svg { width: 20px; height: 20px; stroke-width: 2.2; }
.que-es-7__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.que-es-7__hint {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}
.que-es-7__body {
  padding: 4px 22px 22px 22px;
  border-top: 1px solid color-mix(in oklab, var(--brand) 12%, white);
}
.que-es-7__intro {
  margin: 14px 0 0;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--muted);
}
.que-es-7__subhead {
  margin: 22px 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.que-es-7__body strong { color: var(--ink); font-weight: 600; }

/* Mini-cards "Quiénes cotizan el 7%" — grid 3 columnas con icon + título + desc */
.que-es-7__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.que-es-7-card {
  display: flex;
  gap: 12px;
  padding: 14px 14px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 12px;
  align-items: flex-start;
}
.que-es-7-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: color-mix(in oklab, var(--brand) 10%, white);
  color: var(--brand);
}
.que-es-7-card__icon i,
.que-es-7-card__icon svg { width: 16px; height: 16px; stroke-width: 2; }
.que-es-7-card strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.que-es-7-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Callout para los cotizantes voluntarios */
.que-es-7-callout {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 14px 16px;
  background: color-mix(in oklab, var(--muted) 5%, white);
  border-left: 3px solid color-mix(in oklab, var(--muted) 30%, white);
  border-radius: 0 10px 10px 0;
}
.que-es-7-callout i,
.que-es-7-callout svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--muted);
  margin-top: 2px;
}
.que-es-7-callout p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Split de escenarios "cuesta más / cuesta menos" */
.que-es-7__scenarios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.que-es-7-scenario {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 12px;
  position: relative;
}
.que-es-7-scenario__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.que-es-7-scenario--menos .que-es-7-scenario__tag { color: color-mix(in oklab, var(--brand) 60%, var(--muted)); }
.que-es-7-scenario__title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.que-es-7-scenario__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}
.que-es-7-scenario__desc em {
  font-style: normal;
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 720px) {
  .que-es-7__cards { grid-template-columns: 1fr; }
  .que-es-7__scenarios { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .que-es-7__summary { padding: 14px 16px; gap: 10px; }
  .que-es-7__hint { display: none; }
  .que-es-7__body { padding: 4px 16px 18px; }
}

/* Subsección "En Chile hay dos tipos" + grid de 2 cards contrastantes */
.que-es-tipos { max-width: 920px; margin: 0 auto; }
.que-es-tipos__heading {
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.que-es-tipos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.que-es-tipo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(15,23,42,0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.que-es-tipo:hover {
  border-color: rgba(15,23,42,0.12);
  box-shadow: 0 8px 24px rgba(15,23,42,0.09);
}
/* Override del hover en la card destacada (Abiertas): mantiene su border brand */
.que-es-tipo--abiertas:hover { border-color: var(--brand); }
.que-es-tipo--abiertas {
  border-color: color-mix(in oklab, var(--brand) 28%, white);
}
.que-es-tipo__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.que-es-tipo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: color-mix(in oklab, var(--brand) 10%, white);
  color: var(--brand);
  flex-shrink: 0;
}
.que-es-tipo--cerradas .que-es-tipo__icon {
  background: color-mix(in oklab, var(--muted) 12%, white);
  color: var(--muted);
}
.que-es-tipo__icon i,
.que-es-tipo__icon svg { width: 20px; height: 20px; stroke-width: 2; }
.que-es-tipo__title {
  margin: 0 0 2px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.que-es-tipo__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand);
  background: color-mix(in oklab, var(--brand) 12%, white);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}
.que-es-tipo__badge--muted {
  color: var(--muted);
  background: color-mix(in oklab, var(--muted) 12%, white);
}
.que-es-tipo__desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}
.que-es-tipo__note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(15,23,42,0.06);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}
.que-es-tipo--cerradas .que-es-tipo__note { color: var(--muted); }

/* ====================================================================
   Hub /isapres · Tipos de planes (Libre Elección / Preferente / Cerrado)
   ==================================================================== */
.tipos-planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 36px auto 0;
}
.tipo-plan-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(15,23,42,0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.tipo-plan-card:hover {
  border-color: rgba(15,23,42,0.12);
  box-shadow: 0 8px 24px rgba(15,23,42,0.09);
}
/* Plan Preferente destacado: solo border brand más marcado + badge superior,
   sin fondo distinto (queda blanco como las otras dos cards). */
.tipo-plan-card--featured {
  border-color: var(--brand);
}
.tipo-plan-card--featured::before {
  content: "Más solicitado";
  position: absolute;
  top: -10px;
  right: 18px;
  padding: 3px 10px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tipo-plan-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tipo-plan-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--brand) 10%, white);
  color: var(--brand);
  flex-shrink: 0;
}
.tipo-plan-card__icon i,
.tipo-plan-card__icon svg { width: 18px; height: 18px; stroke-width: 2; }
.tipo-plan-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.tipo-plan-card__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}
.tipo-plan-card__list {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(15,23,42,0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
}
.tipo-plan-card__list li {
  color: var(--ink);
  font-weight: 500;
}

/* ====================================================================
   Hub /isapres · Cómo se calcula tu plan (4 pasos secuenciales)
   Flow horizontal con operadores (× + =) entre pasos.
   ==================================================================== */
.calcula-plan-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 8px;
  max-width: 1180px;
  margin: 36px auto 0;
}
.calcula-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 18px 20px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(15,23,42,0.05);
  text-align: left;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.calcula-step:hover {
  border-color: rgba(15,23,42,0.12);
  box-shadow: 0 8px 24px rgba(15,23,42,0.09);
}
/* Override del hover en la card "total": mantiene su border brand */
.calcula-step--total:hover { border-color: var(--brand); }
/* Card "Costo mensual final": se destaca con border brand fuerte + icon invertido
   (fondo brand sólido, no gradient). Mantiene fondo blanco como las demás. */
.calcula-step--total {
  border-color: var(--brand);
}
.calcula-step--total .calcula-step__icon {
  background: var(--brand);
  color: #fff;
}
.calcula-step__num {
  position: absolute;
  top: -10px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.calcula-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--brand) 10%, white);
  color: var(--brand);
  margin-top: 4px;
}
.calcula-step__icon i,
.calcula-step__icon svg { width: 18px; height: 18px; stroke-width: 2; }
.calcula-step__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.calcula-step__desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}
.calcula-step__op {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 600;
  color: color-mix(in oklab, var(--brand) 60%, var(--muted));
  align-self: center;
  padding: 0 4px;
}

/* Ejemplo numérico dentro del acordeón "reglas-factor".
   Borde dashed indica "ilustrativo/referencial" (no es card sólida). */
.calcula-ejemplo {
  margin: 8px 0 0;
  padding: 18px 22px;
  background: transparent;
  border: 1.5px dashed rgba(15,23,42,0.18);
  border-radius: 14px;
  text-align: center;
}
.calcula-ejemplo__title {
  margin: 0 0 12px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.calcula-ejemplo__formula {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  font-variant-numeric: tabular-nums;
}
.calcula-ejemplo__valor {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  background: color-mix(in oklab, var(--brand) 6%, white);
  border-radius: 9px;
  letter-spacing: -0.01em;
}
.calcula-ejemplo__valor--total {
  background: var(--brand);
  color: #fff;
}
.calcula-ejemplo__op {
  display: inline-flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0 2px;
}
.calcula-ejemplo__note {
  margin: 12px auto 0;
  max-width: 52ch;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 600px) {
  .calcula-ejemplo { padding: 16px 16px; }
  .calcula-ejemplo__valor { padding: 5px 10px; font-size: 0.9rem; }
  .calcula-ejemplo__op { font-size: 0.95rem; }
}

/* Acordeón: reglas del motor + tabla de factor etario.
   Mismo patrón visual que .que-es-7 pero con tonos más neutros porque es info
   secundaria (no es CTA ni concepto principal). */
.reglas-factor {
  max-width: 720px;
  margin: 28px auto 0;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.reglas-factor[open] {
  border-color: rgba(15,23,42,0.14);
  box-shadow: 0 4px 14px rgba(15,23,42,0.04);
}
.reglas-factor__summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background 0.15s ease;
}
.reglas-factor__summary:hover { background: rgba(15,23,42,0.02); }
.reglas-factor__summary::-webkit-details-marker { display: none; }
.reglas-factor__summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--brand);
  line-height: 1;
}
.reglas-factor[open] .reglas-factor__summary::after { content: '−'; }
.reglas-factor__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--muted) 10%, white);
  color: var(--muted);
}
.reglas-factor__icon i,
.reglas-factor__icon svg { width: 18px; height: 18px; stroke-width: 2; }
.reglas-factor__title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.reglas-factor__hint {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}
.reglas-factor__body {
  padding: 4px 22px 22px;
  border-top: 1px solid rgba(15,23,42,0.06);
}
.reglas-factor__subhead {
  margin: 16px 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.reglas-factor__rules {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reglas-factor__rules li {
  position: relative;
  padding: 12px 14px 12px 38px;
  background: color-mix(in oklab, var(--brand) 4%, white);
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}
.reglas-factor__rules li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--brand);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px 9px;
}
.reglas-factor__rules strong {
  color: var(--ink);
  font-weight: 600;
}
.reglas-factor__nota {
  margin: 0 0 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
  font-style: italic;
}
.reglas-factor__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.reglas-factor__table thead th {
  text-align: left;
  padding: 10px 14px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(15,23,42,0.1);
}
.reglas-factor__table thead th.num,
.reglas-factor__table tbody td.num { text-align: right; }
.reglas-factor__table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(15,23,42,0.05);
  color: var(--ink);
}
.reglas-factor__table tbody td.num { font-weight: 600; }
.reglas-factor__table tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 600px) {
  .reglas-factor__summary { padding: 14px 16px; gap: 10px; }
  .reglas-factor__hint { display: none; }
  .reglas-factor__body { padding: 4px 16px 18px; }
  .reglas-factor__table thead th,
  .reglas-factor__table tbody td { padding: 9px 10px; font-size: 0.85rem; }
}

/* ====================================================================
   Sección "Cobertura GES y CAEC" · 2 cards compactas + FAQ en acordeones
   Arquitectura: lo esencial visible en 2 cards, profundización opt-in
   ==================================================================== */
.ges-caec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 36px auto 0;
}
.ges-caec-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(15,23,42,0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.ges-caec-card:hover {
  border-color: rgba(15,23,42,0.12);
  box-shadow: 0 8px 24px rgba(15,23,42,0.09);
}
.ges-caec-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ges-caec-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--brand) 10%, white);
  color: var(--brand);
}
.ges-caec-card__icon i,
.ges-caec-card__icon svg { width: 22px; height: 22px; stroke-width: 2; }
.ges-caec-card__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.ges-caec-card__subtitle {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.ges-caec-card__desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}
.ges-caec-card__desc strong { color: var(--ink); font-weight: 600; }
.ges-caec-card__note {
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,0.06);
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.5;
}
.ges-caec-card__note a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}
.ges-caec-card__note a:hover { text-decoration: underline; }

/* FAQ — acordeones expandibles con preguntas frecuentes */
.ges-caec-faq {
  max-width: 880px;
  margin: 40px auto 0;
}
.ges-caec-faq__title {
  margin: 0 0 18px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  letter-spacing: -0.012em;
}
.ges-caec-q {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.ges-caec-q:hover {
  border-color: rgba(15,23,42,0.14);
}
.ges-caec-q[open] {
  border-color: rgba(15,23,42,0.14);
  box-shadow: 0 4px 14px rgba(15,23,42,0.04);
}
.ges-caec-q__summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background 0.15s ease;
}
.ges-caec-q__summary:hover { background: rgba(15,23,42,0.02); }
.ges-caec-q__summary::-webkit-details-marker { display: none; }
.ges-caec-q__summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--brand);
  line-height: 1;
}
.ges-caec-q[open] .ges-caec-q__summary::after { content: '−'; }
.ges-caec-q__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--brand) 8%, white);
  color: var(--brand);
}
.ges-caec-q__icon i,
.ges-caec-q__icon svg { width: 16px; height: 16px; stroke-width: 2; }
.ges-caec-q__text {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.ges-caec-q__body {
  padding: 4px 22px 18px;
  border-top: 1px solid rgba(15,23,42,0.06);
}
.ges-caec-q__body p {
  margin: 14px 0 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
}
.ges-caec-q__body strong { color: var(--ink); font-weight: 600; }
.ges-caec-q__body em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

.ges-caec-faq__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 0;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}
.ges-caec-faq__hint i,
.ges-caec-faq__hint svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--brand);
}
.ges-caec-faq__hint strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .ges-caec-grid { grid-template-columns: 1fr; gap: 14px; max-width: 560px; }
}
@media (max-width: 600px) {
  .ges-caec-card { padding: 22px 20px; }
  .ges-caec-card__title { font-size: 1.35rem; }
  .ges-caec-q__summary { padding: 14px 16px; gap: 10px; }
  .ges-caec-q__body { padding: 4px 16px 14px; }
  .ges-caec-q__text { font-size: 0.88rem; }
}

/* ====================================================================
   /glosario · Página de diccionario de términos del sistema chileno
   Estructura: hero compacto · índice alfabético sticky · secciones por letra
   ==================================================================== */
.glosario-hero {
  padding: 56px 0 32px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 6%, white) 0%, transparent 100%);
}
.glosario-hero__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.glosario-hero__kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand);
  margin-bottom: 12px;
}
.glosario-hero__title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}
.glosario-hero__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  margin-inline: auto;
}
.glosario-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 22px;
  font-size: 0.83rem;
  color: var(--muted);
}
.glosario-hero__meta i,
.glosario-hero__meta svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 4px;
  color: var(--brand);
  stroke-width: 2;
}
.glosario-hero__sep {
  color: rgba(15,23,42,0.2);
}

/* Índice alfabético sticky */
.glosario-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,0.06);
  padding: 12px 0;
}

/* Buscador del glosario */
.glosario-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 10px;
  max-width: 560px;
}
.glosario-search__label {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.10);
  background: #fff;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.glosario-search__label:focus-within {
  border-color: var(--brand, #3B82F6);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand, #3B82F6) 18%, transparent);
}
.glosario-search__label i,
.glosario-search__label svg {
  width: 16px;
  height: 16px;
  color: var(--muted, #6b7280);
  flex-shrink: 0;
}
.glosario-search__input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text, #0f172a);
}
.glosario-search__input::placeholder {
  color: var(--muted, #9aa4b2);
}
/* Quita la X nativa de Safari para input[type=search] */
.glosario-search__input::-webkit-search-cancel-button,
.glosario-search__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.glosario-search__count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted, #6b7280);
  white-space: nowrap;
}
.glosario-search__count[data-state="empty"] {
  color: #b91c1c;
}
.glosario-nav__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.glosario-nav__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, color 0.15s ease;
}
.glosario-nav__list a:hover {
  background: color-mix(in oklab, var(--brand) 10%, white);
  color: var(--brand);
}

/* Contenido: secciones por letra */
.glosario-content {
  padding: 32px 0 60px;
}
.glosario-content .container {
  max-width: 820px;
}
.glosario-letra {
  scroll-margin-top: 80px;
  margin-bottom: 36px;
}
.glosario-letra__title {
  margin: 28px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1;
}
.glosario-term {
  scroll-margin-top: 80px;
  padding: 18px 22px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.glosario-term:hover {
  border-color: rgba(15,23,42,0.12);
  box-shadow: 0 4px 14px rgba(15,23,42,0.04);
}
.glosario-term:target {
  border-color: var(--brand);
  background: color-mix(in oklab, var(--brand) 3%, white);
}
.glosario-term h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.glosario-term p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}
.glosario-term p a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--brand) 25%, white);
  transition: border-color 0.18s ease;
}
.glosario-term p a:hover {
  border-bottom-color: var(--brand);
}
.glosario-term strong {
  color: var(--ink);
  font-weight: 600;
}

/* ============================================================
 * Calculadoras embebidas en términos del glosario
 * ============================================================ */
.glosario-calc {
  margin-top: 14px;
  border: 1px dashed rgba(15,23,42,0.16);
  border-radius: 12px;
  background: color-mix(in oklab, var(--brand) 2%, white);
  overflow: hidden;
}
.glosario-calc[open] {
  border-style: solid;
  border-color: rgba(15,23,42,0.10);
}
.glosario-calc__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  list-style: none;
  user-select: none;
}
.glosario-calc__summary::-webkit-details-marker { display: none; }
.glosario-calc__summary:hover { background: color-mix(in oklab, var(--brand) 4%, white); }
.glosario-calc__summary i,
.glosario-calc__summary svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.glosario-calc__body {
  padding: 14px;
  background: #fff;
  border-top: 1px solid rgba(15,23,42,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.glosario-calc__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.glosario-calc__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.glosario-calc__field input[type="number"] {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 12px;
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 8px;
  background: #fff;
  outline: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.glosario-calc__field input[type="number"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 18%, transparent);
}
.glosario-calc__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink);
  align-self: end;
  padding-bottom: 8px;
}
.glosario-calc__check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
  margin: 0;
}
.glosario-calc__outs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.glosario-calc__out {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: color-mix(in oklab, var(--brand) 6%, white);
  border-radius: 8px;
}
.glosario-calc__out-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.glosario-calc__out-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.glosario-calc__bar {
  position: relative;
  height: 8px;
  background: rgba(15,23,42,0.06);
  border-radius: 999px;
  overflow: hidden;
}
.glosario-calc__bar-fill {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: 999px;
  transition: width 0.25s ease;
}
.glosario-calc__note {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 720px) {
  .glosario-calc__row { grid-template-columns: 1fr; }
  .glosario-calc__check { padding-bottom: 0; align-self: start; }
}

@media (max-width: 720px) {
  .glosario-hero { padding: 40px 0 24px; }
  .glosario-nav__list a { min-width: 30px; height: 30px; font-size: 0.82rem; padding: 0 8px; }
  .glosario-letra__title { font-size: 1.85rem; }
  .glosario-term { padding: 16px 18px; }
  .glosario-term h3 { font-size: 1.02rem; }
  .glosario-term p { font-size: 0.9rem; }
}

/* Responsive */
@media (max-width: 900px) {
  .tipos-planes-grid { grid-template-columns: 1fr; gap: 14px; max-width: 560px; }
  .que-es-tipos__grid { grid-template-columns: 1fr; gap: 14px; }
  .calcula-plan-flow {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .calcula-step__op {
    padding: 4px 0;
    font-size: 1.2rem;
  }
}
@media (max-width: 600px) {
  .tipo-plan-card,
  .que-es-tipo,
  .calcula-step { padding: 20px 18px; }
}
