/* ==========================================================================
   Elizari · hoja de estilos v8
   MARCA: todo lo que cambia con la marca está en el bloque "Marca" de abajo.
   Cuando se elija marca, basta con cambiar esas variables (y el nombre en el HTML).
   ========================================================================== */
@font-face { font-family: 'Schibsted Grotesk'; font-weight: 400 800; font-display: swap; src: url(../fonts/schibsted-grotesk-400-800.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 500 700; font-display: swap; src: url(../fonts/outfit-500-700.woff2) format('woff2'); }

:root {
  /* Neutros (no cambian con la marca) */
  --ground: #F2F2EF;
  --surface: #E6E6E1;
  --surface-2: #D9D9D2;
  --ink: #111417;
  --ink-soft: #4A4F56;
  --white: #FFFFFF;

  /* Marca: zaindu (nombre zaindu, brújula, verde #12865B, azul #1B3A6B, Outfit) */
  --accent: #12865B;        /* verde zaindu: botón principal y ruta */
  --accent-ink: #FFFFFF;    /* texto sobre --accent */
  --accent-text: #0D6B48;   /* enlaces y cifras sobre fondo claro */
  --deep: #1B3A6B;          /* azul zaindu: campos oscuros */
  --deep-ink: #F2F2EF;
  --deep-soft: #B7C3D8;
  --display: 'Outfit', system-ui, sans-serif;
  --display-weight: 600;
  --display-tracking: -0.03em;
  --display-case: none;
  --display-leading: .96;

  --text: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Escala: cinco tamaños */
  --s-small: .875rem;
  --s-body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --s-lead: clamp(1.25rem, 1.1rem + .7vw, 1.625rem);
  --s-head: clamp(2.25rem, 1.4rem + 3.2vw, 4.25rem);
  --s-display: clamp(3rem, 1.2rem + 5.6vw, 6.5rem);

  /* alias de nombres antiguos (blog y páginas interiores) */
  --gold: var(--accent); --gold-text: var(--accent-text); --paper: var(--ground); --paper-2: var(--surface);
  --ink-2: var(--ink-soft); --serif: var(--display); --sans: var(--text); --signal: #B42318; --line: var(--surface-2);

  --margin: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --wrap: var(--max); --gutter: var(--margin);
  --gap-section: clamp(96px, 12vw, 200px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--s-body)/1.55 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .2em; }
p, h1, h2, h3, h4, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 2000; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--margin); }
h1, h2, .display { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: var(--display-case); line-height: var(--display-leading); text-wrap: balance; }
h3 { font-size: var(--s-lead); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.hp { position: absolute; left: -9999px; }
.tnum { font-variant-numeric: tabular-nums; }

/* Botones: rectos, un solo relleno */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 28px; border: 0; border-radius: 0; font: 600 var(--s-body)/1 var(--text); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, transform .15s var(--ease); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-accent, .btn-gold { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover, .btn-gold:hover { background: var(--ink); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: var(--surface); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.textlink { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: .28em; transition: text-decoration-color .2s, color .2s; }
.textlink:hover { color: var(--accent-text); text-decoration-color: currentColor; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 100; background: var(--ground); transition: background-color .2s; }
.nav.scrolled { background: var(--surface); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.brand-logo { height: 56px; margin-left: -10px; width: auto; display: block; }
.brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: -0.02em; font-size: 1.5rem; line-height: 1; }
.brand-sub { display: block; font: 500 var(--s-small)/1.25 var(--text); color: var(--ink-soft); max-width: 20ch; }
.menu { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.menu a { font-weight: 500; text-decoration: none; color: var(--ink); position: relative; padding: 6px 0; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.menu a:not(.btn):hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu .btn { min-height: 48px; padding: 0 22px; color: var(--white); }
.menu .btn:hover { color: var(--accent-ink); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); font: 600 var(--s-body)/1 var(--text); }

/* ---------- Portada ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 72px) 0 clamp(56px, 7vw, 112px); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 0 clamp(32px, 4vw, 72px); align-items: start; }
.hero h1 { grid-column: 1 / -1; grid-row: 1; font-size: min(var(--s-display), 6rem); max-width: 12em; margin-bottom: clamp(32px, 4vw, 56px); position: relative; z-index: 2; }
.hero .copy { grid-column: 1; grid-row: 2; padding-top: 8px; }
.hero .hero-plan { grid-column: 2; grid-row: 1 / 3; margin-top: calc(min(var(--s-display), 6rem) * 1.1); }
.hero .lead { font-size: var(--s-lead); line-height: 1.35; max-width: 30ch; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }
.hero .creds { margin-top: 48px; font-size: var(--s-small); color: var(--ink-soft); max-width: 46ch; }
.hero-plan { position: relative; margin: 0 calc(var(--margin) * -1) 0 0; }
.hero-plan svg { width: 100%; height: auto; }
.plan-caption { margin-top: 12px; font-size: var(--s-small); color: var(--ink-soft); }

/* Plano de evacuación (dibujo) */
.ev .room { fill: var(--surface); }
.ev .room-2 { fill: var(--surface-2); }
.ev .wall { stroke: var(--ink); stroke-width: 12; fill: none; stroke-linecap: square; }
.ev .wall-in { stroke: var(--ink); stroke-width: 7; fill: none; stroke-linecap: square; }
.ev .route-case { stroke: var(--ink); stroke-width: 15; fill: none; stroke-linejoin: miter; }
.ev .route { stroke: var(--accent); stroke-width: 9; fill: none; stroke-linejoin: miter; }
.ev .arrowhead { fill: var(--accent); stroke: var(--ink); stroke-width: 3; stroke-linejoin: miter; }
.ev .ap { fill: var(--accent); }
.ev .ap-ink { fill: var(--accent-ink); }
.ev .here { fill: var(--ink); }
.ev .here-ring { fill: var(--ground); stroke: var(--ink); stroke-width: 5; }
.ev .label { font: 600 17px/1 var(--text); fill: var(--ink-soft); letter-spacing: 0; }
.ev .label-strong { font: 700 19px/1 var(--text); fill: var(--ink); }
.ev .ground-line { fill: var(--ground); }

/* Tres líneas */
.lines { background: var(--surface); }
.lines .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.line { display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); background: var(--ground); text-decoration: none; min-height: 300px; transition: background-color .25s, color .25s; }
.line .l-title { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-tracking); font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); line-height: 1; }
.line .l-desc { max-width: 32ch; }
.line .l-more { margin-top: auto; font-weight: 600; }
.line:hover { background: var(--deep); color: var(--deep-ink); }
.line:hover .arrow { transform: translateX(4px); }
.line .arrow { display: inline-block; transition: transform .2s var(--ease); }
.textlink.light { color: var(--deep-ink); }
.textlink.light:hover { color: var(--accent); }

/* Comprobador (lo vivo) */
.check-band { background: var(--deep); color: var(--deep-ink); padding: clamp(80px, 10vw, 160px) 0; }
.check-band .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.check-band h2 { font-size: var(--s-head); }
.check-band .intro { margin-top: 28px; font-size: var(--s-body); color: var(--deep-soft); max-width: 40ch; }
.countdown { margin-top: 56px; }
.countdown b { display: block; font-family: var(--display); font-weight: var(--display-weight); font-size: var(--s-display); line-height: .9; letter-spacing: var(--display-tracking); color: var(--accent); }
.countdown span { display: block; margin-top: 12px; color: var(--deep-ink); max-width: 30ch; }
.checker { display: grid; gap: 28px; }
.checker .q { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checker label { display: block; font-weight: 600; margin-bottom: 10px; }
.checker select, .checker input { width: 100%; min-height: 64px; padding: 0 20px; border: 0; border-radius: 0; background: #FFFFFF14; color: var(--deep-ink); font: 500 var(--s-lead)/1 var(--text); appearance: none; -webkit-appearance: none; }
.checker select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M0 0h14L7 9z' fill='%23F2F2EF'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; padding-right: 52px; }
.checker select option { color: var(--ink); background: var(--white); }
.checker select:focus, .checker input:focus { background-color: #FFFFFF22; outline: 3px solid var(--accent); outline-offset: 0; }
.verdict { background: var(--ground); color: var(--ink); padding: clamp(28px, 3.4vw, 48px); min-height: 260px; display: grid; align-content: start; gap: 16px; }
.verdict .v-title { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-tracking); font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1; }
.verdict .v-title.si { color: var(--ink); }
.verdict .v-why { max-width: 54ch; }
.verdict .v-next { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 8px; }
.verdict .v-mark { width: 44px; height: 44px; }

/* Qué cambia */
.changes { padding: var(--gap-section) 0; }
.changes .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 112px); }
.changes h2 { font-size: var(--s-head); position: sticky; top: 120px; }
.changes .side p { margin-top: 24px; max-width: 32ch; position: sticky; top: 300px; }
.change-list { list-style: none; display: grid; gap: clamp(40px, 5vw, 72px); }
.change-list li { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px; align-items: baseline; }
.change-list .fig { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-tracking); font-size: clamp(2.5rem, 1.6rem + 2.4vw, 4rem); line-height: .95; }
.change-list h3 { margin-bottom: 8px; }

/* Quién está obligado: tabla */
.who { background: var(--surface); padding: clamp(80px, 9vw, 144px) 0; }
.who .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.who h2 { font-size: var(--s-head); }
.who .head p { max-width: 44ch; }
.thresholds { width: 100%; border-collapse: collapse; }
.thresholds th { text-align: left; font-size: var(--s-small); font-weight: 600; color: var(--ink-soft); padding: 0 0 16px; }
.thresholds td { padding: 24px 0; border-top: 2px solid var(--ink); vertical-align: baseline; }
.thresholds td:first-child { font-size: var(--s-lead); font-weight: 600; width: 34%; padding-right: 24px; }
.thresholds .num { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-tracking); font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1; width: 30%; padding-right: 24px; }
.thresholds td:last-child { color: var(--ink-soft); }
.who .foot-note { margin-top: 32px; max-width: 70ch; font-size: var(--s-small); color: var(--ink-soft); }

/* Servicios */
.services-x { padding: var(--gap-section) 0; }
.services-x .top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: clamp(56px, 7vw, 112px); }
.services-x h2 { font-size: var(--s-display); }
.services-x .top p { font-size: var(--s-lead); line-height: 1.35; }
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 112px); padding: clamp(32px, 4vw, 56px) 0; }
.svc h3 { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-tracking); font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1; }
.svc .body p + p { margin-top: 12px; }
.svc .body p { max-width: 60ch; }
.svc .for { color: var(--ink-soft); }
.svc-group { margin-top: clamp(72px, 9vw, 140px); }
.svc-group > h3 { font-size: var(--s-lead); margin-bottom: 24px; color: var(--accent-text); }

/* Método: de la dispersión al punto de encuentro */
.method { background: var(--deep); color: var(--deep-ink); padding: clamp(88px, 10vw, 168px) 0; overflow: hidden; }
.method .head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: end; }
.method h2 { font-size: var(--s-head); }
.method .head p { color: var(--deep-soft); max-width: 46ch; }
.method-fig { margin-top: clamp(48px, 6vw, 88px); }
.method-fig svg { width: 100%; height: auto; }
.method-fig .dot-a { fill: var(--deep-soft); opacity: .45; }
.method-fig .dot-b { fill: var(--deep-soft); opacity: .8; }
.method-fig .dot-c { fill: var(--accent); }
.method-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.method-steps b { display: block; font-size: var(--s-lead); margin-bottom: 10px; }
.method-steps p { color: var(--deep-soft); max-width: 34ch; }
.method-fig .fig-v { display: none; }

/* Formas de trabajar: escalones */
.plans-x { padding: var(--gap-section) 0; }
.plans-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; }
.plans-row .heading { grid-column: 1 / 3; grid-row: 1; align-self: start; padding-bottom: 40px; }
.plans-row h2 { font-size: var(--s-head); max-width: 12ch; }
.plans-row .heading p { margin-top: 20px; max-width: 40ch; }
.step { display: flex; flex-direction: column; background: var(--surface); }
.step .in { padding: 32px; flex: 1; }
.step h3 { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-tracking); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1; }
.step .for { margin-top: 12px; color: var(--ink-soft); }
.step ul { list-style: none; margin-top: 28px; display: grid; gap: 10px; }
.step li { padding-left: 22px; position: relative; }
.step li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; background: var(--accent); }
.step .strip { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 32px; font-weight: 600; text-decoration: none; background: var(--surface-2); color: var(--ink); transition: background-color .2s, color .2s; }
.step .strip:hover { background: var(--ink); color: var(--white); }
.step-1 { min-height: 420px; grid-column: 1; grid-row: 2; }
.step-2 { min-height: 520px; grid-column: 2; grid-row: 2; }
.step-3 { min-height: 640px; grid-column: 3; grid-row: 1 / 3; background: var(--accent); color: var(--accent-ink); }
.step-3 .for { color: inherit; opacity: .85; }
.step-3 li::before { background: var(--accent-ink); }
.step-3 .strip { background: var(--ink); color: var(--white); }
.step-3 .strip:hover { background: var(--white); color: var(--ink); }
.plans-x .aside { margin-top: 32px; color: var(--ink-soft); }

/* Quién firma */
.about { padding: 0 0 var(--gap-section); }
.about .panel { background: var(--deep); color: var(--deep-ink); margin: 0 clamp(10px, 1.4vw, 20px); padding: clamp(40px, 5vw, 80px) clamp(24px, 4vw, 64px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 112px); position: relative; overflow: hidden; }
.about h2 { font-size: var(--s-head); max-width: 9em; }
.about .statement { margin-top: 32px; font-size: var(--s-lead); line-height: 1.35; max-width: 28ch; color: var(--deep-ink); }
.about .blocks { display: grid; gap: 48px; align-content: start; padding-top: 8px; }
.about .blocks h3 { margin-bottom: 10px; }
.about .blocks p { color: var(--deep-soft); }
.about .blocks .btn { justify-self: start; }
.about .portrait { position: absolute; left: clamp(24px, 4vw, 64px); bottom: -22%; width: min(34vw, 500px); }

/* Guías */
.guides-x { padding: 0 0 var(--gap-section); }
.guides-x .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.guides-x h2 { font-size: var(--s-head); }
.guide-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); list-style: none; }
.doc { aspect-ratio: 210 / 297; background: var(--white); padding: 9% 10%; display: flex; flex-direction: column; justify-content: space-between; transition: transform .3s var(--ease); }
.doc.dark { background: var(--deep); color: var(--deep-ink); }
.doc.acc { background: var(--accent); color: var(--accent-ink); }
.doc .d-kind { font-size: var(--s-small); font-weight: 600; }
.doc .d-title { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-tracking); font-size: clamp(1.375rem, 1rem + 1vw, 2rem); line-height: 1; }
.doc .d-bars { display: grid; gap: 7px; }
.doc .d-bars i { display: block; height: 7px; background: currentColor; opacity: .14; }
.doc .d-bars i:nth-child(2) { width: 82%; } .doc .d-bars i:nth-child(3) { width: 64%; }
.guide-row a { text-decoration: none; display: block; }
.guide-row a:hover .doc { transform: translateY(-6px); }
.guide-row .g-meta { margin-top: 18px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.guide-row .g-meta b { font-weight: 600; }
.guide-row .g-meta span { font-weight: 600; color: var(--accent-text); white-space: nowrap; }
.guide-row .g-desc { margin-top: 6px; color: var(--ink-soft); font-size: var(--s-small); }

/* Academia */
.academy { background: var(--accent); color: var(--accent-ink); padding: clamp(80px, 9vw, 144px) 0; }
.academy .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.academy h2 { font-size: var(--s-head); max-width: 11em; }
.academy .a-head p { font-size: var(--s-lead); line-height: 1.35; margin-top: 28px; max-width: 34ch; }
.academy .a-head { position: sticky; top: 120px; }
.a-list { list-style: none; display: grid; gap: 8px; }
.a-list li { background: var(--accent-ink); color: var(--ink); padding: clamp(24px, 3vw, 40px); display: grid; gap: 10px; }
.a-list b { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-tracking); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); line-height: 1.05; }
.a-list p { max-width: 56ch; }
.a-state { font-weight: 600; color: var(--accent-text); }
.a-state.soon { color: var(--ink-soft); }
.a-link { display: grid; gap: 10px; color: inherit; text-decoration: none; }
.a-link:hover .a-state { text-decoration: underline; text-underline-offset: 4px; }
.a-esp { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.a-esp a { padding: 8px 14px; background: var(--ground); color: var(--ink); text-decoration: none; font-weight: 500; }
.a-esp a:hover { background: var(--accent); color: var(--accent-ink); }
.academy .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.academy .btn-dark:hover { background: var(--white); color: var(--ink); }
.academy .btn-line { background: var(--accent-ink); color: var(--accent); }
.academy .btn-line:hover { background: var(--ink); color: var(--white); }

/* Software */
.software { padding: var(--gap-section) 0; }
.software .head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.software h2 { font-size: var(--s-display); }
.software .head p { font-size: var(--s-lead); line-height: 1.35; }
.sw-list { list-style: none; display: grid; gap: 8px; }
.sw-list li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 1.6fr) minmax(0, 1.8fr); gap: 32px; align-items: baseline; background: var(--surface); padding: clamp(24px, 2.6vw, 36px) clamp(20px, 2.4vw, 36px); }
.sw-name { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-tracking); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); line-height: 1.05; }
.sw-state { font-weight: 600; color: var(--accent-text); }
.sw-act { justify-self: end; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sw-act .arrow { display: inline-block; transition: transform .2s var(--ease); }
.sw-act:hover { color: var(--accent-text); }
.sw-act:hover .arrow { transform: translateX(4px); }

/* Blog */
.journal { padding: var(--gap-section) 0; }
.journal .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.journal h2 { font-size: var(--s-head); }
.entries { list-style: none; }
.entries a { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 2fr); gap: 32px; padding: 28px min(24px, var(--margin)); margin: 0 calc(min(24px, var(--margin)) * -1); text-decoration: none; align-items: baseline; transition: background-color .2s; }
.entries a:hover { background: var(--surface); }
.entries li + li { margin-top: 4px; }
.entries .e-meta { color: var(--ink-soft); }
.entries .e-title { font-size: var(--s-lead); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; transition: color .2s; }
.entries .e-more { justify-self: end; font-weight: 600; }
.entries a:hover .e-title { color: var(--accent-text); }

/* Contacto */
.contact-x { background: var(--surface); padding: clamp(80px, 10vw, 160px) 0; }
.contact-x .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); }
.contact-x h2 { font-size: var(--s-head); }
.contact-x .intro { margin-top: 24px; max-width: 38ch; }
.direct { margin-top: 48px; display: grid; gap: 20px; list-style: none; }
.direct a { text-decoration: none; display: inline-block; }
.direct .d-big { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1; font-variant-numeric: tabular-nums; }
.direct small { display: block; color: var(--ink-soft); font-size: var(--s-small); margin-bottom: 6px; }
.direct a:hover { color: var(--accent-text); }

/* Formularios */
.form-x { background: var(--ground); padding: clamp(24px, 3.4vw, 48px); display: grid; gap: 18px; align-content: start; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: var(--s-body); }
.field input, .field select, .field textarea { width: 100%; min-height: 56px; padding: 14px 16px; border: 0; border-radius: 0; background: var(--surface); color: var(--ink); font: 400 var(--s-body)/1.4 var(--text); box-shadow: inset 0 -2px 0 var(--ink-soft); /* taste-skill-ignore: línea de campo de formulario */ transition: box-shadow .2s, background-color .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); box-shadow: inset 0 -3px 0 var(--accent); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consent { font-size: var(--s-small); color: var(--ink-soft); }
.consent a { color: inherit; }
.form-msg { font-weight: 600; min-height: 1.4em; }
.form-msg.ok { color: var(--accent-text); }
.form-msg.err { color: #B42318; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--s-small); color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }

/* Pie */
.footer { background: var(--deep); color: var(--deep-ink); padding: clamp(72px, 8vw, 128px) 0 40px; overflow: hidden; }
.footer .big { color: var(--deep-ink); font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: -0.05em; font-size: clamp(4.5rem, 1rem + 17vw, 17rem); line-height: .8; margin-left: -.04em; }
.footer .big .mark { color: var(--accent); }
.footer .big img { display: block; width: clamp(260px, 56vw, 820px); height: auto; margin-left: clamp(-30px, -2.2vw, -12px); }
.footer .relacion { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-bottom: clamp(48px, 6vw, 80px); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid #FFFFFF26; }
.footer .relacion p { font-size: var(--s-lead); line-height: 1.35; color: var(--deep-ink); max-width: 40ch; margin: 0; }
.footer .relacion .btn { color: var(--accent-ink); text-decoration: none; }
.footer .relacion .btn:hover { background: var(--white); color: var(--ink); }
.footer .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(56px, 7vw, 96px); }
.footer h3 { font-size: var(--s-body); font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: var(--deep-soft); text-decoration: none; }
.footer a:hover { color: var(--deep-ink); text-decoration: underline; }
.footer p { color: var(--deep-soft); }
.footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; color: var(--deep-soft); font-size: var(--s-small); }

/* ---------- Páginas interiores ---------- */
.page-head { padding: clamp(56px, 8vw, 128px) 0 clamp(40px, 5vw, 72px); }
.page-head h1 { font-size: var(--s-head); max-width: 16em; }
.page-head .lead { margin-top: 28px; font-size: var(--s-lead); line-height: 1.4; max-width: 46ch; }
.page-head .crumbs { margin-bottom: 24px; color: var(--ink-soft); font-size: var(--s-small); }
.page-head .crumbs a { color: var(--ink); }
.page-head .meta { margin-top: 20px; color: var(--ink-soft); }
.section { padding: clamp(64px, 8vw, 128px) 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: var(--s-head); }
.section-head p { margin-top: 20px; font-size: var(--s-lead); line-height: 1.4; }
.more-link { margin-top: 40px; }
.more-link a { font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.note { color: var(--ink-soft); }
.small { font-size: var(--s-small); color: var(--ink-soft); }

/* Artículos */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose h4 { font-size: var(--s-body); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--accent-text); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--s-small); }
.prose th, .prose td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--surface-2); vertical-align: top; }
.prose th { border-bottom: 2px solid var(--ink); }
.prose .note { background: var(--surface); padding: 20px 24px; color: var(--ink); }
.prose .note.alt { background: var(--deep); color: var(--deep-ink); }
.prose .examples { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prose .examples > div { background: var(--surface); padding: 20px; }
.article-foot { margin-top: 64px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--surface); padding: 6px 12px; font-size: var(--s-small); }
.cta-box { background: var(--deep); color: var(--deep-ink); padding: clamp(32px, 4vw, 56px); margin-top: 48px; }
.cta-box h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.cta-box p { margin: 16px 0 24px; color: var(--deep-soft); }

/* Blog: lista */
.posts { display: grid; gap: 0; }
.post-card { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 8px 32px; padding: 32px 0; text-decoration: none; }
.post-card .meta { color: var(--ink-soft); grid-row: 1 / 4; }
.post-card h3 { font-size: var(--s-lead); transition: color .2s; }
.post-card p { color: var(--ink-soft); max-width: 70ch; }
.post-card .more { font-weight: 600; }
.post-card:hover h3 { color: var(--accent-text); }

/* Tienda */
.products { display: grid; gap: clamp(64px, 8vw, 120px); }
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.product .doc { max-width: 360px; width: 100%; }
.product h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.75rem); margin: 12px 0 16px; }
.product .badge { font-weight: 600; color: var(--accent-text); }
.product ul { list-style: none; margin: 24px 0; display: grid; gap: 10px; }
.product li { padding-left: 22px; position: relative; }
.product li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; background: var(--accent); }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 8px; }
.buy strong { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(2rem, 1.5rem + 1.4vw, 3rem); letter-spacing: var(--display-tracking); line-height: 1; margin-right: 10px; }
.buy small { color: var(--ink-soft); font-size: var(--s-small); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 48px; }
.facts div { background: var(--surface); padding: 24px; }
.facts b { display: block; font-size: var(--s-lead); }
.facts span { color: var(--ink-soft); }

/* Citas */
.booking { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.booking h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem) !important; }
.svc-list { list-style: none; display: grid; gap: 8px; }
.svc-list button { width: 100%; text-align: left; background: var(--surface); border: 0; border-radius: 0; padding: 20px 22px; font: inherit; color: inherit; cursor: pointer; transition: background-color .2s, color .2s; }
.svc-list button:hover { background: var(--surface-2); }
.svc-list b { display: block; font-weight: 600; }
.svc-list span { display: block; color: var(--ink-soft); font-size: var(--s-small); margin-top: 4px; }
.svc-list button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.svc-list button[aria-pressed="true"] span { color: #C9CDD2; }
.form-card { background: var(--surface); padding: clamp(24px, 3.4vw, 48px); display: grid; gap: 18px; }
.form-card .field input, .form-card .field select, .form-card .field textarea { background: var(--ground); }

/* Test */
.quiz { display: grid; gap: 8px; max-width: 880px; }
.quiz fieldset { border: 0; margin: 0; background: var(--surface); padding: clamp(24px, 3vw, 40px); }
.quiz legend { float: left; width: 100%; font-size: var(--s-lead); font-weight: 600; line-height: 1.25; margin-bottom: 20px; padding: 0; }
.quiz legend span { color: var(--accent-text); margin-right: 6px; }
.quiz legend small { display: block; font-size: var(--s-small); font-weight: 400; color: var(--ink-soft); margin-top: 6px; }
.quiz select, .quiz input[type=number] { clear: both; width: 100%; min-height: 60px; padding: 0 18px; border: 0; border-radius: 0; background: var(--ground); font: 500 var(--s-body)/1 var(--text); color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink-soft); }
.quiz select:focus, .quiz input[type=number]:focus { outline: none; box-shadow: inset 0 -3px 0 var(--accent); background: var(--white); }
.quiz .opts { clear: both; display: grid; gap: 8px; }
.quiz label, .quiz .chk { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.quiz .opts label { background: var(--ground); padding: 16px 18px; transition: background-color .2s; }
.quiz .opts label:hover { background: var(--white); }
.quiz .chk { margin-top: 14px; clear: both; }
.quiz input[type=radio], .quiz input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--ink); flex: none; margin: 0; }
.quiz .btn { justify-self: start; margin-top: 16px; }
.quiz [hidden] { display: none; }
.quiz-result { margin-top: 48px; background: var(--deep); color: var(--deep-ink); padding: clamp(28px, 4vw, 56px); max-width: 880px; }
.quiz-result h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.75rem); }
.quiz-result p { margin-top: 16px; color: var(--deep-soft); }
.quiz-result ul { margin-top: 24px; list-style: none; display: grid; gap: 12px; }
.quiz-result li { padding-left: 22px; position: relative; }
.quiz-result li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; background: var(--accent); }
.quiz-result .small { color: var(--deep-soft); font-size: var(--s-small); }
.band.quiz-band { margin-top: 8px; max-width: 880px; background: var(--accent); color: var(--accent-ink); padding: clamp(28px, 4vw, 56px) 0; }
.band.quiz-band .wrap { display: grid; gap: 28px; }
.band.quiz-band h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.75rem); }
.band.quiz-band p { margin-top: 12px; }
.lead-form { display: grid; gap: 16px; }
.lead-form .field input { background: var(--white); }
.band.quiz-band .consent { color: inherit; }
.band.quiz-band .btn-gold { background: var(--ink); color: var(--white); }

/* Simple (404, gracias) */
.simple { padding: clamp(80px, 12vw, 200px) 0; }
.simple h1 { font-size: var(--s-head); max-width: 14em; }
.simple p { margin-top: 24px; font-size: var(--s-lead); line-height: 1.4; max-width: 40ch; }
.simple .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Barra de vista previa de marca (solo en la muestra) */
.brand-preview { position: fixed; z-index: 500; left: 0; right: 0; bottom: 0; background: var(--ink); color: var(--white); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px var(--margin); font-size: var(--s-small); }
.brand-preview[hidden] { display: none; }
.brand-preview span { font-weight: 600; margin-right: 4px; }
.brand-preview button { background: transparent; color: var(--white); border: 0; font: 600 var(--s-small)/1 var(--text); padding: 10px 12px; cursor: pointer; }
.brand-preview button[aria-pressed="true"] { background: var(--white); color: var(--ink); }

/* Movimiento */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
.hero-plan .shutter { clip-path: inset(0 0 0 100%); transition: clip-path 1.2s var(--ease); }
.hero-plan.in .shutter { clip-path: inset(0 0 0 0); }
.hero-plan .draw { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); transition: stroke-dashoffset 1.6s var(--ease) .9s; }
.hero-plan.in .draw { stroke-dashoffset: 0; }
.hero-plan .pop { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; transition: opacity .5s var(--ease) 2.2s, transform .5s var(--ease) 2.2s; }
.hero-plan.in .pop { opacity: 1; transform: none; }
.here-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(2.6); opacity: 0; } }
.method-fig .mv { transition: transform 1.4s var(--ease), opacity 1s; transition-delay: calc(var(--d, 0) * 1ms); }
.method-fig:not(.in) .mv { transform: translate(var(--fx, 0), var(--fy, 0)); opacity: 0; }
.verdict.flash { animation: flash .5s var(--ease); }
@keyframes flash { from { transform: translateY(8px); opacity: .4; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .hero-plan .shutter, .hero-plan .draw, .hero-plan .pop, .method-fig .mv { opacity: 1 !important; transform: none !important; clip-path: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
  .here-pulse, .verdict.flash { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .menu { position: fixed; inset: 80px 0 0 0; background: var(--ground); flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--margin) 32px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .menu.open { opacity: 1; visibility: visible; transform: none; }
  .menu a:not(.btn) { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-tracking); font-size: 2.25rem; padding: 12px 0; }
  .menu a:not(.btn)::after { display: none; }
  .menu .btn { margin-top: 24px; min-height: 60px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .hero-plan { grid-column: 1; grid-row: 3; }
  .hero-plan { margin: 40px calc(var(--margin) * -1) 0 0; }
  .check-band .wrap, .changes .wrap, .services-x .top, .method .head, .academy .wrap, .contact-x .wrap, .booking, .product { grid-template-columns: 1fr; }
  .changes h2, .changes .side p { position: static; }
  .svc { grid-template-columns: 1fr; gap: 16px; }
  .about .panel { grid-template-columns: 1fr; }
  .about .portrait { width: min(64vw, 380px); left: auto; right: 8%; }
  .guide-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans-row { grid-template-columns: 1fr; }
  .lines .wrap { grid-template-columns: 1fr; }
  .software .head { grid-template-columns: 1fr; }
  .sw-list li { grid-template-columns: 1fr; gap: 10px; }
  .sw-act { justify-self: start; }
  .academy .a-head { position: static; }
  .line { min-height: 0; }
  .plans-row .heading, .step-1, .step-2, .step-3 { grid-column: auto; grid-row: auto; min-height: 0; }
  .step-3 { order: 4; }
}
@media (max-width: 720px) {
  .nav .wrap { height: 68px; }
  .menu { inset: 68px 0 0 0; }
  .hero { min-height: 0; padding-top: 32px; }
  .hero .lead { margin-top: 24px; }
  .hero .creds { margin-top: 32px; }
  .hero-plan { margin-right: -30vw; }
  .ev .label { display: none; }
  .checker .q, .row-2, .method-steps, .prose .examples, .facts { grid-template-columns: 1fr; }
  .change-list li { grid-template-columns: 1fr; gap: 8px; }
  .thresholds thead { display: none; }
  .thresholds tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 0; border-top: 2px solid var(--ink); }
  .thresholds td { border: 0; padding: 0; width: auto !important; }
  .thresholds td:first-child { grid-column: 1; font-size: var(--s-body); }
  .thresholds .num { grid-column: 2; grid-row: 1; text-align: right; font-size: 1.75rem; padding: 0; }
  .thresholds td:last-child { grid-column: 1 / -1; font-size: var(--s-small); }
  .method-fig .fig-h { display: none; }
  .method-fig .fig-v { display: block; }
  .entries a, .post-card { grid-template-columns: 1fr; gap: 8px; }
  .entries .e-more { justify-self: start; }
  .post-card .meta { grid-row: auto; }
  .guide-row { gap: 24px 12px; }
  .footer .legal { flex-direction: column; }
  .brand-sub { display: none; }
}
@media print {
  .nav, .footer, .brand-preview { display: none; }
}
[data-brand-mark]:empty { display: none; }
