/* Buscamos tu coche 4x4 */
@font-face { font-family: "League Gothic"; src: url("../fonts/league.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("../fonts/mukta-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("../fonts/mukta-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("../fonts/mukta-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("../fonts/mukta-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --amarillo: #f4c20d;
  --amarillo-hondo: #d7a800;
  --grafito: #2a2c30;
  --grafito-hondo: #1b1d20;
  --tiza: #f5f2e9;
  --cinta: #fbf8ef;
  --rojo: #d8342c;
  --franja: 36px;
  --cab: 78px;
  --alto: calc(100vh - var(--franja) - var(--cab));
  --alto: calc(100svh - var(--franja) - var(--cab));
  --margen: clamp(20px, 5vw, 84px);
  --titulo: "League Gothic", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--cab) + 12px); }
html.quieto { scroll-behavior: auto; }
html.quieto .cinta__regla { transition: none; }
body { margin: 0; background: var(--tiza); color: var(--grafito-hondo); font-family: "Mukta", "Trebuchet MS", sans-serif; font-size: clamp(17px, 1.15vw, 20px); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd, figure, fieldset, blockquote { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1680px; margin: 0 auto; padding-inline: var(--margen); }
.nowrap { white-space: nowrap; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.rotulo { font-weight: 800; font-size: clamp(15px, 1.05vw, 18px); letter-spacing: .08em; text-transform: uppercase; }
h2 { font-family: var(--titulo); font-weight: 400; text-transform: uppercase; font-size: clamp(46px, 5.4vw, 100px); line-height: .96; letter-spacing: .004em; text-wrap: balance; }

.btn { display: inline-block; min-height: 52px; padding: 11px 24px; border: 2px solid var(--amarillo); border-radius: 6px; background: var(--amarillo); color: var(--grafito-hondo); font: 800 clamp(17px, 1.15vw, 20px)/1.32 "Mukta", sans-serif; text-decoration: none; text-align: center; cursor: pointer; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.btn svg { display: inline-block; width: 21px; height: 21px; margin-right: 9px; vertical-align: -5px; }
.btn:hover { background: #ffd53a; border-color: #ffd53a; }
.btn--tinta { background: var(--grafito-hondo); border-color: var(--grafito-hondo); color: var(--amarillo); }
.btn--tinta:hover { background: #000; border-color: #000; color: var(--amarillo); }
.btn--linea { background: transparent; border-color: currentColor; color: inherit; }
.btn--linea:hover { background: var(--amarillo); border-color: var(--amarillo); color: var(--grafito-hondo); }
.link { color: inherit; font-weight: 800; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible + span, .presu__cinta:focus-visible { outline: 3px solid var(--rojo); outline-offset: 2px; }

.pendiente { display: inline-block; padding: 1px 9px; border-radius: 4px; background: var(--amarillo); color: var(--grafito-hondo); font-weight: 800; font-size: .92em; }

/* ---------------------------------------------------------------- la franja */
.propuesta { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 12px; padding: 7px var(--margen); background: var(--grafito-hondo); color: var(--tiza); font-size: 15px; line-height: 1.34; text-align: center; }
.propuesta__p { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; color: var(--amarillo); }
.propuesta__t b { font-weight: 700; }

/* ---------------------------------------------------------------- la cabecera */
.nav { position: sticky; top: 0; z-index: 50; background: var(--grafito); color: var(--tiza); }
.nav__bar { display: flex; align-items: center; gap: 26px; min-height: 68px; }
.nav__cinta { height: 10px; background: repeating-linear-gradient(90deg, var(--grafito-hondo) 0 2px, transparent 2px 12px), var(--amarillo); }
.saltar { position: absolute; left: -9999px; top: 8px; display: inline-block; min-height: 44px; padding: 10px 18px; background: var(--amarillo); color: var(--grafito-hondo); z-index: 60; }
.saltar:focus { left: 12px; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--titulo); font-size: clamp(27px, 2.1vw, 36px); line-height: 1; letter-spacing: .012em; text-transform: uppercase; color: var(--amarillo); text-decoration: none; padding: 11px 0; }
.nav__logo em { font-style: normal; font-size: .72em; padding: 3px 7px 2px; border: 2px solid var(--amarillo); border-radius: 4px; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 13px; font-weight: 700; text-decoration: none; border-radius: 5px; transition: background .16s ease; }
.nav__link:hover { background: rgba(255, 255, 255, .12); }
.nav__cta { min-height: 46px; padding: 8px 18px; font-size: 18px; }
.nav__toggle { display: none; width: 48px; height: 48px; margin-left: auto; padding: 0; border: 2px solid var(--tiza); border-radius: 8px; background: transparent; color: var(--tiza); cursor: pointer; align-items: center; justify-content: center; }

/* ---------------------------------------------------------------- la portada: su pared, la cinta y su zócalo */
.portada { min-height: var(--alto); display: flex; flex-direction: column; background: var(--grafito); }
.portada__muro { flex: 1 1 auto; display: flex; background: repeating-linear-gradient(90deg, rgba(120, 80, 0, .17) 0 2px, transparent 2px 13px, rgba(120, 80, 0, .06) 13px 15px, transparent 15px 46px), var(--amarillo); }
.portada__muro-in { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(18px, 3vw, 56px); }
.portada__titulo { align-self: center; padding-block: clamp(14px, 3vh, 34px); }
.portada__titulo .rotulo { margin-bottom: clamp(6px, 1.2vh, 14px); }
.portada h1 { font-family: var(--titulo); font-weight: 400; text-transform: uppercase; font-size: clamp(74px, min(9.6vw, 24.5vh), 340px); line-height: .92; letter-spacing: .006em; }
.linea { display: block; white-space: nowrap; }
.cambia { display: inline-block; transition: opacity .17s ease; }
.cambia.cambiando { opacity: 0; }
.portada__ventana { flex: 0 0 auto; width: min(42vw, 1000px, calc((var(--alto) - 230px) * 2.065)); margin-block: 14px; border: 5px solid var(--grafito-hondo); background: var(--grafito-hondo); align-self: center; }
.portada__ventana img { width: 100%; height: auto; aspect-ratio: 1080 / 523; }

/* la cinta métrica */
.cinta { position: relative; z-index: 2; flex: none; height: 76px; background: var(--cinta); border-block: 3px solid var(--grafito-hondo); overflow: hidden; overflow: clip; }
.cinta__regla { position: absolute; top: 0; bottom: 0; left: 0; display: flex; padding-inline: 2200px; background:
    repeating-linear-gradient(90deg, var(--grafito-hondo) 0 2px, transparent 2px 60px) 0 0 / 100% 30px no-repeat,
    repeating-linear-gradient(90deg, rgba(27, 29, 32, .55) 0 1px, transparent 1px 12px) 0 0 / 100% 16px no-repeat;
  transition: transform .75s cubic-bezier(.3, .75, .2, 1); will-change: transform; }
.cinta__marca { flex: none; width: clamp(150px, 22vw, 400px); height: 100%; padding: 26px 0 0; border: 0; background: transparent; color: var(--grafito-hondo); font-family: var(--titulo); font-size: clamp(30px, 2.5vw, 44px); line-height: 1; letter-spacing: .02em; text-transform: uppercase; cursor: pointer; transition: color .2s ease; }
.cinta__marca:hover { color: var(--rojo); }
.cinta__marca.activa { color: var(--rojo); }
.cinta__marca:focus-visible { outline-offset: -5px; }
.cinta__aguja { position: absolute; z-index: 3; top: -3px; height: 30px; left: var(--aguja, 30%); width: 4px; margin-left: -2px; background: var(--rojo); pointer-events: none; }
.cinta__aguja::before { content: ""; position: absolute; top: 0; left: -8px; border: 10px solid transparent; border-top-color: var(--rojo); border-bottom: 0; }

.portada__zocalo { flex: none; color: var(--tiza); padding-block: clamp(12px, 2.3vh, 26px); background: var(--grafito); }
.zocalo__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(20px, 3.4vw, 64px); }
.portada__lema { font-family: var(--titulo); color: var(--amarillo); font-size: clamp(32px, 3.1vw, 58px); line-height: 1; text-transform: uppercase; letter-spacing: .012em; }
.portada__sub { margin-top: 2px; font-weight: 500; }
.portada__accion { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.portada__estado { font-size: clamp(16px, 1.08vw, 19px); }
.abierto { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.abierto::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #5fce6a; }
.abierto.cerrado::before { background: var(--rojo); }

@media (max-width: 819px) {
  .portada__muro-in { flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding-bottom: 12px; }
  .portada h1 { font-size: clamp(54px, min(18.5vw, 8.8vh), 120px); }
  .portada__titulo { padding-block: 12px 10px; align-self: flex-start; }
  .portada__titulo .rotulo { font-size: clamp(13px, 3.8vw, 15px); letter-spacing: .05em; white-space: nowrap; }
  /* la foto se ve ENTERA y con su marco: si no cabe a todo el ancho, se hace más pequeña; nunca se recorta */
  .portada__ventana { width: min(100%, max(220px, calc((var(--alto) - var(--resto, 350px) - 22px) * 2.065))); margin-block: 0; border-width: 3px; }
  .cinta { height: 64px; }
  .cinta__marca { padding-top: 22px; font-size: 26px; }
  .zocalo__in { gap: 6px 18px; }
  .portada__lema { font-size: clamp(24px, 7.6vw, 34px); white-space: nowrap; }
  .portada__accion { margin-left: 0; width: 100%; }
  .portada__accion .btn { flex: 1 1 auto; padding-inline: 14px; }
  .solo-pc { display: none; }
}
@media (max-width: 819px) and (max-height: 780px) {
  .portada__sub { display: none; }
}
@media (max-width: 819px) and (max-height: 720px) {
  .portada__estado { display: none; }
}

/* ---------------------------------------------------------------- la pieza: lo que buscas */
.busca { background: var(--tiza); padding-block: clamp(50px, 7vw, 112px); }
.busca__cabeza { max-width: 56rem; margin-bottom: clamp(24px, 3vw, 46px); }
.busca .rotulo { color: #8a6500; margin-bottom: 10px; }
.busca__lead { margin-top: 10px; font-size: clamp(19px, 1.4vw, 24px); line-height: 1.3; }
.busca__rejilla { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.busca__preguntas { display: grid; gap: clamp(20px, 2vw, 30px); }
.pregunta legend { display: flex; align-items: center; gap: 11px; padding: 0; font-weight: 800; font-size: clamp(21px, 1.55vw, 27px); line-height: 1.1; margin-bottom: 10px; }
.num { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; background: var(--amarillo); color: var(--grafito-hondo); font-family: var(--titulo); font-size: 24px; }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.op { position: relative; flex: 1 1 calc(33.33% - 8px); min-width: 138px; }
.op input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.op span { display: flex; align-items: center; justify-content: center; min-height: 54px; height: 100%; padding: 8px 14px; border: 2px solid var(--grafito-hondo); border-radius: 6px; text-align: center; font-weight: 700; font-size: clamp(17px, 1.2vw, 20px); line-height: 1.2; transition: background .16s ease, color .16s ease; }
.op:hover span { background: rgba(244, 194, 13, .3); }
.op input:checked + span { background: var(--grafito-hondo); color: var(--amarillo); }

.presu { --pct: 37.5%; }
.presu__valor { display: block; font-family: var(--titulo); text-transform: uppercase; font-size: clamp(38px, 3.2vw, 56px); line-height: 1; color: rgba(27, 29, 32, .55); margin-bottom: 6px; }
.presu__valor.tocado { color: var(--grafito-hondo); }
.presu__cinta { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 64px; margin: 0; background: transparent; cursor: ew-resize; }
.presu__cinta::-webkit-slider-runnable-track { height: 50px; border: 2px solid var(--grafito-hondo); border-radius: 4px; background:
    repeating-linear-gradient(90deg, var(--grafito-hondo) 0 2px, transparent 2px 44px) 0 0 / 100% 22px no-repeat,
    repeating-linear-gradient(90deg, rgba(27, 29, 32, .55) 0 1px, transparent 1px 11px) 0 0 / 100% 12px no-repeat,
    linear-gradient(90deg, var(--amarillo) var(--pct), var(--cinta) var(--pct)); }
.presu__cinta::-moz-range-track { height: 50px; border: 2px solid var(--grafito-hondo); border-radius: 4px; background:
    repeating-linear-gradient(90deg, var(--grafito-hondo) 0 2px, transparent 2px 44px) 0 0 / 100% 22px no-repeat,
    repeating-linear-gradient(90deg, rgba(27, 29, 32, .55) 0 1px, transparent 1px 11px) 0 0 / 100% 12px no-repeat,
    linear-gradient(90deg, var(--amarillo) var(--pct), var(--cinta) var(--pct)); }
.presu__cinta::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 62px; margin-top: -8px; border: 0; background: linear-gradient(90deg, transparent 20px, var(--rojo) 20px 24px, transparent 24px); }
.presu__cinta::-moz-range-thumb { width: 44px; height: 62px; border: 0; border-radius: 0; background: linear-gradient(90deg, transparent 20px, var(--rojo) 20px 24px, transparent 24px); }
.presu__limites { display: flex; justify-content: space-between; font-size: 15px; font-weight: 500; color: rgba(27, 29, 32, .78); }
.op-suelta { display: inline-block; min-height: 44px; margin-top: 8px; padding: 8px 16px; border: 2px solid var(--grafito-hondo); border-radius: 6px; background: transparent; font: 700 17px/1.2 "Mukta", sans-serif; color: var(--grafito-hondo); cursor: pointer; }
.op-suelta[aria-pressed="true"] { background: var(--grafito-hondo); color: var(--amarillo); }

.chat { position: sticky; top: calc(var(--cab) + 18px); background: #fff; border: 2px solid var(--grafito-hondo); border-radius: 12px; overflow: hidden; }
.chat__cabeza { display: flex; align-items: center; gap: 12px; padding: 11px 15px; background: var(--grafito); color: var(--tiza); }
.chat__foto { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--amarillo); color: var(--grafito-hondo); flex: none; }
.chat__foto::after { content: "4x4"; font-family: var(--titulo); font-size: 22px; line-height: 1; text-transform: uppercase; }
.chat__quien { display: grid; line-height: 1.2; }
.chat__quien b { font-size: 18px; font-weight: 800; }
.chat__num { font-size: 16px; opacity: .9; }
.chat__hilo { min-height: 178px; padding: 18px 15px; background: #ece7da; }
.burbuja { position: relative; max-width: 95%; padding: 11px 14px; border-radius: 12px 12px 12px 3px; background: #fff; font-size: clamp(17px, 1.25vw, 21px); line-height: 1.36; box-shadow: 0 1px 0 rgba(27, 29, 32, .22); }
.chat__enviar { display: block; width: calc(100% - 30px); margin: 14px auto 0; }
.chat__nota { padding: 9px 15px 13px; font-size: 16px; line-height: 1.3; text-align: center; color: rgba(27, 29, 32, .8); }

/* ---------------------------------------------------------------- la nave */
.nave { background: var(--amarillo); padding-block: clamp(50px, 7vw, 112px); background-image: repeating-linear-gradient(90deg, rgba(120, 80, 0, .14) 0 2px, transparent 2px 46px); }
.nave__rejilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4.5vw, 84px); align-items: start; }
.nave .rotulo { margin-bottom: 8px; }
.nave__lead { margin-top: 12px; font-size: clamp(19px, 1.4vw, 24px); line-height: 1.34; font-weight: 500; }
.nave__texto .btn { margin-top: 20px; }
.nave__escaparate { margin-top: 20px; font-weight: 800; }
.nave__texto .nave__escaparate + .btn { margin-top: 6px; }
.nave__lista { list-style: none; margin-top: 16px; display: grid; gap: 7px; font-size: clamp(19px, 1.4vw, 24px); line-height: 1.28; font-weight: 500; }
.nave__lista li { position: relative; padding-left: 27px; }
.nave__lista li::before { content: ""; position: absolute; left: 0; top: .46em; width: 16px; height: 8px; background: var(--grafito-hondo); }
.nave__fuerte { font-weight: 800; }
.nave__nota { margin-top: 16px; font-weight: 800; }
.nave__resenas { display: grid; gap: 14px; }
.resena { padding: clamp(16px, 1.6vw, 24px); background: var(--grafito); color: var(--tiza); border-radius: 8px; }
.resena p { font-size: clamp(18px, 1.3vw, 22px); line-height: 1.34; font-weight: 500; }
.resena footer { margin-top: 7px; color: var(--amarillo); font-size: 16px; font-weight: 700; }

/* ---------------------------------------------------------------- los dos botones del stock */
.stock { background: var(--tiza); padding-block: clamp(44px, 5.4vw, 88px); }
.stock__botones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); }
.stock__boton { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: clamp(128px, 12vw, 210px); padding: 16px 20px; background: var(--grafito); color: var(--amarillo); border-radius: 8px; text-align: center; text-decoration: none; transition: background .16s ease, color .16s ease; }
.stock__boton span { color: var(--tiza); font-size: clamp(18px, 1.35vw, 23px); font-weight: 700; line-height: 1.2; transition: color .16s ease; }
.stock__boton b { font-family: var(--titulo); font-weight: 400; font-size: clamp(54px, 5.6vw, 104px); line-height: 1; text-transform: uppercase; }
.stock__boton:hover { background: var(--amarillo); color: var(--grafito-hondo); }
.stock__boton:hover span { color: var(--grafito-hondo); }

/* ---------------------------------------------------------------- cómo llegar: su zócalo */
.visita { background: var(--grafito); color: var(--tiza); }
.visita__franja { height: 40px; background: repeating-linear-gradient(90deg, rgba(120, 80, 0, .2) 0 2px, transparent 2px 46px), var(--amarillo); border-bottom: 3px solid #1f4fa0; }
.visita__rejilla { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(26px, 4.5vw, 84px); align-items: center; padding-block: clamp(44px, 6vw, 92px); }
.visita .rotulo { color: var(--amarillo); margin-bottom: 4px; }
.visita__datos { container-type: inline-size; }
.visita__calle { font-size: clamp(50px, 17.5cqi, 170px); line-height: .9; color: var(--amarillo); white-space: nowrap; }
.visita__cp { font-size: clamp(21px, 1.7vw, 30px); font-weight: 500; margin-top: 4px; }
.visita .abierto { margin-top: 16px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 3px 22px; margin-top: 10px; }
.hours dt { font-weight: 700; }
.hours .hoy { color: var(--amarillo); }
.contacto { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 8px; }
.contacto a { display: inline-block; min-height: 44px; padding: 10px 0; font-weight: 700; text-underline-offset: 4px; }
.contacto__correo { display: inline-block; padding: 10px 0; font-weight: 700; }
.pie__correo { padding: 10px 0; }
.mapa { position: relative; border: 3px solid var(--amarillo); border-radius: 8px; overflow: hidden; height: clamp(300px, 28vw, 480px); }
.mapa { background: #000; }
.mapa__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center top; }
.mapa__mando { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 44px 16px 14px; background: linear-gradient(transparent, rgba(27, 29, 32, .92)); }
.mapa__mando .link { display: inline-flex; align-items: center; min-height: 44px; color: var(--tiza); }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.mapa.con-mapa .mapa__foto { visibility: hidden; }
.mapa__aviso { margin-top: 9px; font-size: 15.5px; line-height: 1.34; opacity: .86; }

/* ---------------------------------------------------------------- el cierre: su lema */
.pie { background: var(--grafito-hondo); color: var(--tiza); }
.cierre { background: repeating-linear-gradient(90deg, rgba(120, 80, 0, .17) 0 2px, transparent 2px 46px), var(--amarillo); color: var(--grafito-hondo); }
.cierre__in { padding-block: clamp(48px, 6.5vw, 104px) clamp(30px, 3.6vw, 56px); }
.cierre__lema { font-size: clamp(76px, 13.4vw, 280px); line-height: .9; }
html:not(.quieto) .cierre__lema[data-llega] { opacity: 0; transition: opacity .7s ease; }
html:not(.quieto) .cierre__lema[data-llega].dentro { opacity: 1; }
.cierre__accion { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(18px, 2.4vw, 36px); }
.cierre .btn--linea:hover { background: var(--grafito-hondo); border-color: var(--grafito-hondo); color: var(--amarillo); }
.cierre__cinta { height: 44px; background:
    repeating-linear-gradient(90deg, var(--grafito-hondo) 0 2px, transparent 2px 60px) 0 0 / 100% 22px no-repeat,
    repeating-linear-gradient(90deg, rgba(27, 29, 32, .55) 0 1px, transparent 1px 12px) 0 0 / 100% 12px no-repeat,
    var(--cinta); border-top: 3px solid var(--grafito-hondo); }

.pie__abajo { padding-block: clamp(30px, 3.2vw, 50px) 16px; font-size: 17px; }
.pie__rejilla { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr .8fr; gap: 24px clamp(22px, 3vw, 56px); }
.pie__nombre { font-family: var(--titulo); text-transform: uppercase; font-size: 32px; line-height: 1; color: var(--amarillo); }
.pie__rejilla h3 { font-size: 16px; color: var(--amarillo); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.pie__rejilla a { display: inline-block; min-height: 44px; padding: 10px 0; text-underline-offset: 3px; }
.pie__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 30px; margin-top: 16px; font-size: 15px; line-height: 1.36; }
.pie__legal a { display: inline-block; min-height: 44px; padding: 10px 0 10px 16px; }

/* ---------------------------------------------------------------- barra de abajo del móvil */
.actionbar { display: none; }
@media (max-width: 819px) {
  .actionbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--grafito); }
  .actionbar .btn { flex: 1; min-height: 48px; }
  .btn--linea-claro { background: transparent; border-color: var(--tiza); color: var(--tiza); }
  .actionbar.escondida { display: none; }
}

/* ---------------------------------------------------------------- páginas legales */
.legal-pag { background: var(--tiza); }
.legal { padding-block: clamp(34px, 5vw, 70px) clamp(52px, 7vw, 100px); }
.legal .wrap { max-width: 880px; }
.legal h1 { font-family: var(--titulo); font-weight: 400; text-transform: uppercase; font-size: clamp(50px, 5vw, 76px); line-height: 1; margin-bottom: 16px; }
.legal h2 { font-family: "Mukta", sans-serif; font-weight: 800; text-transform: none; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.2; margin: 26px 0 8px; }
.legal p, .legal li { margin-bottom: 8px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { font-weight: 700; display: inline-block; min-height: 44px; padding: 10px 0; }
.legal .actualizado { margin-top: 26px; font-size: 16px; opacity: .8; }
.legal-volver { margin-left: auto; }
.legal-volver a { display: inline-block; min-height: 44px; padding: 10px 0; font-weight: 700; text-underline-offset: 4px; color: var(--tiza); }

/* ---------------------------------------------------------------- estrecho */
@media (max-width: 899px) {
  .busca__rejilla, .nave__rejilla, .visita__rejilla { grid-template-columns: minmax(0, 1fr); }
  .mapa { height: clamp(340px, 98vw, 520px); }
  .chat { position: static; }
  .pie__rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 819px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 2px; margin: 0; padding: 8px var(--margen) 14px; background: var(--grafito); }
  .nav.is-open .nav__links { display: flex; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__bar { min-height: 62px; }
}
@media (max-width: 560px) {
  .stock__botones { grid-template-columns: minmax(0, 1fr); }
  .cierre__lema { font-size: 18.6vw; }
}
@media (max-width: 480px) {
  .op { flex: 1 1 calc(50% - 8px); min-width: 0; }
  .pie__rejilla { grid-template-columns: minmax(0, 1fr); }
  .cierre__accion .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
