/* ============================================================
   EL RECORRIDO · base: fuentes, tokens, tipografía, botones
   Luz y color salen del salón: amarillo de la pared, blanco de
   las columnas, piso claro y sillones negros.
   Oscuro = el salón de noche. Claro = el salón de día.
   Forma: botones y chips en píldora; fotos y paneles con 4 px.
   ============================================================ */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fuentes/Archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fuentes/Archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fuentes/HankenGrotesk.woff2') format('woff2');
}

:root {
  --amarillo: #E6B62E;
  --amarillo-hover: #F2C541;
  --sobre-amarillo: #121212;
  --f-disp: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --f-tx: 'Hanken Grotesk', system-ui, sans-serif;
  --hdr: 64px;
  --gut: clamp(16px, 3.4vw, 56px);
  --ancho: 1440px;
  --r: 4px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --z-escena: 1;
  --z-barra: 40;
  --z-menu: 50;
  --z-cel: 45;
}

/* Noche */
:root,
[data-tema="oscuro"] {
  color-scheme: dark;
  --bg: #111113;
  --sup: #19191c;
  --sup-2: #222226;
  --linea: #2e2e33;
  --tx: #f2f1ed;
  --tx-2: #aeaca5;
  --tx-3: #8a8881;
  --placa: #111113;
  --em-fondo: var(--amarillo);
  --em-tx: var(--sobre-amarillo);
  --sombra: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}

/* Día */
[data-tema="claro"] {
  color-scheme: light;
  --bg: #edece8;
  --sup: #f8f8f6;
  --sup-2: #e2e0db;
  --linea: #d2d0ca;
  --tx: #141414;
  --tx-2: #54524c;
  --tx-3: #6b6962;
  --placa: #f8f8f6;
  --sombra: 0 24px 50px -28px rgba(60, 52, 20, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--hdr);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: var(--f-tx);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 420;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--amarillo);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.saltar {
  position: fixed;
  left: 12px; top: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--amarillo);
  color: var(--sobre-amarillo);
  font-weight: 700;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}
.saltar:focus-visible { transform: none; }

.envoltura {
  width: 100%;
  max-width: var(--ancho);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ---------- Tipografía ---------- */

h1, h2, h3, .disp {
  font-family: var(--f-disp);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(38px, 4.6vw, 76px);
  font-stretch: 82%;
}
h3 {
  font-size: 22px;
  font-stretch: 92%;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: 0;
}

/* El énfasis que carga el dueño (*así*) es una placa amarilla, como el cartel */
h1 em, h2 em, .em-placa {
  font-style: normal;
  color: var(--em-tx, var(--sobre-amarillo));
  background-image: linear-gradient(var(--amarillo), var(--amarillo));
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0.02em 0.14em 0.06em;
  margin-inline: -0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
[data-tema="claro"] h1 em,
[data-tema="claro"] h2 em,
[data-tema="claro"] .em-placa { color: var(--sobre-amarillo); }

.lede {
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.45;
  color: var(--tx-2);
  max-width: 46ch;
  text-wrap: pretty;
}

.etiqueta {
  font-family: var(--f-disp);
  font-stretch: 115%;
  font-weight: 650;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-2);
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-family: var(--f-disp);
  font-stretch: 100%;
  font-weight: 680;
  font-size: 16px;
  letter-spacing: 0.005em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn i { font-style: normal; display: inline-block; transition: transform 220ms var(--ease-out); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-am { background: var(--amarillo); color: var(--sobre-amarillo); }
.btn-linea { background: transparent; color: var(--tx); box-shadow: inset 0 0 0 1.5px var(--linea); }
.btn-grande { min-height: 54px; padding: 0 26px; font-size: 17px; }

@media (hover: hover) and (pointer: fine) {
  .btn-am:hover { background: var(--amarillo-hover); }
  .btn-am:hover i { transform: translateX(4px); }
  .btn-linea:hover { box-shadow: inset 0 0 0 1.5px var(--tx); }
}

.btn[aria-disabled="true"], .btn:disabled { opacity: 0.45; pointer-events: none; }

/* ---------- Estado del salón ---------- */

.estado { display: inline-flex; align-items: center; gap: 10px; }
.estado-luz {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--tx-3);
  flex: none;
}
[data-abierto="si"] .estado-luz { background: #4cc46a; box-shadow: 0 0 0 4px rgba(76, 196, 106, 0.18); }
[data-abierto="no"] .estado-luz { background: #d4574a; box-shadow: 0 0 0 4px rgba(212, 87, 74, 0.16); }

.google {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  color: var(--tx-2);
  min-height: 44px;
  align-items: center;
}
.google b { font-family: var(--f-disp); font-weight: 800; font-size: 19px; color: var(--tx); }
.google-estrellas { color: var(--amarillo); letter-spacing: 1px; }
@media (hover: hover) { .google:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Aviso corto del dueño (Panel → Ajustes): "Cerrado por vacaciones del 2 al 16 de enero" */
.aviso-sitio {
  position: fixed;
  top: var(--hdr);
  left: 0;
  right: 0;
  z-index: var(--z-barra);
  margin: 0;
  padding: 8px var(--gut);
  background: var(--amarillo);
  color: var(--sobre-amarillo);
  font: 600 14px/1.35 var(--f-tx);
  text-align: center;
}
