/* =============================================================
   LXE Auto — Stație ITP CT191 & Service · Lumina
   Sistema visual: LXE-Auto-Brandbook.html + tokens.json (v1, 2026)
   Arquetipo: rejilla de señalética (hairlines, bloques numerados)
   ============================================================= */

/* =============================================================
   1. Fuentes (locales, woff2 · RGPD: nada se carga de Google Fonts)
   ============================================================= */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); }

/* =============================================================
   2. Tokens (tokens.json · tema «Zi»)
   ============================================================= */
:root {
  /* Color */
  --brand: #ffc21a;          /* Galben Semnal — nunca texto sobre fondo claro */
  --brand-strong: #e0a400;
  --on-brand: #14171c;
  --asphalt: #14171c;
  --on-asphalt: #f6f5f1;
  --surface: #f6f5f1;        /* Alb Atelier */
  --surface-raised: #ffffff;
  --surface-sunken: #ebe9e3;
  --ink: #14171c;
  --ink-muted: #565e69;
  --hairline: #d6d3cb;
  --control-border: #7a828d;
  --success: #0f7a45;
  --danger: #c2301f;
  --focus: #14171c;

  /* Valores del tema «Atelier» que se usan sobre Asfalt */
  --hairline-dark: #323843;
  --ink-muted-dark: #a3acb8;
  --control-border-dark: #7d8693;
  --asphalt-deep: #0c0e11;

  /* Tipografía */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-sans: "Barlow", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;

  --fs-display-xl: clamp(3.5rem, 2rem + 6.8vw, 9rem);      /* 56 → 144 */
  --fs-display-l: clamp(2.25rem, 1.5rem + 3.2vw, 4.5rem);  /* 36 → 72 */
  --fs-heading: clamp(1.5rem, 1.35rem + 0.5vw, 1.75rem);   /* 24 → 28 */
  --fs-lead: clamp(1.125rem, 1rem + 0.4vw, 1.25rem);       /* 18 → 20 */
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.8125rem;                                    /* 13 */
  --fs-code: 0.9375rem;                                     /* 15 */

  /* Espaciado · rejilla de 8 px */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px; --s-32: 128px;

  --gutter: 16px;
  --section-y: 80px;
  --header-bar: 72px;
  --band: 8px;
  --header-h: calc(var(--header-bar) + var(--band));
  --mbar-h: 56px;

  /* Radios: la marca es casi recta */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 720px) {
  :root { --gutter: 32px; --section-y: 96px; }
}
@media (min-width: 960px) {
  :root { --header-bar: 80px; --section-y: 128px; }
}
@media (min-width: 1280px) {
  :root { --gutter: 64px; }
}

/* =============================================================
   3. Reset y base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
}
body {
  min-height: 100vh;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  padding-top: var(--header-h);
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--brand); color: var(--on-brand); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.on-dark { --focus: var(--brand); }

.skip-link {
  position: fixed; top: -100px; left: var(--s-4); z-index: 200;
  padding: var(--s-3) var(--s-4);
  background: var(--brand); color: var(--on-brand);
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.icon--lg { width: 32px; height: 32px; }

/* =============================================================
   4. Utilidades y tipografía
   ============================================================= */
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }

.label {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-label); line-height: 16px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.mono { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-code); line-height: 20px; letter-spacing: 0.02em; }
.lead { font-size: var(--fs-lead); line-height: 1.4; font-weight: 500; }
.muted { color: var(--ink-muted); }
.small { font-size: var(--fs-small); line-height: 20px; }

.display-xl {
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-display-xl);
  line-height: 0.92; letter-spacing: -0.01em;
}
.display-l {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-display-l);
  line-height: 1; letter-spacing: -0.005em;
}
.heading { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-heading); line-height: 1.15; }

.band {
  height: var(--band);
  background: repeating-linear-gradient(-45deg, var(--brand) 0 8px, var(--asphalt) 8px 16px);
}

/* =============================================================
   5. Componentes
   ============================================================= */

/* --- Botones --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  transition: background-color .18s var(--ease-out), border-color .18s var(--ease-out), box-shadow .18s var(--ease-out), color .18s var(--ease-out);
}
.btn--primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.btn--dark { background: var(--asphalt); border-color: var(--asphalt); color: var(--on-asphalt); }
.btn--dark:hover { box-shadow: inset 0 -3px 0 var(--brand); }
.btn--outline { background: transparent; border-color: var(--control-border); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--surface-raised); }
.btn--outline-light { background: transparent; border-color: var(--control-border-dark); color: var(--on-asphalt); }
.btn--outline-light:hover { border-color: var(--on-asphalt); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.link-arrow .icon { transition: transform .2s var(--ease-out); }
.link-arrow:hover { text-decoration-thickness: 2px; }
.link-arrow:hover .icon { transform: translateX(3px); }

.text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* --- Placa de estación (dos campos tipo matrícula) --- */
.plate {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--asphalt); border-radius: var(--radius-sm); overflow: hidden;
  font-family: var(--font-mono); font-weight: 500; white-space: nowrap;
}
.plate__k {
  display: flex; align-items: center; padding: 8px 10px;
  background: var(--asphalt); color: var(--on-asphalt);
  font-size: 0.75rem; line-height: 1; letter-spacing: 0.08em;
}
.plate__v {
  display: flex; align-items: center; padding: 8px 10px;
  background: var(--brand); color: var(--on-brand);
  font-size: 1.125rem; line-height: 1;
}
.plate--lg .plate__k { font-size: 0.8125rem; padding: 10px 12px; }
.plate--lg .plate__v { font-size: 1.5rem; padding: 10px 14px; }
.on-dark .plate { border-color: var(--hairline-dark); }
.on-dark .plate__k { background: var(--asphalt-deep); }

/* --- Estados ITP (siempre palabra + icono) --- */
.state {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border: 1.5px solid currentColor; border-radius: var(--radius-sm);
  background: var(--surface-raised);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-label); line-height: 1;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.state .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.state--ok { color: var(--success); }
.state--fail { color: var(--danger); }

/* --- Cabecera de sección (señalética numerada) --- */
.sec-head {
  display: grid; gap: var(--s-6); align-items: start; justify-items: start;
  padding-top: var(--s-6); border-top: 1px solid var(--hairline);
  margin-bottom: var(--s-12);
}
.sec-num { display: inline-flex; align-items: center; gap: var(--s-3); }
.sec-num b {
  display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 28px; padding: 0 8px;
  background: var(--asphalt); color: var(--on-asphalt); border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.04em;
}
.sec-head__body { display: grid; gap: var(--s-4); max-width: 60rem; }
.sec-head__body .lead { max-width: 44rem; }
.on-dark .sec-head { border-top-color: var(--hairline-dark); }
.on-dark .sec-num b { background: var(--brand); color: var(--on-brand); }
@media (min-width: 960px) {
  .sec-head { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: var(--s-8); margin-bottom: var(--s-16); }
  .sec-num { padding-top: 10px; }
}

/* --- Hueco de foto (listo para sustituir por WebP) --- */
.photo {
  position: relative; margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--surface-sunken);
  border: 1px dashed var(--control-border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.photo--wide { aspect-ratio: 16 / 10; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo:has(img) { border-style: solid; border-color: var(--hairline); }
.photo:has(img) .photo__label, .photo:has(img) .photo__ratio { display: none; }
.photo__label {
  position: absolute; left: var(--s-4); right: var(--s-4); bottom: var(--s-4);
  display: flex; align-items: flex-start; gap: var(--s-3);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-label); line-height: 16px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted);
}
.photo__label b {
  flex: none; padding: 3px 6px; border-radius: var(--radius-sm);
  background: var(--asphalt); color: var(--on-asphalt);
  font-family: var(--font-mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.06em;
}
.photo__ratio {
  position: absolute; top: var(--s-4); right: var(--s-4);
  font-family: var(--font-mono); font-size: 0.6875rem; color: var(--ink-muted);
}
.photo::before, .photo::after {
  content: ""; position: absolute; width: 16px; height: 16px; border-color: var(--control-border); border-style: solid;
}
.photo::before { top: var(--s-4); left: var(--s-4); border-width: 1px 0 0 1px; }
.photo::after { bottom: calc(var(--s-4) + 32px); right: var(--s-4); border-width: 0 1px 1px 0; }
.photo:has(img)::before, .photo:has(img)::after { display: none; }
.photo__tag {
  position: absolute; left: var(--s-3); bottom: var(--s-3);
  padding: 4px 8px; border-radius: var(--radius-sm);
  background: var(--asphalt); color: var(--on-asphalt);
  font-family: var(--font-mono); font-weight: 500; font-size: 0.6875rem; line-height: 1.2; letter-spacing: 0.04em;
}
.on-dark .photo { background: var(--asphalt-deep); border-color: var(--control-border-dark); }
.on-dark .photo__label, .on-dark .photo__ratio { color: var(--ink-muted-dark); }
.on-dark .photo__label b { background: var(--brand); color: var(--on-brand); }

/* =============================================================
   6. Cabecera fija
   ============================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--asphalt); color: var(--on-asphalt);
}
.site-header__bar {
  height: var(--header-bar);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-6);
}
.brand-link { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand-link svg { width: 96px; height: auto; }
@media (min-width: 960px) {
  .brand-link svg { width: 112px; }
}
.nav { display: none; }
.nav ul { display: flex; gap: var(--s-2); }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--on-asphalt);
  border-bottom: 2px solid transparent;
  transition: border-color .18s var(--ease-out);
}
.nav a:hover, .nav a[aria-current="true"] { border-bottom-color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.header-phone { display: none; }
.header-phone .mono { font-size: 1rem; letter-spacing: 0.02em; text-transform: none; font-weight: 500; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; min-width: 44px; padding: 0 var(--s-3);
  font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--on-asphalt);
  border: 1px solid var(--control-border-dark); border-radius: var(--radius-sm);
}
.nav-toggle .icon { width: 20px; height: 20px; }

@media (min-width: 960px) {
  .nav { display: block; }
  .header-phone { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* --- Menú móvil a pantalla completa --- */
.menu {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column;
  background: var(--asphalt); color: var(--on-asphalt);
  overflow-y: auto; overscroll-behavior: contain;
}
.menu__top { height: var(--header-bar); display: flex; align-items: center; justify-content: space-between; flex: none; }
.menu__list { counter-reset: m; padding-block: var(--s-8); flex: 1; }
.menu__list li { border-top: 1px solid var(--hairline-dark); }
.menu__list li:last-child { border-bottom: 1px solid var(--hairline-dark); }
.menu__list a {
  display: flex; align-items: baseline; gap: var(--s-4); padding: var(--s-4) 0;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 1.5rem + 5vw, 3.5rem); line-height: 1;
  text-decoration: none; color: var(--on-asphalt);
}
.menu__list a span { font-family: var(--font-mono); font-weight: 500; font-size: 0.875rem; color: var(--ink-muted-dark); }
.menu__list a:hover { color: var(--brand); }
.menu__actions { display: grid; gap: var(--s-3); padding-bottom: calc(var(--s-8) + env(safe-area-inset-bottom, 0px)); }
.menu__meta { margin-top: var(--s-4); color: var(--ink-muted-dark); }
body.menu-open { overflow: hidden; }

/* =============================================================
   7. Secciones
   ============================================================= */
.section { padding-block: var(--section-y); }
.section--sunken { background: var(--surface-sunken); }
.section--dark { background: var(--asphalt); color: var(--on-asphalt); }
.section--dark .muted, .on-dark .muted { color: var(--ink-muted-dark); }

/* --- Hero --- */
.hero { padding-block: var(--s-12) var(--s-16); }
.hero__grid { display: grid; gap: var(--s-12); }
.hero__text { display: grid; gap: var(--s-6); align-content: start; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-3); }
.eyebrow::before { content: ""; width: 24px; height: 4px; background: var(--brand); flex: none; }
.hero h1 { max-width: 12ch; }
.hero .lead { max-width: 36rem; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); }
@media (max-width: 539px) {
  .hero__ctas { column-gap: var(--s-2); }
  .hero__ctas .btn { padding: 0 var(--s-4); flex: 1 1 auto; }
  .hero__ctas .link-arrow { flex-basis: 100%; }
  .sign { padding: var(--s-6) var(--s-5); }
  .sign__data dd { font-size: 0.8125rem; white-space: nowrap; }
  .sign__data div { grid-template-columns: 72px 1fr; gap: var(--s-3); }
}
@media (max-width: 419px) {
  .hero__ctas .btn { flex-basis: 100%; }
  .sign__data dd { font-size: 0.75rem; }
  .plates .plate__k { font-size: 0.6875rem; padding: 8px; letter-spacing: 0.06em; }
  .plates .plate__v { font-size: 1rem; padding: 8px; }
}

.plates {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2);
  padding-top: var(--s-6); border-top: 1px solid var(--hairline);
}
.plates li { display: flex; }
.plates .plate { width: 100%; }
.plates .plate__k { flex: 1 1 auto; }
@media (min-width: 720px) {
  .plates { gap: var(--s-4); }
}
@media (min-width: 720px) and (max-width: 959px) {
  .sign { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-8); align-items: start; }
  .sign__data { grid-column: 2; grid-row: 1 / span 2; }
  .sign__data div { grid-template-columns: 80px 1fr; gap: var(--s-3); }
  .sign__data dd { white-space: nowrap; }
}
@media (min-width: 960px) {
  .plates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Panel «rótulo de fachada» */
.sign {
  display: grid; gap: var(--s-6); align-content: start;
  padding: var(--s-8) var(--s-6);
  background: var(--asphalt); color: var(--on-asphalt);
  border-radius: var(--radius-md);
}
.sign__logo { width: 100%; max-width: 340px; height: auto; }
.sign .plate { justify-self: start; }
.sign__data { display: grid; border-top: 1px solid var(--hairline-dark); }
.sign__data div {
  display: grid; grid-template-columns: 96px 1fr; gap: var(--s-4); align-items: baseline;
  padding: var(--s-3) 0; border-bottom: 1px solid var(--hairline-dark);
}
.sign__data dt { color: var(--ink-muted-dark); }
.sign__data dd { margin: 0; }
.sign__data a { text-decoration: none; }
.sign__data a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 960px) {
  .hero { padding-block: var(--s-24) 0; }
  .sign__data dd { white-space: nowrap; }
  .sign__data div { grid-template-columns: 88px 1fr; }
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "text sign" "plates plates";
    column-gap: var(--s-8); row-gap: var(--s-16);
  }
  .hero__text { grid-area: text; }
  .sign { grid-area: sign; padding: var(--s-10) var(--s-8); }
  .plates { grid-area: plates; }
}
@media (min-width: 1280px) {
  .hero__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}

/* Trazo amarillo de la X (detalle de autor) */
.x-draw { stroke: var(--brand); }
.js .x-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .is-drawn .x-draw { animation: xdraw 0.9s var(--ease-out) 0.15s forwards; }
@keyframes xdraw { to { stroke-dashoffset: 0; } }

/* --- 01 ITP --- */
.itp__grid { display: grid; gap: var(--s-12); }
.itp__aside { display: grid; gap: var(--s-8); align-content: start; }
.callout {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-heading); line-height: 1.15;
  padding-left: var(--s-5); border-left: 4px solid var(--brand);
}
.steps li {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s-4);
  padding-block: var(--s-6); border-top: 1px solid var(--hairline);
}
.steps li:last-child { border-bottom: 1px solid var(--hairline); }
.steps__n { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; line-height: 0.9; }
.steps h3 { margin-bottom: var(--s-2); }
.steps p { max-width: 40rem; }
.results { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.results li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); padding: 0; border: 0; grid-template-columns: none; }
.results li:last-child { border: 0; }
@media (min-width: 960px) {
  .itp__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s-16); }
  .steps li { grid-template-columns: 64px minmax(0, 1fr); }
}

/* --- 02 Service --- */
.svc-grid { display: grid; }
.svc { padding-block: var(--s-8); border-top: 1px solid var(--control-border); }
.svc__n { display: block; color: var(--ink-muted); margin-bottom: var(--s-3); }
.svc h3 { margin-bottom: var(--s-4); }
.svc li {
  padding-block: var(--s-3); border-top: 1px solid var(--hairline);
}
.svc li:last-child { border-bottom: 1px solid var(--hairline); }
.svc li strong { font-weight: 600; }
.svc li span { color: var(--ink-muted); }
@media (min-width: 960px) {
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc { padding: var(--s-8) var(--s-8) 0; border-top: 1px solid var(--control-border); border-left: 1px solid var(--hairline); }
  .svc:first-child { padding-left: 0; border-left: 0; }
  .svc:last-child { padding-right: 0; }
}
.svc-note {
  display: grid; gap: var(--s-3); margin-top: var(--s-12);
}
.svc-note p { display: flex; align-items: center; gap: var(--s-4); }
.yesno {
  flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 32px; padding: 0 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: 0.08em;
  border: 1px solid var(--asphalt); border-radius: var(--radius-sm);
}
.yesno--yes { background: var(--asphalt); color: var(--on-asphalt); }
.yesno--no { background: transparent; color: var(--ink); }
.svc-note .heading { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }
.photo-row { display: grid; gap: var(--s-4); margin-top: var(--s-12); }
.photo-row .photo { aspect-ratio: 3 / 2; }
@media (min-width: 720px) {
  .photo-row.photo-row--single { grid-template-columns: 1fr; }
  .photo-row--single .photo { aspect-ratio: 21 / 9; }
}
@media (min-width: 720px) {
  .photo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
}

/* --- 03 Cum lucrăm (Asfalt) --- */
.process { display: grid; gap: var(--s-8); }
.process li { position: relative; padding-top: var(--s-6); border-top: 1px solid var(--hairline-dark); }
.process li::before { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 4px; background: var(--brand); }
.process .mono { display: block; color: var(--ink-muted-dark); margin-bottom: var(--s-3); }
.process h3 { margin-bottom: var(--s-3); }
.process p { color: var(--ink-muted-dark); max-width: 30rem; }
@media (min-width: 720px) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-8); row-gap: var(--s-12); }
}
@media (min-width: 1280px) {
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.slogan {
  margin-top: var(--s-20);
  padding-top: var(--s-10);
  border-top: 1px solid var(--hairline-dark);
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.5rem, 1.5rem + 9vw, 11rem); line-height: 0.88; letter-spacing: -0.015em;
}
.slogan span { display: block; }
.slogan i { font-style: normal; color: var(--brand); }
@media (min-width: 960px) {
  .slogan { margin-top: var(--s-32); }
  .slogan span:nth-child(2) { padding-left: 8.333%; }
  .slogan span:nth-child(3) { padding-left: 16.666%; }
}

/* --- 04 Flote --- */
.fleet__grid { display: grid; gap: var(--s-12); }
.fleet__intro { display: grid; gap: var(--s-6); align-content: start; }
.fleet__intro .btn { justify-self: start; }
.benefits li {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s-4);
  padding-block: var(--s-5); border-top: 1px solid var(--hairline);
}
.benefits li:last-child { border-bottom: 1px solid var(--hairline); }
.benefits .mono { color: var(--ink-muted); padding-top: 6px; }
.benefits h3 { margin-bottom: var(--s-1); }
@media (min-width: 960px) {
  .fleet__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s-16); }
}

/* --- 05 De ce LXE Auto (rejilla de pruebas) --- */
.proofs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--control-border); border: 1px solid var(--control-border);
  border-radius: var(--radius-md); overflow: hidden;
}
.proof {
  display: grid; align-content: space-between; gap: var(--s-6);
  min-height: 176px; padding: var(--s-5) var(--s-4);
  background: var(--surface);
}
.proof__v {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5.5rem); line-height: 0.9; letter-spacing: -0.01em;
}
.proof__v--sm { font-size: clamp(2rem, 1.4rem + 2.6vw, 4rem); }
.proof dt { display: grid; gap: var(--s-2); }
.proof dd { margin: 0; display: grid; gap: var(--s-1); }
.proof .mono { font-size: 0.8125rem; color: var(--ink-muted); overflow-wrap: anywhere; }
.proof a { text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.proof a .icon { width: 16px; height: 16px; }
@media (min-width: 960px) {
  .proofs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof { min-height: 240px; padding: var(--s-8); }
}

/* --- 06 FAQ --- */
.faq { border-bottom: 1px solid var(--hairline); }
.faq details { border-top: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-6);
  min-height: 64px; padding-block: var(--s-5);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 24px; height: 24px; transition: transform .2s var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.faq__a { padding-bottom: var(--s-6); max-width: 44rem; display: grid; gap: var(--s-3); }
.faq-wrap { display: grid; }
@media (min-width: 960px) {
  .faq-wrap { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: var(--s-8); }
  .faq { grid-column: 2; }
}

/* --- 07 Contact --- */
.contact__grid { display: grid; gap: var(--s-12); }
.contact__info { display: grid; gap: var(--s-8); align-content: start; }
.contact__addr { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.05; }
.contact__list { display: grid; align-content: start; border-top: 1px solid var(--hairline); }
.contact__list div {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s-4); align-items: baseline;
  padding-block: var(--s-3); border-bottom: 1px solid var(--hairline);
}
.contact__list dt { color: var(--ink-muted); }
.contact__list dd { margin: 0; }
.contact__list a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (min-width: 960px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s-16); }
}

.map {
  margin-top: var(--s-12);
  height: 320px; padding: 4px;
  background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: var(--radius-md);
}
.map__inner { position: relative; height: 100%; border-radius: var(--radius-sm); overflow: hidden; background: var(--asphalt); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-preview {
  position: absolute; inset: 0;
  display: grid; align-content: end; gap: var(--s-4);
  padding: var(--s-6);
  color: var(--on-asphalt);
  background-color: var(--asphalt);
  background-image:
    linear-gradient(var(--hairline-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-dark) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
}
.map-preview__road {
  position: absolute; left: 0; right: 0; top: 18%; height: 24px;
  background: var(--asphalt-deep); border-block: 1px solid var(--control-border-dark);
}
.map-preview__pin {
  position: absolute; top: calc(18% - 52px); left: 66%;
  width: 48px; height: 64px; color: var(--brand);
}
.map-preview__addr { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 1.3rem + 2vw, 3rem); line-height: 0.95; position: relative; max-width: 18ch; }
.map-preview__row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); }
.map-note { margin-top: var(--s-3); max-width: 44rem; }
.map-links { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }
.nowrap { white-space: nowrap; }
@media (min-width: 960px) {
  .map { height: 440px; }
  .map-preview { padding: var(--s-10); }
  .map-preview__road { top: 34%; }
  .map-preview__pin { top: calc(34% - 52px); left: 62%; }
}

/* =============================================================
   8. Pie
   ============================================================= */
.site-footer {
  background: var(--asphalt); color: var(--on-asphalt);
  /* la barra fija móvil no tapa el pie */
  padding-bottom: calc(var(--mbar-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 960px) {
  .site-footer { padding-bottom: 0; }
  .footer__legal { padding-right: 80px; } /* hueco para el botón flotante de WhatsApp */
}
.site-footer .band { height: 12px; }
.footer__grid { display: grid; gap: var(--s-10); padding-block: var(--s-16) var(--s-10); }
.footer__brand { display: grid; gap: var(--s-6); align-content: start; justify-items: start; }
.footer__brand svg { width: 140px; height: auto; }
.footer__col h2 { margin-bottom: var(--s-4); color: var(--ink-muted-dark); }
.footer__col ul { display: grid; gap: 0; }
.footer__col a, .footer__col button {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--on-asphalt); text-decoration: none; text-align: left;
}
.footer__col a:hover, .footer__col button:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__col address { display: grid; gap: var(--s-2); color: var(--on-asphalt); }
.footer__col address a { min-height: 0; }
.footer__sal { margin-top: var(--s-4); display: inline-block; line-height: 0; }
.footer__sal img { width: 201px; height: 50px; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-8);
  padding-block: var(--s-6) var(--s-8); border-top: 1px solid var(--hairline-dark);
  color: var(--ink-muted-dark);
}
.footer__legal .mono { font-size: 0.8125rem; }
@media (min-width: 720px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .footer__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr); column-gap: var(--s-8); }
}

/* =============================================================
   9. Llamar / WhatsApp: barra móvil y botón flotante
   ============================================================= */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--asphalt);
  border-top: 1px solid var(--hairline-dark);
}
.mbar .btn { min-height: var(--mbar-h); border-radius: 0; border: 0; }
@media (min-width: 960px) {
  .mbar { display: none; }
}
.wa-float {
  display: none;
  position: fixed; right: var(--s-6); bottom: var(--s-6); z-index: 40;
  width: 56px; height: 56px; align-items: center; justify-content: center;
  background: var(--asphalt); color: var(--on-asphalt);
  border: 1px solid var(--control-border-dark); border-radius: var(--radius-sm);
  transition: box-shadow .18s var(--ease-out);
}
.wa-float .icon { width: 24px; height: 24px; }
.wa-float:hover { box-shadow: inset 0 -3px 0 var(--brand); }
@media (min-width: 960px) {
  .wa-float { display: inline-flex; }
}

/* =============================================================
   10. Banner de cookies
   ============================================================= */
.cookie {
  position: fixed; z-index: 60;
  left: var(--s-4); right: var(--s-4);
  bottom: calc(var(--mbar-h) + env(safe-area-inset-bottom, 0px) + var(--s-3));
  max-width: 480px; max-height: calc(100svh - var(--header-h) - var(--mbar-h) - 32px); overflow-y: auto;
  display: grid; gap: var(--s-4);
  padding: var(--s-6);
  background: var(--surface-raised); color: var(--ink);
  border: 1px solid var(--asphalt); border-radius: var(--radius-md);
}
.cookie h2 { font-size: 1.375rem; line-height: 1.1; }
.cookie p { font-size: var(--fs-small); line-height: 20px; }
.cookie__btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.cookie__btns .btn { padding: 0 var(--s-2); font-size: 0.9375rem; }
.cookie__prefs { display: grid; gap: var(--s-3); border-top: 1px solid var(--hairline); padding-top: var(--s-4); }
.cookie__opt { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); align-items: start; }
.cookie__opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--asphalt); }
.cookie__opt label { display: grid; gap: 2px; }
.cookie__opt strong { font-weight: 600; }
@media (max-width: 539px) {
  .cookie { padding: var(--s-5); gap: var(--s-3); }
  .cookie__btns { grid-template-columns: 1fr; }
  .cookie__btns .btn { min-height: 44px; }
  #navigare-subsol ul { grid-template-columns: 1fr 1fr; column-gap: var(--s-4); }
}
@media (min-width: 960px) {
  .cookie { left: var(--s-6); right: auto; bottom: var(--s-6); width: 480px; }
}

/* =============================================================
   11. Páginas legales y 404
   ============================================================= */
.legal { padding-block: var(--s-12) var(--section-y); }
.legal__head { display: grid; gap: var(--s-4); padding-bottom: var(--s-8); border-bottom: 1px solid var(--hairline); margin-bottom: var(--s-8); }
.legal__body { max-width: 46rem; display: grid; gap: var(--s-4); }
.legal__body h2 { font-size: var(--fs-heading); line-height: 1.15; margin-top: var(--s-8); }
.legal__body ul { list-style: square; padding-left: 1.25em; display: grid; gap: var(--s-2); }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; }
.legal__body table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.legal__body th, .legal__body td { text-align: left; vertical-align: top; padding: var(--s-3); border: 1px solid var(--hairline); }
.legal__body th { background: var(--surface-sunken); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.04em; }
.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 560px; }
.pending { background: var(--surface-sunken); border-left: 4px solid var(--brand); padding: var(--s-3) var(--s-4); }

.e404 { min-height: calc(100svh - var(--header-h) - 200px); display: grid; align-content: center; gap: var(--s-6); padding-block: var(--s-16); }
.e404 .display-xl { font-size: clamp(6rem, 3rem + 14vw, 16rem); }

/* =============================================================
   12. Efectos: aparición discreta al hacer scroll
   ============================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =============================================================
   13. Movimiento reducido: solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .x-draw { stroke-dashoffset: 0; animation: none !important; }
  .js [data-reveal] { transform: none; transition: opacity .2s linear; }
}

/* =============================================================
   14. Impresión
   ============================================================= */
@media print {
  .site-header, .mbar, .wa-float, .cookie, .menu, .map { display: none !important; }
  body { padding: 0; }
}
