/* Portada nueva del Grupo Playcar (nov-2026): automovilesplaycar.com e indalmarmotor.com. Todo dentro de .hv. Mismo lenguaje que
   cab-v2.css y pie-v2.css. El mismo fichero en todas las webs: si se cambia, copiarlo igual a todas. Cada web pone su color con
   --hv-acento / --hv-acento-texto (botones y bordes) y --hv-acento-claro (textos sobre fondo oscuro). */
.hv { --hv-acento: #feed01; --hv-acento-texto: #111; --hv-acento-claro: var(--hv-acento); --hv-tinta: #1b2128; --hv-suave: #5b6672; --hv-borde: #e4e7eb; --hv-fondo: #f4f5f7; --hv-oscuro: #17191c; --hv-rojo: #c11a1a;
      color: var(--hv-tinta); font-size: 16px; line-height: 1.45; }
.hv *, .hv *::before, .hv *::after { box-sizing: border-box; }
/* Reseteo sin peso (:where) para que manden los márgenes de cada pieza (.hv-h2, .hv-hero-sub...): antes ".hv h2" pesaba más
   y se los comía (19-nov-2026). Sigue ganando a Bootstrap (h2, p) por el .hv. */
.hv :where(h1, h2, p, ul) { margin: 0; padding: 0; }
.hv ul { list-style: none; }
.hv a { color: inherit; text-decoration: none; }
.hv label { margin: 0; font-weight: inherit; }
.hv img { display: block; max-width: 100%; }
.hv svg { flex: none; }
.hv a:focus-visible, .hv button:focus-visible, .hv select:focus-visible, .hv input:focus-visible + span { outline: 2px solid var(--hv-tinta); outline-offset: 2px; }
.hv-in { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.hv-seccion { padding-top: 40px; padding-bottom: 8px; }
.hv-h2 { font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--hv-tinta); margin-bottom: 16px; }

.hv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; text-align: center; }
.hv-btn-acento { background: var(--hv-acento); color: var(--hv-acento-texto) !important; border-color: var(--hv-acento); }
.hv-btn-acento:hover { filter: brightness(.94); }
.hv-btn-borde { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.55); }
.hv-btn-borde:hover { border-color: #fff; }

/* ── Black Friday ── */
.hv-bf { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 14px; min-height: 44px; padding: 8px 16px; background: #000; color: #fff !important; text-align: center; }
.hv-bf strong { font-weight: 800; letter-spacing: .04em; }
.hv-bf span { color: var(--hv-acento-claro); font-weight: 600; }
.hv-bf em { font-style: normal; font-size: 14px; color: #c9ced6; }
.hv-bf:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ── Portada ── */
.hv-hero { background: var(--hv-oscuro) url('/public/images/segunda-mano.jpg') no-repeat right center; background-size: cover; position: relative; color: #fff; }
.hv-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,25,28,.97) 0%, rgba(23,25,28,.9) 45%, rgba(23,25,28,.55) 100%); }
.hv-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.hv-ceja { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hv-acento-claro); margin-bottom: 10px; }
.hv-hero h1 { font-size: clamp(28px, 3.1vw, 42px); font-weight: 700; line-height: 1.12; color: #fff; max-width: 18ch; }
.hv-hero-sub { margin-top: 14px; font-size: 17px; line-height: 1.5; color: #d3d8de; max-width: 52ch; }
.hv-ventajas { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.hv-ventajas li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #fff; }
.hv-ventajas svg { color: var(--hv-acento-claro); }
.hv-hero-tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; min-height: 40px; font-size: 15px; color: #d3d8de !important;
  text-decoration: underline !important; text-decoration-color: rgba(255,255,255,.3) !important; text-underline-offset: 4px; }
.hv-hero-tel:hover { color: #fff !important; }

.hv-buscador { background: #fff; color: var(--hv-tinta); border-top: 4px solid var(--hv-acento); padding: 20px 20px 22px; box-shadow: 0 18px 40px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 12px; }
.hv-buscador-t { font-size: 19px; font-weight: 700; }
.hv-tipos { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; border: 1px solid var(--hv-borde); }
.hv-tipos label { position: relative; cursor: pointer; }
.hv-tipos input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hv-tipos span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 6px; font-size: 15px; font-weight: 600; color: var(--hv-suave); text-align: center; }
.hv-tipos label + label span { border-left: 1px solid var(--hv-borde); }
.hv-tipos input:checked + span { background: var(--hv-tinta); color: #fff; }
.hv-campo { display: flex; flex-direction: column; gap: 4px; }
.hv-campo > span { font-size: 13px; font-weight: 600; color: var(--hv-suave); }
.hv-campo select, .hv-campo input { width: 100%; height: 46px; padding: 0 10px; border: 1px solid #c9ced6; border-radius: 0; background: #fff; font: inherit; font-size: 16px; color: var(--hv-tinta); }
.hv-buscador .hv-btn { width: 100%; min-height: 50px; margin-top: 2px; font-size: 17px; }

/* ── Categorías ── */
.hv-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.hv-cats a { display: block; background: #fff; border: 1px solid var(--hv-borde); cursor: pointer; overflow: hidden; }
.hv-cats img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .25s ease; }
.hv-cats span { display: block; padding: 10px 12px; font-size: 16px; font-weight: 700; }
.hv-cats a:hover img { transform: scale(1.04); }
.hv-cats a:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ── Destacados ── */
.hv-cab-seccion { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 16px; }
.hv-cab-seccion .hv-h2 { margin-bottom: 0; }
.hv-ver { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.hv-ver:hover { text-decoration: underline; text-underline-offset: 3px; }
.hv-coches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hv-coche > a:first-child { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--hv-borde); }
.hv-coche > a:first-child:hover { border-color: #b8bfc8; box-shadow: 0 8px 22px rgba(17,24,39,.08); }
.hv-foto { position: relative; display: block; background: var(--hv-fondo); overflow: hidden; }
.hv-foto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hv-sello { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; background: var(--hv-rojo); color: #fff; font-style: normal; font-size: 13px; font-weight: 700; }
.hv-sello-reservado { background: var(--hv-tinta); }
.hv-coche-txt { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; flex: 1; }
.hv-coche-marca { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hv-suave); }
.hv-coche-nombre { font-size: 17px; font-weight: 700; line-height: 1.25; }
.hv-coche-marca + .hv-coche-nombre { font-size: 19px; line-height: 1.2; }   /* Playcar: marca arriba y modelo corto */
.hv-coche-version { font-size: 13.5px; color: var(--hv-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-coche-datos { font-size: 13.5px; color: var(--hv-suave); }
.hv-coche-precio { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-top: auto; padding-top: 10px; }
.hv-coche-precio b { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hv-coche-precio small { font-size: 12.5px; color: var(--hv-suave); }
.hv-coche-precio del { font-size: 13.5px; color: var(--hv-suave); }
.hv-coche-chips { display: flex; flex-wrap: wrap; gap: 3px 10px; margin-top: 6px; font-size: 13px; color: var(--hv-suave); }
.hv-coche-chips span { display: inline-flex; align-items: center; gap: 4px; }
.hv-coche-chips svg { color: #8a939e; }
.hv-coche-cuota { font-size: 14px; color: var(--hv-suave); }
.hv-coche-cuota b { font-size: 16px; font-weight: 800; color: var(--hv-tinta); }
.hv-coche-nota { font-size: 12.5px; color: var(--hv-suave); }
.hv-coche-nota del { color: var(--hv-suave); }
.hv-mas-enlaces { margin-top: 16px; text-align: center; font-size: 15px; color: var(--hv-suave); }
.hv-mas-enlaces a { display: inline-block; min-height: 36px; line-height: 36px; font-weight: 600; color: var(--hv-tinta); text-decoration: underline; text-decoration-color: #c9ced6; text-underline-offset: 3px; }

/* ── Por qué Playcar ── */
.hv-por { margin-top: 40px; padding: 40px 0; background: var(--hv-fondo); }
.hv-por-lista { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hv-por-lista li { display: flex; flex-direction: column; gap: 6px; }
.hv-por-lista svg { width: 48px; height: 48px; padding: 10px; background: var(--hv-acento); color: var(--hv-acento-texto); margin-bottom: 6px; }
.hv-por-lista strong { font-size: 17px; }
.hv-por-lista span { font-size: 15px; color: var(--hv-suave); }

/* ── Marcas ── */
/* Mismo número de logos en cada fila (lo calcula pag-home-v2.php en --hv-lf-d/-t/-m); la última fila va centrada.
   .hv-logo recorta el margen del PNG: pag-home-v2.php da la caja del dibujo (--w/--h) y dónde cae la imagen (--iw/--ih/--ix/--iy)
   a escala 1, y --hv-le la ajusta al ancho. */
.hv-logos { --hv-lf: var(--hv-lf-d, 8); --hv-le: 1; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 8px; }
.hv-logos li { flex: 0 0 calc(100% / var(--hv-lf)); min-width: 0; }
.hv-logos a { display: flex; align-items: center; justify-content: center; height: 80px; padding: 6px 10px; opacity: .92; }
.hv-logos a:hover { opacity: 1; }
.hv-logos a > img { height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.hv-logo { position: relative; display: block; overflow: hidden; width: calc(var(--w) * var(--hv-le) * 1px); height: calc(var(--h) * var(--hv-le) * 1px); }
.hv-logo img { position: absolute; max-width: none; left: calc(var(--ix) * var(--hv-le) * -1px); top: calc(var(--iy) * var(--hv-le) * -1px);
  width: calc(var(--iw) * var(--hv-le) * 1px); height: calc(var(--ih) * var(--hv-le) * 1px); }
@media (max-width: 1199px) { .hv-logos { --hv-le: .82; } }

/* ── Vende tu coche ── */
.hv-vende { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; margin-bottom: 40px; padding: 28px 30px; background: var(--hv-oscuro); color: #fff; border-top: 4px solid var(--hv-acento); }
.hv-vende .hv-h2 { color: #fff; margin-bottom: 6px; }
.hv-vende p { color: #d3d8de; max-width: 56ch; }
.hv-vende-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Presupuesto (total o cuota) y tipo de coche: portada de Playcar ── */
.hv-h2-sep { margin-top: 30px; }
.hv-presu-r { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hv-presu-modo { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 3px; margin-bottom: 14px; border: 1px solid var(--hv-borde); border-radius: 999px; background: #fff; }
.hv-presu-modo label { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--hv-suave); cursor: pointer; }
#hv-presu-total:checked ~ .hv-presu-modo label[for="hv-presu-total"], #hv-presu-cuota:checked ~ .hv-presu-modo label[for="hv-presu-cuota"] { background: var(--hv-tinta); color: #fff; }
#hv-presu-total:focus-visible ~ .hv-presu-modo label[for="hv-presu-total"], #hv-presu-cuota:focus-visible ~ .hv-presu-modo label[for="hv-presu-cuota"] { outline: 2px solid var(--hv-tinta); outline-offset: 2px; }
#hv-presu-total:checked ~ .hv-presu-cuota, #hv-presu-cuota:checked ~ .hv-presu-total { display: none; }
.hv-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hv-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #c9ced6; border-radius: 999px; background: #fff; font-size: 15.5px; font-weight: 600; }
.hv-chips a:hover { border-color: var(--hv-tinta); }
.hv-chips small { font-size: 13px; font-weight: 600; color: var(--hv-suave); }
.hv-presu-nota { margin-top: 10px; font-size: 13.5px; color: var(--hv-suave); }
.hv-estilos { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 10px; }
.hv-estilos a { display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; padding: 14px 6px 12px; border: 1px solid var(--hv-borde); background: #fff; text-align: center; }
.hv-estilos a:hover { border-color: #b8bfc8; box-shadow: 0 6px 18px rgba(17,24,39,.07); }
.hv-estilos svg { width: 64px; height: 32px; margin-bottom: 4px; color: var(--hv-tinta); }
.hv-estilos span { font-size: 14.5px; font-weight: 700; line-height: 1.2; }
.hv-estilos small { font-size: 12.5px; color: var(--hv-suave); }
/* Cifras de "Por qué" (salen de la BD) */
.hv-cifras { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-bottom: 26px; }
.hv-cifras li { display: flex; flex-direction: column; }
.hv-cifras b { font-size: 34px; font-weight: 800; line-height: 1.05; color: var(--hv-tinta); font-variant-numeric: tabular-nums; }
.hv-cifras span { font-size: 14.5px; color: var(--hv-suave); }
/* Texto para Google, al final */
.hv-seo { padding-bottom: 48px; color: var(--hv-suave); }
.hv-seo .hv-h2 { font-size: 20px; margin-bottom: 4px; }
.hv-seo p { max-width: 92ch; margin-top: 10px; font-size: 15px; line-height: 1.6; }
.hv-seo a { color: var(--hv-tinta); text-decoration: underline; text-decoration-color: #c9ced6; text-underline-offset: 3px; }

/* ── Listado nuevo de coches (PAG/pag-listado-v2.php) ── */
.lv-cab { padding-top: 22px; }
.lv-titulo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.lv .lv-h1 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.15; color: var(--hv-tinta); }
.lv-total { font-size: 16px; color: var(--hv-suave); }
.lv-total b { color: var(--hv-tinta); font-variant-numeric: tabular-nums; }
.lv .lv-sub { margin-top: 6px; color: var(--hv-suave); }
.lv-filtros { margin-top: 16px; }
.lv-ver-r { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lv-ver { display: none; }
.lv-campos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; padding: 16px; border: 1px solid var(--hv-borde); background: var(--hv-fondo); }
.lv-campos .hv-campo select, .lv-campos .hv-campo input { height: 44px; }
.lv-botones { grid-column: span 2; display: flex; align-items: center; gap: 14px; }
.lv-botones .hv-btn { flex: 1; min-height: 44px; }
.lv-limpiar { font-weight: 600; text-decoration: underline !important; text-underline-offset: 3px; white-space: nowrap; }
.lv-barra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 14px; }
.lv-activos { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-activos a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--hv-tinta); color: #fff !important; font-size: 14px; font-weight: 600; }
.lv-activos a:hover { background: #000; }
.lv .lv-orden { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 14px; color: var(--hv-suave); }
.lv-orden select { height: 40px; padding: 0 8px; border: 1px solid #c9ced6; background: #fff; font: inherit; font-size: 15px; color: var(--hv-tinta); }
.lv-res { padding-top: 16px; }
.lv-coches .hv-coche { position: relative; }
.hv-coche-wa { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #128c4b !important; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.hv-coche-wa:hover { background: #128c4b; color: #fff !important; }
.lv-pager { display: flex; justify-content: center; margin: 26px 0 6px; }
.lv-pager .paginas { margin: 0; }
.lv-pager .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; }
.lv-pager .pagination > li { list-style: none; }
.lv-pager .pagination > li > a, .lv-pager .pagination > li > span { float: none; display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; margin: 0; padding: 0 12px;
  border: 1px solid #c9ced6; border-radius: 0 !important; background: #fff; color: var(--hv-tinta); font-weight: 600; line-height: 1; cursor: pointer; }
.lv-pager .pagination > .active > a, .lv-pager .pagination > .active > span { border-color: var(--hv-tinta); background: var(--hv-tinta); color: #fff; }
.lv-pager .pagination > .disabled > span { color: #b5bcc4; cursor: default; }
.lv-vacio { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 0; text-align: center; }
.lv-marcas .hv-chips a { min-height: 38px; font-size: 14.5px; }
.hv-seo h3 { margin-top: 14px; font-size: 17px; color: var(--hv-tinta); }
.lv-marca-info .hv-h2 { display: flex; align-items: center; gap: 12px; }
.lv-marca-info .hv-h2 img { width: 56px; height: 56px; object-fit: contain; }
.lv-marca-info-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.lv-marca-txt { font-size: 15.5px; line-height: 1.6; color: var(--hv-suave); }
.lv-marca-txt p { margin: 0 0 10px; }
.lv-marca-video { width: 100%; aspect-ratio: 16 / 9; border: 0; }
@media (max-width: 900px) { .lv-marca-info-in { grid-template-columns: 1fr; } }
.hv-seo ul { margin-top: 8px; padding-left: 20px; list-style: disc; }

/* ── Piezas que usa la portada de RENTaCAR ── */
.hv-form-aviso { padding: 8px 10px; background: #fdecec; color: #8a1c1c; font-size: 14px; font-weight: 600; }
.hv .hv-form-nota { margin-top: -2px; font-size: 13px; color: var(--hv-suave); text-align: center; }
.hv-flota { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }   /* 10 tipos: 5 + 5 */
.hv-flota a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; height: 100%; padding: 16px 16px 14px; border: 1px solid var(--hv-borde); background: #fff; }
.hv-flota a:hover { border-color: #b8bfc8; box-shadow: 0 6px 18px rgba(17,24,39,.07); }
.hv-flota svg { width: 80px; height: 40px; margin-bottom: 8px; color: var(--hv-tinta); }
.hv-flota-n { font-size: 16px; font-weight: 700; line-height: 1.2; }
.hv-flota-d { font-size: 14px; color: var(--hv-suave); }
.hv-flota-p { margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--hv-suave); }
.hv-flota-p b { font-size: 20px; font-weight: 800; color: var(--hv-tinta); font-variant-numeric: tabular-nums; }
.hv-flota-p small { font-size: 12.5px; }
.hv .hv-presu-nota { margin-top: 12px; }
.hv-sede { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: stretch; }
.hv-sede-datos { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.hv-sede-datos li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.hv-sede-datos svg { flex: none; margin-top: 2px; color: var(--hv-suave); }
.hv-sede-datos a { font-weight: 700; text-decoration: underline; text-decoration-color: #c9ced6; text-underline-offset: 3px; }
.hv-sede-mapa { width: 100%; min-height: 300px; height: 100%; border: 0; background: var(--hv-fondo); }

/* ── Piezas que usa la portada de Indalmar ── */
/* Foto de portada que ya viene oscurecida: menos sombra encima */
.hv-hero-suave::before { background: linear-gradient(90deg, rgba(23,25,28,.92) 0%, rgba(23,25,28,.72) 45%, rgba(23,25,28,.25) 100%); }
.hv-campos2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
/* 7 categorías: una fila en escritorio; 4 + 3 centradas en tableta y móvil */
.hv-cats-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
/* Banners de la intranet (web_banners), los que haya:
   - en cada fila, a la misma altura: base y crecimiento proporcionales a su forma (--r = ancho / alto);
   - caben 3 por fila (con 4, 3 + 1; con 5, 3 + 2...); 2 se reparten la fila;
   - como mucho 280 px de alto, para que uno solo no se estire a todo el ancho (sale centrado, sin agrandarlo).
   Sin banners la sección no sale. */
.hv-banners { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hv-banners li { flex: var(--r) 1 calc(var(--r) * 140px); max-width: calc(var(--r) * 280px); min-width: 0; }
.hv-banners a { display: block; border: 1px solid var(--hv-borde); overflow: hidden; }
.hv-banners img { width: 100%; height: auto; }
.hv-banners a:hover img { opacity: .93; }
/* Dos bloques oscuros en paralelo (vende tu moto + tienda) */
.hv-dobles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 40px; }
.hv-dobles .hv-vende { margin-bottom: 0; flex-direction: column; align-items: flex-start; justify-content: space-between; }
/* Enlaces por provincia (los de la portada anterior) */
.hv-provincias { margin-top: 28px; padding-top: 14px; border-top: 1px solid #dfe3e8; font-size: 15px; color: var(--hv-suave); }
.hv-provincias a { display: inline-block; min-height: 32px; line-height: 32px; font-weight: 600; color: var(--hv-tinta); text-decoration: underline; text-decoration-color: #c9ced6; text-underline-offset: 3px; }
/* Muchas marcas: en el móvil se ven las 12 primeras y un botón para el resto */
.hv-btn-linea { background: #fff; color: var(--hv-tinta) !important; border-color: #c9ced6; }
.hv-btn-linea:hover { border-color: var(--hv-tinta); }
.hv-logos-mas { display: none; }

/* ── Tablet ── */
@media (max-width: 1023px) {
  .hv-hero-in { grid-template-columns: 1fr; gap: 26px; }
  .hv-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hv-coches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-por-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-logos { --hv-lf: var(--hv-lf-t, 5); --hv-le: .75; }
  .hv-cats-7 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .hv-cats-7 li { grid-column: span 2; }
  .hv-cats-7 li:nth-child(5) { grid-column: 2 / span 2; }
  .hv-dobles { grid-template-columns: 1fr; }
  .hv-sede { grid-template-columns: 1fr; }
  .lv-campos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lv-botones { grid-column: span 3; }
}
@media (max-width: 760px) { .hv-flota { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .hv-flota a { padding: 12px; } }
/* ── Móvil ── */
@media (max-width: 599px) {
  .hv-hero-in { padding-top: 26px; padding-bottom: 26px; }
  .hv-hero-sub { font-size: 16px; }
  .hv-ventajas { gap: 8px 16px; margin-top: 16px; }
  .hv-ventajas li { font-size: 14px; }
  .hv-buscador { padding: 16px; }
  .hv-seccion { padding-top: 30px; }
  .hv-h2 { font-size: 22px; }
  .hv-cats { gap: 8px; }
  .hv-cats span { padding: 8px; font-size: 14px; }
  .hv-coches { gap: 10px; }
  .hv-coche-txt { padding: 10px 10px 12px; }
  .hv-coche-nombre { font-size: 15.5px; }
  .hv-coche-precio b { font-size: 18px; }
  .hv-por { padding: 30px 0; margin-top: 30px; }
  .hv-por-lista { grid-template-columns: 1fr; gap: 18px; }
  .hv-tipos span { padding: 0 4px; font-size: 14px; white-space: nowrap; }
  .hv-logos { --hv-lf: var(--hv-lf-m, 3); --hv-le: .8; row-gap: 4px; }
  .hv-logos a { height: 62px; padding: 4px 6px; }
  .hv-logos a > img { height: 46px; }
  .hv-vende { padding: 22px 18px; }
  .hv-vende-btns, .hv-vende-btns .hv-btn { width: 100%; }
  .hv-presu-modo { display: grid; width: 100%; }
  .hv-chips { gap: 8px; }
  .hv-chips a { min-height: 42px; padding: 0 13px; font-size: 14.5px; }
  .hv-estilos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hv-estilos a { padding: 12px 4px 10px; }
  .hv-estilos span { font-size: 13.5px; }
  .hv-cifras { gap: 12px 28px; }
  .hv-cifras b { font-size: 28px; }
  .hv-coche-marca + .hv-coche-nombre { font-size: 17px; }
  .lv-ver { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 1px solid var(--hv-tinta); background: #fff; font-weight: 700; cursor: pointer; }
  .lv-campos { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; padding: 12px; }
  .lv-ver-r:checked ~ .lv-campos { display: grid; }
  .lv-ver-r:focus-visible + .lv-ver { outline: 2px solid var(--hv-tinta); outline-offset: 2px; }
  .lv-botones { grid-column: 1 / -1; }
  .lv .lv-orden { width: 100%; margin-left: 0; }
  .lv-orden select { flex: 1; }
  /* En el móvil, una tarjeta por fila, con la foto a la izquierda */
  .lv-coches { grid-template-columns: 1fr; gap: 10px; }
  .lv-coches .hv-coche > a:first-child { flex-direction: row; }
  .lv-coches .hv-foto { flex: 0 0 42%; }
  .lv-coches .hv-foto img { height: 100%; min-height: 128px; aspect-ratio: auto; }
  .lv-coches .hv-coche-txt { min-width: 0; padding: 10px 12px; }
  .lv-coches .hv-coche-chips span:nth-child(n+3) { display: none; }
  .lv-coches .hv-coche-precio b { font-size: 18px; }
  .lv-coches .hv-coche-wa { top: 6px; right: auto; left: calc(42% - 44px); width: 36px; height: 36px; }
  .hv-cats-7 { gap: 8px 6px; }
  .hv-cats-7 img { aspect-ratio: 1 / 1; }
  .hv-cats-7 span { padding: 6px 2px; font-size: 13px; text-align: center; }
  /* En el móvil los banners se pasan con el dedo (uno y un poco del siguiente) en vez de ir uno debajo de otro */
  .hv-banners { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scroll-padding: 0 16px; gap: 10px; }
  .hv-banners li { flex: 0 0 86%; max-width: none; scroll-snap-align: start; }
  .hv-banners li:only-child { flex-basis: 100%; }
  .hv-logos-recorta:not(.hv-logos-todas) li:nth-child(n+13) { display: none; }
  .hv-logos-recorta:not(.hv-logos-todas) + .hv-logos-mas { display: flex; margin: 12px auto 0; }
}
@media (prefers-reduced-motion: reduce) { .hv-cats img { transition: none; } .hv-cats a:hover img { transform: none; } }
