/* ==========================================================================
   Súper Servicios Automotrices CJF — hoja de estilos principal
   Base: Bootstrap 5.3 (estructura heredada de la plantilla HVAC)
   ========================================================================== */

/* ---------- Tipografía (Archivo variable: peso 100–900, ancho 62–125 %) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-variable-latin.woff2") format("woff2-variations"),
       url("../fonts/archivo-variable-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --asfalto: #0b1724;      /* tablero de noche, fondo oscuro */
  --cabina: #12233a;       /* superficies oscuras elevadas */
  --azul: #0a84eb;         /* azul del logotipo */
  --azul-boton: #0870d8;   /* azul con contraste AA para botones */
  --azul-texto: #0862be;   /* enlaces sobre blanco */
  --hielo: #8ad4ff;        /* frío, acentos sobre oscuro */
  --rojo: #e5322d;         /* calor: solo para estados de alerta */
  --escarcha: #eef4fa;     /* fondo claro alterno */
  --tinta: #142030;        /* texto principal */
  --acero: #55626f;        /* texto secundario */
  --linea: #d5dee8;        /* divisores */
  --linea-oscura: rgba(255, 255, 255, .12);
  --blanco: #fff;

  --fuente: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radio-sm: 8px;
  --radio: 12px;
  --radio-lg: 20px;
  --sombra: 0 24px 48px -24px rgba(11, 23, 36, .45);

  --bs-body-font-family: var(--fuente);
  --bs-body-color: var(--tinta);
  --bs-body-bg: var(--blanco);
  --bs-link-color: var(--azul-texto);
  --bs-link-color-rgb: 8, 98, 190;
  --bs-link-hover-color: var(--azul-boton);
  --bs-primary: var(--azul-boton);
  --bs-primary-rgb: 8, 112, 216;
  --bs-border-color: var(--linea);
  --bs-border-radius: var(--radio-sm);
  --bs-focus-ring-color: rgba(10, 132, 235, .35);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
body {
  font-family: var(--fuente);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinta);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: var(--fuente);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.012em;
  color: inherit;
  text-wrap: balance;
}
h3, .h3 { font-size: 1.15rem; font-stretch: 112%; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
p { text-wrap: pretty; }
a { text-underline-offset: .18em; }
img { max-width: 100%; height: auto; }
.sin-corte { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--hielo); color: var(--asfalto); }

.ico { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -.16em; }

.saltar {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--blanco); color: var(--tinta); padding: .6rem 1rem; border-radius: var(--radio-sm);
}
.saltar:focus { top: 1rem; }

.container { --bs-gutter-x: 2rem; }
@media (min-width: 1400px) { .container { max-width: 1240px; } }

/* ---------- Botones ---------- */
.btn {
  --bs-btn-font-weight: 650;
  --bs-btn-padding-y: .8rem;
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-border-radius: var(--radio);
  font-stretch: 105%;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn-lg { --bs-btn-padding-y: 1rem; --bs-btn-padding-x: 1.6rem; --bs-btn-font-size: 1.05rem; }
.btn-sm { --bs-btn-padding-y: .45rem; --bs-btn-padding-x: .8rem; --bs-btn-font-size: .9rem; }
.btn-cjf {
  --bs-btn-color: #fff; --bs-btn-bg: var(--azul-boton); --bs-btn-border-color: var(--azul-boton);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #075db5; --bs-btn-hover-border-color: #075db5;
  --bs-btn-active-bg: #064f9a; --bs-btn-active-border-color: #064f9a; --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: var(--azul-boton); --bs-btn-disabled-border-color: var(--azul-boton); --bs-btn-disabled-color: #fff;
}
.btn-cjf-borde {
  --bs-btn-color: var(--azul-texto); --bs-btn-border-color: currentColor; --bs-btn-bg: transparent;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--azul-boton); --bs-btn-hover-border-color: var(--azul-boton);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: #064f9a;
  border-width: 1.5px;
}
.btn-cjf-borde--claro {
  --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .45);
  --bs-btn-hover-color: var(--asfalto); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: var(--asfalto); --bs-btn-active-bg: var(--hielo);
}
.enlace-flecha {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 650; font-stretch: 105%; text-decoration: none; color: var(--azul-texto);
}
.enlace-flecha .ico { transition: transform .2s; }
.enlace-flecha:hover .ico { transform: translateX(4px); }

/* ---------- Barra superior ---------- */
.barra-superior { background: var(--asfalto); color: #c3cfdc; font-size: .875rem; }
.barra-superior .container { min-height: 40px; }
.barra-datos { display: flex; align-items: center; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.barra-datos li { display: flex; align-items: center; gap: .4rem; }
.barra-datos a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.barra-datos a:hover { color: #fff; }
.barra-datos .ico { color: var(--hielo); }
.barra-red .ico { width: 1rem; height: 1rem; color: #c3cfdc; }
.barra-datos li:has(.barra-red) + li:has(.barra-red) { margin-left: -.75rem; }

/* ---------- Encabezado ---------- */
.encabezado {
  position: sticky; top: 0; z-index: 1030;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
/* El desenfoque va en un pseudo-elemento: si estuviera en .encabezado, el menú
   lateral (position: fixed) quedaría atrapado dentro del encabezado en móvil. */
.encabezado::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}
.encabezado.con-sombra { border-bottom-color: var(--linea); box-shadow: 0 8px 24px -18px rgba(11, 23, 36, .5); }
.encabezado .navbar { padding: .6rem 0; }
.marca { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--tinta); margin-right: auto; }
.marca img { width: 56px; height: 56px; }
.marca-texto { display: flex; flex-direction: column; line-height: 1; }
.marca-sigla { font-stretch: 125%; font-weight: 900; font-size: 1.55rem; letter-spacing: .02em; color: var(--asfalto); }
.marca-nombre { font-size: .78rem; font-weight: 600; color: var(--acero); margin-top: .25rem; font-stretch: 100%; }
.marca:hover { color: var(--tinta); }

.menu-principal .nav-link {
  font-weight: 600; color: var(--tinta); padding: .5rem .85rem !important;
  border-radius: var(--radio-sm); display: inline-flex; align-items: center; gap: .3rem;
}
.menu-principal .nav-link:hover { color: var(--azul-texto); }
.menu-principal .nav-link.active { color: var(--azul-texto); box-shadow: inset 0 -2px 0 var(--azul); border-radius: 0; }
.menu-principal .dropdown-toggle::after { display: none; }
.ico-flecha { width: .8em; height: .8em; transition: transform .2s; }
.dropdown-toggle.show .ico-flecha { transform: rotate(180deg); }
.menu-servicios-desplegable {
  --bs-dropdown-border-color: var(--linea); --bs-dropdown-border-radius: var(--radio);
  --bs-dropdown-link-active-bg: var(--escarcha); --bs-dropdown-link-active-color: var(--tinta);
  padding: .5rem; min-width: 330px; box-shadow: var(--sombra);
}
.menu-servicios-desplegable .dropdown-item {
  display: flex; align-items: center; gap: .65rem; padding: .6rem .75rem; border-radius: var(--radio-sm);
  white-space: normal; font-weight: 500;
}
.menu-servicios-desplegable .dropdown-item .ico { color: var(--azul); width: 1.15rem; height: 1.15rem; }
.menu-servicios-desplegable .dropdown-item:hover { background: var(--escarcha); }
.dropdown-item--todos { color: var(--azul-texto) !important; font-weight: 650 !important; }
.menu-boton { border: 0; padding: .4rem; color: var(--tinta); }
.menu-boton .ico { width: 2rem; height: 2rem; }
.menu-boton:focus { box-shadow: none; }
.menu-cerrar { border: 0; background: none; color: var(--tinta); padding: .5rem; margin-left: auto; }
.menu-cerrar .ico { width: 1.3rem; height: 1.3rem; }

@media (min-width: 992px) {
  .menu-lateral .offcanvas-body { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; }
  .menu-principal { gap: .15rem; }
  .menu-cta { margin-left: .75rem; }
}
@media (max-width: 991.98px) {
  .menu-lateral { --bs-offcanvas-width: min(86vw, 360px); }
  .menu-lateral .offcanvas-title { font-stretch: 125%; font-weight: 800; margin: 0; }
  .menu-principal .nav-link { font-size: 1.15rem; padding: .7rem .25rem !important; width: 100%; justify-content: space-between; }
  .menu-principal .nav-link.active { box-shadow: none; }
  .menu-servicios-desplegable { position: static !important; transform: none !important; box-shadow: none; border: 0; min-width: 0; padding: 0 0 .5rem .5rem; }
  .menu-cta { width: 100%; margin-top: 1.25rem; }
  .menu-movil-contacto { display: flex; flex-direction: column; gap: .9rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--linea); font-size: .95rem; color: var(--acero); }
  .menu-movil-contacto a { color: var(--tinta); text-decoration: none; }
  .menu-movil-contacto .ico { color: var(--azul); margin-right: .45rem; }
  .marca img { width: 48px; height: 48px; }
  .marca-sigla { font-size: 1.35rem; }
}
@media (max-width: 380px) { .marca-nombre { display: none; } }

/* ---------- Portada ---------- */
.portada {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--asfalto); color: #fff;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}
/* rejilla horizontal, como la parrilla del logotipo */
.portada::before {
  content: ""; position: absolute; inset: 0 0 0 52%; z-index: -1;
  background: repeating-linear-gradient(180deg, rgba(138, 212, 255, .07) 0 2px, transparent 2px 14px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%);
  mask-image: linear-gradient(90deg, transparent, #000 35%);
}
.portada-ubicacion { display: inline-flex; align-items: center; gap: .45rem; color: var(--hielo); font-weight: 600; margin-bottom: 1.25rem; }
.portada-titulo { font-size: clamp(2.2rem, 3.3vw + .7rem, 3.6rem); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 1.5rem; }
.portada-bajada { font-size: clamp(1.05rem, .5vw + .95rem, 1.25rem); color: #c9d5e2; max-width: 36rem; margin-bottom: 2rem; }
.portada-acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.25rem; }
.portada-datos { list-style: none; padding: 1.5rem 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; border-top: 1px solid var(--linea-oscura); color: #dbe5ef; font-size: .95rem; }
.portada-datos li { display: flex; align-items: center; gap: .5rem; }
.portada-datos .ico { color: var(--hielo); width: 1.2rem; height: 1.2rem; }

.portada-figura { position: relative; margin: 0 0 0 auto; max-width: 480px; }
.portada-foto { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; border-radius: var(--radio-lg); }
.portada-medidor {
  position: absolute; left: -2.5rem; bottom: -1.75rem; width: 260px;
  background: rgba(11, 23, 36, .9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--linea-oscura); border-radius: 18px;
  padding: 1rem 1.1rem .9rem; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7);
}
@media (max-width: 991.98px) {
  .portada-figura { margin: 0 auto; }
  .portada-medidor { left: 1rem; bottom: -1.5rem; width: 230px; }
}
@media (max-width: 400px) { .portada-medidor { left: .5rem; width: 210px; } }

/* Medidor */
.medidor-svg { display: block; width: 100%; height: auto; overflow: visible; }
.medidor-aguja {
  transform: rotate(var(--angulo, -160deg));
  transform-box: view-box; transform-origin: 110px 112px;
  transition: transform 2.4s cubic-bezier(.65, 0, .35, 1);
}
.medidor--inicial .medidor-aguja { transition: none; }
.medidor-frio { color: var(--hielo); }
.medidor-lectura { display: flex; align-items: baseline; justify-content: center; gap: .15rem; margin-top: .35rem; line-height: 1; }
.medidor-valor {
  font-stretch: 125%; font-weight: 800; font-size: 2.6rem; font-variant-numeric: tabular-nums;
  color: var(--hielo); transition: color .6s; min-width: 2ch; text-align: right;
}
.medidor--caliente .medidor-valor { color: #ff7a5c; }
.medidor-unidad { font-weight: 600; font-size: 1.1rem; color: #c9d5e2; }
.medidor-texto { font-size: .78rem; color: #aebccb; text-align: center; margin: .5rem 0 0; line-height: 1.35; }

/* ---------- Franja de vehículos ---------- */
.franja-vehiculos { background: var(--escarcha); border-bottom: 1px solid var(--linea); padding: 3rem 0 2.25rem; }
.vehiculos { display: flex; align-items: center; gap: 2.5rem; }
.vehiculos-titulo { flex-shrink: 0; margin: 0; font-weight: 700; font-stretch: 112%; color: var(--acero); line-height: 1.25; }
.vehiculos-lista { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.vehiculos-lista li { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.ico-vehiculo { width: 3.4rem; height: 2.3rem; color: var(--azul); }
@media (max-width: 991.98px) {
  .vehiculos { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .vehiculos-titulo { max-width: none; }
  .vehiculos-lista { grid-template-columns: repeat(3, 1fr); width: 100%; }
}
@media (max-width: 575.98px) { .vehiculos-lista { grid-template-columns: repeat(2, 1fr); } }
.vehiculos--compacto { display: block; }
.vehiculos--compacto .vehiculos-lista { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.25rem; }

/* ---------- Secciones ---------- */
.seccion { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.seccion--escarcha { background: var(--escarcha); }
.titulo-seccion { font-size: clamp(1.8rem, 2.1vw + 1rem, 2.65rem); margin-bottom: 1rem; }
.texto-seccion { color: var(--acero); font-size: 1.1rem; max-width: 38rem; margin-bottom: 1.5rem; }
.texto-ancho { max-width: 40rem; color: var(--acero); font-size: 1.1rem; }
.encabezado-seccion { margin-bottom: 3rem; }
.encabezado-seccion--fila { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.encabezado-seccion--fila .texto-seccion { margin-bottom: 0; }
@media (min-width: 992px) { .encabezado-pegado { position: sticky; top: 120px; } }
.foto-redondeada { border-radius: var(--radio-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Lista de servicios (menú del taller) */
.lista-servicios { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linea); }
.lista-servicios li { border-bottom: 1px solid var(--linea); }
.fila-servicio {
  display: grid; grid-template-columns: 132px 1fr auto; align-items: center; gap: 1.5rem;
  padding: 1.35rem .75rem 1.35rem 0; text-decoration: none; color: var(--tinta);
  transition: background-color .2s;
}
.fila-servicio-foto { display: block; width: 132px; height: 100px; border-radius: var(--radio); overflow: hidden; background: var(--escarcha); }
.fila-servicio-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.fila-servicio-nombre { display: block; font-stretch: 112%; font-weight: 750; font-size: 1.2rem; line-height: 1.25; margin-bottom: .35rem; }
.fila-servicio-resumen { display: block; color: var(--acero); font-size: 1rem; }
.fila-servicio-ir {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--linea);
  display: grid; place-items: center; color: var(--azul-texto); transition: background-color .2s, color .2s, border-color .2s;
}
.fila-servicio:hover { color: var(--tinta); }
.fila-servicio:hover .fila-servicio-ir { background: var(--azul-boton); border-color: var(--azul-boton); color: #fff; }
.fila-servicio:hover .fila-servicio-foto img { transform: scale(1.05); }
.fila-servicio:hover .fila-servicio-nombre { color: var(--azul-texto); }
@media (max-width: 575.98px) {
  .fila-servicio { grid-template-columns: 84px 1fr; gap: 1rem; padding-right: 0; }
  .fila-servicio-foto { width: 84px; height: 84px; }
  .fila-servicio-ir { display: none; }
  .fila-servicio-nombre { font-size: 1.05rem; }
  .fila-servicio-resumen { font-size: .93rem; }
}

/* Refrigerantes */
.gases { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.gas { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 1.35rem 1.4rem; }
.gas-nombre { font-stretch: 125%; font-weight: 800; font-size: 1.5rem; margin-bottom: .75rem; color: var(--asfalto); }
.gas ul { margin: 0; padding-left: 1.1rem; color: var(--acero); font-size: .98rem; }
.gas li + li { margin-top: .35rem; }
.gas li::marker { color: var(--azul); }
@media (max-width: 575.98px) { .gases { grid-template-columns: 1fr; } }

.etiqueta-capo { margin: 0; max-width: 400px; margin-inline: auto; }
.etiqueta {
  background: #fbfbf7; color: #111; border-radius: 6px; padding: 1.1rem 1.25rem 1rem;
  border: 2px solid #111; box-shadow: 0 0 0 6px #f4f4ee, var(--sombra);
  transform: rotate(-2deg); font-stretch: 100%;
}
.etiqueta-cabeza { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-stretch: 112%; padding-bottom: .65rem; border-bottom: 2px solid #111; margin-bottom: .75rem; }
.etiqueta-alerta { width: 1.6rem; height: 1.4rem; background: #f6c400; clip-path: polygon(50% 0, 100% 100%, 0 100%); display: grid; place-items: end center; font-size: .85rem; line-height: 1.2; padding-bottom: .05rem; }
.etiqueta dl { margin: 0; }
.etiqueta dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px dashed #9aa0a6; }
.etiqueta dt { font-weight: 500; }
.etiqueta dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.etiqueta-pie { font-size: .75rem; margin: .7rem 0 0; color: #444; }
.etiqueta-capo figcaption { margin-top: 1.75rem; color: var(--acero); font-size: .95rem; text-align: center; }

/* Proceso */
.proceso { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: paso; }
.proceso-paso { position: relative; padding-top: 4rem; }
.proceso-paso::before { content: ""; position: absolute; top: 1.25rem; left: 3rem; right: -2rem; height: 2px; background: linear-gradient(90deg, var(--azul), var(--hielo)); opacity: .45; }
.proceso-paso:last-child::before { display: none; }
.proceso-num {
  position: absolute; top: 0; left: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--asfalto); color: #fff;
  font-stretch: 125%; font-weight: 800; font-size: 1.05rem; box-shadow: 0 0 0 5px var(--blanco);
}
.proceso-paso h3 { margin-bottom: .5rem; }
.proceso-paso p { color: var(--acero); font-size: .98rem; margin: 0; }
@media (max-width: 991.98px) {
  .proceso { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .proceso-paso:nth-child(2)::before { display: none; }
}
@media (max-width: 575.98px) {
  .proceso { grid-template-columns: 1fr; gap: 0; }
  .proceso-paso { padding: 0 0 2rem 4rem; }
  .proceso-paso::before { display: block !important; top: 2.9rem; bottom: .4rem; left: 1.25rem; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--azul), var(--hielo)); }
  .proceso-paso:last-child::before { display: none !important; }
}

/* Bloque oscuro (flotillas) */
.bloque-oscuro {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--asfalto); color: #fff; padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.bloque-oscuro::before {
  content: ""; position: absolute; inset: 0 55% 0 0; z-index: -1;
  background: repeating-linear-gradient(180deg, rgba(138, 212, 255, .05) 0 2px, transparent 2px 14px);
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 50%); mask-image: linear-gradient(270deg, transparent, #000 50%);
}
.bloque-oscuro .texto-seccion { color: #c9d5e2; }
.bloque-foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radio-lg); }
.bloque-acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.lista-check { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.lista-check--2 { grid-template-columns: 1fr 1fr; gap: .9rem 2rem; }
.lista-check li { display: flex; gap: .65rem; align-items: flex-start; }
.lista-check .ico { color: var(--azul); width: 1.3rem; height: 1.3rem; margin-top: .1rem; }
.bloque-oscuro .lista-check .ico { color: var(--hielo); }
@media (max-width: 575.98px) { .lista-check--2 { grid-template-columns: 1fr; } }

/* Galería */
.galeria-inicio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.galeria-item { margin: 0; }
.galeria-item a { display: block; border-radius: var(--radio); overflow: hidden; background: var(--escarcha); position: relative; }
.galeria-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s; }
.galeria-item a:hover img { transform: scale(1.04); }
.galeria-item figcaption { margin-top: .75rem; font-weight: 600; font-size: .97rem; color: var(--tinta); }
@media (max-width: 767.98px) {
  .galeria-inicio { grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; margin-inline: -1rem; padding-inline: 1rem; }
  .galeria-item { scroll-snap-align: start; }
}

/* Razones */
.razones { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
.razones li { display: flex; gap: 1rem; }
.razon-ico { width: 2.75rem; height: 2.75rem; padding: .65rem; border-radius: var(--radio); background: var(--blanco); color: var(--azul); border: 1px solid var(--linea); }
.razones h3 { margin-bottom: .35rem; }
.razones p { color: var(--acero); margin: 0; font-size: .98rem; }
@media (max-width: 767.98px) { .razones { grid-template-columns: 1fr; } }

/* Opiniones */
.opiniones { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.opinion { margin: 0; padding: 1.5rem; border-left: 3px solid var(--azul); background: var(--escarcha); border-radius: 0 var(--radio) var(--radio) 0; }
.opinion p { font-size: 1.05rem; }
.opinion footer { font-weight: 650; }
.opinion footer span { display: block; font-weight: 400; color: var(--acero); font-size: .9rem; }

/* Acordeón */
.acordeon { border-top: 1px solid var(--linea); }
.acordeon-item { border-bottom: 1px solid var(--linea); }
.acordeon-titulo { margin: 0; font-size: inherit; }
.acordeon-boton {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  background: none; border: 0; text-align: left; padding: 1.3rem 0;
  font-family: var(--fuente); font-stretch: 105%; font-weight: 650; font-size: 1.1rem; color: var(--tinta); line-height: 1.35;
}
.acordeon-boton .ico { width: 1.2rem; height: 1.2rem; color: var(--azul-texto); transition: transform .25s; }
.acordeon-boton:not(.collapsed) .ico { transform: rotate(180deg); }
.acordeon-boton:hover { color: var(--azul-texto); }
.acordeon-cuerpo { color: var(--acero); padding: 0 3rem 1.4rem 0; margin: 0; max-width: 46rem; }

/* ---------- Formulario ---------- */
.seccion--agendar { background: linear-gradient(180deg, var(--escarcha), var(--blanco) 70%); }
.formulario { margin-top: 1.75rem; }
.formulario .form-label { font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.formulario .opcional { font-weight: 400; color: var(--acero); }
.formulario .form-control, .formulario .form-select {
  border-radius: var(--radio-sm); border: 1.5px solid #c4cfdb; padding: .7rem .85rem; font-size: 1rem; background-color: var(--blanco);
}
.formulario .form-control:focus, .formulario .form-select:focus { border-color: var(--azul); box-shadow: 0 0 0 4px rgba(10, 132, 235, .18); }
.formulario .form-control::placeholder { color: #8c98a5; }
.formulario .form-check-label { font-size: .93rem; color: var(--acero); }
.formulario .form-check-input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; border: 1.5px solid #9fb0c2; }
.formulario .form-check-input:checked { background-color: var(--azul-boton); border-color: var(--azul-boton); }
.formulario .invalid-feedback { font-size: .88rem; color: #b42318; }
.formulario .is-invalid { border-color: #d92d20 !important; }
.formulario-modalidad { border: 0; padding: 0; margin: 0; }
.formulario-modalidad legend { float: none; width: auto; }
.opciones-segmento { display: inline-flex; flex-wrap: wrap; gap: .5rem; }
.opciones-segmento label {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; cursor: pointer;
  border: 1.5px solid #c4cfdb; border-radius: var(--radio-sm); font-weight: 600; font-size: .95rem; background: var(--blanco);
  transition: border-color .15s, background-color .15s, color .15s;
}
.opciones-segmento label .ico { color: var(--azul); }
.opciones-segmento .btn-check:checked + label { border-color: var(--azul-boton); background: #e6f2fd; color: #06468a; }
.opciones-segmento .btn-check:focus-visible + label { outline: 3px solid var(--azul); outline-offset: 2px; }
.formulario-pie { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: .5rem; }
.formulario-alterna { margin: 0; color: var(--acero); font-size: .95rem; }
.formulario-alterna a { font-weight: 650; }
.campo-trampa { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulario-resultado, .formulario-aviso { border-radius: var(--radio); padding: 1rem 1.15rem; font-weight: 500; display: flex; gap: .65rem; align-items: flex-start; }
.formulario-resultado .ico { width: 1.35rem; height: 1.35rem; margin-top: .05rem; }
.formulario-resultado--ok, .formulario-aviso--ok { background: #e7f6ee; color: #0e5a33; border: 1px solid #a8dcc0; }
.formulario-resultado--error, .formulario-aviso--error { background: #fdecea; color: #8a1c13; border: 1px solid #f3b8b2; }
.formulario-aviso { margin-bottom: 1.25rem; }
.btn .girando { width: 1.1em; height: 1.1em; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: girar .7s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- Tarjeta de contacto ---------- */
.tarjeta-contacto { background: var(--asfalto); color: #dbe5ef; border-radius: var(--radio-lg); padding: 2rem; position: relative; overflow: hidden; }
.tarjeta-titulo { color: #fff; font-size: 1.25rem; margin-bottom: 1.25rem; }
.canales { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .5rem; }
.canal {
  display: flex; align-items: center; gap: 1rem; padding: .85rem 1rem; border-radius: var(--radio);
  background: var(--cabina); color: #fff; text-decoration: none; border: 1px solid transparent; transition: border-color .2s;
}
.canal:hover { color: #fff; border-color: rgba(138, 212, 255, .45); }
.canal > span { display: flex; flex-direction: column; min-width: 0; }
.canal strong { font-weight: 650; overflow-wrap: anywhere; font-size: .97rem; }
.canal span span { font-size: .85rem; color: #aebccb; }
.canal-ico { width: 1.5rem; height: 1.5rem; color: var(--hielo); }
.canal-ico--wa { color: #3ddc84; }
.tarjeta-bloque { padding-top: 1.25rem; margin-top: 1.25rem; border-top: 1px solid var(--linea-oscura); }
.tarjeta-subtitulo { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.tarjeta-subtitulo .ico { color: var(--hielo); }
.tarjeta-mapas { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.horario { width: 100%; font-size: .95rem; }
.horario th { font-weight: 500; color: #aebccb; padding: .3rem 0; }
.horario td { text-align: right; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- Franja CTA ---------- */
.cta-franja { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.cta-interior {
  background: var(--azul-boton); color: #fff; border-radius: var(--radio-lg); padding: clamp(2rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  position: relative; overflow: hidden; isolation: isolate;
}
.cta-interior::after {
  content: ""; position: absolute; inset: 0 0 0 60%; z-index: -1;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .1) 0 2px, transparent 2px 12px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-titulo { font-size: clamp(1.5rem, 1.5vw + 1rem, 2.1rem); margin-bottom: .5rem; }
.cta-texto { margin: 0; color: #e3f0fd; max-width: 34rem; }
.cta-botones { display: flex; gap: .75rem; flex-wrap: wrap; }
.cta-interior .btn-cjf { --bs-btn-bg: #fff; --bs-btn-color: var(--asfalto); --bs-btn-border-color: #fff; --bs-btn-hover-bg: var(--asfalto); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--asfalto); }

/* ---------- Encabezado de páginas internas ---------- */
.cabecera-pagina {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--asfalto); color: #fff; padding: 2.25rem 0 clamp(3rem, 5vw, 4.25rem);
}
.cabecera-pagina::before {
  content: ""; position: absolute; inset: 0 0 0 50%; z-index: -1;
  background: repeating-linear-gradient(180deg, rgba(138, 212, 255, .07) 0 2px, transparent 2px 14px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%);
}
.cabecera-titulo { font-size: clamp(2rem, 3vw + 1rem, 3.3rem); line-height: 1.05; margin: 1.5rem 0 1rem; max-width: 20ch; }
.cabecera-bajada { font-size: 1.15rem; color: #c9d5e2; max-width: 40rem; margin: 0; }
.cabecera-acciones { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-start; }
@media (min-width: 992px) { .cabecera-acciones { justify-content: flex-end; } }
.migas ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; padding: 0; margin: 0; font-size: .9rem; color: #aebccb; }
.migas li { display: inline-flex; align-items: center; gap: .35rem; }
.migas a { color: #dbe5ef; text-decoration: none; }
.migas a:hover { color: #fff; text-decoration: underline; }
.migas .ico { width: .8rem; height: .8rem; opacity: .6; }
.migas [aria-current] { color: var(--hielo); }

/* ---------- Página de servicio ---------- */
.prosa p { font-size: 1.1rem; color: #2c3a4a; max-width: 42rem; }
.subtitulo { font-size: 1.45rem; margin: 2.75rem 0 1.25rem; }
.lista-incluye { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 2rem; }
.lista-incluye li { display: flex; gap: .65rem; align-items: flex-start; padding: .65rem 0; border-bottom: 1px solid var(--linea); }
.lista-incluye .ico { color: var(--azul); width: 1.25rem; height: 1.25rem; margin-top: .15rem; }
@media (max-width: 767.98px) { .lista-incluye { grid-template-columns: 1fr; } }
.lista-senales { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.lista-senales li { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 999px; background: #fff3f0; color: #7d1f14; font-weight: 550; font-size: .95rem; border: 1px solid #f7cfc6; }
.lista-senales .ico { color: var(--rojo); }
.lateral-servicio .foto-lateral { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radio-lg) var(--radio-lg) 0 0; display: block; }
.caja-formulario { background: var(--blanco); border: 1px solid var(--linea); border-radius: 0 0 var(--radio-lg) var(--radio-lg); padding: 1.75rem; box-shadow: var(--sombra); }
.caja-formulario--sola { border-radius: var(--radio-lg); }
.caja-formulario h2 { font-size: 1.35rem; margin-bottom: .25rem; }
.caja-formulario > p { color: var(--acero); font-size: .95rem; margin: 0; }
.caja-formulario .formulario { margin-top: 1.25rem; }
.caja-formulario .formulario .col-md-6 { width: 100%; }

/* Tarjetas de servicios relacionados / página de servicios */
.servicio-bloque { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--linea); }
.servicio-bloque:first-child { padding-top: 0; }
.servicio-bloque:last-child { border-bottom: 0; }
.servicio-bloque:nth-child(even) .servicio-bloque-foto { order: 2; }
.servicio-bloque-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radio-lg); }
.servicio-bloque h2 { font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem); margin-bottom: .75rem; }
.servicio-bloque .texto-seccion { margin-bottom: 1rem; }
.servicio-bloque .lista-check { margin: 0 0 1.5rem; }
@media (max-width: 767.98px) {
  .servicio-bloque { grid-template-columns: 1fr; }
  .servicio-bloque:nth-child(even) .servicio-bloque-foto { order: 0; }
}
.relacionados { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.relacionado { display: block; text-decoration: none; color: var(--tinta); }
.relacionado img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radio); margin-bottom: 1rem; }
.relacionado h3 { margin-bottom: .35rem; transition: color .2s; }
.relacionado p { color: var(--acero); font-size: .97rem; margin: 0; }
.relacionado:hover h3 { color: var(--azul-texto); }
@media (max-width: 767.98px) { .relacionados { grid-template-columns: 1fr; } }

/* ---------- Trabajos ---------- */
.filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filtro { border: 1.5px solid var(--linea); background: var(--blanco); border-radius: 999px; padding: .5rem 1rem; font-weight: 600; font-size: .95rem; color: var(--tinta); }
.filtro[aria-pressed="true"] { background: var(--asfalto); color: #fff; border-color: var(--asfalto); }
.galeria { columns: 3 300px; column-gap: 1.5rem; }
.galeria .galeria-item { break-inside: avoid; margin-bottom: 1.75rem; }
.galeria .galeria-item img { aspect-ratio: auto; }
.galeria .galeria-item[hidden] { display: none; }
.galeria-zoom { position: absolute; right: .75rem; bottom: .75rem; width: 40px; height: 40px; border-radius: 50%; background: rgba(11, 23, 36, .75); color: #fff; display: grid; place-items: center; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.video { margin: 0; }
.video iframe { width: 100%; border: 0; border-radius: var(--radio); background: var(--asfalto); }
.video figcaption { margin-top: .6rem; font-weight: 600; }

/* ---------- Nosotros ---------- */
.valores { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.valores li { border-top: 2px solid var(--asfalto); padding-top: 1.25rem; }
.valores h3 { margin-bottom: .5rem; }
.valores p { color: var(--acero); font-size: .98rem; margin: 0; }
@media (max-width: 991.98px) { .valores { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .valores { grid-template-columns: 1fr; } }
.equipo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.equipo figure { margin: 0; }
.equipo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radio); }
.equipo figcaption { margin-top: .85rem; }
.equipo figcaption strong { display: block; font-stretch: 112%; font-weight: 750; font-size: 1.1rem; }
.equipo figcaption span { color: var(--acero); font-size: .97rem; }
@media (max-width: 767.98px) { .equipo { grid-template-columns: 1fr; } }
.cobertura { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.cobertura li { padding: .5rem .95rem; border-radius: 999px; background: var(--blanco); border: 1px solid var(--linea); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: .4rem; }
.cobertura .ico { color: var(--azul); }

/* ---------- Contacto ---------- */
.mapa { border-radius: var(--radio-lg); overflow: hidden; border: 1px solid var(--linea); background: var(--escarcha); }
.mapa iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Texto legal ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 .75rem; }
.legal p, .legal li { color: #2c3a4a; }

/* ---------- Pie ---------- */
.pie { background: var(--asfalto); color: #b9c6d4; padding: clamp(3.5rem, 6vw, 5rem) 0 0; font-size: .97rem; }
.pie a { color: #dbe5ef; text-decoration: none; }
.pie a:hover { color: #fff; text-decoration: underline; }
.pie-marca { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; }
.pie-marca span { font-stretch: 112%; font-weight: 750; color: #fff; font-size: 1.1rem; line-height: 1.25; max-width: 14rem; }
.pie-marca:hover { text-decoration: none !important; }
.pie-texto { max-width: 26rem; }
.pie-redes { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; gap: .5rem; }
.pie-redes a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--cabina); color: #fff; transition: background-color .2s; }
.pie-redes a:hover { background: var(--azul-boton); }
.pie-redes .ico { width: 1.1rem; height: 1.1rem; }
.pie-titulo { color: #fff; font-weight: 700; font-stretch: 112%; margin-bottom: 1rem; }
.pie-enlaces { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.pie-contacto { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.pie-contacto li { display: flex; gap: .75rem; align-items: flex-start; }
.pie-contacto .ico { color: var(--hielo); margin-top: .2rem; }
.pie-contacto .separador { color: #5d6e80; margin: 0 .25rem; }
.pie-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 3.5rem; padding: 1.5rem 0; border-top: 1px solid var(--linea-oscura); font-size: .88rem; color: #8d9bab; }
.pie-base p { margin: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.pie-base a { color: #b9c6d4; }

/* ---------- Contacto flotante ---------- */
.whatsapp-flotante {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 1020;
  display: flex; align-items: center; gap: .6rem; padding: .85rem 1.15rem .85rem .95rem;
  background: #1fa855; color: #fff; border-radius: 999px; text-decoration: none; font-weight: 650;
  box-shadow: 0 14px 30px -10px rgba(16, 90, 45, .6); transition: transform .2s, background-color .2s;
}
.whatsapp-flotante .ico { width: 1.6rem; height: 1.6rem; }
.whatsapp-flotante:hover { color: #fff; background: #178a45; transform: translateY(-2px); }
.barra-movil {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--linea);
}
.barra-movil a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem; border-radius: var(--radio); font-weight: 700; text-decoration: none; font-size: 1rem; }
.barra-movil-llamar { background: var(--asfalto); color: #fff; }
.barra-movil-whatsapp { background: #1fa855; color: #fff; }
.barra-movil a:hover { color: #fff; }
@media (max-width: 991.98px) { body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); } }

/* ---------- Página de error ---------- */
.error-pagina { min-height: 60vh; display: flex; align-items: center; padding: 5rem 0; }
.error-codigo { font-stretch: 125%; font-weight: 900; font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: var(--azul); }

/* ---------- Galería en lightbox ---------- */
.glightbox-clean .gslide-description { background: var(--asfalto); }
.glightbox-clean .gdesc-inner { padding: 14px 18px; }
.glightbox-clean .gslide-title { color: #fff; font-family: var(--fuente); font-weight: 600; margin: 0; font-size: 1rem; }

/* ---------- Impresión ---------- */
@media print {
  .barra-superior, .encabezado, .whatsapp-flotante, .barra-movil, .pie, .formulario { display: none !important; }
  .portada, .cabecera-pagina, .bloque-oscuro { background: none !important; color: #000 !important; }
}

/* Evita desbordes horizontales: en móvil el canal de .g-5 no puede superar el relleno del contenedor */
@media (max-width: 991.98px) { .row.g-5 { --bs-gutter-x: 2rem; } }
