/* =============================================================
   VON KRAUSS — Loncoche
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0d1710;
  --bg-2:      #101d15;
  --bg-3:      #16281c;
  --bg-4:      #1c3323;

  --cream:     #EFE9DC;
  --cream-2:   #CBC6B6;
  --cream-3:   #8B9384;

  --olive:     #6E7F4E;
  --olive-2:   #8FA067;

  --gold:      #C9A961;
  --gold-2:    #E3C888;

  --line:      rgba(239, 233, 220, .12);
  --line-soft: rgba(239, 233, 220, .07);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --wrap:   1180px;
  --nav-h:  74px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; font-weight: 400; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--gold); color: var(--bg); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .65rem 1.1rem; background: var(--cream); color: var(--bg);
  border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.ribbon { fill: var(--gold); width: 46px; height: auto; }

/* =============================================================
   4. Typography
   ============================================================= */
.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.005em;
  max-width: 20ch;
}
.h-display em {
  font-style: italic;
  color: var(--gold-2);
  font-weight: 300;
}

.kicker {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--olive-2);
  margin-bottom: 1.1rem;
}

.lead {
  font-size: clamp(1rem, 1.6vw, 1.115rem);
  color: var(--cream-2);
  max-width: 56ch;
}

/* =============================================================
   5. Components — buttons, chips
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .45s var(--ease-out), background-color .35s var(--ease-out),
              border-color .35s var(--ease-out), color .35s var(--ease-out),
              box-shadow .45s var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: #14210f;
  box-shadow: 0 8px 26px -12px rgba(201, 169, 97, .7);
}
.btn-primary:hover {
  background: var(--gold-2);
  box-shadow: 0 14px 34px -12px rgba(201, 169, 97, .85);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--cream);
  background: rgba(239, 233, 220, .03);
}
.btn-ghost:hover {
  border-color: rgba(201, 169, 97, .55);
  background: rgba(201, 169, 97, .08);
  color: var(--gold-2);
}

.chip {
  display: inline-block;
  padding: .35rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--cream-3);
}

/* =============================================================
   6. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 9000;
  display: grid; place-items: center;
  background: var(--bg);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s var(--ease-out);
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; visibility: hidden; }
}
.splash-mark {
  text-align: center;
  font-family: var(--serif);
  color: var(--cream);
  animation: splashIn 1.1s var(--ease-out) both;
}
.splash-l1, .splash-l2 {
  display: block;
  text-transform: uppercase;
  letter-spacing: .3em;
  line-height: 1;
}
.splash-l1 { font-size: clamp(1.4rem, 5vw, 2.2rem); }
.splash-l2 { font-size: clamp(2rem, 7.5vw, 3.3rem); margin-top: .1em; }
.splash-mark .ribbon { margin: 1.1rem auto 0; width: 34px; }
@keyframes splashIn {
  from { opacity: 0; transform: translateY(14px); letter-spacing: .5em; }
  to   { opacity: 1; transform: none; }
}

/* =============================================================
   7. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  transition: background-color .5s var(--ease-out), border-color .5s var(--ease-out),
              backdrop-filter .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(13, 23, 16, .88);
  border-bottom-color: var(--line-soft);
}
@supports (backdrop-filter: blur(14px)) {
  .nav.is-stuck { background: rgba(13, 23, 16, .62); backdrop-filter: blur(14px) saturate(140%); }
}

.nav-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter);
  height: var(--nav-h);
  display: flex; align-items: center; gap: 1.5rem;
}

.nav-brand { display: flex; flex-direction: column; line-height: 1.05; margin-right: auto; }
.nav-brand-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.nav-brand-kind {
  font-size: .58rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--olive-2);
  padding-left: .18em;
}

.nav-links { display: none; gap: 1.9rem; }
.nav-links a {
  position: relative;
  font-size: .84rem;
  color: var(--cream-2);
  padding-block: .3rem;
  transition: color .3s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { display: none; padding: .62rem 1.25rem; }

.nav-burger {
  width: 42px; height: 42px;
  display: grid; place-content: center; gap: 6px;
  margin-right: -8px;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--cream);
  transition: transform .4s var(--ease-out), opacity .3s;
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

.nav-mobile[hidden] { display: none; }
.nav-mobile {
  border-top: 1px solid var(--line-soft);
  background: rgba(13, 23, 16, .97);
  padding: .5rem var(--gutter) 1.5rem;
  display: flex; flex-direction: column;
}
.nav-mobile a {
  padding: .95rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--cream-2);
}
.nav-mobile-cta {
  margin-top: 1.2rem;
  border: 0 !important;
  color: var(--gold-2) !important;
  font-family: var(--sans) !important;
  font-size: .9rem !important;
  letter-spacing: .04em;
}

/* =============================================================
   8. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 6rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute; inset: -6% 0 -6%; z-index: -3;
  /* Fondo mientras el vídeo carga: nunca se ve un hueco negro. */
  background:
    radial-gradient(90% 70% at 50% 40%, var(--bg-4) 0%, var(--bg-3) 45%, var(--bg) 100%);
}
/* El vídeo es un montaje vertical de fotos del local. Se usa como
   textura de fondo: escala + desenfoque leve para que ni el recorte
   ni los cortes entre fotos compitan con el texto. */
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(.92) contrast(1.02) brightness(.86) blur(2px);
  transform: scale(1.05);
}
@media (min-width: 960px) {
  .hero-video { filter: saturate(.9) contrast(1.02) brightness(.82) blur(4px); transform: scale(1.08); }
}

.hero-tint {
  position: absolute; inset: 0; z-index: -2;
  background:
    /* velo verde de marca sobre los tonos cálidos del vídeo */
    linear-gradient(180deg, rgba(22, 40, 28, .55), rgba(13, 23, 16, .45)),
    radial-gradient(120% 80% at 50% 16%, rgba(13,23,16,.22) 0%, rgba(13,23,16,.66) 55%, rgba(13,23,16,.92) 100%),
    linear-gradient(180deg, rgba(13,23,16,.9) 0%, rgba(13,23,16,.3) 24%, rgba(13,23,16,.5) 60%, var(--bg) 100%);
}

.hero-grain {
  position: absolute; inset: 0; z-index: -1;
  opacity: .16;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.hero-inner { text-align: center; max-width: 720px; }

.hero-eyebrow {
  font-size: .66rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-bottom: 2rem;
}

.hero-mark {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 1.9rem;
}
.hero-mark-l1, .hero-mark-l2 {
  display: block;
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: .16em;
  text-shadow: 0 2px 30px rgba(6, 12, 8, .55);
}
.hero-mark-l1 { font-size: clamp(2.1rem, 8vw, 4rem); }
.hero-mark-l2 { font-size: clamp(3rem, 12.5vw, 6.4rem); margin-top: .04em; }
.hero-mark-sub {
  display: block;
  font-family: var(--sans);
  font-size: clamp(.6rem, 1.6vw, .78rem);
  font-weight: 400;
  letter-spacing: .58em;
  text-transform: uppercase;
  color: var(--cream-2);
  margin-top: .9rem;
  padding-left: .58em;
}
.hero-mark .ribbon { margin: 1.35rem auto 0; width: 52px; }

.hero-line {
  font-size: clamp(1rem, 2vw, 1.16rem);
  color: var(--cream-2);
  max-width: 46ch;
  margin-inline: auto;
}
.hero-line em {
  display: block;
  margin-top: .35rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.24em;
  color: var(--gold-2);
}

.hero-status {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 2rem;
  padding: .42rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .03em;
  color: var(--cream-2);
  background: rgba(13, 23, 16, .45);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cream-3);
  flex: 0 0 auto;
}
[data-status].is-open  .status-dot { background: #7FC15F; animation: pulseDot 2.6s ease-in-out infinite; }
[data-status].is-closed .status-dot { background: #C97A5B; }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(127, 193, 95, .55); }
  60%      { box-shadow: 0 0 0 7px rgba(127, 193, 95, 0); }
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: .7rem;
  justify-content: center;
  margin-top: 2.1rem;
}

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  width: 34px; height: 54px;
  display: grid; place-items: center;
}
.hero-scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, transparent, var(--gold));
  transform-origin: top;
  animation: scrollLine 2.4s var(--ease-soft) infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(46px); opacity: 0; }
}

/* =============================================================
   9. Marquee
   ============================================================= */
.marquee {
  border-block: 1px solid var(--line-soft);
  background: var(--bg-2);
  overflow: hidden;
  padding-block: 1.05rem;
}
.marquee-track {
  display: flex; align-items: center; gap: 1.6rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  font-style: italic;
  color: var(--cream-2);
  white-space: nowrap;
}
.marquee-track i { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   10. Sections — shared
   ============================================================= */
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }

.casa      { background: var(--bg); }
.carta     { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.especialidades { background: var(--bg); }
.galeria   { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.resenas   { background: var(--bg); }
.visitanos { background: var(--bg-2); border-top: 1px solid var(--line-soft); }

/* =============================================================
   11. Casa
   ============================================================= */
.casa-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }

.casa-text .lead { margin-block: 1.5rem; }
.casa-text > p:not(.kicker):not(.lead) { color: var(--cream-3); max-width: 56ch; }

.pillars {
  list-style: none; padding: 0;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid; gap: 1.75rem;
}
.pillars li {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.pillar-num {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--gold);
}
.pillars h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-block: .35rem .45rem;
}
.pillars p { color: var(--cream-3); font-size: .92rem; }

.casa-figure { position: relative; }
.casa-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
  filter: saturate(1.05);
}
.casa-figure figcaption {
  margin-top: .9rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--cream-3);
}

/* =============================================================
   12. Carta — tabs
   ============================================================= */
.tab-rail {
  position: relative;
  display: flex;
  gap: .3rem;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.25rem;
  -webkit-overflow-scrolling: touch;
  /* Insinúa que hay más franjas hacia la derecha en pantallas cortas. */
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 2.5rem), transparent 100%);
          mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 2.5rem), transparent 100%);
}
.tab-rail::-webkit-scrollbar { display: none; }
@media (min-width: 960px) {
  .tab-rail { -webkit-mask-image: none; mask-image: none; }
}

.tab {
  flex: 0 0 auto;
  padding: .8rem 1.05rem;
  font-size: .84rem;
  letter-spacing: .03em;
  color: var(--cream-3);
  white-space: nowrap;
  transition: color .35s var(--ease-out);
}
.tab:hover { color: var(--cream-2); }
.tab[aria-selected="true"] { color: var(--gold-2); }

.tab-ink {
  position: absolute; bottom: -1px; left: 0;
  height: 1px; width: 0;
  background: var(--gold);
  transition: transform .55s var(--ease-out), width .55s var(--ease-out);
  pointer-events: none;
}

.panel-note {
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--olive-2);
  margin-bottom: 1.6rem;
}

/* Sin JS: se ven todos los paneles, uno tras otro. */
.tabs.js-tabs .panel[hidden] { display: none; }
.tabs:not(.js-tabs) .panel + .panel { margin-top: 3rem; }

.panel[data-panel] { animation: panelIn .55s var(--ease-out) both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.dishes { list-style: none; padding: 0; display: grid; gap: 1.5rem; }

.dish { position: relative; padding-left: 0; }
.dish-t {
  display: flex; align-items: baseline; gap: .55rem;
}
.dish-t h3 {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 500;
  flex: 0 1 auto;
}
.dish-dots {
  flex: 1 1 auto;
  min-width: 1.5rem;
  height: 1px;
  align-self: center;
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1px);
  background-size: 5px 1px;
  background-repeat: repeat-x;
}
.dish-p {
  flex: 0 0 auto;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}
.dish > p {
  margin-top: .3rem;
  font-size: .89rem;
  color: var(--cream-3);
  max-width: 62ch;
}
.dish.is-star .dish-t h3::after {
  content: "★";
  font-size: .58em;
  color: var(--gold);
  margin-left: .5em;
  vertical-align: .35em;
}

.carta-foot {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--cream-3);
}
.carta-foot a {
  color: var(--gold-2);
  border-bottom: 1px solid rgba(201, 169, 97, .4);
  transition: border-color .3s var(--ease-out);
}
.carta-foot a:hover { border-color: var(--gold); }

/* =============================================================
   13. Especialidades
   ============================================================= */
.spec-grid { display: grid; gap: 1.5rem; }

.spec {
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .6s var(--ease-out), border-color .5s var(--ease-out),
              box-shadow .6s var(--ease-out);
  transform-style: preserve-3d;
}
.spec:hover {
  border-color: rgba(201, 169, 97, .32);
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, .9);
}

.spec-media { overflow: hidden; }
.spec-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter .8s var(--ease-out);
}
.spec:hover .spec-media img { transform: scale(1.06); filter: saturate(1.14); }

.spec-body { padding: 1.6rem 1.5rem 1.9rem; }
.spec-tag {
  font-size: .64rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--olive-2);
  margin-bottom: .7rem;
}
.spec-body h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin-bottom: .6rem;
}
.spec-body p { font-size: .89rem; color: var(--cream-3); }

/* =============================================================
   14. Galería
   ============================================================= */
.gal-grid { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }

.gal { position: relative; overflow: hidden; border-radius: 3px; margin: 0; }
.gal img, .gal video {
  width: 100%; height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.3s var(--ease-out), filter .8s var(--ease-out);
}
.gal:hover img, .gal:hover video { transform: scale(1.05); filter: saturate(1.12); }

.gal figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem .9rem .8rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--cream);
  background: linear-gradient(180deg, transparent, rgba(8, 15, 10, .82));
  pointer-events: none;
}

/* =============================================================
   15. Reseñas
   ============================================================= */
.rating-card {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.rating-card::before {
  content: "";
  position: absolute; inset: -60% 40% 40% -20%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(201, 169, 97, .16), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}

.rating-score { position: relative; display: flex; flex-direction: column; gap: .55rem; }
.rating-num {
  font-family: var(--serif);
  font-size: clamp(4rem, 13vw, 6.5rem);
  line-height: .9;
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}
.stars { position: relative; display: inline-block; font-size: 1.15rem; letter-spacing: .18em; }
.stars-bg { color: rgba(239, 233, 220, .18); }
.stars-fg {
  position: absolute; inset: 0;
  color: var(--gold);
  overflow: hidden;
  white-space: nowrap;
}
.rating-src {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream-3);
}

.rating-text { position: relative; }
.rating-text .lead { margin-block: 1.25rem 1.5rem; }
.rating-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }

.review-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
.review {
  padding: 1.6rem 1.5rem;
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
}
.review-stars { color: var(--gold); font-size: .85rem; letter-spacing: .16em; }
.review p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.16rem;
  color: var(--cream-2);
  margin-block: .8rem 1rem;
}
.review cite {
  font-style: normal;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-3);
}

/* =============================================================
   16. Visítanos
   ============================================================= */
.visit-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }

.visit-map {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-3);
  min-height: 320px;
}
.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(.35) contrast(1.05);
}
.visit-map-link {
  position: absolute; right: .8rem; bottom: .8rem;
  padding: .5rem .95rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .76rem;
  color: var(--cream-2);
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.visit-map-link:hover { color: var(--gold-2); border-color: rgba(201, 169, 97, .5); }

.visit-info { display: grid; gap: 2.5rem; }
.visit-block h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.visit-status { margin-bottom: 1.25rem; }

.hours th, .hours td {
  padding: .6rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .9rem;
  font-weight: 300;
  text-align: left;
  color: var(--cream-3);
}
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--gold-2); }
.hours tr.is-today th::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: .55rem;
  vertical-align: middle;
}

.visit-fine {
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--cream-3);
  opacity: .8;
}

.visit-list { list-style: none; padding: 0; display: grid; gap: .9rem; }
.visit-list li {
  display: flex; flex-wrap: wrap; gap: .3rem 1rem;
  justify-content: space-between;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line-soft);
}
.visit-list span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-3); }
.visit-list a { font-size: .95rem; color: var(--cream); transition: color .3s var(--ease-out); }
.visit-list a:hover { color: var(--gold-2); }
.visit-actions { margin-top: 1.6rem; }

/* =============================================================
   17. Footer
   ============================================================= */
.footer { background: var(--bg); border-top: 1px solid var(--line-soft); padding-block: 3.5rem 2rem; }
.footer-inner { display: grid; gap: 2.25rem; }

.footer-l1, .footer-l2 {
  display: block;
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: .22em;
  line-height: 1;
}
.footer-l1 { font-size: 1.1rem; }
.footer-l2 { font-size: 1.7rem; margin-top: .1em; }
.footer-brand .ribbon { width: 30px; margin-top: .8rem; }
.footer-brand p { margin-top: .9rem; font-size: .8rem; color: var(--cream-3); }

.footer-nav, .footer-social { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a, .footer-social a {
  font-size: .84rem;
  color: var(--cream-3);
  transition: color .3s var(--ease-out);
}
.footer-nav a:hover, .footer-social a:hover { color: var(--gold-2); }

.footer-fine {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  display: grid; gap: .35rem;
  font-size: .74rem;
  color: rgba(139, 147, 132, .75);
}

/* =============================================================
   18. Reveal
   ============================================================= */
/* Sólo se esconden si JS está vivo (la clase .js la pone un script
   inline en el <head>). Sin JS, todo el contenido se ve de una. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .95s var(--ease-out), transform .95s var(--ease-out);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Defensa: si algo lleva reveal + split, nunca queda invisible */
.js .reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   19. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .dishes { gap: 1.65rem; }
  .footer-fine { grid-template-columns: 1fr auto; }
}

@media (min-width: 720px) {
  .gal-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .rating-card { grid-template-columns: minmax(180px, .5fr) 1fr; align-items: center; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-nav { justify-content: flex-end; }
  .footer-social { grid-column: 2; justify-content: flex-end; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .nav-mobile { display: none !important; }

  .casa-grid { grid-template-columns: 1.25fr .85fr; align-items: start; }
  .casa-figure { position: sticky; top: calc(var(--nav-h) + 2.5rem); }
  /* Dentro de la columna de texto no caben 3 pilares: se apilan. */
  .pillars { grid-template-columns: 1fr; gap: 1.65rem; }

  .dishes { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }

  .visit-grid { grid-template-columns: 1.1fr .9fr; align-items: stretch; }
  .visit-map, .visit-map iframe { min-height: 100%; }
  .visit-map { min-height: 460px; }

  .review-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .dish-t h3 { font-size: 1.4rem; }
}

/* =============================================================
   20. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  /* El vídeo NO se oculta: main.js lo pausa y queda el póster fijo,
     así el hero sigue teniendo imagen en vez de un bloque vacío. */
  .marquee-track { animation: none; }
  .hero-scroll-line { animation: none; opacity: .55; }
  .status-dot { animation: none !important; }
  /* NO se desactivan: hover, tilt, fades, transiciones de color */
}
