/* ==========================================================================
   Zaviom — web corporativa
   VOICE   Premium, nítida y segura: grafito profundo, mucho aire, un acento lima.
   IDEA    La ruta del logo: el camino entre comprador y vendedor, en movimiento.
   PICTURE Hero animado: capturas del producto y una ruta lima que las recorre.
   COLOUR  Grafito (#18181B) dominante, blanco, lima (#A3E635) como único acento.
   TYPE    Jost (títulos, como el logo) + Manrope (texto). LAYOUT 1200px, bento.
   ========================================================================== */

:root {
  /* Marca */
  --graphite: #18181B;
  --graphite-2: #3F3F46;
  --lime: #A3E635;
  --lime-600: #84CC16;
  --lime-700: #4D7C0F;   /* acento legible sobre blanco (AA) */
  --lime-200: #D9F99D;
  --lime-50: #F4FCE6;
  /* Neutros */
  --text: #18181B;
  --muted: #5F5F68;
  --line: #E6E6E1;
  --soft: #F4F4F0;
  --white: #FFFFFF;
  --ink: #0B0B0D;        /* fondos oscuros */
  --ink-2: #131316;      /* superficies sobre oscuro */
  --ink-3: #1C1C21;
  --ink-line: rgba(255,255,255,.09);
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(11, 11, 13, .28);
  --grad: linear-gradient(135deg, #18181B 0%, #3F3F46 100%);
  --grad-lime: linear-gradient(120deg, #D9F99D 0%, #A3E635 55%, #84CC16 100%);

  --font-title: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--font-body); color: var(--text); background: var(--white); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--lime-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--graphite); }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--text); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.025em; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 600; line-height: 1.02; letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -.035em; }
h3 { font-size: 1.28rem; font-weight: 600; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--ink); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(100% - 2 * max(5vw, 20px), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 140px); position: relative; }
.section--soft { background: var(--soft); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.14rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); line-height: 1.6; }

.tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  font: 600 .86rem/1 var(--font-body); color: #3F6212;
  background: var(--lime-50); border: 1px solid #DDF3B5; padding: 8px 14px; border-radius: 999px;
}
.tag .ic { width: 15px; height: 15px; }
.tag__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(163,230,53,.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(163,230,53,.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(163,230,53,0); } }
.grad-text { background: linear-gradient(transparent 64%, var(--lime-200) 64%, var(--lime-200) 92%, transparent 92%); padding-inline: .06em; }
.section--dark .grad-text, .hero .grad-text, .cta-band .grad-text {
  background: var(--grad-lime); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0;
}
.ic { width: 22px; height: 22px; flex: none; stroke-width: 1.75; }

/* ---------- Botones ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
  overflow: hidden; isolation: isolate;
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--primary { background: var(--lime); color: var(--ink); box-shadow: 0 12px 34px -12px rgba(163,230,53,.75), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn--primary:hover { color: var(--ink); background: #B4EF4F; transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(163,230,53,.85), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--dark { background: var(--graphite); color: #fff; }
.btn--dark:hover { color: #fff; background: #000; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: var(--white); color: var(--text); border-color: var(--line); }
.btn--ghost:hover { color: var(--text); border-color: var(--graphite); transform: translateY(-2px); }
.btn--glass { background: rgba(255,255,255,.05); color: #fff; border-color: rgba(255,255,255,.16); backdrop-filter: blur(8px); }
.btn--glass:hover { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(0,0,0,.5); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .94rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Barra superior ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(11,11,13,.72); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-color: var(--ink-line); }
.nav .logo--light { display: none; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: inline-flex; flex: none; }
.nav__brand img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: block; padding: 10px 12px; border-radius: 10px; color: rgba(255,255,255,.78); font-weight: 600; font-size: .95rem; text-decoration: none; transition: color .2s, background-color .2s; }
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav__links a[aria-current="page"] { color: var(--lime); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--ink-line); border-radius: 12px; background: rgba(255,255,255,.04); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle .ic { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta .btn { display: none; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--ink-line);
    padding: 8px max(5vw, 20px) 24px; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav__links a { padding: 16px 2px; border-bottom: 1px solid var(--ink-line); border-radius: 0; font-size: 1.08rem; }
  .nav__links a:hover { background: transparent; }
  .nav__links .nav__mobile-cta { display: block; padding-top: 18px; }
  .nav__links .nav__mobile-cta a { border: 0; color: var(--ink); justify-content: center; display: flex; padding: 0 26px; border-radius: 999px; }
  .nav.is-open { background: var(--ink); border-color: var(--ink-line); }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
}
@media (min-width: 1081px) { .nav__mobile-cta { display: none; } }

/* ---------- Secciones oscuras ---------- */
.section--dark, .hero { position: relative; background-color: var(--ink); color: rgba(255,255,255,.72); isolation: isolate; overflow: hidden; }
.section--dark::before, .hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%);
}
.section--dark h1, .section--dark h2, .section--dark h3, .hero h1, .hero h2, .hero h3 { color: #fff; }
.section--dark .lead, .section--dark .section-head p, .hero .lead { color: rgba(255,255,255,.7); }
.section--dark .tag, .hero .tag { background: rgba(163,230,53,.08); border-color: rgba(163,230,53,.28); color: var(--lime-200); }
.section--dark a:not(.btn) { color: var(--lime); }
.glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.glow--a { width: 640px; height: 640px; background: radial-gradient(circle, rgba(163,230,53,.28), transparent 65%); top: -280px; right: -160px; }
.glow--b { width: 560px; height: 560px; background: radial-gradient(circle, rgba(63,63,70,.9), transparent 65%); bottom: -280px; left: -200px; }
.glow--c { width: 300px; height: 300px; background: radial-gradient(circle, rgba(217,249,157,.14), transparent 65%); top: 45%; left: 42%; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) 0 clamp(64px, 8vw, 112px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 64px); align-items: center; }
.hero__copy .lead { max-width: 540px; margin-bottom: 34px; }
.hero__note { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; padding: 0; list-style: none; font-size: .94rem; color: rgba(255,255,255,.62); }
.hero__note li { display: inline-flex; align-items: center; gap: 8px; }
.hero__note .ic { width: 17px; height: 17px; color: var(--lime); }
.page-hero { padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 100px); }
.page-hero .lead { max-width: 660px; }
.page-hero .btn-row { margin-top: 28px; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } .hero__copy { text-align: left; } }

/* ---------- Hero animado ---------- */
.stage { position: relative; aspect-ratio: 1.08; width: 100%; max-width: 640px; margin-inline: auto; }
.frame {
  position: absolute; border-radius: 16px; overflow: hidden;
  background: rgba(19,19,22,.78); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.frame__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.frame__url { margin-left: 10px; height: 20px; flex: 1; max-width: 260px; border-radius: 6px; background: rgba(255,255,255,.06); font: 600 10.5px/20px var(--font-body); color: rgba(255,255,255,.5); padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame__body { position: relative; height: calc(100% - 34px); padding: 14px; }
.frame--web { inset: 10% 13% 25% 0; }
.frame--admin { inset: 40% 0 9% 24%; background: rgba(19,19,22,.9); }
.frame--phone { width: 25%; aspect-ratio: .5; left: -3%; bottom: 4%; border-radius: 26px; padding: 7px; background: rgba(24,24,27,.92); }
.frame--phone .frame__body { height: 100%; border-radius: 20px; background: rgba(255,255,255,.035); padding: 12px 8px; display: grid; align-content: start; gap: 8px; }

.sk { display: block; border-radius: 6px; background: rgba(255,255,255,.08); }
.sk--lime { background: var(--lime); }
.sk--hi { background: rgba(255,255,255,.2); }
.sk-row { display: flex; gap: 8px; align-items: center; }
.search { height: 32px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; padding: 0 6px 0 10px; gap: 8px; color: rgba(255,255,255,.85); font: 600 12px/1 var(--font-body); }
.search .ic { width: 14px; height: 14px; color: rgba(255,255,255,.5); }
.search__btn { margin-left: auto; height: 22px; padding: 0 10px; border-radius: 7px; background: var(--lime); color: var(--ink); font: 700 10.5px/22px var(--font-body); }
.typed { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; border-right: 1.5px solid var(--lime); animation: typing 7s steps(18) infinite; max-width: 18ch; }
@keyframes typing { 0%, 8% { width: 0; } 38%, 78% { width: 18ch; } 92%, 100% { width: 0; } }
.chips { display: flex; gap: 6px; margin: 10px 0 12px; }
.chips span { height: 16px; width: 48px; border-radius: 999px; background: rgba(255,255,255,.07); }
.chips span:nth-child(2) { animation: chip 7s infinite; }
@keyframes chip { 0%, 40% { background: rgba(255,255,255,.07); } 46%, 85% { background: var(--lime); } 92%, 100% { background: rgba(255,255,255,.07); } }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.cardx { border-radius: 11px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); padding: 6px; animation: rise 7s var(--ease) infinite; }
.cardx:nth-child(2) { animation-delay: .15s; } .cardx:nth-child(3) { animation-delay: .3s; }
.cardx:nth-child(4) { animation-delay: .45s; } .cardx:nth-child(5) { animation-delay: .6s; } .cardx:nth-child(6) { animation-delay: .75s; }
@keyframes rise { 0%, 40% { opacity: .35; transform: translateY(6px); } 50%, 90% { opacity: 1; transform: none; } 100% { opacity: .35; transform: translateY(6px); } }
.cardx__img { aspect-ratio: 4/3; border-radius: 8px; margin-bottom: 6px; background: linear-gradient(135deg, #2A2A30, #3F3F46); position: relative; overflow: hidden; }
.cardx__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.08) 50%, transparent 70%); transform: translateX(-100%); animation: shimmer 2.8s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.cardx:nth-child(2) .cardx__img { background: linear-gradient(135deg, #2F3A1C, #4D7C0F); }
.cardx:nth-child(4) .cardx__img { background: linear-gradient(135deg, #33333A, #52525B); }
.cardx:nth-child(6) .cardx__img { background: linear-gradient(135deg, #2F3A1C, #65A30D); }
.admin { display: grid; grid-template-columns: 20% minmax(0,1fr); gap: 12px; height: 100%; }
.admin__side { display: flex; flex-direction: column; gap: 9px; padding-right: 10px; border-right: 1px solid rgba(255,255,255,.06); }
.admin__side .sk:first-child { background: var(--lime); width: 70%; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-bottom: 10px; }
.kpi { border-radius: 10px; padding: 9px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); display: grid; gap: 7px; }
.kpi .bar { height: 5px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.kpi .bar span { display: block; height: 100%; width: 70%; border-radius: inherit; background: var(--lime); transform-origin: left; animation: grow 7s var(--ease) infinite; }
.kpi:nth-child(2) .bar span { width: 48%; background: #fff; animation-delay: .2s; }
.kpi:nth-child(3) .bar span { width: 86%; animation-delay: .4s; }
@keyframes grow { 0%, 10% { transform: scaleX(0); } 40%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.chart { height: 54%; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.chart svg { width: 100%; height: 100%; }
.chart .line { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 7s var(--ease) infinite; }
.chart .area { opacity: 0; animation: fade 7s var(--ease) infinite; }
@keyframes draw { 0%, 10% { stroke-dashoffset: 320; } 50%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 320; } }
@keyframes fade { 0%, 30% { opacity: 0; } 55%, 90% { opacity: 1; } 100% { opacity: 0; } }
.frame__label { position: absolute; right: 10px; bottom: 10px; font: 600 10.5px/1 var(--font-body); color: rgba(255,255,255,.55); background: rgba(11,11,13,.75); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 6px 9px; white-space: nowrap; }

/* ruta animada (el logo en movimiento) */
.route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; }
.route__path { stroke-dasharray: 2 9; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -11; } }
.route__glow { filter: drop-shadow(0 0 8px rgba(163,230,53,.9)); }
.node { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 999px; background: rgba(19,19,22,.88); border: 1px solid rgba(255,255,255,.12); color: #fff; font: 700 12px/1 var(--font-body); box-shadow: 0 16px 40px -14px rgba(0,0,0,.8); backdrop-filter: blur(10px); white-space: nowrap; }
.node__ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.node__ic .ic { width: 14px; height: 14px; }
.node--buyer { left: 0; top: 0; }
.node--buyer .node__ic { border: 2px solid #fff; color: #fff; }
.node--seller { right: 0; bottom: 0; }
.node--seller .node__ic { background: var(--lime); color: var(--ink); }
.toast { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--ink); font: 700 12.5px/1.2 var(--font-body); box-shadow: 0 20px 50px -18px rgba(0,0,0,.7); white-space: nowrap; opacity: 0; transform: translateY(10px) scale(.96); animation: toast 7s var(--ease) infinite; }
.toast small { display: block; font-weight: 600; color: #6B6B73; font-size: 11px; margin-top: 2px; }
.toast__ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--lime); flex: none; }
.toast__ic .ic { width: 16px; height: 16px; }
.toast--1 { left: 30%; top: 40%; animation-delay: 1.2s; }
.toast--2 { right: 2%; top: 22%; animation-delay: 3.4s; }
.toast--3 { left: 6%; bottom: 30%; animation-delay: 5.2s; }
@keyframes toast { 0% { opacity: 0; transform: translateY(10px) scale(.96); } 6%, 26% { opacity: 1; transform: none; } 32%, 100% { opacity: 0; transform: translateY(-6px) scale(.98); } }
.float-a { animation: floaty 8s ease-in-out infinite; }
.float-b { animation: floaty 7s ease-in-out infinite 1.2s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 600px) {
  .stage { aspect-ratio: .95; }
  .frame--phone { display: none; }
  .frame--web { inset: 11% 0 34% 0; }
  .frame--admin { inset: 48% 0 10% 14%; }
  .toast--3 { display: none; }
  .toast { font-size: 11.5px; padding: 8px 11px 8px 8px; }
  .toast__ic { width: 26px; height: 26px; }
  .toast--1 { left: 4%; top: 52%; }
  .node { font-size: 11px; padding: 6px 10px 6px 6px; }
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cardx:nth-child(n+5) { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { position: relative; background: var(--ink); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); overflow: hidden; padding: 22px 0; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.marquee__track { display: flex; width: max-content; gap: 56px; animation: marquee 32s linear infinite; list-style: none; margin: 0; padding: 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee li { display: inline-flex; align-items: center; gap: 12px; font: 500 1.15rem/1 var(--font-title); color: #fff; white-space: nowrap; letter-spacing: -.01em; }
.marquee .ic { color: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tarjetas ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; isolation: isolate; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D4D4CE; }
.card p { color: var(--muted); margin: 0; }
.card h3 { margin-bottom: 10px; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(163,230,53,.14), transparent 45%); }
.spot:hover::before { opacity: 1; }
.icon-badge { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 22px; color: var(--lime); background: var(--graphite); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
.icon-badge .ic { width: 22px; height: 22px; }
.section--dark .icon-badge, .card--dark .icon-badge { color: var(--ink); background: var(--lime); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: .98rem; line-height: 1.5; }
.check-list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--graphite) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3E635' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.section--dark .check-list li { color: rgba(255,255,255,.86); }
.section--dark .check-list li::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------- Tres piezas ---------- */
.pieces { display: grid; gap: clamp(20px, 2.4vw, 28px); grid-template-columns: repeat(3, minmax(0,1fr)); }
.piece { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.piece__shot { position: relative; aspect-ratio: 16/10; background: var(--ink); overflow: hidden; }
.piece__shot::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 24px 24px; }
.piece__shot::after { content: ""; position: absolute; width: 60%; height: 80%; right: -20%; top: -30%; background: radial-gradient(circle, rgba(163,230,53,.22), transparent 65%); filter: blur(30px); }
.piece__shot .frame { inset: 16% 8% -10% 8%; transition: transform .5s var(--ease); }
.piece:hover .piece__shot .frame { transform: translateY(-6px); }
.piece__shot .frame__label { bottom: auto; top: 46px; }
.piece__body { padding: clamp(24px, 3vw, 30px); flex: 1; }
.piece__num { font: 700 .82rem/1 var(--font-body); color: var(--lime-700); margin-bottom: 10px; display: block; }
@media (max-width: 980px) { .pieces { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.bento .card { display: flex; flex-direction: column; overflow: hidden; }
.b-2 { grid-column: span 2; } .b-3 { grid-column: span 3; } .b-4 { grid-column: span 4; }
.card--dark { background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,.7); }
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(255,255,255,.66); }
.card--dark:hover { border-color: #2A2A30; }
.card--dark.spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(163,230,53,.18), transparent 45%); }
.card--lime { background: var(--lime); border-color: var(--lime); }
.card--lime p { color: rgba(11,11,13,.72); }
.card--lime .icon-badge { background: var(--ink); color: var(--lime); }
.card--lime:hover { border-color: var(--lime-600); }
.bento__art { margin-top: auto; padding-top: 26px; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius: 999px; padding: 7px 12px; font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.88); transition: background-color .2s, color .2s; }
.mini-chip:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.mini-chip .ic { width: 14px; height: 14px; }
.mini-chip--on { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.mini-search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 8px 8px 8px 14px; background: #fff; box-shadow: 0 12px 30px -20px rgba(0,0,0,.4); font-size: .9rem; color: var(--muted); }
.mini-search .ic { width: 16px; height: 16px; }
.mini-search b { margin-left: auto; background: var(--graphite); color: var(--lime); border-radius: 9px; padding: 7px 12px; font-size: .8rem; }
.mini-bubbles { display: grid; gap: 8px; }
.bubble { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: .86rem; line-height: 1.4; }
.bubble--in { background: rgba(11,11,13,.08); border-bottom-left-radius: 4px; color: var(--ink); }
.bubble--out { background: var(--ink); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.mini-flags { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-flags span { font: 600 .82rem/1 var(--font-title); padding: 8px 11px; border-radius: 9px; background: var(--soft); border: 1px solid var(--line); color: var(--text); letter-spacing: .02em; }
.mini-swatches { display: flex; gap: 8px; }
.mini-swatches span { width: 36px; height: 36px; border-radius: 11px; border: 1px solid rgba(0,0,0,.06); }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.mini-bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: rgba(255,255,255,.12); transform-origin: bottom; }
.mini-bars span:last-child { background: var(--lime); }
.reveal.is-in .mini-bars span { animation: barup 1.1s var(--ease) both; }
.reveal.is-in .mini-bars span:nth-child(2) { animation-delay: .08s; } .reveal.is-in .mini-bars span:nth-child(3) { animation-delay: .16s; }
.reveal.is-in .mini-bars span:nth-child(4) { animation-delay: .24s; } .reveal.is-in .mini-bars span:nth-child(5) { animation-delay: .32s; }
.reveal.is-in .mini-bars span:nth-child(6) { animation-delay: .4s; } .reveal.is-in .mini-bars span:nth-child(7) { animation-delay: .48s; }
@keyframes barup { from { transform: scaleY(0); } }
@media (max-width: 1020px) { .bento { grid-template-columns: repeat(2, minmax(0,1fr)); } .b-2, .b-3, .b-4 { grid-column: span 1; } .b-wide { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .b-wide { grid-column: span 1; } }

/* ---------- IA ---------- */
.ai-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.ai-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.ai-item { position: relative; padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.03); border: 1px solid var(--ink-line); transition: background-color .3s, border-color .3s, transform .35s var(--ease); isolation: isolate; overflow: hidden; }
.ai-item:hover { border-color: rgba(163,230,53,.45); transform: translateY(-3px); }
.ai-item.spot::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(163,230,53,.14), transparent 50%); }
.ai-item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.ai-item p { margin: 0; font-size: .96rem; color: rgba(255,255,255,.62); }
.ai-item .icon-badge { width: 44px; height: 44px; margin-bottom: 18px; }
.ai-key { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; border-radius: 14px; background: rgba(163,230,53,.06); border: 1px solid rgba(163,230,53,.25); font-size: .96rem; color: rgba(255,255,255,.82); }
.ai-key .ic { color: var(--lime); margin-top: 2px; }
@media (max-width: 960px) { .ai-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ai-list { grid-template-columns: 1fr; } }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #CFCFC8 0 6px, transparent 6px 14px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__dot { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 50%; background: #fff; border: 2px solid var(--graphite); color: var(--graphite); box-shadow: 0 0 0 8px var(--soft); }
.step:first-child .step__dot { border-width: 3px; }
.step:last-child .step__dot { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.step h3 { font-size: 1.18rem; }
.step p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step { text-align: left; display: grid; grid-template-columns: 60px 1fr; column-gap: 18px; } .step__dot { margin: 0; grid-row: span 2; } }

/* ---------- Casos de uso ---------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.case { display: flex; gap: 18px; align-items: flex-start; }
.case .icon-badge, .feature-block__head .icon-badge { margin: 0; flex: none; }
.case h3 { font-size: 1.14rem; margin-bottom: 6px; }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Seguridad ---------- */
.sec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.sec-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sec-cards .card { padding: 24px; background: var(--ink-2); border-color: var(--ink-line); }
.sec-cards .card:hover { border-color: rgba(163,230,53,.4); }
.sec-cards .icon-badge { width: 44px; height: 44px; margin-bottom: 16px; }
.sec-cards h3 { font-size: 1.08rem; color: #fff; }
.sec-cards p { font-size: .95rem; color: rgba(255,255,255,.62); }
@media (max-width: 960px) { .sec-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sec-cards { grid-template-columns: 1fr; } }

.quote-slot { border: 1px dashed #CFCFC8; border-radius: var(--radius); padding: 28px; color: var(--muted); background: #fff; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--graphite); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; font: 600 1.14rem/1.35 var(--font-title); color: var(--text); letter-spacing: -.01em; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--soft); color: var(--graphite); transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary .ic { transform: rotate(45deg); background: var(--lime); }
.faq .faq__a { padding: 0 24px 22px; color: var(--muted); }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- Precio a medida ---------- */
.price-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 26px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--soft); }
.price-note strong { font: 600 1.3rem/1.2 var(--font-title); color: var(--text); display: block; }
.price-note span { color: var(--muted); }

/* ---------- CTA final ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 80px); background: var(--lime); color: rgba(11,11,13,.78); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(11,11,13,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(11,11,13,.07) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.cta-band__route { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; opacity: .13; }
.cta-band h2 { color: var(--ink); margin-bottom: 14px; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.cta-band p { max-width: 560px; margin: 0 auto 32px; font-size: 1.14rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Pie ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0,1fr)); gap: 40px; }
.footer__brand img { height: 34px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; }
.footer h2 { font: 600 1rem/1.2 var(--font-title); color: #fff; margin-bottom: 16px; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer a:hover { color: var(--lime); }
.footer button.link { all: unset; cursor: pointer; color: rgba(255,255,255,.6); }
.footer button.link:hover { color: var(--lime); }
.footer button.link:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--ink-line); transition: background-color .2s, border-color .2s, color .2s; }
.socials a:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.socials .ic { width: 18px; height: 18px; }
.footer__big { margin-top: 56px; font: 500 clamp(3.4rem, 15vw, 12rem)/.8 var(--font-title); letter-spacing: .14em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); text-align: center; user-select: none; white-space: nowrap; overflow: hidden; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ink-line); font-size: .88rem; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Funcionalidades ---------- */
.docs { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; padding-right: 8px; }
.toc p { font: 600 .95rem/1 var(--font-title); color: var(--text); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 500; line-height: 1.35; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--text); border-left-color: var(--lime-600); font-weight: 700; }
.feature-block { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.feature-block:last-of-type { border-bottom: 0; }
.feature-block__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.feature-block__head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 6px; }
.feature-block__head p { color: var(--muted); margin: 0; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .25s, transform .25s var(--ease); }
.feature-list li:hover { border-color: var(--graphite); transform: translateY(-2px); }
.feature-list strong { display: block; font: 600 1.06rem/1.35 var(--font-title); color: var(--text); margin-bottom: 4px; letter-spacing: -.01em; }
.feature-list span { color: var(--muted); font-size: .95rem; line-height: 1.55; display: block; }
.badge-soon { display: inline-flex; align-items: center; gap: 6px; font: 700 .76rem/1 var(--font-body); color: var(--ink); background: var(--lime); padding: 6px 10px; border-radius: 999px; vertical-align: middle; letter-spacing: 0; }
.feature-block--soon .feature-list li { background: var(--soft); border-style: dashed; }
.toc-mobile { display: none; }
@media (max-width: 960px) {
  .docs { grid-template-columns: 1fr; }
  .toc { display: none; }
  .toc-mobile { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; margin-bottom: 28px; scrollbar-width: none; position: sticky; top: var(--nav-h); background: #fff; z-index: 5; border-bottom: 1px solid var(--line); }
  .toc-mobile::-webkit-scrollbar { display: none; }
  .toc-mobile a { flex: none; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .9rem; font-weight: 600; }
}
@media (max-width: 640px) { .feature-list { grid-template-columns: 1fr; } }

/* ---------- Formularios ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-aside .check-list { margin-bottom: 32px; }
.contact-info { display: grid; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--ink); color: rgba(255,255,255,.82); }
.contact-info div { display: flex; gap: 12px; align-items: center; }
.contact-info .ic { color: var(--lime); }
.form-card { padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .94rem; color: var(--text); }
.field label .req { color: var(--lime-700); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; font: 500 16px/1.4 var(--font-body); color: var(--text); background: #fff; border: 1px solid #D6D6D0; border-radius: 12px; transition: border-color .2s, box-shadow .2s; appearance: none; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F5F68' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat; padding-right: 42px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--graphite); box-shadow: 0 0 0 4px rgba(163,230,53,.35); }
.field .err { display: none; color: #B42318; font-size: .86rem; font-weight: 600; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #D92D20; }
.field.is-invalid .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--graphite); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .84rem; color: var(--muted); margin-top: 18px; }
.form-success { display: none; text-align: center; padding: 32px 8px; }
.form-success .icon-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.form-success .icon-badge .ic { width: 28px; height: 28px; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Legales ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #45454D; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 1em 0 1.6em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-title); font-weight: 600; color: var(--text); background: var(--soft); }
.notice { padding: 16px 20px; border-radius: 14px; background: #FFF8E6; border: 1px solid #F5DFA3; color: #6B4E00; font-size: .94rem; margin-bottom: 32px; }
.table-wrap { overflow-x: auto; }

/* ---------- Banner de cookies ---------- */
.cookie { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(11,11,13,.5); padding: 22px; transform: translateY(calc(100% + 40px)); transition: transform .45s var(--ease); visibility: hidden; max-height: calc(100dvh - 32px); overflow-y: auto; }
.cookie.is-visible { transform: none; visibility: visible; }
.cookie h2 { font-size: 1.15rem; margin-bottom: 6px; }
.cookie p { font-size: .92rem; color: var(--muted); margin-bottom: 16px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__actions .btn { flex: 1 1 auto; }
.cookie__prefs { display: none; border-top: 1px solid var(--line); margin: 4px 0 16px; padding-top: 12px; }
.cookie.is-custom .cookie__prefs { display: grid; gap: 4px; }
.cookie__save-row { display: none; margin-top: 10px; }
.cookie.is-custom .cookie__save-row { display: flex; }
.cookie.is-custom [data-ck="custom"] { display: none; }
.pref { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; }
.pref strong { display: block; font-size: .95rem; color: var(--text); }
.pref small { color: var(--muted); font-size: .84rem; line-height: 1.4; display: block; }
.switch { position: relative; flex: none; width: 46px; height: 28px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #D4D4CE; transition: background-color .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--graphite); }
.switch input:checked + span::after { transform: translateX(18px); background: var(--lime); }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }

/* ---------- Aparición ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .typed { width: 18ch; border: 0; }
  .toast--1 { opacity: 1; transform: none; }
  .cardx { opacity: 1; transform: none; }
  .chart .line { stroke-dashoffset: 0; } .chart .area { opacity: 1; }
}
.field input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; padding: 0; border-radius: 5px; appearance: auto; -webkit-appearance: checkbox; accent-color: var(--graphite); }
