/* EvoWeb Fidelización · landing
   Tokens de marca (LEEME-logos): Verde Bosque #0F4C3A, Esmeralda #1DBF84, Tinta #0B1220, Blanco.
   Regla de radios: botones píldora, bloques 20px, campos 12px, sellos círculo. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2-variations"),
       url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #0F4C3A;
  --forest-deep: #0A3A2C;
  --emerald: #1DBF84;
  --mint: #C9F2DF;
  --mint-soft: #E4F4EC;
  --ink: #0B1220;
  --paper: #F2F5F2;
  --surface: #FFFFFF;
  --text: #0B1220;
  --muted: #4A5852;
  --line: #D5DED9;
  --link: #0F4C3A;
  --danger: #A4262C;
  --shadow: 0 18px 40px -18px rgba(10, 58, 44, .35);
  --radius-block: 20px;
  --radius-field: 12px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0B1612;
    --surface: #12201B;
    --text: #E8F1EC;
    --muted: #A9B8B1;
    --line: #23362F;
    --link: #6FE0B4;
    --mint-soft: #10291F;
    --danger: #FF8A8F;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: rgba(29, 191, 132, .25);
  touch-action: manipulation;
}
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
.split > * { min-width: 0; }
img { height: auto; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--emerald); color: var(--ink); }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; font-weight: 800; letter-spacing: -.015em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-stretch: 112%; }
h3 { font-size: 1.2rem; line-height: 1.25; font-stretch: 104%; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.num { font-variant-numeric: tabular-nums; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-deep); }
.btn-accent { background: var(--emerald); color: var(--ink); }
.btn-accent:hover { background: #3FD49C; }
.btn-ghost { background: transparent; color: var(--text); border-color: currentColor; }
.btn-ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.on-forest .btn-ghost { color: #fff; }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cabecera */
.site-head { position: relative; z-index: 20; }
.on-forest { background: var(--forest); color: #fff; }
.on-forest a:not(.btn) { color: #fff; }
.on-forest .muted, .on-forest .lead { color: var(--mint); }
.nav { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 96px; height: 43px; }
.brand span { font-weight: 700; font-size: .95rem; font-stretch: 110%; border-left: 1px solid rgba(255,255,255,.35); padding-left: 12px; line-height: 1.1; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-block; padding: 10px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(255,255,255,.12); }
.nav-toggle { display: none; background: transparent; border: 2px solid rgba(255,255,255,.6); color: #fff; border-radius: 999px; width: 48px; height: 48px; padding: 0; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; gap: 10px; min-height: 68px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { order: 3; width: 100%; flex-direction: column; padding: 4px 0 14px; display: none; }
  .nav-links a { display: block; padding: 12px 8px; }
  .nav.is-open .nav-links { display: flex; }
  .brand span { display: none; }
  .nav .btn-panel { padding-inline: .9em; }
}
.no-js .nav-links { display: flex; }

/* Hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.25rem); font-stretch: 116%; line-height: 1.04; letter-spacing: -.02em; margin-bottom: .45em; max-width: 19ch; }
.hero .lead { color: var(--mint); font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 44ch; margin-bottom: 1.6em; }
.hero-visual { position: relative; justify-self: center; width: min(320px, 78vw); }
.phone {
  position: relative; border-radius: 40px; background: var(--ink); padding: 10px;
  box-shadow: 0 40px 60px -30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
}
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 640 / 1231; object-fit: cover; object-position: top; background: #F4F6F3; }
.sticker {
  position: absolute; left: -22%; bottom: 14%; width: 132px; height: 132px; border-radius: 50%;
  background: var(--emerald); color: var(--ink); display: grid; place-content: center; justify-items: center; gap: 4px;
  text-align: center; font-weight: 800; font-size: .82rem; line-height: 1.1; font-stretch: 108%;
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.5), inset 0 0 0 6px rgba(255,255,255,.35);
}
.sticker .icon { width: 38px; height: 38px; }
.sticker::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--emerald); opacity: 0; }
.hero-caption { margin-top: 18px; font-size: .85rem; color: var(--mint); text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: tap 1.5s cubic-bezier(.16, 1, .3, 1) .5s 1 both; }
  .sticker::after { animation: ring 1.2s cubic-bezier(.16, 1, .3, 1) 1.05s 1; }
}
@keyframes tap {
  0% { transform: translate(0, 0) rotate(3deg); }
  45% { transform: translate(-18px, 10px) rotate(-1deg); }
  100% { transform: translate(0, 0) rotate(2deg); }
}
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .hero-visual { width: min(270px, 72vw); margin-top: 8px; }
  .sticker { left: -18%; width: 112px; height: 112px; font-size: .75rem; }
}

/* Secciones */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }

/* Cómo funciona: es una secuencia real, por eso va numerada */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: paso; position: relative; }
.steps li { counter-increment: paso; position: relative; padding-top: 84px; }
.steps li::before {
  content: counter(paso); position: absolute; top: 0; left: 0; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; font-stretch: 120%;
  background: var(--forest); color: #fff; box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px var(--forest);
}
.steps li:last-child::before { background: var(--emerald); color: var(--ink); box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px var(--emerald); }
.steps::before { content: ""; position: absolute; top: 31px; left: 32px; right: 16%; border-top: 2px dashed var(--line); }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--muted); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 32px; bottom: 32px; left: 31px; right: auto; border-top: 0; border-left: 2px dashed var(--line); }
  .steps li { padding: 4px 0 0 92px; min-height: 64px; }
}
.note-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.note-row span { display: inline-flex; align-items: center; gap: 8px; }
.note-row .icon { color: var(--link); }

/* Audiencias */
.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); }
.audience {
  background: var(--surface); border-radius: var(--radius-block); padding: clamp(24px, 3.5vw, 40px);
  display: grid; grid-template-columns: 1fr 150px; gap: 24px; align-items: start; border: 1px solid var(--line);
}
.audience.is-forest { background: var(--forest); color: #fff; border-color: var(--forest); }
.audience.is-forest .muted, .audience.is-forest li { color: var(--mint); }
.audience h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-stretch: 112%; }
.audience ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.audience li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.audience li .icon { margin-top: .2em; color: var(--emerald); }
.audience img { border-radius: 18px; border: 6px solid var(--ink); width: 150px; aspect-ratio: 320 / 615; object-fit: cover; object-position: top; }
@media (max-width: 960px) { .audiences { grid-template-columns: 1fr; } }
/* Demos */
.demos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.demo { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-block); padding: 22px; }
.demo > div { min-width: 0; display: grid; gap: 6px; justify-items: start; }
.demo h3 { font-size: 1.3rem; font-stretch: 112%; margin: 0; }
.demo p { margin: 0; }
.demo .btn { margin-top: 8px; }
.demo-kind { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--emerald); }
.demo-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mint-soft); color: var(--link); }
@media (min-width: 1100px) { .demos { grid-template-columns: repeat(2, 1fr); max-width: 860px; } }
.demo-ico .icon { width: 22px; height: 22px; }

@media (max-width: 480px) { .audience { grid-template-columns: 1fr; } .audience img { width: 140px; } }

/* Reseñas */
.reviews { background: var(--mint-soft); }
.reviews-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.flow li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.flow li:last-child { border-bottom: 0; }
.flow .dot { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--link); border: 2px solid var(--line); }
.flow .dot .icon { width: 26px; height: 26px; }
.flow b { display: block; font-size: 1.08rem; }
.flow span { color: var(--muted); }
.stars { display: flex; gap: 4px; color: #E3A008; margin-bottom: 16px; }
.stars .icon { width: 28px; height: 28px; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* Funciones agrupadas */
.feature-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.feature-groups h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--forest); margin-bottom: 14px; }
.feature-groups h3 .icon { color: var(--link); width: 26px; height: 26px; }
.feature-groups ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feature-groups li { color: var(--muted); }
.feature-groups li b { color: var(--text); font-weight: 700; }
@media (max-width: 900px) { .feature-groups { grid-template-columns: 1fr; } }

/* Confianza: antifraude + LOPDP */
.trust-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.trust-grid .phone { padding: 8px; border-radius: 32px; }
.trust-grid .phone img { border-radius: 25px; }
.trust-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 8px; }
.trust-cols h3 { font-size: 1.25rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--muted); }
.checklist li .icon { color: var(--link); width: 22px; height: 22px; margin-top: .15em; }
.checklist b { color: var(--text); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } .trust-grid .phone { width: 220px; } }
@media (max-width: 640px) { .trust-cols { grid-template-columns: 1fr; } }

/* Precios */
.pricing { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.plan, .calc { border-radius: var(--radius-block); padding: clamp(24px, 3.5vw, 40px); }
.plan { background: var(--forest); color: #fff; }
.plan .muted { color: var(--mint); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 4px; }
.price strong { font-size: clamp(3.4rem, 7vw, 5rem); line-height: 1; font-stretch: 120%; font-weight: 800; letter-spacing: -.03em; }
.price span { font-weight: 600; color: var(--mint); }
.plan ul { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; }
.plan li .icon { color: var(--emerald); margin-top: .2em; }
.calc { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.calc label { font-weight: 700; display: block; margin-bottom: 6px; }
.calc-control { display: grid; grid-template-columns: 48px 1fr 48px 3ch; grid-template-areas: "minus range plus out"; align-items: center; gap: 14px; margin-bottom: 18px; }
.calc-control [data-step="-1"] { grid-area: minus; }
.calc-control [data-step="1"] { grid-area: plus; }
.calc-control input { grid-area: range; }
.calc-control output { grid-area: out; }
@media (max-width: 520px) { .calc-control { grid-template-columns: 48px 1fr 48px; grid-template-areas: "range range range" "minus out plus"; } }
.calc-control output { font-size: 2rem; font-weight: 800; min-width: 2.2ch; text-align: center; font-variant-numeric: tabular-nums; font-stretch: 115%; }
.stepper { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line); background: transparent; color: var(--text); font: inherit; font-size: 1.5rem; font-weight: 700; cursor: pointer; display: grid; place-items: center; }
.stepper:hover { border-color: var(--link); }
input[type="range"] { flex: 1; accent-color: var(--forest); min-width: 0; height: 28px; }
.breakdown { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.breakdown li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font-variant-numeric: tabular-nums; }
.total strong { font-size: 2.2rem; font-stretch: 115%; }
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.example { border-radius: 14px; background: var(--paper); padding: 12px 14px; }
.example b { display: block; font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.example span { color: var(--muted); font-size: .9rem; }
.extras { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.extras div { border-top: 2px solid var(--line); padding-top: 14px; }
.extras b { display: block; }
.extras span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } .extras { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .examples { grid-template-columns: 1fr; gap: 8px; } .example { display: flex; align-items: baseline; gap: 12px; } .example b { font-size: 1.15rem; min-width: 3.2ch; } }

/* Preguntas frecuentes */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-weight: 700; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s ease; color: var(--link); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-grid h2 { color: #fff; }
.contact-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contact-points li { display: flex; gap: 12px; align-items: center; }
.contact-points .icon { color: var(--emerald); width: 24px; height: 24px; }
.form { background: var(--surface); color: var(--text); border-radius: var(--radius-block); padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 16px; }
.form a { color: var(--link) !important; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .98rem; }
.field .hint { font-size: .88rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--paper);
  border: 2px solid var(--line); border-radius: var(--radius-field); padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(29,191,132,.35); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; cursor: pointer; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--forest); cursor: pointer; }
.error { color: var(--danger); font-size: .9rem; font-weight: 600; }
.form-status { font-size: .95rem; }
.contact-grid .form .muted { color: var(--muted); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Pie */
.site-foot { background: var(--forest-deep); color: #fff; padding: 56px 0 32px; font-size: .95rem; }
.site-foot a, .site-foot .linklike { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-grid h2 { font-size: 1rem; font-stretch: 105%; letter-spacing: 0; margin-bottom: 12px; color: var(--mint); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand img { width: 120px; height: 54px; margin-bottom: 14px; }
.foot-brand p { color: var(--mint); max-width: 32ch; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--mint); }
.linklike { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Páginas internas */
.page-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-stretch: 114%; max-width: 20ch; }
.page-hero .lead { color: var(--mint); max-width: 56ch; }
.crumbs { font-size: .9rem; margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: inherit; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split .phone { width: min(300px, 76vw); justify-self: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.verticals { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.verticals li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.verticals .icon { color: var(--link); }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-block); padding: clamp(22px, 3vw, 32px); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 22ch; }
.callout.cta-band > div { max-width: 62ch; }

/* Textos legales */
.legal { max-width: 78ch; }
.legal h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-stretch: 106%; margin-top: 2em; }
.legal h3 { margin-top: 1.4em; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: .45em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0 1.5em; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--surface); }
.table-scroll { overflow-x: auto; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-block); padding: 20px 24px; margin-bottom: 2em; }
.toc ol { margin: 0; columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-content: center; }

/* Banner y diálogo de cookies */
.cookie-banner {
  position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 560px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-block);
  box-shadow: var(--shadow); padding: 20px; padding-bottom: max(20px, env(safe-area-inset-bottom));
}
@media (min-width: 640px) { .cookie-banner { left: auto; right: 24px; bottom: 24px; } }
.cookie-banner h2 { font-size: 1.1rem; font-stretch: 104%; margin-bottom: .4em; }
.cookie-banner p { font-size: .95rem; color: var(--muted); }
.cookie-banner .btn-row .btn { flex: 1 1 auto; }
.cookie-dialog { border: 0; border-radius: var(--radius-block); padding: 0; width: min(560px, calc(100vw - 32px)); background: var(--surface); color: var(--text); box-shadow: var(--shadow); overscroll-behavior: contain; }
.cookie-dialog::backdrop { background: rgba(11, 18, 32, .55); }
.cookie-dialog form { padding: 24px; display: grid; gap: 16px; }
.cookie-dialog h2 { font-size: 1.3rem; margin: 0; }
.toggle { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.toggle p { margin: 4px 0 0; font-size: .92rem; color: var(--muted); }
.toggle input { width: 22px; height: 22px; accent-color: var(--forest); }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-head, .site-foot, .cookie-banner, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}

.mt-s { margin-top: 12px; }
.mt-m { margin-top: 28px; }
