@charset "UTF-8";
/* ==========================================================================
   Force Motors República Dominicana — Prototipo
   main.css  ·  Estilos base y de componentes
   ------------------------------------------------------------------------
   REGLA DURA: este archivo NO contiene ninguna media query de breakpoint.
   Todo lo responsive vive en responsive.css, que solo redefine tokens
   y las pocas propiedades cuyo valor cambia. Ver R1–R5 del plan.
   Única excepción, por ser una preferencia del usuario y no un ancho:
   el bloque @media (prefers-reduced-motion) de la banda 16.
   Comprobación:  grep -cE '@media[^{]*width' main.css  →  0
   (los max-width sueltos del archivo son propiedades de layout, no consultas)
   ------------------------------------------------------------------------
   ÍNDICE
   01  @font-face
   02  :root — design tokens
   03  Reset
   04  Base
   05  Utilidades
   06  Componentes compartidos (.btn, .icon, .price-tag, .tabs, .carousel)
   07  Header + navegación + menú móvil
   08  Hero
   09  Intro
   10  Características
   11  Variantes
   12  Promo / brochure
   13  Formulario
   14  Footer
   15  FAB flotante
   16  prefers-reduced-motion
   17  Banner de página interior
   18  Explorar
   19  Galería
   20  Modal de test drive
   21  Test drive — extras del formulario
   22  Contacto
   ========================================================================== */


/* ==========================================================================
   01  @font-face — fuentes locales (solo WOFF disponible)
   ========================================================================== */

@font-face {
  font-family: "Acherus Grotesque";
  src: url("../fonts/AcherusGrotesque-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Acherus Grotesque";
  src: url("../fonts/AcherusGrotesque-Medium.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Acherus Grotesque";
  src: url("../fonts/AcherusGrotesque-Bold.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Acherus Grotesque";
  src: url("../fonts/AcherusGrotesque-ExtraBold.woff") format("woff");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sans Local";
  src: url("../fonts/OpenSansRegular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sans Local";
  src: url("../fonts/OpenSansBold.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}


/* ==========================================================================
   02  :root — design tokens
   ========================================================================== */

:root {
  /* --- Color ---------------------------------------------------------- */
  --c-black:        #000;
  --c-white:        #fff;
  --c-ink:          #2b2a29;   /* gris corporativo del logotipo            */
  --c-brand:        #006cb5;   /* azul de marca Force Motors               */
  --c-footer:       #2f2f2f;   /* muestreado de la captura de referencia   */
  --c-text:         #2b2a29;
  --c-text-muted:   #6a6a6a;
  --c-text-invert:  #fff;
  --c-bg:           #fff;
  --c-tab-bg:       #f7f7f7;   /* muestreado de la captura                 */
  --c-rule:         #d9d9d9;
  --c-field-line:   #b5b5b5;
  --c-error:        #c62828;
  --c-ok:           #1a7f45;
  --c-focus:        #006cb5;

  /* --- Tipografía ----------------------------------------------------- */
  --ff-heading: "Acherus Grotesque", "Segoe UI", Arial, sans-serif;
  --ff-body:    "Open Sans Local", "Segoe UI", Arial, sans-serif;

  --fw-regular:   400;
  --fw-medium:    500;
  --fw-bold:      700;
  --fw-black:     800;

  --fs-body:      14px;
  --lh-body:      1.7;

  --fs-section-title: 36px;
  --lh-section-title: 48px;
  --ls-section-title: 3px;

  --fs-nav:       16px;
  --ls-nav:       0;        /* la referencia no espacia las letras del menú */

  --fs-tab:       13px;
  --ls-tab:       2.4px;

  --fs-slide-title: 24px;
  --ls-slide-title: 2.4px;
  --fs-slide-text:  16px;
  --ls-slide-text:  1px;

  --fs-price-label:  16px;
  --ls-price-label:  1.6px;
  --fs-price-amount: 34px;
  --lh-price-amount: 1.1;
  --fs-price-note:   11px;
  --lh-price-note:   1.4;

  --fs-btn:       12px;
  --ls-btn:       .6px;
  --fs-small:     12px;
  --fs-xsmall:    10px;

  /* --- Layout --------------------------------------------------------- */
  --container:      1222px;
  --container-pad:  20px;
  --measure:        640px;    /* ancho máximo de párrafos centrados        */
  --header-h:       90px;
  --header-pad:     40px;   /* margen lateral del header, que va a ancho completo */

  --section-pt:     72px;
  --section-pb:     80px;
  --gap:            24px;

  /* --- Componentes ---------------------------------------------------- */
  --tag-cut:      86px;   /* profundidad del corte diagonal del badge      */
  --tag-pad-x:    36px;
  --tag-pad-y:    22px;
  --radius:       5px;
  --nav-w:        320px;  /* ancho del panel off-canvas                    */

  /* --- Motion --------------------------------------------------------- */
  --t-fast:   .18s ease;
  --t-base:   .3s ease;
  --t-slide:  .55s cubic-bezier(.4, 0, .2, 1);

  /* --- z-index -------------------------------------------------------- */
  --z-caption:  2;
  --z-nav:      3;
  --z-header:   50;
  /* El velo del menú tiene que quedar POR DEBAJO del header. El header es
     position:fixed, así que crea su propio contexto de apilamiento a 50, y
     .nav vive dentro: su z-index 70 solo cuenta dentro de ese contexto. Con el
     velo a 60 —por encima de 50— acababa tapando el panel entero: los enlaces
     se veían grises (blanco bajo un negro al 55 %) y no respondían, porque el
     velo se comía la pulsación y además la interpretaba como "cerrar". */
  --z-overlay:  45;
  --z-panel:    70;
  --z-fab:      80;
  --z-lightbox: 90;
}


/* ==========================================================================
   03  Reset
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Reserva el hueco de la barra de desplazamiento: evita el salto lateral
     al bloquear el scroll con el menú móvil abierto. */
  scrollbar-gutter: stable;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd,
ul, ol, fieldset, legend { margin: 0; padding: 0; }

ul, ol { list-style: none; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

fieldset { border: 0; min-width: 0; }

a { color: inherit; text-decoration: none; }

[hidden] { display: none !important; }   /* garantiza el ocultado sobre display de componente */


/* ==========================================================================
   04  Base
   ========================================================================== */

html { font-size: 100%; }

body {
  font-family: var(--ff-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background-color: var(--c-bg);
  overflow-x: clip;          /* no rompe position:sticky, a diferencia de hidden */
  font-synthesis: none;      /* delata pesos faltantes en QA en vez de fingirlos */
  /* NO se aplica -webkit-font-smoothing: antialiased. El sitio de referencia no
     lo usa, y en macOS adelgaza el trazo lo suficiente como para que el texto
     se vea menos sólido que en producción. Se deja el suavizado por defecto
     del sistema para igualar la referencia. */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  line-height: 1.25;
}

sup { font-size: .55em; vertical-align: super; line-height: 0; }

strong, b { font-weight: var(--fw-bold); }

:focus-visible {
  outline: 2px solid var(--c-focus);
  outline-offset: 3px;
}
/* Sobre fondo negro el azul de marca no contrasta lo suficiente */
.header :focus-visible,
.footer :focus-visible,
.carousel__nav:focus-visible,
.fab :focus-visible,
.slide :focus-visible { outline-color: var(--c-white); }


/* ==========================================================================
   05  Utilidades
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.container--narrow { max-width: calc(var(--measure) + var(--container-pad) * 2); }

.section {
  padding-top: var(--section-pt);
  padding-bottom: var(--section-pb);
}

/* El header es fijo: cualquier destino de ancla debe dejarle sitio o quedaría
   oculto debajo. Afecta al enlace "Saltar al contenido" y al FAB. */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Sangrado a ancho completo dentro de un contenedor limitado */
.u-full-bleed {
  width: 100%;
  margin-inline: calc(50% - 50vw);
  max-width: 100vw;
}

.u-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.u-skip-link {
  position: absolute;
  left: var(--container-pad);
  top: -100px;
  z-index: calc(var(--z-fab) + 1);
  padding: 12px 20px;
  background-color: var(--c-white);
  color: var(--c-black);
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  transition: top var(--t-fast);
}
.u-skip-link:focus-visible { top: 12px; }

/* .u-placeholder marca los datos aún provisionales. Ya no lleva tratamiento
   visual: la clase se conserva en el marcado como registro, para poder listar
   lo que falta con  grep -c 'u-placeholder' *.html  antes de publicar. */


/* ==========================================================================
   06  Componentes compartidos
   ========================================================================== */

/* ---- 06.1  Iconos ------------------------------------------------------ */
.icon {
  width: 20px; height: 20px;
  fill: currentColor;
  flex: none;
}

/* ---- 06.2  Botones ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 150px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--ff-heading);
  font-size: var(--fs-btn);
  font-weight: var(--fw-bold);
  line-height: 26px;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  text-align: center;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn .icon { width: 15px; height: 15px; }

.btn--light {
  background-color: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-black);
}
.btn--light:hover { background-color: transparent; color: var(--c-white); }
.btn--light:active { background-color: rgba(255, 255, 255, .85); color: var(--c-black); }

.btn--dark {
  background-color: var(--c-black);
  border-color: var(--c-black);
  color: var(--c-white);
}
.btn--dark:hover { background-color: transparent; color: var(--c-black); }
.btn--dark:active { background-color: #333; color: var(--c-white); }

/* ---- 06.3  Badge diagonal de precio ------------------------------------ */
/* Compartido por el hero y por las variantes. El corte se hace con
   clip-path (la misma técnica del sitio de referencia); el padding del lado
   diagonal se compensa para que el texto no toque el bisel. */
.price-tag {
  position: absolute;
  left: 0;
  z-index: var(--z-caption);
  max-width: min(42%, 500px);
  padding: var(--tag-pad-y) var(--tag-pad-x);
  padding-inline-end: calc(var(--tag-pad-x) + var(--tag-cut));
  background-color: var(--c-black);
  color: var(--c-text-invert);
  font-family: var(--ff-heading);
  /* corte en la esquina superior derecha: la base es más ancha que el techo */
  clip-path: polygon(0 0, calc(100% - var(--tag-cut)) 0, 100% 100%, 0 100%);
}
.price-tag__label {
  font-size: var(--fs-price-label);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-price-label);
  text-transform: uppercase;
  line-height: 1.2;
}
.price-tag__amount {
  margin-block: 2px 4px;
  font-size: var(--fs-price-amount);
  line-height: var(--lh-price-amount);
  font-weight: var(--fw-black);
  white-space: nowrap;
}
.price-tag__note {
  font-family: var(--ff-body);
  font-size: var(--fs-price-note);
  line-height: var(--lh-price-note);
  font-weight: var(--fw-regular);
}

/* El hero aprobado (opción C) no lleva badge de precio. El componente se
   mantiene porque lo usa la sección de variantes. */
.price-tag--variant { top: 0; }

/* ---- 06.4  Títulos de sección ------------------------------------------ */
.section__title {
  font-size: var(--fs-section-title);
  line-height: var(--lh-section-title);
  letter-spacing: var(--ls-section-title);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
  /* el tracking añade un hueco a la derecha de la última letra: se compensa
     para que el bloque quede ópticamente centrado */
  margin-inline-start: var(--ls-section-title);
}
.section__title-line { display: block; }

/* Variante alineada a la izquierda. El margen que compensa ópticamente el
   interletraje solo hace falta cuando el título va centrado. */
.section__title--start {
  text-align: left;
  margin-inline-start: 0;
}


/* ---- 06.5  Tabs -------------------------------------------------------- */
.tabs__list-wrap { margin-top: 40px; }

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.tabs__tab {
  position: relative;
  padding: 9px 20px;
  background-color: var(--c-tab-bg);
  color: var(--c-text-muted);
  font-family: var(--ff-heading);
  font-size: var(--fs-tab);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-tab);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--t-fast), background-color var(--t-fast);
}
.tabs__tab:hover { color: var(--c-text); }

.tabs__tab[aria-selected="true"] {
  background-color: transparent;
  color: var(--c-black);
  font-weight: var(--fw-bold);
}
.tabs__tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: -4px;
  height: 3px;
  background-color: var(--c-black);
}

.tabs__panel { margin-top: 22px; }
.tabs__panel:focus-visible { outline-offset: -3px; }

/* ---- 06.6  Carrusel ---------------------------------------------------- */
/* Ancho completo, una diapositiva visible. El desplazamiento se hace con
   translateX sobre el track; el estado vive en data-index. */
/* El carrusel ya cuelga de una sección sin contenedor limitado, así que
   ocupa el ancho completo sin necesidad de sangrado negativo. Aplicar aquí
   el truco de margin-inline:calc(50% - 50vw) desplazaría el bloque media
   barra de desplazamiento hacia la izquierda y provocaría desbordamiento. */
.carousel {
  position: relative;
  width: 100%;
}

.carousel__viewport { overflow: hidden; }

.carousel__track {
  display: flex;
  will-change: transform;
  transition: transform var(--t-slide);
}
.carousel:not(.is-ready) .carousel__track { transition: none; }

.slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
}
/* La proporción se impone aquí y no se hereda del archivo. Las fotos de origen
   vienen con alturas dispares (734, 735, 760 y hasta 776 px), y como el track
   es flex, todas las diapositivas se estiran a la más alta: en las bajas queda
   un hueco y el pie, que va anclado abajo, se despega de la imagen.
   Fijando la proporción, todas las diapositivas miden lo mismo pase lo que
   pase con los archivos. */
.slide__img {
  width: 100%;
  aspect-ratio: 1920 / 734;
  object-fit: cover;
  object-position: center;
}

.slide__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-caption);
  padding: 60px var(--container-pad) 18px;
  text-align: center;
  color: var(--c-text-invert);
  background-image: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, 0) 100%);
}
/* En variantes la franja es un bloque negro sólido, no un degradado */
.slide__title {
  font-size: var(--fs-slide-title);
  letter-spacing: var(--ls-slide-title);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  line-height: 1.4;
}
.slide__text {
  margin-top: 2px;
  font-family: var(--ff-heading);
  font-size: var(--fs-slide-text);
  letter-spacing: var(--ls-slide-text);
  line-height: 1.5;
  text-transform: uppercase;
}

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-nav);
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: var(--c-white);
  background-color: rgba(0, 0, 0, .25);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.carousel__nav:hover { background-color: var(--c-white); color: var(--c-black); }
.carousel__nav .icon { width: 16px; height: 16px; fill: none; }
.carousel__nav:disabled { opacity: .35; cursor: default; }
.carousel__nav:disabled:hover { background-color: rgba(0, 0, 0, .25); color: var(--c-white); }

.carousel__nav--prev { left: 14px; }
.carousel__nav--next { right: 14px; }

/* En variantes el fondo es claro: las flechas van en negro, como la referencia */
.carousel--variant .carousel__nav {
  color: var(--c-black);
  background-color: rgba(255, 255, 255, .55);
}
.carousel--variant .carousel__nav:hover { background-color: var(--c-black); color: var(--c-white); }
.carousel--variant .carousel__nav:disabled:hover { background-color: rgba(255, 255, 255, .55); color: var(--c-black); }


/* ==========================================================================
   07  Header + navegación + menú móvil
   ========================================================================== */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  height: var(--header-h);
  background-color: var(--c-black);
}

/* El header ocupa todo el ancho de la ventana: el logo se apoya en el borde
   izquierdo y la navegación en el derecho, sin quedar limitados al ancho del
   contenido. Solo se respeta el margen lateral de la página. */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  height: 100%;
  width: 100%;
  padding-inline: var(--header-pad);
}

.header__brand { flex: none; }
.header__brand img { width: auto; height: 70px; }

.header__toggle {
  display: none;              /* solo visible en el breakpoint móvil */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
}
.header__toggle-bar {
  display: block;
  height: 2px;
  background-color: var(--c-white);
  transition: transform var(--t-base), opacity var(--t-fast);
}
.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(2) { opacity: 0; }
.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 6px;
  color: var(--c-white);
  font-family: var(--ff-heading);
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  line-height: 30px;
  letter-spacing: var(--ls-nav);
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity var(--t-fast);
}
.nav__link:hover { opacity: .72; }

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background-color: var(--c-white);
}

.nav__link--cta {
  padding: 7px 16px;
  border: 1px solid var(--c-white);
  border-radius: var(--radius);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.nav__link--cta:hover { background-color: var(--c-white); color: var(--c-black); opacity: 1; }
.nav__link--cta.is-active::after { display: none; }

/* Pie del panel off-canvas: oculto en escritorio */
.nav__footer { display: none; }
.nav__footer-title {
  margin-top: 22px;
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.nav__footer-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--c-white);
  font-size: var(--fs-body);
}
.nav__footer-link:hover { text-decoration: underline; }
.nav__footer-cta { width: 100%; margin-top: 26px; }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background-color: rgba(0, 0, 0, .55);
  opacity: 0;
  transition: opacity var(--t-base);
}
.nav-overlay.is-visible { opacity: 1; }

/* Bloqueo de scroll mientras el panel está abierto.
   position:fixed + top negativo conserva la posición de lectura; main.js la
   restituye al cerrar. Solo con overflow:hidden, iOS Safari seguiría
   desplazando el fondo. */
.has-menu-open {
  position: fixed;
  inset-inline: 0;
  width: 100%;
  overflow: hidden;
}

/* ---- Redes sociales (compartido header móvil + footer) ----------------- */
.social {
  display: flex;
  align-items: center;
  gap: 30px;
}
.social a {
  display: grid;
  place-items: center;
  /* El área pulsable va por delante del dibujo, y siempre por encima de los
     44 px que se recomiendan como mínimo táctil. */
  width: 52px; height: 52px;
  margin: -9px;          /* el área extra no separa los iconos entre sí */
  color: var(--c-white);
  transition: opacity var(--t-fast);
}
.social .icon { width: 34px; height: 34px; }
.social a:hover { opacity: .65; }
.social--menu { margin-top: 26px; }


/* ==========================================================================
   08  Hero
   ========================================================================== */

/* El titular va rasterizado dentro de la fotografía, así que el recorte tiene
   dos topes medidos sobre la imagen original (2752x1536):

     · el texto ocupa y 200-620  -> como mucho se pueden quitar 150 px por
       arriba, dejando 50 px de aire sobre "PRESENTAMOS";
     · la furgoneta y su sombra llegan hasta y 1440 -> por abajo solo sobran
       unos 80 px de pavimento vacío.

   De ahí sale 2752/1306 = 2.107, y un object-position vertical del 65 %
   (150 de los 230 px recortados salen de arriba). Es el hero más bajo posible
   sin mutilar ni el titular ni el vehículo. */

.hero {
  position: relative;
  margin-top: var(--header-h);
  background-color: var(--c-black);
}
.hero__img {
  width: 100%;
  aspect-ratio: 2.107;
  object-fit: cover;
  object-position: 50% 65%;
}


/* ==========================================================================
   09  Intro
   ========================================================================== */

.intro { text-align: center; }
.intro__text {
  max-width: var(--measure);
  margin-inline: auto;
  margin-top: 20px;
  color: var(--c-text);
}
.intro .section__title + .intro__text { margin-top: 26px; }


/* ==========================================================================
   10  Características
   ========================================================================== */

.features { padding-bottom: 0; }
.features .tabs { margin-top: 4px; }
.features .tabs__panel { margin-top: 26px; }


/* ==========================================================================
   11  Variantes
   ========================================================================== */

.variants { padding-bottom: 0; }
.variants .tabs__panel { margin-top: 26px; }

.carousel--variant .slide__img { background-color: var(--c-white); }

/* Igual que en el hero: el badge queda oculto mientras la imagen de planta
   siga trayendo el precio quemado. */
.variants--img-provisional .price-tag--variant { display: none; }


/* ==========================================================================
   12  Promo / brochure
   ========================================================================== */

.promo {
  position: relative;
  margin-top: 64px;
  background-color: var(--c-ink);
}
.promo__bg {
  width: 100%;
  height: auto;
}

.promo__cards {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  width: min(30%, 380px);
  padding-inline: 3.4%;
}

/* El velo era blanco al 16 %, y el fondo de la foto en esta zona tiene una
   media de 203 sobre 255: el texto blanco se quedaba en 1,3:1, ilegible.
   Ahora es un panel oscuro translúcido que sí separa la tarjeta de la imagen
   y deja el texto en 7,2:1 incluso sobre las zonas más claras. */
.promo__card {
  padding: 22px 24px 24px;
  background-color: rgba(12, 16, 20, .7);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  color: var(--c-text-invert);
}

/* "Urbania" ocupa su propia línea; el claim va debajo. Al ir en un <span>
   dentro del mismo h2, el encabezado sigue leyéndose como una sola frase para
   buscadores y lectores de pantalla. */
.promo__title-brand { display: block; }

.promo__title {
  font-size: 20px;
  font-weight: var(--fw-bold);
  letter-spacing: 1px;
  line-height: 1.35;
  text-transform: uppercase;
}
.promo__logo {
  width: 150px;
  height: auto;
  margin-bottom: 16px;
}
.promo__btn {
  min-width: 0;
  margin-top: 18px;
  padding: 6px 14px;
  font-size: var(--fs-xsmall);
  line-height: 20px;
}


/* ==========================================================================
   13  Formulario
   ========================================================================== */

.enquiry { padding-top: 64px; }

.form {
  max-width: 1000px;
  margin-inline: auto;
  margin-top: 44px;
}

.form__row {
  display: grid;
  gap: 22px 40px;
  margin-bottom: 26px;
}
.form__row--3 { grid-template-columns: repeat(2, 1fr); }

.form__group { position: relative; }

/* La referencia no muestra label visible: el placeholder hace de rótulo.
   El label sigue existiendo para lectores de pantalla. */
.form__label {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form__control {
  width: 100%;
  padding: 6px 2px;
  border: 0;
  border-bottom: 1px solid var(--c-field-line);
  border-radius: 0;
  background-color: transparent;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  color: var(--c-text);
  transition: border-color var(--t-fast);
}
.form__control::placeholder { color: var(--c-text-muted); opacity: 1; }
.form__control:hover { border-bottom-color: var(--c-text-muted); }
.form__control:focus { outline: 0; border-bottom-color: var(--c-black); border-bottom-width: 2px; padding-bottom: 5px; }
.form__control:focus-visible { outline: 0; }
.form__control[aria-invalid="true"] { border-bottom-color: var(--c-error); }

/* Select: se elimina la flecha nativa y se dibuja una propia, como la referencia */
.form__group--select { position: relative; }
.form__group--select select {
  appearance: none;
  padding-right: 24px;
  cursor: pointer;
}
.form__group--select::after {
  content: "";
  position: absolute;
  right: 6px;
  top: var(--select-arrow-top, 13px);
  width: 8px; height: 8px;
  border-right: 1px solid var(--c-text-muted);
  border-bottom: 1px solid var(--c-text-muted);
  transform: rotate(45deg);
  pointer-events: none;
}

/* Cuando el campo lleva rótulo visible, el select baja lo que ocupa el rótulo
   (17 px de línea más 5 px de margen) y la flecha debe acompañarlo. Sin esto
   se quedaba arriba, encima del propio rótulo. */
.form__group--select:has(.form__label--visible) { --select-arrow-top: 35px; }

.form__error {
  display: block;
  min-height: 16px;
  margin-top: 4px;
  color: var(--c-error);
  font-size: var(--fs-xsmall);
  line-height: 1.4;
}

.form__consent { margin-top: 6px; }
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}
.form__checkbox {
  flex: none;
  width: 13px; height: 13px;
  margin-top: 3px;
  accent-color: var(--c-black);
}
.form__check-label {
  font-size: var(--fs-xsmall);
  line-height: 1.6;
  cursor: pointer;
}
.form__check-label a { color: var(--c-brand); text-decoration: underline; }

.form__actions {
  margin-top: 30px;
  text-align: center;
}
.form__actions .btn { min-width: 170px; }

.form__feedback {
  margin-top: 14px;
  text-align: center;
  font-size: var(--fs-small);
  color: var(--c-text-muted);
}
.form__feedback.is-error { color: var(--c-error); }
.form__feedback.is-ok { color: var(--c-brand); }


/* ==========================================================================
   14  Footer
   ========================================================================== */

.footer {
  padding-top: 44px;
  padding-bottom: 22px;
  background-color: var(--c-footer);
  color: var(--c-text-invert);
  font-size: var(--fs-small);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr .8fr;
  gap: 30px;
  padding-bottom: 30px;
}

.footer__logo { width: 150px; height: auto; }
.footer__tagline {
  margin-top: 8px;
  font-family: var(--ff-heading);
  font-size: var(--fs-xsmall);
  letter-spacing: 3.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}

.footer__title {
  margin-bottom: 8px;
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.footer__col > .footer__title:not(:first-child) { margin-top: 20px; }

.footer__link {
  color: var(--c-text-invert);
  transition: opacity var(--t-fast);
}
.footer__link:hover { opacity: .7; text-decoration: underline; }

.footer__menu li + li { margin-top: 12px; }
/* Los enlaces van en la tipografía de cuerpo y en caja normal: son navegación
   corriente, no rótulos. Los encabezados de columna sí conservan mayúsculas y
   Acherus, que es lo que los distingue de los enlaces que hay debajo. */
.footer__menu .footer__link {
  font-size: var(--fs-small);
}

.footer__address {
  margin-top: 20px;
  font-style: normal;
  line-height: 1.9;
  color: rgba(255, 255, 255, .85);
}

.footer .social { margin-top: 16px; }

.footer__disclaimer {
  padding-block: 4px 26px;
  font-size: var(--fs-xsmall);
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
}
.footer__disclaimer strong { text-transform: uppercase; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
}
.footer__legal {
  display: flex;
  gap: 26px;
}
.footer__copy { color: rgba(255, 255, 255, .85); }


/* ==========================================================================
   14b  Páginas pendientes (stubs)
   ========================================================================== */

/* Las cuatro páginas restantes existen solo para que ningún enlace del
   prototipo quede roto. Su contenido llegará en iteraciones posteriores. */
.stub {
  margin-top: var(--header-h);
  min-height: 46vh;
  display: grid;
  align-content: center;
  text-align: center;
}
.stub__text {
  max-width: var(--measure);
  margin-inline: auto;
  margin-top: 24px;
  color: var(--c-text-muted);
}
.stub__actions { margin-top: 30px; }


/* ==========================================================================
   15  FAB flotante
   ========================================================================== */

/* Con una capa a pantalla completa abierta —menú, visor o modal— el botón
   flotante no debe seguir por encima de ella. */
.has-menu-open .fab { display: none; }

.fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: var(--z-fab);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.fab__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.fab__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius);
  background-color: var(--c-black);
  color: var(--c-white);
  font-family: var(--ff-heading);
  font-size: var(--fs-xsmall);
  font-weight: var(--fw-bold);
  letter-spacing: .6px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color var(--t-fast);
}
.fab__action:hover { background-color: var(--c-brand); }
.fab__action .icon { width: 14px; height: 14px; fill: none; }

.fab__toggle {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background-color: var(--c-ink);
  color: var(--c-white);
  transition: background-color var(--t-fast);
}
.fab__toggle:hover { background-color: var(--c-black); }

/* Cruz dibujada en CSS: gira 45° al abrirse */
.fab__icon {
  position: relative;
  display: block;
  width: 18px; height: 18px;
  transition: transform var(--t-base);
}
.fab__icon::before,
.fab__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background-color: currentColor;
  transform: translate(-50%, -50%);
}
.fab__icon::before { width: 16px; height: 2px; }
.fab__icon::after  { width: 2px; height: 16px; }

.fab__toggle[aria-expanded="true"] .fab__icon { transform: rotate(45deg); }


/* ==========================================================================
   16  prefers-reduced-motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   17  Banner de página interior
   ========================================================================== */

.page-banner {
  position: relative;
  margin-top: var(--header-h);
  background-color: var(--c-black);
}
/* La proporción es la del archivo ya recortado, elegida midiendo el encuadre:
   por encima de 3,4 se cortaban las ruedas de la furgoneta. Al coincidir con
   el archivo no se recorta nada y no hay salto de layout al cargar. */
.page-banner__img {
  width: 100%;
  aspect-ratio: 2752 / 830;
  object-fit: cover;
  object-position: center;
}
/* Velo de izquierda a derecha: el titular cae sobre la zona clara del suelo,
   así que sin él no se leería. */
.page-banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-inline: var(--header-pad);
  color: var(--c-text-invert);
  background-image: linear-gradient(90deg,
    rgba(8, 12, 16, .72) 0%,
    rgba(8, 12, 16, .42) 34%,
    rgba(8, 12, 16, .10) 56%,
    transparent 72%);
}
.page-banner__title {
  max-width: min(38%, 460px);
  font-family: var(--ff-heading);
  font-size: clamp(18px, 1.9vw, 30px);
  font-weight: var(--fw-bold);
  line-height: 1.32;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-wrap: balance;
}


/* ==========================================================================
   18  Explorar — bloques alternos con imagen diagonal
   ========================================================================== */

/* La separación con el banner se declara por adyacencia y no con
   :first-of-type. Ese selector busca el primer <section> de la página, y el
   primero es .page-banner, así que nunca llegaba a aplicarse y el primer
   bloque quedaba pegado a la imagen. */
.page-banner + .explore { margin-top: clamp(64px, 9vw, 128px); }
.explore + .explore     { margin-top: clamp(48px, 7vw, 96px); }
.explore:last-of-type   { margin-bottom: clamp(56px, 8vw, 110px); }

/* El carrusel de esta página no va a sangre: cada diapositiva es una rejilla
   de dos columnas, con la imagen pegada a un borde de la ventana. */
.explore__slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

/* El corte diagonal es la firma visual de la marca: el mismo lenguaje que el
   badge de precio de la Home. La imagen sangra hacia el borde exterior. */
.explore__img {
  width: 100%;
  aspect-ratio: 1024 / 546;
  object-fit: cover;
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
}
/* La inversión se hace colocando las celdas, no con direction:rtl, que además
   de invertir el orden altera la colocación de la puntuación. */
.explore--flip .explore__media { grid-column: 2; grid-row: 1; }
.explore--flip .explore__body  { grid-column: 1; grid-row: 1; }
.explore--flip .explore__img {
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.explore__body {
  max-width: 52ch;
  padding-inline-end: var(--header-pad);
}
.explore--flip .explore__body {
  padding-inline: var(--header-pad) 0;
  justify-self: end;
}

.explore__title {
  font-family: var(--ff-heading);
  font-size: clamp(17px, 1.5vw, 23px);
  font-weight: var(--fw-bold);
  line-height: 1.32;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-wrap: balance;
}
.explore__text {
  margin-top: 14px;
  color: var(--c-text-muted);
}

/* Los controles viven bajo el texto, no superpuestos a la imagen: aquí la
   fotografía es contenido, no fondo. */
.explore__nav {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  padding-inline-end: var(--header-pad);
  /* la mitad derecha de la rejilla, para quedar bajo el bloque de texto */
  margin-inline-start: calc(50% + clamp(12px, 2vw, 32px));
}
.explore--flip .explore__nav {
  margin-inline: var(--header-pad) 0;
  padding-inline-end: 0;
  margin-inline-start: var(--header-pad);
  width: calc(50% - clamp(12px, 2vw, 32px));
}

.explore__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 118px;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid var(--c-ink);
  border-radius: var(--radius);
  background-color: var(--c-white);
  font-family: var(--ff-heading);
  font-size: var(--fs-btn);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.explore__btn .icon { width: 14px; height: 14px; fill: none; }
.explore__btn:hover { background-color: var(--c-ink); color: var(--c-white); }
.explore__btn:disabled { opacity: .35; cursor: default; }
.explore__btn:disabled:hover { background-color: var(--c-white); color: inherit; }


/* ==========================================================================
   19  Galería — rejilla y visor ampliado
   ========================================================================== */

.gallery .tabs__panel { margin-top: 34px; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
}

/* Cada miniatura es un botón real: abre el visor, no navega. Se le quitan los
   estilos de botón y se le devuelve el comportamiento de bloque. */
.gallery__thumb {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background-color: var(--c-tab-bg);
  cursor: zoom-in;
}
.gallery__thumb img {
  width: 100%;
  aspect-ratio: 752 / 424;
  object-fit: cover;
  transition: transform var(--t-base), opacity var(--t-fast);
}
.gallery__thumb:hover img { transform: scale(1.04); opacity: .92; }
.gallery__thumb:focus-visible { outline-offset: 2px; }

/* ---- Visor ampliado ---------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 28px);
  padding: clamp(48px, 6vw, 72px) clamp(12px, 3vw, 40px);
  background-color: rgba(8, 10, 12, .93);
  opacity: 0;
  transition: opacity var(--t-base);
}
.lightbox.is-open { opacity: 1; }

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  width: auto;
  object-fit: contain;
}
.lightbox__caption {
  max-width: 62ch;
  color: rgba(255, 255, 255, .82);
  font-size: var(--fs-small);
  text-align: center;
}

.lightbox__nav,
.lightbox__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--radius);
  color: var(--c-white);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.lightbox__nav:hover,
.lightbox__close:hover { background-color: var(--c-white); color: var(--c-black); }
.lightbox__nav:disabled { opacity: .3; cursor: default; }
.lightbox__nav:disabled:hover { background-color: transparent; color: var(--c-white); }
.lightbox__nav .icon,
.lightbox__close .icon { fill: none; }

.lightbox__close {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 3vw, 40px);
}


/* ==========================================================================
   20  Modal de test drive
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background-color: rgba(8, 10, 12, .72);
  opacity: 0;
  transition: opacity var(--t-base);
  overflow-y: auto;
}
.modal.is-open { opacity: 1; }

.modal__dialog {
  position: relative;
  width: min(100%, 860px);
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(28px, 4vw, 46px) clamp(20px, 4vw, 48px) clamp(24px, 3vw, 38px);
  background-color: var(--c-white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--radius);
  color: var(--c-text);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.modal__close:hover { background-color: var(--c-ink); color: var(--c-white); }
.modal__close .icon { fill: none; }

.modal__title {
  font-family: var(--ff-heading);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: var(--fw-bold);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-wrap: balance;
  padding-right: 44px;
}
.modal__intro {
  max-width: 54ch;
  margin-top: 10px;
  color: var(--c-text-muted);
}
.modal .form { margin-top: 26px; }


/* ==========================================================================
   21  Test drive — extras del formulario
   ========================================================================== */

/* Fecha y hora sí llevan rótulo visible: a diferencia del resto de campos, su
   marcador de posición no explica qué se espera. */
.form__label--visible {
  position: static !important;
  width: auto; height: auto;
  margin: 0 0 5px;
  clip: auto;
  clip-path: none;
  overflow: visible;
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-xsmall);
  font-weight: var(--fw-medium);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  white-space: normal;
}

/* El selector nativo trae su propio icono: se le deja sitio y no se le añade
   la flecha dibujada del resto de campos. */
.form__control[type="date"],
.form__control[type="time"] { padding-right: 4px; }

.form__note {
  margin-top: 4px;
  font-size: var(--fs-xsmall);
  line-height: 1.6;
  color: var(--c-text-muted);
}

.enquiry--page { padding-top: calc(var(--header-h) + var(--section-pt)); }
.enquiry__intro {
  max-width: var(--measure);
  margin-inline: auto;
  margin-top: 18px;
  text-align: center;
  color: var(--c-text-muted);
}


/* ==========================================================================
   22  Contacto — mapa, ficha de datos y formulario
   ========================================================================== */

.map {
  margin-top: var(--header-h);
  background-color: var(--c-tab-bg);
}
.map__frame {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 520;
  border: 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 76px);
  margin-top: 64px;
}

.contact__subtitle {
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.contact__info > .contact__subtitle:not(:first-child) { margin-top: 28px; }
.contact__form-wrap > .contact__subtitle { margin-bottom: 20px; }

.contact__address {
  margin-top: 8px;
  font-style: normal;
  line-height: 1.9;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: var(--c-brand);
  transition: opacity var(--t-fast);
}
.contact__link:hover { opacity: .7; text-decoration: underline; }
.contact__link .icon { width: 16px; height: 16px; fill: none; flex: none; }
.contact__link-wrap { margin-top: 4px; }

.contact__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.contact__rotulo { color: var(--c-text-muted); }

.contact__hours {
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.contact__hours > div {
  display: flex;
  justify-content: space-between;
  gap: var(--gap);
  padding-block: 7px;
  border-bottom: 1px solid var(--c-rule);
}
.contact__hours > div:last-child { border-bottom: 0; }
.contact__hours dt { color: var(--c-text-muted); }
.contact__hours dd { margin: 0; }

/* Asunto y mensaje ocupan las dos columnas de la rejilla */
.form__group--wide { grid-column: 1 / -1; }

.form__control--area {
  min-height: 120px;
  resize: vertical;
  line-height: var(--lh-body);
}

.form__actions--start { text-align: left; }


/* ==========================================================================
   23  Modal de resultado del envío
   --------------------------------------------------------------------------
   Reutiliza .modal y .modal__dialog. Solo añade lo que cambia: un cuadro más
   estrecho, la marca de acierto o fallo, y el texto centrado. El icono que se
   ve lo decide la clase is-ok / is-error que main.js pone en el contenedor.
   ========================================================================== */

.modal__dialog--estrecho {
  width: min(100%, 480px);
  text-align: center;
  padding-top: clamp(36px, 5vw, 52px);
}

.resultado__marca {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
}
.modal--resultado.is-ok    .resultado__marca { background-color: rgba(26, 127, 69, .1); color: var(--c-ok); }
.modal--resultado.is-error .resultado__marca { background-color: rgba(198, 40, 40, .1); color: var(--c-error); }

.resultado__icono { grid-area: 1 / 1; width: 30px; height: 30px; display: none; }
.modal--resultado.is-ok    .resultado__icono--ok    { display: block; }
.modal--resultado.is-error .resultado__icono--error { display: block; }

.resultado__titulo { margin-bottom: 10px; }

.resultado__texto {
  margin: 0 auto;
  max-width: 34ch;
  color: var(--c-text-muted);
  text-wrap: pretty;
}

.form__actions--centro { text-align: center; margin-top: 28px; }
