/* Barbería Don Barber · Zarzaquemada (Leganés)
   Paleta «placa esmaltada»: azul cobalto de las placas de calle y del mono de trabajo,
   blanco de toalla y verde loción como acento. Rótulos en Encode Sans Expanded. */

@font-face {
  font-family: 'Encode Sans Expanded';
  src: url('/assets/fonts/encode-sans-expanded-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Encode Sans Expanded';
  src: url('/assets/fonts/encode-sans-expanded-latin-800-normal.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Encode Sans Expanded';
  src: url('/assets/fonts/encode-sans-expanded-latin-900-normal.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Encode Sans';
  src: url('/assets/fonts/encode-sans-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Encode Sans';
  src: url('/assets/fonts/encode-sans-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Encode Sans';
  src: url('/assets/fonts/encode-sans-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --azul: #2340C8;        /* cobalto: hero, botones, enlaces */
  --azul-hondo: #1A2E99;  /* banda VIP, hover de botones azules */
  --azul-claro: #DCE3FF;  /* texto secundario sobre azul */
  --tinta: #11162B;       /* texto */
  --tinta-2: #4A5068;     /* texto secundario sobre claro */
  --menta: #9BE7C4;       /* acento: verde loción */
  --menta-luz: #C4F2DC;   /* hover del botón menta */
  --menta-velo: #E3F6EC;  /* banda de reseñas y filas destacadas */
  --menta-hondo: #1C7A52; /* «abierto» sobre claro */
  --papel: #FFFFFF;
  --loza: #F3F4F8;        /* banda de «Dónde estamos» */
  --linea: #D9DDE8;

  --f-rotulo: 'Encode Sans Expanded', 'Arial Black', system-ui, sans-serif;
  --f-texto: 'Encode Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --banner-h: 44px;
  --header-h: 64px;
  --header-total: calc(var(--banner-h) + var(--header-h));
  --radio: 14px;
  --sombra-rotulo: 6px 6px 0 var(--azul);
  --foco: var(--azul);
}

@media (min-width: 760px) {
  :root { --banner-h: 28px; --header-h: 72px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-total) + 12px);
}
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.con-barra { padding-bottom: 76px; }
@media (min-width: 960px) { body.con-barra { padding-bottom: 0; } }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--f-rotulo); line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1.05rem + 2.3vw, 2.6rem); font-weight: 900; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--azul); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--azul-hondo); }
a[href^="tel:"] { white-space: nowrap; }
small { font-size: 0.8em; }
address { font-style: normal; }
:where(ul, ol)[role="list"] { list-style: none; padding: 0; margin: 0; }

:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1192px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 760px) { .wrap { max-width: 1224px; padding-left: 32px; padding-right: 32px; } }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.salto {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 8px;
  background: var(--tinta); color: var(--papel);
  font-weight: 700; text-decoration: none;
}
.salto:focus { top: 8px; }
.salto:hover, .salto:focus:hover { background: var(--azul-hondo); color: var(--papel); }

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--f-rotulo); font-weight: 800;
  font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--menta);
}
.eyebrow--azul { color: var(--azul); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 10px;
  font-family: var(--f-rotulo); font-weight: 800; font-size: 0.9375rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn span { white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn__icono { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn--menta { background: var(--menta); color: var(--tinta); }
.btn--menta:hover { background: var(--menta-luz); color: var(--tinta); }
.btn--borde { border-color: rgba(255, 255, 255, 0.75); color: var(--papel); }
.btn--borde:hover { background: var(--papel); border-color: var(--papel); color: var(--azul); }
.btn--azul { background: var(--azul); color: var(--papel); }
.btn--azul:hover { background: var(--azul-hondo); color: var(--papel); }
.btn--borde-azul { border-color: var(--azul); color: var(--azul); }
.btn--borde-azul:hover { background: var(--azul); color: var(--papel); }

@media (max-width: 420px) {
  .btn { padding: 0 16px; font-size: 0.875rem; gap: 8px; }
}

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: var(--papel);
  border-bottom: 1px solid var(--linea);
}
.demo-banner {
  margin: 0; padding: 6px 16px;
  min-height: var(--banner-h);
  display: flex; align-items: center; justify-content: center;
  background: var(--tinta); color: var(--papel);
  font-size: 0.75rem; line-height: 1.35; text-align: center;
}
.cabecera__barra {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; margin-right: auto; }
.logo__placa {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 46px; padding: 5px 12px 6px;
  background: var(--azul); color: var(--papel);
  border-radius: 7px;
  box-shadow: inset 0 0 0 3px var(--azul), inset 0 0 0 4.5px var(--papel);
  line-height: 1;
}
.logo__pre {
  font-family: var(--f-texto); font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--menta);
}
.logo__nombre {
  margin-top: 3px;
  font-family: var(--f-rotulo); font-weight: 900;
  font-size: 1.125rem; letter-spacing: 0.02em; text-transform: uppercase;
}
.logo:hover .logo__placa { background: var(--azul-hondo); box-shadow: inset 0 0 0 3px var(--azul-hondo), inset 0 0 0 4.5px var(--papel); }

.nav__boton {
  display: none;
  align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px;
  background: var(--papel); color: var(--tinta);
  border: 1.5px solid var(--linea); border-radius: 10px;
  font: 700 0.9375rem var(--f-rotulo);
  cursor: pointer;
}
.nav__boton:hover { border-color: var(--azul); color: var(--azul); }
.nav__icono, .nav__icono::before, .nav__icono::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav__icono { position: relative; }
.nav__icono::before, .nav__icono::after { content: ''; position: absolute; left: 0; }
.nav__icono::before { top: -6px; }
.nav__icono::after { top: 6px; }
.nav__boton[aria-expanded="true"] .nav__icono { background: transparent; }
.nav__boton[aria-expanded="true"] .nav__icono::before { transform: translateY(6px) rotate(45deg); }
.nav__boton[aria-expanded="true"] .nav__icono::after { transform: translateY(-6px) rotate(-45deg); }

.nav__lista { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav__lista a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--tinta); text-decoration: none;
  font-family: var(--f-rotulo); font-weight: 600; font-size: 0.875rem;
}
.nav__lista a:hover { color: var(--azul); text-decoration: underline; }

.btn--cabecera { display: none; min-height: 44px; padding: 0 18px; }

/* Sin JS, el menú queda a la vista en su propia fila */
html:not(.js) .cabecera__barra { flex-wrap: wrap; padding-bottom: 6px; }
html:not(.js) .nav { order: 3; width: 100%; }

@media (max-width: 959px) {
  .js .nav__boton { display: inline-flex; }
  .js .nav__lista {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    padding: 8px 16px 16px;
    background: var(--papel);
    border-bottom: 3px solid var(--azul);
    box-shadow: 0 18px 30px rgba(17, 22, 43, 0.12);
  }
  .js .nav__lista.is-open { display: flex; }
  .js .nav__lista a { min-height: 50px; font-size: 1rem; border-bottom: 1px solid var(--linea); width: 100%; }
}
@media (min-width: 760px) and (max-width: 959px) {
  .js .nav__lista { padding-inline: 32px; }
}
@media (min-width: 960px) {
  .btn--cabecera { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  --foco: var(--menta);
  background: var(--azul);
  color: var(--papel);
  padding-top: 40px;
}
.hero__grid { display: grid; gap: 40px; padding-bottom: 56px; }
.hero h1 {
  font-size: clamp(2rem, 1.2rem + 3.8vw, 3.75rem);
  font-weight: 900; line-height: 1.12;
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero__entrada { font-size: 1.125rem; color: var(--azul-claro); max-width: 34rem; }
.hero .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.hero__alt { font-size: 0.9375rem; color: var(--azul-claro); }
.hero__alt a { color: var(--papel); font-weight: 700; }
.hero__alt a:hover { color: var(--menta); }
.hero__datos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__datos li > a, .hero__datos .estado {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 16px;
  border-radius: 22px; line-height: 1.3;
  background: rgba(17, 22, 43, 0.28);
  color: var(--papel); text-decoration: none;
  font-size: 0.9375rem;
}
.hero__datos li > a:hover { background: var(--papel); color: var(--azul); }
.hero__datos li > a:hover .estrella { color: var(--azul); }
.estrella { color: var(--menta); }

.hero__foto { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.marco {
  margin: 0;
  overflow: hidden;
  /* Espejo de barbería: arco arriba, recto abajo */
  border-radius: 999px 999px 14px 14px / 46% 46% 14px 14px;
  border: 6px solid var(--papel);
  box-shadow: 10px 10px 0 var(--tinta);
  aspect-ratio: 4 / 5;
  background: var(--azul-hondo);
}
.marco img { width: 100%; height: 100%; object-fit: cover; }

.tablilla {
  position: relative;
  margin: -96px 0 0 auto;
  width: min(270px, 86%);
  padding: 16px 18px 14px;
  background: var(--papel); color: var(--tinta);
  border: 3px solid var(--tinta);
  border-radius: 10px;
  box-shadow: 8px 8px 0 var(--tinta);
}
.tablilla__titulo {
  margin-bottom: 8px;
  font-family: var(--f-rotulo); font-weight: 800;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--azul);
}
.tablilla__lista { margin: 0 0 10px; }
.tablilla__lista div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 6px 0;
  border-bottom: 2px dotted #9AA1B8;
}
.tablilla__lista dt { font-weight: 600; }
.tablilla__lista dd { margin: 0; font-family: var(--f-rotulo); font-weight: 900; font-size: 1.25rem; color: var(--azul); }
.tablilla__enlace {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; font-size: 0.9375rem; color: var(--azul);
}
.tablilla__enlace:hover { color: var(--azul-hondo); }
.tablilla .tablilla__enlace:focus-visible { outline-color: var(--azul); }

@media (min-width: 960px) {
  .hero { padding-top: 64px; }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 64px; padding-bottom: 88px; }
  .hero__foto { justify-self: end; }
  .tablilla { position: absolute; left: -64px; bottom: 28px; margin: 0; width: 260px; }
}

/* Franja de baldosas (el suelo de la barbería) */
.cuadros {
  height: 24px;
  background: repeating-conic-gradient(var(--azul) 0 25%, var(--papel) 0 50%) 0 0 / 24px 24px;
}
.cuadros--pie { background: repeating-conic-gradient(var(--papel) 0 25%, var(--azul) 0 50%) 0 0 / 24px 24px; }

/* ---------- Secciones ---------- */
.seccion { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 960px) { .seccion { padding-top: 96px; padding-bottom: 96px; } }
.seccion__cabeza { max-width: 46rem; margin-bottom: 36px; }
.seccion__cabeza h2 { margin-bottom: 16px; text-wrap: balance; }
.seccion__cabeza > p:not(.eyebrow) { color: var(--tinta-2); }
.nota {
  padding: 12px 16px;
  border: 1.5px dashed #8A92AC;
  background: var(--loza);
  border-radius: 10px;
  font-size: 0.9375rem;
}
.seccion__cabeza .nota { color: var(--tinta); }

/* ---------- Carta de precios ---------- */
.carta__grid { columns: 1; }
@media (min-width: 760px) { .carta__grid { columns: 2; column-gap: 56px; } }
.grupo {
  display: block;
  break-inside: avoid;
  margin-bottom: 36px;
  padding-top: 12px;
  border-top: 4px solid var(--tinta);
}
.grupo__titulo {
  display: block; margin-bottom: 4px;
  font-family: var(--f-rotulo); font-weight: 800;
  font-size: 0.9375rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--azul);
}
.precios li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "nombre guia precio" "dur dur dur";
  align-items: baseline;
  column-gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--linea);
}
.precios__nombre { grid-area: nombre; font-weight: 600; }
.precios__nombre small { font-weight: 400; color: var(--tinta-2); }
.precios__guia { grid-area: guia; border-bottom: 2px dotted #9AA1B8; transform: translateY(-5px); min-width: 16px; }
.precios__precio { grid-area: precio; font-family: var(--f-rotulo); font-weight: 900; font-size: 1.125rem; white-space: nowrap; }
.precios__precio small { font-family: var(--f-texto); font-weight: 600; font-size: 0.75rem; color: var(--tinta-2); }
.precios__dur { grid-area: dur; font-size: 0.875rem; color: var(--tinta-2); }
.precios li.precios--destacado {
  margin-inline: -12px;
  padding: 12px;
  background: var(--menta-velo);
  border-radius: 8px;
  border-bottom-color: transparent;
}
@media (max-width: 420px) {
  .precios li { grid-template-columns: 1fr auto; grid-template-areas: "nombre precio" "dur dur"; }
  .precios__guia { display: none; }
}

.grupo--vip {
  padding: 22px 22px 20px;
  border-top: 0;
  border-radius: var(--radio);
  background: var(--azul); color: var(--papel);
  text-decoration: none;
  box-shadow: 8px 8px 0 var(--tinta);
  --foco: var(--tinta);
}
.grupo--vip .grupo__titulo { color: var(--menta); }
.grupo--vip__nombre { display: block; margin: 6px 0 8px; font-family: var(--f-rotulo); font-weight: 900; font-size: 1.35rem; line-height: 1.15; }
.grupo--vip__datos { display: block; color: var(--azul-claro); }
.grupo--vip__datos strong { font-family: var(--f-rotulo); font-weight: 900; font-size: 1.5rem; color: var(--papel); }
.grupo--vip__ver { display: inline-block; margin-top: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.grupo--vip:hover { background: var(--azul-hondo); color: var(--papel); }

.carta__pie { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.carta__pie p { margin: 0; color: var(--tinta-2); }

/* ---------- Para todo el barrio ---------- */
.barrio { border-top: 1px solid var(--linea); }
.barrio__grid { display: grid; gap: 40px; }
.barrio__cabeza h2 { margin-bottom: 16px; text-wrap: balance; }
.barrio__cabeza > p:not(.eyebrow) { color: var(--tinta-2); max-width: 36rem; }
.barrio__foto {
  margin: 28px 0 0;
  border-radius: var(--radio);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 3px solid var(--tinta);
}
.barrio__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

.fichas { display: grid; gap: 22px; align-content: start; }
.ficha {
  padding: 22px 22px 20px;
  background: var(--papel);
  border: 3px solid var(--tinta);
  border-radius: var(--radio);
  box-shadow: var(--sombra-rotulo);
}
.ficha__etiqueta {
  display: inline-block; margin-bottom: 12px;
  padding: 4px 10px;
  background: var(--menta); color: var(--tinta);
  border-radius: 999px;
  font-family: var(--f-rotulo); font-weight: 800;
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.ficha__titulo { font-size: 1.3rem; margin-bottom: 6px; }
.ficha__precio { margin-bottom: 10px; font-family: var(--f-rotulo); font-weight: 900; font-size: 2rem; color: var(--azul); line-height: 1.1; }
.ficha__precio span { font-family: var(--f-texto); font-weight: 600; font-size: 1rem; color: var(--tinta-2); }
.ficha__precio small { font-family: var(--f-texto); font-weight: 600; font-size: 0.875rem; color: var(--tinta-2); }
.ficha > p:last-child { color: var(--tinta-2); }

@media (min-width: 960px) {
  .barrio__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .barrio__foto { aspect-ratio: 5 / 4; }
}

/* ---------- VIP Experience ---------- */
.vip {
  --foco: var(--menta);
  background: var(--azul-hondo);
  color: var(--papel);
  padding-top: 64px; padding-bottom: 64px;
}
.vip__grid { display: grid; gap: 40px; align-items: center; }
.vip__foto {
  margin: 0;
  max-width: 440px; width: 100%; justify-self: center;
  border-radius: 14px 14px 999px 999px / 14px 14px 46% 46%;
  overflow: hidden;
  border: 6px solid var(--menta);
  aspect-ratio: 4 / 5;
}
.vip__foto img { width: 100%; height: 100%; object-fit: cover; }
.vip h2 { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.9rem); margin-bottom: 14px; }
.vip__precio { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; }
.vip__precio strong { font-family: var(--f-rotulo); font-weight: 900; font-size: 3rem; line-height: 1; color: var(--menta); }
.vip__precio span { font-family: var(--f-rotulo); font-weight: 600; font-size: 1rem; color: var(--azul-claro); }
.vip__entrada { color: var(--azul-claro); font-size: 1.0625rem; max-width: 34rem; }
.vip__subtitulo { margin: 26px 0 12px; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--menta); }
.vip__lista { counter-reset: paso; display: grid; gap: 10px 28px; margin-bottom: 18px; }
@media (min-width: 600px) { .vip__lista { grid-template-columns: 1fr 1fr; } }
.vip__lista li { counter-increment: paso; display: flex; gap: 12px; align-items: baseline; }
.vip__lista li::before {
  content: counter(paso);
  flex: none;
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--menta); color: var(--tinta);
  font-family: var(--f-rotulo); font-weight: 900; font-size: 0.8125rem;
  transform: translateY(-1px);
}
.vip__nota { font-size: 0.875rem; color: var(--azul-claro); margin-bottom: 22px; }
@media (min-width: 960px) {
  .vip { padding-top: 96px; padding-bottom: 96px; }
  .vip__grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
}

/* ---------- Cómo pedir cita ---------- */
.pasos { display: grid; gap: 28px; counter-reset: none; }
@media (min-width: 760px) { .pasos { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.paso { position: relative; padding-top: 18px; border-top: 4px solid var(--tinta); }
.paso__num {
  display: block; margin-bottom: 10px;
  font-family: var(--f-rotulo); font-weight: 900; font-size: 3rem; line-height: 1;
  color: var(--azul);
}
.paso h3 { margin-bottom: 8px; font-size: 1.2rem; }
.paso p { color: var(--tinta-2); }
.cita__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 40px; }
.cita__acciones p { margin: 0; color: var(--tinta-2); max-width: 36rem; }

/* ---------- Reseñas ---------- */
.resenas { background: var(--menta-velo); }
.resenas__grid { display: grid; gap: 36px; align-items: center; }
.nota-grande {
  justify-self: start;
  padding: 26px 30px 22px;
  background: var(--papel);
  border: 3px solid var(--tinta);
  border-radius: var(--radio);
  box-shadow: var(--sombra-rotulo);
  text-align: center;
}
.nota-grande__cifra { margin: 0; font-family: var(--f-rotulo); font-weight: 900; font-size: 5rem; line-height: 1; color: var(--azul); }
.nota-grande__estrellas { margin: 6px 0 4px; font-size: 1.5rem; letter-spacing: 0.12em; color: var(--azul); }
.nota-grande__pie { margin: 0; font-weight: 600; color: var(--tinta-2); }
.resenas__texto h2 { margin-bottom: 16px; }
.resenas__texto > p:not(.eyebrow) { color: var(--tinta); max-width: 40rem; }
.temas { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 26px; }
.temas li {
  padding: 8px 14px;
  background: var(--papel); color: var(--azul);
  border: 2px solid var(--azul); border-radius: 999px;
  font-family: var(--f-rotulo); font-weight: 800; font-size: 0.875rem;
}
.resenas__enlaces { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.resenas__nota { font-size: 0.9375rem; color: var(--tinta-2); }
@media (min-width: 960px) {
  .resenas__grid { grid-template-columns: auto 1fr; gap: 72px; }
  .nota-grande { padding: 40px 48px 32px; }
  .nota-grande__cifra { font-size: 7rem; }
}

/* ---------- Preguntas ---------- */
.preguntas__grid { display: grid; gap: 8px; }
@media (min-width: 960px) {
  .preguntas__grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .preguntas .seccion__cabeza { position: sticky; top: calc(var(--header-total) + 24px); }
}
.faq { border-top: 4px solid var(--tinta); padding-top: 6px; }
.faq__item { border-bottom: 1px solid var(--linea); }
.faq__item summary {
  position: relative;
  display: flex; align-items: center;
  min-height: 56px; padding: 14px 44px 14px 0;
  font-family: var(--f-rotulo); font-weight: 800; font-size: 1rem; line-height: 1.3;
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  position: absolute; right: 4px; top: 50%;
  width: 18px; height: 18px; margin-top: -9px;
  background:
    linear-gradient(var(--azul), var(--azul)) center / 18px 3px no-repeat,
    linear-gradient(var(--azul), var(--azul)) center / 3px 18px no-repeat;
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--azul); }
.faq__respuesta { padding: 0 0 20px; max-width: 42rem; }

/* ---------- Dónde estamos ---------- */
.visitanos { background: var(--loza); }
.visitanos__grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .visitanos__grid { grid-template-columns: 0.9fr 1.1fr; gap: 40px; } }
.tarjeta {
  padding: 24px 22px;
  background: var(--papel);
  border: 3px solid var(--tinta);
  border-radius: var(--radio);
  box-shadow: var(--sombra-rotulo);
}
.direccion h3 { font-size: 1.25rem; margin-bottom: 10px; }
.direccion address { font-size: 1.0625rem; margin-bottom: 6px; }
.direccion__ref { color: var(--tinta-2); }
.enlace-fuerte { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-rotulo); font-weight: 800; font-size: 1.25rem; }
.horario__titulo { margin-top: 20px; margin-bottom: 10px; font-size: 1rem !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--azul); }
.horario { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.horario th, .horario td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--linea); font-size: 1rem; }
.horario th { font-weight: 600; }
.horario td { text-align: right; font-variant-numeric: tabular-nums; }
.horario tr.hoy th, .horario tr.hoy td { background: var(--menta-velo); font-weight: 700; }
.horario tr.hoy th { border-radius: 6px 0 0 6px; }
.horario tr.hoy td { border-radius: 0 6px 6px 0; }
.direccion__botones { display: flex; flex-wrap: wrap; gap: 12px; }

.mapa {
  min-height: 320px;
  border: 3px solid var(--tinta);
  border-radius: var(--radio);
  overflow: hidden;
  background: var(--linea);
}
.mapa iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

.llegar { margin-top: 48px; }
.llegar__titulo { margin-bottom: 18px; font-size: 1.35rem; }
.llegar__lista { display: grid; gap: 18px; }
@media (min-width: 760px) { .llegar__lista { grid-template-columns: 1fr 1fr; gap: 22px 40px; } }
.llegar__lista li { display: flex; gap: 14px; align-items: flex-start; }
.llegar__lista li > div span { color: var(--tinta-2); }
.llegar__chapa {
  flex: none;
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--azul); color: var(--papel);
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px var(--azul), inset 0 0 0 3.5px var(--papel);
  font-family: var(--f-rotulo); font-weight: 900; font-size: 1rem;
}
.llegar__zonas { margin-top: 28px; padding: 14px 16px; background: var(--papel); border: 1.5px solid var(--linea); border-radius: 10px; }
.llegar__fuente { font-size: 0.875rem; color: var(--tinta-2); }

/* Estado «Abierto ahora» */
.estado { font-weight: 600; }
.estado::before {
  content: '';
  width: 10px; height: 10px; border-radius: 50%;
  background: #A9AFC2;
  flex: none;
}
.estado--abierto::before { background: var(--menta); box-shadow: 0 0 0 3px rgba(155, 231, 196, 0.35); }
.estado--tarjeta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.estado--tarjeta.estado--abierto { color: var(--menta-hondo); }
.estado--tarjeta.estado--abierto::before { background: var(--menta-hondo); box-shadow: 0 0 0 3px var(--menta-velo); }
.estado--tarjeta.estado--cerrado { color: var(--tinta-2); }
[hidden] { display: none !important; }

/* ---------- Pie ---------- */
.pie {
  --foco: var(--menta);
  background: var(--azul);
  color: var(--azul-claro);
  box-shadow: 0 96px 0 0 var(--azul);
}
.pie a { color: var(--papel); }
.pie a:hover { color: var(--menta); }
.pie .btn--menta, .pie .btn--menta:hover { color: var(--tinta); }
.pie .btn--borde:hover { color: var(--azul); }
.pie__llamada { padding: 56px 0 40px; border-bottom: 1px solid rgba(220, 227, 255, 0.3); }
.pie__llamada h2 { color: var(--papel); font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.8rem); margin-bottom: 10px; text-wrap: balance; }
.pie__botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.pie__grid { display: grid; gap: 28px; padding: 40px 0 32px; }
@media (min-width: 760px) { .pie__grid { grid-template-columns: repeat(3, 1fr); } }
.pie__marca, .pie__titulo { margin-bottom: 8px; font-family: var(--f-rotulo); font-weight: 800; color: var(--papel); }
.pie__titulo { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--menta); }
.pie__enlaces a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.pie__enlaces--fila { display: flex; flex-wrap: wrap; gap: 0 24px; }
.pie__legal { padding: 16px 0 32px; border-top: 1px solid rgba(220, 227, 255, 0.3); font-size: 0.875rem; }
.pie__creditos { margin-top: 6px; }

/* ---------- Barra fija de contacto (móvil) ---------- */
.barra-movil {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--papel);
  border-top: 1px solid var(--linea);
  box-shadow: 0 -10px 24px rgba(17, 22, 43, 0.12);
  transition: transform .25s ease, visibility .25s;
}
.barra-movil.is-hidden { transform: translateY(110%); visibility: hidden; }
.barra-movil a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 56px; padding: 4px;
  border: 2px solid var(--azul); border-radius: 10px;
  color: var(--azul); text-decoration: none;
  font-family: var(--f-rotulo); font-weight: 800; font-size: 0.75rem;
}
.barra-movil a span { white-space: nowrap; }
.barra-movil svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.barra-movil a:hover { background: var(--azul); color: var(--papel); }
.barra-movil .barra-movil__principal { background: var(--azul); color: var(--papel); }
.barra-movil .barra-movil__principal:hover { background: var(--azul-hondo); border-color: var(--azul-hondo); color: var(--papel); }
@media (min-width: 960px) { .barra-movil { display: none; } }

/* ---------- Páginas interiores (legales y 404) ---------- */
.interior { padding-top: 48px; padding-bottom: 72px; }
.interior__volver {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  margin-bottom: 18px;
  font-weight: 700;
}
.interior h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); font-weight: 900; margin-bottom: 24px; }
.interior h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.texto-legal { max-width: 46rem; }
.texto-legal ul { padding-left: 1.2em; }
.texto-legal li { margin-bottom: 6px; }
.error404 { text-align: left; max-width: 40rem; }
.error404__cifra { font-family: var(--f-rotulo); font-weight: 900; font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; color: var(--azul); margin-bottom: 8px; }
.error404 .btn-fila { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pie--simple .pie__legal { border-top: 0; padding-top: 28px; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Sin JS, la barra de contacto se ve siempre */
html:not(.js) .barra-movil.is-hidden { transform: none; visibility: visible; }
.chip__icono { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--menta); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__datos li > a:hover .chip__icono { stroke: var(--azul); }

/* Páginas cortas (legales, 404): el pie queda abajo */
body:not(.con-barra) { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body:not(.con-barra) > main { flex: 1 0 auto; width: 100%; }
