/* =====================================================================
   Hyriq · landing (v2)
   Paleta y tipografías de la app: negro, naranja #FF5625, cian #00D4FF.
   ===================================================================== */
/* Fuentes alojadas en la propia web: más rápido y sin enviar la IP de los visitantes a Google */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/BarlowCondensed_800ExtraBold.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url('/fonts/BarlowCondensed_900Black.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/Barlow_400Regular.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/Barlow_500Medium.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/Barlow_600SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/JetBrainsMono_500Medium.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/JetBrainsMono_700Bold.woff2') format('woff2'); }

:root {
  --bg: #0A0A0A;
  --s1: #131313;
  --s2: #1C1B1B;
  --line: #262626;
  --light: #F4F2EE;
  --light-2: #E8E5DF;
  --light-line: #D9D4CC;
  --t1: #F4F2EE;
  --t2: #A3A3A3;
  --t3: #6B6B6B;
  --dark: #0A0A0A;
  --dark-2: #4A4A4A;
  --o: #FF5625;
  --o-deep: #E8410F;
  --c: #00D4FF;
  --ok: #00C853;
  --err: #FF3B5C;
  --grad: linear-gradient(90deg, #FF5625 0%, #00D4FF 100%);
  --f-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Barlow', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --r: 14px;
  --wrap: 1180px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--t1); font-family: var(--f-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.o { color: var(--o); }
.c { color: var(--c); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; border-radius: 4px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 26px; border: 0; border-radius: 10px;
  background: var(--o); color: #fff; text-decoration: none; white-space: nowrap;
  font-family: var(--f-head); font-weight: 800; font-size: 19px; letter-spacing: 1.2px; text-transform: uppercase;
  box-shadow: 0 10px 30px -10px rgba(255, 86, 37, .6);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--o-deep); transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(255, 86, 37, .75); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .7; cursor: default; transform: none; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 8px; box-shadow: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); transition: background .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(10, 10, 10, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { font-family: var(--f-head); font-weight: 900; font-size: 28px; letter-spacing: 1px; text-decoration: none; line-height: 1; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--t2); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--t1); }

/* ---------- Tipografía de sección ---------- */
.sec { position: relative; padding: 120px 0; }
.sec-light { background: var(--light); color: var(--dark); }
.sec-surface { background: var(--s1); overflow: hidden; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--c); margin-bottom: 18px; }
.eyebrow-dark { color: var(--o); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(0, 200, 83, .18); animation: pulse 2s infinite; }
.h2 { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 5.4vw, 68px); line-height: .95; letter-spacing: .3px; max-width: 900px; }
.lead { margin-top: 20px; font-size: 19px; color: var(--t2); max-width: 620px; }
.lead-dark { color: var(--dark-2); }
.lead a { color: var(--c); }

/* ---------- Teléfono ---------- */
.phone {
  position: relative; width: 300px; aspect-ratio: 390 / 844; padding: 10px;
  background: linear-gradient(145deg, #2a2a2a, #111 40%, #1d1d1d);
  border-radius: 46px;
  box-shadow: 0 0 0 1px #3a3a3a inset, 0 40px 90px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .04);
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #0A0A0A; }
.screen img, .screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen .slide { opacity: 0; transition: opacity .8s ease; }
.screen .slide.is-on { opacity: 1; animation: zoomout .8s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes zoomout { from { transform: scale(1.06); } to { transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 96px; overflow: hidden; }
.hero-glow { position: absolute; width: 900px; height: 900px; right: -260px; top: -200px; background: radial-gradient(circle, rgba(255, 86, 37, .28), rgba(255, 86, 37, 0) 60%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-title { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(46px, 5.3vw, 76px); line-height: .92; letter-spacing: .2px; }
.hero-sub { margin-top: 24px; font-size: 19px; color: var(--t2); max-width: 560px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--t2); font-size: 15px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--c); }
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.phone-hero { width: 320px; animation: float 7s ease-in-out infinite; }
.carousel-dots { display: flex; gap: 6px; margin-top: 26px; padding: 5px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line); }
.carousel-dots button { border: 0; background: transparent; color: var(--t3); font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; transition: background .2s, color .2s; }
.carousel-dots button.is-on { background: var(--o); color: #fff; }

/* ---------- Waitlist form ---------- */
.wl-form { display: flex; gap: 10px; margin-top: 34px; max-width: 540px; }
.wl-input { flex: 1; min-width: 0; height: 56px; padding: 0 18px; border-radius: 10px; border: 1.5px solid #333; background: rgba(19, 19, 19, .9); color: var(--t1); font: inherit; font-size: 17px; transition: border-color .15s, box-shadow .15s; }
.wl-input::placeholder { color: var(--t3); }
.wl-input:focus { outline: none; border-color: var(--c); box-shadow: 0 0 0 4px rgba(0, 212, 255, .14); }
.wl-input.is-bad { border-color: var(--err); box-shadow: 0 0 0 4px rgba(255, 59, 92, .14); }
.wl-note { margin-top: 12px; font-size: 13.5px; color: var(--t3); }
.wl-note a { color: var(--t2); }
.wl-error { margin-top: 10px; font-size: 14px; color: var(--err); }

/* ---------- Ticker ---------- */
.ticker-wrap { overflow: hidden; padding: 14px 0; margin-top: -14px; position: relative; z-index: 2; }
.ticker { background: var(--o); padding: 15px 0; transform: rotate(-1.2deg); margin: 0 -20px; }
.ticker-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.ticker span { font-family: var(--f-head); font-weight: 900; font-size: 24px; letter-spacing: 1.5px; color: #0A0A0A; padding: 0 22px; white-space: nowrap; display: flex; align-items: center; gap: 44px; }
.ticker span::after { content: '◆'; font-size: 12px; opacity: .55; }

/* ---------- Problema ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.cmp { border-radius: var(--r); padding: 34px; }
.cmp ul { list-style: none; display: grid; gap: 20px; margin-top: 22px; }
.cmp li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.cmp svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; margin-top: 1px; }
.cmp-h { font-family: var(--f-head); font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: .5px; }
.cmp-bad { background: var(--light-2); color: var(--dark-2); border: 1px solid var(--light-line); }
.cmp-bad b { color: var(--dark); }
.cmp-bad svg { background: rgba(10,10,10,.08); color: var(--dark-2); }
.cmp-good { background: var(--bg); color: var(--t2); box-shadow: 0 30px 60px -30px rgba(255, 86, 37, .45); border: 1px solid #2a2a2a; }
.cmp-good .cmp-h { color: var(--t1); }
.cmp-good b { color: var(--t1); }
.cmp-good svg { background: var(--o); color: #fff; }

/* ---------- Cómo funciona ---------- */
.how { display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: center; margin-top: 56px; }
.how-steps { list-style: none; display: grid; gap: 6px; }
.how-step { position: relative; padding: 18px 0 18px 28px; border-left: 2px solid var(--line); }
.how-step::before { content: ''; position: absolute; left: -2px; top: 0; width: 2px; height: 0; background: var(--o); }
.how-step.is-on::before { height: 100%; }
.how.is-auto .how-step.is-on::before { animation: howfill 6s linear forwards; }
.how-step h3 { margin: 0; }
.how-btn { display: flex; align-items: baseline; gap: 16px; width: 100%; padding: 0; border: 0; background: none; color: var(--t3); text-align: left; transition: color .25s ease; }
.how-btn:hover { color: var(--t2); }
.how-step.is-on .how-btn { color: var(--t1); }
.how-n { font-family: var(--f-mono); font-weight: 700; font-size: 14px; color: var(--o); letter-spacing: 2px; }
.how-t { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 42px); line-height: 1; }
.how-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.how-body > p { overflow: hidden; min-height: 0; color: var(--t2); font-size: 18px; max-width: 480px; padding-left: 46px; }
.how-step.is-on .how-body { grid-template-rows: 1fr; }
.how-step.is-on .how-body > p { padding-top: 12px; }
.how-img { display: none; }
.how-phone { display: flex; justify-content: center; }
.how-phone .phone { width: 320px; }
@keyframes howfill { from { height: 0; } to { height: 100%; } }

/* ---------- Modo entreno ---------- */
.train-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.train-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.train-visual::before { content: ''; position: absolute; width: 520px; height: 520px; top: 50%; left: 50%; transform: translate(-50%, -55%); background: radial-gradient(circle, rgba(0, 212, 255, .22), transparent 62%); pointer-events: none; }
.phone-video { width: 320px; }
.rec { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--t2); }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--err); animation: pulse 1.6s infinite; }
.ticks { list-style: none; display: grid; gap: 18px; margin-top: 34px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--t2); font-size: 17px; }
.ticks b { color: var(--t1); }
.ticks svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(0, 212, 255, .14); color: var(--c); margin-top: 1px; }

/* ---------- Adaptación ---------- */
.cycle { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; height: 300px; margin-top: 56px; padding: 26px 26px 20px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.cy { position: relative; height: 100%; display: grid; grid-template-rows: 1fr auto auto; }
.cy-col { display: flex; align-items: flex-end; border-bottom: 1px solid #333; }
.cy-col .cy-bar { width: 100%; }
.cy-bar { display: block; height: 0; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--o), rgba(255, 86, 37, .35)); transition: height 1.1s cubic-bezier(.2, .8, .2, 1); }
.cycle.is-in .cy-bar { height: var(--h); }
.cy-d .cy-bar { background: linear-gradient(180deg, var(--c), rgba(0, 212, 255, .3)); }
.cy:nth-child(2) .cy-bar { transition-delay: .12s; }
.cy:nth-child(3) .cy-bar { transition-delay: .24s; }
.cy:nth-child(4) .cy-bar { transition-delay: .36s; }
.cy-l, .cy-t { font-family: var(--f-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.cy-l { margin-top: 12px; color: var(--t3); }
.cy-t { color: var(--t1); font-weight: 700; }
.cy-d .cy-t { color: var(--c); }
.adapt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.adapt { padding: 28px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.adapt-k { font-family: var(--f-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c); }
.adapt h3 { font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: 28px; margin: 10px 0 8px; line-height: 1; }
.adapt p { color: var(--t2); font-size: 16px; }

/* ---------- Para quién ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.who { padding: 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--light-line); transition: transform .2s ease, box-shadow .2s ease; }
.who:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .35); }
.who-tag { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--dark); color: var(--o); font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.who h3 { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: 32px; margin: 16px 0 8px; line-height: 1; }
.who p { color: var(--dark-2); font-size: 16px; }
.mods-box { margin-top: 28px; padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--light-line); }
.mods-label { font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark); }
.mods-label span { color: var(--dark-2); font-weight: 500; }
.mods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mods button { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--light-line); background: var(--light); color: var(--dark); font-family: var(--f-head); font-weight: 800; font-size: 17px; letter-spacing: 1px; text-transform: uppercase; transition: border-color .15s, background .15s, color .15s; }
.mods button:hover { border-color: var(--dark); }
.mods button[aria-selected="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.mods button.mods-alt[aria-selected="true"] { background: var(--o); border-color: var(--o); }
.mod-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--light-2); }
.mod-name { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: 36px; line-height: 1; }
.mod-desc { margin-top: 10px; color: var(--dark-2); font-size: 16.5px; max-width: 420px; }
.mod-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.mod-table th, .mod-table td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--light-2); }
.mod-table thead th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark-2); font-weight: 700; }
.mod-table tbody th { font-weight: 600; color: var(--dark); }
.mod-table td { font-family: var(--f-mono); font-weight: 700; color: var(--dark); }
.mod-table:empty { display: none; }
.mods-foot { margin-top: 18px; font-size: 13.5px; color: var(--dark-2); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 22px; height: 22px; color: var(--o); transition: transform .25s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--t2); }
.faq details a { color: var(--c); }

/* ---------- CTA final ---------- */
.cta { overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.cta-glow { position: absolute; left: 50%; top: 50%; width: 1100px; height: 700px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(255, 86, 37, .22), rgba(0, 212, 255, .08) 45%, transparent 70%); pointer-events: none; }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-title { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(48px, 7vw, 96px); line-height: .92; }
.cta .lead { margin-left: auto; margin-right: auto; }
.wl-form-lg { width: 100%; max-width: 560px; }

/* ---------- Mensaje ---------- */
.toast-wrap { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .2s ease; }
.toast-wrap[hidden] { display: none; }
.toast { position: relative; width: 100%; max-width: 440px; padding: 32px 28px 26px; border-radius: 18px; background: var(--s1); border: 1px solid #333; border-top: 4px solid var(--ok); animation: pop .3s cubic-bezier(.2, .9, .3, 1.2); }
.toast[data-kind="info"] { border-top-color: var(--c); }
.toast[data-kind="error"] { border-top-color: var(--err); }
.toast-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--s2); color: var(--t2); }
.toast-x svg { width: 16px; height: 16px; }
.toast-title { font-family: var(--f-head); font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 1; padding-right: 30px; }
.toast-body { margin-top: 12px; color: var(--t1); }
.toast-tip { margin-top: 14px; padding: 14px; border-radius: 10px; background: var(--s2); color: var(--t2); font-size: 14.5px; }
.toast-tip:empty { display: none; }
.toast-btn { width: 100%; margin-top: 22px; }

/* ---------- Barra móvil ---------- */
.mbar { display: none; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-copy { color: var(--t3); font-size: 14px; }
.footer-copy a { color: var(--t2); }
.footer-by { display: flex; align-items: center; gap: 14px; color: var(--t3); font-size: 14px; }
.footer-social { display: flex; gap: 10px; }
.social-link { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--s1); border: 1px solid var(--line); transition: border-color .15s; }
.social-link:hover { border-color: var(--o); }
.social-link svg { width: 17px; height: 17px; fill: var(--t2); }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .mod-panel { grid-template-columns: 1fr; gap: 18px; }
  .sec { padding: 88px 0; }
  .nav-links { display: none; }
  .nav-inner .btn-sm { margin-left: auto; }
  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 72px; }
  .hero-grid, .train-grid, .faq-wrap { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { order: 2; }
  .compare, .adapt-grid, .who-grid { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .how-phone { display: none; }
  .how-steps { gap: 0; }
  .how-step { padding: 32px 0 32px 22px; border-left-color: var(--o); }
  .how-step::before { display: none; }
  .how-btn { color: var(--t1); pointer-events: none; }
  .how-body { grid-template-rows: 1fr; }
  .how-body > p { padding: 12px 0 0; }
  .how-img { display: block; width: 100%; max-width: 300px; height: 340px; object-fit: cover; object-position: top; margin-top: 24px; border-radius: 22px 22px 0 0; border: 6px solid #1d1d1d; border-bottom: 0; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
  .train-visual { order: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 72px 0; }
  .hero-title { font-size: clamp(42px, 12.5vw, 60px); }
  .hero-sub, .lead { font-size: 17px; }
  .wl-form { flex-direction: column; }
  .wl-input { flex: none; width: 100%; }
  .wl-form .btn { width: 100%; }
  .phone-hero, .phone-video { width: 270px; }
          .hero-title br { display: none; }
  .carousel-dots button { padding: 6px 9px; font-size: 13px; }
  .cmp { padding: 24px; }
  .mods-box { padding: 20px 16px; }
  .mod-panel { grid-template-columns: 1fr; gap: 18px; }
  .mods button { font-size: 15px; padding: 9px 13px; }
  .mod-table th, .mod-table td { padding: 8px 6px; font-size: 14px; }
  .cycle { height: 240px; padding: 18px 14px 16px; gap: 8px; }
  .cy-l, .cy-t { font-size: 10.5px; letter-spacing: .5px; }
  .footer { padding-bottom: 104px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-by { flex-direction: column; gap: 12px; }
  .mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(10,10,10,0), rgba(10,10,10,.95) 35%); transform: translateY(110%); transition: transform .3s ease; }
  .mbar.is-on { transform: none; }
  .mbar .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .cy-bar { height: var(--h); }
}
.how.is-paused .how-step.is-on::before { animation-play-state: paused; }
