/*
 * ZEPYM AMBASSADORS — hecho solo con el lenguaje de Apple (apple-hig + apple-design).
 * Plan y tokens: ../DESIGN-PLAN.md. Colores por función (como los colores
 * semánticos del sistema), claro y oscuro según el ajuste del dispositivo, sin
 * interruptor propio (dark-mode.md). La letra del sistema: SF Pro en Apple;
 * Inter solo donde SF no existe (typography.md, cross-platform.md).
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --tile: #ffffff;
  --label: #1d1d1f;
  --label-2: #6e6e73;
  --label-3: #86868b;
  --sep: #d2d2d7;
  --fill: rgb(118 118 128 / 0.12);
  --fill-2: rgb(118 118 128 / 0.2);
  --action: #0071e3;
  --action-hi: #0077ed;
  --link: #0066cc;
  --good: #248a3d;
  --bad: #d70015;
  --bad-bg: #fff2f4;
  --focus: rgb(0 125 250 / 0.6);
  --glass: rgb(250 250 252 / 0.72);
  --glass-edge: rgb(0 0 0 / 0.1);
  --shadow-tile: 0 2px 12px rgb(0 0 0 / 0.04);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Tracking de SF Pro por tamaño (typography.md › Tracking values); Inter va un poco más cerrada en grande. */
  --tr-hero: 0em;
  --tr-headline: 0.006em;
  --tr-title: 0.013em;
  --tr-intro: -0.018em;
  --tr-body: -0.026em;
  --tr-callout: -0.011em;
  --tr-caption: 0em;

  --gutter: max(1.375rem, 4.5vw);
  --section: clamp(5.5rem, 11vw, 10rem);
  --r-tile: 28px;
  --r-ctl: 12px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
.nosf {
  --tr-hero: -0.03em;
  --tr-headline: -0.022em;
  --tr-title: -0.012em;
  --tr-intro: -0.014em;
  --tr-body: -0.011em;
  --tr-callout: -0.006em;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #000000;
    --surface-2: #161617;
    --tile: #1d1d1f;
    --label: #f5f5f7;
    --label-2: #a1a1a6;
    --label-3: #86868b;
    --sep: #424245;
    --fill: rgb(118 118 128 / 0.24);
    --fill-2: rgb(118 118 128 / 0.36);
    --link: #2997ff;
    --good: #30d158;
    --bad: #ff6961;
    --bad-bg: #2a0f12;
    --glass: rgb(22 22 23 / 0.72);
    --glass-edge: rgb(255 255 255 / 0.12);
    --shadow-tile: none;
  }
}
/* Secciones oscuras siempre (como el escenario de un producto): mismos nombres, valores oscuros. */
.dark {
  --surface: #000000;
  --surface-2: #161617;
  --tile: #1d1d1f;
  --label: #f5f5f7;
  --label-2: #a1a1a6;
  --label-3: #86868b;
  --sep: #424245;
  --fill: rgb(118 118 128 / 0.24);
  --link: #2997ff;
  color: var(--label);
}
@media (prefers-contrast: more) {
  :root { --label-2: #4d4d52; --sep: #8e8e93; --glass: rgb(250 250 252 / 0.95); }
  .dark { --label-2: #c7c7cc; }
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
html[data-i18n-pending] body { visibility: hidden; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--label);
  font: 400 1.0625rem/1.47 var(--font);
  letter-spacing: var(--tr-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}
img { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
sup { font-size: 0.55em; vertical-align: super; line-height: 0; letter-spacing: 0; margin-left: 0.05em; }
::selection { background: rgb(0 113 227 / 0.25); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 100; left: 1rem; top: -4rem; padding: 0.75rem 1rem; border-radius: 12px; background: var(--tile); color: var(--label); }
.skip:focus { top: 1rem; }
.wrap { padding-inline: var(--gutter); }

/* ---------- Botones: cápsula prominente con estado al pulsar (buttons.md) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0 1.4rem; border: 0; border-radius: 980px;
  background: var(--action); color: #fff;
  font: 400 1.0625rem/1 var(--font); letter-spacing: var(--tr-body); text-decoration: none; cursor: pointer;
  transition: background-color 200ms var(--ease), transform 120ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--action-hi); text-decoration: none; }
.btn:active { transform: scale(0.97); transition-duration: 60ms; }
.btn-sm { min-height: 28px; padding: 0 0.85rem; font-size: 0.75rem; letter-spacing: 0; }
.btn-lg { min-height: 52px; font-size: 1.0625rem; font-weight: 500; }
.btn-block { width: 100%; }
.btn[disabled] { cursor: progress; background: var(--action); opacity: 0.8; }
.more { display: inline-flex; align-items: center; gap: 0.2rem; font-size: 1.0625rem; color: var(--link); min-height: 44px; }
.more svg { width: 0.7em; height: 0.7em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease); }
.more:hover svg { transform: translateX(2px); }

/* ---------- Barra: la capa funcional, en cristal (liquid-glass.md) ---------- */
.lnav {
  position: sticky; top: 0; z-index: 50; height: 52px; margin-bottom: -52px;
  /* Siempre en cristal oscuro: el logo de Zepym va en blanco (dueño, 06/10/2026). */
  --glass: rgb(22 22 23 / 0.8);
  --glass-edge: rgb(255 255 255 / 0.12);
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: #f5f5f7;
}
/* El borde inferior es el contenido difuminándose al pasar por debajo, no una línea pintada. */
.lnav::after { content: ""; position: absolute; inset: 100% 0 auto; height: 1px; background: var(--glass-edge); }
.lnav-in { display: flex; align-items: center; gap: 1.5rem; height: 100%; padding-inline: var(--gutter); }
.lnav-title { display: inline-flex; align-items: center; gap: 0.85rem; min-height: 44px; color: inherit; white-space: nowrap; }
.lnav-title img { height: 22px; width: auto; }
/* Dos líneas junto al logo, separadas por un filete (dueño, 06/10/2026, como el encabezado de Fridays). */
.lnav-lockup { display: grid; gap: 3px; padding-left: 0.85rem; border-left: 1px solid rgb(255 255 255 / 0.28); text-transform: uppercase; letter-spacing: 0.09em; line-height: 1; }
.lnav-lockup b { font-size: 0.6875rem; font-weight: 600; color: #f5f5f7; }
.lnav-lockup span { font-size: 0.625rem; font-weight: 500; color: #a1a1a6; }
.lnav-title:hover { text-decoration: none; }
.lnav-menu { display: flex; gap: 1.5rem; margin-left: auto; }
.lnav-menu a { color: inherit; opacity: 0.8; font-size: 0.75rem; letter-spacing: 0; }
.lnav-menu a:hover { opacity: 1; text-decoration: none; }
.lnav-actions { display: flex; align-items: center; gap: 0.9rem; }
.lnav-lang { min-height: 28px; padding: 0 0.25rem; border: 0; background: none; color: inherit; opacity: 0.8; font: 400 0.75rem/1 var(--font); cursor: pointer; }
.lnav-lang:hover { opacity: 1; }
.lnav-signin { color: inherit; opacity: 0.85; font: 400 0.75rem/1 var(--font); letter-spacing: 0; text-decoration: none; padding: 0.4rem 0.1rem; }
.lnav-signin:hover { opacity: 1; text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  /* Una pantalla exacta, sea cual sea el monitor (dueño, 06/10/2026): el texto y el
     teléfono se escalan con el ALTO además del ancho; el teléfono asoma por abajo. */
  --s: 0;
  height: 100vh; height: 100svh; min-height: 33rem;
  display: flex; flex-direction: column;
  background: #000; overflow: clip; text-align: center;
  padding: calc(52px + clamp(1.25rem, 6vh, 4.5rem)) var(--gutter) 0;
}
.hero-copy { flex: none; max-width: 72rem; margin-inline: auto; }
/* El aviso arriba del titular (dueño, 06/10/2026): solo un estado; la única acción es "Apply Now". */
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.6rem; margin: 0; min-height: 36px; padding: 0 1rem; border-radius: 980px;
  background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
  color: #f5f5f7; font-size: 0.9375rem; letter-spacing: var(--tr-callout);
}
.live { width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 0 rgb(48 209 88 / 0.6); animation: live 2.4s var(--ease-out) infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgb(48 209 88 / 0); } 100% { box-shadow: 0 0 0 0 rgb(48 209 88 / 0); } }
.hero-title {
  margin: clamp(0.75rem, 2.6vh, 1.6rem) 0 0;
  font: 600 clamp(2.5rem, min(6vw, 9.6vh), 7.5rem)/1.04 var(--font-display);
  letter-spacing: var(--tr-hero);
  text-wrap: balance;
}
.hero-intro {
  max-width: 44rem; margin: clamp(0.75rem, 2.4vh, 1.6rem) auto 0;
  font: 600 clamp(1.0625rem, min(1.75vw, 2.7vh), 1.5rem)/1.33 var(--font-display);
  letter-spacing: var(--tr-intro); color: var(--label-2); text-wrap: pretty;
}
.hero-intro b { font-weight: 600; color: var(--label); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.75rem 1.75rem; margin-top: clamp(1rem, 3.2vh, 2rem); }
.more-dark { color: #2997ff; }
.hero-avail { margin: clamp(0.5rem, 1.6vh, 1rem) 0 0; font-size: 0.875rem; letter-spacing: var(--tr-callout); color: var(--label-3); }

.hero-stage {
  position: relative; flex: 1 1 auto; min-height: 0; width: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: clamp(1rem, 3vw, 3rem);
  max-width: 90rem; margin: clamp(1.25rem, 4.5vh, 3.5rem) auto 0;
}
/* Al bajar, el teléfono sube 1:1 con el desplazamiento y deja ver más pantalla. */
.phone.phone-hero { --w: clamp(12.5rem, min(24vw, 36vh), 40rem); transform: translateY(calc(var(--s) * -22vh)); will-change: transform; }
.notif {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.7rem; align-items: start; text-align: left;
  margin-top: clamp(1rem, 7vh, 6rem); padding: 0.85rem 1rem; border-radius: 22px;
  background: rgb(44 44 46 / 0.92); color: #f5f5f7; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.7);
  max-width: 21rem; will-change: transform, opacity;
}
.notif-left { justify-self: end; transform: translateX(calc(var(--s) * -48px)); opacity: calc(1 - var(--s) * 0.7); }
.notif-right { justify-self: start; margin-top: clamp(3rem, 15vh, 12rem); transform: translateX(calc(var(--s) * 48px)); opacity: calc(1 - var(--s) * 0.7); }
@media (prefers-reduced-motion: no-preference) {
  .js .notif-left { animation: notif-in-l 900ms 520ms var(--ease-out) backwards; }
  .js .notif-right { animation: notif-in-r 900ms 680ms var(--ease-out) backwards; }
  .js .phone-hero { animation: phone-in 1100ms 300ms var(--ease-out) backwards; }
}
@keyframes notif-in-l { from { opacity: 0; translate: -28px 0; } }
@keyframes notif-in-r { from { opacity: 0; translate: 28px 0; } }
@keyframes phone-in { from { opacity: 0; translate: 0 48px; } }
/* Pantallas muy bajas: lo accesorio cede sitio al teléfono. */
@media (max-height: 700px) { .hero-avail { display: none; } }
.notif-icon { width: 2.25rem; height: 2.25rem; border-radius: 10px; background: #0071e3; display: grid; place-items: center; }
.notif-icon-green { background: #30d158; }
.notif-icon svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.notif-body { display: grid; gap: 0.05rem; font-size: 0.8125rem; line-height: 1.3; letter-spacing: -0.006em; color: #d1d1d6; }
.notif-body b { color: #fff; font-weight: 600; font-size: 0.875rem; }
.notif-app { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.02em; color: #98989d; }
.notif-time { font-size: 0.6875rem; color: #98989d; }

/* ---------- Teléfono genérico (no replica hardware de nadie, icons.md) ---------- */
.phone {
  --w: 18rem;
  position: relative; width: var(--w); aspect-ratio: 9 / 19.5; flex: none; container-type: inline-size;
  padding: calc(var(--w) * 0.03);
  border-radius: calc(var(--w) * 0.15);
  background: linear-gradient(150deg, #3a3a3c, #121214 45%, #2c2c2e 75%, #0b0b0c);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.09), 0 40px 80px -30px rgb(0 0 0 / 0.55);
}
.screen {
  position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--w) * 0.125);
  background: #000; color: #fff;
}
.story-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-top { position: absolute; inset: 0 0 auto; padding: 9cqw 5cqw 12cqw; background: linear-gradient(rgb(0 0 0 / 0.45), transparent); }
.story-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2cqw; }
.story-bars i { height: 0.8cqw; border-radius: 1cqw; background: rgb(255 255 255 / 0.35); }
.story-bars .on { background: #fff; }
.story-bars .half { background: linear-gradient(90deg, #fff 55%, rgb(255 255 255 / 0.35) 55%); }
.story-who { display: flex; align-items: center; gap: 2.5cqw; margin-top: 3.5cqw; }
.avatar { width: 9cqw; height: 9cqw; border-radius: 50%; display: grid; place-items: center; background: #ff9f0a; color: #fff; font: 600 4cqw/1 var(--font); }
.who-text { display: grid; font-size: 3.6cqw; line-height: 1.2; text-align: left; letter-spacing: 0; }
.who-text b { font-weight: 600; }
.who-text span { font-size: 3cqw; opacity: 0.9; }
.code-sticker {
  position: absolute; top: 38%; left: 50%; translate: -50% 0; rotate: -6deg;
  padding: 3.2cqw 5.5cqw; border-radius: 4cqw; background: #fff; color: #0071e3;
  font: 800 7.5cqw/1 var(--font); letter-spacing: 0.06em; box-shadow: 0 2cqw 6cqw rgb(0 0 0 / 0.3);
}
.story-caption { position: absolute; left: 0; right: 0; bottom: 21cqw; margin: 0; text-align: center; font: 600 5cqw/1.2 var(--font); text-shadow: 0 1px 8px rgb(0 0 0 / 0.5); letter-spacing: 0; }
.story-reply { position: absolute; left: 4cqw; right: 4cqw; bottom: 5cqw; height: 11cqw; border-radius: 6cqw; display: flex; align-items: center; padding: 0 4.5cqw; border: 1px solid rgb(255 255 255 / 0.5); background: rgb(0 0 0 / 0.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 3.6cqw; letter-spacing: 0; text-align: left; }

/* Pantallas de app dentro del teléfono (ilustraciones): una lista agrupada, como en el sistema. */
.ui { background: #f2f2f7; color: #000; padding: 13cqw 5cqw 0; font-family: var(--font); letter-spacing: 0; text-align: left; }
.ui-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 4cqw; margin-bottom: 6cqw; }
.ui-bar b { font-weight: 600; }
.ui-back { width: 3cqw; height: 3cqw; border-left: 0.8cqw solid #0071e3; border-bottom: 0.8cqw solid #0071e3; rotate: 45deg; }
.ui-large { margin: 0; font: 700 8.5cqw/1.1 var(--font-display); letter-spacing: 0.01em; }
.ui-large-top { margin-top: 2cqw; margin-bottom: 4cqw; }
.ui-sub { margin: 2cqw 0 6cqw; font-size: 3.9cqw; color: #6e6e73; }
.ui-field { display: flex; align-items: center; height: 13cqw; padding: 0 4cqw; border-radius: 3cqw; background: #fff; box-shadow: inset 0 0 0 0.5cqw #0071e3; font-size: 5cqw; font-weight: 600; letter-spacing: 0.04em; }
.ui-caret { width: 0.5cqw; height: 6cqw; margin-left: 0.6cqw; background: #0071e3; animation: caret 1.1s steps(1) infinite; }
.ui-ok { margin-left: auto; width: 6cqw; height: 6cqw; border-radius: 50%; background: #34c759 center / 60% no-repeat 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.ui-good { margin: 2.5cqw 0 0 1cqw; font-size: 3.5cqw; color: #1c7430; font-weight: 500; }
.ui-btn { position: absolute; left: 5cqw; right: 5cqw; bottom: 8cqw; height: 12.5cqw; border-radius: 7cqw; display: grid; place-items: center; background: #0071e3; color: #fff; font-size: 4.3cqw; font-weight: 600; }
.ui-group { background: #fff; border-radius: 3.5cqw; overflow: hidden; margin-bottom: 4cqw; }
.ui-row { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; min-height: 12cqw; padding: 2.5cqw 4cqw; font-size: 3.9cqw; }
.ui-row + .ui-row { box-shadow: inset 0 0.25cqw 0 #d1d1d6; }
.ui-row > span:first-child { display: grid; }
.ui-row small { font-size: 3.2cqw; color: #6e6e73; }
.ui-row-strong { font-weight: 600; }
.ui-green { color: #1c7430; }
.ui-chip { padding: 1cqw 2.5cqw; border-radius: 2cqw; background: #e5f0fd; color: #0071e3; font-weight: 600; font-size: 3.4cqw; letter-spacing: 0.04em; }
.ui-foot { margin: 0 0 0 1cqw; font-size: 3.3cqw; color: #6e6e73; }
.ui-card { display: grid; gap: 1cqw; padding: 5cqw; border-radius: 4cqw; background: #fff; margin-bottom: 6cqw; }
.ui-card-k { font-size: 3.4cqw; color: #6e6e73; }
.ui-card-v { font: 700 9cqw/1.05 var(--font-display); }
.ui-card-s { font-size: 3.4cqw; color: #6e6e73; }
.ui-section { margin: 0 0 2cqw 4cqw; font-size: 3.2cqw; text-transform: uppercase; color: #6e6e73; letter-spacing: 0.02em; }
.ui-status { font-size: 3.4cqw; color: #1c7430; font-weight: 500; }
.ui-nav { position: relative; padding-right: 8cqw; }
.ui-nav::after { content: ""; position: absolute; right: 4cqw; top: 50%; width: 1.8cqw; height: 1.8cqw; border-right: 0.6cqw solid #c4c4c6; border-top: 0.6cqw solid #c4c4c6; transform: translateY(-50%) rotate(45deg); }
.ui-muted { color: #6e6e73; margin-left: auto; }
.ui-codecard { display: flex; justify-content: space-between; align-items: center; padding: 4.5cqw; border-radius: 4cqw; background: #0071e3; color: #fff; margin-bottom: 6cqw; }
.ui-codecard span:first-child { display: grid; }
.ui-codecard small { font-size: 3.2cqw; opacity: 0.85; }
.ui-codecard b { font-size: 7cqw; letter-spacing: 0.06em; }
.ui-copy { padding: 2cqw 4cqw; border-radius: 5cqw; background: rgb(255 255 255 / 0.22); font-size: 3.5cqw; font-weight: 600; }
.ui-photo { padding: 0; }
.ui-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ui-sheet { position: absolute; left: 2cqw; right: 2cqw; bottom: 2cqw; padding: 3cqw 5cqw 26cqw; border-radius: 9cqw; background: rgb(255 255 255 / 0.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #000; }
.ui-sheet .ui-btn { bottom: 6cqw; }
.ui-grabber { display: block; width: 10cqw; height: 1.2cqw; border-radius: 1cqw; background: #c7c7cc; margin: 0 auto 4cqw; }
.ui-approved { display: flex; align-items: center; gap: 2.5cqw; font-size: 5.5cqw; }
.ui-approved .ui-ok { margin: 0; }
.ui-sheet p { margin: 2.5cqw 0 0; font-size: 3.8cqw; color: #3a3a3c; line-height: 1.35; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Secciones ---------- */
.why-sec, .med-sec, .highlights, .dash-sec, .closer, .how, .save, .alone, .rules, .apply, .faq { padding-block: var(--section); }
.why-sec { background: var(--surface); }
.med-sec { background: var(--surface-2); }
.highlights { background: var(--surface); }
.closer { background: var(--surface-2); }
.how { background: var(--surface); }
.save { background: var(--surface-2); }
.alone { background: var(--surface); }
.rules { background: var(--surface-2); }
.apply { background: var(--surface); }
.faq { background: var(--surface-2); }
.dash-sec { background: #000; }
.headline {
  margin: 0; font: 600 clamp(2.5rem, 4.4vw, 3.5rem)/1.07 var(--font-display);
  letter-spacing: var(--tr-headline); text-wrap: balance;
}
.lede { margin: 1.25rem 0 0; max-width: 40rem; font: 600 clamp(1.1875rem, 1.6vw, 1.3125rem)/1.38 var(--font-display); letter-spacing: var(--tr-intro); color: var(--label-2); text-wrap: pretty; }
.illus { margin: 1.25rem 0 0; font-size: 0.75rem; color: var(--label-2); letter-spacing: var(--tr-caption); }

/* ---------- Galería de destacados ---------- */
.gallery { position: relative; margin-top: clamp(2rem, 4vw, 3.25rem); }
.gallery-track {
  display: flex; gap: clamp(0.75rem, 1.6vw, 1.5rem); list-style: none; margin: 0;
  padding: 0 var(--gutter) 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track[data-dragging] { cursor: grabbing; scroll-snap-type: none; }
.gallery-track[data-dragging] * { user-select: none; }
.hl {
  position: relative; flex: none; scroll-snap-align: start;
  width: min(88vw, 76rem);
  border-radius: var(--r-tile); overflow: hidden; background: var(--surface-2);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 2rem;
  padding: clamp(1.75rem, 3.2vw, 3.25rem);
}
.hl:nth-child(2) { background: #e8f2ff; }
.hl:nth-child(3) { background: #eef8f0; }
.hl:nth-child(4) { background: #fff4e5; }
.hl:nth-child(5) { background: #f3eefe; }
@media (prefers-color-scheme: dark) {
  .hl { background: #1d1d1f; }
  .hl:nth-child(2) { background: #0c1b2e; }
  .hl:nth-child(3) { background: #0d2214; }
  .hl:nth-child(4) { background: #2a1d0a; }
  .hl:nth-child(5) { background: #1c1430; }
}
.hl-copy { max-width: 26rem; }
.hl-copy h3 { margin: 0; font: 600 clamp(1.75rem, 2.6vw, 2.5rem)/1.1 var(--font-display); letter-spacing: var(--tr-title); text-wrap: balance; }
.hl-copy p { margin: 0.9rem 0 0; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.42; color: var(--label-2); letter-spacing: var(--tr-body); text-wrap: pretty; }
.phone.phone-hl { --w: clamp(15rem, 21vw, 22rem); align-self: start; margin-right: clamp(0rem, 4vw, 5rem); }

/* El control de página y el botón de reproducir: los dos únicos controles en cristal además de la barra. */
.gallery-controls { display: flex; justify-content: center; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.dots {
  display: flex; align-items: center; gap: 0.15rem; height: 56px; padding: 0 0.75rem; border-radius: 28px;
  background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 0 0 1px var(--glass-edge);
}
.dot { width: 28px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; transition: width 420ms var(--ease-out); }
.dot i { display: block; position: relative; width: 8px; height: 8px; border-radius: 8px; background: var(--label-3); overflow: hidden; transition: width 420ms var(--ease-out), background-color 300ms var(--ease); }
.dot[aria-current="true"] { width: 56px; }
.dot[aria-current="true"] i { width: 48px; background: var(--fill-2); }
.dot[aria-current="true"] i::after { content: ""; position: absolute; inset: 0; background: var(--label); transform-origin: left; transform: scaleX(var(--p, 1)); }
.dot:hover i { background: var(--label-2); }
.play {
  width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--label);
  background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 0 0 1px var(--glass-edge); transition: transform 120ms var(--ease);
}
.play:active { transform: scale(0.94); }
.play svg { width: 22px; height: 22px; fill: currentColor; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.play .i-play, .play[data-paused] .i-pause { display: none; }
.play[data-paused] .i-play { display: block; }

/* ---------- Mosaico ---------- */
.bento {
  display: grid; gap: clamp(0.75rem, 1.4vw, 1.25rem); margin-top: clamp(2rem, 4vw, 3.25rem);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-areas: "a a a a b b" "a a a a c c" "d d e e f f";
}
.tile { background: var(--tile); border-radius: var(--r-tile); padding: clamp(1.75rem, 3vw, 2.75rem); box-shadow: var(--shadow-tile); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 15rem; }
.tile-a { grid-area: a; background: #000; min-height: 32rem; }
.tile-b { grid-area: b; } .tile-c { grid-area: c; } .tile-d { grid-area: d; } .tile-e { grid-area: e; } .tile-f { grid-area: f; }
.tile-title { margin: 0; font: 600 clamp(2rem, 3.6vw, 3.5rem)/1.07 var(--font-display); letter-spacing: var(--tr-headline); text-wrap: balance; }
.tile-title-sm { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.12; letter-spacing: var(--tr-title); }
.tile-text { margin: 0; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.42; color: var(--label-2); max-width: 36rem; text-wrap: pretty; }
.tile-a .tile-text { margin-top: auto; }
.tile-big { margin: 0; font: 600 clamp(3.5rem, 6vw, 5.5rem)/1 var(--font-display); letter-spacing: var(--tr-hero); color: var(--label); }
.tile-big small { font-size: 0.4em; font-weight: 600; letter-spacing: var(--tr-title); color: var(--label-2); }
.tile-big-sm { font-size: clamp(2.75rem, 4.6vw, 4rem); }

/* ---------- Por qué importa: la frase se ilumina palabra a palabra al bajar (1:1) ---------- */
.why-sec { background: #000; height: 250vh; padding-block: 0; }
.why-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.why-in { width: 100%; }
.why-kicker { margin: 0 0 clamp(1rem, 3vh, 2rem); font: 600 clamp(1.0625rem, 1.6vw, 1.3125rem)/1.2 var(--font-display); letter-spacing: var(--tr-intro); color: #86868b; }
.statement { margin: 0; max-width: 66rem; font: 600 clamp(2rem, min(4.7vw, 7.2vh), 4.5rem)/1.1 var(--font-display); letter-spacing: var(--tr-headline); color: #f5f5f7; text-wrap: pretty; }
.statement b { font-weight: 600; }
.statement .sw { opacity: 0.18; transition: opacity 90ms linear; }

/* ---------- De una historia a una atención real ---------- */
.journey { background: var(--surface); }
.journey-steps { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 4rem) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.journey-steps li { display: grid; justify-items: center; align-content: start; text-align: center; }
.phone.phone-j { --w: clamp(13rem, 19vw, 18.5rem); margin-bottom: 1.75rem; }
.journey-steps h3 { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin: 0; font: 600 clamp(1.3125rem, 1.8vw, 1.5rem)/1.17 var(--font-display); letter-spacing: var(--tr-title); }
.j-num { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--label); color: var(--surface); font: 600 0.9375rem/1 var(--font); letter-spacing: 0; }
.journey-steps > li > p { margin: 0.55rem auto 0; max-width: 21rem; color: var(--label-2); }
.journey .illus { margin-top: 2rem; }
.avatar-b { background: #30b0c7; }
.story-caption-hi { bottom: auto; top: 42%; left: 10cqw; right: 10cqw; padding: 2.4cqw 3.6cqw; border-radius: 2.6cqw; background: rgb(0 0 0 / 0.62); font-size: 5.6cqw; line-height: 1.25; text-shadow: none; text-wrap: balance; }
.ui-progress { height: 1.2cqw; border-radius: 1cqw; background: #e5e5ea; overflow: hidden; margin-bottom: 5cqw; }
.ui-progress i { display: block; height: 100%; width: calc(var(--p) * 100%); background: #0071e3; border-radius: 1cqw; }
.ui-step { margin: 0 0 2cqw; font-size: 3.4cqw; color: #6e6e73; }
.ui-choices { margin-top: 5cqw; }
.ui-picked { background: #e8f2ff; font-weight: 600; }
.ui-picked .ui-ok { margin-left: auto; }
.ui-foot-c { margin: 3cqw 1cqw 0; line-height: 1.35; }
.ui-chat { background: #fff; padding: 11cqw 4.5cqw 0; }
.ui-chathead { display: grid; justify-items: center; gap: 1cqw; padding-bottom: 4cqw; margin-bottom: 4cqw; border-bottom: 0.25cqw solid #e5e5ea; }
.ui-ava { width: 12cqw; height: 12cqw; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(#5ac8fa, #0071e3); color: #fff; font: 600 4.2cqw/1 var(--font); }
.ui-chathead b { font-size: 4cqw; font-weight: 600; }
.ui-chathead small { font-size: 3cqw; color: #6e6e73; }
.bubble { max-width: 80%; margin: 0 0 2.6cqw; padding: 2.8cqw 3.8cqw; border-radius: 5cqw; border-bottom-left-radius: 1.5cqw; background: #e9e9eb; color: #000; font-size: 3.8cqw; line-height: 1.3; }
.bubble-me { margin-left: auto; border-bottom-left-radius: 5cqw; border-bottom-right-radius: 1.5cqw; background: #0071e3; color: #fff; }
.ui-compose { position: absolute; left: 4cqw; right: 4cqw; bottom: 6cqw; height: 10cqw; border-radius: 6cqw; border: 0.25cqw solid #d1d1d6; display: flex; align-items: center; padding: 0 4cqw; color: #8e8e93; font-size: 3.6cqw; }

/* ---------- Respaldo médico: retratos de verdad, cada uno verificable ---------- */
.people { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 3.75rem) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.75rem, 1.4vw, 1.25rem); }
.person { position: relative; overflow: hidden; border-radius: var(--r-tile); background: #1c2733; aspect-ratio: 3 / 4; display: flex; align-items: flex-end; color: #f5f5f7; }
.person-lead { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 30rem; }
.person img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .person:hover img { transform: scale(1.03); } }
.person::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(to top, rgb(0 0 0 / 0.9), rgb(0 0 0 / 0.6) 45%, transparent); }
.person-text { position: relative; z-index: 1; padding: clamp(1rem, 1.8vw, 1.6rem); }
.person h3 { margin: 0; font: 600 clamp(1.0625rem, 1.3vw, 1.25rem)/1.2 var(--font-display); letter-spacing: var(--tr-body); }
.person p { margin: 0.2rem 0 0; font-size: 0.875rem; line-height: 1.35; color: #d1d1d6; }
.person .more { color: #2997ff; font-size: 0.9375rem; min-height: 40px; }
.person-lead h3 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); letter-spacing: var(--tr-title); }
.person-lead p { font-size: 1.0625rem; color: #f5f5f7; font-weight: 600; }
.person-lead .person-lic { font-weight: 400; font-size: 0.9375rem; color: #d1d1d6; }

/* ---------- Panel (ilustración con widgets) ---------- */
.dash-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.dash-copy .illus { margin-top: 1.5rem; }
.dash { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 1.2vw, 1rem); }
.w { background: #1d1d1f; border-radius: 22px; padding: clamp(1.25rem, 2vw, 1.75rem); display: grid; align-content: start; gap: 0.5rem; min-height: 11rem; }
.w-k { font-size: 0.8125rem; color: #a1a1a6; letter-spacing: -0.006em; }
.w-big { font: 600 clamp(2.75rem, 4.4vw, 3.75rem)/1 var(--font-display); letter-spacing: var(--tr-hero); color: #f5f5f7; font-variant-numeric: tabular-nums; }
.w-spark { display: flex; align-items: flex-end; gap: 6px; height: 3.25rem; margin-top: 0.5rem; }
.w-spark i { flex: 1; height: calc(var(--h) * 100%); border-radius: 4px; background: #2997ff; opacity: 0.55; }
.w-spark i:last-child { opacity: 1; }
.w-bar { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) 2.75rem; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: #f5f5f7; margin-top: 0.35rem; }
.w-bar i { position: relative; height: 8px; border-radius: 8px; background: #2c2c2e; overflow: hidden; }
.w-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: 8px; background: #2997ff; }
.w-bar b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.w-mid { font: 600 clamp(2rem, 3vw, 2.5rem)/1.05 var(--font-display); letter-spacing: var(--tr-title); color: #f5f5f7; }
.w-mid small { font-size: 0.45em; color: #a1a1a6; font-weight: 600; }
.w-sub { font-size: 0.875rem; color: #a1a1a6; }
.w-posts .w-sub::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff9f0a; margin-right: 0.45rem; vertical-align: 1px; }

/* ---------- Precios ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 1.4vw, 1.25rem); margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.price { background: var(--tile); border-radius: var(--r-tile); padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow-tile); display: grid; align-content: start; gap: 0.5rem; }
.price h3 { margin: 0 0 0.75rem; font: 600 1.5rem/1.17 var(--font-display); letter-spacing: var(--tr-title); }
.price-big { margin: 0; display: grid; gap: 0.3rem; }
.price-big b { font: 600 clamp(3rem, 4.6vw, 4rem)/1 var(--font-display); letter-spacing: var(--tr-hero); font-variant-numeric: tabular-nums; }
.price-big span { font-size: 0.9375rem; color: var(--label-2); }
.price-then { margin: 0.35rem 0 0; font-size: 0.9375rem; color: var(--label-2); }
.price-rows { margin: 1.25rem 0 0; }
.price-rows div { display: flex; justify-content: space-between; align-items: baseline; padding: 0.85rem 0; border-top: 1px solid var(--sep); }
.price-rows dt { color: var(--label-2); }
.price-rows dd { margin: 0; font-variant-numeric: tabular-nums; }
.price-rows dd b { font-size: 1.1875rem; font-weight: 600; }
.price-rows s { margin-left: 0.4rem; color: var(--label-2); font-size: 0.9375rem; }
.inc { list-style: none; margin: 0; padding: 0; }
.inc li { position: relative; padding: 0.7rem 0 0.7rem 1.9rem; border-top: 1px solid var(--sep); font-size: 0.9375rem; }
.inc li:first-child { border-top: 0; padding-top: 0.2rem; }
.inc li::before { content: ""; position: absolute; left: 0; top: 0.9rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: #34c759 center / 62% no-repeat 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.inc li:first-child::before { top: 0.4rem; }
.sub-h { margin: clamp(3.5rem, 6vw, 5rem) 0 0; font: 600 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--font-display); letter-spacing: var(--tr-title); }
.save .compare { margin-top: 1.5rem; }
.save .illus { margin-top: 1.25rem; }

/* ---------- Nunca sin apoyo ---------- */
.alone-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 1.4vw, 1.25rem); margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.alone .tile { background: var(--surface-2); box-shadow: none; justify-content: flex-start; gap: 2rem; }
.chat { display: grid; gap: 0.6rem; }
.msg { justify-self: start; max-width: 88%; padding: 0.75rem 1rem; border-radius: 20px; border-bottom-left-radius: 6px; background: var(--tile); display: grid; gap: 0.15rem; font-size: 0.9375rem; line-height: 1.35; }
.msg b { font-size: 0.75rem; font-weight: 600; color: var(--label-2); }
.msg-team b { color: var(--link); }
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.team li { display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 0; border-top: 1px solid var(--sep); }
.team li:first-child { border-top: 0; padding-top: 0; }
.team img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; flex: none; background: var(--fill); }
.team span { display: grid; line-height: 1.25; }
.team b { font-weight: 600; font-size: 1rem; }
.team small { font-size: 0.8125rem; color: var(--label-2); }
.who.who-not li::before { background: #ff3b30 center / 58% no-repeat 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.4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 4rem) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem); }
.step-ico { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--fill); color: var(--action); margin-bottom: 1.1rem; }
.step-ico svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps h3 { margin: 0; font: 600 1.3125rem/1.19 var(--font-display); letter-spacing: var(--tr-intro); }
.steps p { margin: 0.45rem 0 0; color: var(--label-2); max-width: 22rem; }

/* ---------- Comparación ---------- */
.compare { margin-top: clamp(2.5rem, 5vw, 3.75rem); overflow-x: auto; background: var(--tile); border-radius: var(--r-tile); box-shadow: var(--shadow-tile); }
.compare table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 1.5rem clamp(1rem, 2.5vw, 2.5rem); text-align: center; }
.compare thead th { font-size: 0.875rem; font-weight: 600; color: var(--label-2); letter-spacing: var(--tr-callout); border-bottom: 1px solid var(--sep); padding-top: 1.75rem; }
.compare tbody th { text-align: left; font-weight: 600; font-size: 1.0625rem; width: 40%; }
.compare td { font: 600 clamp(1.75rem, 3vw, 2.5rem)/1 var(--font-display); letter-spacing: var(--tr-title); }
.compare tbody tr + tr > * { border-top: 1px solid var(--sep); }

/* ---------- Reglas ---------- */
.rules-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 1.4vw, 1.25rem); margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.rule-tile { background: var(--tile); border-radius: var(--r-tile); padding: clamp(1.75rem, 3vw, 2.75rem); }
.rule-tile h3 { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; font: 600 1.5rem/1.17 var(--font-display); letter-spacing: var(--tr-title); }
.ico-yes, .ico-no { width: 1.75rem; height: 1.75rem; border-radius: 50%; flex: none; background: center / 58% no-repeat; }
.ico-yes { background-color: #34c759; background-image: 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.ico-no { background-color: #ff3b30; background-image: 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.4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.rule-tile ul { list-style: none; margin: 0; padding: 0; }
.rule-tile li { padding: 0.95rem 0; border-top: 1px solid var(--sep); }

/* ---------- Solicitud ---------- */
.apply-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.who-title { margin: 2.5rem 0 0.75rem; font: 600 1.0625rem/1.3 var(--font); letter-spacing: var(--tr-body); }
.who { list-style: none; margin: 0; padding: 0; }
.who li { position: relative; padding: 0.75rem 0 0.75rem 1.9rem; border-top: 1px solid var(--sep); color: var(--label-2); }
.who li::before { content: ""; position: absolute; left: 0; top: 0.95rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--action) center / 62% no-repeat 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.form-tile { background: var(--surface-2); border-radius: var(--r-tile); padding: clamp(1.5rem, 3vw, 2.75rem); box-shadow: var(--shadow-tile); }
.form { display: grid; gap: 0.9rem; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }

/* Campo con etiqueta flotante: la etiqueta vive dentro y sube al escribir (text-fields.md: indicar el propósito). */
.fl { position: relative; }
.fl input, .fl select, .fl textarea {
  width: 100%; height: 56px; padding: 1.55rem 1rem 0.45rem; border-radius: var(--r-ctl);
  border: 1px solid var(--sep); background: var(--tile); color: var(--label);
  font: 400 1.0625rem/1.3 var(--font); letter-spacing: var(--tr-body);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
  -webkit-appearance: none; appearance: none;
}
.fl textarea { height: auto; min-height: 7rem; resize: vertical; padding-top: 1.75rem; }
.fl label {
  position: absolute; left: 1rem; top: 1.05rem; right: 1rem; color: var(--label-2); font-size: 1.0625rem; letter-spacing: var(--tr-body);
  pointer-events: none; transform-origin: left top; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: transform 180ms var(--ease), color 180ms var(--ease);
}
.fl input:focus + label, .fl input:not(:placeholder-shown) + label,
.fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label,
.fl-select label { transform: translateY(-0.6rem) scale(0.72); }
.fl-select select { cursor: pointer; padding-right: 2.6rem; background: var(--tile) right 1rem center / 0.9rem no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.fl input:hover, .fl select:hover, .fl textarea:hover { border-color: var(--label-3); }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 4px var(--focus); }
.fl [aria-invalid="true"] { border-color: var(--bad); background-color: var(--bad-bg); }
.fl [aria-invalid="true"] + label { color: var(--bad); }
.field-error { display: flex; align-items: center; gap: 0.35rem; margin: 0.4rem 0 0 0.25rem; font-size: 0.75rem; color: var(--bad); letter-spacing: 0; }
.field-error::before { content: ""; width: 0.95rem; height: 0.95rem; flex: none; border-radius: 50%; background: var(--bad) center / 62% no-repeat 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.4' stroke-linecap='round'%3E%3Cpath d='M12 6v7M12 17.5v.5'/%3E%3C/svg%3E"); }

/* Control segmentado (segmented-controls.md): pocas opciones, mismo ancho, la elegida en una pastilla. */
.seg-field { border: 0; margin: 0.35rem 0 0; padding: 0; min-width: 0; }
.seg-field legend { padding: 0; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; letter-spacing: var(--tr-callout); }
.seg { --n: 3; position: relative; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; padding: 3px; border-radius: 11px; background: var(--fill); }
.seg-thumb {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / var(--n)); border-radius: 9px;
  background: var(--tile); box-shadow: 0 3px 8px rgb(0 0 0 / 0.12), 0 3px 1px rgb(0 0 0 / 0.04);
  opacity: 0; will-change: transform;
}
.seg[data-picked] .seg-thumb { opacity: 1; }
@media (prefers-color-scheme: dark) { .seg-thumb { background: #636366; box-shadow: none; } }
.seg label { position: relative; z-index: 1; display: grid; place-items: center; min-height: 40px; cursor: pointer; border-radius: 9px; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { font-size: 0.8125rem; font-weight: 500; letter-spacing: -0.006em; text-align: center; padding: 0 0.25rem; }
.seg input:checked + span { font-weight: 600; }
.seg label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 1px; }
.seg-field[aria-invalid="true"] .seg { box-shadow: inset 0 0 0 1px var(--bad); }

.check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; margin-top: 0.35rem; font-size: 0.875rem; letter-spacing: var(--tr-callout); color: var(--label-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--action); cursor: pointer; }
.check[aria-invalid="true"] input { outline: 2px solid var(--bad); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 0.85rem 1rem; border-radius: var(--r-ctl); background: var(--bad-bg); color: var(--bad); font-size: 0.875rem; }
.fine { margin: 0; font-size: 0.75rem; color: var(--label-2); letter-spacing: 0; }
.spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(255 255 255 / 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }
.btn[disabled] .spin { display: block; }
@keyframes spin { to { rotate: 360deg; } }
.done { text-align: center; padding: 3rem 1rem; outline: none; }
.done-mark { width: 4.5rem; height: 4.5rem; margin: 0 auto 1.25rem; fill: none; stroke: var(--good); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done-mark circle { stroke-dasharray: 145; stroke-dashoffset: 145; }
.done-mark path { stroke-dasharray: 34; stroke-dashoffset: 34; }
.done[data-shown] .done-mark circle { animation: draw 600ms var(--ease-out) forwards; }
.done[data-shown] .done-mark path { animation: draw 360ms 420ms var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { margin: 0; font: 600 2rem/1.12 var(--font-display); letter-spacing: var(--tr-title); }
.done p { margin: 0.75rem auto 0; max-width: 26rem; color: var(--label-2); }

/* ---------- Preguntas ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-list details { border-bottom: 1px solid var(--sep); }
.faq-list details:first-child { border-top: 1px solid var(--sep); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 44px; padding: 1.35rem 0; font: 600 1.3125rem/1.25 var(--font-display); letter-spacing: var(--tr-intro); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 0.75rem; height: 0.75rem; margin-right: 0.3rem; border-right: 2px solid var(--label-2); border-bottom: 2px solid var(--label-2); transform: translateY(-25%) rotate(45deg); transition: transform 300ms var(--ease-out); }
.faq-list details[open] summary::after { transform: translateY(15%) rotate(225deg); }
.faq-a p { margin: 0 0 1.5rem; max-width: 40rem; color: var(--label-2); }

/* ---------- Pie ---------- */
.foot { border-top: 1px solid var(--sep); background: var(--surface-2); color: var(--label-2); font-size: 0.75rem; line-height: 1.33; letter-spacing: 0; padding-block: 2.5rem calc(2.5rem + env(safe-area-inset-bottom, 0px)); }
.notes { margin: 0; padding: 0 0 1.25rem 1.1rem; border-bottom: 1px solid var(--sep); display: grid; gap: 0.75rem; max-width: 70rem; }
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.1rem; }
.crumbs { display: flex; align-items: center; gap: 0.4rem; color: var(--label); }
.crumbs a { color: var(--label-2); }
.crumbs svg { width: 0.65rem; height: 0.65rem; fill: none; stroke: var(--label-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
.foot-legal p { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; }
.foot-links a { color: var(--label-2); padding: 0 0.7rem; border-left: 1px solid var(--sep); }
.foot-links a:first-child { padding-left: 0; border-left: 0; }
.foot-lang { border: 0; background: none; padding: 0; min-height: 28px; color: var(--link); font: inherit; cursor: pointer; }

/* ---------- Aparición al entrar (motion.md: con propósito, opcional) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.js [data-reveal][data-in] { opacity: 1; transform: none; }

/* ---------- Tamaños de pantalla (por espacio disponible, layout.md) ---------- */
@media (max-width: 1068px) {
  .lnav-menu { display: none; }
  .lnav-actions { margin-left: auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b c" "d e" "f f"; }
  .tile-a { min-height: 26rem; }
  .hl { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; justify-items: center; gap: 1.75rem; }
  .hl-copy { justify-self: stretch; max-width: none; }
  .phone.phone-hl { margin: 0; }
  .hero-stage { grid-template-columns: 1fr; justify-items: center; }
  .phone.phone-hero { --w: clamp(12.5rem, min(52vw, 40vh), 30rem); }
  .notif { display: none; }
  .apply-grid, .faq-wrap, .dash-grid, .alone-grid { grid-template-columns: minmax(0, 1fr); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .person-lead { aspect-ratio: 4 / 3; min-height: 0; }
  .phone.phone-j { --w: min(26vw, 13rem); }
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-inc { grid-column: 1 / -1; }
}
@media (max-width: 734px) {
  .lnav-title { gap: 0.55rem; }
  .lnav-title img { height: 17px; }
  .lnav-lockup { padding-left: 0.55rem; letter-spacing: 0.04em; gap: 2px; }
  .lnav-lockup b { font-size: 0.5625rem; }
  .lnav-lockup span { font-size: 0.5rem; }
  /* En el móvil no cabe todo: el idioma sigue en el pie (y la página ya sigue el idioma del teléfono). */
  .lnav-lang { display: none; }
  /* En el teléfono no caben logo, rótulo, "Entrar" y "Regístrate": el registro ya
     está en el botón grande del hero, así que la barra deja solo "Entrar". */
  .lnav-actions .btn-sm { display: none; }
  .lnav-lockup span { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .rules-grid, .row2, .prices, .journey-steps { grid-template-columns: minmax(0, 1fr); }
  .journey-steps { gap: 3rem; }
  .phone.phone-j { --w: min(62vw, 15rem); }
  .person-lead { aspect-ratio: 3 / 4; }
  /* En el móvil los retratos pequeños llevan el nombre debajo: así no tapa la cara. */
  .person:not(.person-lead) { display: block; aspect-ratio: auto; }
  .person:not(.person-lead) img { position: relative; aspect-ratio: 3 / 4; height: auto; }
  .person:not(.person-lead)::after { display: none; }
  .person:not(.person-lead) .person-text { padding: 0.75rem 0.85rem 0.6rem; }
  .person:not(.person-lead) h3 { font-size: 0.9375rem; }
  .person:not(.person-lead) p { font-size: 0.75rem; }
  .person:not(.person-lead) .more { font-size: 0.8125rem; min-height: 36px; }
  .w { min-height: 9.5rem; }
  .w-bar { grid-template-columns: 4.75rem minmax(0, 1fr) 2.5rem; gap: 0.5rem; font-size: 0.8125rem; }
  .hl { width: 86vw; }
  .phone.phone-hl { --w: min(15rem, 64vw); }
  .phone.phone-hero { --w: clamp(12.5rem, min(62vw, 40vh), 18rem); }
  .compare table { table-layout: fixed; }
  .compare th, .compare td { padding: 1rem 0.35rem; }
  .compare thead th { font-size: 0.75rem; }
  .compare thead th:first-child, .compare tbody th { width: 34%; padding-left: 1rem; }
  .compare tbody th { font-size: 0.8125rem; line-height: 1.3; }
  .compare td { font-size: 1.25rem; }
  .seg span { font-size: 0.75rem; }
  .foot-legal { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .lnav-lockup span { display: none; }
}

/* ---------- Preferencias del sistema ---------- */
@media (prefers-reduced-transparency: reduce) {
  .lnav, .dots, .play { -webkit-backdrop-filter: none; backdrop-filter: none; }
  :root { --glass: #fbfbfd; }
  .lnav { --glass: #161617; }
}
@media (prefers-color-scheme: dark) and (prefers-reduced-transparency: reduce) { :root { --glass: #161617; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .why-sec { height: auto; padding-block: var(--section); }
  .why-sticky { position: static; height: auto; }
  .person img { transition: none; }
  .js [data-reveal] { transform: none; transition: opacity 300ms linear; }
  .ui-caret, .live { animation: none; }
  .btn, .play, .more svg, .fl label, .dot, .dot i, .faq-list summary::after { transition: none; }
  .done[data-shown] .done-mark circle, .done[data-shown] .done-mark path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Unirse: el registro vive en el portal (/signup) ---------- */
.join-tile { display: flex; flex-direction: column; align-self: start; gap: 1.1rem; }
.join-title { margin: 0; font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--font-display); letter-spacing: var(--tr-title); text-wrap: balance; }
.join-text { margin: 0; color: var(--label-2); font-size: 1.0625rem; line-height: 1.5; }
.join-steps { counter-reset: join; list-style: none; margin: 0.25rem 0 0.5rem; padding: 0; display: grid; gap: 0.75rem; }
.join-steps li { counter-increment: join; display: flex; align-items: center; gap: 0.75rem; font-size: 1.0625rem; }
.join-steps li::before {
  content: counter(join); flex: none; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: rgb(0 113 227 / 0.12); color: var(--action); font: 600 0.875rem/1 var(--font); font-variant-numeric: tabular-nums;
}
.btn-wide { width: 100%; }
.join-signin { margin: 0; text-align: center; color: var(--label-2); font-size: 0.9375rem; }

