/* =====================================================================
   Mudanzas Úbeda · hoja de estilos

   Cada página de ciudad conserva el diseño aprobado en Claude Design.
   La clase del <body> decide colores, tipografías y medidas:

     (sin clase extra)  Zilla Slab + Public Sans · es también el diseño
     .tema-linares      de Linares, y el de portada, contacto y legales
     .tema-jaen         Archivo
     .tema-granada      Zilla Slab + Source Sans 3

   Orden del archivo: tipografías · variables · base · piezas comunes
   (con las medidas de Linares) · ajustes de Jaén · ajustes de Granada ·
   carrusel · páginas generales · impresión.
   ===================================================================== */

@font-face {
  font-family: "Zilla Slab";
  src: url("../fonts/zilla-slab-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}


/* ---------- Variables ---------- */

:root {
  --fondo: #fbfaf8;
  --tinta: #1b1b1f;
  --texto: #3b3b42;
  --texto-suave: #4a4a52;
  --texto-tenue: #6b6b73;
  --azul: #16318f;
  --azul-oscuro: #0f2470;
  --rojo: #d9232d;
  --rojo-oscuro: #b81b24;
  --borde: #e7e4df;
  --borde-campo: #cfcac2;
  --fondo-campo: #fbfaf8;
  --linea: #d9d5ce;
  --foto-fondo: #e7e4df;
  --pie-fondo: #1b1b1f;
  --pie-texto: #d6d4d0;
  --sobre-azul: #dfe4f5;

  --sistema: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fuente: "Public Sans", var(--sistema);
  --titulos: "Zilla Slab", Georgia, "Times New Roman", serif;

  --ancho: 1180px;
  --lado: clamp(16px, 4vw, 32px);
  --aire: clamp(56px, 8vw, 96px);
}

.tema-jaen {
  --tinta: #16171a;
  --texto: #45474d;
  --texto-suave: #45474d;
  --texto-tenue: #6f6c66;
  --azul: #0d2a8c;
  --azul-oscuro: #091f6b;
  --rojo: #d71f26;
  --rojo-oscuro: #b8161d;
  --linea: #dcd8d1;
  --foto-fondo: #e8e4de;
  --pie-fondo: #16171a;
  --pie-texto: #c9c9cc;
  --sobre-azul: #e6eafb;
  --fuente: "Archivo", var(--sistema);
  --titulos: "Archivo", var(--sistema);
  --ancho: 1160px;
  --lado: 24px;
  --aire: clamp(64px, 9vw, 112px);
}

.tema-granada {
  --fondo: #fff;
  --tinta: #16181d;
  --texto: #454a55;
  --texto-suave: #454a55;
  --texto-tenue: #6b707c;
  --texto-fuerte: #363a44;
  --azul: #0d2b7e;
  --azul-oscuro: #091f5c;
  --rojo: #d9232a;
  --rojo-oscuro: #b81b21;
  --borde: #e3e5ea;
  --borde-suave: #eceef2;
  --borde-campo: #c9cdd5;
  --fondo-campo: #fff;
  --linea: #dcdfe5;
  --foto-fondo: #e9ebef;
  --suave: #f7f8fa;
  --pie-fondo: #16181d;
  --pie-texto: #c9ccd3;
  --sobre-azul: #dfe4f3;
  --fuente: "Source Sans 3", var(--sistema);
  --ancho: 1160px;
  --lado: 24px;
  --aire: clamp(64px, 9vw, 112px);
}


/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: var(--fuente);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
input, textarea, button { font: inherit; }

a { color: var(--azul); }
a:hover { color: var(--rojo); }

h1, h2, h3 { margin: 0; }

h1 {
  font-family: var(--titulos);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 span { color: var(--rojo); }

h2 {
  font-family: var(--titulos);
  font-weight: 700;
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  line-height: 1.1;
}

:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }
.pie :focus-visible,
.banda--azul :focus-visible,
.cobertura__caja :focus-visible { outline-color: #fff; }

.saltar {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 12px 16px; border-radius: 6px;
  background: #fff; color: var(--azul); font-weight: 700;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.saltar:focus { top: 12px; }

.aviso-pruebas {
  background: #ffe9a8; color: #3b2e00; text-align: center;
  font-size: .875rem; font-weight: 600; line-height: 1.4; padding: 8px var(--lado);
}


/* ---------- Cabecera ---------- */

.cabecera {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 250, 248, .96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--borde);
}
.cabecera__fila {
  max-width: var(--ancho); margin: 0 auto; padding: 12px var(--lado);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.cabecera__logo { display: flex; align-items: center; }
.cabecera__logo img { display: block; height: 52px; width: auto; }
.cabecera__menu {
  display: flex; align-items: center; gap: clamp(12px, 3vw, 28px);
  font-size: .9375rem; font-weight: 500; white-space: nowrap;
}
.cabecera__nav { display: flex; align-items: center; gap: inherit; }
.cabecera__nav a {
  padding: 4px 0 2px; border-bottom: 2px solid transparent;
  color: var(--tinta); text-decoration: none;
}
.cabecera__nav a:hover { color: var(--rojo); }
.cabecera__nav a[aria-current="page"] { color: var(--azul); font-weight: 700; border-bottom-color: var(--rojo); }
.cabecera__llamar {
  display: flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 6px;
  background: var(--rojo); color: #fff; font-weight: 600; text-decoration: none;
}
.cabecera__llamar:hover { background: var(--rojo-oscuro); color: #fff; }

/* En móvil la cabecera cabe en una fila: logo, ciudades y botón de llamada */
@media (max-width: 719.98px) {
  html { scroll-padding-top: 72px; }
  .cabecera__fila { padding: 8px 16px; gap: 8px 10px; }
  .cabecera__logo img { height: 40px; }
  .cabecera__menu { gap: 12px; font-size: .875rem; }
  .cabecera__contacto, .cabecera__numero { display: none; }
  .cabecera__llamar { min-height: 40px; padding: 8px 12px; }
}
@media (max-width: 359.98px) {
  .cabecera__fila { padding-inline: 12px; }
  .cabecera__logo img { height: 34px; }
  .cabecera__menu { gap: 9px; font-size: .8125rem; }
  .cabecera__llamar { padding: 8px 10px; }
}


/* ---------- Botones ---------- */

.boton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 22px; border: 0; border-radius: 6px;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
}
.boton--rojo { background: var(--rojo); color: #fff; }
.boton--rojo:hover { background: var(--rojo-oscuro); color: #fff; }
.boton--azul { background: var(--azul); color: #fff; }
.boton--azul:hover { background: var(--azul-oscuro); color: #fff; }
.boton--linea { background: transparent; color: var(--tinta); border: 1.5px solid var(--tinta); }
.boton--linea:hover { background: var(--tinta); color: #fff; }
.boton--fila { justify-content: space-between; gap: 12px; flex-wrap: wrap; }


/* ---------- Portada de página (hero) ---------- */

.hero {
  max-width: var(--ancho); margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--lado);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero__texto { display: flex; flex-direction: column; gap: 24px; }

.antetitulo {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--azul);
}
.antetitulo::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--azul); }
.antetitulo--rojo { color: var(--rojo); }
.antetitulo--rojo::before {
  width: 0; height: 0; border-radius: 0; background: none;
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid var(--rojo);
}

.hero__entrada {
  margin: 0; max-width: 34ch;
  font-size: clamp(1.125rem, 2vw, 1.3125rem); line-height: 1.5; color: var(--texto); text-wrap: pretty;
}
.hero__botones { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero__foto {
  position: relative; overflow: hidden; border-radius: 10px;
  aspect-ratio: 4 / 3.4; background: var(--foto-fondo);
}
.hero__foto > img { display: block; width: 100%; height: 100%; object-fit: cover; }


/* ---------- Franja de confianza ---------- */

.confianza { background: #fff; border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }
/* Rejillas de cuatro piezas (franja, servicios, pasos): cuatro columnas si caben,
   si no dos y dos (nunca tres y una suelta) y una sola en móvil.
   El número en px de cada fórmula es el ancho en que caben las cuatro:
   4 × ancho mínimo de columna + 3 × separación. */
.confianza__lista, .tarjetas, .pasos__lista { display: grid; }
.confianza__lista {
  list-style: none; max-width: var(--ancho); margin: 0 auto; padding: 28px var(--lado); gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 220px), clamp(0px, (952px - 100%) * 999, 34%)), 1fr));
}
.confianza__lista li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 1rem; line-height: 1.3; }

.simbolo { flex: 0 1 auto; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.tema-jaen .simbolo, .tema-granada .simbolo { flex: none; }
.simbolo::before { content: ""; display: block; }
.simbolo--anos {
  width: auto; height: auto; min-width: 44px; justify-content: flex-start;
  font-family: var(--titulos); font-weight: 700; font-size: 1.75rem; color: var(--rojo);
}
.simbolo--anos::before { content: none; }
.simbolo--camion::before { width: 22px; height: 22px; border-radius: 50%; background: var(--azul); }
.simbolo--montaje::before {
  width: 0; height: 0;
  border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 20px solid var(--rojo);
}
.simbolo--guarda::before { width: 22px; height: 22px; border: 3px solid var(--azul); border-top: 0; }


/* ---------- Secciones ---------- */

.seccion { max-width: var(--ancho); margin: 0 auto; padding: var(--aire) var(--lado) 0; }
.seccion > h2 { margin-bottom: 36px; }

.dos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: center;
}


/* Servicios */
.tarjetas { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 250px), clamp(0px, (1048px - 100%) * 999, 34%)), 1fr)); }
.tarjeta {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 24px; background: #fff; border: 1px solid var(--borde); border-radius: 10px;
}
.tarjeta::before { content: ""; display: block; width: 28px; height: 4px; background: var(--rojo); }
.tarjeta:nth-child(even)::before { background: var(--azul); }
.tarjeta h3 { font-size: 1.1875rem; font-weight: 700; }
.tarjeta p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--texto-suave); }


/* Pasos: son una secuencia real, por eso van numerados */
.pasos__lista {
  list-style: none; margin: 0; padding: 0; gap: 32px 24px;
  grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 230px), clamp(0px, (992px - 100%) * 999, 34%)), 1fr));
}
.pasos__lista li { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--tinta); }
.pasos__numero { font-family: var(--titulos); font-weight: 700; font-size: 1.375rem; color: var(--rojo); }
.pasos__lista h3 { font-size: 1.125rem; font-weight: 700; }
.pasos__lista p { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--texto-suave); }


/* Cobertura */
.cobertura__caja {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 36px; align-items: start;
  padding: clamp(28px, 5vw, 56px); border-radius: 12px; background: var(--azul); color: #fff;
}
.cobertura__texto { display: flex; flex-direction: column; gap: 16px; }
.cobertura__texto p { margin: 0; max-width: 46ch; font-size: 1.0625rem; line-height: 1.6; color: var(--sobre-azul); text-wrap: pretty; }
.cobertura__lista {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px;
}
.cobertura__lista li {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px;
  font-weight: 600; font-size: 1rem;
}
.cobertura__lista li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff5a62; }


/* Fotos y bloques de texto a dos columnas (quiénes somos, calles estrechas) */
.foto-caja { overflow: hidden; border-radius: 10px; background: var(--foto-fondo); }
.foto-caja img { display: block; width: 100%; height: 100%; object-fit: cover; }
.quienes .foto-caja { aspect-ratio: 4 / 3; }
.centro .foto-caja { aspect-ratio: 4 / 3.6; }

.bloque-texto { display: flex; flex-direction: column; gap: 18px; }
.bloque-texto p:not(.antetitulo) { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--texto); text-wrap: pretty; }
.bloque-texto p.destacado {
  padding-top: 18px; border-top: 1px solid var(--borde);
  font-size: 1.125rem; line-height: 1.6; font-weight: 600; color: var(--tinta);
}


/* Preguntas frecuentes */
.faq { max-width: 820px; }
.faq > h2 { margin-bottom: 28px; }
.faq__lista { border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; list-style: none; cursor: pointer;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--rojo);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; max-width: 62ch; font-size: 1rem; line-height: 1.65; color: var(--texto-suave); }


/* Presupuesto: contacto directo + formulario */
.presupuesto {
  padding-bottom: var(--aire); scroll-margin-top: 80px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
.presupuesto__texto { display: flex; flex-direction: column; gap: 20px; }
.presupuesto h2 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.05; text-wrap: balance; }
.presupuesto__texto > p { margin: 0; max-width: 40ch; font-size: 1.0625rem; line-height: 1.6; color: var(--texto); }
.presupuesto__contacto { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.presupuesto__contacto .boton { min-height: 52px; padding: 16px 20px; border-radius: 8px; }
.presupuesto__texto > .presupuesto__horario { font-size: .9375rem; line-height: 1.5; color: var(--texto-tenue); }

.formulario-caja { padding: clamp(22px, 4vw, 36px); background: #fff; border: 1px solid var(--borde); border-radius: 12px; }
.formulario { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.campo { display: flex; flex-direction: column; gap: 6px; font-size: .875rem; font-weight: 600; }
.campo--ancho { grid-column: 1 / -1; }
.campo input,
.campo textarea {
  width: 100%; min-height: 48px; padding: 13px 14px;
  border: 1px solid var(--borde-campo); border-radius: 6px; background: var(--fondo-campo);
  font-weight: 400; font-size: 1rem; color: var(--tinta);
}
.campo textarea { min-height: 0; resize: vertical; }
.campo input:focus,
.campo textarea:focus { outline: 2px solid var(--azul); outline-offset: 0; border-color: var(--azul); }
.campo__opcional { font-weight: 400; font-size: .8125rem; color: var(--texto-tenue); }

/* Trampa para robots: fuera de la vista y del teclado */
.campo--trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.acepto {
  grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px;
  font-size: .875rem; line-height: 1.45; color: var(--texto);
}
.acepto input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--azul); }
.acepto a { text-decoration: underline; }
.formulario__enviar { grid-column: 1 / -1; min-height: 52px; padding: 16px; font-weight: 700; }
.formulario__pie { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.formulario__whatsapp {
  align-self: center; padding: 4px 6px; border: 0; background: none; cursor: pointer;
  font-weight: 600; font-size: .9375rem; color: var(--azul); text-decoration: underline; text-underline-offset: .18em;
}
.formulario__whatsapp:hover { color: var(--rojo); }
.formulario__legal { margin: 0; font-size: .75rem; line-height: 1.5; color: var(--texto-tenue); }


/* ---------- Pie ---------- */

.pie { background: var(--pie-fondo); color: var(--pie-texto); }
.pie a { color: var(--pie-texto); text-decoration: none; }
.pie a:hover { color: #fff; }
.pie__fila {
  max-width: var(--ancho); margin: 0 auto; padding: 40px var(--lado);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px;
  font-size: .9375rem; line-height: 1.6;
}
.pie__empresa { display: flex; flex-direction: column; gap: 4px; }
.pie__empresa strong { color: #fff; font-size: 1rem; }
.pie__datos { display: flex; flex-direction: column; gap: 4px; }
.pie__ciudades { display: flex; flex-direction: column; gap: 4px; }

.pie__extra { border-top: 1px solid rgba(255, 255, 255, .14); }
.pie__extra-fila {
  max-width: var(--ancho); margin: 0 auto; padding: 16px var(--lado) 20px;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 28px;
  font-size: .8125rem; line-height: 1.7;
}
.pie__extra-fila p { margin: 0; }
.pie__extra-fila ul, .pie__extra-fila ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 18px; }
.pie__extra-fila a { text-decoration: underline; text-underline-offset: .18em; }
.pie__extra-fila .migas ol { gap: 2px 10px; }
.migas li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.pie__copia { flex-basis: 100%; opacity: .85; }


/* ---------- Barra fija de llamada y WhatsApp ---------- */

.barra { display: none; }
.barra a {
  display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 6px;
  font-weight: 700; color: #fff; text-decoration: none;
}
.barra__llamar { background: var(--rojo); }
.barra__whatsapp { background: var(--azul); }

@media (max-width: 719.98px) {
  .barra-movil .barra,
  .barra-siempre .barra {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(251, 250, 248, .97); border-top: 1px solid var(--borde);
  }
  .barra-movil .pie,
  .barra-siempre .pie { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 720px) {
  .barra-siempre .barra {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px; background: rgba(251, 250, 248, .97); border-top: 1px solid var(--borde);
  }
  .barra-siempre .pie { padding-bottom: 68px; }
}


/* =====================================================================
   JAÉN · diseño aprobado (Archivo)
   ===================================================================== */

.tema-jaen h1 { font-weight: 800; font-size: clamp(2.375rem, 5.6vw, 4rem); line-height: 1.04; letter-spacing: -.025em; }
.tema-jaen h2 { font-weight: 800; font-size: clamp(1.875rem, 3.6vw, 2.625rem); letter-spacing: -.02em; }

.tema-jaen .cabecera { z-index: 10; background: rgba(251, 250, 248, .94); }
.tema-jaen .cabecera__nav a[aria-current="page"] { color: var(--tinta); }
.tema-jaen .cabecera__llamar { min-height: 0; font-weight: 700; }
@media (min-width: 720px) {
  .tema-jaen .cabecera__menu { gap: clamp(14px, 3vw, 32px); }
}

.tema-jaen .boton { min-height: 0; padding: 16px 24px; border-radius: 8px; font-weight: 700; font-size: 1.0625rem; }
.tema-jaen .boton--linea { padding: 14px 22px; border-width: 2px; }

.tema-jaen .hero { padding: clamp(48px, 8vw, 104px) 24px clamp(48px, 7vw, 88px); }
.tema-jaen .hero__texto { display: block; }
.tema-jaen .antetitulo { margin-bottom: 20px; font-size: .875rem; letter-spacing: .08em; }
.tema-jaen .hero__entrada { margin-top: 24px; max-width: 520px; font-size: clamp(1.125rem, 1.8vw, 1.3125rem); }
.tema-jaen .hero__botones { margin-top: 36px; padding-top: 0; }
.tema-jaen .hero__foto { border-radius: 14px; }
.hero__sello {
  position: absolute; left: 18px; bottom: 18px;
  padding: 12px 16px; border-radius: 10px; background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}
.hero__sello img { display: block; height: 56px; width: auto; }

.tema-jaen .confianza { background: #16171a; color: #fff; border: 0; }
.tema-jaen .confianza__lista { padding: 36px 24px; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 220px), clamp(0px, (964px - 100%) * 999, 34%)), 1fr)); }
.tema-jaen .confianza__lista li { gap: 16px; }
.tema-jaen .simbolo--anos {
  width: 44px; height: 44px; min-width: 0; justify-content: center; border: 2px solid #fff; border-radius: 50%;
  font-weight: 800; font-size: .875rem; color: #fff;
}
.tema-jaen .simbolo--camion::before { width: 30px; height: 22px; border-radius: 0; background: var(--rojo); }
.tema-jaen .simbolo--montaje::before { border-left-width: 13px; border-right-width: 13px; border-top-width: 22px; }
.tema-jaen .simbolo--guarda::before { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #3d63e0; }

.tema-jaen .seccion > h2 { margin-bottom: 0; }
.tema-jaen .tarjetas { margin-top: 40px; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 250px), clamp(0px, (1060px - 100%) * 999, 34%)), 1fr)); }
.tema-jaen .tarjeta { display: block; padding: 28px; border-radius: 12px; }
.tema-jaen .tarjeta h3 { margin: 22px 0 10px; font-size: 1.25rem; }

.tema-jaen .pasos__lista { margin-top: 40px; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 230px), clamp(0px, (1016px - 100%) * 999, 34%)), 1fr)); }
.tema-jaen .pasos__lista li { display: block; padding-top: 20px; }
.tema-jaen .pasos__numero { font-weight: 800; font-size: .875rem; }
.tema-jaen .pasos__lista h3 { margin: 10px 0 8px; font-size: 1.1875rem; }
.tema-jaen .pasos__lista p { font-size: 1rem; }

.tema-jaen .cobertura {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(28px, 5vw, 64px); align-items: start;
}
.tema-jaen .cobertura__texto { display: block; }
.tema-jaen .cobertura__texto p { margin-top: 20px; max-width: none; font-size: 1.125rem; color: var(--texto); }
.tema-jaen .cobertura__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tema-jaen .cobertura__lista li {
  padding: 18px 20px; background: #fff; border-color: var(--borde); border-radius: 10px;
  font-weight: 700; font-size: 1.0625rem;
}
.tema-jaen .cobertura__lista li::before { background: var(--azul); }
.tema-jaen .cobertura__lista li:first-child::before { background: var(--rojo); }

.tema-jaen .centro {
  padding-top: clamp(40px, 6vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(24px, 5vw, 64px);
}
.tema-jaen .centro > img {
  display: block; width: 100%; height: auto; max-height: 440px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px;
}
.tema-jaen .centro h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -.015em; }
.tema-jaen .centro p { margin: 16px 0 0; font-size: 1.0625rem; line-height: 1.6; color: var(--texto); text-wrap: pretty; }

.quienes__caja {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 4vw, 56px);
  padding: clamp(32px, 6vw, 64px); border-radius: 16px; background: var(--azul); color: #fff;
}
.quienes__cifra { margin: 20px 0 0; font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.quienes__cifra span { font-size: .4em; font-weight: 600; letter-spacing: 0; }
.quienes__caja > p { margin: 0; font-size: 1.125rem; line-height: 1.65; color: var(--sobre-azul); text-wrap: pretty; }
.quienes__caja > img {
  grid-column: 1 / -1; display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 10px;
}

.tema-jaen .faq { max-width: 860px; }
.tema-jaen .faq > h2 { margin-bottom: 28px; }
.tema-jaen .faq__lista { border-top: 0; }
.tema-jaen .faq summary { gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.125rem; line-height: normal; }
.tema-jaen .faq summary::after { font-size: 1.625rem; }
.tema-jaen .faq details p { margin: 0; padding: 0 40px 24px 0; max-width: none; font-size: 1.0625rem; line-height: 1.6; }

.tema-jaen .presupuesto {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 72px);
}
.tema-jaen .presupuesto__texto { display: block; }
.tema-jaen .presupuesto h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; letter-spacing: -.025em; }
.tema-jaen .presupuesto__texto > p { margin-top: 20px; max-width: none; font-size: 1.125rem; }
.tema-jaen .presupuesto__contacto { margin-top: 28px; padding-top: 0; max-width: 380px; }
.tema-jaen .presupuesto__contacto .boton { min-height: 0; padding: 16px 22px; }
.tema-jaen .presupuesto__contacto .boton--linea { padding: 14px 20px; }
.tema-jaen .presupuesto__contacto .boton--linea span + span { font-weight: 500; }
.tema-jaen .presupuesto__texto > .presupuesto__horario { margin-top: 16px; font-size: .9375rem; }

.tema-jaen .formulario-caja { padding: clamp(24px, 4vw, 36px); border-radius: 14px; }
.tema-jaen .campo input,
.tema-jaen .campo textarea { min-height: 0; border-radius: 8px; }
.tema-jaen .campo__opcional { margin-top: -4px; font-size: inherit; }
.tema-jaen .formulario__enviar { min-height: 0; }

.tema-jaen .pie__fila {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px;
  padding: 48px 24px 40px; line-height: 1.7;
}
.tema-jaen .pie__empresa { display: contents; }
.tema-jaen .pie__empresa strong { font-size: 1.0625rem; }
.tema-jaen .pie__datos { gap: 0; }
.tema-jaen .pie__datos a:first-child { color: #fff; font-weight: 600; }
.tema-jaen .pie__ciudades { gap: 0; }

@media (max-width: 719.98px) {
  .tema-jaen.barra-movil .barra { gap: 0; padding: 0 0 env(safe-area-inset-bottom, 0px); background: var(--azul); border: 0; box-shadow: 0 -4px 20px rgba(0, 0, 0, .12); }
  .tema-jaen.barra-movil .barra a { min-height: 0; padding: 16px; border-radius: 0; font-size: 1rem; }
  .tema-jaen.barra-movil .pie { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}


/* =====================================================================
   GRANADA · diseño aprobado (Zilla Slab + Source Sans 3)
   ===================================================================== */

.tema-granada h1 { font-size: clamp(2.375rem, 5.4vw, 3.875rem); line-height: 1.04; letter-spacing: 0; }
.tema-granada h2 { font-size: clamp(1.875rem, 3.6vw, 2.625rem); }

.tema-granada .cabecera { background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: var(--borde-suave); }
.tema-granada .cabecera__logo img { height: 56px; }
.tema-granada .cabecera__menu { font-size: 1rem; font-weight: 600; }
.tema-granada .cabecera__nav a[aria-current="page"] { color: var(--rojo); font-weight: 600; }
.tema-granada .cabecera__llamar { min-height: 0; padding: 11px 18px; font-weight: 700; }
@media (min-width: 720px) {
  .tema-granada .cabecera__fila { gap: 12px 28px; }
  .tema-granada .cabecera__menu { flex: 1 1 auto; gap: 28px; }
  .tema-granada .cabecera__nav { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 719.98px) {
  .tema-granada .cabecera__logo img { height: 40px; }
  .tema-granada .cabecera__menu { font-size: .9375rem; }
  .tema-granada .cabecera__llamar { padding: 8px 12px; }
}
@media (max-width: 359.98px) {
  .tema-granada .cabecera__logo img { height: 34px; }
  .tema-granada .cabecera__menu { font-size: .875rem; }
}

.tema-granada .boton { min-height: 0; padding: 15px 22px; font-weight: 700; font-size: 1.0625rem; }
.tema-granada .boton--linea { padding: 14px 22px; background: #fff; }
.tema-granada .boton--linea:hover { background: var(--tinta); }

.tema-granada .hero { padding: clamp(40px, 7vw, 88px) 24px clamp(48px, 7vw, 96px); }
.tema-granada .hero__texto { display: block; }
.tema-granada .antetitulo { margin-bottom: 20px; font-size: .875rem; font-weight: 700; }
.tema-granada .hero h1 { margin-bottom: 22px; }
.tema-granada .hero__entrada { margin-bottom: 34px; max-width: 520px; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; }
.tema-granada .hero__botones { padding-top: 0; }

.tema-granada .confianza { background: var(--suave); border-color: var(--borde-suave); }
.tema-granada .confianza__lista { padding: 36px 24px; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 220px), clamp(0px, (964px - 100%) * 999, 34%)), 1fr)); }
.tema-granada .confianza__lista li { gap: 16px; font-size: 1.0625rem; }
.tema-granada .simbolo--anos {
  width: 44px; height: 44px; min-width: 0; justify-content: center; border-radius: 50%; background: var(--azul);
  font-size: 1.0625rem; color: #fff;
}
.tema-granada .simbolo--camion::before { width: 36px; height: 30px; border: 5px solid var(--rojo); border-top: 0; border-radius: 0; background: none; }
.tema-granada .simbolo--montaje::before { border-left-width: 18px; border-right-width: 18px; border-top-width: 28px; }
.tema-granada .simbolo--guarda { align-items: flex-end; }
.tema-granada .simbolo--guarda::before {
  width: 34px; height: 20px; margin-bottom: 10px;
  border: 5px solid var(--azul); border-bottom: 0; border-radius: 18px 18px 0 0;
}

/* En Granada las secciones alternan bandas de color a todo el ancho */
.tema-granada .seccion { padding-bottom: var(--aire); }
.banda--suave { background: var(--suave); }
.banda--azul { background: var(--azul); color: #fff; }

.tema-granada .servicios > h2 { margin-bottom: 14px; }
.servicios__entrada { margin: 0 0 40px; max-width: 600px; font-size: 1.125rem; line-height: 1.55; color: var(--texto); }
.tema-granada .tarjetas { gap: 20px; grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 240px), clamp(0px, (1020px - 100%) * 999, 34%)), 1fr)); }
.tema-granada .tarjeta { display: block; padding: 28px 26px; background: none; border-top: 4px solid var(--rojo); }
.tema-granada .tarjeta:nth-child(even) { border-top-color: var(--azul); }
.tema-granada .tarjeta::before { content: none; }
.tema-granada .tarjeta h3 { margin-bottom: 10px; font-family: var(--titulos); font-size: 1.4375rem; }
.tema-granada .tarjeta p { font-size: 1.0625rem; }

.tema-granada .pasos { padding-block: clamp(64px, 9vw, 104px); }
.tema-granada .pasos > h2 { margin-bottom: 44px; color: #fff; }
.tema-granada .pasos__lista { gap: 32px; grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 220px), clamp(0px, (976px - 100%) * 999, 34%)), 1fr)); }
.tema-granada .pasos__lista li { display: block; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .35); }
.tema-granada .pasos__numero { display: block; margin-bottom: 14px; font-size: 2.5rem; line-height: 1; color: #fff; }
.tema-granada .pasos__lista h3 { margin-bottom: 8px; font-size: 1.25rem; color: #fff; }
.tema-granada .pasos__lista p { font-size: 1.0625rem; color: var(--sobre-azul); }

.tema-granada .cobertura {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.tema-granada .cobertura__texto { display: block; }
.tema-granada .cobertura__texto h2 { margin-bottom: 18px; }
.tema-granada .cobertura__texto p { max-width: none; font-size: 1.125rem; color: var(--texto); }
.zonas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 28px; }
.zonas li { padding: 18px 0; border-bottom: 1px solid var(--borde); }
.zonas strong { display: block; font-weight: 700; font-size: 1.125rem; }
.zonas span { display: block; margin-top: 2px; font-size: .9375rem; color: var(--texto-tenue); }

.tema-granada .quienes > img,
.tema-granada .centro > img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 10px; }
.tema-granada .quienes > img { aspect-ratio: 4 / 3; }
.tema-granada .centro > img { max-height: 620px; aspect-ratio: 3 / 4; }
.tema-granada .bloque-texto { display: block; }
.tema-granada .bloque-texto h2 { margin-bottom: 18px; text-wrap: balance; }
.tema-granada .bloque-texto p:not(.antetitulo) { font-size: 1.125rem; color: var(--texto-fuerte); }
.tema-granada .centro .bloque-texto p:not(.antetitulo) { margin-bottom: 18px; }
.tema-granada .bloque-texto .antetitulo { margin-bottom: 16px; }
.tema-granada .antetitulo--rojo::before {
  border-left: 10px solid var(--rojo); border-right: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.tema-granada .centro .bloque-texto p.destacado {
  margin-bottom: 0; padding-top: 18px; border-top: 2px solid var(--azul);
  font-size: 1.1875rem; line-height: 1.6; color: var(--tinta);
}

.tema-granada .faq > h2 { margin-bottom: 32px; }
.tema-granada .faq__lista { border-top: 0; }
.tema-granada .faq details { padding: 4px 0; }
.tema-granada .faq summary { padding: 18px 0; font-weight: 700; font-size: 1.1875rem; line-height: 1.35; }
.tema-granada .faq summary::after { line-height: normal; }
.tema-granada .faq details p { margin-bottom: 20px; max-width: none; font-size: 1.0625rem; line-height: 1.6; text-wrap: pretty; }

.tema-granada .presupuesto { gap: clamp(32px, 5vw, 72px); }
.tema-granada .presupuesto__texto { display: block; }
.tema-granada .presupuesto h2 { margin-bottom: 18px; font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.08; }
.tema-granada .presupuesto__texto > p { margin-bottom: 30px; max-width: none; font-size: 1.125rem; }
.tema-granada .presupuesto__contacto { padding-top: 0; max-width: 340px; }
.tema-granada .presupuesto__contacto .boton { min-height: 0; padding: 15px 22px; border-radius: 6px; }
.presupuesto__correo { padding: 8px 0; text-align: center; font-weight: 600; font-size: 1.0625rem; }
.tema-granada .presupuesto__texto > .presupuesto__horario { margin: 14px 0 0; font-size: 1rem; }

.tema-granada .formulario-caja { padding: clamp(22px, 3vw, 36px); background: none; }
.tema-granada .formulario { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.tema-granada .campo { font-size: .9375rem; }
.tema-granada .campo input,
.tema-granada .campo textarea { min-height: 0; }
.tema-granada .campo__opcional { margin-top: -6px; font-size: inherit; }
.tema-granada .formulario__enviar { min-height: 0; padding: 16px 22px; }

.tema-granada .pie a { text-decoration: underline; }
.tema-granada .pie__fila { padding: 40px 24px; gap: 20px 40px; font-size: 1rem; line-height: normal; }
.tema-granada .pie__empresa,
.tema-granada .pie__datos { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.tema-granada .pie__ciudades { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; }
.tema-granada .pie__extra-fila { font-size: .875rem; }


/* ---------- Carrusel de fotos (Granada) ---------- */

.carrusel__marco { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; background: var(--foto-fondo); }
.carrusel__pista {
  display: flex; height: 100%;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.carrusel__pista::-webkit-scrollbar { display: none; }
.carrusel__pista img {
  flex: 0 0 100%; display: block; width: 100%; height: 100%; object-fit: cover;
  scroll-snap-align: start; scroll-snap-stop: always;
}
.carrusel__flecha {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--tinta); cursor: pointer;
}
.carrusel__flecha:hover { background: #fff; }
.carrusel__flecha svg { display: block; width: 20px; height: 20px; }
.carrusel__flecha--anterior { left: 12px; }
.carrusel__flecha--siguiente { right: 12px; }
.carrusel__pie { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; }
/* Cada punto ocupa 24 px para poder tocarlo con el dedo; el punto visible mide 8 px */
.carrusel__puntos { display: flex; margin: -8px 0 -8px -8px; }
.carrusel__puntos button {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
  transition: width .3s;
}
.carrusel__puntos button::before {
  content: ""; width: 8px; height: 8px; border-radius: 4px; background: #c9cdd5;
  transition: width .3s, background-color .3s;
}
.carrusel__puntos button[aria-current="true"] { width: 44px; }
.carrusel__puntos button[aria-current="true"]::before { width: 28px; background: var(--rojo); }
.carrusel__contador { font-size: .875rem; color: var(--texto-tenue); font-variant-numeric: tabular-nums; }
.carrusel__creditos { margin: 10px 0 0; font-size: .75rem; line-height: 1.5; color: var(--texto-tenue); }
.carrusel__creditos a { color: inherit; }
/* Sin JavaScript el carrusel se recorre deslizando; los mandos solo salen si funcionan */
html:not(.js) .carrusel__flecha,
html:not(.js) .carrusel__pie { display: none; }


/* =====================================================================
   Portada, contacto y páginas de texto
   ===================================================================== */

.hero--inicio h1 { font-size: clamp(2.25rem, 4.8vw, 3.5rem); line-height: 1.04; }
.hero--inicio .hero__entrada { max-width: 44ch; }
.seccion--final { padding-bottom: var(--aire); }

.ciudades { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.ciudad {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 24px; background: #fff; border: 1px solid var(--borde); border-radius: 10px;
}
.ciudad::before { content: ""; display: block; width: 28px; height: 4px; background: var(--rojo); }
.ciudad:nth-child(even)::before { background: var(--azul); }
.ciudad h3 { font-family: var(--titulos); font-weight: 700; font-size: 1.625rem; line-height: 1.1; }
.ciudad h3 a { color: var(--tinta); text-decoration: none; }
.ciudad h3 a:hover { color: var(--rojo); }
.ciudad p { margin: 0; flex: 1; font-size: 1rem; line-height: 1.55; color: var(--texto-suave); }
.ciudad__enlace { align-self: flex-start; font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }

.seccion__entrada { margin: -18px 0 36px; max-width: 62ch; font-size: 1.0625rem; line-height: 1.6; color: var(--texto); text-wrap: pretty; }
.seccion__nota { margin: 28px 0 0; max-width: 70ch; font-size: 1.0625rem; line-height: 1.6; color: var(--texto); text-wrap: pretty; }

.contacto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contacto__cabecera { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 20px; }
.contacto__cabecera h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.contacto__cabecera p { margin: 0; max-width: 60ch; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); line-height: 1.55; color: var(--texto); text-wrap: pretty; }
.datos { margin: 0; border-top: 2px solid var(--tinta); }
.datos div { padding: 16px 0; border-bottom: 1px solid var(--linea); }
.datos dt { font-size: .875rem; font-weight: 600; color: var(--texto-tenue); }
.datos dd { margin: 4px 0 0; font-size: 1.125rem; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.datos dd a { color: var(--tinta); text-decoration: underline; text-underline-offset: .18em; }
.datos dd a:hover { color: var(--rojo); }
.datos dd small { display: block; font-size: .9375rem; font-weight: 400; color: var(--texto); }

.pagina-texto { max-width: var(--ancho); margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--lado) var(--aire); }
.prosa { max-width: 46rem; font-size: 1.0625rem; line-height: 1.65; color: var(--texto); }
.prosa > * { margin: 0; }
.prosa > * + * { margin-top: 16px; }
.prosa h1 { margin-bottom: 28px; font-size: clamp(2.125rem, 4.6vw, 3.25rem); line-height: 1.05; color: var(--tinta); }
.prosa h2 { margin-top: 40px; font-size: 1.5rem; line-height: 1.2; color: var(--tinta); }
.prosa h2 + * { margin-top: 12px; }
.prosa ul, .prosa ol { padding-left: 1.25rem; }
.prosa li + li { margin-top: 8px; }
.prosa a { text-decoration: underline; text-underline-offset: .18em; }
.prosa a.boton { text-decoration: none; }
.prosa strong { color: var(--tinta); }
.prosa address { font-style: normal; }
.prosa .actualizado { font-size: .9375rem; color: var(--texto-tenue); }
.prosa .botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tabla-datos { width: 100%; border-collapse: collapse; border-top: 2px solid var(--tinta); }
.tabla-datos th, .tabla-datos td { padding: 12px 0; border-bottom: 1px solid var(--linea); text-align: left; vertical-align: top; }
.tabla-datos th { width: 34%; padding-right: 16px; font-weight: 600; color: var(--tinta); }


/* ---------- Movimiento e impresión ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .cabecera, .barra, .formulario-caja, .carrusel__flecha, .carrusel__pie, .saltar, .aviso-pruebas { display: none !important; }
  body { background: #fff; }
  .pie { padding-bottom: 0 !important; }
}
