/* ==========================================================================
   Salazar Motorsport — hoja de estilos
   Implementación del lienzo «Salazar Motorsport.dc.html».
   El diseño original resolvía el responsive con JS (el lienzo no admite
   media queries); acá se hace con CSS y el JS queda sólo con lo que es
   realmente dinámico: el scrub del hero, los reveals, el sonido y el menú.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Marca */
  --bg:            #0B0D0F;
  --surface:       #15191D;
  --fg:            #F1F3F4;
  --muted:         #6E767C;
  --accent:        #1B9CC4;   /* cambiar acá para reteñir todo el sitio */
  --accent-rgb:    27, 156, 196;
  --gold:          #C9A227;

  /* Líneas */
  --line:          rgba(241, 243, 244, .08);
  --line-strong:   rgba(241, 243, 244, .14);
  --line-ghost:    rgba(241, 243, 244, .18);

  /* Tipografías */
  --font-display:  Archivo, "Archivo Black", system-ui, sans-serif;
  --font-body:     Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:     "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Métrica */
  --shell:         1240px;
  --gutter:        clamp(1.25rem, 5vw, 2.5rem);
  --section-y:     clamp(6rem, 12vw, 11rem);
  --ease:          cubic-bezier(.16, 1, .3, 1);

  /* Largo del scroll del hero 360° (200–500vh) */
  --hero-scroll:   300vh;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--fg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--bg); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .85rem 1.25rem;
}
.skip-link:focus { left: 0; color: var(--bg); }

.dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex: 0 0 auto;
}

.is-muted { color: var(--muted); }

/* Interruptores del diseño (props del lienzo). Ver CONFIG en main.js. */
.no-prices [data-price],
.no-badges [data-badge],
.no-taller [data-taller] { display: none !important; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.shell { max-width: var(--shell); margin-inline: auto; }
.shell--center { text-align: center; }

.section { padding: var(--section-y) var(--gutter); }
.section--alt { background: var(--surface); }
.section--hairline { border-top: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   Tipografía compartida
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.5rem;
}
.eyebrow--gap { margin-bottom: clamp(3rem, 6vw, 4.5rem); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0;
}
.section-title--tight { max-width: 26ch; }
.section-title--gap   { margin-bottom: clamp(3.5rem, 8vw, 6rem); max-width: 24ch; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.section-head .eyebrow { margin-bottom: 1.25rem; }
.section-head__note {
  margin: 0;
  color: var(--muted);
  max-width: 34ch;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .7rem 1.15rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 250ms ease, border-color 250ms ease, color 250ms ease;
}
.btn--solid   { background: var(--accent); color: var(--bg); }
.btn--solid:hover { background: var(--fg); color: var(--bg); }

.btn--outline { border-color: var(--line-strong); color: var(--fg); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--ghost   { border-color: var(--line-ghost); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--fg); }

.btn--lg { padding: .85rem 1.15rem; letter-spacing: .16em; }
.btn--xl { padding: 1rem 1.75rem; font-size: .7rem; }

/* --------------------------------------------------------------------------
   Cabecera
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 400ms ease, border-color 400ms ease;
}
.site-header.is-solid {
  background: var(--bg);
  border-bottom-color: var(--line);
}
.site-header__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 1.15rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  color: var(--fg);
  flex: 0 0 auto;
  line-height: 1;
}
.brand:hover { color: var(--fg); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.03em;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  text-transform: uppercase;
  line-height: .9;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
}
.brand--lg { gap: .3rem; margin-bottom: 1.5rem; }
.brand--lg .brand__name { font-size: clamp(2.25rem, 5vw, 3.25rem); }
.brand--lg .brand__sub  { font-size: .68rem; }

.main-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.nav-list {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.nav-list a { color: var(--muted); transition: color 250ms ease; }
.nav-list a:hover { color: var(--fg); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex: 0 1 auto;
  min-width: 0;
}

.sound-toggle {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .55rem .7rem;
  cursor: pointer;
  transition: color 250ms ease, border-color 250ms ease;
}
.sound-toggle:hover { color: var(--fg); border-color: rgba(241, 243, 244, .4); }

.burger {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--fg);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.burger > span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--fg);
  box-shadow: 0 5px 0 var(--fg), 0 -5px 0 var(--fg);
}

/* --------------------------------------------------------------------------
   Menú móvil
   -------------------------------------------------------------------------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: clamp(1.5rem, 6vw, 3rem);
  opacity: 0;
  transition: opacity 300ms ease;
}
.menu-overlay[hidden] { display: none; }
.menu-overlay.is-open { opacity: 1; }
.menu-overlay a {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  font-size: 2rem;
  letter-spacing: -.02em;
  color: var(--fg);
}
.menu-overlay a.is-accent { color: var(--accent); }
.menu-overlay__close {
  position: absolute;
  top: 1.15rem;
  right: var(--gutter);
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--fg);
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero 360°
   -------------------------------------------------------------------------- */
.hero { position: relative; height: var(--hero-scroll); }

.hero__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

/* La «platina»: columna de media que el JS desplaza según el scroll. */
.hero__stage {
  position: absolute;
  inset: 0;
  width: 64%;
  transform: scale(1.02) translateX(52%);
  transition: transform 700ms var(--ease);
  will-change: transform;
  /* el borde de la columna se disuelve en el fondo por máscara en dos ejes */
  -webkit-mask-image:
    linear-gradient(to right, #000 0%, #000 68%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 80%, transparent 100%);
  mask-image:
    linear-gradient(to right, #000 0%, #000 68%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.hero__video,
.hero__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero__video { opacity: 0; }                       /* el JS lo enciende si hay scrub */
.hero__frame--front { opacity: 1; transition: opacity 120ms linear; }
.hero__frame--rear  { opacity: 0; }

.hero__vignette,
.hero__fade,
.hero__scrim { position: absolute; inset: 0; }

.hero__vignette {
  background: radial-gradient(120% 90% at 50% 55%,
              rgba(11, 13, 15, 0) 35%, rgba(11, 13, 15, .72) 100%);
}
.hero__fade {
  background: linear-gradient(180deg,
              rgba(11, 13, 15, .85) 0%, rgba(11, 13, 15, 0) 32%,
              rgba(11, 13, 15, 0) 62%, rgba(11, 13, 15, .9) 100%);
}
/* garantiza contraste AA del titular sobre la carrocería blanca */
.hero__scrim {
  background: linear-gradient(90deg,
              rgba(11, 13, 15, .94) 0%, rgba(11, 13, 15, .86) 30%,
              rgba(11, 13, 15, .45) 52%, rgba(11, 13, 15, 0) 72%);
  transition: opacity 200ms linear;
}

.hero__content {
  position: absolute;
  inset: 0;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(3.75rem, 9svh, 7rem) var(--gutter) clamp(3.5rem, 7svh, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__head {
  position: relative;
  flex: 0 0 auto;
  max-width: min(540px, 46%);
}
.hero__head .eyebrow { margin-bottom: clamp(.75rem, 2svh, 1.25rem); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2rem, min(6.5vw, 8.5svh), 6.5rem);
  letter-spacing: -.02em;
  line-height: .95;
  margin: 0;
  text-wrap: balance;
}
.hero__lede {
  color: var(--fg);
  opacity: .72;
  max-width: 34ch;
  margin: clamp(1rem, 2.5svh, 1.75rem) 0 clamp(1.25rem, 3svh, 2.25rem);
  font-size: clamp(.95rem, 1.9svh, 1.0625rem);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* Tarjetas que aparecen por tramos de scroll */
.hero__cards {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: min(360px, 32%);
}
.hero-card {
  border: 1px solid rgba(var(--accent-rgb), .25);
  background: rgba(11, 13, 15, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(1.5rem, 3vw, 2rem);
  opacity: 0;
  pointer-events: none;
}
.hero-card + .hero-card { position: absolute; inset: 0 0 auto 0; }
.hero-card__label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .9rem;
}
.hero-card__label--gold { color: var(--gold); }
.hero-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  line-height: 1.05;
  margin: 0 0 .8rem;
}
.hero-card__body {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}

.hero__hud {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(1rem, 2.5svh, 1.75rem);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__hud-sep { width: 1px; height: 14px; background: var(--line-strong); }
.hero__hint {
  animation: scrollHint 2.4s ease-in-out infinite;
  transition: opacity 250ms ease;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0);   opacity: .35; }
  50%      { transform: translateY(7px); opacity: 1;   }
}

.hero__progress {
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
}
.hero__progress-bar { height: 1px; width: 0%; background: var(--accent); }

/* --------------------------------------------------------------------------
   01 · Problema
   -------------------------------------------------------------------------- */
.problema__eyebrow { margin-bottom: clamp(3rem, 7vw, 5rem); }
.problema__title {
  max-width: 22ch;
  margin-inline: auto;
  text-wrap: pretty;
}
.problema__list {
  display: grid;
  gap: 1.5rem;
  max-width: 62ch;
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  color: var(--muted);
}
.problema__list p { margin: 0; }

/* --------------------------------------------------------------------------
   02 · Solución
   -------------------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(3.5rem, 8vw, 6rem);
}
.pillar { border-top: 1px solid var(--line); padding-top: 1.75rem; }
.pillar__num {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .24em;
  color: var(--accent);
  margin: 0 0 1rem;
}
.pillar__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin: 0 0 .9rem;
}
.pillar__body { margin: 0; color: var(--muted); font-size: 1rem; }

/* --------------------------------------------------------------------------
   03 · Servicios
   -------------------------------------------------------------------------- */
.service-feature {
  position: relative;
  border: 1px solid var(--line);
  min-height: clamp(340px, 42vw, 460px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--surface);
}
.service-feature__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-feature__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
              rgba(11, 13, 15, .95) 0%, rgba(11, 13, 15, .72) 45%, rgba(11, 13, 15, .25) 100%);
}
.service-feature__body {
  position: relative;
  padding: clamp(2rem, 4vw, 3.25rem);
  max-width: min(560px, 90%);
}
.service-feature__body .eyebrow { letter-spacing: .24em; margin-bottom: 1rem; }
.service-feature__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -.02em;
  line-height: 1;
  margin: 0 0 1.1rem;
}
.service-feature__lede {
  margin: 0 0 1.5rem;
  color: var(--fg);
  opacity: .75;
  font-size: 1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  margin-top: 1px;
}
.service-card {
  background: var(--bg);
  outline: 1px solid var(--line);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.service-card .eyebrow { letter-spacing: .24em; margin: 0; }
.service-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.service-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: -.01em;
  margin: 0 0 .8rem;
}
.service-card__body { margin: 0; color: var(--muted); font-size: .95rem; }

.badge {
  font-family: var(--font-mono);
  font-size: .52rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), .4);
  padding: .3rem .5rem;
  white-space: nowrap;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.feature-list li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  color: var(--fg);
  opacity: .72;
  font-size: .9rem;
}
.feature-list li::before {
  content: "✓";
  color: var(--accent);
  font-size: .75rem;
  line-height: 1.7;
  flex: 0 0 auto;
}
.feature-list--lg { gap: .55rem; }
.feature-list--lg li { opacity: .8; font-size: .95rem; }
.feature-list--lg li::before { font-size: .8rem; line-height: 1.6; }

.price {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: auto 0 0;
}
.price--lg { font-size: .68rem; margin: 1.75rem 0 0; }

.services__note {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   04 · Método
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  position: relative;
}
.step__dot {
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.step__label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .9rem;
}
.step--gold .step__dot  { background: var(--gold); }
.step--gold .step__label { color: var(--gold); }
.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.3rem;
  margin: 0 0 .8rem;
}
.step__body { margin: 0; color: var(--muted); font-size: 1rem; }

.brands {
  margin-top: clamp(3.5rem, 7vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.brands__label {
  margin: 0 0 1.75rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
.brands__grid { display: flex; flex-wrap: wrap; gap: 1px; }
.brand-tile {
  flex: 1 1 96px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem .75rem;
  outline: 1px solid var(--line);
}
.brand-tile span {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .95rem;
  letter-spacing: .02em;
  color: var(--fg);
  opacity: .62;
  text-align: center;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   05 · Clientes
   -------------------------------------------------------------------------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}
.quote {
  margin: 0;
  border: 1px solid var(--line);
  padding: clamp(2rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.quote blockquote {
  margin: 0;
  font-size: 1.05rem;
  color: var(--fg);
  opacity: .85;
  text-wrap: pretty;
}
.quote figcaption {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   06 · Agenda
   -------------------------------------------------------------------------- */
.cta-card {
  max-width: 760px;
  margin-inline: auto;
  border: 1px solid rgba(var(--accent-rgb), .35);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .08),
              0 30px 90px rgba(var(--accent-rgb), .07);
  background: var(--bg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}
.cta-card .eyebrow { margin-bottom: 1.75rem; }
.cta-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -.02em;
  line-height: 1;
  margin: 0 0 1.5rem;
}
.cta-card__lede {
  margin: 0 auto 2.5rem;
  color: var(--muted);
  max-width: 46ch;
}
.cta-card__label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .6rem;
}
.cta-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  letter-spacing: -.02em;
  line-height: 1;
  margin: 0 0 2.5rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
}
.cta-card__fineprint {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2.5rem 0 0;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   Pie
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(4rem, 8vw, 6rem) var(--gutter) 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(2.5rem, 5vw, 4rem);
}
.footer-blurb { margin: 0; color: var(--muted); font-size: .95rem; max-width: 30ch; }
.footer-col p { margin: 0 0 .5rem; font-size: .95rem; }
.footer-col p:last-child { margin-bottom: 0; }
.footer-col a { color: var(--fg); }
.footer-col a:hover { color: var(--accent); }
.footer-heading {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem !important;
}

.footer-bottom {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-legal {
  margin: 0;
  flex: 1 1 32ch;
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.9;
}
.footer-taller {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .7rem .95rem;
  transition: color 250ms ease, border-color 250ms ease;
}
.footer-taller:hover { color: var(--fg); border-color: var(--accent); }

/* --------------------------------------------------------------------------
   Reveals al entrar en viewport
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */

/* El acceso al taller sale de la barra cuando ya no cabe con los links;
   sigue disponible dentro del menú. */
@media (max-width: 1179px) {
  .site-header .taller-link { display: none; }
}

@media (max-width: 767px) {
  :root { --hero-scroll: 240vh; }

  .nav-list { display: none; }
  .burger   { display: flex; }

  /* móvil: full-bleed, sin máscara; el JS empuja el auto hacia arriba */
  .hero__stage {
    width: 100%;
    transform: scale(1.18) translateY(20%);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero__head { max-width: min(680px, 92%); }
  .hero__cards {
    top: auto;
    bottom: clamp(3.25rem, 9vh, 5rem);
    transform: none;
    width: calc(100% - 2.5rem);
  }

  .section-head { align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .menu-overlay a { font-size: 1.65rem; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Movimiento reducido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__hint { animation: none; }
  .hero__stage { transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
