@charset "UTF-8";
/* ==========================================================================
   MediPriva II — Hoja de estilos
   Version: 2.0.0
   Formato alternativo del sitio de MediPriva: mismo contenido y mismos
   enlaces, otra identidad visual.
   Paleta: verde azulado (teal) + ámbar sobre neutro cálido.
   Tipografía: Sora (títulos) + Inter (cuerpo).
   ========================================================================== */

/* ------------------------------ 1. Tokens ------------------------------- */
:root {
  /* Marca */
  --teal-900: #0f3b38;
  --teal-800: #115e56;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-300: #5eead4;
  --teal-100: #ccfbf1;
  --teal-50:  #f0fdfa;

  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-100: #fef3c7;

  --rose-600: #e11d48;
  --rose-100: #ffe4e6;

  /* Superficies neutras cálidas */
  --bg:        #fbfaf7;
  --surface:   #ffffff;
  --surface-2: #f4f2ed;
  --text:      #1c2b2a;
  --text-soft: #4b5f5d;
  --muted:     #6f8280;
  --line:      #e4e2db;

  /* Tipografía */
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", var(--font-body);

  /* Espaciado (ritmo 4/8) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;

  /* Radios: más redondeados que el sitio original */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Elevación suave y cálida */
  --sh-1: 0 1px 2px rgba(15, 59, 56, 0.05), 0 2px 8px rgba(15, 59, 56, 0.05);
  --sh-2: 0 4px 14px rgba(15, 59, 56, 0.08), 0 14px 34px rgba(15, 59, 56, 0.07);
  --sh-3: 0 12px 28px rgba(15, 59, 56, 0.1), 0 28px 64px rgba(15, 59, 56, 0.12);

  --z-sticky: 40;
  --z-fab: 60;
  --z-modal: 100;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --dur: 220ms;

  --container: 1180px;
}

/* ------------------------------ 2. Base -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-head);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--teal-900);
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.35rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.9vw, 2.4rem); }
h3 { font-size: clamp(1.08rem, 1rem + 0.45vw, 1.28rem); }

p { margin: 0 0 var(--sp-4); max-width: 68ch; }

a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

:focus-visible {
  outline: 3px solid var(--amber-500);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection { background: var(--teal-100); color: var(--teal-900); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%; top: -100px;
  transform: translateX(-50%);
  z-index: var(--z-modal);
  padding: 0.75rem 1.25rem;
  background: var(--teal-900);
  color: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; text-decoration: none; }

/* ---------------------------- 3. Utilidades ---------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.25rem);
}

.section { padding-block: clamp(3.25rem, 6.5vw, 5.75rem); position: relative; }
.section--soft { background: var(--surface-2); }
.section--teal {
  background: linear-gradient(165deg, var(--teal-800) 0%, var(--teal-900) 100%);
  color: #fff;
}
.section--teal h2, .section--teal h3 { color: #fff; }
.section--teal p { color: rgba(255, 255, 255, 0.82); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

/* Etiqueta de sección: rectangular con línea, distinta a la píldora del original */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--sp-3);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.tag::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--amber-500);
}
.section--teal .tag { color: var(--teal-300); }

.lead { font-size: clamp(1rem, 0.96rem + 0.28vw, 1.14rem); color: var(--text-soft); }
.section--teal .lead { color: rgba(255, 255, 255, 0.82); }

.acento { color: var(--teal-600); }
.section--teal .acento { color: var(--teal-300); }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.8rem 1.7rem;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.2;
  color: #fff;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  background: var(--teal-700);
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.28);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn:hover {
  background: var(--teal-800);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.34);
  text-decoration: none;
}
.btn:active { transform: translateY(0) scale(0.985); }

.btn--wa {
  background: #1faa54;
  box-shadow: 0 6px 16px rgba(31, 170, 84, 0.3);
}
.btn--wa:hover { background: #17843f; box-shadow: 0 12px 26px rgba(31, 170, 84, 0.38); }

.btn--amber {
  background: var(--amber-500);
  color: var(--teal-900);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.32);
}
.btn--amber:hover { background: var(--amber-400); box-shadow: 0 12px 26px rgba(245, 158, 11, 0.4); }

.btn--ghost {
  background: transparent;
  color: var(--teal-800);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--surface); border-color: var(--teal-500); box-shadow: var(--sh-1); }

.btn--claro {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}
.btn--claro:hover { background: rgba(255, 255, 255, 0.22); }

.btn svg { width: 19px; height: 19px; flex: none; }

/* Tarjeta base: borde marcado y sombra suave, sin degradés de burbuja */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--teal-300); }

/* ---------------------------- 4. Cabecera ------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(15, 59, 56, 0.06); }

.nav { display: flex; align-items: center; gap: var(--sp-5); min-height: 72px; }

.nav__brand { display: flex; align-items: center; gap: 0.6rem; margin-right: auto; }
.nav__brand img { height: 40px; width: auto; border-radius: 8px; }
.nav__brand span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--teal-900);
}
.nav__brand:hover { text-decoration: none; }

.nav__menu { display: flex; align-items: center; gap: 0.2rem; }

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--teal-800); background: var(--teal-50); text-decoration: none; }
.nav__link.is-active { color: var(--teal-800); background: var(--teal-50); font-weight: 600; }

.nav__cta { display: none; min-height: 44px; padding: 0.6rem 1.2rem; font-size: 0.9rem; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--teal-900);
  cursor: pointer;
  place-items: center;
}
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle .ico-cerrar { display: none; }
.nav__toggle[aria-expanded="true"] .ico-cerrar { display: block; }
.nav__toggle[aria-expanded="true"] .ico-abrir { display: none; }

/* ------------------------------ 5. Hero -------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(760px 420px at 88% 4%, var(--teal-50), transparent 62%),
    var(--bg);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 4.5vw, 3.5rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--sp-4);
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  border-radius: var(--r-pill);
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: 0.8rem;
  font-weight: 600;
}
.hero__badge b {
  padding: 0.15rem 0.55rem;
  border-radius: var(--r-pill);
  background: var(--teal-700);
  color: #fff;
  font-size: 0.74rem;
}

.hero h1 { margin-bottom: var(--sp-4); }
.hero__acciones { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }

.hero__notas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: var(--sp-5);
  font-size: 0.85rem;
  color: var(--muted);
}
.hero__notas li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__notas svg { width: 16px; height: 16px; color: var(--teal-600); flex: none; }

/* Selector de situación: reemplaza la mascota del sitio original */
.rutas { display: grid; gap: var(--sp-3); }
.ruta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: 1.1rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  color: var(--text);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.ruta:hover {
  transform: translateX(5px);
  border-color: var(--teal-500);
  box-shadow: var(--sh-2);
  text-decoration: none;
}
.ruta__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal-700);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
}
.ruta:nth-child(2) .ruta__num { background: var(--amber-100); color: var(--amber-600); }
.ruta:nth-child(3) .ruta__num { background: var(--rose-100); color: var(--rose-600); }
.ruta__txt strong { display: block; font-family: var(--font-head); font-size: 0.98rem; font-weight: 600; color: var(--teal-900); }
.ruta__txt span { font-size: 0.86rem; color: var(--muted); }
.ruta__flecha { margin-left: auto; flex: none; width: 20px; height: 20px; color: var(--teal-600); transition: transform var(--dur) var(--ease); }
.ruta:hover .ruta__flecha { transform: translateX(4px); }

/* --------------------------- 6. Banda de datos ------------------------- */
.datos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.dato { padding: clamp(1.25rem, 2.5vw, 1.75rem) var(--sp-4); background: var(--surface); text-align: center; }
.dato__n {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 1.4rem + 1.3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--teal-700);
  font-variant-numeric: tabular-nums;
}
.dato__l { display: block; margin-top: 0.3rem; font-size: 0.83rem; color: var(--muted); line-height: 1.4; }

/* --------------------------- 7. Prepagas ------------------------------- */
/* Formato distinto al original: grilla con filtros, no carrusel. */
.filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.filtro {
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.filtro:hover { border-color: var(--teal-500); color: var(--teal-800); }
.filtro[aria-pressed="true"] {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}
.filtro span { opacity: 0.65; font-weight: 500; }

.prepagas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.25rem);
}

.prepaga {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  padding: 1.4rem 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.prepaga:hover { transform: translateY(-4px); border-color: var(--teal-300); box-shadow: var(--sh-2); text-decoration: none; }
.prepaga.is-oculta { display: none; }

.prepaga__logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 54px;
}
.prepaga__logo img { max-height: 46px; width: auto; object-fit: contain; }

.prepaga__nombre { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; color: var(--teal-900); }

.prepaga__seg {
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-pill);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.prepaga[data-seg="economica"] .prepaga__seg { background: var(--teal-50); color: var(--teal-700); }
.prepaga[data-seg="media"] .prepaga__seg { background: var(--amber-100); color: var(--amber-600); }
.prepaga[data-seg="premium"] .prepaga__seg { background: var(--rose-100); color: var(--rose-600); }

.prepaga__cta {
  margin-top: auto;
  padding-top: var(--sp-2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-700);
}

.prepagas__nota {
  margin: var(--sp-5) auto 0;
  max-width: 72ch;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* --------------------------- 8. Segmentos ------------------------------ */
.segmentos { display: grid; grid-template-columns: 1fr; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.segmento { padding: clamp(1.5rem, 2.5vw, 2rem); }
.segmento__cab { display: flex; align-items: center; gap: 0.7rem; margin-bottom: var(--sp-3); }
.segmento__punto { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.segmento--eco .segmento__punto { background: var(--teal-500); }
.segmento--med .segmento__punto { background: var(--amber-500); }
.segmento--pre .segmento__punto { background: var(--rose-600); }
.segmento h3 { margin: 0; }
.segmento p { font-size: 0.92rem; color: var(--text-soft); margin-bottom: 0; }

/* --------------------------- 9. Ventajas ------------------------------- */
.ventajas { display: grid; grid-template-columns: 1fr; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.ventaja { padding: clamp(1.5rem, 2.5vw, 1.9rem); }
.ventaja__ico {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: var(--sp-4);
  border-radius: 15px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.ventaja__ico svg { width: 24px; height: 24px; }
.ventaja p { font-size: 0.92rem; color: var(--text-soft); margin-bottom: 0; }

/* ----------------------------- 10. Blog -------------------------------- */
.notas { display: grid; grid-template-columns: 1fr; gap: clamp(1.25rem, 2.5vw, 1.75rem); }

.nota { display: flex; flex-direction: column; padding: clamp(1.4rem, 2.4vw, 1.8rem); height: 100%; }
.nota__meta { display: flex; align-items: center; gap: 0.6rem; margin-bottom: var(--sp-3); }
.nota__cat {
  padding: 0.22rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--teal-50);
  color: var(--teal-700);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nota__fecha { font-size: 0.78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.nota h3 { margin-bottom: var(--sp-2); }
.nota h3 a { color: inherit; }
.nota h3 a:hover { color: var(--teal-700); text-decoration: none; }
.nota p { font-size: 0.91rem; color: var(--text-soft); margin-bottom: var(--sp-4); }
.nota__pie {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}
.nota__fuente { font-size: 0.76rem; color: var(--muted); }
.nota__link { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; font-size: 0.86rem; font-weight: 600; color: var(--teal-700); }
.nota__link svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.nota__link:hover { text-decoration: none; }
.nota:hover .nota__link svg { transform: translateX(3px); }

/* ------------------------------ 11. FAQ -------------------------------- */
.faq { display: grid; gap: var(--sp-3); max-width: 840px; margin-inline: auto; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq__item[open] { border-color: var(--teal-300); box-shadow: var(--sh-1); }
.faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 56px;
  padding: 1rem 1.3rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: clamp(0.96rem, 0.93rem + 0.2vw, 1.05rem);
  font-weight: 600;
  color: var(--teal-900);
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary:hover { color: var(--teal-600); }
.faq__item > summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2.4px solid var(--teal-600);
  border-bottom: 2.4px solid var(--teal-600);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] > summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq__resp { padding: 0 1.3rem 1.2rem; }
.faq__resp p { margin: 0; font-size: 0.92rem; color: var(--text-soft); }

/* --------------------------- 12. Cierre -------------------------------- */
.cierre { text-align: center; }
.cierre__acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-5); }

/* ---------------------------- 13. Footer ------------------------------- */
.footer {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.7);
  padding-block: clamp(2.5rem, 5vw, 3.75rem) var(--sp-5);
  font-size: 0.9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__marca { display: flex; align-items: center; gap: 0.6rem; margin-bottom: var(--sp-4); }
.footer__marca img { height: 42px; width: auto; border-radius: 8px; }
.footer__marca span { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #fff; }
.footer h4 {
  margin-bottom: var(--sp-4);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer p { color: rgba(255, 255, 255, 0.62); font-size: 0.87rem; }
.footer ul { display: grid; gap: 0.1rem; }
.footer a { color: rgba(255, 255, 255, 0.72); }
.footer a:hover { color: #fff; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.87rem; }

.redes { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--sp-4); }
.red {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.red:hover { background: var(--teal-600); transform: translateY(-3px); }
.red svg { width: 20px; height: 20px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-5);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom p { margin: 0; color: inherit; max-width: none; }

.footer__legal {
  margin: var(--sp-4) 0 0;
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
  max-width: none;
}

.footer__autor {
  margin: var(--sp-4) 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
  max-width: none;
}
.footer__autor a { display: inline-flex; align-items: baseline; gap: 0.35rem; min-height: 40px; padding: 0 0.3rem; color: rgba(255, 255, 255, 0.68); }
.footer__autor a:hover { color: var(--teal-300); text-decoration: none; }
.footer__autor strong { font-family: var(--font-head); font-weight: 600; }

/* --------------------------- 14. WhatsApp ------------------------------ */
.fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  z-index: var(--z-fab);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 56px;
  padding: 0.85rem 1.3rem;
  border-radius: var(--r-pill);
  background: #1faa54;
  color: #fff;
  font-weight: 600;
  font-size: 0.93rem;
  box-shadow: 0 10px 26px rgba(31, 170, 84, 0.42);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.fab:hover { transform: translateY(-3px); text-decoration: none; box-shadow: 0 16px 34px rgba(31, 170, 84, 0.5); }
.fab svg { width: 24px; height: 24px; flex: none; }
.fab__txt { display: none; }

/* --------------------------- 15. Artículo ------------------------------ */
.articulo { padding-top: clamp(2rem, 4vw, 3rem); }
.articulo__cuerpo { max-width: 72ch; }
.articulo__cuerpo h2 { margin-top: clamp(2rem, 3.5vw, 2.5rem); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); }
.articulo__cuerpo p, .articulo__cuerpo li { color: var(--text-soft); }
.articulo__cuerpo ul { display: grid; gap: 0.55rem; margin-bottom: var(--sp-4); }
.articulo__cuerpo ul li { position: relative; padding-left: 1.5rem; font-size: 0.96rem; }
.articulo__cuerpo ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
}
.articulo__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-bottom: var(--sp-4); }
.articulo__fuente {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: 1.1rem 1.3rem;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--r-md);
  font-size: 0.88rem;
  color: var(--text-soft);
  max-width: none;
}
.articulo__fuente strong { color: var(--teal-900); }
.volver { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-size: 0.9rem; font-weight: 600; }
.volver svg { width: 16px; height: 16px; }

.aviso {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  font-size: 0.84rem;
  color: var(--muted);
  max-width: none;
}

/* -------------------------- 16. Animaciones ---------------------------- */
.aparece {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
  transition-delay: var(--retraso, 0ms);
}
.aparece.visible { opacity: 1; transform: none; }
.d1 { --retraso: 90ms; }
.d2 { --retraso: 180ms; }
.d3 { --retraso: 270ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .aparece { opacity: 1; transform: none; }
}

/* -------------------------- 17. Responsive ----------------------------- */
@media (min-width: 480px) { .fab__txt { display: inline; } }

@media (min-width: 640px) {
  .segmentos { grid-template-columns: repeat(2, 1fr); }
  .ventajas { grid-template-columns: repeat(2, 1fr); }
  .notas { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; }
  .segmentos { grid-template-columns: repeat(3, 1fr); }
  .ventajas { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .nav__cta { display: inline-flex; }
}

@media (min-width: 1024px) {
  .notas { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 899px) {
  .nav__menu {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: var(--sp-4) clamp(1rem, 4vw, 2.25rem) var(--sp-6);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 44px rgba(15, 59, 56, 0.14);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
  .nav__menu.abierto { transform: none; opacity: 1; visibility: visible; }
  .nav__link { min-height: 52px; font-size: 1rem; }
  .nav__toggle { display: grid; }
}

/* --------------------------- 18. Impresión ----------------------------- */
@media print {
  .header, .fab, .filtros, .skip-link, .nav { display: none !important; }
  body { background: #fff; color: #000; }
  .section--teal, .footer { background: #fff !important; color: #000 !important; }
  .section--teal h2, .section--teal p, .footer p { color: #000 !important; }
  .card, .prepaga, .faq__item { box-shadow: none; border: 1px solid #ccc; }
  .faq__resp { display: block !important; }
}
