/* ===== Componentes compartidos (galerías, visor, línea de tiempo, reel,
   escaparate de locales). Los cargan portada, catálogo y nosotros. ===== */

/* ===== Galerías de fotos reales (material del cliente, nov-2026) ===== */

/* Tira de miniaturas dentro de la tarjeta de local */
.ltira { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px 4px 0; }
.ltira button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px;
  overflow: hidden; aspect-ratio: 1; display: block; }
.ltira img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s cubic-bezier(.19,1,.22,1), filter .3s; filter: saturate(.92); }
.ltira button:hover img, .ltira button:focus-visible img { transform: scale(1.1); filter: saturate(1.1); }

/* Mosaico "Así trabajamos" */
.mosaico { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mosaico button { position: relative; padding: 0; border: 0; background: #16255E; cursor: zoom-in;
  border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; display: block; }
.mosaico button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.mosaico img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s cubic-bezier(.19,1,.22,1); }
.mosaico button:hover img, .mosaico button:focus-visible img { transform: scale(1.06); }
.mosaico figcaption, .mos-pie { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0;
  padding: 26px 16px 13px; text-align: left; color: #FFFFFF; font-size: 14px; font-weight: 600;
  background: linear-gradient(to top, rgba(10,18,48,.86), rgba(10,18,48,0)); }
.mosaico .lupa { position: absolute; top: 12px; right: 12px; z-index: 2; width: 32px; height: 32px;
  border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center;
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; }
.mosaico button:hover .lupa, .mosaico button:focus-visible .lupa { opacity: 1; transform: scale(1); }

/* Línea de tiempo */
.linea { position: relative; margin: 0; padding: 0 0 0 30px; list-style: none; }
.linea::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(#E20613, #16255E); }
.linea li { position: relative; padding-bottom: 28px; }
.linea li:last-child { padding-bottom: 0; }
.linea li::before { content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: #FFFFFF; border: 3px solid #E20613; box-sizing: border-box; }
.linea .anio { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: .16em; color: #E20613; margin-bottom: 3px; }
.linea h3 { margin: 0 0 5px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 25px; line-height: 1.1; color: #16255E; }
.linea p { margin: 0; font-size: 15.5px; line-height: 1.65; color: #4A5163; }

/* Visor de imagen a pantalla completa */
.visor { position: fixed; inset: 0; z-index: 9000; background: rgba(8,14,38,.94);
  display: none; align-items: center; justify-content: center; padding: 28px; }
.visor[open], .visor.abierto { display: flex; }
.visor img { max-width: min(1200px, 94vw); max-height: 86vh; width: auto; height: auto;
  border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.visor-pie { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: #C8D1EA;
  font-size: 14.5px; padding: 0 24px; }
.visor button { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #FFFFFF; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid;
  place-items: center; font-size: 22px; line-height: 1; transition: background .2s; }
.visor button:hover { background: #E20613; border-color: #E20613; }
.visor .v-cerrar { top: 20px; right: 20px; }
.visor .v-ant { left: 20px; top: 50%; transform: translateY(-50%); }
.visor .v-sig { right: 20px; top: 50%; transform: translateY(-50%); }

/* Banda de vídeo */
.vbanda { position: relative; background: #0F1C48; overflow: hidden; }
.vbanda video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vbanda-capa { position: absolute; inset: 0; display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(15,28,72,.92) 0%, rgba(15,28,72,.55) 55%, rgba(15,28,72,.25) 100%); }

@media (max-width: 860px) {
  .mosaico { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mosaico button:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; }
  .visor button { width: 42px; height: 42px; }
  .visor .v-ant { left: 8px; } .visor .v-sig { right: 8px; }
}

@media (max-width: 860px) {
  .dos-col { grid-template-columns: 1fr !important; gap: 36px !important; }
}

/* ===== Reel vertical (vídeo promo del cliente) ===== */
.reel-sec { background: #16255E; color: #FFFFFF; padding: 60px 0; position: relative; overflow: hidden; }
.reel-sec::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 420px at 88% 50%, rgba(226,6,19,.18), transparent 70%); }
.reel-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  position: relative; z-index: 1; }
.reel-marco { position: relative; justify-self: center; width: min(300px, 100%);
  border-radius: 20px; overflow: hidden; background: #0C1538;
  box-shadow: 0 26px 60px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.14); }
.reel-marco video { display: block; width: 100%; height: auto; }
.reel-son { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex;
  align-items: center; gap: 7px; background: rgba(10,18,48,.72); border: 1px solid rgba(255,255,255,.28);
  color: #FFFFFF; font-size: 13px; font-weight: 600; padding: 8px 13px; border-radius: 999px;
  cursor: pointer; backdrop-filter: blur(4px); }
.reel-son:hover { background: #E20613; border-color: #E20613; }
.reel-sec h2 { margin: 0 0 16px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 40px; line-height: 1.06; color: #FFFFFF; }
.reel-sec p { margin: 0 0 14px; font-size: 17px; line-height: 1.68; color: #C8D1EA; max-width: 560px; }
@media (max-width: 860px) {
  .reel-grid { grid-template-columns: 1fr; gap: 30px; }
  .reel-sec h2 { font-size: 32px; }
}

/* ===== Escaparate de locales (acordeón con movimiento) ===== */
.escaparate { display: flex; gap: 12px; height: 480px; }
.epanel { position: relative; flex: 1 1 0; min-width: 0; border-radius: 16px; overflow: hidden;
  background: #16255E; cursor: pointer; text-decoration: none; color: #FFFFFF;
  transition: flex-grow .75s cubic-bezier(.19,1,.22,1), box-shadow .5s;
  box-shadow: 0 10px 26px rgba(22,37,94,.14); }
.epanel.activo { flex-grow: 2.6; box-shadow: 0 26px 54px rgba(22,37,94,.3); }
.epanel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform 7s linear, filter .7s, opacity .8s cubic-bezier(.19,1,.22,1);
  filter: saturate(.85) brightness(.82); }
.epanel.activo img { transform: scale(1.14); filter: saturate(1.05) brightness(.95); }
/* la fachada manda en reposo; al abrir el panel aparece la foto de atención */
.epanel .eaten { opacity: 0; }
.epanel.activo .eaten { opacity: 1; }
.epanel.activo .efach { opacity: 0; }
.epanel::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(9,16,44,.93) 8%, rgba(9,16,44,.55) 42%, rgba(9,16,44,.12) 100%); }
.epanel-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 22px 24px; }
.epanel .enum { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 12.5px;
  font-weight: 700; letter-spacing: .2em; color: #FF4A55; margin-bottom: 6px; }
.epanel h3 { margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 30px; line-height: 1.05; color: #FFFFFF; }
.epanel .edet { max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .7s cubic-bezier(.19,1,.22,1), opacity .5s .1s; }
.epanel.activo .edet { max-height: 220px; opacity: 1; }
.epanel .edir { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: #C8D1EA; max-width: 330px; }
.epanel .etel { display: inline-block; margin-top: 10px; font-family: 'Barlow Condensed', sans-serif;
  font-size: 23px; font-weight: 700; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.epanel .eacc { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.epanel .eacc span { display: inline-flex; align-items: center; gap: 7px; border-radius: 7px;
  padding: 10px 15px; font-size: 14px; font-weight: 700; }
.epanel .eacc .e1 { background: #E20613; color: #FFFFFF; }
.epanel .eacc .e2 { border: 1px solid rgba(255,255,255,.45); color: #FFFFFF; }
.epanel .ebarra { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; z-index: 3;
  background: #E20613; }
.epanel.activo .ebarra { animation: ebarra 6s linear forwards; }
@keyframes ebarra { from { width: 0 } to { width: 100% } }
.escaparate.sin-auto .epanel.activo .ebarra { animation: none; width: 0; }

@media (max-width: 1100px) {
  .escaparate { height: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .epanel { height: 360px; }
  .epanel .edet { max-height: 240px; opacity: 1; }
  .epanel .ebarra { display: none; }
  /* sin hover no tiene sentido el cruce de fotos: manda la fachada,
     y la atención se ve en "Ver fotos" */
  .epanel .eaten { display: none; }
  .epanel .efach, .epanel.activo .efach { opacity: 1; transform: scale(1.02); filter: saturate(.95) brightness(.74); }
  .epanel::after { background: linear-gradient(to top, rgba(9,16,44,.96) 30%, rgba(9,16,44,.72) 62%, rgba(9,16,44,.3) 100%); }
  .epanel h3 { font-size: 26px; }
}
@media (max-width: 560px) {
  .escaparate { grid-template-columns: 1fr; }
  .epanel { height: 300px; }
}

/* ===== Banda de vídeo del local ===== */
.vb { position: relative; min-height: 420px; display: grid; align-items: center;
  background: #0F1C48; overflow: hidden; }
.vb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.vb::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,18,48,.94) 0%, rgba(10,18,48,.74) 48%, rgba(10,18,48,.42) 100%); }
.vb-txt { position: relative; z-index: 2; padding: 58px 0; }
.vb-txt h2 { margin: 0 0 14px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 42px; line-height: 1.05; color: #FFFFFF; }
.vb-txt p { margin: 0 0 24px; font-size: 17.5px; line-height: 1.65; color: #C8D1EA; max-width: 520px; }
.vb-datos { display: flex; flex-wrap: wrap; gap: 26px 40px; margin: 26px 0 0; padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,.18); max-width: 560px; }
.vb-datos div { min-width: 92px; }
.vb-datos strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 34px; line-height: 1; color: #FFFFFF; }
.vb-datos span { font-size: 13.5px; color: #AEBBE4; }
@media (max-width: 760px) {
  .vb { min-height: 360px; }
  .vb-txt h2 { font-size: 32px; }
  .vb::after { background: linear-gradient(90deg, rgba(10,18,48,.93), rgba(10,18,48,.8)); }
}

/* ===== Redes sociales en el pie ===== */
.redes { display: flex; gap: 10px; margin: 18px 0 0; }
.redes a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px;
  border: 1px solid #2D3E7E; color: #AEBBE4; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.redes a:hover { background: #E20613; border-color: #E20613; color: #FFFFFF; transform: translateY(-3px); }

/* Aviso de precio bajo consulta (sustituye al importe en las tarjetas) */
.consulta { margin: 8px 0 0; font-family: Barlow, sans-serif; font-size: 16px; font-weight: 700;
  line-height: 1.25; color: #16255E; }
.consulta small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .02em; color: #8E97AC; line-height: 1.3; }

/* ===== Bloque de historia y marcas (venían de nosotros.html) ===== */
.sis-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.sis-grid .g-cell svg { stroke: #E20613; }
.historia { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.historia .foto { flex: 1 1 400px; min-width: 0; position: relative; border-radius: 14px; overflow: hidden;
  height: 420px; background: #16255E; }
.historia .foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.historia .texto { flex: 999 1 440px; min-width: 0; }
.historia .texto p.cuerpo { margin: 0 0 18px; font-size: 18px; line-height: 1.68; color: #4A5163; }
.marcas { display: flex; flex-wrap: wrap; gap: 14px; }
.marcas span { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 19px;
  letter-spacing: .08em; color: #5A6170; border: 1px solid #E3E6ED; border-radius: 999px; padding: 8px 18px;
  transition: border-color .28s ease, color .28s ease; }
.marcas span:hover { border-color: #C6CFE2; color: #16255E; }
@media (max-width: 980px) { .sis-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) {
  .sis-grid { grid-template-columns: 1fr; }
  .historia { gap: 28px; }
  .historia .foto { height: 260px; }
}

/* ===== Fondo del hero: vídeo en escritorio, foto en móvil (nunca los dos) ===== */
.hero-video { display: none; }
@media (min-width: 1101px) and (prefers-reduced-motion: no-preference) {
  .hero-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: .24; filter: grayscale(.35) contrast(1.04); z-index: 0; }
  .hero-foto { display: none; }
}

/* ===== Navegación de una sola página ===== */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ===== Contenedor y botones compartidos (antes en g.css; la portada no la carga) ===== */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: Barlow, sans-serif;
  font-weight: 700; font-size: 16px; color: #FFFFFF; background: #16255E; border: 0; border-radius: 8px;
  padding: 13px 26px; min-height: 46px; cursor: pointer; text-decoration: none;
  transition: background .28s ease, transform .3s cubic-bezier(.22,1,.26,1); }
.g-btn:hover { background: #0F1C48; color: #FFFFFF; transform: translateY(-2px); }
.g-btn-rojo { background: #E20613; box-shadow: 0 10px 26px rgba(226,6,19,.26); }
.g-btn-rojo:hover { background: #C70511; }
.g-btn-fantasma { background: transparent; color: #16255E; border: 1.5px solid #D4DAE8; }
.g-btn-fantasma:hover { background: #16255E; border-color: #16255E; color: #fff; }
@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
}

/* ===== Menú compacto en móvil ===== */
.menu-btn { display: none; align-items: center; justify-content: center; gap: 8px; background: #FFFFFF;
  border: 1px solid #D8DDE9; border-radius: 8px; color: #16255E; font-family: Barlow, sans-serif;
  font-weight: 700; font-size: 15px; padding: 11px 15px; min-height: 44px; cursor: pointer; }
.menu-btn:hover { border-color: #16255E; }
@media (max-width: 860px) {
  header > div, .ghead > div { position: relative; flex-wrap: nowrap !important; gap: 12px !important;
    padding-top: 13px !important; padding-bottom: 13px !important; }
  header img, .ghead img.logo { height: 40px !important; }
  .menu-btn { display: inline-flex; }
  header nav, .ghead nav { display: none !important; position: absolute; top: 100%; left: 0; right: 0;
    z-index: 60; background: #FFFFFF; border-top: 1px solid #E3E6ED; border-bottom: 1px solid #E3E6ED;
    box-shadow: 0 18px 36px rgba(22,37,94,.14); flex-direction: column; align-items: stretch !important;
    gap: 0 !important; padding: 6px 0 !important; }
  header nav.abierto, .ghead nav.abierto { display: flex !important; }
  header nav a, .ghead nav a { padding: 14px 24px; font-size: 16.5px; border-bottom: 1px solid #F0F2F7; }
  header nav a:last-child, .ghead nav a:last-child { border-bottom: 0; }
  .btn-head, header > div > a:last-child { font-size: 15px !important; padding: 11px 16px !important; }
}
@media (max-width: 420px) {
  /* el botón de cabecera conserva su texto; solo se acorta (ver .solo-ancho) */
}

/* ===== Catálogo: contador, sin resultados y botón de limpiar ===== */
#tituloResultados .cuenta { display: inline-block; margin-left: 10px; font-family: Barlow, sans-serif;
  font-size: 14px; font-weight: 600; color: #7C86A0; letter-spacing: 0; vertical-align: middle; }
.limpiar { margin-top: 16px; width: 100%; background: #FFFFFF; border: 1px solid #D8DDE9; border-radius: 8px;
  color: #16255E; font-family: Barlow, sans-serif; font-weight: 700; font-size: 14.5px; padding: 11px 14px;
  min-height: 44px; cursor: pointer; transition: border-color .25s, color .25s; }
.limpiar:hover { border-color: #E20613; color: #E20613; }
.sin-resultados { border: 1px dashed #C6CFE2; border-radius: 14px; padding: 42px 32px; text-align: center;
  background: #F7F8FB; }
.sin-resultados h3 { margin: 0 0 10px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 26px; color: #16255E; }
.sin-resultados p { margin: 0 auto 22px; max-width: 460px; font-size: 16px; line-height: 1.6; color: #4A5163; }

/* ===== Retoques de acabado (revisión visual 20-nov) ===== */

/* Fotografía de producto homogénea: mismo fondo y mismo aire en todas */
.pfoto { background: #FFFFFF !important; border-bottom: 1px solid #EEF1F6; }
.pfoto img { padding: 20px !important; mix-blend-mode: multiply; }

/* La marquesina de marcas se desvanece en los bordes en vez de cortarse en seco */
.g-marquee { position: relative; }
.g-marquee::before, .g-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px;
  z-index: 2; pointer-events: none; }
.g-marquee::before { left: 0; background: linear-gradient(90deg, #FFFFFF, rgba(255,255,255,0)); }
.g-marquee::after { right: 0; background: linear-gradient(270deg, #FFFFFF, rgba(255,255,255,0)); }

/* Fichas del despiece: más contraste y mejor jerarquía */
.fch { border-color: rgba(255,255,255,.16) !important; }
.fch:hover, .fch:focus-visible { border-color: #FF4A55 !important; background: rgba(255,255,255,.07) !important; }
.fch-n { color: #FF4A55 !important; }

/* Botón flotante de WhatsApp */
.wa-flota { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: inline-flex;
  align-items: center; gap: 10px; background: #E20613; color: #FFFFFF; text-decoration: none;
  font-family: Barlow, sans-serif; font-weight: 700; font-size: 15.5px; padding: 13px 18px;
  border-radius: 999px; box-shadow: 0 14px 32px rgba(10,18,48,.3);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .4s ease, transform .4s cubic-bezier(.19,1,.22,1), background .25s; }
.wa-flota.visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-flota:hover { background: #C70511; color: #FFFFFF; }
@media (max-width: 560px) {
  .wa-flota { right: 14px; bottom: 14px; padding: 14px; }
  .wa-flota span { display: none; }
}

/* Señales de confianza bajo el buscador del hero */
.hero-señales { display: flex; flex-wrap: wrap; gap: 14px 46px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero-señales li { display: flex; flex-direction: column; gap: 2px; }
.hero-señales strong { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 25px;
  line-height: 1; color: #FFFFFF; }
.hero-señales span { font-size: 14.5px; color: #AEBBE4; }
@media (max-width: 760px) {
  .hero-señales { gap: 12px 28px; margin-top: 24px; }
  .hero-señales strong { font-size: 21px; }
  .hero-señales span { font-size: 13.5px; }
}

/* Aviso del vehículo elegido en el catálogo */
.aviso-veh { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 7px 8px 7px 14px;
  background: #EEF2FC; border: 1px solid #D4DCF0; border-radius: 999px; font-size: 14.5px; color: #16255E; }
.aviso-veh strong { font-weight: 700; }
.quitar-veh { border: 0; background: #16255E; color: #FFFFFF; width: 22px; height: 22px; border-radius: 50%;
  cursor: pointer; font-size: 11px; line-height: 1; display: grid; place-items: center; }
.quitar-veh:hover { background: #E20613; }

/* El menú compacto sobre cabecera azul (página del asistente) */
@media (max-width: 860px) {
  header[style*="#16255E"] nav { background: #16255E !important; border-color: rgba(255,255,255,.15) !important; }
  header[style*="#16255E"] nav a { color: #FFFFFF !important; border-bottom-color: rgba(255,255,255,.12) !important; }
  header[style*="#16255E"] .menu-btn { background: transparent; border-color: rgba(255,255,255,.4); color: #FFFFFF; }
}

.menu-btn svg { flex: 0 0 auto; }
@media (max-width: 700px) { .solo-ancho { display: none; } }

/* ======================================================================
   BOTÓN DE WHATSAPP — UN SOLO COMPONENTE PARA TODO EL SITIO
   Antes había cinco estilos distintos (.btn-head, .btn-rojo, .g-btn-rojo,
   .btn-wa y el flotante). Todos comparten ahora forma, color y movimiento;
   lo único que cambia es el tamaño.
   ====================================================================== */
.bwa, a.btn-rojo, a.btn-wa, a.btn-head, .g-btn.g-btn-rojo {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #E20613; color: #FFFFFF; text-decoration: none;
  font-family: Barlow, sans-serif; font-weight: 700; font-size: 16px; line-height: 1;
  padding: 15px 26px; min-height: 48px; border: 0; border-radius: 8px; box-sizing: border-box;
  box-shadow: 0 8px 22px rgba(226, 6, 19, .26);
  transition: background .2s, transform .2s cubic-bezier(.22,1,.26,1), box-shadow .2s;
  cursor: pointer;
}
.bwa:hover, a.btn-rojo:hover, a.btn-wa:hover, a.btn-head:hover, .g-btn.g-btn-rojo:hover {
  background: #C70511; color: #FFFFFF; transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(226, 6, 19, .34);
}
.bwa:focus-visible, a.btn-rojo:focus-visible, a.btn-wa:focus-visible,
a.btn-head:focus-visible, .g-btn.g-btn-rojo:focus-visible {
  outline: 3px solid #16255E; outline-offset: 3px;
}
.bwa svg, a.btn-rojo svg, a.btn-wa svg, a.btn-head svg, .g-btn.g-btn-rojo svg {
  flex: 0 0 auto; width: 20px; height: 20px;
}
/* Tamaños: pequeño para la cabecera, grande para la llamada final */
a.btn-head, .bwa-p { font-size: 15px; padding: 12px 20px; min-height: 44px; box-shadow: none; }
a.btn-head:hover, .bwa-p:hover { box-shadow: 0 8px 20px rgba(226, 6, 19, .3); }
.bwa-g, .cta .btn-rojo { font-size: 17px; padding: 18px 32px; min-height: 56px; }
@media (max-width: 760px) {
  .bwa, a.btn-rojo, a.btn-wa, .g-btn.g-btn-rojo { width: 100%; }
  a.btn-head { width: auto; }
  .bwa-g, .cta .btn-rojo { font-size: 16px; padding: 16px 24px; }
}

/* Botón secundario sobre fondo oscuro (banda de vídeo) */
.g-btn-claro { background: transparent; color: #FFFFFF; border: 1.5px solid rgba(255,255,255,.55); box-shadow: none; }
.g-btn-claro:hover { background: #FFFFFF; color: #16255E; border-color: #FFFFFF; }

/* En la columna de filtros el botón es estrecho: que no parta en dos líneas */
.panel .g-btn.g-btn-rojo { font-size: 15px; padding: 14px 14px; gap: 8px; white-space: nowrap; }
.aviso-veh[hidden] { display: none; }

/* ======================================================================
   PIE DE PÁGINA — mismo bloque en portada y catálogo
   Cuatro columnas que se reparten el ancho de verdad y bajan de forma
   ordenada: 4 → 2 → 1 columna.
   ====================================================================== */
.gfoot-grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1.5fr 1.1fr; gap: 38px 40px;
  padding-bottom: 32px; border-bottom: 1px solid #2D3E7E; align-items: start;
}
.fcol h3 {
  margin: 0 0 15px; font-family: 'Barlow Condensed', sans-serif; font-size: 15px;
  font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #FFFFFF;
}
.fcol p { margin: 0 0 10px; font-size: 15px; line-height: 1.55; }
.fcol p:last-child { margin-bottom: 0; }
.fcol-logo { display: block; height: 44px; width: auto; margin-bottom: 16px; }
.fcol-marca p { max-width: 34ch; }
.fsellos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px !important; }
.fsello {
  display: inline-flex; align-items: center; border: 1px solid #2D3E7E; border-radius: 999px;
  padding: 5px 12px; font-family: 'Barlow Condensed', sans-serif; font-size: 12.5px;
  font-weight: 700; letter-spacing: .1em; color: #A8B4D8;
}
.fcol-mas { margin-top: 14px !important; }
.fcol-mas a { font-weight: 700; color: #FFFFFF; }

/* Cada local: nombre, dirección y teléfono, uno debajo de otro */
.flocal { display: block; margin-bottom: 16px !important; }
.flocal strong {
  display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 16px;
  letter-spacing: .04em; color: #FFFFFF; margin-bottom: 2px;
}
.flocal span { display: block; font-size: 14px; line-height: 1.45; color: #93A0C8; margin-bottom: 3px; }
.flocal a { font-variant-numeric: tabular-nums; font-size: 15px; }

.fhorario { display: flex; justify-content: space-between; gap: 14px; max-width: 230px; }
.fhorario span { color: #93A0C8; white-space: nowrap; }
.fhorario strong { color: #FFFFFF; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fnota { margin: 14px 0 18px !important; padding-top: 14px; border-top: 1px solid #2D3E7E; color: #93A0C8; }

@media (max-width: 1040px) {
  .gfoot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .fcol-marca { grid-column: 1 / -1; }
  .fcol-marca p { max-width: 52ch; }
}
@media (max-width: 620px) {
  .gfoot-grid { grid-template-columns: 1fr; gap: 30px; }
  .fhorario { max-width: none; }
}

/* Los tres datos de la banda de vídeo caben en una fila también en móvil */
@media (max-width: 620px) {
  .vb-datos { gap: 18px 20px; }
  .vb-datos div { min-width: 0; flex: 1 1 0; }
  .vb-datos strong { font-size: 30px; }
  .vb-datos span { font-size: 12.5px; }
}

.gfoot { background: #0F1C48; color: #C8D1EA; padding: 52px 0 26px; }
.gfoot a { position: relative; color: #C8D1EA; text-decoration: none; font-size: 15px; }
.gfoot a:hover { color: #FFFFFF; }
.gfoot-base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  align-items: center; margin-top: 20px; }
.gfoot-base p { margin: 0; font-size: 14px; color: #93A0C8; }
.gfoot-base .lugar { font-family: 'Barlow Condensed', sans-serif; font-size: 13px;
  letter-spacing: .14em; color: #6D7CAC; }
