/* OmniSell · Landing. Mismo lenguaje visual del panel admin:
   blanco/slate, azul #2563eb, Inter 900 en mayúsculas, tarjetas muy redondeadas. */
:root {
  --blue: #2563eb;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --ink: #0b1220;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --green: #059669;
  --green-50: #ecfdf5;
  --amber: #f59e0b;
  --amber-50: #fffbeb;
  --rose: #e11d48;
  --rose-50: #fff1f2;
  --wa: #25d366;
  --radius-xl: 2.5rem;
  --radius-lg: 1.75rem;
  --radius-md: 1.25rem;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 40px -12px rgba(15, 23, 42, .12);
  --shadow-blue: 0 18px 40px -14px rgba(37, 99, 235, .55);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--slate-900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(37, 99, 235, .2); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

/* ---------- Tipografía estilo panel ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-50); border: 1px solid var(--blue-100);
  padding: .5rem .9rem; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(37,99,235,.5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(37,99,235,.45);} 80%,100% { box-shadow: 0 0 0 10px rgba(37,99,235,0);} }

.display {
  font-weight: 900; text-transform: uppercase; font-style: italic;
  letter-spacing: -.035em; line-height: .98; color: var(--ink); margin: 0;
}
.h1 { font-size: clamp(2.35rem, 6.2vw, 4.6rem); }
.h2 { font-size: clamp(1.9rem, 4.4vw, 3.25rem); }
.h3 { font-size: 1.25rem; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; margin: 0; line-height: 1.2; }
.blue { color: var(--blue); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--slate-600); max-width: 640px; }
.muted { color: var(--slate-500); }
.label {
  font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--slate-500);
}
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > .eyebrow { justify-self: start; }
.section-head.center { text-align: center; justify-items: center; }
.section-head.center > .eyebrow { justify-self: center; }
.section-head.center .lead { margin: 0 auto; }
.bg-soft { background: var(--slate-50); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .95rem 1.6rem; border-radius: 1.1rem; border: 0;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font-weight: 900; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .2s;
  box-shadow: var(--shadow-blue); overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -16px rgba(37,99,235,.7); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ghost { --bg: #fff; --fg: var(--slate-900); box-shadow: inset 0 0 0 1.5px var(--slate-200); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--slate-900); }
.btn-dark { --bg: var(--slate-900); box-shadow: 0 18px 40px -16px rgba(15,23,42,.6); }
.btn-wa { --bg: var(--wa); --fg: #062e16; box-shadow: 0 18px 40px -14px rgba(37, 211, 102, .6); }
.btn-lg { min-height: 60px; padding: 1.1rem 2rem; font-size: .85rem; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.scrolled { background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--slate-200); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 18px rgba(15,23,42,.14); }
.brand-name { font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; font-size: 1.15rem; line-height: 1; }
.brand-name small { display: block; font-size: .56rem; letter-spacing: .26em; color: var(--slate-500); margin-top: 4px; font-weight: 800; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate-600); padding: .65rem .8rem; border-radius: .9rem; transition: background .2s, color .2s;
}
.nav a:hover { background: var(--slate-100); color: var(--ink); }
.header-cta { margin-left: auto; }
.header-cta .btn { min-height: 44px; padding: .7rem 1.1rem; font-size: .7rem; }
.menu-btn {
  width: 44px; height: 44px; border-radius: 14px; border: 1.5px solid var(--slate-200); background: #fff;
  display: inline-grid; place-items: center; margin-left: 8px;
}
.menu-btn span { width: 18px; height: 2px; background: var(--ink); display: block; position: relative; transition: transform .3s var(--ease); }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }
.mobile-nav {
  position: fixed; inset: 76px 0 auto 0; z-index: 49; background: #fff; border-bottom: 1px solid var(--slate-200);
  padding: 12px 20px 24px; display: grid; gap: 4px;
  transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .35s var(--ease);
  box-shadow: 0 30px 60px -30px rgba(15,23,42,.25);
}
.menu-open .mobile-nav { transform: none; opacity: 1; pointer-events: auto; }
.mobile-nav a { text-decoration: none; padding: 14px 8px; font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--slate-100); }
.mobile-nav .btn { margin-top: 12px; }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .header-cta { margin-left: 8px; }
  .menu-btn, .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 128px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(37,99,235,.08), transparent 60%),
    radial-gradient(700px 400px at 0% 90%, rgba(37,99,235,.05), transparent 60%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .08s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .16s; }
.hero h1 .line:nth-child(4) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 0; margin: 4px 0 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--slate-700); }
.trust svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }
.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--radius-xl); overflow: hidden; background: #fff; aspect-ratio: 4 / 3.4;
  box-shadow: var(--shadow-card); border: 1px solid var(--slate-200);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.float-card {
  position: absolute; background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border: 1px solid var(--slate-200); border-radius: 1.25rem; padding: 12px 14px;
  box-shadow: 0 20px 50px -18px rgba(15,23,42,.3);
  display: flex; align-items: center; gap: 12px; min-width: 0; max-width: 260px;
  opacity: 0; animation: popIn .9s var(--ease) forwards, bob 6s ease-in-out infinite;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card b { display: block; font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; }
.float-card small { display: block; font-size: .74rem; color: var(--slate-500); line-height: 1.3; }
.fc-1 { top: 8%; left: -4%; animation-delay: .6s, 1.5s; }
.fc-2 { top: 46%; right: -5%; animation-delay: .9s, 2.2s; }
.fc-3 { bottom: 6%; left: 4%; animation-delay: 1.2s, 2.8s; }
@keyframes popIn { from { opacity: 0; transform: translateY(18px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.wave { display: inline-flex; gap: 2px; align-items: center; height: 16px; margin-left: 4px; }
.wave i { width: 3px; background: var(--blue); border-radius: 2px; animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .2s; } .wave i:nth-child(4) { animation-delay: .3s; } .wave i:nth-child(5) { animation-delay: .4s; }
@keyframes wave { 0%,100% { height: 4px; } 50% { height: 16px; } }
@media (min-width: 960px) {
  .hero { padding: 150px 0 96px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 64px; }
}
@media (max-width: 520px) {
  .float-card { max-width: 210px; padding: 10px 12px; }
  .fc-1 { left: 8px; top: 12px; }
  .fc-2 { right: 8px; }
  .fc-3 { left: 8px; bottom: 12px; }
  .hero-ctas .btn { width: 100%; }
}

/* Banda de rasgos */
.marquee { border-block: 1px solid var(--slate-200); background: #fff; overflow: hidden; }
.marquee-track { display: flex; gap: 48px; width: max-content; padding: 20px 0; animation: marquee 38s linear infinite; }
.marquee span { font-weight: 900; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--slate-400); display: flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tarjetas ---------- */
.card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: clamp(22px, 3vw, 32px);
}
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.icon-tile { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; }
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile.rose { background: var(--rose-50); color: var(--rose); }
.icon-tile.green { background: var(--green-50); color: var(--green); }
.icon-tile.amber { background: var(--amber-50); color: #b45309; }
.card p { margin: 10px 0 0; color: var(--slate-600); font-size: .97rem; }
.lift { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.lift:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(15,23,42,.22); border-color: var(--slate-300); }

/* ---------- Dolor ---------- */
.pain-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 980px) { .pain-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.pain-photo { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--slate-200); box-shadow: var(--shadow-card); position: relative; }
.pain-photo img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.pain-photo .tag {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: rgba(255,255,255,.94); border-radius: 1.1rem; padding: 14px 16px; border: 1px solid var(--slate-200);
  font-size: .9rem; font-weight: 600; color: var(--slate-700);
}
.pain-list { display: grid; gap: 12px; }
.pain-item {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  padding: 18px; border-radius: 1.3rem; background: #fff; border: 1px solid var(--slate-200);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.pain-item:hover { border-color: #fecdd3; transform: translateX(4px); box-shadow: 0 18px 40px -24px rgba(225,29,72,.35); }
.pain-item .x { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--rose-50); color: var(--rose); }
.pain-item .x svg { width: 22px; height: 22px; }
.pain-item b { font-weight: 900; text-transform: uppercase; font-size: .9rem; letter-spacing: .01em; display: block; }
.pain-item span { color: var(--slate-600); font-size: .93rem; }

/* Embudo que gotea */
.leak { margin-top: 56px; display: grid; gap: 28px; align-items: center; }
@media (min-width: 980px) { .leak { grid-template-columns: 1fr 1fr; } }
.leak-svg { width: 100%; max-width: 520px; margin: 0 auto; overflow: visible; }
.leak-svg .stage { fill: #fff; stroke: var(--slate-200); stroke-width: 1.5; }
.leak-svg .stage-txt { font: 900 13px Inter, sans-serif; text-transform: uppercase; letter-spacing: .08em; fill: var(--ink); }
.leak-svg .drop { fill: var(--rose); opacity: 0; }
.leak-svg .drop-lbl { font: 700 11px Inter, sans-serif; fill: var(--rose); }
.in-view .leak-svg .drop { animation: drip 2.6s ease-in infinite; }
.leak-svg .drop:nth-of-type(2n) { animation-delay: .6s; }
.leak-svg .drop:nth-of-type(3n) { animation-delay: 1.2s; }
@keyframes drip { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx, 40px), 70px); } }

/* ---------- Diagnóstico (embudo interactivo) ---------- */
.quiz {
  position: relative; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-xl);
  box-shadow: 0 40px 100px -40px rgba(15,23,42,.28); overflow: hidden; max-width: 940px; margin: 0 auto;
}
.quiz-top { padding: 22px clamp(20px, 4vw, 40px); border-bottom: 1px solid var(--slate-100); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.quiz-steps { display: flex; gap: 6px; flex: 1; min-width: 200px; }
.quiz-steps i { flex: 1; height: 6px; border-radius: 999px; background: var(--slate-100); position: relative; overflow: hidden; }
.quiz-steps i::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.quiz-steps i.on::after { transform: scaleX(1); }
.quiz-body { position: relative; padding: clamp(24px, 4vw, 44px); min-height: 440px; }
.q-panel { display: none; }
.q-panel.active { display: block; animation: panelIn .7s var(--ease); }
.q-panel.leaving { display: block; animation: panelOut .35s ease forwards; }
@keyframes panelIn { from { opacity: 0; transform: translateX(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes panelOut { to { opacity: 0; transform: translateX(-28px); filter: blur(6px); } }
.q-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; font-style: italic; line-height: 1.1; margin: 8px 0 6px; }
.q-hint { color: var(--slate-500); margin: 0 0 22px; font-size: .95rem; }
.options { display: grid; gap: 10px; }
@media (min-width: 640px) { .options { grid-template-columns: repeat(2, 1fr); } }
.opt {
  position: relative; text-align: left; display: flex; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: 1.2rem; border: 1.5px solid var(--slate-200); background: #fff;
  font-weight: 700; color: var(--slate-900); font-size: .95rem; line-height: 1.35;
  opacity: 0; transform: translateY(14px);
  transition: border-color .2s, background .2s, box-shadow .3s, transform .4s var(--ease);
}
.q-panel.active .opt { animation: optIn .6s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 60ms + 120ms); }
@keyframes optIn { to { opacity: 1; transform: none; } }
.opt:hover { border-color: var(--blue); box-shadow: 0 14px 30px -18px rgba(37,99,235,.5); }
.opt .em { font-size: 1.35rem; width: 40px; height: 40px; border-radius: 12px; background: var(--slate-50); display: grid; place-items: center; flex-shrink: 0; transition: background .2s, transform .4s var(--ease); }
.opt .chk { margin-left: auto; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--slate-300); display: grid; place-items: center; flex-shrink: 0; transition: all .25s var(--ease); }
.opt .chk svg { width: 14px; height: 14px; color: #fff; transform: scale(0); transition: transform .3s var(--ease); }
.opt[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-50); }
.opt[aria-pressed="true"] .em { background: #fff; transform: rotate(-8deg) scale(1.08); }
.opt[aria-pressed="true"] .chk { background: var(--blue); border-color: var(--blue); }
.opt[aria-pressed="true"] .chk svg { transform: scale(1); }
.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.q-back { background: none; border: 0; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; color: var(--slate-500); padding: 12px 4px; }
.q-back:hover { color: var(--ink); }
.btn[disabled] { opacity: .35; pointer-events: none; box-shadow: none; }
.q-count { font-size: .8rem; font-weight: 700; color: var(--slate-500); }

/* Analizando */
.analyzing { display: grid; place-items: center; text-align: center; gap: 18px; min-height: 380px; }
.scanner { width: 120px; height: 120px; position: relative; }
.scanner::before, .scanner::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--blue-100); }
.scanner::after { border-color: var(--blue) transparent transparent transparent; animation: spin 1s linear infinite; }
.scanner span { position: absolute; inset: 22px; border-radius: 50%; background: var(--blue-50); display: grid; place-items: center; animation: breathe 1.4s ease-in-out infinite; }
.scanner svg { width: 36px; height: 36px; color: var(--blue); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(.9); } }
.analyze-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--slate-400); }
.analyze-steps li { transition: color .3s; display: flex; gap: 8px; align-items: center; justify-content: center; }
.analyze-steps li.done { color: var(--green); }

/* Resultado */
.result-grid { display: grid; gap: 24px; }
@media (min-width: 820px) { .result-grid { grid-template-columns: 260px 1fr; align-items: start; } }
.gauge { position: relative; width: 220px; margin: 0 auto; text-align: center; }
.gauge svg { width: 220px; height: 130px; overflow: visible; }
.gauge .track { fill: none; stroke: var(--slate-100); stroke-width: 16; stroke-linecap: round; }
.gauge .bar { fill: none; stroke: url(#gGrad); stroke-width: 16; stroke-linecap: round; stroke-dasharray: 283; stroke-dashoffset: 283; transition: stroke-dashoffset 1.6s var(--ease); }
.gauge .num { font-size: 2.6rem; font-weight: 900; font-style: italic; letter-spacing: -.04em; margin-top: -58px; line-height: 1; }
.gauge .lvl { font-size: .7rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; margin-top: 8px; }
.fix-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fix-list li {
  display: grid; grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; border-radius: 1.1rem; background: var(--slate-50); border: 1px solid var(--slate-200);
  opacity: 0; transform: translateY(12px); animation: optIn .6s var(--ease) forwards; animation-delay: calc(var(--i) * 110ms + 400ms);
}
.fix-list .prob { font-size: .82rem; color: var(--rose); font-weight: 700; text-decoration: line-through; text-decoration-color: rgba(225,29,72,.45); }
.fix-list .sol { font-size: .92rem; font-weight: 700; color: var(--slate-900); display: flex; gap: 8px; align-items: flex-start; }
.fix-list .sol svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.result-cta { margin-top: 22px; padding: 20px; border-radius: 1.4rem; background: var(--ink); color: #fff; display: grid; gap: 14px; }
.result-cta p { margin: 0; color: #cbd5e1; font-size: .95rem; }
.result-cta b { color: #fff; }

/* ---------- Qué es ---------- */
.pillar { position: relative; overflow: hidden; }
.pillar .num { position: absolute; top: 18px; right: 24px; font-size: 4rem; font-weight: 900; font-style: italic; color: var(--slate-100); line-height: 1; letter-spacing: -.05em; }
.pillar ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.pillar li { display: flex; gap: 10px; font-size: .93rem; color: var(--slate-700); }
.pillar li svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }

/* ---------- Pasos ---------- */
.steps { display: grid; gap: 16px; counter-reset: s; position: relative; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--slate-200); }
.step::before { counter-increment: s; content: "0" counter(s); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 900; font-style: italic; margin-bottom: 18px; box-shadow: var(--shadow-blue); }
.step p { color: var(--slate-600); margin: 8px 0 0; font-size: .94rem; }

/* ---------- Showcase del panel ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px; background: var(--slate-100); border-radius: 1.3rem; scrollbar-width: none; margin-bottom: 22px; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0; border: 0; background: transparent; padding: 12px 16px; border-radius: 1rem;
  font-size: .68rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-500);
  transition: background .3s, color .3s, box-shadow .3s;
}
.tab[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: 0 6px 18px -8px rgba(15,23,42,.2); }
.browser {
  border-radius: 1.6rem; background: #fff; border: 1px solid var(--slate-200); overflow: hidden;
  box-shadow: 0 50px 120px -50px rgba(15,23,42,.45);
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--slate-100); background: var(--slate-50); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--slate-200); }
.browser-bar i:nth-child(1) { background: #fda4af; } .browser-bar i:nth-child(2) { background: #fcd34d; } .browser-bar i:nth-child(3) { background: #86efac; }
.browser-bar .url { margin-left: 12px; flex: 1; max-width: 360px; font-size: .72rem; color: var(--slate-500); background: #fff; border: 1px solid var(--slate-200); border-radius: 999px; padding: 5px 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-view { position: relative; aspect-ratio: 16 / 10; background: var(--slate-50); overflow: hidden; }
.browser-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.02); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.browser-view img.on { opacity: 1; transform: none; }
.show-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .show-grid { grid-template-columns: 1fr 340px; } }
.show-caption { display: grid; gap: 12px; }
.show-caption .h3 { font-style: italic; }
.show-caption p { margin: 0; color: var(--slate-600); }
.show-caption ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.show-caption li { display: flex; gap: 10px; font-size: .93rem; color: var(--slate-700); }
.show-caption li svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.fade-swap { animation: fadeSwap .6s var(--ease); }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- WhatsApp ---------- */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.rev > :first-child { order: 2; } }
.photo-card { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--slate-200); box-shadow: var(--shadow-card); background: #fff; position: relative; }
.photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.chat {
  background: #efeae2; border-radius: var(--radius-lg); padding: 18px; display: grid; gap: 10px; border: 1px solid var(--slate-200);
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 14px 14px; min-height: 360px; align-content: start;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(0,0,0,.06); margin-bottom: 4px; }
.chat-head .av { width: 36px; height: 36px; border-radius: 50%; background: var(--slate-300); display: grid; place-items: center; font-weight: 900; color: #fff; font-size: .8rem; }
.chat-head b { font-size: .9rem; } .chat-head small { display: block; font-size: .72rem; color: var(--slate-500); }
.bubble { max-width: 82%; padding: 9px 12px 18px; border-radius: 14px; font-size: .9rem; line-height: 1.4; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.06); opacity: 0; transform: translateY(8px) scale(.98); }
.bubble time { position: absolute; right: 10px; bottom: 4px; font-size: .62rem; color: var(--slate-500); }
.bubble.in { background: #fff; justify-self: start; border-top-left-radius: 4px; }
.bubble.out { background: #d9fdd3; justify-self: end; border-top-right-radius: 4px; }
.bubble.sys { justify-self: center; background: #fff8c5; font-size: .74rem; font-weight: 700; padding: 6px 12px; color: #7c5e10; border-radius: 10px; }
.bubble.call { justify-self: center; background: var(--ink); color: #fff; padding: 12px 16px; display: flex; gap: 12px; align-items: center; border-radius: 16px; max-width: 100%; }
.bubble.call .ring { width: 34px; height: 34px; border-radius: 50%; background: var(--green); display: grid; place-items: center; animation: ring 1.2s ease-in-out infinite; }
.bubble.call .ring svg { width: 18px; height: 18px; }
@keyframes ring { 0%,100% { box-shadow: 0 0 0 0 rgba(5,150,105,.6); } 50% { box-shadow: 0 0 0 10px rgba(5,150,105,0); } }
.chat.play .bubble { animation: bubbleIn .55s var(--ease) forwards; animation-delay: calc(var(--i) * .9s); }
@keyframes bubbleIn { to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 3px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-400); animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,60%,100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: .98rem; color: var(--slate-700); }
.check-list li .ck { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.check-list li .ck svg { width: 16px; height: 16px; }
.check-list b { color: var(--ink); }
.qr-wrap { position: relative; margin-top: 20px; }
.qr-wrap .browser-view { aspect-ratio: 16/9.5; }

/* ---------- Precio ---------- */
.price-wrap { display: grid; gap: 22px; align-items: stretch; }
@media (min-width: 980px) { .price-wrap { grid-template-columns: 1fr 1fr; } }
.price-card {
  position: relative; border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 44px); background: var(--ink); color: #fff; overflow: hidden;
  box-shadow: 0 60px 120px -50px rgba(37,99,235,.6);
}
.price-card::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -240px; background: radial-gradient(circle, rgba(37,99,235,.55), transparent 65%); }
.price-card > * { position: relative; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .66rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.badge.amber { background: var(--amber); color: #3b2300; }
.badge.green { background: var(--green-50); color: var(--green); }
.badge.blue { background: var(--blue-50); color: var(--blue); }
.price { display: flex; align-items: flex-end; gap: 10px; margin: 18px 0 6px; }
.price .amt { font-size: clamp(4rem, 10vw, 6rem); font-weight: 900; font-style: italic; letter-spacing: -.05em; line-height: .85; }
.price .per { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: #94a3b8; padding-bottom: 8px; }
.price-card .incl { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.price-card .incl li { display: flex; gap: 12px; font-size: .96rem; color: #e2e8f0; }
.price-card .incl svg { width: 20px; height: 20px; color: #60a5fa; flex-shrink: 0; margin-top: 2px; }
.price-card .plus { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; margin-top: 4px; color: #cbd5e1; font-size: .95rem; }
.price-card .plus b { color: #fff; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.compare th, .compare td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--slate-100); vertical-align: top; }
.compare th { font-size: .64rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-500); }
.compare td:first-child { font-weight: 700; color: var(--slate-700); }
.compare .yes { color: var(--green); font-weight: 800; }
.compare .no { color: var(--rose); font-weight: 700; }
.compare th.hl, .compare td.hl { background: var(--blue-50); }
.compare th.hl { color: var(--blue); border-top-left-radius: 14px; border-top-right-radius: 14px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Simulador de puja */
.bid { display: grid; gap: 26px; }
@media (min-width: 980px) { .bid { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.bid-ui { padding: clamp(22px, 3.5vw, 36px); }
.bid-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bid-pct { font-size: 3.4rem; font-weight: 900; font-style: italic; letter-spacing: -.05em; color: var(--blue); line-height: 1; }
input[type=range].slider { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--blue) var(--p, 30%), var(--slate-200) var(--p, 30%)); margin: 22px 0 8px; outline: none; }
input[type=range].slider::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 6px solid var(--blue); box-shadow: 0 6px 16px rgba(37,99,235,.45); cursor: grab; transition: transform .2s; }
input[type=range].slider::-webkit-slider-thumb:active { transform: scale(1.15); }
input[type=range].slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 6px solid var(--blue); cursor: grab; }
.bid-scale { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 800; color: var(--slate-400); letter-spacing: .1em; }
.bid-out { display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 560px) { .bid-out { grid-template-columns: 1fr 1fr; } }
.stat { background: var(--slate-50); border-radius: 1.1rem; padding: 16px; border: 1px solid var(--slate-100); }
.stat .v { font-size: 1.6rem; font-weight: 900; font-style: italic; letter-spacing: -.03em; }
.prio { height: 12px; background: var(--slate-100); border-radius: 999px; overflow: hidden; margin-top: 10px; }
.prio i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #93c5fd, var(--blue)); width: 30%; transition: width .6s var(--ease); }
.lanes { display: grid; gap: 10px; }
.lane { display: grid; grid-template-columns: 110px 1fr 48px; gap: 12px; align-items: center; font-size: .8rem; font-weight: 800; }
.lane .bar { height: 30px; border-radius: 10px; background: var(--slate-100); overflow: hidden; }
.lane .bar i { display: block; height: 100%; border-radius: 10px; background: var(--slate-300); transition: width .7s var(--ease); }
.lane.you .bar i { background: linear-gradient(90deg, #60a5fa, var(--blue)); }
.lane.you { color: var(--blue); }
.lane span:last-child { text-align: right; color: var(--slate-500); }

/* ---------- Logística ---------- */
.toggle-demo { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 1.2rem; border: 1.5px solid var(--slate-200); background: #fff; margin: 20px 0; cursor: pointer; user-select: none; }
.switch { width: 52px; height: 30px; border-radius: 999px; background: var(--slate-200); position: relative; transition: background .3s; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .4s var(--ease); }
.toggle-demo.on .switch { background: var(--blue); }
.toggle-demo.on .switch::after { transform: translateX(22px); }
.toggle-demo b { font-weight: 900; text-transform: uppercase; font-size: .82rem; letter-spacing: .06em; }
.toggle-demo small { display: block; color: var(--slate-500); font-size: .8rem; }
.track-board { display: grid; gap: 10px; transition: opacity .4s, filter .4s; }
.track-board.off { opacity: .35; filter: grayscale(1); }
.track-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 1.1rem; background: #fff; border: 1px solid var(--slate-200); }
.track-row b { font-size: .88rem; font-weight: 800; }
.track-row small { display: block; font-size: .76rem; color: var(--slate-500); }
.pill { font-size: .62rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; white-space: nowrap; transition: background .4s, color .4s; }
.pill.transit { background: var(--blue-50); color: var(--blue); }
.pill.done { background: var(--green-50); color: var(--green); }
.pill.rej { background: var(--rose-50); color: var(--rose); }
.pill.pend { background: var(--amber-50); color: #b45309; }
.track-progress { height: 4px; background: var(--slate-100); border-radius: 4px; margin-top: 8px; overflow: hidden; grid-column: 1 / -1; }
.track-progress i { display: block; height: 100%; background: var(--blue); width: 0; transition: width 1.4s var(--ease); }

/* ---------- Inventario ---------- */
.feat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--slate-200); font-size: .8rem; font-weight: 800; color: var(--slate-700); }
.chip svg { width: 16px; height: 16px; color: var(--blue); }
.stack-shots { position: relative; margin-top: 18px; }
.stack-shots .browser + .browser { position: absolute; width: 62%; right: -4%; bottom: -14%; box-shadow: 0 40px 80px -30px rgba(15,23,42,.45); }
@media (max-width: 640px) { .stack-shots .browser + .browser { display: none; } }

/* ---------- Casos ---------- */
.case { display: grid; gap: 10px; }
.case .tagline { font-size: .66rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.case .flow { display: grid; gap: 8px; margin-top: 8px; }
.case .flow div { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--slate-700); }
.case .flow div::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; margin-top: 7px; }

/* ---------- Visión / Nosotros ---------- */
.about-photo img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.card .vision-quote, .vision-quote { color: var(--ink); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
.values { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 20px; border-radius: 1.3rem; background: var(--slate-50); border: 1px solid var(--slate-100); }
.value b { display: block; font-weight: 900; text-transform: uppercase; font-size: .85rem; margin-bottom: 6px; }
.value span { color: var(--slate-600); font-size: .9rem; }

/* ---------- Políticas ---------- */
.policy { display: grid; gap: 14px; }
@media (min-width: 900px) { .policy { grid-template-columns: repeat(2, 1fr); } }
.policy .card { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.policy .icon-tile { margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--slate-200); border-radius: 1.3rem; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow-card); border-color: var(--slate-300); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 800; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 10px; background: var(--slate-100); position: relative; flex-shrink: 0; transition: background .3s, transform .4s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); translate: -50% -50%; transition: transform .3s; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm { background: var(--blue); transform: rotate(180deg); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: #fff; }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 22px 20px; color: var(--slate-600); }
.faq .ans p { margin: 0 0 8px; }

/* ---------- CTA final ---------- */
.final {
  position: relative; border-radius: var(--radius-xl); background: var(--blue); color: #fff; padding: clamp(36px, 6vw, 72px); overflow: hidden; text-align: center;
  display: grid; justify-items: center; gap: 20px;
}
.final::before, .final::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.final::before { width: 600px; height: 600px; left: -200px; top: -300px; animation: spin 40s linear infinite; }
.final::after { width: 420px; height: 420px; right: -160px; bottom: -200px; }
.final .display { color: #fff; }
.final p { color: #dbeafe; max-width: 620px; margin: 0; font-size: 1.08rem; }
.final .btn-white { --bg: #fff; --fg: var(--blue); box-shadow: 0 20px 50px -20px rgba(0,0,0,.4); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #94a3b8; padding: 64px 0 32px; margin-top: 0; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer .brand-name { color: #fff; }
.footer h3 { color: #fff; font-size: .7rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .82rem; }

/* Botón flotante de WhatsApp + barra móvil */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px -10px rgba(37,211,102,.7);
  transition: transform .3s var(--ease); text-decoration: none;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: halo 2.4s infinite; }
@keyframes halo { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    position: fixed; left: 12px; right: 84px; bottom: 18px; z-index: 59; display: flex;
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { width: 100%; min-height: 56px; }
}

/* Los hijos de grid no deben forzar ancho mínimo por su contenido (evita scroll horizontal en móvil). */
.hero-grid > *, .grid > *, .split > *, .price-wrap > *, .bid > *, .show-grid > *, .pain-grid > *, .leak > *, .result-grid > *, .footer-grid > * { min-width: 0; }
@media (max-width: 480px) { .header-cta { display: none; } .menu-btn { margin-left: auto; } }
@media (max-width: 520px) {
  .compare th, .compare td { padding: 12px 8px; font-size: .84rem; }
  .btn { white-space: normal; text-align: center; letter-spacing: .12em; }
  .price-card .btn, .final .btn, .result-cta .btn { width: 100%; }
  .lane { grid-template-columns: 84px 1fr 40px; font-size: .72rem; }
}

/* ---------- Revelado al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.96) translateY(20px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal-scale.in { opacity: 1; transform: none; }

/* ---------- Páginas legales ---------- */
.legal { padding: 130px 0 80px; }
.legal article { max-width: 820px; margin: 0 auto; }
.legal h1 { margin-bottom: 10px; }
.legal h2 { font-size: 1.1rem; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; margin: 40px 0 12px; color: var(--ink); }
.legal p, .legal li { color: var(--slate-700); font-size: 1rem; }
.legal ul { padding-left: 1.2rem; display: grid; gap: 6px; }
.legal .updated { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); }
.legal .toc { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 1.3rem; padding: 20px 24px; margin: 28px 0; }
.legal .toc ol { margin: 8px 0 0; padding-left: 1.2rem; display: grid; gap: 4px; }
.legal .toc a { color: var(--blue); text-decoration: none; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-scale, .opt, .bubble, .fix-list li { opacity: 1 !important; transform: none !important; }
  .hero h1 .line > span { transform: none; }
}
