/* =============================================================
   1. TOKENS — Custom Properties
   ============================================================= */
:root {
  /* Palette — dark warm japanese */
  --bg:           #070606;
  --bg-2:         #12100d;
  --bg-3:         #1a1713;
  --cream:        #f4ead5;
  --cream-2:      #d8cbb0;
  --cream-3:      #8a7d68;
  --gold:         #c9a961;
  --gold-2:       #e7cf92;
  --gold-dim:     rgba(201,169,97,0.15);
  --glass:        rgba(20,18,14,0.55);
  --glass-border: rgba(255,255,255,0.07);
  --line:         rgba(244,234,213,0.1);

  /* Typography */
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Inter', system-ui, -apple-system, sans-serif;
  --jp:     'Noto Serif JP', serif;

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --gutter:  clamp(1.25rem, 5vw, 3rem);
  --max:     1280px;
  --nav-h:   72px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--gold-dim) var(--bg);
  scrollbar-width: thin;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; object-fit: cover; }
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.05; letter-spacing: -0.02em; }
address { font-style: normal; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .5rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: var(--r-sm); font-weight: 500; font-size: .875rem;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%; max-width: var(--max);
  margin-inline: auto; padding-inline: var(--gutter);
}

/* =============================================================
   4. SCROLL PROGRESS BAR
   ============================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9000;
  transition: transform .05s linear;
  box-shadow: 0 0 12px var(--gold);
}

/* =============================================================
   5. THREE.JS CANVAS
   ============================================================= */
#three-bg {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* =============================================================
   6. OVERLAYS (Vignette + Grain)
   ============================================================= */
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(7,6,6,0.85) 100%);
}
.grain {
  position: fixed; inset: -50%; z-index: 2; pointer-events: none;
  width: 200%; height: 200%;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-drift 8s steps(10) infinite;
}
@keyframes grain-drift {
  0%  { transform: translate(0, 0); }
  10% { transform: translate(-2%, -3%); }
  20% { transform: translate(3%, 2%); }
  30% { transform: translate(-1%, 4%); }
  40% { transform: translate(4%, -1%); }
  50% { transform: translate(-3%, 0); }
  60% { transform: translate(0, 3%); }
  70% { transform: translate(2%, -4%); }
  80% { transform: translate(-4%, 1%); }
  90% { transform: translate(1%, 2%); }
  100%{ transform: translate(0, 0); }
}

/* =============================================================
   7. SPLASH LOADER
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 8000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  animation: splash-exit 0.6s var(--ease-out) 2.8s forwards;
  pointer-events: none;
}
.splash.is-gone { display: none !important; }
.splash-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  text-align: center;
}
.splash-jp {
  font-family: var(--jp);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: var(--gold);
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 0.3s forwards;
  letter-spacing: .25em;
}
.splash-name {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 4.5rem);
  color: var(--cream);
  font-weight: 500;
  letter-spacing: .08em;
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 0.7s forwards;
  line-height: 1.1;
}
.splash-bar {
  display: block;
  width: 0; height: 1px;
  background: var(--gold);
  animation: bar-grow 0.8s var(--ease-out) 1.4s forwards;
  margin-top: .5rem;
}
@keyframes splash-exit {
  to { opacity: 0; transform: translateY(-8px); pointer-events: none; }
}
@keyframes bar-grow {
  to { width: 160px; }
}

/* =============================================================
   8. NAVBAR
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 500;
  transition: background .4s var(--ease-soft), backdrop-filter .4s var(--ease-soft);
}
.nav.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
  height: 100%; display: flex; align-items: center; gap: 2rem;
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
}
.nav-logo {
  display: flex; align-items: center; gap: .75rem;
  flex-shrink: 0;
}
.nav-logo-jp {
  font-family: var(--jp);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}
.nav-logo-text {
  font-family: var(--serif);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--cream);
}
.nav-logo-text em {
  color: var(--gold);
  font-style: italic;
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream-3);
  transition: color .3s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.is-active { color: var(--gold); }
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  margin-left: auto; padding: .5rem;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--cream);
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav.is-open .nav-toggle span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mobile {
  display: none;
  flex-direction: column; align-items: flex-start; gap: 1rem;
  padding: 1.5rem var(--gutter) 2rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a {
  font-size: 1.1rem; letter-spacing: .05em;
}
.nav-mobile.is-open { display: flex; }

/* =============================================================
   9. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r-sm);
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform .3s var(--ease-bounce), box-shadow .3s var(--ease-out), background .3s, color .3s;
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: white;
  opacity: 0;
  transition: opacity .3s;
}
.btn:hover::after { opacity: .04; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 4px 24px rgba(201,169,97,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,169,97,0.4);
  background: var(--gold-2);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--glass-border);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-nav {
  padding: .5rem 1.25rem;
  background: var(--gold-dim);
  border: 1px solid rgba(201,169,97,0.3);
  color: var(--gold);
  font-size: .75rem;
}
.btn-nav:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-1px);
}
.btn-submit {
  width: 100%; max-width: 320px;
  margin: .5rem auto 0;
  padding: 1rem 2rem;
  font-size: .9rem;
}
.btn-submit .btn-sending { display: none; }
.btn-submit.is-sending .btn-text { display: none; }
.btn-submit.is-sending .btn-sending { display: block; }

/* =============================================================
   10. HERO
   ============================================================= */
.hero {
  position: relative; z-index: 10;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: calc(var(--nav-h) + 4rem) 4rem;
  padding-inline: var(--gutter);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 780px;
  display: flex; flex-direction: column; gap: 1.75rem;
}
.hero-kicker {
  display: flex; align-items: center; gap: .75rem;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream-3);
}
.dot {
  display: block; width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: dot-pulse 2.5s ease infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 9vw, 8rem);
  font-weight: 500;
  color: var(--cream);
  line-height: .98;
  display: flex; flex-direction: column;
}
.hero-title .accent-line em {
  color: var(--gold);
  font-style: italic;
}
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--cream-2);
  max-width: 480px;
  line-height: 1.7;
}
.hero-rating {
  display: flex; align-items: center; gap: .6rem;
  font-size: .875rem;
}
.stars { color: var(--gold); letter-spacing: .05em; }
.rating-score { font-weight: 600; }
.rating-sep { color: var(--cream-3); }
.rating-count { color: var(--cream-3); }
.hero-actions {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute; bottom: 3rem; left: var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream-3);
}
.scroll-line {
  display: block; width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2s ease infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); opacity: .6; }
  50% { transform: scaleY(.5); opacity: 1; }
}
.reveal-line {
  display: block;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .9s var(--ease-out);
}
.reveal-line.is-visible {
  clip-path: inset(0 0% 0 0);
}

/* =============================================================
   11. EDITORIAL STRIP
   ============================================================= */
.editorial-strip {
  position: relative; z-index: 10;
  padding: clamp(5rem, 12vw, 10rem) var(--gutter);
  border-top: 1px solid var(--line);
}
.strip-inner {
  max-width: var(--max); margin-inline: auto;
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.strip-num {
  font-family: ui-monospace, monospace;
  font-size: .75rem;
  color: var(--gold);
  letter-spacing: .1em;
  padding-top: .35rem;
}
.strip-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.strip-body {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--cream-3);
  line-height: 1.8;
  max-width: 560px;
}
.strip-glyph {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  opacity: .18;
}
.glyph-jp {
  font-family: var(--jp);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--gold);
  line-height: 1;
}
.glyph-sub {
  font-size: .7rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--cream-3);
}

/* =============================================================
   12. SECTION COMMON
   ============================================================= */
.section-header {
  max-width: var(--max); margin-inline: auto;
  padding-inline: var(--gutter);
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
.section-kicker {
  font-family: ui-monospace, monospace;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 400;
  color: var(--cream);
}
.section-title em {
  color: var(--gold);
  font-style: italic;
}

/* =============================================================
   13. ESPECIALIDADES GRID
   ============================================================= */
.especialidades {
  position: relative; z-index: 10;
  padding-block: clamp(5rem, 12vw, 9rem);
}
.esp-grid {
  max-width: var(--max); margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.5rem;
}
.esp-card {
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .4s var(--ease-out), box-shadow .4s var(--ease-out), transform .4s var(--ease-out);
  cursor: default;
}
.esp-card:hover {
  border-color: rgba(201,169,97,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,169,97,0.1) inset;
  transform: translateY(-4px);
}
.esp-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.esp-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out), filter .7s;
  filter: saturate(.85);
}
.esp-card:hover .esp-card-img img {
  transform: scale(1.08);
  filter: saturate(1.1);
}
.esp-card-body {
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.esp-jp {
  font-family: var(--jp);
  font-size: .875rem;
  color: var(--gold);
  opacity: .7;
}
.esp-name {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--cream);
}
.esp-desc {
  font-size: .875rem;
  color: var(--cream-3);
  line-height: 1.65;
}

/* =============================================================
   14. BUFFET SECTION
   ============================================================= */
.buffet {
  position: relative; z-index: 10;
  padding-block: clamp(5rem, 12vw, 9rem);
  border-top: 1px solid var(--line);
}
.buffet-inner {
  max-width: var(--max); margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}
.buffet-body {
  font-size: 1.05rem;
  color: var(--cream-3);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.buffet-list {
  list-style: none;
  display: flex; flex-direction: column; gap: .85rem;
  margin-bottom: 2.5rem;
}
.buffet-list li {
  display: flex; align-items: baseline; gap: 1rem;
  font-size: .9375rem; color: var(--cream-2);
}
.buffet-list li span {
  color: var(--gold);
  font-family: ui-monospace, monospace;
  font-size: .75rem;
}
.price-card {
  background: var(--bg-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 3rem);
  display: flex; flex-direction: column; gap: 1rem;
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.price-label {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream-3);
}
.price-amount {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
}
.price-note {
  font-size: .8125rem; color: var(--cream-3);
}
.price-divider {
  height: 1px; background: var(--line);
}
.price-rating {
  font-size: .875rem; color: var(--cream-2);
}
.price-rating strong { color: var(--gold); }

/* =============================================================
   15. GALERÍA
   ============================================================= */
.galeria {
  position: relative; z-index: 10;
  padding-block: clamp(5rem, 12vw, 9rem);
  border-top: 1px solid var(--line);
}
.gallery-grid {
  max-width: var(--max); margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 0;
}
.gallery-item--wide {
  grid-column: 1 / 3;
}
.gallery-item--tall {
  grid-row: 1 / 3;
}
.gallery-item img {
  width: 100%; height: 100%; min-height: 260px; max-height: 480px;
  object-fit: cover;
  transition: transform .7s var(--ease-out), filter .5s;
  filter: saturate(.8);
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.1);
}

/* =============================================================
   16. TESTIMONIOS
   ============================================================= */
.testimonios {
  position: relative; z-index: 10;
  padding-block: clamp(5rem, 12vw, 9rem);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.testimonios-track {
  max-width: var(--max); margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
}
.test-card {
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color .4s, transform .4s var(--ease-out);
}
.test-card:hover {
  border-color: rgba(201,169,97,0.25);
  transform: translateY(-3px);
}
.test-stars {
  color: var(--gold);
  font-size: .875rem;
  letter-spacing: .05em;
}
.test-text {
  font-size: .9375rem;
  color: var(--cream-2);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.test-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.test-author {
  font-size: .875rem;
  font-weight: 500;
  color: var(--cream);
  font-style: normal;
}
.test-location {
  font-size: .75rem;
  color: var(--cream-3);
  letter-spacing: .08em;
}

/* =============================================================
   17. HORARIOS
   ============================================================= */
.horarios {
  position: relative; z-index: 10;
  padding-block: clamp(5rem, 12vw, 9rem);
  border-top: 1px solid var(--line);
}
.horarios-inner {
  max-width: var(--max); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; flex-direction: column; gap: 3rem;
}
.horarios-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}
.hor-card {
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex; flex-direction: column; gap: .5rem;
  transition: border-color .4s, transform .4s var(--ease-out);
}
.hor-card:hover {
  border-color: var(--glass-border);
  transform: translateY(-2px);
}
.hor-card--accent {
  border-color: rgba(201,169,97,0.25);
  background: linear-gradient(135deg, var(--bg-3) 0%, rgba(201,169,97,0.05) 100%);
}
.hor-icon {
  font-size: 1.5rem; color: var(--gold);
  margin-bottom: .5rem;
  display: block;
}
.hor-period {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--cream);
}
.hor-time {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: -.02em;
}
.hor-days {
  font-size: .8125rem;
  color: var(--cream-3);
}

/* =============================================================
   18. FAQ
   ============================================================= */
.faq {
  position: relative; z-index: 10;
  padding-block: clamp(5rem, 12vw, 9rem);
  border-top: 1px solid var(--line);
}
.faq-list {
  max-width: 760px; margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; flex-direction: column; gap: .25rem;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0;
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--cream);
  font-weight: 500;
  transition: color .3s;
  gap: 1rem;
}
.faq-q::after {
  content: '+';
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; flex-shrink: 0;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--gold);
  transition: transform .4s var(--ease-out), background .3s;
}
details[open] .faq-q::after {
  transform: rotate(45deg);
  background: var(--gold-dim);
}
details[open] .faq-q { color: var(--gold); }
.faq-a {
  padding-bottom: 1.5rem;
}
.faq-a p {
  font-size: .9375rem;
  color: var(--cream-3);
  line-height: 1.75;
  max-width: 620px;
}

/* =============================================================
   19. RESERVA
   ============================================================= */
.reserva {
  position: relative; z-index: 10;
  padding-block: clamp(5rem, 12vw, 9rem);
  border-top: 1px solid var(--line);
}
.reserva-inner {
  max-width: 760px; margin-inline: auto;
  padding-inline: var(--gutter);
}
.reserva-sub {
  font-size: 1rem;
  color: var(--cream-3);
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}
.reserva-form {
  display: flex; flex-direction: column; gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-field {
  display: flex; flex-direction: column; gap: .5rem;
}
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream-3);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  color: var(--cream);
  font-family: var(--sans);
  font-size: .9375rem;
  padding: .875rem 1rem;
  transition: border-color .3s var(--ease-out), box-shadow .3s;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a7d68' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(201,169,97,0.5);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.08);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--cream-3);
  opacity: .6;
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(.5);
  cursor: pointer;
}

/* =============================================================
   20. FOOTER
   ============================================================= */
.footer {
  position: relative; z-index: 10;
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 8vw, 6rem);
  background: var(--bg-2);
}
.footer-inner {
  max-width: var(--max); margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
}
.footer-brand {
  display: flex; flex-direction: column; gap: .75rem;
}
.footer-jp {
  font-family: var(--jp);
  font-size: 2rem; color: var(--gold); opacity: .5;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.25rem; color: var(--cream);
  line-height: 1.2;
}
.footer-tagline {
  font-size: .8125rem; color: var(--cream-3);
  letter-spacing: .05em;
}
.footer-nav, .footer-contact {
  display: flex; flex-direction: column; gap: .75rem;
}
.footer-nav h3, .footer-contact h3 {
  font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--cream-3);
  margin-bottom: .5rem;
}
.footer-nav a {
  font-size: .875rem; color: var(--cream-3);
  transition: color .3s;
}
.footer-nav a:hover { color: var(--cream); }
.footer-contact address p,
.footer-hours {
  font-size: .875rem; color: var(--cream-3); line-height: 1.7;
}
.footer-contact a { transition: color .3s; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.5rem var(--gutter);
  max-width: var(--max); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
  font-size: .75rem;
  color: var(--cream-3);
}

/* =============================================================
   21. TOAST
   ============================================================= */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 7000;
  display: flex; align-items: center; gap: .75rem;
  background: var(--bg-3);
  border: 1px solid rgba(201,169,97,0.3);
  border-radius: var(--r-md);
  padding: 1rem 1.5rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .5s var(--ease-bounce), opacity .5s;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.toast-icon {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.toast-msg {
  font-size: .875rem; color: var(--cream-2);
}

/* =============================================================
   22. REVEAL ANIMATIONS
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* No-JS fallback */
.no-js .reveal,
.no-js .reveal-line { opacity: 1; transform: none; clip-path: none !important; }

/* Stagger delays for grids */
.esp-grid .esp-card:nth-child(2) { transition-delay: .08s; }
.esp-grid .esp-card:nth-child(3) { transition-delay: .16s; }
.esp-grid .esp-card:nth-child(4) { transition-delay: .24s; }
.esp-grid .esp-card:nth-child(5) { transition-delay: .32s; }
.esp-grid .esp-card:nth-child(6) { transition-delay: .40s; }
.testimonios-track .test-card:nth-child(2) { transition-delay: .1s; }
.testimonios-track .test-card:nth-child(3) { transition-delay: .2s; }
.testimonios-track .test-card:nth-child(4) { transition-delay: .3s; }

/* =============================================================
   23. RESPONSIVE — Mobile-first breakpoints
   ============================================================= */

/* ≥ 540px — large phone */
@media (min-width: 540px) {
  .hero-title { font-size: clamp(3.5rem, 10vw, 8rem); }
}

/* ≥ 720px — tablet */
@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* < 720px — mobile nav */
@media (max-width: 719px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .strip-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .strip-glyph { display: none; }

  .buffet-inner {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item--wide { grid-column: 1 / -1; }
  .gallery-item--tall { grid-row: auto; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-scroll-hint { display: none; }
}

/* < 500px — small mobile */
@media (max-width: 499px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .toast { left: 1rem; right: 1rem; transform: translateX(0) translateY(120px); white-space: normal; }
  .toast.is-visible { transform: translateX(0) translateY(0); }
}

/* =============================================================
   24. PREFERS-REDUCED-MOTION — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .scroll-line { animation: none; }
  .dot { animation: none; }
  .splash { animation: none; opacity: 0; }
  /* DO NOT disable: hovers, reveals, tilts, transitions */
}
