/* =============================================================
   ASCENDIA — Brutalist premium · monocromo · dark/light
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --ink:        #1E1E1E;
  --paper:      #F6F6F6;
  --grey-1:     #BFBFBD;
  --grey-2:     #ADB5BD;
  --grey-3:     #8C8C8C;
  --grey-4:     #4E4949;

  --sans:  "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono:  "TT Interphases Mono", "JetBrains Mono", ui-monospace, monospace;
  --logo:  "Josefin Sans", sans-serif;

  --line-dark:  rgba(246,246,246,0.16);
  --line-light: rgba(30,30,30,0.14);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --wrap: 1280px;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --nav-h: 74px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; line-height: 1.04; letter-spacing: -0.02em; font-weight: 700; }
::selection { background: var(--ink); color: var(--paper); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: .8rem;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Layout primitives
   ============================================================= */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.section { position: relative; padding-block: clamp(2.75rem, 6.5vw, 5rem); }

.section-dark  { background: var(--ink);   color: var(--paper); }
.section-light { background: var(--paper); color: var(--ink); }

.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: clamp(.7rem, .9vw, .8125rem);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 500;
  color: var(--grey-3);
}
.kicker-light { color: var(--grey-1); }
.hero .kicker { font-weight: 700; }

/* =============================================================
   4. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nav-inner {
  max-width: var(--wrap); margin-inline: auto;
  padding: 0 var(--pad); height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { position: relative; display: block; height: 30px; }
.nav-logo-img { height: 30px; width: auto; transition: opacity .35s var(--ease-out); }
.nav-logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav.is-scrolled .nav-logo-light { opacity: 0; }
.nav.is-scrolled .nav-logo-dark { opacity: 1; }
.nav.is-scrolled {
  background: rgba(246,246,246,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
}
.nav-links { display: none; align-items: center; gap: clamp(1.5rem, 3vw, 2.75rem); }
@media (min-width: 720px) { .nav-links { display: flex; } }
.nav-link {
  position: relative;
  font-size: .875rem; font-weight: 500;
  color: var(--paper);
  mix-blend-mode: difference;
  padding: .4rem 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  border: 1px solid var(--grey-3); padding: .5rem 1.1rem;
  mix-blend-mode: difference;
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--paper); color: var(--ink); mix-blend-mode: normal; }

/* =============================================================
   5. Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; overflow: hidden;
  padding: calc(var(--nav-h) + 3rem) var(--pad) 4rem;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.hero-bg-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,20,20,.55) 0%, rgba(20,20,20,.35) 45%, rgba(20,20,20,.72) 100%);
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: clamp(1.5rem, 3vw, 2.4rem); }
.hero-logo {
  width: min(78vw, 620px); height: auto;
  filter: drop-shadow(0 8px 40px rgba(0,0,0,.35));
}
.hero-title {
  font-family: var(--mono);
  font-size: clamp(.85rem, 1.9vw, 1.3rem);
  font-weight: 500; letter-spacing: 0; line-height: 1.55;
  color: var(--paper);
  max-width: 40ch;
}
@media (min-width: 640px) {
  .hero-title { max-width: none; white-space: nowrap; }
}
.hero-scroll {
  position: absolute; z-index: 2; bottom: 2rem; right: var(--pad);
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  font-family: var(--mono); font-size: .7rem; text-transform: uppercase;
  letter-spacing: .2em; color: var(--grey-1);
}
.hero-scroll-line { width: 1px; height: 46px; background: var(--grey-1); animation: scrollPulse 2.4s var(--ease-soft) infinite; transform-origin: top; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(.4); opacity:.4 } 50% { transform: scaleY(1); opacity:1 } }

/* =============================================================
   6. Section head + blocks
   ============================================================= */
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid; padding-top: 1.4rem; }
.section-dark  .section-head { border-color: var(--line-dark); }
.section-light .section-head { border-color: var(--line-light); }
.section-head .kicker { display: block; margin-bottom: 1.1rem; }
.section-title {
  font-size: clamp(2rem, 4.2vw, 3.75rem);
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.05;
}

/* 2-col editorial block */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 4rem); }
@media (min-width: 960px) { .grid-2 { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 7rem); } }
.block { border-top: 1px solid; padding-top: clamp(1.6rem, 3vw, 2.6rem); }
.section-light .block { border-color: var(--line-light); }
.section-dark .block { border-color: var(--line-dark); }
.block-label .kicker { display: block; margin-bottom: 1rem; }
.section-eyebrow {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -0.02em;
}
.statement {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1.24; font-weight: 400; letter-spacing: -0.01em;
  margin-bottom: 1.8rem;
}
.statement em { font-style: italic; color: var(--grey-4); }
.lede {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 1.3vw, 1.3rem);
  line-height: 1.6; color: var(--grey-4); max-width: 54ch;
}
.section-dark .lede { color: var(--grey-1); }

/* "Qué es" — cuerpo mono con énfasis */
.about-body { margin-top: clamp(1.5rem, 3vw, 2.4rem); }
.about-lede {
  font-family: var(--mono);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.75; color: var(--grey-4); max-width: 60ch;
}
.about-lede + .about-lede { margin-top: 1.5rem; }
.about-lede strong { color: var(--ink); font-weight: 700; }
.about-welcome { margin-top: 2rem; color: var(--ink); }

/* =============================================================
   7. Cards (servicios)
   ============================================================= */
.cards-3 { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
@media (min-width: 780px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; overflow: hidden;
  background: var(--ink);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  min-height: clamp(300px, 34vw, 400px);
  display: flex; flex-direction: column;
  transition: background .35s var(--ease-out), color .35s var(--ease-out);
}
/* textura por servicio al hacer hover */
.card::before {
  content: ""; position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .35s var(--ease-out);
}
.card--blueprint::before { background-image: url("assets/img/tex-card-blueprint.webp"); }
.card--training::before  { background-image: url("assets/img/tex-card-training.webp"); }
.card--solutions::before { background-image: url("assets/img/tex-card-solutions.webp"); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card-n {
  font-family: var(--mono); font-size: .8125rem; letter-spacing: .1em;
  color: var(--grey-3); margin-bottom: auto;
}
.card-title {
  font-family: var(--logo); font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: .12em;
  text-transform: uppercase; margin: 1.6rem 0 .9rem;
}
.card-body { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.55; color: var(--grey-1); }
.card-cta { margin-top: 1.6rem; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--grey-1); transition: transform .35s var(--ease-out); }
/* hover invert — signature */
.card:hover { background: var(--paper); color: var(--ink); }
.card:hover .card-n { color: var(--grey-3); }
.card:hover .card-body { color: var(--grey-4); }
.card:hover .card-cta { color: var(--ink); transform: translateX(4px); }

/* =============================================================
   8. Steps (proceso)
   ============================================================= */
.steps { list-style: none; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 4vw, 3.5rem);
  align-items: baseline;
  padding: clamp(1.6rem, 3vw, 2.6rem) 0;
  border-top: 1px solid var(--line-light);
  transition: padding-left .4s var(--ease-out);
}
.step:last-child { border-bottom: 1px solid var(--line-light); }
.step-n { font-family: var(--mono); font-size: clamp(1rem, 1.4vw, 1.25rem); color: var(--grey-3); font-weight: 500; }
.step-title { font-size: clamp(1.375rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: .5rem; }
.step-body { font-family: var(--serif); font-size: clamp(1.0625rem, 1.2vw, 1.2rem); line-height: 1.55; color: var(--grey-4); max-width: 60ch; }
@media (hover: hover) { .step:hover { padding-left: clamp(.5rem, 1.5vw, 1.25rem); } }

/* =============================================================
   9. Stats
   ============================================================= */
.section-stats { overflow: hidden; }
.stats-bg { position: absolute; inset: 0; z-index: 0; opacity: .10; }
.stats-bg img { width: 100%; height: 100%; object-fit: cover; }
.section-stats .wrap { position: relative; z-index: 1; }
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(5, 1fr); } }
.stat {
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.6rem);
  display: flex; flex-direction: column; gap: .6rem;
}
.stat-num { font-family: var(--mono); font-weight: 700; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1; letter-spacing: -0.02em; }
.stat-label { font-family: var(--mono); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--paper); line-height: 1.3; }
/* stats on light section */
.section-light .stats { border-color: var(--line-light); }
.section-light .stat { border-color: var(--line-light); }
.section-light .stat-label { color: var(--ink); }
.section-stats.section-light .stats-bg { opacity: .5; }
.stats-sub { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
@media (min-width: 720px) { .stats-sub { grid-template-columns: repeat(2, 1fr); } }

/* =============================================================
   10. Manifiesto
   ============================================================= */
.section-manifesto { overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6rem); }
.manifesto-bg { position: absolute; inset: 0; z-index: 0; }
.manifesto-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.manifesto-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,30,30,.82), rgba(30,30,30,.7)); }
.section-manifesto .wrap { position: relative; z-index: 1; }
.manifesto-mark { width: clamp(56px, 8vw, 96px); height: auto; opacity: .5; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.manifesto-lines p {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(1.85rem, 5.2vw, 4.75rem);
  line-height: 1.05; letter-spacing: -0.025em; color: var(--paper);
}
.manifesto-lines .mut { color: var(--grey-3); }

/* =============================================================
   11. Contacto — form
   ============================================================= */
.contact-direct { list-style: none; margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1.1rem; }
.contact-direct li { display: flex; flex-direction: column; gap: .2rem; }
/* contacto sin formulario — cuadrícula de canales */
.contact-grid { margin-top: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 4vw, 4rem); } }
.contact-grid li { padding: clamp(1.25rem, 2.5vw, 2rem) 0; border-top: 1px solid var(--line-light); gap: .45rem; }
.contact-grid .contact-v { font-size: clamp(1.2rem, 1.9vw, 1.65rem); }
.contact-k { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--grey-3); }
.contact-v { font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.4rem); position: relative; width: max-content; max-width: 100%; }
.contact-v::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.contact-v:hover::after { transform: scaleX(1); transform-origin: left; }

.form { position: relative; display: flex; flex-direction: column; gap: 1.5rem; transition: opacity .5s var(--ease-out), transform .5s var(--ease-soft); }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 1.5rem 0 .6rem; border: 0; border-bottom: 1px solid var(--line-light);
  background: transparent; color: var(--ink); font-family: var(--sans); font-size: 1.05rem;
  border-radius: 0; resize: vertical;
  transition: border-color .3s var(--ease-out);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field label {
  position: absolute; left: 0; top: 1.35rem; pointer-events: none;
  font-family: var(--mono); font-size: .95rem; color: var(--grey-3);
  transition: all .25s var(--ease-out);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 0; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-4);
}
.btn {
  align-self: flex-start;
  font-family: var(--sans); font-weight: 700; font-size: .8125rem;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 1rem 2.25rem; border: 1px solid var(--ink); color: var(--ink);
  transition: background .35s var(--ease-out), color .35s var(--ease-out);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.form.is-sent { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.form-success {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: .5rem;
  opacity: 0; pointer-events: none; transition: opacity .6s var(--ease-out) .2s;
}
.form-success.is-visible { opacity: 1; }
.form-success h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.form-success p { font-family: var(--serif); font-size: 1.2rem; color: var(--grey-4); }

/* =============================================================
   12. Footer
   ============================================================= */
.footer { padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.footer-logo { height: 30px; width: auto; margin-bottom: .8rem; }
.footer-tag { font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: var(--paper); }
.footer-meta { font-family: var(--logo); letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; color: var(--grey-1); }
.footer-fine { font-family: var(--mono); font-size: .72rem; color: var(--grey-3); margin-top: .8rem; }

/* =============================================================
   13. Reveal effect
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   14. Responsive tweaks
   ============================================================= */
@media (max-width: 719px) {
  .hero-scroll { display: none; }
  .stat:nth-child(5) { grid-column: span 2; }
}

/* =============================================================
   15. Subpáginas de servicio (Blueprint / Training / Solutions)
   ============================================================= */
.btn-light { border-color: var(--paper); color: var(--paper); }
.btn-light:hover { background: var(--paper); color: var(--ink); }

/* Nav actual (subpágina en curso) */
.nav-link.is-current { color: var(--grey-3); }
.nav-link.is-current::after { transform: scaleX(1); transform-origin: left; opacity: .4; }

/* Hero de subpágina (editorial, alineado a la izquierda) */
.sub-hero {
  position: relative; min-height: 68vh; min-height: 68svh;
  display: flex; align-items: flex-end; overflow: hidden;
  padding: calc(var(--nav-h) + 3rem) 0 clamp(2.5rem, 5vw, 4rem);
}
/* subpáginas más compactas */
.subpage .section { padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.subpage .section-head { margin-bottom: clamp(1.75rem, 3.5vw, 3rem); }
.sub-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(1.25rem, 2.6vw, 2rem); max-width: 62rem; }
.sub-hero-name {
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: .98; letter-spacing: -0.03em;
  color: var(--paper);
}
.sub-hero-line {
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--grey-1);
  max-width: 58ch;
}

/* Qué es / Para quién — cuerpo mono */
.sub-lede { font-family: var(--mono); font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.7; max-width: 60ch; }
.section-dark .sub-lede { color: var(--grey-1); }
.section-light .sub-lede { color: var(--grey-4); }
.sub-statement {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.18; letter-spacing: -0.015em;
  max-width: 26ch;
}

/* Cómo funciona — timeline horizontal en bloques */
.flow { list-style: none; display: grid; grid-template-columns: 1fr; }
@media (min-width: 780px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow-step {
  border-top: 1px solid; padding: 1.4rem clamp(1rem, 2vw, 1.75rem) clamp(2rem, 4vw, 3rem) 0;
}
.section-dark .flow-step { border-color: var(--line-dark); }
.section-light .flow-step { border-color: var(--line-light); }
.flow-n { display: block; font-family: var(--mono); font-size: .8125rem; letter-spacing: .1em; color: var(--grey-3); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.flow-title { font-family: var(--sans); font-weight: 700; font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -0.01em; margin-bottom: .8rem; }
.flow-body { font-family: var(--mono); font-size: .9375rem; line-height: 1.6; }
.section-dark .flow-body { color: var(--grey-1); }
.section-light .flow-body { color: var(--grey-4); }

/* Industrias (Training) */
.industries { list-style: none; margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .industries { grid-template-columns: repeat(2, 1fr); } }
.industries li { font-family: var(--mono); font-size: .95rem; padding: .9rem 0; border-top: 1px solid var(--line-dark); color: var(--grey-1); }
.section-light .industries li { border-color: var(--line-light); color: var(--grey-4); }
.industries li::before { content: "— "; color: var(--grey-3); }

/* Casos (Solutions) — dos columnas */
.cases-intro, .cases-outro { font-family: var(--mono); font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.6; color: var(--grey-4); max-width: 60ch; }
.cases-intro { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.cases-outro { margin-top: clamp(2.5rem, 5vw, 4rem); }
.section-dark .cases-intro, .section-dark .cases-outro { color: var(--grey-1); }
.cases-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 860px) { .cases-grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); } }
.case-h { font-family: var(--mono); font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; color: var(--grey-3); margin-bottom: 1.4rem; }
.case-list { list-style: none; }
.case-list li {
  font-family: var(--mono); font-size: clamp(.95rem, 1.05vw, 1.05rem); line-height: 1.55;
  padding: 1.25rem 0; border-top: 1px solid var(--line-light);
}
.section-dark .case-list li { border-color: var(--line-dark); color: var(--grey-1); }
.case-list li:last-child { border-bottom: 1px solid var(--line-light); }
.section-dark .case-list li:last-child { border-bottom-color: var(--line-dark); }

/* Cierre de subpágina */
.sub-close { text-align: left; }
.sub-close-line {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -0.02em;
  margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 20ch;
}
.section-dark .sub-close-line { color: var(--paper); }

/* =============================================================
   16. Responsive tweaks
   ============================================================= */
@media (max-width: 719px) {
  .hero-scroll { display: none; }
  .stat:nth-child(5) { grid-column: span 2; }
}

/* =============================================================
   17. Reduced-motion — only intrusive
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line { animation: none; }
  .hero-bg img { transform: none !important; }
}
