/* ==========================================================================
   Vaporax — esthétique auto · pneus · antirouille
   Base: plantilla Ridgeline (Next.js) convertida a HTML/CSS/JS.
   Tokens en 2 niveles: primitivos (--raw-*) → semánticos (por rol).
   ========================================================================== */

:root {
  /* Primitivos */
  --raw-white: #ffffff;
  --raw-black: #000000;
  --raw-ink-950: #0e1411;      /* texto principal, casi negro con matiz verde */
  --raw-ink-900: #0c110e;      /* footer y superficies oscuras */
  --raw-ink-800: #18201b;
  --raw-grey-500: #5f6a63;     /* texto secundario */
  --raw-grey-300: #aab3ad;     /* texto secundario sobre oscuro */
  --raw-grey-200: #e3e7e4;     /* líneas */
  --raw-grey-100: #f3f5f3;     /* paneles suaves */
  --raw-grey-25: #fbfcfb;      /* campo de página */
  --raw-green-600: #3f944b;    /* verde del logo */
  --raw-green-500: #4ea457;
  --raw-lime-400: #6be03c;     /* verde lima de las publicaciones */
  --raw-lime-300: #8ff066;

  /* Semánticos */
  --page: var(--raw-grey-25);
  --surface: var(--raw-white);
  --soft: var(--raw-grey-100);
  --deep: var(--raw-ink-900);
  --deep-raised: var(--raw-ink-800);
  --ink: var(--raw-ink-950);
  --muted: var(--raw-grey-500);
  --on-dark: var(--raw-white);
  --on-dark-muted: var(--raw-grey-300);
  --line: var(--raw-grey-200);
  --line-soft: rgba(14, 20, 17, 0.12);
  --accent: var(--raw-green-600);
  --accent-strong: var(--raw-green-500);
  --accent-bright: var(--raw-lime-400);
  --accent-bright-hover: var(--raw-lime-300);
  --live: var(--raw-lime-400);

  --elevation-card: 0 2px 12px rgba(0, 0, 0, 0.05);
  --elevation-form: 0 16px 48px rgba(0, 0, 0, 0.18);
  --elevation-popover: 0 8px 24px rgba(0, 0, 0, 0.22);

  --radius-page: 1.5rem;
  --radius-panel: 1.25rem;
  --radius-card: 1rem;
  --radius-pill: 999px;

  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(.76, 0, .24, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;

  --gutter: .5rem;              /* campo alrededor de la tarjeta */
  --pad: 3rem;                  /* margen interior de secciones */
  --status-h: .5rem;            /* margen vacío superior de la portada */
}

/* Escala adaptativa: 16px a 1440px, como la grilla de Ridgeline */
html { font-size: clamp(14px, calc(100vw / 90), 20px); -webkit-text-size-adjust: 100%; }
@media (max-width: 1023px) { html { font-size: 16px; } :root { --pad: 2rem; } }
@media (max-width: 767px) { :root { --gutter: 0rem; --pad: 1.25rem; } }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.is-muted { color: var(--muted); }

/* ---------- Estructura de página (campo · tarjeta · pozo) ---------- */
.page-field { padding: var(--gutter); min-height: 100lvh; }
.page-card { background: var(--page); border-radius: var(--radius-page); }
.page-well {
  background: var(--surface);
  border-radius: var(--radius-page) var(--radius-page) 0 0;
  padding: 0 .5rem;
}
@media (max-width: 767px) {
  .page-card { border-radius: 0; background: var(--surface); padding: 0 1.25rem 1.25rem; }
  .page-well { padding: 0; border-radius: 0; }
}

/* ---------- Tipografía base ---------- */
.eyebrow {
  display: flex; gap: .75rem; align-items: baseline;
  font-family: var(--font-mono); font-size: .875rem; line-height: 1.3;
  color: var(--ink);
}
.eyebrow span { color: var(--ink); }
.eyebrow--on-dark, .eyebrow--on-dark span { color: var(--on-dark-muted); }

.chip {
  display: inline-flex; align-items: center;
  height: 2rem; padding: 0 .875rem; border-radius: var(--radius-pill);
  background: var(--soft); font-family: var(--font-mono); font-size: .8125rem; color: var(--muted);
  white-space: nowrap;
}
.chip--glass {
  font-family: var(--font-sans); font-size: .875rem; font-weight: 500; color: var(--on-dark);
  height: 2.25rem; padding: 0 1rem;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* ---------- Botón píldora con cambio de texto al pasar el cursor ---------- */
.pill-button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 3.5rem; padding: 0 1.5rem; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: .875rem; font-weight: 500;
  transition: background-color var(--duration-normal), color var(--duration-normal), transform var(--duration-normal) var(--ease-out);
}
.pill-button__labels { position: relative; display: grid; overflow: hidden; height: 1.3em; line-height: 1.3; }
.pill-button__labels > span { grid-area: 1 / 1; transition: transform .45s var(--ease); white-space: nowrap; }
.pill-button__labels > span:last-child { transform: translateY(110%); }
.pill-button:hover .pill-button__labels > span:first-child,
.pill-button:focus-visible .pill-button__labels > span:first-child { transform: translateY(-110%); }
.pill-button:hover .pill-button__labels > span:last-child,
.pill-button:focus-visible .pill-button__labels > span:last-child { transform: translateY(0); }
.pill-button .icon { transition: transform .45s var(--ease); }
.pill-button:hover .icon { transform: rotate(45deg); }
.pill-button--light { background: var(--surface); color: var(--ink); }
.pill-button--dark { background: var(--deep); color: var(--on-dark); }
.pill-button--dark:hover { background: var(--deep-raised); }
.pill-button--accent { background: var(--accent-bright); color: var(--deep); }
.pill-button--accent:hover { background: var(--accent-bright-hover); }

/* ---------- Header fijo ---------- */
.site-header {
  --header-top: calc(var(--gutter) + var(--status-h) + 1.25rem);
  position: fixed; z-index: 50;
  top: 0; left: calc(var(--gutter) + 1.75rem); right: calc(var(--gutter) + 1.75rem);
  display: flex; align-items: center; gap: .5rem;
  transform: translateY(var(--header-y, var(--header-top)));
  will-change: transform;
}
.site-header__logo {
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: rgba(255, 255, 255, .92); box-shadow: var(--elevation-card);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.site-header__logo img { width: 1.6rem; height: auto; }
.site-header__nav {
  position: relative; display: flex; align-items: center; gap: .25rem;
  height: 3.5rem; padding: .5rem; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background-color var(--duration-normal), border-color var(--duration-normal);
}
.site-header__nav a {
  position: relative; z-index: 1; display: grid; place-items: center;
  height: 2.5rem; padding: 0 1rem; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: .8125rem; color: var(--on-dark);
  transition: color var(--duration-normal);
}
.site-header__nav a.is-active { color: var(--ink); }
.site-header__pill {
  position: absolute; z-index: 0; top: .5rem; left: 0; height: 2.5rem; width: 0;
  border-radius: var(--radius-pill); background: var(--surface);
  transition: transform .5s var(--ease), width .5s var(--ease), background-color var(--duration-normal);
}
.site-header__cta { margin-left: auto; box-shadow: var(--elevation-card); }
/* Sobre fondo claro */
.site-header.is-solid .site-header__nav { background: rgba(255, 255, 255, .88); border-color: var(--line); box-shadow: var(--elevation-card); }
.site-header.is-solid .site-header__nav a { color: var(--muted); }
.site-header.is-solid .site-header__nav a:hover { color: var(--ink); }
.site-header.is-solid .site-header__nav a.is-active { color: var(--on-dark); }
.site-header.is-solid .site-header__pill { background: var(--deep); }
.site-header.is-solid .site-header__cta { background: var(--soft); }

.burger { display: none; }
@media (max-width: 1023px) {
  .site-header { left: calc(var(--gutter) + 1rem); right: calc(var(--gutter) + 1rem); }
  .site-header__nav { display: none; }
}
@media (max-width: 1023px) {
  .burger {
    display: block; position: relative; margin-left: .25rem; z-index: 70;
    width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--surface); box-shadow: var(--elevation-card);
  }
  .burger span { position: absolute; left: 50%; width: 1rem; height: 1.5px; margin-left: -.5rem; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
  .burger span:nth-child(1) { top: calc(50% - 4px); }
  .burger span:nth-child(2) { top: calc(50% + 3px); }
  .menu-open .burger span:nth-child(1) { top: 50%; transform: rotate(45deg); }
  .menu-open .burger span:nth-child(2) { top: 50%; transform: rotate(-45deg); }
}
@media (max-width: 767px) {
  .site-header { --header-top: calc(var(--status-h) + .75rem); left: 2rem; right: 2rem; }
  .site-header__logo { width: 3rem; height: 3rem; }
  .site-header__cta { display: none; }
  .burger { margin-left: auto; width: 3rem; height: 3rem; }
}

/* ---------- Menú móvil: panel lateral del 80 % que se desliza al abrir y al cerrar ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .6);
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.menu-panel {
  position: fixed; top: 0; right: 0; z-index: 65; height: 100dvh; width: 80vw; max-width: 34rem;
  display: flex; flex-direction: column; gap: 2rem; padding: 6.5rem 1.75rem 1.75rem; overflow-y: auto;
  background: var(--deep); box-shadow: -24px 0 60px rgba(0, 0, 0, .35);
  transform: translateX(105%); visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s linear .6s;
}
.menu-panel::before { content: none; }
.menu-open .site-header { z-index: 70; }
.menu-open .site-header__logo { visibility: hidden; }
.menu-open .menu-overlay { opacity: 1; pointer-events: auto; }
.menu-open .menu-panel { transform: translateX(0); visibility: visible; transition: transform .6s var(--ease), visibility 0s; }
.menu-panel__links { position: static; }
.menu-panel__links li { overflow: hidden; }
.menu-panel__item {
  position: relative; display: block; padding-right: 1rem;
  font-size: 2.25rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.25; color: var(--on-dark);
  transform: translateY(110%); transition: transform .5s var(--ease);
}
.menu-open .menu-panel__item { transform: translateY(0); transition: transform .7s var(--ease); transition-delay: calc(.2s + var(--i) * .06s); }
.menu-panel__band {
  position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden;
  background: var(--accent-bright); transform: translateY(101%); transition: transform .45s var(--ease);
}
.menu-panel__item:hover .menu-panel__band, .menu-panel__item:focus-visible .menu-panel__band { transform: translateY(0); }
.menu-panel__track { display: flex; white-space: nowrap; color: var(--deep); animation: marquee 6s linear infinite; }
.menu-panel__track span { padding-right: .6em; }
.menu-panel__foot {
  margin-top: auto; display: grid; gap: .875rem;
  font-family: var(--font-mono); font-size: .8125rem; color: var(--on-dark-muted);
  opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s;
}
.menu-open .menu-panel__foot { opacity: 1; transform: none; transition: opacity .6s .35s, transform .6s .35s var(--ease); }
/* Instagram destacado */
.menu-panel__insta {
  display: flex; align-items: center; gap: .875rem; padding: .875rem 1rem; border-radius: 1rem;
  background: var(--accent-bright); color: var(--deep);
}
.menu-panel__insta .icon { flex: none; width: 1.75rem; height: 1.75rem; }
.menu-panel__insta-text { display: grid; gap: .125rem; }
.menu-panel__insta small { font-family: var(--font-mono); font-size: .6875rem; opacity: .75; }
.menu-panel__insta strong { font-family: var(--font-sans); font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
/* Teléfono para reservar */
.menu-panel__call {
  display: grid; gap: .375rem; padding: 1rem; border-radius: 1rem; border: 1px solid rgba(255, 255, 255, .22); color: var(--on-dark);
}
.menu-panel__call small { font-family: var(--font-mono); font-size: .6875rem; color: var(--on-dark-muted); }
.menu-panel__call strong { display: flex; align-items: center; gap: .5rem; font-family: var(--font-sans); font-size: 1.625rem; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.menu-panel__call .icon { width: 1.375rem; height: 1.375rem; flex: none; }
.menu-panel__addr { font-size: .75rem; }
@media (max-width: 380px) { .menu-panel__item { font-size: 2rem; } .menu-panel__call strong { font-size: 1.375rem; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Margen superior vacío (donde estaba la barra de estado) */
.top-space { height: var(--status-h); }
@media (max-width: 767px) { :root { --status-h: 0rem; } .top-space { display: none; } } /* en móvil el video llega hasta arriba */

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  height: calc(100svh - var(--gutter) * 2 - var(--status-h) - 1rem);
  min-height: 36rem; border-radius: var(--radius-panel);
  color: var(--on-dark); background: var(--deep);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__bottom { display: flex; align-items: center; gap: .75rem; pointer-events: auto; }
.hero__pause {
  display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: var(--on-dark);
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color var(--duration-normal);
}
.hero__pause:hover { background: rgba(255, 255, 255, .26); }
.hero__pause .icon { width: .875rem; height: .875rem; }
.hero__pause .icon--play { display: none; fill: currentColor; }
.hero__pause[aria-pressed="true"] .icon--pause { display: none; }
.hero__pause[aria-pressed="true"] .icon--play { display: block; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 38%),
    linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 45%),
    linear-gradient(90deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 60%);
}
.hero__content {
  position: absolute; left: 2.25rem; right: 2.25rem; top: 7.5rem; bottom: 2.25rem;
  display: flex; flex-direction: column; justify-content: space-between; pointer-events: none;
}
.hero__title {
  font-size: 5.5rem; font-weight: 600; line-height: 1.02; letter-spacing: -.045em;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line > span { display: inline-block; }
.hero__line--muted { color: rgba(255, 255, 255, .55); }
.hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; pointer-events: auto; max-width: 34rem; }

/* Rail de trabajos */
.hero-rail { position: absolute; right: 2.25rem; bottom: 2.25rem; width: 36rem; }
.hero-rail__progress {
  display: flex; align-items: center; gap: .875rem; margin-bottom: 1rem;
  font-family: var(--font-mono); font-size: .8125rem; color: var(--on-dark);
}
.hero-rail__track { position: relative; flex: 1; height: 1px; background: rgba(255, 255, 255, .25); }
.hero-rail__thumb { position: absolute; left: 0; top: -.5px; height: 2px; width: 33.34%; background: var(--surface); transition: transform .8s var(--ease); }
.hero-rail__viewport { overflow: hidden; border-radius: var(--radius-card); }
.hero-rail__list { display: flex; gap: .75rem; transition: transform .8s var(--ease); }
.job-card {
  flex: 0 0 calc(50% - .375rem); display: flex; gap: .875rem; align-items: center;
  padding: .625rem; border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background-color var(--duration-normal), opacity .6s var(--ease);
}
.job-card:hover { background: rgba(255, 255, 255, .2); }
.job-card img { width: 4.5rem; height: 4.5rem; border-radius: .625rem; object-fit: cover; flex: none; }
.job-card__text { display: grid; gap: .375rem; min-width: 0; }
.job-card__text strong { font-size: .9375rem; font-weight: 600; }
.job-card__text span { font-family: var(--font-mono); font-size: .75rem; line-height: 1.35; color: var(--on-dark-muted); }
.job-card.is-dim { opacity: .45; }
.hero__cta-sm { display: none; }

@media (max-width: 1279px) {
  .hero__title { font-size: 4.5rem; }
  .hero-rail { width: 30rem; }
}
@media (max-width: 1023px) {
  .hero__title { font-size: 3.5rem; }
  .hero__content { top: 6.5rem; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; }
  .hero__chips { max-width: 20rem; }
  .hero-rail { right: 1.5rem; bottom: 1.5rem; width: 18rem; }
  .job-card { flex-basis: 100%; }
}
@media (max-width: 767px) {
  /* Móvil: el video ocupa todo el ancho (86 % de la altura de la pantalla, máx. 46 rem), sin contenedor redondeado */
  .hero { --hero-h: min(86svh, 46rem); height: auto; min-height: 0; aspect-ratio: auto; overflow: visible; background: none; color: var(--ink); border-radius: 0; margin-inline: calc(var(--pad) * -1); }
  .hero__media { position: relative; inset: auto; height: var(--hero-h); border-radius: 0; overflow: hidden; }
  .hero__video { object-position: 50% 50%; }
  .hero__scrim {
    height: var(--hero-h); border-radius: 0;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 65%),
      linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 30%);
  }
  .hero__content { position: absolute; top: 5.5rem; left: 1.25rem; right: 1.25rem; bottom: auto; height: calc(var(--hero-h) - 5.5rem - 10rem); justify-content: flex-start; color: var(--on-dark); }
  .hero__title { font-size: 2.75rem; line-height: 1.04; }
  .hero__chips { display: none; }
  .hero__bottom { position: absolute; right: 0; bottom: 0; top: auto; }
  /* Botón del teléfono: del tamaño de su contenido y debajo del texto */
  .hero__cta-sm { display: inline-flex; position: static; align-self: flex-start; width: auto; margin-top: 1.5rem; pointer-events: auto; }
  /* Las tarjetas de trabajos van dentro de la portada, abajo del video */
  .hero-rail { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; width: auto; margin: 0; color: var(--on-dark); }
  .hero-rail__progress { margin-bottom: .75rem; }
}

/* ---------- Encabezado de sección ---------- */
.section-head {
  display: grid; grid-template-columns: 1fr 22rem; column-gap: 2rem; row-gap: 1.5rem; align-items: end;
  margin-bottom: 3.5rem;
}
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head__title { font-size: 3.5rem; font-weight: 600; line-height: 1.05; letter-spacing: -.04em; }
.section-head__title > span { display: block; }
.section-head__aside { font-size: 1rem; line-height: 1.5; color: var(--muted); padding-bottom: .5rem; }
@media (max-width: 1023px) {
  .section-head { grid-template-columns: 1fr; margin-bottom: 2.5rem; }
  .section-head__title { font-size: 2.75rem; }
  .section-head__aside { max-width: 30rem; }
}
@media (max-width: 767px) { .section-head__title { font-size: 2.25rem; } }

/* ---------- (01) À propos ---------- */
.about { padding: 7.5rem var(--pad) 0; background: var(--surface); }
.about__inner { display: flex; flex-direction: column; min-height: calc(100svh - 7.5rem); padding-bottom: 3rem; }
.statement { display: grid; grid-template-columns: 22.5% 1fr; gap: 2rem; }
.statement .eyebrow { padding-top: .9rem; }
.statement__text { font-size: 3rem; line-height: 1.12; letter-spacing: -.035em; color: var(--ink); }
.statement__text strong { font-weight: 600; }
.statement__text .word { color: var(--line); transition: color .2s; }
.statement__text strong .word, .statement__text .word.is-strong { font-weight: 600; }
.about__foot { margin-top: auto; padding-top: 6rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-bottom: 3rem; }
.stat { display: flex; gap: .875rem; align-items: flex-start; }
.stat__value { display: inline-flex; font-variant-numeric: tabular-nums; font-size: 5.5rem; font-weight: 600; line-height: .9; letter-spacing: -.05em; }
.stat__label { font-family: var(--font-mono); font-size: .8125rem; line-height: 1.4; color: var(--muted); padding-top: .5rem; }
.odo { display: inline-block; height: 1em; overflow: hidden; }
.odo__col { display: flex; flex-direction: column; }
.odo__col span { height: 1em; line-height: 1; }
.marks { display: flex; align-items: center; gap: 3rem; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marks__title { flex: none; font-family: var(--font-mono); font-size: .8125rem; color: var(--muted); }
.marks__track { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marks__list { display: flex; flex: none; gap: 3rem; padding-right: 3rem; animation: marquee-list 28s linear infinite; }
.marks__list li { white-space: nowrap; font-size: 1rem; font-weight: 500; }
.marks__list li::before { content: ""; display: inline-block; width: .375rem; height: .375rem; margin-right: .875rem; vertical-align: middle; border-radius: 50%; background: var(--accent); }
@keyframes marquee-list { to { transform: translateX(-100%); } }
@media (max-width: 1023px) {
  .about { padding-top: 5rem; }
  .about__inner { min-height: 0; }
  .statement { grid-template-columns: 1fr; gap: 1.5rem; }
  .statement__text { font-size: 2.25rem; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .stat__value { font-size: 4rem; }
  .about__foot { padding-top: 4rem; }
}
@media (max-width: 767px) {
  .about { padding: 4rem 0 0; }
  .statement__text { font-size: 1.75rem; }
  .stat { flex-direction: column; gap: .5rem; }
  .stat__value { font-size: 3.25rem; }
  .marks { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ---------- (02) Services ---------- */
.services {
  position: relative; z-index: 2;
  margin-top: 0; padding: 4rem var(--pad) 4rem; border-radius: var(--radius-panel); background: var(--soft);
}
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.service-card {
  display: grid; grid-template-columns: 13rem 1fr; gap: 1.5rem; padding: 1rem;
  border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--elevation-card);
}
.service-card__media { overflow: hidden; border-radius: .75rem; aspect-ratio: 1 / 1.08; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { display: flex; flex-direction: column; padding: .5rem .5rem .5rem 0; }
.service-card h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin-bottom: .75rem; }
.service-card p { font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.service-card__note { margin-top: auto; padding-top: 1rem; font-family: var(--font-mono); font-size: .8125rem; color: var(--ink) !important; }
.checklist { margin-top: 4rem; }
.checklist__title { font-family: var(--font-mono); font-size: .8125rem; color: var(--muted); margin-bottom: 1.25rem; }
.checklist__grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 2rem; }
.checklist__grid li {
  display: flex; gap: .875rem; align-items: center; padding: 1.25rem 0;
  border-top: 1px solid var(--line-soft); font-size: 1rem; font-weight: 500;
}
.checklist__grid li span { font-family: var(--font-mono); font-size: .8125rem; font-weight: 400; color: var(--muted); }
.checklist__grid li::after {
  content: ""; margin-left: auto; width: .75rem; height: .75rem; flex: none;
  background: linear-gradient(var(--accent), var(--accent)) center / 100% 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 1.5px 100% no-repeat;
}
@media (max-width: 1023px) {
  .service-grid { grid-template-columns: 1fr; }
  .checklist__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .services { padding: 3rem 1.25rem; margin-left: -1.25rem; margin-right: -1.25rem; border-radius: 0; }
  .service-card { grid-template-columns: 1fr; gap: 1rem; }
  .service-card__media { aspect-ratio: 16 / 10; }
  .service-card__body { padding: 0 .25rem .25rem; }
  .checklist__grid { grid-template-columns: 1fr; }
}

/* ---------- Duo hiver ---------- */
.duo {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 1rem 0 0; min-height: 44rem; border-radius: var(--radius-panel);
  color: var(--on-dark); background: var(--deep);
  display: flex; align-items: center;
}
.duo__media { position: absolute; inset: -12% 0; z-index: -2; }
.duo__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.duo__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 12, 10, .92) 0%, rgba(8, 12, 10, .7) 45%, rgba(8, 12, 10, .1) 85%); }
.duo__content { padding: 5rem var(--pad); max-width: 44rem; }
.duo__title { margin-top: 1.25rem; font-size: 4.5rem; font-weight: 600; line-height: 1.02; letter-spacing: -.045em; }
.duo__title > span { display: block; }
.duo__combo { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; font-size: 1.25rem; font-weight: 500; }
.duo__plus { width: 1.75rem; height: 1.75rem; fill: none; stroke: var(--accent-bright); stroke-width: 3; stroke-linecap: round; }
.duo__price { display: flex; align-items: flex-end; gap: .75rem; margin-top: 1.5rem; }
.duo__amount { font-size: 7.5rem; font-weight: 700; line-height: .85; letter-spacing: -.055em; color: var(--accent-bright); }
.duo__tax { font-family: var(--font-mono); font-size: .9375rem; color: var(--on-dark-muted); padding-bottom: .4rem; }
.duo__body { margin-top: 2rem; max-width: 28rem; font-size: 1.0625rem; line-height: 1.55; color: var(--on-dark-muted); }
.duo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.5rem; }
.duo__phone { display: inline-flex; align-items: center; gap: .625rem; font-family: var(--font-mono); font-size: .9375rem; }
.duo__phone:hover { color: var(--accent-bright); }
@media (max-width: 1023px) {
  .duo { min-height: 38rem; }
  .duo__title { font-size: 3.5rem; }
  .duo__amount { font-size: 5.5rem; }
}
@media (max-width: 767px) {
  .duo { min-height: 0; align-items: flex-end; }
  .duo__media { inset: 0; }
  .duo__media img { object-position: 62% 50%; }
  .duo__scrim { background: linear-gradient(0deg, rgba(8, 12, 10, .95) 0%, rgba(8, 12, 10, .75) 60%, rgba(8, 12, 10, .35) 100%); }
  .duo__content { padding: 12rem 1.25rem 2rem; }
  .duo__title { font-size: 2.5rem; }
  .duo__combo { font-size: 1.0625rem; gap: .625rem; }
  .duo__amount { font-size: 4.25rem; }
  .duo__actions .pill-button { width: 100%; }
}

/* ---------- (03) Processus ---------- */
.process { padding: 7.5rem var(--pad) 0; }
.steps { border-bottom: 1px solid var(--line); }
.step { border-top: 1px solid var(--line); transition: background-color .5s var(--ease), border-color .5s; }
.step.is-open { background: var(--soft); border-radius: var(--radius-card); border-color: transparent; }
.step.is-open + .step { border-top-color: transparent; }
.step__head {
  display: grid; grid-template-columns: 2.5rem 1fr auto 1.25rem; align-items: center; gap: 1rem;
  width: 100%; padding: 1.5rem 1.5rem; text-align: left;
}
.step__index { font-family: var(--font-mono); font-size: .8125rem; color: var(--muted); }
.step__title { font-size: 2rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.step__note { font-family: var(--font-mono); font-size: .8125rem; color: var(--muted); }
.step__arrow { width: 1.25rem; height: 1.25rem; transition: transform .5s var(--ease); }
.step.is-open .step__arrow { transform: rotate(90deg); }
.step__head:hover .step__title { color: var(--accent); }
.step__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.step.is-open .step__panel { grid-template-rows: 1fr; }
.step__inner { overflow: hidden; display: grid; grid-template-columns: 26rem 1fr; gap: 2.5rem; padding: 0 1.5rem; }
.step.is-open .step__inner { padding-bottom: 1.5rem; }
.step__media { overflow: hidden; border-radius: .75rem; aspect-ratio: 4 / 3; }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__detail { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: .5rem 0; }
.step__detail > p { font-size: 1.25rem; line-height: 1.5; max-width: 34rem; }
.step__facts { display: flex; gap: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.step__facts dt { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); margin-bottom: .375rem; }
.step__facts dd { font-size: 1rem; font-weight: 500; }
@media (max-width: 1023px) {
  .step__inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .step__detail > p { font-size: 1.0625rem; }
}
@media (max-width: 767px) {
  .process { padding: 5rem 0 0; }
  .step__head { grid-template-columns: 2rem 1fr 1.25rem; padding: 1.25rem 1rem; }
  .step__note { display: none; }
  .step__title { font-size: 1.5rem; }
  .step__inner { grid-template-columns: 1fr; padding: 0 1rem; }
  .step__facts { gap: 1.5rem; }
}

/* ---------- (04) Réalisations ---------- */
.work { padding: 7.5rem var(--pad) 0; }
.work-feature { position: relative; overflow: hidden; border-radius: var(--radius-panel); height: 40rem; background: var(--deep); color: var(--on-dark); isolation: isolate; }
.work-feature__media { position: absolute; inset: -10% 0; z-index: -2; }
.work-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.work-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 45%); pointer-events: none; }
.work-feature__tag {
  position: absolute; top: 1.5rem; right: 1.5rem; height: 2rem; display: inline-flex; align-items: center; padding: 0 .875rem;
  border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: .8125rem;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.work-feature__caption { position: absolute; left: 2rem; bottom: 2rem; display: grid; gap: .625rem; }
.work-feature__caption strong { font-size: 3rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.work-feature__caption span { font-family: var(--font-mono); font-size: .8125rem; color: var(--on-dark-muted); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.work-job__media { position: relative; overflow: hidden; border-radius: var(--radius-card); aspect-ratio: 4 / 3; }
.work-job__media img { width: 100%; height: 100%; object-fit: cover; }
.work-job h3 { margin-top: 1rem; font-size: 1.125rem; font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.work-quote { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 1.75rem; border-radius: var(--radius-card); background: var(--soft); }
.work-quote p { font-size: 1.5rem; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.work-quote footer { display: grid; gap: .5rem; }
.work-quote footer strong { font-size: .9375rem; font-weight: 500; }
.work-quote footer span { font-family: var(--font-mono); font-size: .8125rem; color: var(--muted); }

/* Hotspot con popover */
.hotspot { position: absolute; left: var(--x); top: var(--y); z-index: 2; }
.hotspot__marker {
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  box-shadow: 0 0 0 .375rem rgba(255, 255, 255, .25);
  transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.hotspot__marker svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: transform .4s var(--ease); }
.hotspot:hover .hotspot__marker { transform: translateY(-2px); }
.hotspot.is-open .hotspot__marker { background: var(--deep); color: var(--on-dark); }
.hotspot.is-open .hotspot__marker svg { transform: rotate(45deg); }
.hotspot__pop {
  position: absolute; left: 50%; bottom: calc(100% + .75rem); width: 15rem; padding: .875rem 1rem;
  display: grid; gap: .25rem; text-align: left; border-radius: .75rem;
  background: var(--surface); color: var(--ink); box-shadow: var(--elevation-popover);
  opacity: 0; pointer-events: none; transform: translate(-50%, .5rem); transition: opacity .3s, transform .4s var(--ease);
}
.hotspot__pop strong { font-size: .9375rem; font-weight: 600; }
.hotspot__pop span { font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.hotspot.is-open .hotspot__pop, .hotspot:hover .hotspot__pop { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1023px) {
  .work-feature { height: 30rem; }
  .work-feature__caption strong { font-size: 2.25rem; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-quote { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .work { padding: 5rem 0 0; }
  .work-feature { height: 26rem; }
  .work-feature__caption { left: 1.25rem; right: 1.25rem; bottom: 1.25rem; }
  .work-feature__caption strong { font-size: 1.75rem; }
  .work-grid { grid-template-columns: 1fr; }
  .hotspot__pop { width: 12.5rem; }
  /* El punto de « Roues » quedaba sobre el título de la foto: sube a la mitad de la imagen */
  .work-feature .hotspot[aria-label="Roues"] { top: 50%; }
}

/* ---------- (05) Réserver ---------- */
.book { padding: 7.5rem var(--pad) 3rem; }
.book > .eyebrow { margin-bottom: 1.5rem; }
.book__stage {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
  min-height: 36rem; padding: 3rem; border-radius: var(--radius-panel); background: var(--deep); color: var(--on-dark);
}
.book__media { position: absolute; inset: -10% 0; z-index: -2; }
.book__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.book__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .2)); }
.book__intro { display: flex; flex-direction: column; height: 100%; justify-content: space-between; gap: 3rem; }
.book__title { font-size: 4.5rem; font-weight: 600; line-height: 1.02; letter-spacing: -.045em; }
.book__title > span { display: block; }
.book__title .is-muted { color: rgba(255, 255, 255, .55); }
.book__body { margin-top: 1.5rem; max-width: 26rem; font-size: 1.0625rem; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.book__phone p { font-family: var(--font-mono); font-size: .8125rem; color: rgba(255, 255, 255, .7); }
.book__phone a { display: inline-block; margin: .5rem 0; font-size: 3rem; font-weight: 600; letter-spacing: -.03em; }
.book__phone a:hover { color: var(--accent-bright); }

.request-form {
  padding: 2rem; border-radius: var(--radius-card); background: var(--surface); color: var(--ink); box-shadow: var(--elevation-form);
}
.request-form__eyebrow { font-family: var(--font-mono); font-size: .8125rem; color: var(--accent); }
.request-form__title { margin-top: .5rem; font-size: 2rem; font-weight: 600; letter-spacing: -.03em; }
.request-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.75rem; }
.field { grid-column: 1 / -1; }
.field--half { grid-column: auto; }
.field input {
  width: 100%; height: 3.25rem; padding: 0 1.25rem; border-radius: var(--radius-pill);
  border: 1px solid transparent; background: var(--soft); font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color var(--duration-normal), background-color var(--duration-normal);
}
.field input::placeholder { color: var(--muted); }
.field input:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.field input.is-invalid { border-color: #c8412f; }
.picker { margin: 1.5rem 0 0; padding: 0; border: 0; }
.picker legend { padding: 0; margin-bottom: .75rem; font-family: var(--font-mono); font-size: .8125rem; color: var(--muted); }
.picker__options { display: flex; flex-wrap: wrap; gap: .5rem; }
.picker label { position: relative; cursor: pointer; }
.picker input { position: absolute; opacity: 0; pointer-events: none; }
.picker label span {
  display: inline-flex; align-items: center; height: 2.25rem; padding: 0 1rem; border-radius: var(--radius-pill);
  background: var(--soft); font-size: .875rem; font-weight: 500; transition: background-color var(--duration-normal), color var(--duration-normal);
}
.picker label:hover span { background: var(--line); }
.picker input:checked + span { background: var(--deep); color: var(--on-dark); }
.picker input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.request-form__submit { width: 100%; margin-top: 2rem; }
.request-form__note { margin-top: 1rem; font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.request-form__note.is-error { color: #c8412f; }
.request-form__note.is-sent { color: var(--ink); font-family: var(--font-sans); font-size: .9375rem; line-height: 1.5; }
.request-form__note a { text-decoration: underline; text-underline-offset: 2px; }

.assurances { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 4rem; padding: .5rem; border-radius: var(--radius-card); background: var(--soft); }
.assurances li { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border-radius: .75rem; background: var(--surface); }
.assurances__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .625rem; background: var(--soft); color: var(--accent); flex: none; }
.assurances__icon .icon { width: 1.25rem; height: 1.25rem; }
.assurances small { display: block; font-size: .8125rem; color: var(--muted); margin-bottom: .25rem; }
.assurances strong { font-size: .9375rem; font-weight: 500; }
@media (max-width: 1023px) {
  .book__stage { grid-template-columns: 1fr; padding: 2rem; }
  .book__title { font-size: 3.5rem; }
  .assurances { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .book { padding: 5rem 0 2rem; }
  .book__stage { padding: 1.25rem; padding-top: 2.5rem; gap: 2rem; }
  .book__title { font-size: 2.5rem; }
  .book__phone a { font-size: 2.25rem; }
  .request-form { padding: 1.5rem 1.25rem; }
  .request-form__fields { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden;
  padding: 3.5rem 2rem 2rem; border-radius: var(--radius-page);
  background: var(--deep); color: var(--on-dark);
}
.site-footer__top { display: flex; justify-content: space-between; gap: 2rem; }
.site-footer__statement { font-size: 3.5rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.site-footer__statement > span { display: block; }
.site-footer__statement .is-muted { color: rgba(255, 255, 255, .45); }
.site-footer__links { display: grid; gap: .875rem; align-content: start; min-width: 12rem; }
.site-footer__links a { font-size: 1.0625rem; transition: color var(--duration-fast); }
.site-footer__links a:hover { color: var(--accent-bright); }
.site-footer__contact {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  margin-top: 4.5rem; padding: 2rem 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer__contact dt { font-family: var(--font-mono); font-size: .75rem; color: var(--on-dark-muted); margin-bottom: .625rem; }
.site-footer__contact dd { font-size: 1rem; line-height: 1.5; }
.site-footer__contact a:hover { color: var(--accent-bright); }
.site-footer__wordmark {
  container-type: inline-size; margin: 1rem 0 0;
  font-weight: 600; letter-spacing: -.06em; line-height: .78; color: rgba(255, 255, 255, .06);
  text-align: center; user-select: none;
}
.site-footer__wordmark span { display: block; font-size: 24cqw; }
.site-footer__legal { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; font-family: var(--font-mono); font-size: .75rem; color: var(--on-dark-muted); }
.back-to-top { display: inline-flex; align-items: center; gap: .75rem; font-family: var(--font-sans); font-size: .875rem; color: var(--on-dark); }
.back-to-top span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--surface); color: var(--ink); transition: transform .4s var(--ease); }
.back-to-top:hover span { transform: translateY(-3px); }
@media (max-width: 1023px) {
  .site-footer__statement { font-size: 2.75rem; }
  .site-footer__contact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .site-footer { padding: 2.5rem 1.25rem 1.5rem; border-radius: var(--radius-panel); }
  .site-footer__top { flex-direction: column; gap: 2.5rem; }
  .site-footer__statement { font-size: 2.25rem; }
  .site-footer__contact { grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}

/* ---------- Estados iniciales de animación (solo con JS) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(2rem); }
html.js [data-hero-line] { transform: translateY(110%); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js [data-hero-line] { transform: none; }
}
