/* Dr. Help! — estilos
   Concepto: "la caja de noche". El azul profundo de los empaques es el escenario,
   la curva azul/roja del logo se vuelve luz, y el mapamundi de las cajas se vuelve
   un mapa de puntos con Guatemala encendida. */

:root {
  --navy: #00437f;
  --navy-600: #0a3a73;
  --navy-700: #0d2f62;
  --navy-800: #122652;
  --navy-900: #0b1c3d;
  --navy-950: #060f24;
  --red: #e2061f;
  --red-600: #c4001a;
  --red-glow: #ff3348;
  --cyan: #8cc6ff;
  --sky: #e6f3fb;
  --mist: #f2f5f9;
  --steel: #afbed0;
  --ink: #0a1b33;
  --ink-2: #46566d;
  --ink-3: #7a8799;
  --line: rgba(10, 27, 51, 0.1);
  --line-2: rgba(10, 27, 51, 0.06);
  --wa: #25d366;
  --wa-ink: #073b20;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --spring: linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1.004 83.8%, 1);

  --r: 16px;
  --r-lg: 24px;
  --nav-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;

  --shadow-1: 0 1px 2px rgba(10, 27, 51, 0.06), 0 2px 8px rgba(10, 27, 51, 0.04);
  --shadow-2: 0 2px 4px rgba(10, 27, 51, 0.04), 0 12px 32px -8px rgba(10, 27, 51, 0.16);
  --shadow-3: 0 30px 80px -20px rgba(6, 15, 36, 0.5);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; font-stretch: 104%; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2.5px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--navy); color: #fff; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }
.nowrap { white-space: nowrap; }
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Barra de progreso de lectura */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--navy) 40%, var(--red)); }

/* ---------- Botones ---------- */
.btn {
  --h: 46px; position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 20px; border-radius: 999px;
  font-weight: 650; font-size: 15.5px; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform .18s var(--ease-out), background-color .2s, box-shadow .25s, color .2s;
  user-select: none; -webkit-tap-highlight-color: transparent; cursor: pointer;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(180deg, #f2263b, var(--red)); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 -2px 0 rgba(0,0,0,.12) inset, 0 10px 30px -8px rgba(226, 6, 31, .65);
}
.btn--primary svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.btn--glass {
  background: rgba(255,255,255,.08); color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 1px 0 rgba(255,255,255,.12) inset;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn--glass .ic-wa { fill: #4ae083; }
.btn--ghost { background: #fff; color: var(--navy); box-shadow: 0 0 0 1.5px rgba(0, 67, 127, .18) inset; }
.btn--wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 24px -10px rgba(37,211,102,.8); }
.btn--wa svg { fill: currentColor; }
@media (hover: hover) {
  .btn--primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 -2px 0 rgba(0,0,0,.12) inset, 0 14px 40px -8px rgba(226, 6, 31, .85); }
  .btn--primary:hover svg { transform: translateX(4px); }
  .btn--glass:hover { background: rgba(255,255,255,.14); box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset; }
  .btn--ghost:hover { box-shadow: 0 0 0 1.5px rgba(0, 67, 127, .4) inset; }
  .btn--wa:hover { background: #2fe072; }
}

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--navy); font-size: 15.5px; cursor: pointer; }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
@media (hover: hover) { .link-arrow:hover svg { transform: translateX(4px); } }
.text-link { color: var(--navy); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(0,67,127,.3); cursor: pointer; transition: text-decoration-color .2s; }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Navegación flotante ---------- */
.nav { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding-inline: max(12px, calc((100% - var(--maxw) - var(--gutter) * 2) / 2 + var(--gutter) - 12px)); pointer-events: none; }
.nav__pill {
  pointer-events: auto; height: 60px; display: flex; align-items: center; gap: 20px; padding: 0 8px 0 18px; border-radius: 999px;
  background: rgba(255,255,255,.82); box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset, 0 10px 40px -12px rgba(6,15,36,.45);
  backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px);
  transition: transform .5s var(--ease-out), box-shadow .3s, background-color .3s;
}
.nav.is-scrolled .nav__pill { background: rgba(255,255,255,.9); box-shadow: 0 0 0 1px var(--line) inset, 0 12px 40px -16px rgba(6,15,36,.35); }
.nav.is-hidden .nav__pill { transform: translateY(calc(-100% - 20px)); }
.nav__logo { flex: none; }
.nav__logo img { width: 128px; }
.nav__links { position: relative; display: flex; gap: 2px; margin-inline: auto; }
.nav__links a { position: relative; z-index: 1; padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 560; color: var(--ink-2); transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--navy); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red); }
.nav__hover { position: absolute; top: 0; left: 0; height: 100%; border-radius: 999px; background: var(--mist); opacity: 0; transition: transform .35s var(--ease-out), width .35s var(--ease-out), opacity .2s; }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__links + .nav__actions { margin-left: 0; }
.nav__wa { --h: 44px; padding: 0 18px; font-size: 15px; }

.quote-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px;
  border-radius: 999px; color: var(--navy); font-weight: 650; font-size: 15px;
  box-shadow: 0 0 0 1.5px rgba(0, 67, 127, .16) inset; transition: background-color .2s, box-shadow .2s, transform .18s var(--ease-out);
}
.quote-btn:hover { background: var(--mist); }
.quote-btn:active { transform: scale(.96); }
.quote-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quote-btn__count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff;
  display: inline-grid; place-items: center; font-size: 12.5px; font-weight: 750; font-variant-numeric: tabular-nums;
}
.quote-btn__count.bump { animation: bump .6s var(--spring); }
@keyframes bump { 0% { transform: scale(.6); } 100% { transform: scale(1); } }

.nav__menu { display: none; width: 44px; height: 44px; border-radius: 999px; position: relative; }
.nav__menu span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease-out); }
.nav__menu span:first-child { top: 18px; }
.nav__menu span:last-child { top: 25px; }
.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__sheet { display: none; }

/* ---------- HERO ---------- */
.hero {
  --hp: 0; position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 40px) 0 clamp(120px, 14vw, 190px);
  background:
    radial-gradient(70% 60% at 75% 35%, #1d5aa6 0%, rgba(13,47,98,.6) 40%, transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(226,6,31,.22), transparent 70%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 40%, var(--navy-800) 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(60px); will-change: transform; }
.hero__glow--a { width: 520px; height: 520px; right: 6%; top: 8%; background: radial-gradient(closest-side, rgba(140,198,255,.35), transparent); animation: breathe 9s ease-in-out infinite; }
.hero__glow--b { width: 380px; height: 380px; left: -6%; bottom: 4%; background: radial-gradient(closest-side, rgba(255,51,72,.25), transparent); animation: breathe 11s ease-in-out infinite reverse; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.15); opacity: 1; } }
.hero__floor {
  position: absolute; left: -20%; right: -20%; bottom: -10%; height: 55%;
  background-image: linear-gradient(rgba(140,198,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(140,198,255,.14) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(600px) rotateX(62deg); transform-origin: bottom;
  mask-image: linear-gradient(180deg, transparent 0%, #000 60%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%, transparent 100%);
}
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.hero__map {
  position: absolute; left: 50%; top: 46%; width: max(1300px, 115%); translate: -50% -50%;
  opacity: .28; transform: translateY(calc(var(--hp) * 80px));
  mask-image: radial-gradient(60% 70% at 40% 50%, #000 40%, transparent 85%); -webkit-mask-image: radial-gradient(60% 70% at 40% 50%, #000 40%, transparent 85%);
}
.hero__map img { width: 100%; }
.pin { position: absolute; width: 0; height: 0; }
.pin b { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--red-glow); box-shadow: 0 0 12px 3px rgba(255,51,72,.9); }
.pin i { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 1.5px solid rgba(255,51,72,.9); animation: ripple 3.2s var(--ease-out) infinite; }
.pin i:nth-child(2) { animation-delay: 1.05s; }
.pin i:nth-child(3) { animation-delay: 2.1s; }
@keyframes ripple { from { transform: scale(1); opacity: 1; } to { transform: scale(9); opacity: 0; } }

.hero__trails { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trail { fill: none; stroke-linecap: round; opacity: .5; }
.trail--navy { stroke: #3f7fd0; stroke-width: 2; }
.trail--red { stroke: #b4122a; stroke-width: 1.6; }
.trail-run { fill: none; stroke-linecap: round; stroke-dasharray: 220 1600; animation: run 6s var(--ease-in-out) infinite; }
.trail-run--navy { stroke: url(#trailNavy); color: #8cc6ff; stroke-width: 3; }
.trail-run--red { stroke: url(#trailRed); color: #ff3348; stroke-width: 2.4; animation-delay: -2.2s; animation-duration: 7s; }
@keyframes run { from { stroke-dashoffset: 1820; } to { stroke-dashoffset: 0; } }

.hero__inner {
  position: relative; width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: center;
}
.hero__copy { transform: translateY(calc(var(--hp) * -60px)); opacity: calc(1 - var(--hp) * 1.4); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 999px;
  background: rgba(255,255,255,.07); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset;
  font-size: 13.5px; font-weight: 650; color: rgba(255,255,255,.9); letter-spacing: .01em; backdrop-filter: blur(10px);
}
.eyebrow__logo { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset, 0 0 22px rgba(140,198,255,.25); }
.eyebrow__logo img { height: 19px; width: auto; }
.hero__title { margin-top: 24px; font-size: clamp(40px, 5vw, 68px); line-height: .98; letter-spacing: -0.04em; font-stretch: 100%; font-weight: 800; }
.hero__title em { font-style: normal; position: relative; display: inline-block; }
.hero__title em .w > span { background: linear-gradient(100deg, #fff 10%, var(--cyan) 50%, #fff 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: word .9s var(--ease-out) forwards, sheen 6s ease-in-out infinite 1.6s; animation-delay: calc(.12s + var(--wi) * 55ms), 1.6s; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .07em; border-radius: 99px; background: linear-gradient(90deg, var(--cyan), var(--red-glow)); transform-origin: left; transform: scaleX(0); animation: underline 1.1s var(--ease-out) 1.1s forwards; box-shadow: 0 0 18px rgba(255,51,72,.6); }
@keyframes underline { to { transform: scaleX(1); } }
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.w { display: inline-block; white-space: pre; }
.w > span { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(4deg); filter: blur(10px); animation: word .9s var(--ease-out) forwards; animation-delay: calc(.12s + var(--wi) * 55ms); }
@keyframes word { to { opacity: 1; transform: none; filter: blur(0); } }
.hero__lead { margin-top: 24px; max-width: 33em; font-size: clamp(17px, 1.4vw, 19.5px); color: rgba(255,255,255,.72); }
.hero__lead strong { color: #fff; font-weight: 700; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__proof li { padding: 7px 14px; border-radius: 999px; font-size: 14px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; }
.hero__proof b { color: #fff; font-weight: 750; }
[data-rise] { animation: rise 1s var(--ease-out) both; }
.hero__copy > .eyebrow { animation-delay: .05s; }
.hero__copy > .hero__lead { animation-delay: .55s; }
.hero__copy > .hero__cta { animation-delay: .68s; }
.hero__copy > .hero__proof { animation-delay: .8s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Escenario 3D de cajas */
.stage { position: relative; aspect-ratio: 1.05; width: 100%; max-width: 640px; justify-self: end; perspective: 1400px; --rx: 0deg; --ry: 0deg; }
.stage__rig {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(calc(var(--rx) + var(--hp) * 18deg)) rotateY(var(--ry)) translateY(calc(var(--hp) * 40px));
  transition: transform .9s var(--ease-out);
}
.b3 { position: absolute; transform: translateZ(var(--z)) translateY(calc(var(--hp) * var(--sy, 0px))) rotate(var(--rot, 0deg)); animation: boxIn 1.4s var(--ease-out) both var(--d); }
.b3 img { width: 100%; filter: drop-shadow(0 40px 40px rgba(0,0,0,.45)) drop-shadow(0 8px 12px rgba(0,0,0,.25)); }
.b3 > * { animation: float var(--f, 8s) ease-in-out infinite; animation-delay: calc(var(--d) + 1.2s); }
.glare, .card__glare {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.95), rgba(255,255,255,0) 45%);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.stage.is-lit .glare { opacity: 1; }
.b3--1 { left: 3%;  top: 2%;  width: 15%; --rot: -8deg; --f: 7.4s; --sy: -60px; }
.b3--2 { left: 22%; top: 4%; width: 50%; --rot: 3deg;  --f: 8.6s; --sy: -110px; }
.b3--3 { right: 1%; top: 7%;  width: 18%; --rot: 9deg;  --f: 6.8s; --sy: -80px; }
.b3--4 { left: 6%;  top: 32%; width: 66%; --rot: -3deg; --f: 9.2s; --sy: 30px; }
.b3--5 { right: -3%; top: 60%; width: 42%; --rot: 6deg; --f: 7.8s; --sy: 90px; }
.stage__shadow { position: absolute; left: 10%; right: 6%; bottom: -4%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); transform: translateZ(-200px) rotateX(70deg); filter: blur(8px); }
@keyframes boxIn { from { opacity: 0; transform: translateZ(calc(var(--z) - 300px)) translateY(80px) rotate(var(--rot, 0deg)); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero__scroll { position: absolute; left: 50%; bottom: clamp(100px, 10vw, 150px); width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.35) inset; opacity: calc(1 - var(--hp) * 4); animation: rise 1s var(--ease-out) 1.4s both; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease-in-out) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- Números + banda ---------- */
.belt { position: relative; background: linear-gradient(180deg, var(--navy-800), var(--navy-900) 60%, var(--navy-950)); color: #fff; padding-top: 8px; margin-top: -1px; isolation: isolate; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; transform: translateY(-60px); margin-bottom: -20px; }
.stat {
  position: relative; display: grid; gap: 8px; padding: 22px 22px 20px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 20px 50px -20px rgba(0,0,0,.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.stat b { font-size: clamp(34px, 3.6vw, 50px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; font-stretch: 112%; }
.stat > span { font-size: 14.5px; color: rgba(255,255,255,.65); line-height: 1.35; }

[data-spot]::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; z-index: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(140,198,255,.16), transparent 45%);
}
[data-spot]:hover::before { opacity: 1; }

.marquee { position: relative; display: grid; gap: 14px; padding: 16px 0 130px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { display: flex; gap: 14px; width: max-content; animation: marquee 90s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 105s; }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq {
  flex: none; width: 168px; height: 118px; border-radius: 18px; display: grid; place-items: center; padding: 14px; position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
  transition: box-shadow .3s;
}
.mq img { position: absolute; left: 12px; top: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0,0,0,.4)); transition: transform .5s var(--ease-out); }
.mq:hover { box-shadow: 0 0 0 1px rgba(140,198,255,.4) inset, 0 0 30px -6px rgba(140,198,255,.4); }
.mq:hover img { transform: scale(1.08) translateY(-3px); }
.belt__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(70px, 9vw, 150px); }
.belt__fill { fill: #fff; }
.belt__line { fill: none; stroke-linecap: round; }
.belt__line--navy { stroke: var(--navy); stroke-width: 6; }
.belt__line--red { stroke: var(--red); stroke-width: 4; }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 136px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; }
.section__head--row > div { max-width: 640px; }
.section__head h2 { font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -0.035em; color: var(--navy-900); }
.section__aside { max-width: 400px; color: var(--ink-2); font-size: 16px; }
.section__head .section__aside { margin-top: 16px; }
.section__head--row .section__aside { margin-top: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 12.5px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; color: var(--red); font-stretch: 120%; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.kicker--light { color: #ff6b7c; }

/* ---------- Para quién ---------- */
.who { padding-top: clamp(40px, 6vw, 80px); }
.who__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; isolation: isolate;
  border-radius: 26px; background: var(--mist); overflow: hidden; box-shadow: 0 0 0 1px var(--line-2) inset;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background-color .3s;
}
.who-card > * { position: relative; z-index: 1; }
.who-card[data-spot]::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(0,67,127,.1), transparent 45%); }
.who-card__icon { width: 58px; height: 58px; border-radius: 18px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-1); margin-bottom: 14px; transition: transform .5s var(--spring); }
.who-card__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.who-card h3 { font-size: 26px; color: var(--navy-900); }
.who-card p { color: var(--ink-2); font-size: 16px; flex: 1; }
.who-card .link-arrow { margin-top: 10px; }
.who-card--featured { background: linear-gradient(160deg, #0a4f96, var(--navy) 45%, var(--navy-800)); color: #fff; box-shadow: 0 30px 60px -30px rgba(0,67,127,.7); }
.who-card--featured h3 { color: #fff; }
.who-card--featured p { color: rgba(255,255,255,.75); }
.who-card--featured .link-arrow { color: #fff; }
.who-card--featured .who-card__icon { background: rgba(255,255,255,.12); box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset; }
.who-card--featured .who-card__icon svg { stroke: #fff; }
.who-card--featured[data-spot]::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(140,198,255,.22), transparent 45%); }
@media (hover: hover) {
  .who-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-2); background: #fff; }
  .who-card--featured:hover { background: linear-gradient(160deg, #0a4f96, var(--navy) 45%, var(--navy-800)); box-shadow: 0 40px 70px -30px rgba(0,67,127,.85); }
  .who-card:hover .who-card__icon { transform: rotate(-8deg) scale(1.08); }
}

/* ---------- Catálogo ---------- */
.catalog { background: linear-gradient(180deg, #fff, var(--mist) 260px, var(--mist)); }
.toolbar {
  position: sticky; top: calc(var(--nav-h) + 4px); z-index: 20;
  display: flex; gap: 12px; align-items: center; padding: 8px;
  border-radius: 22px; background: rgba(255,255,255,.82); box-shadow: 0 0 0 1px var(--line) inset, 0 20px 40px -24px rgba(10,27,51,.35);
  backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px);
}
.search { position: relative; flex: 0 1 360px; min-width: 220px; display: flex; align-items: center; }
.search svg { position: absolute; left: 14px; width: 20px; height: 20px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; pointer-events: none; transition: stroke .2s; }
.search input { width: 100%; height: 48px; padding: 0 40px 0 44px; border: 0; border-radius: 16px; background: var(--mist); font-size: 16px; transition: background-color .2s, box-shadow .25s; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--navy) inset, 0 0 0 6px rgba(0,67,127,.1); }
.search:focus-within svg { stroke: var(--navy); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search kbd { position: absolute; right: 12px; min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; font: 600 12px var(--font); color: var(--ink-3); background: #fff; box-shadow: 0 0 0 1px var(--line) inset; pointer-events: none; transition: opacity .2s; }
.search input:focus ~ kbd, .search input:not(:placeholder-shown) ~ kbd { opacity: 0; }
.chips { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 2px; mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.chips::-webkit-scrollbar { display: none; }
.chips__ind { position: absolute; top: 2px; left: 0; height: 44px; width: 0; border-radius: 14px; background: var(--navy); box-shadow: 0 8px 20px -8px rgba(0,67,127,.7); transition: transform .55s var(--spring), width .55s var(--spring); z-index: 0; }
.chip { position: relative; z-index: 1; flex: none; height: 44px; padding: 0 14px; border-radius: 14px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.chip small { font-size: 12px; font-weight: 650; color: var(--ink-3); font-variant-numeric: tabular-nums; transition: color .3s; }
.chip:hover { color: var(--ink); }
.chip[aria-selected="true"] { color: #fff; }
.chip[aria-selected="true"] small { color: rgba(255,255,255,.7); }

.catalog__meta { margin: 24px 4px 16px; font-size: 14.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; min-height: 1.5em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 16px; }

.card {
  position: relative; display: flex; flex-direction: column; border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 1px var(--line-2) inset, var(--shadow-1);
  transition: box-shadow .4s var(--ease-out), transform .5s var(--ease-out);
  animation: cardIn .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.card__open { display: flex; flex-direction: column; text-align: left; flex: 1; border-radius: 22px 22px 0 0; }
.card__media {
  --rx: 0deg; --ry: 0deg;
  position: relative; aspect-ratio: 4 / 3; border-radius: 22px 22px 0 0; overflow: hidden; perspective: 800px;
  background: radial-gradient(80% 70% at 50% 40%, #fff 0%, #eff3f8 65%, #e1e8f0 100%);
}
.card__media::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 12%; height: 12px; border-radius: 50%; background: radial-gradient(closest-side, rgba(11,28,61,.25), transparent); filter: blur(2px); transition: transform .5s var(--ease-out), opacity .5s; }
.card__box { position: absolute; z-index: 1; left: 14%; top: 10%; width: 72%; height: 72%; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease-out); }
.card__box img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease-out); }
.card__glare { -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; }
.card__body { padding: 16px 18px 14px; display: grid; gap: 4px; }
.card__cat { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-stretch: 115%; }
.card__name { overflow-wrap: anywhere; font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; color: var(--navy-900); text-transform: uppercase; font-stretch: 96%; }
.card__dose { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.card__foot { padding: 0 12px 12px; }
.add { position: relative; overflow: hidden; width: 100%; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 650; color: var(--navy); background: var(--mist); transition: background-color .25s, color .25s, transform .18s var(--ease-out); }
.add svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .4s var(--spring); }
.add:active { transform: scale(.96); }
@media (hover: hover) {
  .card:hover { box-shadow: 0 0 0 1px var(--line) inset, 0 30px 60px -30px rgba(10,27,51,.4); transform: translateY(-4px); }
  .card:hover .card__box img { transform: translateY(-6px) scale(1.05); }
  .card:hover .card__media::after { transform: scaleX(.85); opacity: .7; }
  .card:hover .card__glare { opacity: 1; }
  .add:hover { background: var(--navy); color: #fff; }
  .add:hover svg { transform: rotate(90deg); }
}
.rx-tag { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px 0 7px; border-radius: 999px; font-size: 11.5px; font-weight: 750; letter-spacing: .02em; color: #9a0013; background: #fff0f2; box-shadow: 0 0 0 1px rgba(226,6,31,.25) inset; }
.rx-tag svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nophoto {
  position: absolute; left: 20%; top: 14%; width: 60%; height: 64%; z-index: 1; border-radius: 6px; overflow: hidden;
  background: linear-gradient(180deg, #fff 0 34%, #c8d3e0 52%, #2e4b77 76%, var(--navy-800)); box-shadow: 0 16px 24px -12px rgba(11,28,61,.5), 0 0 0 1px var(--line) inset;
}
.nophoto::before, .nophoto::after { content: ""; position: absolute; left: -10%; right: -10%; height: 60%; border-radius: 50%; }
.nophoto::before { top: 30%; border-top: 3px solid var(--navy); }
.nophoto::after { top: 34%; border-top: 2px solid var(--red); }
.nophoto b { position: absolute; top: 10%; left: 8%; right: 8%; text-align: center; font-size: 10.5px; line-height: 1.15; letter-spacing: .03em; text-transform: uppercase; color: var(--navy-900); }
.nophoto small { position: absolute; bottom: 9%; left: 0; right: 0; text-align: center; font-size: 10px; color: rgba(255,255,255,.85); }

.stepper { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 44px; border-radius: 14px; background: var(--navy); color: #fff; overflow: hidden; box-shadow: 0 10px 24px -12px rgba(0,67,127,.8); }
.stepper button { height: 100%; font-size: 20px; font-weight: 500; transition: background-color .15s; }
.stepper button:hover { background: rgba(255,255,255,.12); }
.stepper button:active { background: rgba(255,255,255,.2); }
.stepper input { width: 100%; height: 100%; border: 0; background: transparent; text-align: center; color: inherit; font-weight: 750; font-size: 16px; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; background: rgba(255,255,255,.1); }
.stepper--lg { height: 56px; grid-template-columns: 54px 72px 54px; border-radius: 999px; }
.card .stepper.is-new { animation: morph .55s var(--spring); }
@keyframes morph { from { transform: scaleX(.9); opacity: .4; } }
.qty-pop { animation: qpop .35s var(--ease-out); }
@keyframes qpop { 40% { transform: translateY(-3px) scale(1.18); } }
.card.in-quote { box-shadow: 0 0 0 2px var(--navy) inset, 0 24px 50px -28px rgba(0,67,127,.6); }
.card__badge { position: absolute; top: 12px; right: 12px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: none; place-items: center; box-shadow: 0 6px 14px -4px rgba(0,67,127,.6); }
.card__badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: check .5s var(--ease-out) .1s forwards; }
.card.in-quote .card__badge { display: grid; animation: bump .6s var(--spring); }
@keyframes check { to { stroke-dashoffset: 0; } }

.more { display: flex; justify-content: center; margin-top: 32px; }
.more .btn { background: #fff; color: var(--navy); box-shadow: 0 0 0 1.5px rgba(0,67,127,.18) inset, var(--shadow-1); }
.more .btn:hover { box-shadow: 0 0 0 1.5px rgba(0,67,127,.4) inset, var(--shadow-2); }
.more svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.empty { margin-top: 8px; padding: 40px 24px; border-radius: var(--r-lg); background: #fff; text-align: center; display: grid; gap: 18px; justify-items: center; box-shadow: 0 0 0 1px var(--line-2) inset; }
.empty p { color: var(--ink-2); max-width: 30em; }
.empty b { color: var(--ink); }

/* Transiciones al filtrar (View Transitions) */
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease-out); }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }

/* ---------- Cómo funciona (oscuro, demo en vivo) ---------- */
.how { color: #fff; overflow: hidden; isolation: isolate; }
.how__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(50% 60% at 80% 50%, rgba(29,90,166,.55), transparent 70%),
  radial-gradient(40% 40% at 10% 90%, rgba(226,6,31,.18), transparent 70%),
  linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.how__bg::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(140,198,255,.22) 1px, transparent 1.2px); background-size: 28px 28px; mask-image: radial-gradient(70% 70% at 70% 50%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 70% 50%, #000, transparent); }
.how .section__head h2 { color: #fff; }
.how__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.steps { display: grid; gap: 6px; }
.step { position: relative; border-radius: 20px; transition: background-color .4s, box-shadow .4s; }
.step button { width: 100%; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; text-align: left; padding: 18px 18px 22px; border-radius: 20px; }
.step__n { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset; transition: background-color .4s, color .4s, box-shadow .4s; }
.step__txt b { display: block; font-size: 20px; letter-spacing: -0.015em; margin-top: 2px; color: rgba(255,255,255,.62); transition: color .3s; }
.step__txt span { display: block; margin-top: 4px; font-size: 15.5px; color: rgba(255,255,255,.45); line-height: 1.45; transition: color .3s; }
.step__bar { position: absolute; left: 82px; right: 22px; bottom: 10px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; opacity: 0; transition: opacity .3s; }
.step__bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--red-glow)); }
.step.is-active { background: rgba(255,255,255,.06); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; }
.step.is-active .step__n { background: #fff; color: var(--navy); box-shadow: 0 0 30px -4px rgba(140,198,255,.7); }
.step.is-active:nth-child(3) .step__n { background: var(--wa); color: var(--wa-ink); box-shadow: 0 0 30px -4px rgba(37,211,102,.8); }
.step.is-active .step__txt b { color: #fff; }
.step.is-active .step__txt span { color: rgba(255,255,255,.72); }
.step.is-active .step__bar { opacity: 1; }
.step.is-active .step__bar i { animation: fill var(--dur, 3.6s) linear forwards; }
.steps.is-paused .step__bar i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.step:not(.is-active) button:hover .step__txt b { color: #fff; }

.phone-wrap { position: relative; justify-self: center; perspective: 1600px; }
.phone-glow { position: absolute; inset: 10% -20%; z-index: -1; background: radial-gradient(closest-side, rgba(140,198,255,.35), transparent); filter: blur(30px); }
.phone {
  position: relative; width: 300px; height: 610px; border-radius: 50px; padding: 12px; background: linear-gradient(145deg, #2a3550, #0c1428);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.12) inset, 0 0 0 7px #0a1124, 0 0 0 8px rgba(255,255,255,.08), 0 60px 120px -30px rgba(0,0,0,.7);
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); transition: transform 1.2s var(--ease-out);
}
.phone-wrap:hover .phone { transform: rotateY(-6deg) rotateX(3deg); }
.phone__notch { position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 5; }
.phone__screen { position: relative; height: 100%; border-radius: 39px; overflow: hidden; background: #fff; color: var(--ink); }
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; transition: opacity .6s var(--ease-out), transform .7s var(--ease-out), filter .6s; }
.phone[data-scene="2"] .scene--cat, .phone[data-scene="3"] .scene--cat { opacity: 0; transform: translateX(-30%) scale(.96); filter: blur(4px); }
.phone[data-scene="0"] .scene--wa, .phone[data-scene="1"] .scene--wa { opacity: 0; transform: translateX(30%) scale(.96); filter: blur(4px); }
.pc__head { padding: 58px 18px 10px; display: flex; align-items: center; justify-content: space-between; }
.pc__head img { width: 92px; }
.pc__badge { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--red); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.pc__badge.bump { animation: bump .6s var(--spring); }
.pc__search { margin: 4px 14px 10px; height: 36px; border-radius: 12px; background: var(--mist); padding: 0 12px; display: flex; align-items: center; font-size: 13px; color: var(--ink-3); }
.pc__list { padding: 0 10px; display: grid; gap: 6px; }
.pc__list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line-2) inset; transition: box-shadow .4s; }
.pc__img { width: 48px; height: 40px; border-radius: 10px; background: var(--mist); display: grid; place-items: center; padding: 4px; }
.pc__img img { width: 100%; height: 100%; object-fit: contain; }
.pc__t b { display: block; font-size: 11.5px; font-weight: 800; text-transform: uppercase; color: var(--navy-900); line-height: 1.15; }
.pc__t small { display: block; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc__t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc__ctl { position: relative; width: 66px; height: 30px; }
.pc__add, .pc__step { position: absolute; inset: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12.5px; font-weight: 700; transition: opacity .35s, transform .5s var(--spring); }
.pc__add { background: var(--mist); color: var(--navy); font-size: 18px; }
.pc__step { background: var(--navy); color: #fff; opacity: 0; transform: scale(.7); white-space: nowrap; }
.pc__step b { display: inline-block; min-width: 1.4em; text-align: center; }
.pc__list li.on { box-shadow: 0 0 0 1.5px var(--navy) inset; }
.pc__list li.on .pc__add { opacity: 0; transform: scale(.7); }
.pc__list li.on .pc__step { opacity: 1; transform: none; }
.pc__bar { margin: auto 10px 16px; height: 54px; border-radius: 999px; background: var(--navy-900); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 18px; transform: translateY(120%); opacity: 0; transition: transform .6s var(--ease-drawer), opacity .3s; }
.pc__bar.show { transform: none; opacity: 1; }
.pc__bar b { display: block; font-size: 13px; }
.pc__bar small { font-size: 11px; opacity: .6; }
.pc__bar em { font-style: normal; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--red); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.wa__head { padding: 52px 12px 10px; display: flex; align-items: center; gap: 8px; background: #008069; color: #fff; }
.wa__back { font-size: 26px; line-height: 1; opacity: .9; }
.wa__avatar { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; padding: 7px; }
.wa__who b { display: block; font-size: 14.5px; }
.wa__who small { font-size: 11.5px; opacity: .85; }
.wa__chat { flex: 1; padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; background: #efeae2; background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1.2px); background-size: 14px 14px; }
.bubble { max-width: 88%; padding: 8px 10px 18px; border-radius: 10px; font-size: 12.5px; line-height: 1.4; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.1); opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .4s, transform .6s var(--spring); }
.bubble p + p { margin-top: 6px; }
.bubble--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 3px; transform-origin: right bottom; }
.bubble--in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; transform-origin: left bottom; }
.bubble__meta { position: absolute; right: 8px; bottom: 4px; font-size: 10px; color: #667781; display: flex; align-items: center; gap: 3px; }
.bubble__meta svg { width: 15px; height: 10px; fill: none; stroke: #53bdeb; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bubble.show { opacity: 1; transform: none; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 10px 12px; background: #fff; border-radius: 10px; opacity: 0; transition: opacity .3s; }
.typing.show { opacity: 1; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa3ab; animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.wa__input { margin: 8px; display: flex; gap: 8px; align-items: center; }
.wa__input span { flex: 1; height: 40px; border-radius: 999px; background: #fff; padding: 0 14px; display: flex; align-items: center; color: #8696a0; font-size: 13px; }
.wa__input i { width: 40px; height: 40px; border-radius: 50%; background: #008069; }

/* ---------- Nosotros ---------- */
.about { background: var(--mist); overflow: hidden; --ap: .5; }
.about__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__copy h2 { font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -0.035em; color: var(--navy-900); }
.about__lead { margin-top: 20px; color: var(--ink-2); font-size: 18px; max-width: 34em; }
.features { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; }
.features li { display: flex; gap: 14px; align-items: flex-start; }
.features svg { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-1); fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.features h3 { font-size: 17px; letter-spacing: -0.01em; color: var(--navy-900); margin-bottom: 4px; }
.features p { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.about__art { position: relative; aspect-ratio: 1; perspective: 1200px; }
.about__card {
  position: absolute; inset: 8% 4%; border-radius: 34px; display: grid; place-items: center; padding: 12%; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f4f3f0 30%, #c8d3e0 58%, #2e4b77 80%, var(--navy-800) 100%);
  box-shadow: var(--shadow-3);
  transform: rotateY(calc((var(--ap) - .5) * -24deg)) rotateX(calc((var(--ap) - .5) * 10deg));
}
.about__ring { position: absolute; inset: 0; pointer-events: none; }
.about__ring::before, .about__ring::after { content: ""; position: absolute; left: -12%; right: -12%; height: 60%; border-radius: 50%; border-top: 5px solid var(--navy); top: 22%; }
.about__ring::after { border-top: 4px solid var(--red); top: 25.5%; }
.about__card img { position: relative; z-index: 1; filter: drop-shadow(0 26px 30px rgba(11,28,61,.4)); transform: translateY(calc((var(--ap) - .5) * -30px)); }
.about__card .glare { opacity: .9; z-index: 2; mix-blend-mode: soft-light; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.7) 48%, transparent 60%); background-size: 260% 100%; background-position: calc(140% - var(--ap) * 180%) 0; }
.about__float { position: absolute; filter: drop-shadow(0 18px 24px rgba(11,28,61,.28)); }
.about__float--a { width: 42%; left: -6%; bottom: 2%; rotate: -8deg; transform: translateY(calc((var(--ap) - .5) * -80px)); }
.about__float--b { width: 16%; right: -2%; top: 0%; rotate: 9deg; transform: translateY(calc((var(--ap) - .5) * 120px)); }

/* ---------- Preguntas ---------- */
.faq__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__inner .section__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: var(--mist); transition: background-color .3s, box-shadow .3s; overflow: hidden; }
.faq details[open] { background: #fff; box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-2); }
.faq summary { list-style: none; cursor: pointer; padding: 21px 64px 21px 24px; position: relative; font-weight: 700; font-size: 17.5px; letter-spacing: -0.01em; color: var(--navy-900); border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300437f' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: var(--shadow-1); transition: transform .5s var(--spring), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--mist); }
.faq details > div { padding: 0 24px 24px; color: var(--ink-2); font-size: 16.5px; }

/* ---------- Ubicación ---------- */
.visit { padding-top: 0; }
.visit__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; }
.visit__card {
  border-radius: 30px; padding: clamp(28px, 4vw, 48px); color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 80% at 0% 0%, #1b4a86 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 60%, var(--navy-900) 100%);
}
.visit__card > * { position: relative; z-index: 1; }
.visit__card::after { content: ""; position: absolute; right: -20%; bottom: -30%; width: 80%; aspect-ratio: 1.6; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.02); pointer-events: none; }
.visit__card h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.03em; }
.visit__list { margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.visit__list dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 4px; font-stretch: 115%; }
.visit__list dd { margin: 0; font-size: 16.5px; line-height: 1.45; }
.visit__list a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; cursor: pointer; }
.visit__go { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.go { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.08); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset; transition: background-color .2s, transform .18s var(--ease-out), box-shadow .3s; }
.go:hover { background: rgba(255,255,255,.14); }
.go--waze:hover { box-shadow: 0 0 0 1px rgba(51,204,255,.5) inset, 0 0 30px -8px rgba(51,204,255,.6); }
.go:active { transform: scale(.98); }
.go__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.go__icon svg { width: 27px; height: 27px; }
.go--waze .go__icon { background: #33ccff; }
.go--waze .go__icon svg { fill: #0b1c3d; }
.go--maps .go__icon { background: #fff; }
.go--maps .go__icon svg { fill: #34a853; }
.go b { display: block; font-size: 15.5px; font-weight: 700; }
.go small { display: block; font-size: 13px; color: rgba(255,255,255,.62); }
.social { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.social__btn { height: 42px; padding: 0 16px 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 650; background: rgba(255,255,255,.1); cursor: pointer; transition: background-color .2s, color .2s, transform .18s var(--ease-out); }
.social__btn svg { width: 20px; height: 20px; fill: currentColor; }
.social__btn:active { transform: scale(.96); }
.social__btn--wa:hover { background: var(--wa); color: var(--wa-ink); }
.social__btn--fb:hover { background: #1877f2; }
.social__btn--tt:hover { background: #000; }
.social__btn--ig:hover { background: linear-gradient(45deg, #f9ce34, #ee2a7b 45%, #6228d7); }
.btn--ig { color: #fff; background: linear-gradient(45deg, #f9a534, #ee2a7b 45%, #6228d7); box-shadow: 0 8px 24px -10px rgba(238,42,123,.7); }
.btn--ig svg { fill: currentColor; }
.nav__sheet .btn--ig { margin-top: 0; }
.visit__map { min-height: 440px; }
.map { position: relative; height: 100%; min-height: 440px; border-radius: 30px; overflow: hidden; background: #e8eef4; box-shadow: 0 0 0 1px var(--line-2) inset; }
.map::before { content: ""; position: absolute; inset: 0; opacity: .6; background: linear-gradient(115deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%), linear-gradient(25deg, transparent 30%, #fff 30%, #fff 33%, transparent 33%), repeating-linear-gradient(90deg, transparent 0 80px, rgba(255,255,255,.7) 80px 82px), repeating-linear-gradient(0deg, transparent 0 80px, rgba(255,255,255,.7) 80px 82px); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .8s var(--ease-out); }
.map iframe.is-loaded { opacity: 1; }
.map__load { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 16px; border-radius: 999px; background: #fff; font-weight: 650; color: var(--navy); box-shadow: var(--shadow-2); }
.map__load svg { width: 22px; height: 22px; fill: #34a853; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--navy-950); color: rgba(255,255,255,.75); padding: 64px 0 calc(32px + env(safe-area-inset-bottom)); }
.footer__mark { position: absolute; left: 50%; bottom: -0.2em; translate: -50% 0; font-size: clamp(90px, 19vw, 300px); font-weight: 900; font-stretch: 112%; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(140,198,255,.16); pointer-events: none; user-select: none; }
.footer__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { width: 150px; padding: 10px 14px; background: #fff; border-radius: 14px; box-sizing: content-box; }
.footer__brand p { margin-top: 14px; font-size: 15px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }
.footer__links a { transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); cursor: pointer; transition: background-color .2s, color .2s, transform .4s var(--spring); }
.footer__social a:hover { background: #fff; color: var(--navy-900); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; fill: currentColor; }
.footer__legal { position: relative; padding-top: 24px; padding-bottom: clamp(40px, 9vw, 120px); display: flex; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- Barra de cotización ---------- */
.quote-bar { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 35; translate: -50% calc(100% + 40px); opacity: 0; pointer-events: none; transition: translate .7s var(--ease-drawer), opacity .3s; }
.has-quote .quote-bar { translate: -50% 0; opacity: 1; pointer-events: auto; }
.quote-bar__btn { display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 12px; border-radius: 999px; background: rgba(6, 15, 36, .9); color: #fff; box-shadow: 0 24px 60px -16px rgba(6,15,36,.7), 0 0 0 1px rgba(255,255,255,.1) inset; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: transform .18s var(--ease-out); }
.quote-bar__btn:active { transform: scale(.98); }
.quote-bar__thumbs { display: flex; }
.quote-bar__thumbs span { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; padding: 5px; box-shadow: 0 0 0 2px rgba(6,15,36,.95); margin-left: -12px; }
.quote-bar__thumbs span.is-new { animation: bump .6s var(--spring); }
.quote-bar__thumbs span:first-child { margin-left: 0; }
.quote-bar__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.quote-bar__text { display: grid; text-align: left; line-height: 1.2; }
.quote-bar__text b { font-size: 15.5px; font-variant-numeric: tabular-nums; }
.quote-bar__text small { font-size: 12.5px; color: rgba(255,255,255,.6); }
.quote-bar__cta { height: 44px; padding: 0 20px; border-radius: 999px; background: var(--red); display: grid; place-items: center; font-weight: 700; font-size: 15px; white-space: nowrap; box-shadow: 0 0 24px -6px rgba(255,51,72,.8); }
.fly { position: fixed; z-index: 70; pointer-events: none; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(11,28,61,.35)); }

/* ---------- WhatsApp flotante ---------- */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 36; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7), 0 2px 6px rgba(0,0,0,.12); transition: transform .4s var(--spring); cursor: pointer; animation: fabIn .8s var(--spring) 1.6s both; }
.fab svg { width: 30px; height: 30px; fill: currentColor; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: ping 3s var(--ease-out) 2.6s infinite; }
.fab:hover { transform: scale(1.08) rotate(-6deg); }
.fab:active { transform: scale(.94); }
@keyframes fabIn { from { opacity: 0; transform: scale(.4); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70%, 100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }

/* ---------- Diálogos ---------- */
dialog { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; color: inherit; overflow: visible; }
dialog::backdrop { background: rgba(6, 15, 36, 0); transition: background-color .45s; }
dialog.is-open::backdrop { background: rgba(6, 15, 36, .55); }
body.lock { overflow: hidden; }
.sheet { position: fixed; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; padding: 24px; }
.sheet:not([open]) { display: none; }
.sheet__panel { position: relative; width: min(940px, 100%); max-height: calc(100dvh - 48px); overflow: auto; background: #fff; border-radius: 32px; box-shadow: var(--shadow-3); opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .35s var(--ease-out), transform .6s var(--spring); }
.sheet.is-open .sheet__panel { opacity: 1; transform: none; }
.sheet__panel:focus, .drawer__panel:focus { outline: none; }
.sheet__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); box-shadow: 0 0 0 1px var(--line) inset; transition: background-color .2s, transform .4s var(--spring); }
.sheet__close:hover { background: var(--mist); transform: rotate(90deg); }
.sheet__close svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.pd { display: grid; grid-template-columns: 1.1fr 1fr; }
.pd__media { position: relative; display: grid; place-items: center; padding: 10%; min-height: 400px; background: radial-gradient(80% 70% at 50% 45%, #fff 0%, #eef3f8 70%, #e0e8f1 100%); }
.pd__media img { width: 100%; max-height: 420px; object-fit: contain; filter: drop-shadow(0 30px 34px rgba(11,28,61,.28)); }
.pd__media.is-flying img { opacity: 0; }
.pd__media .nophoto { position: relative; left: auto; top: auto; width: 62%; height: auto; aspect-ratio: 1.3; }
.pd__body { padding: 46px 36px 32px; display: flex; flex-direction: column; }
.pd__cat { font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-stretch: 115%; }
.pd__body h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 34px); color: var(--navy-900); text-transform: uppercase; font-stretch: 96%; letter-spacing: -0.015em; }
.pd__dose { margin-top: 8px; color: var(--ink-2); font-size: 16.5px; }
.pd__body h3 { margin-top: 24px; font-size: 12.5px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.pd__body h3 + p { margin-top: 6px; font-size: 17px; }
.pd__note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.pd__actions { margin-top: auto; padding-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.pd__actions .btn { flex: 1; }
.rx-note { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff0f2; color: #7d0010; box-shadow: 0 0 0 1px rgba(226,6,31,.2) inset; font-size: 14.5px; line-height: 1.45; }
.rx-note svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rx-note--soft { margin: 16px 0 0; }

.drawer { position: fixed; inset: 0; width: 100%; height: 100%; }
.drawer:not([open]) { display: none; }
.drawer__panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(470px, calc(100% - 24px)); display: flex; flex-direction: column; background: #fff; border-radius: 28px; box-shadow: var(--shadow-3); overflow: hidden; transform: translateX(calc(100% + 24px)); transition: transform .6s var(--ease-drawer); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 26px 24px 16px; border-bottom: 1px solid var(--line-2); }
.drawer__head h2 { font-size: 28px; letter-spacing: -0.03em; color: var(--navy-900); }
.drawer__head p { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.drawer__head .sheet__close { position: static; flex: none; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.drawer__foot { padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); display: grid; gap: 6px; background: #fff; }
.drawer__clear { height: 36px; font-size: 14px; color: var(--ink-3); border-radius: 10px; }
.drawer__clear:hover { color: var(--red); }
.qlist { display: grid; }
.qitem { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.qitem.is-in { animation: rise .55s var(--ease-out) both; }
.qitem__img { width: 64px; height: 64px; border-radius: 16px; background: var(--mist); display: grid; place-items: center; padding: 8px; }
.qitem__img img { width: 100%; height: 100%; object-fit: contain; }
.qitem__name { display: block; font-size: 14.5px; font-weight: 750; line-height: 1.25; color: var(--navy-900); text-transform: uppercase; font-stretch: 96%; }
.qitem__dose { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.35; margin-top: 2px; }
.qitem__rx { display: inline-block; margin-top: 4px; font-size: 11.5px; font-weight: 700; color: #9a0013; }
.qitem .stepper { grid-template-columns: 34px 44px 34px; height: 38px; border-radius: 999px; background: var(--mist); color: var(--navy); box-shadow: none; }
.qitem .stepper button:hover { background: rgba(0,67,127,.08); }
.qitem .stepper input { font-size: 15px; }
.qitem .stepper input:focus { background: #fff; }
.qempty { text-align: center; padding: 40px 8px; display: grid; gap: 18px; justify-items: center; color: var(--ink-2); }
.qempty b { color: var(--ink); }
.qempty__art { position: relative; width: 180px; height: 110px; }
.qempty__art img { position: absolute; filter: drop-shadow(0 12px 14px rgba(11,28,61,.2)); }
.qempty__art img:nth-child(1) { width: 110px; left: 34px; top: 30px; rotate: -4deg; z-index: 2; }
.qempty__art img:nth-child(2) { width: 34px; left: 6px; top: 6px; rotate: -10deg; }
.qempty__art img:nth-child(3) { width: 90px; right: 0; top: 0; rotate: 8deg; }
.has-quote .qempty, .qform { display: none; }
.has-quote .qform { display: grid; }
.qform { gap: 14px; margin-top: 22px; }
.qform__who { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.qform__who legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.qform__who label { position: relative; cursor: pointer; }
.qform__who input { position: absolute; opacity: 0; pointer-events: none; }
.qform__who span { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 999px; font-size: 14.5px; font-weight: 600; background: var(--mist); transition: background-color .25s, color .25s, transform .4s var(--spring); }
.qform__who input:checked + span { background: var(--navy); color: #fff; transform: scale(1.03); }
.qform__who input:focus-visible + span { outline: 2.5px solid var(--navy); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.field small { font-weight: 500; color: var(--ink-3); }
.field input, .field textarea { width: 100%; border: 0; border-radius: 14px; background: var(--mist); padding: 13px 14px; font-size: 16px; transition: background-color .2s, box-shadow .25s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--navy) inset, 0 0 0 6px rgba(0,67,127,.1); }
.field.is-invalid input { box-shadow: 0 0 0 2px var(--red) inset; background: #fff; animation: shake .45s var(--ease-out); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.toast { position: fixed; left: 50%; top: calc(var(--nav-h) + 8px); z-index: 70; translate: -50% -14px; opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(6,15,36,.92); color: #fff; font-size: 14.5px; font-weight: 600; box-shadow: var(--shadow-2); transition: opacity .25s, translate .5s var(--spring); white-space: nowrap; backdrop-filter: blur(12px); }
.toast::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--wa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073b20' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ---------- Aparición al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .stats .stat[data-reveal] { transform: translateY(40px) scale(.96); }
.js .stats .stat[data-reveal].is-in { transform: none; }
.js .who-card[data-reveal].is-in { transition: opacity .8s var(--ease-out), transform .5s var(--ease-out), box-shadow .5s, background-color .3s; transition-delay: 0s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__menu { display: block; }
  .nav__sheet { display: grid; position: absolute; top: 80px; left: 12px; right: 12px; padding: 10px; gap: 2px; background: rgba(255,255,255,.97); backdrop-filter: blur(18px); border-radius: 26px; box-shadow: var(--shadow-3); opacity: 0; transform: translateY(-10px) scale(.97); transform-origin: top; pointer-events: none; transition: opacity .25s, transform .5s var(--spring); }
  .nav__sheet.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__sheet a:not(.btn) { padding: 15px 16px; border-radius: 16px; font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
  .nav__sheet a:not(.btn):hover { background: var(--mist); }
  .nav__sheet .btn { margin-top: 8px; height: 54px; }
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: 720px; }
  .stage { justify-self: center; max-width: 560px; margin-top: 8px; }
  .hero__scroll { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .about__inner, .how__inner { grid-template-columns: 1fr; }
  .about__art { max-width: 520px; width: 100%; justify-self: center; }
  .faq__inner { grid-template-columns: 1fr; }
  .faq__inner .section__head { position: static; }
  .phone-wrap { margin-top: 16px; }
  .how__copy { display: contents; }
  .how__inner > .phone-wrap { order: 1; margin: 0 0 28px; }
  .how .steps { order: 2; }
}
@media (max-width: 860px) {
  .who__grid { grid-template-columns: 1fr; }
  .visit__inner { grid-template-columns: 1fr; }
  .visit__map, .map { min-height: 320px; }
  .toolbar { flex-direction: column; align-items: stretch; padding: 8px; gap: 6px; border-radius: 20px; }
  .search { flex: none; min-width: 0; }
  .search kbd { display: none; }
  .pd { grid-template-columns: 1fr; }
  .pd__media { min-height: 0; padding: 14% 16% 8%; }
  .pd__media img { max-height: 250px; }
  .pd__body { padding: 20px 22px 24px; }
  .pd__actions { padding-top: 22px; }
}
@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  body { font-size: 16px; }
  .nav { top: 8px; padding-inline: 8px; }
  .nav__pill { height: 56px; padding: 0 6px 0 14px; gap: 8px; }
  .nav__logo img { width: 112px; }
  .nav__wa { display: none; }
  .quote-btn__label { display: none; }
  .quote-btn { padding: 0 10px; }
  .nav__sheet { top: 70px; left: 8px; right: 8px; }
  .hero { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 110px; }
  .hero__title { font-size: clamp(36px, 10.4vw, 48px); }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__map { width: 260%; left: 30%; top: 30%; }
  .stage { margin-top: 0; width: 92%; }
  .stats { gap: 8px; transform: translateY(-50px); }
  .stat { padding: 14px 12px; border-radius: 16px; }
  .stat b { font-size: 32px; }
  .stat > span { font-size: 13px; }
  .marquee { padding-bottom: 90px; }
  .mq { width: 128px; height: 92px; border-radius: 14px; padding: 10px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 18px; }
  .card__open, .card__media { border-radius: 18px 18px 0 0; }
  .card__body { padding: 12px 12px 10px; }
  .card__cat { font-size: 10px; letter-spacing: .08em; }
  .card__name { font-size: 14px; }
  .card__dose { font-size: 12.5px; }
  .card__foot { padding: 0 8px 8px; }
  .add { height: 40px; font-size: 14px; border-radius: 12px; }
  .stepper { height: 40px; grid-template-columns: 38px 1fr 38px; border-radius: 12px; }
  .rx-tag { left: 8px; top: 8px; height: 22px; font-size: 10.5px; }
  .card__badge { top: 8px; right: 8px; }
  .features { grid-template-columns: 1fr; }
  .step button { grid-template-columns: 42px 1fr; gap: 12px; padding: 14px 14px 20px; }
  .step__n { width: 42px; height: 42px; border-radius: 12px; }
  .step__txt b { font-size: 18px; }
  .step__bar { left: 68px; }
  .phone { width: 262px; height: 520px; border-radius: 46px; transform: none; }
  .phone__screen { border-radius: 35px; }
  .visit__list { grid-template-columns: 1fr; }
  .visit__go { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .sheet { padding: 0; place-items: end stretch; }
  .sheet__panel { width: 100%; max-height: 92dvh; border-radius: 28px 28px 0 0; transform: translateY(100%); opacity: 1; transition: transform .6s var(--ease-drawer); }
  .drawer__panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 92dvh; height: 92dvh; border-radius: 28px 28px 0 0; transform: translateY(100%); }
  .sheet__panel::before, .drawer__panel::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(10,27,51,.15); z-index: 4; }
  .pd__actions { position: sticky; bottom: 0; background: #fff; margin-inline: -22px; padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--line-2); }
  .quote-bar { left: 10px; right: 82px; translate: 0 calc(100% + 40px); }
  .has-quote .quote-bar { translate: 0 0; }
  .quote-bar__btn { width: 100%; gap: 10px; padding: 6px 6px 6px 8px; }
  .quote-bar__thumbs span { width: 36px; height: 36px; }
  .quote-bar__thumbs span:nth-child(n+3) { display: none; }
  .quote-bar__text { flex: 1; }
  .quote-bar__text b { font-size: 14.5px; }
  .quote-bar__cta { height: 42px; padding: 0 14px; font-size: 14px; }
  .fab { width: 56px; height: 56px; }
}
@media (max-width: 640px) {
  .toolbar { flex-direction: row; align-items: center; gap: 6px; padding: 6px; border-radius: 18px; top: calc(var(--nav-h) + 2px); }
  .search { flex: 0 0 44px; min-width: 0; transition: flex-basis .45s var(--ease-out); }
  .search input { height: 44px; padding: 0 0 0 44px; border-radius: 14px; font-size: 16px; }
  .search input::placeholder { color: transparent; }
  .search svg { left: 12px; stroke: var(--navy); }
  .chips { transition: opacity .25s, transform .4s var(--ease-out); }
  .toolbar.is-searching .search { flex-basis: 100%; }
  .toolbar.is-searching .search input { padding-right: 44px; }
  .toolbar.is-searching .search input::placeholder { color: var(--ink-3); }
  .toolbar.is-searching .chips { position: absolute; opacity: 0; transform: translateX(30px); pointer-events: none; }
  .search__clear { position: absolute; right: 4px; width: 36px; height: 36px; border-radius: 10px; display: none; place-items: center; color: var(--ink-3); }
  .toolbar.is-searching .search__clear { display: grid; }
  .card__cat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pd__actions { flex-wrap: nowrap; gap: 8px; }
  .pd__actions .stepper--lg { flex: none; height: 54px; grid-template-columns: 40px 42px 40px; border-radius: 999px; }
  .pd__actions .btn { --h: 54px; padding: 0 16px; font-size: 15.5px; min-width: 0; }
  .pd__body h2 { padding-right: 8px; }
  .pc__list { padding: 0 8px; }
  .pc__list li { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 7px; padding: 7px; }
  .pc__img { width: 34px; height: 30px; padding: 3px; border-radius: 8px; }
  .pc__t b { font-size: 10.5px; letter-spacing: -0.01em; text-overflow: clip; }
  .pc__t small { font-size: 10px; }
  .pc__ctl { width: 56px; height: 28px; }
  .pc__step { gap: 5px; font-size: 11.5px; }
  .qform__who { display: grid; grid-template-columns: repeat(3, 1fr); }
  .qform__who span { width: 100%; justify-content: center; padding: 0 6px; font-size: 13.5px; }
}
.search__clear { display: none; }
.search__clear svg { position: static; width: 18px; height: 18px; stroke: currentColor; }
@media (max-width: 380px) {
  .quote-bar__cta { display: none; }
  .grid { gap: 8px; }
  .phone { width: 250px; height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .w > span { opacity: 1; transform: none; filter: none; }
  .marquee__row { animation: none; }
}

/* Sello de Buenas Prácticas (OMS Informe 32) */
.seal { width: 26px; height: 26px; flex: none; filter: drop-shadow(0 2px 6px rgba(242,193,78,.45)); }
.hero__proof .proof-seal { display: inline-flex; align-items: center; gap: 8px; padding-left: 6px; }
.about__seal { position: absolute; z-index: 3; right: -1%; bottom: 6%; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 20px 40px -18px rgba(11,28,61,.5), 0 0 0 1px var(--line) inset; backdrop-filter: blur(10px); font-size: 12.5px; line-height: 1.25; color: var(--ink-2); transform: translateY(calc((var(--ap) - .5) * -50px)); }
.about__seal b { color: var(--navy-900); font-size: 13.5px; }
.seal--lg { width: 58px; height: 58px; animation: sealSpin 30s linear infinite; }
@keyframes sealSpin { to { rotate: 360deg; } }

@media (max-width: 400px) { .eyebrow__gt { display: none; } }

/* Ajustes de interacción */
/* Solo se pausan las animaciones que se repiten; las de entrada siempre terminan */
.is-off .hero__glow, .is-off .pin i, .is-off .trail-run, .is-off .b3 > *, .is-off .hero__scroll span,
.is-off .marquee__row, .is-off .typing i, .is-off .step__bar i { animation-play-state: paused !important; }
.nav-hidden .toolbar { top: 10px; }
.toolbar { transition: top .5s var(--ease-out); }
.card__box .nophoto { left: 10%; top: 4%; width: 80%; height: 88%; }
.grid.no-anim .card { animation: none; }
