/* ==========================================================================
   MI SALUD TOTAL — Landing SaveIt On Demand
   Hoja de estilos principal

   Índice
   01. Tokens de diseño
   02. Base y reset
   03. Layout y utilidades
   04. Botones y tiendas
   05. Header y navegación
   06. Hero
   07. Cómo funciona
   08. Video
   09. Beneficios
   10. Audiencias (bloque oscuro)
   11. Red nacional
   12. Precio
   13. Preguntas frecuentes
   14. Cierre / descarga
   15. Footer
   16. Botón flotante WhatsApp
   17. Accesibilidad y movimiento
   18. Media queries
   19. Cotizador + contacto
   20. Sobre nosotros (sobre-nosotros.html)

   Nota: todo cuelga de .mst para que la hoja pueda reinsertarse en Shopify,
   WordPress o cualquier CMS sin contaminar los estilos del tema.
   ========================================================================== */


/* ==========================================================================
   01. TOKENS DE DISEÑO
   ========================================================================== */
.mst {
  /* Paleta */
  --n:  #00194A;  /* azul marino principal */
  --d:  #142a43;  /* azul profundo */
  --b:  #2d6aa0;  /* azul de marca */
  --bl: #90caf9;  /* azul claro / halo */
  --g:  #90caf9;  /* azul claro / halo */
  --gl: #00d9ff;  /* acentos */
  --bg: #F6F4EE;  /* fondo hueso */
  --w:  #fff;
  --i:  #11233C;  /* texto principal */
  --gr: #5F6C82;  /* texto secundario */
  --ln: #E3E7EF;  /* líneas y bordes */
  --wa: #25D366;  /* WhatsApp */

  /* Sombra base */
  --sh: 0 22px 52px -24px rgba(0, 25, 74, .28);

  /* Degradado de marca (compartido por index y sobre-nosotros) */
  --c1: #0a3ab5;
  --c2: #2ecfeb;
  --grad: linear-gradient(135deg, var(--c1) 0%, var(--c1) 35%, var(--c2) 100%);

  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  color: var(--i);
  background: var(--bg);
  /* Evita scroll horizontal por los degradados del hero.
     "clip" (y no "hidden") para que el header sticky funcione:
     overflow:hidden convertía a .mst en contenedor de scroll y el header no se fijaba. */
  overflow-x: clip;
}


/* ==========================================================================
   02. BASE Y RESET
   ========================================================================== */
html { scroll-behavior: smooth; }

body { margin: 0; background: #f2f2f2; }

.mst * { box-sizing: border-box; }

.mst a { color: inherit; text-decoration: none; }

.mst img,
.mst video { display: block; max-width: 100%; }

.mst h1,
.mst h2,
.mst h3 {
  font-family: Sora, "Segoe UI", system-ui, sans-serif;
  margin: 0;
  line-height: 1.06;
  letter-spacing: -.035em;
}

.mst p { margin: 0; }

.mst ul,
.mst ol { margin: 0; padding: 0; list-style: none; }

/* Compensa el header fijo al navegar por anclas */
.mst [id] { scroll-margin-top: 92px; }


/* ==========================================================================
   03. LAYOUT Y UTILIDADES
   ========================================================================== */
.mst .wrap { max-width: 1160px; margin: auto; padding: 0 24px; }

.mst .sec { padding: 82px 0; }

/* Eyebrow: etiqueta corta sobre el título de sección */
.mst .ey {
  display: block;
  margin-bottom: 12px;
  color: var(--b);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mst .ey--gold { color: var(--gl); }

.mst .head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.mst .head h2 { font-size: clamp(28px, 4vw, 38px); color: var(--n); margin-bottom: 14px; }
.mst .head p  { color: var(--gr); font-size: 16px; line-height: 1.6; }


/* ==========================================================================
   04. BOTONES Y TIENDAS
   ========================================================================== */
.mst .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  transition: transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}

.mst .btn:hover { transform: translateY(-2px); }

.mst .gold {
  background: linear-gradient(135deg, var(--gl), var(--g));
  color: var(--n);
  box-shadow: 0 10px 24px -12px rgba(188, 151, 40, .65);
}

.mst .line {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .22);
  color: #fff;
}

.mst .wa { background: var(--wa); color: #fff; }

/* Botones de App Store / Google Play */
.mst .storeBtn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #101725;
  color: #fff;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 800;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .35);
  transition: transform .18s ease;
}

.mst .storeBtn:hover { transform: translateY(-2px); }
.mst .storeBtn small { display: block; font-size: 10px; opacity: .7; font-weight: 500; text-transform: uppercase; }

.mst .storeLogo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: #fff;
  overflow: hidden;
}

.mst .storeLogo svg { width: 26px; height: 26px; display: block; }
.mst .storeLogo.appstore { background: linear-gradient(180deg, #27A8FF, #0066D9); }
.mst .storeLogo.play { background: #fff; }

/* El JS marca la tienda que corresponde al dispositivo del visitante */
.mst .storeBtn--primary {
  outline: 2px solid var(--gl);
  outline-offset: 3px;
}


/* ==========================================================================
   05. HEADER Y NAVEGACIÓN
   ========================================================================== */
.mst .top {
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(246, 244, 238, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ln);
  transition: box-shadow .2s ease;
}

.mst .top.is-stuck { box-shadow: 0 10px 30px -22px rgba(0, 25, 74, .55); }

.mst .topin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 24px;
  max-width: 1160px;
  margin: auto;
}

.mst .logo { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--n); }
.mst .logo img { height: 38px; width: auto; }

.mst .cap {
  font-size: 10px;
  line-height: 1.24;
  color: var(--g);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mst .nav { display: flex; gap: 24px; font-size: 14px; font-weight: 700; color: var(--n); }
.mst .nav a { opacity: .78; transition: opacity .15s ease; }
.mst .nav a:hover { opacity: 1; }

/* Sección visible durante el scroll / página actual */
.mst .nav a.is-active,
.mst .nav a[aria-current="page"] { opacity: 1; color: var(--b); }

/* El CTA duplicado dentro del menú solo aparece en móvil */
.mst .navCta { display: none; }

/* Botón hamburguesa (solo móvil) */
.mst .burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ln);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
  align-content: center; /* sin esto las 3 líneas se separan y al abrir se forma ">" en vez de ✕ */
  gap: 5px;
}

.mst .burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--n);
  transition: transform .2s ease, opacity .2s ease;
}

.mst .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mst .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mst .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ==========================================================================
   06. HERO
   ========================================================================== */
.mst .hero {
  position: relative;
  color: #fff;
  padding: 72px 0 78px;
  background:
    radial-gradient(900px 460px at 10% -10%, var(--bl), transparent 60%),
    linear-gradient(160deg, var(--n), var(--d) 55%, var(--b));
  overflow: hidden;
}

/* Trama de puntos sobre el degradado */
.mst .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .25;
}

.mst .grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 38px;
  align-items: center;
}

.mst .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--gl);
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mst h1 { font-size: clamp(40px, 6vw, 62px); color: #fff; margin-bottom: 18px; max-width: 670px; }
.mst h1 em { font-style: italic; font-weight: 500; color: var(--gl); }

.mst .sub {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
  max-width: 590px;
  margin-bottom: 28px;
}

.mst .heroFacts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }

.mst .heroFacts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 12.5px;
  font-weight: 700;
}

/* Tarjeta de oferta */
.mst .heroBox {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 28px;
  padding: 26px;
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 60px -28px rgba(0, 0, 0, .48);
}

.mst .heroBox .heroBoxTitle { color: #fff; font-size: 28px; margin-bottom: 8px; }
.mst .heroBox p { color: rgba(255, 255, 255, .78); font-size: 14.5px; line-height: 1.55; }

.mst .heroPrice { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }

.mst .heroAmount { font-family: Sora, sans-serif; font-size: 48px; line-height: 1; color: #fff; }
.mst .heroAmount small {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, .66);
  margin-top: 8px;
}

.mst .heroBadge {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(232, 196, 106, .16);
  border: 1px solid rgba(232, 196, 106, .28);
  color: var(--gl);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mst .benefitMini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0 22px; }
.mst .benefitMini li { background: #fff; border-radius: 16px; padding: 14px; color: var(--n); }
.mst .benefitMini li:last-child { grid-column: 1 / -1; }
.mst .benefitMini b { display: block; font-size: 16px; line-height: 1.15; margin-bottom: 4px; }
.mst .benefitMini span { font-size: 12px; color: var(--gr); line-height: 1.35; }

.mst .heroDownloads { display: grid; gap: 10px; }

.mst .heroNote {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .7);
}

/* ---------- Hero: fondo animado ----------
   Se comparte con el hero de sobre-nosotros (.pageHero) y el bloque
   de Filosofía (.section--dark). Ver sección 20. */
.mst .hero::after,
.mst .pageHero::after,
.mst .section--dark::after {
  content: "";
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background:
    radial-gradient(circle at 25% 35%, rgba(46, 207, 235, .55) 0, transparent 22%),
    radial-gradient(circle at 75% 65%, rgba(46, 207, 235, .35) 0, transparent 20%),
    radial-gradient(circle at 60% 20%, rgba(255, 255, 255, .18) 0, transparent 16%),
    radial-gradient(circle at 35% 80%, rgba(232, 196, 106, .22) 0, transparent 18%);
  mix-blend-mode: screen;   /* hace que las luces "brillen" sobre el azul */
  filter: blur(30px);
  will-change: transform;
  animation: hero-aurora 12s ease-in-out infinite alternate;
}

.mst .hero::before {
  z-index: 1;
  animation: hero-dots 20s linear infinite;
}

.mst .hero .grid { z-index: 2; }

@keyframes hero-aurora {
  0%   { transform: translate3d(-12%, -8%, 0) rotate(0deg)   scale(1); }
  50%  { transform: translate3d(10%, 6%, 0)   rotate(18deg)  scale(1.15); }
  100% { transform: translate3d(-4%, 12%, 0)  rotate(-12deg) scale(1.05); }
}
@keyframes hero-dots {
  to { background-position: 260px 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .mst .hero::after,
  .mst .hero::before,
  .mst .pageHero::after,
  .mst .pageHero::before,
  .mst .section--dark::after,
  .mst .section--dark::before { animation: none; }
}

/* ==========================================================================
   07. CÓMO FUNCIONA
   ========================================================================== */
.mst .stepsBand { background: #fff; }

.mst .stepGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.mst .stepCard {
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 28px -18px rgba(0, 25, 74, .18);
}

.mst .stepN {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gl), var(--g));
  color: var(--n);
  font-weight: 900;
  margin-bottom: 14px;
}

.mst .stepCard h3 { font-size: 19px; color: var(--n); margin-bottom: 8px; }
.mst .stepCard p  { font-size: 14px; color: var(--gr); line-height: 1.55; }


/* ==========================================================================
   08. VIDEO
   ========================================================================== */
.mst .videoSec { background: linear-gradient(180deg, #fff, var(--bg)); }

.mst .vcard {
  max-width: 920px;
  margin: auto;
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: 26px;
  padding: 18px;
  box-shadow: var(--sh);
}

.mst .frame { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--n); }
.mst .frame video { width: 100%; height: 100%; object-fit: cover; }

.mst .note { text-align: center; color: var(--gr); font-size: 13px; padding: 15px 10px 0; }


/* ==========================================================================
   09. BENEFICIOS
   ========================================================================== */
.mst .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.mst .bc {
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: 18px;
  padding: 24px 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.mst .bc:hover { transform: translateY(-4px); box-shadow: 0 10px 28px -16px rgba(0, 25, 74, .28); }

.mst .ico {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(33, 94, 198, .09);
  font-size: 20px;
  margin-bottom: 14px;
}

.mst .bc h3 {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  color: var(--n);
  margin: 0 0 7px;
  line-height: 1.35;
}

.mst .bc p { font-size: 13.5px; color: var(--gr); line-height: 1.5; }


/* ==========================================================================
   10. AUDIENCIAS (BLOQUE OSCURO)
   ========================================================================== */
.mst .dark { background: var(--n); color: #fff; }
.mst .dark .head h2,
.mst .dark h3 { color: #fff; }
.mst .dark .head p,
.mst .aud p { color: rgba(255, 255, 255, .72); }

.mst .aud { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.mst .ac {
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  padding: 32px;
}

.mst .ac .ico { background: rgba(232, 196, 106, .16); color: var(--gl); }

/* Tarjetas de planes: el espacio antes del botón y su alineación
   se resuelven aquí (antes eran <p>_</p><br> en el HTML) */
.mst .ac { display: flex; flex-direction: column; align-items: flex-start; }
.mst .planList { margin-bottom: 40px; }
.mst .ac .ctaGlow { margin-top: auto; }

.mst .audtag {
  display: inline-block;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gl);
  font-weight: 800;
}


/* ==========================================================================
   11. RED NACIONAL
   ========================================================================== */
.mst .locHero {
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: 28px;
  padding: 38px;
  box-shadow: var(--sh);
}

.mst .locTop { display: grid; grid-template-columns: .92fr 1.08fr; gap: 30px; align-items: start; }

.mst .locLead h2 { font-size: 30px; color: var(--n); margin-bottom: 12px; }
.mst .locLead p  { color: var(--gr); font-size: 15.5px; line-height: 1.65; margin-bottom: 18px; }

.mst .statRow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }

.mst .statBox {
  background: linear-gradient(160deg, var(--n), var(--d));
  color: #fff;
  border-radius: 18px;
  padding: 18px;
}

.mst .statBox b {
  display: block;
  font-family: Sora, sans-serif;
  font-size: 34px;
  line-height: 1;
  color: var(--gl);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.mst .statBox span { font-size: 13px; color: rgba(255, 255, 255, .78); }

.mst .locNote {
  background: linear-gradient(160deg, var(--n), var(--d));
  color: #fff;
  border-radius: 22px;
  padding: 24px;
  display: grid;
  gap: 14px;
}

.mst .locNote h3 { color: #fff; font-size: 22px; margin-bottom: 0; }
.mst .locNote p  { color: rgba(255, 255, 255, .78); font-size: 14px; line-height: 1.55; margin: 0; }

.mst .contactGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.mst .contactCard {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  padding: 12px;
  color: #fff;
  transition: background .18s ease;
}

.mst .contactCard:hover { background: rgba(255, 255, 255, .18); }

.mst .contactCard b {
  display: block;
  color: var(--gl);
  font-size: 12px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mst .contactCard span { font-size: 14px; font-weight: 800; }

.mst .stateGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }

.mst .stateItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--ln);
  border-radius: 14px;
  padding: 12px 14px;
}

.mst .stateItem b { font-size: 13.5px; color: var(--n); line-height: 1.25; }

.mst .stateItem span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--b);
  font-weight: 900;
  font-size: 13px;
  border: 1px solid rgba(33, 94, 198, .15);
}

.mst .locFoot { margin-top: 18px; color: var(--gr); font-size: 13px; line-height: 1.55; }


/* ==========================================================================
   12. PRECIO
   ========================================================================== */
.mst .priceSec { background: #fff; }

.mst .priceCard {
  max-width: 560px;
  margin: auto;
  background: linear-gradient(160deg, var(--n), var(--d));
  border-radius: 28px;
  padding: 44px 38px;
  color: #fff;
  text-align: center;
  box-shadow: var(--sh);
}

.mst .pt {
  display: inline-block;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--gl);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 18px;
}

.mst .amount { font-family: Sora, sans-serif; font-size: 64px; letter-spacing: -.05em; }
.mst .amount span { font-size: 17px; color: rgba(255, 255, 255, .72); }

.mst .psub { font-size: 14px; color: rgba(255, 255, 255, .75); margin: 14px 0 26px; }

.mst .checks { display: grid; gap: 10px; text-align: left; max-width: 380px; margin: 0 auto 28px; }
.mst .checks li { font-size: 14px; color: rgba(255, 255, 255, .88); line-height: 1.35; padding-left: 18px; position: relative; }

.mst .checks li::before,
.mst .faqC li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gl);
  font-weight: 900;
}

.mst .dualCta { display: grid; gap: 10px; }


/* ==========================================================================
   13. PREGUNTAS FRECUENTES
   ========================================================================== */
.mst .faq { max-width: 820px; margin: auto; display: grid; gap: 12px; }

.mst details { background: #fff; border: 1px solid var(--ln); border-radius: 14px; overflow: hidden; }

.mst summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 800;
  color: var(--n);
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.mst summary::-webkit-details-marker { display: none; }

.mst summary::after {
  content: "+";
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
}

.mst details[open] summary::after { content: "×"; background: var(--gl); }

.mst .faqC { padding: 0 22px 20px; color: var(--gr); font-size: 14.5px; line-height: 1.65; }
.mst .faqC p { margin: 0 0 12px; }
.mst .faqC p:last-child { margin-bottom: 0; }
.mst .faqC strong { color: var(--n); }
.mst .faqC ul { display: grid; gap: 8px; }
.mst .faqC li { padding-left: 18px; position: relative; }


/* ==========================================================================
   14. CIERRE / DESCARGA
   ========================================================================== */
.mst .final { background: linear-gradient(180deg, var(--bg), #EEE9DC); }

.mst .fg { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }

.mst .final h2 { font-size: clamp(28px, 4vw, 40px); color: var(--n); margin-bottom: 15px; }
.mst .final p  { color: var(--gr); font-size: 15.5px; line-height: 1.65; margin-bottom: 20px; }

.mst .stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }

.mst .support { display: grid; gap: 10px; margin-top: 20px; color: var(--n); font-weight: 800; font-size: 14px; }
.mst .support a { display: inline-flex; align-items: center; gap: 8px; }

.mst .ctaPanel {
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 30px -18px rgba(0, 25, 74, .22);
}

.mst .ctaPanel h3 { font-size: 22px; color: var(--n); margin-bottom: 14px; }

.mst .list { display: grid; gap: 14px; margin-bottom: 24px; }
.mst .list li { display: flex; gap: 12px; align-items: flex-start; }

.mst .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gl), var(--g));
  color: var(--n);
  font-weight: 900;
  flex: 0 0 auto;
}

.mst .list b { display: block; color: var(--n); font-size: 14px; }
.mst .list p { font-size: 13px; margin: 2px 0 0; color: var(--gr); line-height: 1.45; }


/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.mst footer { background: var(--n); color: rgba(255, 255, 255, .72); padding: 52px 0 28px; }

.mst .ft {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.mst footer .logo img { filter: brightness(0) invert(1); }

.mst footer p { max-width: 300px; font-size: 13.5px; color: rgba(255, 255, 255, .55); margin-top: 10px; line-height: 1.6; }

.mst .fcontact { display: grid; gap: 10px; }

.mst .legal { max-width: none; font-size: 12px; color: rgba(255, 255, 255, .4); line-height: 1.7; padding-top: 22px; }

.mst .legalLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, .72);
  max-width: none;
}

.mst .legalLinks a { text-decoration: underline; text-underline-offset: 3px; }


/* ==========================================================================
   16. BOTÓN FLOTANTE WHATSAPP
   ========================================================================== */
.mst .fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .65);
  transition: opacity .25s ease, transform .25s ease;
}

.mst .fab svg { width: 30px; height: 30px; }

/* Se oculta mientras el visitante está en el hero (ahí ya hay CTA visibles) */
.mst .fab.is-hidden { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }


/* ==========================================================================
   17. ACCESIBILIDAD Y MOVIMIENTO
   ========================================================================== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #00194A;
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  font: 700 14px/1 Manrope, sans-serif;
}

.skip-link:focus { left: 0; }

.mst a:focus-visible,
.mst button:focus-visible,
.mst summary:focus-visible {
  outline: 3px solid var(--bl);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mst *,
  .mst *::before,
  .mst *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}


/* ==========================================================================
   18. MEDIA QUERIES
   ========================================================================== */

/* --- Tablet ------------------------------------------------------------- */
@media (max-width: 940px) {
  .mst .grid,
  .mst .fg,
  .mst .locTop { grid-template-columns: 1fr; }

  .mst .stepGrid,
  .mst .cards,
  .mst .stateGrid { grid-template-columns: repeat(2, 1fr); }

  .mst .hero { padding-bottom: 64px; }
}

/* --- Menú móvil: con 7 enlaces + CTA el menú de escritorio ya no cabe bajo 1100px --- */
@media (max-width: 1100px) {
  .mst .headCta { display: none; }
  .mst .burger  { display: grid; }

  .mst .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--ln);
    box-shadow: 0 18px 30px -24px rgba(0, 25, 74, .6);
    padding: 6px 18px 20px;
    font-size: 16px;
  }

  .mst .nav.is-open { display: flex; }
  .mst .nav a { padding: 14px 0; border-bottom: 1px solid var(--ln); }
  .mst .navCta { display: inline-flex; margin-top: 16px; border-bottom: 0; }
}

/* --- Móvil grande ------------------------------------------------------- */
@media (max-width: 760px) {
  .mst .sec   { padding: 58px 0; }
  .mst .wrap  { padding: 0 18px; }
  .mst .topin { padding: 12px 18px; }
  .mst .cap   { display: none; }
  .mst .sub   { font-size: 17px; }
  .mst h1     { font-size: clamp(36px, 11vw, 52px); }

  .mst .benefitMini { grid-template-columns: 1fr 1fr; }
  .mst .aud { grid-template-columns: 1fr; }

  .mst .priceCard,
  .mst .ctaPanel { padding: 28px 22px; }
}

/* --- Móvil chico -------------------------------------------------------- */
@media (max-width: 540px) {
  .mst .stepGrid,
  .mst .cards,
  .mst .benefitMini,
  .mst .stateGrid,
  .mst .statRow,
  .mst .contactGrid { grid-template-columns: 1fr; }

  .mst .benefitMini li:last-child { grid-column: auto; }

  .mst .storeBtn,
  .mst .btn { width: 100%; }

  .mst .stores { display: grid; }
  .mst .fab { width: 54px; height: 54px; }
  .mst .fab svg { width: 27px; height: 27px; }
  .mst .locHero { padding: 26px 18px; }
  .mst .heroPrice { flex-direction: column; align-items: flex-start; }
}

/* --- Impresión ---------------------------------------------------------- */
@media print {
  .mst .top,
  .mst .fab,
  .mst .videoSec { display: none; }
  .mst { background: #fff; }
}

/* --- MAPA ---------------------------------------------------------- */

.mapa-red {
  width: 100%;
  display: flex;
  flex-direction: column;   /* header arriba, mapa abajo */
  justify-content: center;
  align-items: center;
  padding-bottom: 4rem;     /* aire debajo del mapa */
}
.mapa-red iframe {
  width: 70%;
  height: 60vh;             /* respaldo para navegadores viejos */
  height: 60dvh;            /* = tu 70% de 60dvh */
  border: 0;
  display: block;
}

/* En móvil, 70% de ancho queda muy angosto */
@media (max-width: 768px) {
  .mapa-red iframe {
    width: 100%;
    height: 60dvh;
  }
}

.mapa-red__header {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 1rem 2rem;
  text-align: center;
}
.mapa-red__eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2563eb; /* cámbialo por tu brand-blue */
}
.mapa-red__title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #0f172a; /* cámbialo por tu navy */
}
.mapa-red__text {
  margin: 0.75rem 0 0;
  color: #475569;
}

/* ===== Servicios: tarjetas con ícono ===== */
#como .stepGrid {
  --c1: #0a3ab5;
  --c2: #2ecfeb;
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

#como .stepCard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(10, 58, 181, 0.1);
  box-shadow: 0 4px 20px -10px rgba(10, 58, 181, 0.25);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s, border-color 0.35s;
}

/* Barra de degradado que se dibuja arriba al pasar el cursor */
#como .stepCard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Resplandor suave en la esquina */
#como .stepCard::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 207, 235, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s;
}

/* Ícono */
#como .stepIcon {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c1) 30%, var(--c2) 100%);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 10px 24px -8px rgba(10, 58, 181, 0.6);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
}
#como .stepIcon svg {
  width: 30px;
  height: 30px;
}
/* Anillo que se expande al pasar el cursor */
#como .stepIcon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 2px solid rgba(46, 207, 235, 0.6);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s, transform 0.4s;
}

#como .stepCard h3 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}
#como .stepCard p {
  margin: 0;
  color: #475569;
  line-height: 1.5;
}

/* ---- Hover ---- */
#como .stepCard:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow:
    0 24px 48px -16px rgba(10, 58, 181, 0.35),
    0 0 0 1px rgba(46, 207, 235, 0.35);
}
#como .stepCard:hover::before { transform: scaleX(1); }
#como .stepCard:hover::after  { opacity: 1; }
#como .stepCard:hover .stepIcon {
  transform: rotate(-6deg) scale(1.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 14px 30px -8px rgba(10, 58, 181, 0.75),
    0 0 30px -6px rgba(46, 207, 235, 0.8);
}
#como .stepCard:hover .stepIcon::after {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  #como .stepCard,
  #como .stepCard::before,
  #como .stepIcon,
  #como .stepIcon::after {
    transition: none;
  }
}

/* ===== HeroBox: tarjeta de compra ===== */
.heroBox {
  --c1: #0a3ab5;
  --c2: #2ecfeb;
  --navy: #0f172a;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2.25rem 2rem 1.75rem;
  border-radius: 1.75rem;
  border: 2px solid transparent;
  /* fondo blanco + borde en degradado */
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--c1), var(--c2)) border-box;
  color: var(--navy);
  box-shadow:
    0 30px 60px -20px rgba(10, 58, 181, 0.45),
    0 0 80px -20px rgba(46, 207, 235, 0.55);
  animation: heroBox-float 6s ease-in-out infinite;
}

/* Resplandor decorativo en la esquina */
.heroBox::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -90px;
  right: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 207, 235, 0.28), transparent 70%);
}

/* ---- Precio ---- */
.heroBox .heroBadge {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 0.55em 1.2em;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c1) 35%, var(--c2) 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(4, 20, 70, 0.4);
  box-shadow: 0 8px 20px -6px rgba(10, 58, 181, 0.6);
}


/* ---- Título y texto ---- */
.heroBox .heroBoxTitle {
  margin: 1.25rem 0 0.5rem;
  font-size: clamp(1.4rem, 2.5vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}
.heroBox > p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

/* ---- Beneficios con check ---- */
.heroBox .benefitMini {
  list-style: none;
  padding: 1.25rem 0 0;
  margin: 1.25rem 0 0;
  border-top: 1px solid rgba(10, 58, 181, 0.1);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
}
.heroBox .benefitMini li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}
.heroBox .benefitMini li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat,
    linear-gradient(135deg, var(--c1), var(--c2));
}

/* ---- Botones de descarga ---- */
.heroBox .heroDownloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.heroBox .heroDownloads .btn.gold,
.heroBox .heroDownloads .btn.wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 1em;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c1) 35%, var(--c2) 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(4, 20, 70, 0.4);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 10px 24px -8px rgba(10, 58, 181, 0.6);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s;
}
/* ícono de descarga */
.heroBox .heroDownloads .btn.gold::before,
.heroBox .heroDownloads .btn.wa::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s;
}
.heroBox .heroDownloads .btn.gold:hover,
.heroBox .heroDownloads .btn.wa:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 16px 32px -8px rgba(10, 58, 181, 0.75),
    0 0 36px -8px rgba(46, 207, 235, 0.9);
}
.heroBox .heroDownloads .btn.gold:hover::before,
.heroBox .heroDownloads .btn.wa:hover::before {
  transform: translateY(2px);
}
.heroBox .heroDownloads .btn.gold:focus-visible,
.heroBox .heroDownloads .btn.wa:focus-visible {
  outline: 3px solid var(--c2);
  outline-offset: 3px;
}

/* ---- Destello en botones de descarga ---- */
.heroBox .heroDownloads .btn.gold,
.heroBox .heroDownloads .btn.wa {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.heroBox .heroDownloads .btn.gold::after,
.heroBox .heroDownloads .btn.wa::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;               /* pasa detrás del texto, encima del degradado */
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: heroBox-shine 4s ease-in-out infinite;
}
/* el de Android destella un poco después, para que no vayan sincronizados */
.heroBox .heroDownloads .btn.wa::after {
  animation-delay: 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  .heroBox .heroDownloads .btn.gold::after,
  .heroBox .heroDownloads .btn.wa::after { animation: none; }
}


/* ---- Nota de promoción ---- */
.heroBox .heroNote strong {
  display: inline-block;
  padding: 0.1em 0.55em;
  border-radius: 8px;
  background: #0a3ab5;
  color: #fff;
  font-size: 1.15em;
  font-weight: 800;
}
.heroBox .heroNote strong {
  font-size: 1.15em;
  font-weight: 800;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Animaciones ---- */
@keyframes heroBox-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes heroBox-shine {
  0%, 65% { transform: translateX(-120%); }
  100%    { transform: translateX(120%); }
}

/* ---- Móvil ---- */
@media (max-width: 480px) {
  .heroBox { padding: 1.75rem 1.25rem 1.5rem; }
  .heroBox .heroDownloads { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .heroBox,
  .heroBox .heroBadge::after { animation: none; }
}

/* ===== Mascotas: paneles con etiqueta ===== */
#mascotas {
  --c1: #0a3ab5;
  --c2: #2ecfeb;
  --navy: #0f172a;
  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5.5' cy='9.5' r='2.3'/%3E%3Ccircle cx='9.5' cy='5' r='2.3'/%3E%3Ccircle cx='14.5' cy='5' r='2.3'/%3E%3Ccircle cx='18.5' cy='9.5' r='2.3'/%3E%3Cpath d='M12 11c-3 0-6.5 4.2-6.5 6.8 0 1.8 1.4 2.4 3 2.4 1.3 0 2.2-.7 3.5-.7s2.2.7 3.5.7c1.6 0 3-.6 3-2.4C18.5 15.2 15 11 12 11z'/%3E%3C/svg%3E");
}

#mascotas .petGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.25rem 1.5rem;          /* espacio arriba para las etiquetas */
  margin-top: 3.75rem;
}

/* ---- Panel ---- */
#mascotas .petPanel {
  position: relative;
  padding: 3.1rem 1.75rem 1.9rem;
  border-radius: 1.75rem;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
}
#mascotas .petPanel:hover { transform: translateY(-5px); }

#mascotas .petPanel--white {
  --bullet: linear-gradient(135deg, var(--c1), var(--c2));
  background: #fff;
  color: var(--navy);
  border: 1px solid rgba(10, 58, 181, 0.08);
  box-shadow: 0 18px 40px -20px rgba(10, 58, 181, 0.35);
}
#mascotas .petPanel--blue {
  --bullet: #fff;
  background: linear-gradient(145deg, var(--c1) 0%, var(--c1) 40%, var(--c2) 130%);
  color: #fff;
  box-shadow: 0 22px 44px -18px rgba(10, 58, 181, 0.6);
}
#mascotas .petPanel--deep {
  --bullet: var(--c2);
  background: linear-gradient(160deg, #0b2a7d, var(--c1));
  color: #fff;
  box-shadow: 0 22px 44px -18px rgba(8, 36, 110, 0.65);
}

/* ---- Etiqueta que sobresale ---- */
#mascotas .petTab {
  position: absolute;
  top: 0;
  left: 1.5rem;
  max-width: calc(100% - 3rem);
  margin: 0;
  padding: 0.75em 1.35em;
  border-radius: 14px;
  transform: translateY(-50%);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
#mascotas .petPanel:hover .petTab { transform: translateY(-60%); }

/* en panel blanco: etiqueta azul */
#mascotas .petPanel--white .petTab {
  background: linear-gradient(135deg, var(--c1) 0%, var(--c1) 40%, var(--c2) 100%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(4, 20, 70, 0.35);
  box-shadow: 0 12px 24px -8px rgba(10, 58, 181, 0.55);
}
/* en panel azul: etiqueta blanca */
#mascotas .petPanel--blue .petTab,
#mascotas .petPanel--deep .petTab {
  background: #fff;
  color: var(--c1);
  box-shadow: 0 12px 24px -8px rgba(4, 20, 70, 0.45);
}

/* ---- Lista con huellitas ---- */
#mascotas .petList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
#mascotas .petList li {
  position: relative;
  padding-left: 1.95rem;
  font-weight: 500;
  line-height: 1.45;
}
#mascotas .petList li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.2rem;
  height: 1.2rem;
  background: var(--bullet);
  -webkit-mask: var(--paw) center / contain no-repeat;
          mask: var(--paw) center / contain no-repeat;
  transition: transform 0.3s;
}
#mascotas .petList li:hover::before { transform: rotate(-15deg) scale(1.15); }
#mascotas .petList small {
  display: block;
  font-size: 0.85em;
  opacity: 0.75;
}

/* ---- Panel ancho (funerarios) ---- */
#mascotas .petPanel--wide { grid-column: span 2; }
#mascotas .petIntro {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c1);
}
#mascotas .petList--cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  #mascotas .petGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #mascotas .petGrid { grid-template-columns: 1fr; }
  #mascotas .petPanel--wide { grid-column: auto; }
  #mascotas .petList--cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  #mascotas .petPanel,
  #mascotas .petTab,
  #mascotas .petList li::before { transition: none; }
}

/* ==========================================================================
   19. COTIZADOR + CONTACTO
   ========================================================================== */
#cotizador {
  --c1: #0a3ab5;
  --c2: #2ecfeb;
  --grad: linear-gradient(135deg, var(--c1) 0%, var(--c1) 35%, var(--c2) 100%);
  background: linear-gradient(180deg, #fff, var(--bg));
}

.mst .czLayout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* ---------- Formulario ---------- */
.mst .czForm {
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--sh);
}

.mst .czTitle { font-size: 26px; color: var(--n); margin-bottom: 26px; }

.mst .czFields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.mst .czField { display: grid; gap: 7px; min-width: 0; }

.mst .czField > label,
.mst .czRadios legend {
  font-size: 14px;
  font-weight: 700;
  color: var(--n);
}

.mst .czField input,
.mst .czField select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #cfd6e3;
  border-radius: 12px;
  background: #fff;
  font: 500 15px/1 Manrope, system-ui, sans-serif;
  color: var(--i);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.mst .czField select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300194A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}

.mst .czField input:hover,
.mst .czField select:hover { border-color: #a9b6cc; }

.mst .czField input:focus,
.mst .czField select:focus {
  outline: none;
  border-color: var(--c1);
  box-shadow: 0 0 0 4px rgba(46, 207, 235, .25);
}

/* Radios */
.mst .czRadios {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 10px 22px;
}
.mst .czRadios legend { padding: 0; margin-bottom: 12px; }
.mst .czRadios label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  cursor: pointer;
}
.mst .czRadios input { width: 18px; height: 18px; margin: 0; accent-color: var(--c1); }

/* Bloque del plan */
.mst .czPlan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(46, 207, 235, .10), rgba(10, 58, 181, .05));
  border: 1px solid rgba(10, 58, 181, .08);
}

/* Aviso de privacidad */
.mst .czPrivacy {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--gr);
}
.mst .czPrivacy svg { flex: 0 0 auto; margin-top: 2px; color: var(--c1); }
.mst .czPrivacy a { color: var(--b); text-decoration: underline; text-underline-offset: 2px; }

/* Botón enviar */
.mst .czSubmit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin-top: 22px;
  padding: 17px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font: 800 16px/1 Manrope, system-ui, sans-serif;
  letter-spacing: .02em;
  text-shadow: 0 1px 2px rgba(4, 20, 70, .4);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 12px 28px -10px rgba(10, 58, 181, .7);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.mst .czSubmit::after { content: " →"; }
.mst .czSubmit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: cta-shine 3.5s ease-in-out infinite; /* keyframe ya definido en tu CSS */
}
.mst .czSubmit:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 16px 36px -10px rgba(10, 58, 181, .85), 0 0 40px -10px rgba(46, 207, 235, .9);
}
.mst .czSubmit:focus-visible { outline: 3px solid var(--c2); outline-offset: 4px; }

/* ---------- Resultado ---------- */
.mst .czResult {
  margin-bottom: 24px;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: 0 30px 60px -24px rgba(10, 58, 181, .45);
  animation: cz-in .45s cubic-bezier(.2, .8, .2, 1);
}
.mst .czResult[hidden] { display: none; }

.mst .czResultTop { padding: 26px 30px; background: var(--grad); color: #fff; }
.mst .czResultLabel {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .9;
}
.mst .czResultAmount {
  margin-top: 6px;
  font: 800 clamp(40px, 6vw, 54px)/1 Sora, sans-serif;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 6px rgba(4, 20, 70, .3);
}
.mst .czResultAmount small { font: 700 17px Manrope, sans-serif; letter-spacing: 0; opacity: .85; }

.mst .czResultGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 22px 30px;
}
.mst .czResultGrid dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gr); }
.mst .czResultGrid dd { margin: 4px 0 0; font: 800 18px Sora, sans-serif; color: var(--n); }

.mst .czResultNote {
  padding: 16px 30px 22px;
  border-top: 1px solid var(--ln);
  font-size: 13px;
  line-height: 1.55;
  color: var(--gr);
}

@keyframes cz-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Columna de contacto ---------- */
.mst .czSide { display: grid; gap: 16px; position: sticky; top: 100px; }

.mst .czInfo {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: 20px;
  box-shadow: 0 12px 28px -20px rgba(0, 25, 74, .3);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mst a.czInfo:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 207, 235, .5);
  box-shadow: 0 20px 36px -18px rgba(10, 58, 181, .4);
}

.mst .czIcon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 20px -8px rgba(10, 58, 181, .6);
}
.mst .czIcon svg { width: 22px; height: 22px; }

.mst .czInfo small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gr);
  margin-bottom: 3px;
}
.mst .czInfo b { font: 700 17px/1.3 Sora, sans-serif; color: var(--n); word-break: break-word; }

/* Tarjeta WhatsApp */
.mst .czWa {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 28px 24px 24px;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--n), #06122e);
  color: #fff;
  box-shadow: 0 24px 48px -22px rgba(0, 25, 74, .7);
}
.mst .czWa::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 207, 235, .3), transparent 70%);
}
.mst .czWaIcon { width: 30px; height: 30px; color: var(--wa); }
.mst .czWa h3 { margin: 14px 0 8px; font-size: 21px; color: #fff; }
.mst .czWa p { font-size: 14px; line-height: 1.55; color: var(--gl); opacity: .9; }
.mst .czWaNum { display: block; margin-top: 12px; font-weight: 800; font-size: 15px; color: rgba(255, 255, 255, .85); }

.mst .czWaBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--grad);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(4, 20, 70, .4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 12px 24px -10px rgba(46, 207, 235, .6);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mst .czWaBtn:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 16px 32px -10px rgba(46, 207, 235, .85);
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .mst .czLayout { grid-template-columns: 1fr; }
  .mst .czSide { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mst .czWa { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .mst .czForm { padding: 28px 20px; border-radius: 22px; }
  .mst .czFields,
  .mst .czPlan,
  .mst .czSide { grid-template-columns: 1fr; }
  .mst .czPlan { padding: 18px; }
  .mst .czResultTop,
  .mst .czResultGrid,
  .mst .czResultNote { padding-left: 20px; padding-right: 20px; }
  .mst .czResultGrid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .mst .czSubmit::before,
  .mst .czResult { animation: none; }
}

/* ===== CTA hero: el amo y señor de los botones ===== */
.btn.line.ctaGlow {
  --c1: #0a3ab5;
  --c2: #2ecfeb;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 1.1em 2.2em;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c1) 35%, var(--c2) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(4, 20, 70, 0.45);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 10px 30px -8px rgba(10, 58, 181, 0.7),
    0 0 40px -10px rgba(46, 207, 235, 0.8);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s;
  animation: cta-halo 2.8s ease-in-out infinite;
}

.btn.line.ctaGlow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: cta-shine 3.5s ease-in-out infinite;
}

.btn.line.ctaGlow::after {
  content: "→";
  font-size: 1.15em;
  transition: transform 0.25s;
}

.btn.line.ctaGlow:hover {
  transform: translateY(-3px) scale(1.03);
  animation: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 16px 40px -8px rgba(10, 58, 181, 0.85),
    0 0 60px -6px rgba(46, 207, 235, 0.95);
}
.btn.line.ctaGlow:hover::after { transform: translateX(5px); }
.btn.line.ctaGlow:active { transform: translateY(-1px) scale(0.99); }
.btn.line.ctaGlow:focus-visible {
  outline: 3px solid #2ecfeb;
  outline-offset: 4px;
}

@keyframes cta-shine {
  0%, 60% { transform: translateX(-120%); }
  100%    { transform: translateX(120%); }
}
@keyframes cta-halo {
  0%, 100% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.25),
      0 10px 30px -8px rgba(10, 58, 181, 0.7),
      0 0 0 0 rgba(46, 207, 235, 0.55);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.25),
      0 10px 30px -8px rgba(10, 58, 181, 0.7),
      0 0 0 12px rgba(46, 207, 235, 0);
  }
}

@media (max-width: 480px) {
  .btn.line.ctaGlow { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .btn.line.ctaGlow,
  .btn.line.ctaGlow::before { animation: none; }
}

/* ==========================================================================
   20. SOBRE NOSOTROS (sobre-nosotros.html)
   Mismo lenguaje visual que el index: tokens de .mst, fondo animado del
   hero, íconos y tarjetas con el comportamiento de "Nuestros servicios".
   ========================================================================== */

/* ---- Contenedores ---- */
.mst .container         { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.mst .container--narrow { max-width: 896px; }
.mst .container--mid    { max-width: 1160px; }

/* ---- Fondo animado compartido (hero + filosofía) ----
   El ::after (aurora) ya está declarado junto al hero del index (sección 06). */
.mst .pageHero,
.mst .section--dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 460px at 10% -10%, var(--bl), transparent 60%),
    linear-gradient(160deg, var(--n), var(--d) 55%, var(--b));
}

.mst .pageHero::before,
.mst .section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .25;
  animation: hero-dots 20s linear infinite;
}

/* Filosofía arranca en otro punto de la animación para no verse clonada del hero */
.mst .section--dark::after { animation-delay: -6s; }

.mst .pageHero > .container,
.mst .section--dark > .container { position: relative; z-index: 2; }

/* ---- Hero: jerarquía h1 > lead > frase ---- */
.mst .pageHero { padding: 96px 0 100px; text-align: center; }

.mst .pageHero h1 { max-width: none; margin: 0 auto 22px; }

.mst .pageHero .lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
}

.mst .pageHero .lead--strong {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 700;
  color: #fff;
}

.mst .pageHero .hl { color: var(--gl); }

.mst .pageHero h2 {
  max-width: 760px;
  margin: 6px auto 0;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -.02em;
  color: var(--gl);
}

/* ---- Secciones ---- */
.mst .section { padding: 82px 0; text-align: center; }
.mst .section:not(.section--dark) { background: var(--bg); }
.mst .section--soft,
.mst .section--values { background: #fff; }

.mst .section h2 {
  margin: 20px 0 10px;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--n);
}
.mst .section--values h2 { margin-top: 0; }

.mst .tagline { font-size: 17px; font-weight: 700; color: var(--b); }

.mst .text {
  max-width: 680px;
  margin: 14px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gr);
}
.mst .text + .text { margin-top: 10px; }
.mst .text--small { font-size: 14.5px; }

/* Bloque oscuro (Filosofía) */
.mst .section--dark h2 { color: #fff; }
.mst .section--dark .tagline { font-size: 20px; color: var(--gl); }
.mst .section--dark .text { color: rgba(255, 255, 255, .8); }

.mst .quoteBox {
  max-width: 680px;
  margin: 34px auto 0;
  padding: 26px 30px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mst .quoteBox p {
  font: italic 500 clamp(18px, 2.2vw, 22px)/1.45 Sora, "Segoe UI", system-ui, sans-serif;
  color: #fff;
}

/* ---- Íconos: idénticos a .stepIcon de "Nuestros servicios" ----
   Aplica a .iconBadge, --sm y --glass por igual. */
.mst .iconBadge {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c1) 30%, var(--c2) 100%);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .25),
    0 10px 24px -8px rgba(10, 58, 181, .6);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s;
}
.mst .iconBadge svg { width: 30px; height: 30px; }

/* Anillo que se expande */
.mst .iconBadge::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 2px solid rgba(46, 207, 235, .6);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .4s, transform .4s;
}

/* Íconos sueltos (títulos de sección) centrados */
.mst .section > .container > .iconBadge { margin: 0 auto; }

/* Hover: en tarjeta se activa al pasar sobre la tarjeta; suelto, sobre el ícono */
.mst .card:hover .iconBadge,
.mst .section > .container > .iconBadge:hover {
  transform: rotate(-6deg) scale(1.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .35),
    0 14px 30px -8px rgba(10, 58, 181, .75),
    0 0 30px -6px rgba(46, 207, 235, .8);
}
.mst .card:hover .iconBadge::after,
.mst .section > .container > .iconBadge:hover::after { opacity: 1; transform: scale(1); }

/* ---- Tarjetas: idénticas a .stepCard de "Nuestros servicios" ---- */
.mst .cardGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 48px;
  text-align: left;
}
.mst .cardGrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mst .card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(10, 58, 181, .1);
  box-shadow: 0 4px 20px -10px rgba(10, 58, 181, .25);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s;
}

/* Barra de degradado que se dibuja arriba */
.mst .card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

/* Resplandor en la esquina */
.mst .card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 207, 235, .22), transparent 70%);
  opacity: 0;
  transition: opacity .45s;
}

.mst .card h3 {
  margin: 1.4rem 0 .4rem;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
}
.mst .card p { margin: 0; font-size: 15px; line-height: 1.5; color: #475569; }

.mst .card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow:
    0 24px 48px -16px rgba(10, 58, 181, .35),
    0 0 0 1px rgba(46, 207, 235, .35);
}
.mst .card:hover::before { transform: scaleX(1); }
.mst .card:hover::after  { opacity: 1; }

.mst .card--center { text-align: center; }
.mst .card--center .iconBadge { margin: 0 auto; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .mst .cardGrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .mst .container { padding: 0 18px; }
  .mst .pageHero { padding: 72px 0 76px; }
  .mst .pageHero .lead,
  .mst .pageHero .lead--strong { font-size: 17px; }
  .mst .section { padding: 58px 0; }
  .mst .cardGrid--3 { grid-template-columns: 1fr; }
  .mst .quoteBox { padding: 22px; }
}
@media (max-width: 540px) {
  .mst .cardGrid--4 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .mst .card,
  .mst .card::before,
  .mst .card::after,
  .mst .iconBadge,
  .mst .iconBadge::after { transition: none; }
}

/* Footer: navegación con hover */
.mst .fnav a {
  display: inline-block;
  padding-bottom: 3px;
  color: rgba(255, 255, 255, .72);
  /* subrayado en degradado; calc() deja fuera el " •" */
  background: linear-gradient(90deg, var(--c2), var(--bl)) left bottom / 0 2px no-repeat;
  transition: color .2s ease, transform .2s ease, background-size .35s cubic-bezier(.2, .8, .2, 1);
}

.mst .fnav a:hover,
.mst .fnav a:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  background-size: calc(100% - .9em) 2px;
}

.mst .fnav a[aria-current="page"] { color: var(--gl); }

@media (prefers-reduced-motion: reduce) {
  .mst .fnav a { transition: none; }
}
