/* Web de Ábora, v5. Colores y logo del cartel del dueño (23/10/2026): fondo pergamino, azul noche,
   naranja y el azul de la espiral; "Ábora" en letra de brocha sobre la espiral. Archivo variable para el texto
   (estrecha y negra en los títulos, como el cartel).
   La espiral grande de la portada es un reloj: va de la apertura al cierre y se para en la hora actual. */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --cal: #F3EADB;           /* pergamino del cartel */
  --papel: #FBF7F0;         /* campos y paneles */
  --tinta: #16223C;         /* azul noche */
  --cobalto: #2456AF;       /* azul de la espiral */
  --tinta-suave: #4A5470;
  --velo: #E2D3BE;          /* líneas */
  --pista: #CBD5EA;         /* tramo de la espiral que aún no ha pasado */
  --muro: #E87E30;          /* naranja del cartel: rellenos, el punto "ahora", el foco */
  --naranja-texto: #A84F17; /* naranja para texto sobre pergamino (AA) */
  --naranja-claro: #F4A15A; /* naranja para texto sobre azul noche */
  --brocha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M7 9C52 3 120 7 196 4s150-3 198 6l-5 21 7 21c-94 7-196 2-270 6S24 56 3 51l6-21-6-19z'/%3E%3C/svg%3E");
  --margen: 20px;
  --barra: 56px;
  --hueco: 88px;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--barra) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--cal);
  color: var(--tinta);
  font: 400 17px/1.5 "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: 100%;
  overflow-x: clip;
}

a { color: inherit; text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--muro); outline-offset: 2px; border-radius: 2px; }
main:focus, [tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }

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

.saltar {
  position: absolute; left: var(--margen); top: -100px; z-index: 40;
  background: var(--cobalto); color: #fff; padding: 12px 16px; text-decoration: none; font-weight: 600;
}
.saltar:focus { top: 8px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border: 2px solid var(--cobalto); border-radius: 26px;
  font-size: 17px; font-weight: 650; font-stretch: 105%; line-height: 1.1;
  text-decoration: none; text-align: center; cursor: pointer;
}
.btn-tinta { background: var(--cobalto); color: #fff; }
.btn-tinta:hover { background: var(--tinta); border-color: var(--tinta); }
.btn-linea { background: transparent; color: var(--cobalto); }
.btn-linea:hover { background: var(--velo); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.enlace {
  padding: 10px 0; border: 0; background: none; cursor: pointer;
  color: var(--cobalto); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* ---------- barra fija ---------- */
.barra {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 4px;
  height: var(--barra);
  padding: 0 max(calc(var(--margen) - 10px), env(safe-area-inset-right)) 0 max(calc(var(--margen) - 8px), env(safe-area-inset-left));
  background: var(--cal);
}
.barra-inicio { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-right: auto; }
.barra-inicio svg { width: 34px; height: 34px; overflow: visible; }
.barra-inicio use { fill: none; stroke: var(--cobalto); stroke-width: 5; stroke-linecap: round; }
.barra-nav { display: flex; }
.barra-nav a {
  display: flex; align-items: center; height: 44px; padding: 0 11px;
  font-size: 16px; font-weight: 600; text-decoration: none; color: var(--tinta);
}
.barra-nav a:hover { color: var(--cobalto); }
.idioma { flex: none; position: relative; }
.idioma select {
  appearance: none; -webkit-appearance: none;
  height: 44px; min-width: 56px; padding: 0 24px 0 12px;
  border: 0; border-radius: 22px; background: transparent;
  font-size: 16px; font-weight: 600; font-stretch: 110%; color: var(--cobalto); cursor: pointer;
}
.idioma::after {
  content: ""; position: absolute; right: 11px; top: 50%; pointer-events: none;
  width: 6px; height: 6px; margin-top: -5px;
  border: solid var(--cobalto); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ---------- portada: la espiral-reloj y el nombre ---------- */
.portada {
  position: relative;
  padding: 0 var(--margen) 64px;
}
.reloj {
  position: relative;
  width: min(92vw, 560px); aspect-ratio: 1;
  margin: 0 calc(var(--margen) * -1 - 2vw) 0 auto;
}
.reloj svg { display: block; width: 100%; height: 100%; overflow: visible; }
.reloj use { fill: none; stroke-width: 3.4; stroke-linecap: round; }
.reloj-pista { stroke: var(--velo); }
/* el largo real del trazo lo pone main.js (pathLength no sirve a través de <use>) */
.reloj-tinta { stroke: var(--cobalto); stroke-dasharray: var(--largo, 600) var(--largo, 600); stroke-dashoffset: var(--resto, 600); }
@media (prefers-reduced-motion: no-preference) {
  .reloj.trazar .reloj-tinta { animation: trazar var(--dur, 1.1s) cubic-bezier(.45, 0, .2, 1) .15s both; }
  .reloj.trazar .ahora { animation: aparecer .25s ease-out calc(var(--dur, 1.1s) + .1s) both; }
}
@keyframes trazar { from { stroke-dashoffset: var(--largo, 600); } to { stroke-dashoffset: var(--resto, 600); } }
@keyframes aparecer { from { opacity: 0; } }

/* el punto naranja: "ahora" */
.ahora {
  position: absolute; z-index: 2; left: var(--x, 50%); top: var(--y, 47%);
  width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; background: var(--muro); box-shadow: 0 0 0 4px var(--cal);
}
.js .ahora:not(.listo) { visibility: hidden; }
.ahora-hora {
  position: absolute; left: 24px; top: 50%; transform: translateY(-50%);
  padding: 2px 6px; border-radius: 4px; background: var(--cal);
  font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--tinta); white-space: nowrap;
}
.ahora.izquierda .ahora-hora { left: auto; right: 24px; }

.rotulo {
  position: relative; z-index: 1;
  margin: -11vw 0 0;
  font-size: clamp(72px, 23vw, 232px); line-height: .86;
  font-weight: 800; font-stretch: 125%; letter-spacing: -.045em;
  color: var(--cobalto);
  /* como en el rótulo: la espiral pasa por detrás de las letras */
  -webkit-text-stroke: .065em var(--cal);
  paint-order: stroke fill;
}
.portada-texto { position: relative; z-index: 1; }
.sub { margin: 22px 0 0; font-size: 22px; line-height: 1.35; font-weight: 500; }
.estado { margin: 8px 0 28px; min-height: 1.5em; color: var(--tinta-suave); }
.estado b { color: var(--tinta); font-weight: 650; }

/* ---------- hoy en Ábora ---------- */
.hoy { padding: 0 var(--margen); }
.hoy-enlace {
  display: block; padding: 40px 0 44px;
  border-top: 2px solid var(--velo); border-bottom: 2px solid var(--velo);
  text-decoration: none;
}
.hoy-frase {
  display: block;
  font-size: clamp(34px, 8.5vw, 53px); line-height: 1.08;
  font-weight: 720; font-stretch: 112%; letter-spacing: -.02em;
}
.hoy-destino {
  display: inline-block; margin-top: 14px;
  color: var(--cobalto); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px;
}
.hoy-enlace:hover .hoy-frase { color: var(--cobalto); }

/* ---------- bloques ---------- */
.bloque { padding: var(--hueco) var(--margen) 0; }
.titulo {
  margin: 0;
  font-size: clamp(40px, 9vw, 71px); line-height: .98;
  font-weight: 800; font-stretch: 118%; letter-spacing: -.035em;
  color: var(--cobalto);
  hyphens: auto; overflow-wrap: anywhere;
}
.nota { margin: 12px 0 0; color: var(--tinta-suave); font-size: 16px; line-height: 1.45; max-width: 34em; }
.lado .btn { margin-top: 24px; }
.cuerpo { margin-top: 28px; min-width: 0; }

/* la casa */
.casa-texto { margin: 0; max-width: 30em; font-size: 22px; line-height: 1.4; font-weight: 450; }
.casa-foto { display: block; margin: 36px calc(var(--margen) * -1) 0; }
.casa-foto img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--velo); }

/* carta: índice tipográfico con enlaces profundos */
.indice ul { list-style: none; margin: 0; padding: 0; }
.indice a {
  display: block; padding: 7px 0;
  font-size: clamp(34px, 8.5vw, 53px); line-height: 1.08;
  font-weight: 720; font-stretch: 112%; letter-spacing: -.02em;
  text-decoration: none; hyphens: auto; overflow-wrap: anywhere;
}
.indice a:hover { color: var(--cobalto); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* fuera de carta del día (solo si el dueño lo publica en el panel) */
.fuera { margin-top: 36px; padding: 22px 22px 18px; border-radius: 6px; background: var(--cobalto); color: #fff; }
.fuera h3 { margin: 0; font-size: 23px; line-height: 1.15; font-weight: 750; font-stretch: 115%; }
.fuera-dia { margin: 4px 0 0; font-size: 16px; font-weight: 550; opacity: .9; }
.fuera ul { list-style: none; margin: 12px 0 8px; padding: 0; }
.fuera li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .3); font-size: 18px; font-weight: 600; }
.fuera li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fuera a { display: inline-block; padding: 8px 0; font-weight: 600; }
.fuera :focus-visible { outline-color: #fff; }

/* ---------- reservas ---------- */
.res { max-width: 560px; }
.campo { display: block; margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.campo legend, .etiqueta { display: block; padding: 0; margin-bottom: 8px; font-size: 16px; font-weight: 600; color: var(--tinta); }
.fila { display: flex; flex-wrap: wrap; gap: 0 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 2px solid var(--velo); border-radius: 22px; background: transparent;
  font-size: 16px; font-weight: 600; cursor: pointer;
}
.chip:hover { border-color: var(--tinta-suave); }
.chip[aria-pressed="true"], .chip-fecha.elegido { border-color: var(--cobalto); background: var(--cobalto); color: #fff; }
.chip-fecha input {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
  border: 0; padding: 0;
}
.chip-fecha:focus-within { outline: 3px solid var(--muro); outline-offset: 2px; }
.contador { display: flex; align-items: center; gap: 4px; }
.contador button {
  width: 44px; height: 44px; border: 2px solid var(--velo); border-radius: 50%; background: transparent;
  font-size: 22px; line-height: 1; cursor: pointer; color: var(--cobalto);
}
.contador button:hover { border-color: var(--cobalto); }
.contador output { min-width: 2.2em; text-align: center; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.select { position: relative; display: block; max-width: 280px; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; pointer-events: none;
  width: 7px; height: 7px; margin-top: -6px;
  border: solid var(--cobalto); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.res select, .res input[type="text"], .res input[type="tel"] {
  display: block; width: 100%; min-height: 52px; padding: 0 16px;
  border: 2px solid var(--velo); border-radius: 8px; background: #fff;
  font-size: 17px; color: var(--tinta);
}
.res select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; font-variant-numeric: tabular-nums; }
.res select:hover, .res input:hover { border-color: var(--tinta-suave); }
.res input[aria-invalid="true"] { border-color: var(--muro); }
.ayuda { display: block; margin-top: 6px; font-size: 16px; color: var(--tinta-suave); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px; font-size: 16px; line-height: 1.45; }
.consent input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--cobalto); }
.consent a { color: var(--cobalto); display: inline-block; padding: 2px 0; }
.res-msg { margin: 0 0 16px; min-height: 0; font-size: 16px; color: var(--tinta-suave); }
.res-msg:empty { display: none; }
.res-msg.error { color: #A33A0C; font-weight: 600; }
.res-msg a { color: var(--cobalto); }
.resumen { margin: 0 0 24px; font-size: 22px; line-height: 1.35; font-weight: 600; }
.resumen .enlace { font-size: 16px; margin-left: 4px; }
.hecho-titulo { margin: 0; font-size: clamp(30px, 7vw, 40px); line-height: 1.1; font-weight: 750; font-stretch: 112%; color: var(--cobalto); }
.hecho-texto { margin: 14px 0 0; font-size: 22px; line-height: 1.4; }
.demo { color: #8A3A12; }

/* ---------- opiniones: una cita cada vez ---------- */
.cita { margin: 0; min-height: 12em; }
.cita blockquote { margin: 0; }
.cita blockquote p {
  margin: 0;
  font-size: clamp(26px, 5.5vw, 40px); line-height: 1.25; font-weight: 500; letter-spacing: -.01em;
  text-wrap: pretty;
}
.cita figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.avatar {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--velo); color: var(--cobalto); font-size: 17px; font-weight: 700; font-stretch: 110%;
}
.quien { display: block; font-weight: 650; }
.meta { display: block; font-size: 16px; color: var(--tinta-suave); }
.estrellas { color: var(--cobalto); letter-spacing: .08em; }
.etiqueta-ejemplo {
  display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px;
  background: #FBEDE4; color: #8A3A12; font-size: 14px; font-weight: 600; vertical-align: 2px;
}
.pasar { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-variant-numeric: tabular-nums; color: var(--tinta-suave); }
.redondo {
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 2px solid var(--velo); border-radius: 50%; background: transparent; cursor: pointer; color: var(--cobalto);
}
.redondo:hover { border-color: var(--cobalto); }
.redondo svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.enlace-nota { display: inline-block; padding: 10px 0; color: var(--cobalto); }

/* ---------- dónde estamos ---------- */
.direccion { font-style: normal; font-size: clamp(26px, 5.5vw, 40px); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.horario { list-style: none; margin: 20px 0 28px; padding: 0; font-size: 17px; font-variant-numeric: tabular-nums; }
.horario li + li { margin-top: 4px; }
.mapa { margin-top: 24px; aspect-ratio: 4 / 3; max-height: 420px; width: 100%; background: var(--velo); border-radius: 6px; overflow: hidden; }
.mapa iframe { display: block; width: 100%; height: 100%; border: 0; }
.ig { margin: 28px 0 0; }
.ig-fotos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ig-fotos a { display: block; }
.ig-fotos img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--velo, #E4E8F3); }
.ig-fotos a:hover img { opacity: .88; }
.ig a { display: inline-block; padding: 10px 0; color: var(--cobalto); font-weight: 600; }

/* ---------- pie ---------- */
.pie {
  margin-top: var(--hueco);
  padding: 44px var(--margen) calc(40px + env(safe-area-inset-bottom));
  background: var(--cobalto); color: #fff;
}
.pie-nombre { margin: 0; font-size: 44px; line-height: 1; font-weight: 800; font-stretch: 125%; letter-spacing: -.04em; }
.pie-idiomas { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 26px 0 0 -10px; }
.pie-idiomas button {
  min-height: 44px; padding: 0 10px; border: 0; background: none; color: #fff; cursor: pointer;
  font-size: 16px; font-weight: 500; opacity: .82;
}
.pie-idiomas button[aria-pressed="true"] { opacity: 1; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.pie-legal { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 18px 0 0; font-size: 16px; }
.pie-legal a { display: inline-block; padding: 10px 0; }
.pie-ig { margin: 22px 0 0; font-size: 17px; font-weight: 600; }
.pie-ig a { display: inline-block; padding: 10px 0; text-decoration-thickness: 2px; }
.pie :focus-visible { outline-color: #fff; }

/* ---------- panel del QR y aviso ---------- */
.panel-qr {
  width: min(400px, calc(100vw - 32px)); padding: 28px 28px 20px;
  border: 0; border-radius: 16px; background: var(--cal); color: var(--tinta);
  box-shadow: 0 24px 64px rgba(21, 40, 106, .24); text-align: center;
}
.panel-qr::backdrop { background: rgba(21, 40, 106, .36); }
@media (prefers-reduced-motion: no-preference) { .panel-qr[open] { animation: subir .22s cubic-bezier(.2, .8, .2, 1); } }
@keyframes subir { from { transform: translateY(16px); opacity: 0; } }
.panel-qr h2 { margin: 0 0 18px; font-size: 24px; font-weight: 750; font-stretch: 115%; color: var(--cobalto); }
.panel-qr img { display: block; width: 240px; height: 240px; margin: 0 auto; }
.panel-qr .nota { margin: 14px auto 0; }
.qr-url { margin: 4px 0 18px; font-weight: 600; }
.qr-acciones { display: grid; gap: 10px; }
.cerrar { margin-top: 10px; min-height: 44px; padding: 0 16px; border: 0; background: none; color: var(--cobalto); font-weight: 600; cursor: pointer; }
.aviso {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 50;
  margin: 0; padding: 12px 20px; border-radius: 24px;
  background: var(--tinta); color: #fff; font-weight: 600;
  transform: translate(-50%, 0); transition: opacity .2s, transform .2s;
}
.aviso:empty { opacity: 0; transform: translate(-50%, 12px); pointer-events: none; }

/* ---------- tableta ---------- */
@media (min-width: 640px) {
  :root { --margen: 40px; --hueco: 112px; }
  .reloj { width: min(68vw, 560px); margin-right: -40px; }
  .rotulo { margin-top: -22vw; font-size: clamp(120px, 21vw, 232px); }
  .casa-foto { margin: 44px 0 0; max-width: 560px; }
}

/* ---------- escritorio: la retícula asimétrica de la carta (1 : 1,5) ---------- */
@media (min-width: 1000px) {
  :root { --margen: max(48px, calc((100vw - 1180px) / 2)); --hueco: 144px; }
  .portada {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px;
    align-items: end; min-height: min(calc(100svh - var(--barra)), 880px); padding-bottom: 72px;
  }
  .reloj { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: min(46vw, 600px); margin: 0 0 0 auto; }
  .rotulo { grid-column: 1 / -1; grid-row: 1; align-self: end; margin: 0; font-size: clamp(150px, 15.5vw, 232px); }
  .portada-texto { grid-column: 1; grid-row: 2; }
  .sub { font-size: 24px; }

  .hoy-enlace { display: flex; align-items: baseline; justify-content: space-between; gap: 40px; padding: 48px 0 52px; }
  .hoy-destino { flex: none; margin: 0; }

  .bloque { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); column-gap: 64px; }
  .lado { position: sticky; top: calc(var(--barra) + 32px); align-self: start; }
  .cuerpo { margin-top: 0; }
  .titulo { font-size: 64px; }
  .indice a { font-size: 53px; }
  .casa { align-items: end; }
  .casa-texto { grid-column: 1; grid-row: 1; align-self: end; font-size: 24px; }
  .casa-foto { grid-column: 2; grid-row: 1 / span 2; margin: 0; max-width: 560px; justify-self: end; width: 100%; }

  .pie { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); column-gap: 64px; align-items: end; }
  .pie-nombre { grid-row: 1 / span 3; font-size: 64px; }
  .pie-ig { margin-top: 0; }
  .pie-idiomas { margin-top: 0; }
}

@media print {
  .barra, .saltar, .reloj, .hoy, .panel-qr, .aviso, .pasar, #verMapa { display: none !important; }
  body { background: #fff; }
  .pie { background: none; color: #000; }
}

/* =====================================================================
   Marca del cartel: logo, títulos estrechos con trazo de brocha, banda azul noche
   ===================================================================== */
.reloj-pista { stroke: var(--pista); }

/* logo exacto del cartel (vectorizado): letras de brocha, contorno y espiral */
.rotulo {
  position: relative; z-index: 1; margin: 20px 0 0; width: min(100%, 640px);
  -webkit-text-stroke: 0; font-size: inherit; line-height: 0;
}
.logo { display: block; width: 100%; height: auto; }
.sub {
  margin-top: 22px; text-transform: uppercase; letter-spacing: .02em;
  font-size: 23px; line-height: 1.15; font-weight: 800; font-stretch: 72%;
}
/* el reloj del día, pequeño, junto a "Abierto": la espiral se va llenando de la apertura al cierre */
.estado-fila { display: flex; align-items: center; gap: 12px; margin: 10px 0 28px; }
.estado-fila .estado { margin: 0; }
.reloj { flex: none; width: 44px; height: 44px; margin: 0; }
.reloj use { stroke-width: 8; }
.ahora { width: 10px; height: 10px; margin: -5px 0 0 -5px; box-shadow: 0 0 0 2px var(--cal); z-index: 2; }
.ahora-hora { display: none; }

/* botones: azul noche; el naranja, al pasar por encima */
.btn { border-color: var(--tinta); }
.btn-tinta { background: var(--tinta); }
.btn-tinta:hover { background: var(--cobalto); border-color: var(--cobalto); }
.btn-linea { color: var(--tinta); }
.btn-linea:hover { background: var(--papel); border-color: var(--naranja-texto); color: var(--naranja-texto); }
.enlace, .ig a, .enlace-nota, .consent a, .res-msg a { color: var(--naranja-texto); }

/* títulos estrechos en mayúsculas, como "MENÚ DEL DÍA" del cartel, con un trazo naranja de brocha debajo */
.titulo {
  text-transform: uppercase; letter-spacing: .005em;
  font-stretch: 68%; font-weight: 850; line-height: .92; color: var(--tinta);
}
.titulo::after {
  content: ""; display: block; width: 120px; height: 12px; margin-top: 10px; background: var(--muro);
  -webkit-mask: var(--brocha) center / 100% 100% no-repeat; mask: var(--brocha) center / 100% 100% no-repeat;
}
.indice a { font-stretch: 85%; color: var(--tinta); }
.indice a:hover { color: var(--naranja-texto); }

/* "Hoy en Ábora": banda azul noche con bordes de brocha */
.hoy-enlace {
  position: relative; isolation: isolate; border: 0;
  padding: 34px 26px 38px; margin: 0 calc(var(--margen) * -.5); color: #fff;
}
.hoy-enlace::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tinta);
  -webkit-mask: var(--brocha) center / 100% 100% no-repeat; mask: var(--brocha) center / 100% 100% no-repeat;
}
.hoy-frase { text-transform: uppercase; font-stretch: 70%; font-weight: 850; line-height: 1; }
.hoy-destino { color: var(--naranja-claro); }
.hoy-enlace:hover .hoy-frase { color: var(--naranja-claro); }

/* foto y campos sobre papel */
.casa-foto img { border-radius: 4px; }
.res select, .res input[type="text"], .res input[type="tel"] { background: var(--papel); border-color: var(--velo); }
.chip, .contador button, .redondo { border-color: var(--velo); background: var(--papel); }
.chip[aria-pressed="true"], .chip-fecha.elegido { border-color: var(--tinta); background: var(--tinta); }
.contador button, .redondo { color: var(--tinta); }
.hecho-titulo { color: var(--tinta); text-transform: uppercase; font-stretch: 70%; font-weight: 850; }
.avatar { background: var(--tinta); color: var(--naranja-claro); }
.estrellas { color: var(--naranja-texto); }

/* fuera de carta: tarjeta azul noche con el título en naranja */
.fuera { background: var(--tinta); }
.fuera h3 { color: var(--naranja-claro); text-transform: uppercase; font-stretch: 70%; font-weight: 850; font-size: 26px; }

/* pie azul noche con el logo */
.pie { background: var(--tinta); }
.pie-nombre { width: 190px; line-height: 0; }
.pie-nombre use { fill: var(--muro); }
.pie-idiomas button[aria-pressed="true"] { color: var(--naranja-claro); }

.panel-qr { background: var(--papel); }
.panel-qr h2 { color: var(--tinta); text-transform: uppercase; font-stretch: 70%; font-weight: 850; }
.aviso { background: var(--tinta); }

@media (min-width: 640px) {
  .sub { font-size: 28px; }
}
@media (min-width: 1000px) {
  .portada { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
  .rotulo { grid-column: 1; grid-row: 1 / span 2; align-self: center; margin: 0; width: 100%; font-size: inherit; }
  .portada-texto { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .sub { font-size: 34px; margin-top: 0; }
  .hoy-enlace { padding: 40px 48px 44px; margin: 0; }
  .titulo { font-size: 72px; }
  .pie-nombre { width: 260px; }
}

/* =====================================================================
   Diseño F · "Atardecer" (elegido el 03/11/2026, propuestas-diseno/opcion-f).
   Portada: el cielo de Costa Calma a la puesta de sol, palmeras en silueta y el logo dentro del sol.
   El resto, de noche: fondo azul noche, títulos y precios en dorado, "Hoy en Abora" en una tarjeta color sol.
   Letra: Bricolage Grotesque (OFL), en fonts/bricolage.woff2.
   ===================================================================== */
:root {
  --cielo-1: #FDBE6E; --cielo-2: #F28A55; --cielo-3: #D9505A; --cielo-4: #7B3A78;
  --noche: #1A1636;
  --noche-2: #241F47;     /* campos y paneles sobre noche */
  --sol: #FFE3A3;
  --dorado: #FFC97A;
  --lila: #CFC6E4;
  --linea: rgba(255, 255, 255, .18);
}
body { background: var(--noche); color: #fff; font-family: "Bricolage", system-ui, -apple-system, "Segoe UI", sans-serif; }
:focus-visible { outline-color: var(--dorado); }
.saltar { background: var(--dorado); color: var(--noche); }

/* barra */
.barra { background: var(--noche); }
.barra-inicio use { stroke: var(--dorado); }
.barra-nav a { color: #fff; }
.barra-nav a:hover { color: var(--dorado); }
.idioma select { color: #fff; }
.idioma select option { color: var(--noche); }
.idioma::after { border-color: #fff; }

/* portada: sol con el logo detrás de las palmeras */
.portada { padding: 0 0 56px; }
.horizonte {
  position: relative; height: 330px; overflow: hidden;
  background: linear-gradient(180deg, var(--cielo-1) 0%, var(--cielo-2) 40%, var(--cielo-3) 72%, var(--cielo-4) 100%);
}
.sol {
  position: absolute; left: 50%; bottom: -36px; transform: translateX(-50%);
  width: 290px; height: 290px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #FFF6DC 0 55%, var(--sol) 70%, #FFD27F 100%);
  box-shadow: 0 0 0 18px rgba(255, 227, 163, .28), 0 0 0 40px rgba(255, 227, 163, .14);
  display: grid; place-items: center;
}
.sol .rotulo { margin: -40px 0 0; width: 82%; }
.palmeras { position: absolute; left: 0; right: 0; bottom: 0; height: 190px; background: url("../img/palmeras.svg") center bottom / auto 100% repeat-x; }
.portada-texto { padding: 0 var(--margen); }
.sub { color: #fff; text-transform: none; font-stretch: 85%; font-weight: 800; letter-spacing: -.01em; font-size: 40px; line-height: 1.02; margin-top: 26px; }
.estado { color: var(--lila); }
.estado b { color: var(--dorado); }
.reloj-pista { stroke: rgba(255, 255, 255, .2); }
.reloj-tinta { stroke: var(--dorado); }
.ahora { background: var(--dorado); box-shadow: 0 0 0 2px var(--noche); }

/* botones: dorado y línea blanca */
.btn { border-color: var(--dorado); font-stretch: 100%; font-weight: 750; }
.btn-tinta { background: var(--dorado); color: var(--noche); }
.btn-tinta:hover { background: #fff; border-color: #fff; }
.btn-linea { color: #fff; border-color: #fff; }
.btn-linea:hover { background: rgba(255, 255, 255, .1); border-color: var(--dorado); color: var(--dorado); }
.enlace, .ig a, .enlace-nota, .consent a, .res-msg a { color: var(--dorado); }

/* "Hoy en Abora": tarjeta color sol */
.hoy-enlace { color: var(--noche); padding: 30px 26px 32px; margin: 0; }
.hoy-enlace::before { background: var(--sol); -webkit-mask: none; mask: none; border-radius: 26px; }
.hoy-frase { text-transform: none; font-stretch: 85%; font-weight: 800; letter-spacing: -.01em; }
.hoy-destino { color: #8A3A12; }
.hoy-enlace:hover .hoy-frase { color: #8A3A12; }

/* títulos en dorado, sin trazo de brocha */
.titulo { color: var(--dorado); text-transform: none; font-stretch: 85%; font-weight: 800; letter-spacing: -.015em; line-height: 1; }
.titulo::after { display: none; }
.nota, .ayuda, .meta, .pasar, .res-msg { color: var(--lila); }
.casa-texto { color: #fff; }
.casa-foto img { border-radius: 26px; }
.indice a { color: #fff; font-stretch: 85%; font-weight: 800; }
.indice a:hover { color: var(--dorado); }

/* fuera de carta y reservas sobre noche */
.fuera { background: var(--noche-2); border-radius: 26px; }
.fuera h3 { color: var(--dorado); text-transform: none; font-stretch: 85%; font-weight: 800; }
.campo legend, .etiqueta { color: #fff; }
.res select, .res input[type="text"], .res input[type="tel"] { background: #fff; color: var(--noche); border-color: transparent; }
.res select:hover, .res input:hover { border-color: var(--dorado); }
.select::after { border-color: var(--noche); }
.chip, .contador button, .redondo { background: var(--noche-2); border-color: var(--linea); color: #fff; }
.chip:hover, .contador button:hover, .redondo:hover { border-color: var(--dorado); }
.chip[aria-pressed="true"], .chip-fecha.elegido { background: var(--dorado); border-color: var(--dorado); color: var(--noche); }
.consent input { accent-color: var(--dorado); }
.res-msg.error { color: #FFB3A0; }
.resumen, .hecho-texto { color: #fff; }
.hecho-titulo { color: var(--dorado); text-transform: none; font-stretch: 85%; font-weight: 800; }
.demo { color: #FFB3A0; }

/* opiniones y dónde estamos */
.avatar { background: var(--noche-2); color: var(--dorado); }
.estrellas { color: var(--dorado); }
.etiqueta-ejemplo { background: var(--sol); color: #8A3A12; }
.direccion { color: #fff; }
.mapa { background: var(--noche-2); border-radius: 26px; }

/* pie: palmeras en silueta sobre el último resplandor */
.pie { position: relative; background: var(--noche); padding-top: 150px; }
.pie::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 130px;
  background: url("../img/palmeras.svg") center bottom / auto 100% repeat-x, linear-gradient(180deg, var(--noche) 0%, var(--cielo-4) 100%);
}
.pie-nombre use { fill: var(--dorado); }
.pie-idiomas button[aria-pressed="true"] { color: var(--dorado); }
.pie :focus-visible { outline-color: var(--dorado); }

/* panel del QR (claro, para que el código se lea bien) y aviso */
.panel-qr { background: #FFF6DC; color: var(--noche); }
.panel-qr::backdrop { background: rgba(26, 22, 54, .55); }
.panel-qr h2 { color: var(--noche); text-transform: none; font-stretch: 85%; font-weight: 800; }
.panel-qr .nota { color: #4A3A52; }
.panel-qr .btn-tinta { background: var(--noche); border-color: var(--noche); color: #fff; }
.panel-qr .btn-linea { color: var(--noche); border-color: var(--noche); }
.panel-qr .cerrar { color: var(--noche); }
.aviso { background: var(--dorado); color: var(--noche); }

@media (min-width: 640px) {
  .horizonte { height: 400px; }
  .sol { width: 350px; height: 350px; }
  .palmeras { height: 230px; }
  .sub { font-size: 52px; }
}
@media (min-width: 1000px) {
  .portada { display: block; min-height: 0; padding-bottom: 72px; }
  .horizonte { height: clamp(360px, calc(100svh - 340px), 520px); }
  .sol { width: clamp(320px, calc(100svh - 440px), 420px); height: clamp(320px, calc(100svh - 440px), 420px); }
  .palmeras { height: 280px; }
  .sol .rotulo { grid-column: auto; grid-row: auto; align-self: auto; width: 82%; margin: -50px 0 0; }
  .portada-texto {
    max-width: calc(1180px + 96px); margin: 0 auto; padding: 48px 48px 0; /* margen fijo: var(--margen) ya crece con la pantalla */
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 64px; align-items: end;
  }
  .sub { grid-row: 1 / span 2; font-size: clamp(54px, 4.6vw, 76px); margin: 0; }
  .estado-fila { margin-top: 0; }
  .titulo { font-size: 68px; }
  .pie { padding-top: 180px; }
  .pie::before { height: 160px; }
}
@media print {
  .horizonte, .pie::before { display: none; }
  body { background: #fff; color: #000; }
}

@media (min-width: 1000px) {
  .portada-texto .estado-fila { align-self: end; margin-bottom: 22px; }
  .portada-texto .acciones { align-self: start; }
}
.ig-fotos img { background: var(--noche-2); }
