/* SISU SPORT — sitio web. Tokens iguales a la app (src/theme): Noche por defecto, Día con [data-theme="light"]. */
:root {
  --bg: #0d1016; --sf: #161a22; --sf2: #1d212a; --bd: #2a2f3a;
  --tx: #ffffff; --tx2: #b5bcc8; --mu: #9aa3b2; --link: #5cc3ec;
  --inv: #ffffff; --invtx: #0d1016;
  --blue: #2fb0e3; --red: #d6334d; --magenta: #e0336b; --violet: #8a6f98;
  --grad: linear-gradient(90deg, var(--blue), var(--red));
  --grad135: linear-gradient(135deg, var(--blue), var(--red));
  --grad-text: linear-gradient(90deg, var(--blue), var(--magenta));
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f3f5f8; --sf: #ffffff; --sf2: #eaeef3; --bd: #d9dfe7;
  --tx: #0f1218; --tx2: #454d5b; --mu: #5f6877; --link: #1479a8;
  --inv: #0f1218; --invtx: #ffffff;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--tx);
  font-family: 'Figtree', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
img { display: block; max-width: 100%; }
main { overflow-x: clip; }
a { color: var(--link); text-decoration: none; }
a:hover { color: #ff6a8a; }
button { font-family: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }
::selection { background: rgba(214, 51, 77, .35); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Firma SISU */
.kicker {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--mu);
}
.kicker::before {
  content: ''; width: 16px; height: 7px; flex: none; border-radius: 1px;
  background: var(--grad); transform: skewX(-24deg);
}
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.display { margin: 0; font-weight: 900; font-style: italic; letter-spacing: -.02em; text-wrap: balance; }
.h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; }
.h2-sm { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.06; }

/* Botones */
.btn-grad {
  height: 44px; padding: 0 20px; border-radius: 999px; background: var(--grad); color: #fff;
  font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
}
.btn-grad:hover { color: #fff; filter: brightness(1.08); }
.btn-outline {
  height: 56px; border-radius: 999px; border: 2px solid var(--bd); color: var(--tx);
  font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center;
}
.btn-outline:hover { background: var(--sf2); color: var(--tx); }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--sf); color: var(--tx);
  cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none;
}
.icon-btn:hover { background: var(--sf2); }
.store {
  height: 60px; padding: 0 22px 0 18px; border-radius: 999px; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 12px; text-align: left;
}
.store:active { transform: scale(.97); }
.store-ios { background: var(--inv); color: var(--invtx); }
.store-android { background: var(--sf); color: var(--tx); border: 2px solid var(--bd); }
.store-android:hover { background: var(--sf2); }
.store-android small { color: var(--mu); }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 11px; font-weight: 700; white-space: nowrap; }
.store strong { font-size: 19px; font-weight: 800; white-space: nowrap; }
.store-dark { background: #0d1016; color: #fff; height: 62px; padding: 0 26px 0 20px; }
.store-dark small { color: #fff; }

/* Segmentado */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--sf); border-radius: 999px; padding: 5px; }
.seg button {
  height: 46px; border-radius: 999px; border: none; cursor: pointer; font-weight: 800; font-size: 15px;
  color: var(--tx2); background: transparent;
}
.seg button[aria-pressed="true"] { background: var(--grad); color: #fff; }

/* Teléfonos */
.phone { border-radius: 44px; background: #000; padding: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.phone img { width: 100%; height: auto; border-radius: 36px; aspect-ratio: 390 / 844; object-fit: cover; }

/* Navegación */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 2px solid var(--sf); transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.nav .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--tx); flex: none; }
.brand:hover { color: var(--tx); }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand span { font-size: 20px; font-weight: 900; font-style: italic; letter-spacing: .02em; white-space: nowrap; }
.nav-links { flex: 1; display: flex; gap: 2px; justify-content: center; min-width: 0; position: relative; }
.nav-links a { position: relative; z-index: 1; color: var(--tx2); font-weight: 700; font-size: 15px; padding: 10px 12px; border-radius: 999px; white-space: nowrap; transition: color .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--tx); }
.nav-pill {
  position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; background: var(--sf);
  opacity: 0; transition: transform .45s cubic-bezier(.2, .8, .2, 1), width .45s cubic-bezier(.2, .8, .2, 1), opacity .25s;
}
.nav-pill::after {
  content: ''; position: absolute; left: 50%; bottom: 4px; width: 14px; height: 4px; margin-left: -7px;
  border-radius: 1px; background: var(--grad); transform: skewX(-24deg);
}
.nav-pill.on { opacity: 1; }
.progress {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--grad);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}
.menu-btn { display: none; }
.burger { width: 18px; height: 14px; position: relative; display: block; }
.burger i { position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .3s, opacity .2s, top .3s; }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 5.75px; }
.burger i:nth-child(3) { top: 11.5px; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { top: 5.75px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(3) { top: 5.75px; transform: rotate(-45deg); }
.mobile-menu { display: none; }
.theme-icon-light { display: none; }
:root[data-theme="light"] .theme-icon-light { display: block; }
:root[data-theme="light"] .theme-icon-dark { display: none; }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1; letter-spacing: -.025em; }
.lead { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--tx2); max-width: 520px; text-wrap: pretty; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.toast { background: var(--sf); border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 700; color: var(--tx2); }
.toast[hidden] { display: none; }
.checks { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--mu); font-weight: 700; }
.checks span { display: flex; align-items: center; gap: 8px; }
.hero-art { position: relative; height: 620px; min-width: 0; }
.hero-blob { position: absolute; inset: 60px 0 40px 8%; border-radius: 999px 999px 999px 280px; background: linear-gradient(135deg, rgba(47, 176, 227, .28), rgba(214, 51, 77, .3)); }
.hero-a { position: absolute; left: 4%; top: 60px; width: 250px; }
.hero-b { position: absolute; right: 2%; top: 0; width: 270px; border-radius: 46px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.hero-b img { border-radius: 38px; }
.hero-medal {
  position: absolute; left: 0; bottom: 24px; background: var(--sf); border-radius: 999px; padding: 10px 20px 10px 10px;
  display: flex; align-items: center; gap: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.hero-medal span { display: flex; flex-direction: column; }
.hero-medal small { font-size: 12px; color: var(--mu); font-weight: 700; }
.hero-medal strong { font-weight: 800; font-size: 16px; }
.medal { width: 52px; height: 52px; border-radius: 50%; padding: 5px; flex: none; }
.medal i {
  width: 100%; height: 100%; border-radius: 50%; background: #11151c; color: #fff; font-style: italic; font-weight: 900;
  font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.medal-gold { background: linear-gradient(135deg, #ffe08a, #c98a1a); }

/* Funciones */
.features { padding-top: 80px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 96px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.big { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.big.reverse { flex-direction: row-reverse; }
.big-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.big-num { font-size: 15px; font-weight: 900; font-style: italic; align-self: flex-start; }
.big h3 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.015em; }
.big p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--tx2); text-wrap: pretty; max-width: 520px; }
.points { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.points li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.dot-check {
  width: 24px; height: 24px; border-radius: 50%; background: var(--grad135); flex: none;
  display: flex; align-items: center; justify-content: center; margin-top: -1px;
}
.big-art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; gap: 18px; position: relative; padding: 28px 0; }
.big-art::before { content: ''; position: absolute; inset: 0 6%; border-radius: 200px; background: var(--sf); }
.big-art .phone { position: relative; width: min(240px, 44%); border-radius: 40px; padding: 7px; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.big-art .phone img { border-radius: 33px; }
.big-art .phone:first-child { margin-top: 40px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.tile { background: var(--sf); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.tile-icon {
  width: 52px; height: 52px; border-radius: 18px; transform: skewX(-8deg); background: var(--grad135);
  display: flex; align-items: center; justify-content: center;
}
.tile-icon svg { transform: skewX(8deg); }
.tile h3 { margin: 0; font-size: 20px; font-weight: 800; }
.tile p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--tx2); }

/* Día / Noche */
.daynight { padding-top: 60px; padding-bottom: 60px; }
.daynight-card { background: var(--sf); border-radius: 48px; padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.daynight-copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.daynight-copy p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--tx2); }
.daynight .seg { background: var(--bg); max-width: 320px; }
.hint { font-size: 13px; color: var(--mu); }
.daynight-art { flex: 1 1 380px; display: flex; justify-content: center; gap: 18px; min-width: 0; }
.daynight-art .phone { width: min(230px, 46%); border-radius: 40px; padding: 7px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); transition: opacity .3s; }
.daynight-art .phone img { border-radius: 33px; }
.daynight-art .phone-day { transform: rotate(-3deg); opacity: .55; }
.daynight-art .phone-night { transform: rotate(3deg); margin-top: 36px; }
:root[data-theme="light"] .phone-day { opacity: 1; }
:root[data-theme="light"] .phone-night { opacity: .55; }

/* Compatibilidad */
.compat { padding-top: 60px; padding-bottom: 60px; display: flex; flex-direction: column; gap: 28px; }
.compat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.compat-card { background: var(--sf); border-radius: 32px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.compat-card h3 { margin: 0; font-size: 20px; font-weight: 800; }
.compat-card p { margin: 0; font-size: 15px; color: var(--tx2); line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { height: 38px; border-radius: 999px; background: var(--bg); padding: 0 14px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.chips li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

/* Planes */
.plans { padding-top: 80px; padding-bottom: 60px; display: flex; flex-direction: column; gap: 32px; }
.plans-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.plans-head .section-head { max-width: 640px; }
.plans-head .seg { min-width: 280px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 18px; align-items: stretch; }
.plan { background: var(--sf); border-radius: 36px; padding: 34px; display: flex; flex-direction: column; gap: 22px; }
.plan-pro { border-radius: 36px; padding: 3px; background: var(--grad135); }
.plan-pro .plan { border-radius: 33px; padding: 31px; height: 100%; }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plan-name { display: flex; flex-direction: column; gap: 6px; }
.plan-name h3 { margin: 0; font-size: 22px; font-weight: 900; font-style: italic; }
.plan-name p { margin: 0; font-size: 15px; color: var(--tx2); }
.badge { font-size: 12px; font-weight: 900; border-radius: 999px; padding: 6px 12px; background: var(--grad); color: #fff; white-space: nowrap; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price strong { font-size: 60px; line-height: 1; font-weight: 900; font-style: italic; }
.price span { font-size: 16px; color: var(--mu); font-weight: 700; }
.price-note { font-size: 14px; color: var(--tx2); font-weight: 700; margin-top: 6px; }
.plan ul { display: flex; flex-direction: column; gap: 12px; flex: 1; margin: 0; padding: 0; list-style: none; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.plan li svg { flex: none; margin-top: 1px; }
.plan .dot-check { width: 20px; height: 20px; margin-top: 1px; }
.plan-sub { font-size: 15px; font-weight: 800; }
.plan .btn-grad { height: 56px; font-size: 16px; }
.fine { font-size: 14px; color: var(--mu); line-height: 1.5; max-width: 760px; margin: 0; }

/* FAQ */
.faq { max-width: 900px; padding-top: 60px; padding-bottom: 60px; display: flex; flex-direction: column; gap: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--sf); border-radius: 28px; overflow: hidden; }
.faq-item h3 { margin: 0; }
.faq-q {
  width: 100%; border: none; background: transparent; color: var(--tx); cursor: pointer; padding: 20px 24px;
  display: flex; align-items: center; gap: 16px; text-align: left; font-size: 18px; font-weight: 800;
}
.faq-q:hover { background: var(--sf2); }
.faq-q span:first-child { flex: 1; }
.faq-plus {
  width: 34px; height: 34px; border-radius: 50%; background: var(--bg); flex: none;
  display: flex; align-items: center; justify-content: center; transition: transform .2s;
}
.faq-q[aria-expanded="true"] .faq-plus { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; font-size: 16px; line-height: 1.6; color: var(--tx2); max-width: 720px; margin: 0; }

/* Descargar */
.cta { padding-top: 40px; padding-bottom: 80px; }
.cta-card {
  border-radius: 48px; padding: clamp(32px, 6vw, 72px); color: #fff;
  background: linear-gradient(120deg, var(--blue), var(--violet) 50%, var(--red));
  display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: space-between;
}
.cta-copy { display: flex; flex-direction: column; gap: 16px; max-width: 620px; flex: 1 1 320px; min-width: 0; }
.cta-copy img { width: 72px; height: 72px; border-radius: 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.cta-copy h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; }
.cta-copy p { margin: 0; font-size: 18px; line-height: 1.55; }
.cta-stores { display: flex; flex-direction: column; gap: 12px; }
.cta .toast { background: rgba(13, 16, 22, .55); color: #fff; }

/* Lista de lanzamiento */
.hero-list { font-weight: 800; font-size: 15px; color: var(--link); }
.waitlist { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; max-width: 520px; }
.wl-row { display: flex; gap: 8px; background: rgba(13, 16, 22, .35); border-radius: 999px; padding: 6px; }
.wl-row input {
  flex: 1; width: 0; min-width: 0; height: 48px; border: none; border-radius: 999px; padding: 0 18px;
  background: transparent; color: #fff; font: 600 16px 'Figtree', system-ui, sans-serif;
}
.wl-row input::placeholder { color: rgba(255, 255, 255, .7); }
.wl-row input:focus-visible { outline: 2px solid #fff; outline-offset: 0; }
.wl-row button {
  height: 48px; padding: 0 20px; border: none; border-radius: 999px; cursor: pointer; flex: none;
  background: #0d1016; color: #fff; font-weight: 800; font-size: 15px; white-space: nowrap;
}
.wl-row button:hover { transform: translateY(-1px); }
.wl-row button:disabled { opacity: .6; cursor: progress; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: #fff; }
.wl-consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: #0d1016; }
.wl-consent a { color: #fff; text-decoration: underline; }
.wl-msg { margin: 0; min-height: 1.4em; font-size: 14px; font-weight: 800; color: #fff; }
.wl-msg[data-kind="error"] { color: #ffe1e6; }

/* Footer */
.footer { border-top: 2px solid var(--sf); }
.footer-top { padding-top: 40px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.footer-brand .brand img { width: 36px; height: 36px; border-radius: 11px; }
.footer-brand .brand span { font-size: 18px; }
.footer-brand p { margin: 0; font-size: 14px; color: var(--mu); line-height: 1.5; }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-cols h3 { margin: 0; font-size: 15px; font-weight: 800; }
.footer-cols a { color: var(--tx2); }
.footer-cols a:hover { color: #ff6a8a; }
.copy { padding-bottom: 32px; font-size: 13px; color: var(--mu); margin: 0 auto; }

/* Páginas legales */
.legal-nav .wrap { justify-content: space-between; }
.legal-back { font-weight: 800; font-size: 15px; color: var(--tx2); white-space: nowrap; }
.legal-back:hover { color: var(--tx); }
.legal { max-width: 780px; padding-top: 56px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 18px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.04; }
.legal .updated { margin: 0; color: var(--mu); font-size: 14px; font-weight: 700; }
.legal .draft {
  margin: 0; padding: 14px 18px; border-radius: 20px; background: rgba(242, 184, 75, .14); color: var(--tx);
  font-size: 14px; line-height: 1.5; border: 2px solid rgba(242, 184, 75, .45);
}
.legal h2 { margin: 22px 0 0; font-size: 22px; font-weight: 900; font-style: italic; line-height: 1.2; }
.legal h3 { margin: 6px 0 0; font-size: 17px; font-weight: 800; }
.legal p, .legal li { margin: 0; font-size: 16px; line-height: 1.65; color: var(--tx2); }
.legal ul, .legal ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal strong { color: var(--tx); }
.legal mark { background: rgba(242, 184, 75, .28); color: var(--tx); border-radius: 6px; padding: 0 4px; }
.legal .toc { background: var(--sf); border-radius: 24px; padding: 20px 24px; }
.legal .toc ol { gap: 4px; }
.legal .toc a { color: var(--link); }

/* Páginas de cuenta (confirmación y nueva contraseña) */
.account { max-width: 560px; }
.account-form { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.account-form[hidden] { display: none; }
.account-form label { font-size: 13px; font-weight: 700; color: var(--tx2); }
.account-form input {
  height: 52px; border-radius: 999px; border: 2px solid var(--bd); background: var(--sf); color: var(--tx);
  padding: 0 20px; font: 500 16px 'Figtree', system-ui, sans-serif;
}
.account-form input:focus-visible { outline: 2px solid var(--magenta); outline-offset: 0; }
.account-form .btn-grad { height: 54px; border: none; cursor: pointer; font-size: 16px; margin-top: 6px; }
.account-form .btn-grad:disabled { opacity: .6; cursor: progress; }
.account-msg { min-height: 1.4em; margin: 0; font-size: 14px; font-weight: 700; color: var(--tx2); }

/* Responsivo */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .mobile-menu {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--bg);
    border-bottom: 2px solid var(--sf); box-shadow: 0 24px 40px rgba(0, 0, 0, .3);
    display: flex; flex-direction: column; gap: 4px; padding: 0 24px; max-height: 0; overflow: hidden;
    opacity: 0; visibility: hidden; transition: max-height .4s cubic-bezier(.2, .8, .2, 1), opacity .3s, padding .4s, visibility .4s;
  }
  .mobile-menu.open { max-height: 420px; opacity: 1; visibility: visible; padding: 8px 24px 22px; }
  .mobile-menu a {
    color: var(--tx); font-size: 26px; font-weight: 900; font-style: italic; padding: 10px 0;
    display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateX(-24px);
    transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 50ms);
  }
  .mobile-menu a::before { content: ''; width: 14px; height: 6px; border-radius: 1px; background: var(--grad); transform: skewX(-24deg); }
  .mobile-menu a.active { color: var(--magenta); }
  .mobile-menu.open a { opacity: 1; transform: none; }
  .nav .wrap { justify-content: space-between; }
  .brand { margin-right: auto; }
}
@media (max-width: 520px) {
  .brand span { font-size: 17px; }
  .nav .wrap > .btn-grad { display: none; }
  .hero { padding-top: 40px; }
  .hero-art { height: 500px; }
  .hero-a { width: 200px; left: 0; }
  .hero-b { width: 215px; right: 10px; }
  .hero-medal { bottom: 8px; }
  .plans-head .seg { min-width: 0; width: 100%; }
  .price strong { font-size: 52px; }
}
/* ── Animaciones ─────────────────────────────────────────────────────────
   Solo con JS (clase .js en <html>); sin JS todo se ve normal. */
.js .reveal {
  opacity: 0; translate: 0 40px;
  transition: opacity .8s ease, translate .9s cubic-bezier(.2, .7, .2, 1), scale .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0ms);
}
.js .reveal.from-left { translate: -70px 0; }
.js .reveal.from-right { translate: 70px 0; }
.js .reveal.zoom { translate: 0 30px; scale: .9; }
.js .reveal.in { opacity: 1; translate: 0 0; scale: 1; }

/* Portada: parallax de los teléfonos y medalla flotando */
.hero-a { transform: rotate(-5deg) translateY(var(--py, 0px)); }
.hero-b { transform: rotate(4deg) translateY(calc(var(--py, 0px) * -0.6)); }
.hero-blob { transform: translateY(calc(var(--py, 0px) * .4)); }
.hero-medal { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero h1 .grad-text, .big-num.grad-text {
  background-image: linear-gradient(90deg, var(--blue), var(--magenta), var(--blue));
  background-size: 200% 100%; animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* Interacción */
.tile, .compat-card, .plan, .faq-item { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, background .3s; }
.tile:hover, .compat-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.tile:hover .tile-icon { animation: wiggle .5s ease; }
@keyframes wiggle { 30% { transform: skewX(-8deg) rotate(-8deg) scale(1.08); } 60% { transform: skewX(-8deg) rotate(5deg); } }
.plan-grid > *:hover { transform: translateY(-4px); }
.big-art .phone { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.big-art:hover .phone:first-child { transform: rotate(-3deg) translateY(-6px); }
.big-art:hover .phone:last-child { transform: rotate(3deg) translateY(-6px); }
.store, .btn-grad, .btn-outline { transition: transform .2s, filter .2s, background .2s; }
.store:hover, .btn-grad:hover { transform: translateY(-2px); }
.price strong.bump { animation: bump .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes bump { 0% { opacity: 0; transform: translateY(14px); } 100% { opacity: 1; transform: none; } }
.faq-a:not([hidden]) { animation: open .35s ease; }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }
.toast:not([hidden]) { animation: open .3s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; translate: none; scale: none; }
  .hero-a { transform: rotate(-5deg); }
  .hero-b { transform: rotate(4deg); }
  .hero-blob { transform: none; }
}
