@font-face {
  font-family: 'Archivo Black';
  src: url('fonts/ArchivoBlack-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* El amarillo del rótulo se reserva para las acciones y los detalles. */
:root {
  color-scheme: light;
  --paper: #faf8f0;
  --surface: #fffdf8;
  --soft: #eeeee2;
  --ink: #192a20;
  --muted: #4f5b4e;
  --accent: #486642;
  --line: #d7dacb;
  --forest: #1d3427;
  --on-forest: #fffdf2;
  --yellow: #f4bb36;
  --yellow-soft: #f8e5a8;
  --on-yellow: #21291c;
  --focus: #206db4;
  --display: 'Archivo Black', 'Arial Black', sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(1rem, 5vw, 4rem);
  --radius: 1.25rem;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #17221a;
  --surface: #212f24;
  --soft: #28372b;
  --ink: #faf6e8;
  --muted: #c6d1be;
  --accent: #bfd4a2;
  --line: #445448;
  --forest: #101c14;
  --yellow-soft: #f4d782;
  --focus: #92ccff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; line-height: 1.01; text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.65vw, 3.5rem); text-wrap: balance; overflow-wrap: anywhere; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { color: inherit; font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.inner { max-width: 1370px; padding-inline: var(--gutter); margin-inline: auto; }
.section { padding-block: clamp(3.75rem, 8vw, 7.5rem); }
.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip { position: fixed; inset: .75rem auto auto .75rem; z-index: 10; padding: .75rem 1rem; background: var(--yellow); color: var(--on-yellow); }
.eyebrow { display: block; font-size: .875rem; font-weight: 750; line-height: 1.25; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow + h2 { margin-top: .85rem; }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-nav { display: flex; min-height: 4.9rem; align-items: center; gap: clamp(.65rem, 2vw, 1.75rem); }
.brand { display: inline-flex; gap: .7rem; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { width: 3rem; height: 3rem; }
.brand b, .brand small { display: block; line-height: 1.15; }
.brand b { font: 400 .94rem/1.15 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.brand small { margin-top: .25rem; color: var(--muted); font-size: .78rem; font-weight: 650; }
.links { display: flex; align-items: center; justify-content: center; flex: 1; gap: clamp(.85rem, 2.2vw, 2.3rem); }
.links a { text-decoration: none; font-size: .92rem; font-weight: 650; }
.links a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .27em; }
.eyebrow, .text-link { color: var(--accent); }
.btn, .icon-btn, .lang-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.75rem;
  border: 1px solid var(--line); border-radius: 999px; background: transparent; text-decoration: none;
  font-size: .93rem; font-weight: 700; cursor: pointer;
}
.btn { min-height: 3.25rem; padding: .65rem 1.2rem; text-align: center; line-height: 1.2; }
.btn:hover, .icon-btn:hover, .lang-btn:hover { border-color: var(--ink); background: var(--soft); }
.btn.primary { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.btn.primary:hover { background: #ffcb53; border-color: #ffcb53; }
.btn.forest { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
.btn.forest:hover { background: #2e503b; }
.icon-btn { width: 2.75rem; flex: none; padding: 0; }
.icon-btn:disabled { opacity: .45; cursor: default; }
.lang { position: relative; }
.lang-btn { padding: 0 .68rem; }
.lang-btn .chev { width: .85rem; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + .5rem); min-width: 10rem;
  margin: 0; padding: .35rem; list-style: none; border: 1px solid var(--line);
  background: var(--surface); border-radius: 1rem; box-shadow: 0 .75rem 2rem #0002;
}
.lang-menu button { display: block; width: 100%; padding: .55rem .75rem; border: 0; border-radius: .65rem; text-align: left; background: transparent; cursor: pointer; }
.lang-menu button:hover, .lang-menu [aria-current="true"] { background: var(--soft); }
.lang-menu [aria-current="true"] { font-weight: 750; }
.theme .sun, .theme[data-mode="dark"] .moon { display: none; }
.theme[data-mode="dark"] .sun { display: block; }

.hero { padding-block: clamp(1.6rem, 4vw, 3.5rem); }
.hero .inner { display: grid; grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr); gap: clamp(1.6rem, 4.3vw, 4rem); align-items: center; }
.hero h1 { margin-top: .85rem; font-size: clamp(2rem, 3.7vw, 3.25rem); overflow-wrap: anywhere; }
.hero h1 em { display: block; color: var(--accent); font-style: normal; }
.hero .lead { margin-top: 1.4rem; max-width: 39ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.hero .actions { margin-top: 1.6rem; }
.status { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.45rem; font-size: .9rem; font-weight: 640; text-decoration: none; color: var(--muted); }
.status:hover { text-decoration: underline; text-underline-offset: .22em; }
.status i { width: .6rem; height: .6rem; background: currentColor; border-radius: 50%; flex: none; }
.status.open i { background: var(--accent); box-shadow: 0 0 0 3px var(--line); }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 1.14; object-fit: cover; object-position: center 44%; border-radius: var(--radius); }
.hero-photo figcaption {
  position: absolute; inset: auto auto 1rem 1rem; padding: .48rem .8rem;
  border-radius: .5rem; background: var(--yellow); color: var(--on-yellow);
  font-size: .875rem; font-weight: 800;
}
.features { background: var(--forest); color: var(--on-forest); }
.features ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: .55rem 0; list-style: none; }
.features li { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: .9rem .7rem; font-weight: 650; line-height: 1.25; }
.features li + li { border-left: 1px solid #fff4; }
.features .icon { width: 1.45rem; height: 1.45rem; color: var(--yellow); }

.selection { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.25rem; margin-bottom: 1.8rem; }
.section-head p, .about p { color: var(--muted); max-width: 52ch; margin-top: 1rem; }
.controls { display: flex; gap: .45rem; flex: none; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .3rem .05rem .6rem; margin: 0; list-style: none; scrollbar-color: var(--accent) var(--soft); overscroll-behavior-inline: contain; cursor: grab; }
.track.drag { cursor: grabbing; scroll-snap-type: none; }
.slide { position: relative; min-width: 0; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.slide img { width: 100%; aspect-ratio: 1.25; object-fit: cover; pointer-events: none; user-select: none; }
.slide span { position: absolute; inset: auto auto .8rem .8rem; max-width: calc(100% - 1.6rem); border-radius: .55rem; background: var(--surface); padding: .45rem .7rem; font-size: .91rem; font-weight: 750; }

.about .inner { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); align-items: center; gap: clamp(1.8rem, 6vw, 6rem); }
.about img { width: 100%; aspect-ratio: 1.42; object-fit: cover; border-radius: var(--radius); }
.text-link { display: inline-flex; align-items: center; gap: .45rem; text-underline-offset: .22em; font-weight: 700; }
.about .text-link { margin-top: 1.25rem; }

.visit { background: var(--soft); }
.visit .layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.25rem, 3vw, 2rem); margin-top: 1.8rem; }
.visit-info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 3vw, 2rem); }
.visit dl { margin: 0 0 1.45rem; }
.row { padding-block: .8rem; border-bottom: 1px solid var(--line); }
.row:first-child { padding-top: 0; }
.row dt { color: var(--muted); font-size: .875rem; font-weight: 750; }
.row dd { margin: .2rem 0 0; }
.row address { font-style: normal; }
.value { display: flex; align-items: center; gap: .75rem; }
.copy { width: 2.25rem; min-height: 2.25rem; margin-left: auto; }
.copy .ok, .copy.done .copy-icon { display: none; }
.copy.done .ok { display: block; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; gap: .25rem .85rem; align-items: baseline; justify-content: space-between; flex-wrap: wrap; padding-block: .13rem; }
.hours li.today { font-weight: 720; }
.hours .time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.facade { display: grid; grid-template-rows: 1fr auto; overflow: hidden; border-radius: var(--radius); background: var(--forest); color: var(--on-forest); }
.facade img { width: 100%; height: 100%; min-height: 15rem; object-fit: cover; object-position: 51% 32%; }
.facade figcaption { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; font-size: .9rem; }
.facade strong { flex: none; color: var(--yellow); }

.reviews { padding-block: clamp(3rem, 6vw, 5rem); background: var(--yellow-soft); color: var(--on-yellow); }
.reviews .section-head { flex-wrap: wrap; }
.reviews h2 { font-size: clamp(1.9rem, 3.25vw, 3.05rem); }
.reviews .section-head p { margin-top: .6rem; color: #51421f; }
.reviews .btn:not(.forest) { border-color: #45472b; }
.reviews .btn:not(.forest):hover { background: #f7d679; }
.review-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.review-card {
  display: flex; flex-direction: column; gap: .75rem; height: 100%; padding: clamp(1rem, 2.2vw, 1.6rem);
  border-radius: var(--radius); background: var(--surface); color: var(--ink);
}
.review-stars { color: #815500; letter-spacing: .13em; line-height: 1; }
:root[data-theme="dark"] .review-stars { color: var(--yellow); }
.review-card blockquote { margin: 0; }
.review-card figcaption { margin-top: auto; padding-top: .35rem; font-size: .875rem; font-weight: 750; }
.site-footer { padding-block: 2.25rem; background: var(--forest); color: var(--on-forest); }
.site-footer .inner { display: flex; justify-content: space-between; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.site-footer .brand small { color: var(--on-forest); }
.site-footer address { font-size: .9rem; font-style: normal; }

.dock { display: none; }
@media (max-width: 970px) {
  .site-nav { flex-wrap: wrap; padding-block: .65rem 0; column-gap: .55rem; row-gap: .25rem; min-height: 0; }
  .site-nav > .brand { margin-right: auto; }
  .links { order: 1; flex: 1 0 100%; justify-content: space-between; gap: .35rem; padding-block: .55rem; }
  html { scroll-padding-top: 7rem; }
}
@media (max-width: 740px) {
  .hero .inner, .about .inner, .visit .layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3.25rem); }
  .hero .lead { margin-top: .85rem; }
  .hero .actions { margin-top: 1.15rem; }
  .status { margin-top: 1rem; }
  .hero-photo img { aspect-ratio: 1.34; object-position: center 43%; }
  .track { grid-auto-columns: calc((100% - 1rem) / 2); }
  .about figure { order: 1; }
  .facade img { aspect-ratio: 1.7; height: auto; min-height: 0; }
  .review-list { grid-template-columns: 1fr; gap: .75rem; }
}
@media (max-width: 560px) {
  .site-nav .brand img { width: 2.45rem; height: 2.45rem; }
  .site-nav .brand b { font-size: .77rem; }
  .site-nav .brand { gap: .42rem; }
  .links a { font-size: .83rem; }
  .features li { flex-direction: column; gap: .4rem; padding-inline: .35rem; font-size: .85rem; text-align: center; }
  .track { grid-auto-columns: min(83%, 22rem); gap: .7rem; }
  .section-head { align-items: start; flex-direction: column; gap: .8rem; }
  body { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
  .dock {
    position: fixed; inset: auto 0 0; z-index: 6; display: grid; grid-template-columns: 1fr 1.15fr 1.25fr; gap: .4rem;
    padding: .55rem var(--gutter) calc(.55rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper);
  }
  .dock .btn { min-height: 2.8rem; padding: .3rem; font-size: .84rem; gap: .3rem; }
  .dock .icon { width: 1rem; height: 1rem; }
}
@media (max-width: 370px) {
  .lang-btn > .globe, .dock .icon { display: none; }
  .links a { font-size: .77rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
