/* MAYA Restaurant Lounge — design system.
   Obsidian, worked gold and jade, after the house's own Mayan mask glyph.
   Display face: Cinzel (stone-carved capitals). Body: Onest.
   Accent italics: Cormorant Garamond.
   Signature motifs: the stepped fret (greca) and Maya bar-and-dot numerals. */

:root {
  --obsidian: #14110d;
  --obsidian-2: #1b1712;
  --panel: #211c15;
  --line: #383021;
  --gold: #c9a24b;
  --gold-2: #e3c87e;
  --gold-dim: #8a7238;
  --jade: #4c8f6e;
  --jade-2: #7fc4a2;
  --bone: #efe7d5;
  --bone-2: #e5dac2;
  --sand-ink: #221c12;
  --text: #e9e0cd;
  --muted: #a3987f;
  --danger: #c96a4b;
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Onest', 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  /* The stepped fret, drawn once and repeated as a border band */
  --fret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12' viewBox='0 0 36 12'%3E%3Cpath d='M0 12 V6 H6 V0 H18 V6 H12 V12 Z M18 12 V6 H24 V0 H36 V6 H30 V12 Z' fill='%23c9a24b' fill-opacity='.55'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--obsidian);
  color: var(--text);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
.hidden { display: none !important; }

.container { width: min(1180px, 92%); margin: 0 auto; }

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

/* ---------- Type ---------- */
h1, h2, h3, .t-display { font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.kicker::before { content: ''; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.section-head.center .kicker::after { content: ''; width: 34px; height: 1px; background: linear-gradient(270deg, transparent, var(--gold)); }

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.14;
  color: var(--bone);
  margin: 14px 0 10px;
  text-wrap: balance;
}
.section-title em.t-accent, .section-title em.t-script, .t-accent, .t-script {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-2);
  letter-spacing: 0;
  font-size: 1.08em;
}
.section-sub { color: var(--muted); max-width: 620px; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* Maya bar-and-dot numeral, one per section: dots are units, a bar is five.
   Genuine numbering, not decoration: sections count 1..7 down the page. */
.mnum { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 26px; margin: 0 auto 12px; }
.section-head:not(.center) .mnum { margin: 0 0 12px; }
.mnum i { display: block; }
.mnum .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(201, 162, 75, .5); }
.mnum .dots { display: flex; gap: 6px; }
.mnum .bar { width: 26px; height: 5px; background: var(--gold); border-radius: 2px; box-shadow: 0 0 8px rgba(201, 162, 75, .5); }

/* Thin fret band used between sections */
.fret-line { height: 12px; background: var(--fret) repeat-x center / auto 12px; opacity: .5; margin: 0 auto; width: min(420px, 70%); }

section { padding: 96px 0; position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-2);
  border: 1px solid var(--gold-dim);
  background: transparent;
  position: relative;
  transition: color .3s, border-color .3s, background-color .3s, transform .3s;
  /* One stepped corner: the greca cut, top-right */
  clip-path: polygon(0 0, calc(100% - 16px) 0, calc(100% - 16px) 8px, calc(100% - 8px) 8px, calc(100% - 8px) 16px, 100% 16px, 100% 100%, 0 100%);
}
.btn:hover { border-color: var(--gold); color: var(--obsidian); background: var(--gold); transform: translateY(-2px); }
.btn.solid {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-2) 45%, var(--gold) 100%);
  background-size: 220% 100%;
  color: var(--obsidian);
  border-color: transparent;
  font-weight: 600;
}
.btn.solid:hover { background-position: 100% 0; transform: translateY(-2px); }
.btn.ghost { border-color: rgba(233, 224, 205, .35); color: var(--bone); }
.btn.ghost:hover { background: var(--bone); border-color: var(--bone); color: var(--obsidian); }
.btn.danger { border-color: var(--danger); color: var(--danger); }
.btn.danger:hover { background: var(--danger); color: var(--bone); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 20px 0;
  transition: padding .35s, background-color .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.menu-open {
  background: rgba(20, 17, 13, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom-color: rgba(201, 162, 75, .18);
}
.nav-inner { display: flex; align-items: center; gap: 26px; }
.nav-logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav-logo img { height: 44px; width: auto; filter: drop-shadow(0 0 6px rgba(201, 162, 75, .35)); }
.nav-word svg { height: 20px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text);
  padding: 6px 0; position: relative; transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--gold); transition: right .3s;
}
.nav-links a:hover { color: var(--gold-2); }
.nav-links a:hover::after { right: 0; }
.nav-deals { color: var(--jade-2) !important; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cta {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  color: var(--obsidian); background: var(--gold); padding: 11px 20px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, calc(100% - 12px) 6px, calc(100% - 6px) 6px, calc(100% - 6px) 12px, 100% 12px, 100% 100%, 0 100%);
  transition: background-color .25s, transform .25s;
}
.nav-cta:hover { background: var(--gold-2); transform: translateY(-1px); }
.nav-auth { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .25s; }
.nav-auth:hover { color: var(--gold-2); }

.lang-switch {
  position: relative; display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px;
}
.lang-switch button {
  position: relative; z-index: 1; background: none; border: 0; color: var(--muted);
  font-size: .68rem; letter-spacing: .12em; padding: 5px 12px; transition: color .25s;
}
.lang-switch button.active { color: var(--obsidian); font-weight: 600; }
.lang-switch .lang-knob, .lang-switch::before {
  content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  background: var(--gold); border-radius: 999px; transition: transform .3s;
}
.lang-switch.on-fr::before { transform: translateX(100%); }
.lang-switch .lang-knob { display: none; }

.burger { display: none; background: none; border: 0; width: 40px; height: 34px; position: relative; z-index: 70; }
.burger span {
  display: block; height: 2px; background: var(--gold); margin: 7px 8px; transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.mobile-only { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg .kb { animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) } to { transform: scale(1.09) } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(20, 17, 13, .25) 0%, rgba(20, 17, 13, .82) 78%),
    linear-gradient(180deg, rgba(20, 17, 13, .55) 0%, rgba(20, 17, 13, .35) 40%, var(--obsidian) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 130px 20px 90px; }
.hero-glyph { width: clamp(84px, 12vw, 128px); margin: 0 auto 8px; mix-blend-mode: screen; animation: glyphGlow 5s ease-in-out infinite; }
@keyframes glyphGlow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(201, 162, 75, .25)); }
  50% { filter: drop-shadow(0 0 22px rgba(201, 162, 75, .55)); }
}
.hero-over { font-size: .74rem; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.hero-word { width: min(540px, 82vw); margin: 0 auto; }
.hero-word svg { width: 100%; height: auto; display: block; }
.hero-word .wm-sub {
  display: block; margin-top: 16px; font-size: clamp(.66rem, 1.4vw, .8rem);
  letter-spacing: .52em; text-transform: uppercase; color: var(--bone); text-indent: .52em;
}
.hero-script {
  font-family: var(--font-accent); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--gold-2); margin-top: 26px;
}
.hero-tag { display: none; }
.hero-actions { display: flex; gap: 18px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-hours { margin-top: 42px; display: inline-flex; align-items: center; gap: 14px; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero-hours .dia { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); display: inline-block; }
.hero-fret { position: absolute; bottom: 0; left: 0; right: 0; height: 12px; background: var(--fret) repeat-x center / auto 12px; opacity: .35; z-index: 2; }

/* Wordmark strokes (inline SVG) */
.wm-stroke { fill: none; stroke: url(#wmGold); stroke-width: 7; stroke-linecap: square; }

/* ---------- Reveals ---------- */
.reveal, .reveal-left { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal-left { transform: translateX(-30px); }
.reveal.visible, .reveal-left.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"], .reveal-left[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"], .reveal-left[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"], .reveal-left[data-delay="3"] { transition-delay: .36s; }

/* The unearthing wipe: an obsidian cover that retracts in stone steps.
   The cover sits on a child, so observing the frame keeps IO honest. */
.img-frame { position: relative; overflow: hidden; }
.img-frame .wipe {
  position: absolute; inset: 0; background: var(--obsidian-2); z-index: 2;
  transform: translateY(0); transition: transform 1s steps(6, end);
}
.img-frame.visible .wipe { transform: translateY(-101%); }

/* ---------- About ---------- */
#about { padding-top: 110px; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.about-images { position: relative; min-height: 460px; }
.about-images .img-main { width: 74%; }
.about-images .img-accent { position: absolute; right: 0; bottom: -40px; width: 46%; border: 6px solid var(--obsidian); }
.img-frame img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.img-frame { outline: 1px solid rgba(201, 162, 75, .4); outline-offset: 10px; }
.about-text > p { color: var(--muted); max-width: 52ch; }
.about-sign {
  margin-top: 30px; font-family: var(--font-display); font-size: .82rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 16px;
}
.about-sign::after { content: ''; flex: 0 0 60px; height: 12px; background: var(--fret) repeat-x center / auto 12px; opacity: .7; }
.about-amenities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.about-amenities span {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--jade-2);
  border: 1px solid rgba(76, 143, 110, .45); padding: 7px 13px; border-radius: 999px;
}

/* ---------- Menu preview: the printed carte, cream and gold ---------- */
.menu-section { background: var(--bone); color: var(--sand-ink); position: relative; }
.menu-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('/images/maya-glyph.png') no-repeat center 120px / 420px auto;
  opacity: .05;
}
.menu-section .section-title { color: var(--sand-ink); }
.menu-section .section-sub { color: #6d6248; }
.menu-section .kicker { color: var(--gold-dim); }
.menu-section .mnum .dot, .menu-section .mnum .bar { background: var(--gold-dim); box-shadow: none; }
.menu-tabs { display: flex; justify-content: center; gap: 0; margin-bottom: 50px; border: 1px solid var(--gold-dim); width: fit-content; margin-inline: auto; }
.menu-tabs button {
  background: none; border: 0; padding: 12px 34px; font-size: .76rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold-dim); transition: background-color .25s, color .25s;
}
.menu-tabs button.active { background: var(--sand-ink); color: var(--bone); }
.menu-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 64px; position: relative; }
.menu-cat h3 {
  font-size: 1.15rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sand-ink);
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 4px;
}
.menu-cat h3::after { content: ''; flex: 1; height: 1px; background: rgba(138, 114, 56, .4); }
.menu-cat-sub { font-family: var(--font-accent); font-style: italic; color: var(--gold-dim); margin-bottom: 12px; font-size: 1.02rem; }
.menu-item { display: flex; align-items: baseline; gap: 10px; padding-top: 13px; }
.mi-name { font-weight: 500; font-size: .96rem; color: var(--sand-ink); }
.mi-dots { flex: 1; border-bottom: 1px dotted rgba(109, 98, 72, .55); transform: translateY(-4px); }
.mi-price { font-family: var(--font-display); font-weight: 600; color: var(--gold-dim); white-space: nowrap; font-size: .95rem; }
.mi-was { color: #a3987f; margin-right: 8px; font-family: var(--font-body); font-weight: 300; font-size: .82rem; }
.mi-deal { color: var(--jade); }
.menu-item-desc { font-size: .84rem; color: #6d6248; max-width: 46ch; margin-top: 2px; }
.menu-actions { text-align: center; margin-top: 54px; }
.menu-section .btn { color: var(--sand-ink); border-color: var(--gold-dim); }
.menu-section .btn:hover { background: var(--sand-ink); border-color: var(--sand-ink); color: var(--bone); }

/* ---------- Signature cocktails ---------- */
.signature { background: linear-gradient(180deg, var(--obsidian) 0%, #191410 55%, var(--obsidian) 100%); overflow: hidden; }
.sig-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 22px; overflow-x: auto; padding: 10px 4px 26px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent; }
.sig-card {
  scroll-snap-align: start; background: var(--panel); border: 1px solid var(--line);
  padding: 30px 26px 26px; position: relative; transition: transform .35s, border-color .35s;
  clip-path: polygon(0 0, calc(100% - 22px) 0, calc(100% - 22px) 11px, calc(100% - 11px) 11px, calc(100% - 11px) 22px, 100% 22px, 100% 100%, 0 100%);
}
.sig-card:hover { transform: translateY(-6px); border-color: var(--gold-dim); }
.sig-card .mnum { margin: 0 0 18px; align-items: flex-start; }
.sig-card h3 { font-size: 1.12rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 10px; }
.sig-card p { font-size: .86rem; color: var(--muted); min-height: 64px; }
.sig-price { display: inline-block; margin-top: 16px; font-family: var(--font-display); font-weight: 600; color: var(--bone); border-top: 1px solid var(--line); padding-top: 12px; }
.sig-foot { margin-top: 26px; }

/* ---------- Spaces ---------- */
.spaces-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.space-card { position: relative; overflow: hidden; aspect-ratio: 3 / 4;
  clip-path: polygon(0 0, calc(100% - 26px) 0, calc(100% - 26px) 13px, calc(100% - 13px) 13px, calc(100% - 13px) 26px, 100% 26px, 100% 100%, 26px 100%, 26px calc(100% - 13px), 13px calc(100% - 13px), 13px calc(100% - 26px), 0 calc(100% - 26px));
}
.space-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.space-card:hover img { transform: scale(1.07); }
.space-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 13, 0) 40%, rgba(20, 17, 13, .88) 100%);
}
.space-card figcaption {
  position: absolute; left: 26px; right: 20px; bottom: 22px; z-index: 2; display: flex; flex-direction: column; gap: 3px;
}
.space-card figcaption span { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bone); }
.space-card figcaption small { font-family: var(--font-accent); font-style: italic; font-size: .95rem; color: var(--gold-2); }

/* ---------- Gallery ---------- */
.gallery-section { padding-bottom: 60px; }
.gal-rows { display: flex; flex-direction: column; gap: 20px; }
.gal-marquee { overflow: hidden; position: relative; }
.gal-marquee::before, .gal-marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.gal-marquee::before { left: 0; background: linear-gradient(90deg, var(--obsidian), transparent); }
.gal-marquee::after { right: 0; background: linear-gradient(270deg, var(--obsidian), transparent); }
.gal-track { display: flex; gap: 20px; width: max-content; animation: mq 46s linear infinite; }
.gal-marquee.reverse .gal-track { animation-direction: reverse; }
.gal-marquee:hover .gal-track { animation-play-state: paused; }
@keyframes mq { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.gal-track img {
  height: 240px; width: auto; cursor: zoom-in; border: 1px solid var(--line);
  padding: 8px; background: var(--obsidian-2); transition: border-color .3s, transform .3s;
}
.gal-track img:hover { border-color: var(--gold-dim); transform: translateY(-4px); }

/* ---------- Hours + map ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.info-grid.no-map { grid-template-columns: 1fr; max-width: 640px; }
.hours-list li { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(56, 48, 33, .6); }
.hours-list .day-col { display: flex; flex-direction: column; }
.hours-list .day { letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--bone); }
.hours-list .day-note { color: var(--jade-2); font-size: .74rem; letter-spacing: .04em; }
.hours-list .dots { flex: 1; border-bottom: 1px dotted rgba(163, 152, 127, .4); transform: translateY(-4px); }
.hours-list .time { font-family: var(--font-display); color: var(--gold-2); font-size: .92rem; }
.hours-list .closed { color: var(--danger); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-lines { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: .94rem; }
.contact-lines strong { color: var(--gold); font-weight: 500; }
.contact-lines a:hover { color: var(--gold-2); }
#map { height: 420px; border: 1px solid var(--line); filter: grayscale(.4) brightness(.9); }
.map-pin {
  width: 18px; height: 18px; background: var(--gold); transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(201, 162, 75, .3), 0 0 18px rgba(201, 162, 75, .8);
}
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--obsidian-2); color: var(--text); }
.leaflet-popup-content a { color: var(--gold-2); }

/* ---------- Contact band ---------- */
.contact-band { background: var(--obsidian-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-inner { text-align: center; }
.contact-lead { color: var(--muted); max-width: 520px; margin: 0 auto 40px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.contact-card {
  display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 20px;
  background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, transform .3s;
}
a.contact-card:hover { border-color: var(--gold-dim); transform: translateY(-3px); }
.cc-icon { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--gold-dim); border-radius: 50%; }
.cc-icon svg { width: 16px; height: 16px; fill: var(--gold); }
.cc-body { display: flex; flex-direction: column; min-width: 0; }
.cc-body small { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cc-body b { font-weight: 500; font-size: .9rem; color: var(--bone); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }

.socials { display: flex; gap: 14px; justify-content: center; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--obsidian); transition: transform .3s, border-color .3s; }
.socials a:hover { transform: translateY(-3px) scale(1.05); border-color: var(--gold-dim); }
.socials svg, .socials img { width: 22px; height: 22px; }
.socials img { border-radius: 5px; }

/* ---------- Reserve ---------- */
.reserve-section { padding-bottom: 120px; }
.reserve-panel {
  max-width: 760px; margin: 0 auto; background: var(--obsidian-2); border: 1px solid var(--line);
  padding: 56px clamp(22px, 6vw, 64px) 48px; position: relative;
}
.reserve-panel::before {
  content: ''; position: absolute; inset: 10px; border: 1px solid rgba(201, 162, 75, .22); pointer-events: none;
  clip-path: polygon(0 0, calc(100% - 18px) 0, calc(100% - 18px) 9px, calc(100% - 9px) 9px, calc(100% - 9px) 18px, 100% 18px, 100% 100%, 18px 100%, 18px calc(100% - 9px), 9px calc(100% - 9px), 9px calc(100% - 18px), 0 calc(100% - 18px));
}
.prefill-note { margin-top: 14px; color: var(--jade-2); font-size: .85rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 38px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.form-field input, .form-field select, .auth-form input, .auth-form select {
  background: var(--obsidian); border: 1px solid var(--line); color: var(--text);
  padding: 13px 15px; font-size: .95rem; transition: border-color .25s; border-radius: 0;
}
.form-field input:focus, .form-field select:focus, .auth-form input:focus, .auth-form select:focus { outline: none; border-color: var(--gold); }
.form-field input::placeholder { color: rgba(163, 152, 127, .5); }
.field-note { font-size: .76rem; color: var(--muted); }
.phone-row { display: flex; gap: 10px; }
.phone-row select { width: 118px; flex: none; background: var(--obsidian); border: 1px solid var(--line); color: var(--text); padding: 13px 8px; }
.phone-row input { flex: 1; }
.form-submit { margin-top: 30px; text-align: center; }
.form-msg { text-align: center; margin-top: 18px; font-size: .9rem; min-height: 1.4em; }
.form-msg.ok { color: var(--jade-2); }
.form-msg.err { color: var(--danger); }
.form-note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 10px; }

/* Time picker */
.timepick { position: relative; }
.timepick-btn {
  width: 100%; display: flex; align-items: center; gap: 10px; background: var(--obsidian);
  border: 1px solid var(--line); color: var(--muted); padding: 13px 15px; font-size: .95rem;
  transition: border-color .25s;
}
.timepick-btn svg { width: 16px; height: 16px; fill: var(--gold-dim); }
.timepick-btn.chosen { color: var(--text); }
.timepick-btn.open, .timepick-btn:focus { border-color: var(--gold); outline: none; }
.tp-caret { margin-left: auto; border: 4px solid transparent; border-top-color: var(--gold-dim); transform: translateY(2px); }
.timepick-panel[hidden] { display: none; }
.timepick-panel {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-height: 240px; overflow: auto;
  background: var(--obsidian-2); border: 1px solid var(--gold-dim);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.timepick-slot { background: none; border: 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); color: var(--text); padding: 11px 0; font-size: .88rem; transition: background-color .2s, color .2s; }
.timepick-slot:hover { background: var(--panel); color: var(--gold-2); }
.timepick-slot.on { background: var(--gold); color: var(--obsidian); font-weight: 600; }

/* ---------- Footer ---------- */
footer { position: relative; padding: 90px 0 34px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-word {
  position: absolute; left: 50%; top: 4px; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 14vw, 11rem);
  letter-spacing: .1em; color: transparent; -webkit-text-stroke: 1px rgba(201, 162, 75, .1);
  user-select: none; pointer-events: none; white-space: nowrap;
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; padding-top: 60px; }
.footer-logo { height: 74px; width: auto; margin-bottom: 18px; mix-blend-mode: screen; }
.footer-grid p { color: var(--muted); font-size: .9rem; max-width: 40ch; margin-bottom: 20px; }
.footer-grid .socials { justify-content: flex-start; }
.footer-grid h4 { font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 600; }
.footer-grid ul li { padding: 5px 0; color: var(--muted); font-size: .92rem; }
.footer-grid ul a:hover { color: var(--gold-2); }
.footer-bottom {
  margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(56, 48, 33, .6);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .78rem; color: var(--muted);
}
.footer-bottom a:hover { color: var(--gold-2); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(14, 12, 9, .94);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 86vh; border: 1px solid var(--gold-dim); }
.lightbox button {
  position: absolute; background: none; border: 1px solid var(--line); color: var(--bone);
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.2rem; transition: border-color .25s, color .25s;
}
.lightbox button:hover { border-color: var(--gold); color: var(--gold-2); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px); z-index: 95;
  background: var(--gold); color: var(--obsidian); font-weight: 500; padding: 13px 26px;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; font-size: .9rem;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Promo banner strip (js/promo.js) ---------- */
.promo-strip {
  position: sticky; top: 0; z-index: 65; background: linear-gradient(90deg, #2a2113, #3a2d15, #2a2113);
  border-bottom: 1px solid var(--gold-dim); color: var(--gold-2);
  text-align: center; padding: 10px 40px; font-size: .86rem; letter-spacing: .04em;
}
.promo-strip a { text-decoration: underline; text-underline-offset: 3px; }
.promo-strip .promo-close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--gold-2); font-size: 1rem; padding: 6px;
}

/* ---------- Secondary pages: shared shell ---------- */
.page-hero { padding: 170px 0 70px; text-align: center; background: linear-gradient(180deg, var(--obsidian-2), var(--obsidian)); border-bottom: 1px solid var(--line); }
.page-hero .kicker::after { content: ''; width: 34px; height: 1px; background: linear-gradient(270deg, transparent, var(--gold)); }
.nav-simple { background: rgba(20, 17, 13, .92); backdrop-filter: blur(14px); padding: 12px 0; border-bottom: 1px solid rgba(201, 162, 75, .18); }

/* Auth (account) */
.page-account { min-height: 100vh; display: flex; flex-direction: column; }
.account-main { flex: 1; display: grid; place-items: start center; padding: 150px 16px 90px; }
.auth-wrap { width: min(460px, 100%); }
.auth-card { background: var(--obsidian-2); border: 1px solid var(--line); padding: 44px 36px; position: relative; }
.auth-card::before {
  content: ''; position: absolute; inset: 8px; border: 1px solid rgba(201, 162, 75, .16); pointer-events: none;
}
.auth-logo { height: 74px; width: auto; margin: 0 auto 16px; mix-blend-mode: screen; }
.auth-card h1 { text-align: center; font-size: 1.5rem; color: var(--bone); letter-spacing: .1em; }
.auth-sub { text-align: center; color: var(--muted); font-size: .88rem; margin: 10px 0 26px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form label { display: flex; flex-direction: column; gap: 7px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.auth-form .btn { margin-top: 10px; }
.auth-msg { min-height: 1.3em; font-size: .85rem; text-align: center; }
.auth-msg.ok { color: var(--jade-2); }
.auth-msg.err, .err { color: var(--danger); font-size: .85rem; }
.auth-switch, .auth-hint { text-align: center; color: var(--muted); font-size: .86rem; margin-top: 20px; }
.auth-switch a, .auth-hint a, .forgot-link { color: var(--gold-2); }
.forgot-link { font-size: .8rem; text-align: right; letter-spacing: 0; text-transform: none; }
.stay-line, .stay-row { flex-direction: row !important; align-items: center; gap: 10px !important; text-transform: none !important; letter-spacing: 0 !important; font-size: .86rem !important; color: var(--muted) !important; }
.gender-row { display: flex; gap: 12px; }
.birthday-note { font-size: .78rem; color: var(--muted); }
.pw-wrap { position: relative; display: flex; }
.pw-wrap input { flex: 1; padding-right: 44px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; width: 34px; height: 34px; color: var(--muted); }
.pw-eye svg { width: 18px; height: 18px; fill: currentColor; }
.pw-eye .eye-shut { display: none; }
.pw-eye.on .eye-open { display: none; }
.pw-eye.on .eye-shut { display: block; }
.muted { color: var(--muted); }

.res-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.res-list > div { border: 1px solid var(--line); padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .9rem; }

/* Deals page */
.deals-main { flex: 1; padding: 40px 16px 90px; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; width: min(1000px, 100%); margin: 0 auto; }
.member-heading { text-align: center; margin: 26px 0; color: var(--muted); }
.member-card { background: var(--obsidian-2); border: 1px solid var(--line); padding: 24px; }
.member-card h3 { color: var(--gold-2); font-size: 1.02rem; letter-spacing: .1em; margin-bottom: 6px; }
.member-card .was { text-decoration: line-through; color: var(--muted); margin-right: 10px; }
.member-card .now { color: var(--jade-2); font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 0 100px; }
.legal h2 { color: var(--gold); font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: .94rem; }
.legal ul { list-style: disc; padding-left: 20px; }

/* Delete account */
.del-card { max-width: 640px; margin: 0 auto; }
.del-block { border: 1px solid var(--line); padding: 24px; margin-top: 20px; background: var(--obsidian-2); }
.del-block h2 { color: var(--gold); font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.del-list { list-style: disc; padding-left: 20px; color: var(--muted); font-size: .92rem; }
.del-list li { padding: 3px 0; }
.del-note { color: var(--danger); font-size: .9rem; margin-top: 14px; }
.del-or { text-align: center; color: var(--muted); margin: 18px 0; font-size: .85rem; }

/* Boot splash shared with admin-style pages */
.page-boot { display: grid; place-items: center; min-height: 60vh; }
.boot-mark { position: relative; display: grid; place-items: center; }
.boot-mark img { height: 80px; width: auto; mix-blend-mode: screen; }
.boot-ring { position: absolute; width: 120px; height: 120px; border: 1px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }

/* ---------- Full menu page ---------- */
.menu-page { background: var(--bone); color: var(--sand-ink); min-height: 100vh; }
.menu-page .page-hero { background: var(--obsidian); border-bottom: 0; }
.menu-page-body { position: relative; padding: 60px 0 110px; }
.menu-page-body::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('/images/maya-glyph.png') no-repeat center 40px / 460px auto;
  opacity: .05;
}
.menu-page .menu-tabs { border-color: var(--gold-dim); margin-top: 6px; }
.menu-page .menu-cols { margin-top: 40px; }
.menu-legend { text-align: center; color: #6d6248; font-size: .78rem; letter-spacing: .06em; margin-top: 60px; }
.menu-cat.two-way .mi-price { min-width: 76px; text-align: right; }
.mi-head .mi-price { font-family: var(--font-body); font-weight: 400; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #6d6248; }
.mi-head .mi-dots { border: 0; }
.promo-notice {
  text-align: center; margin: 0 auto 26px; max-width: 640px; padding: 12px 22px;
  border: 1px solid var(--jade); color: var(--jade); font-size: .9rem; background: rgba(76, 143, 110, .08);
}

/* ---------- 404 ---------- */
.page-404 { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 20px; }
.page-404 h1 { font-size: 5rem; color: var(--gold); }
.page-404 p { color: var(--muted); margin: 12px 0 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .spaces-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  section { padding: 70px 0; }
  .nav-links {
    position: fixed; inset: 0; z-index: 60; background: rgba(20, 17, 13, .98);
    flex-direction: column; justify-content: center; gap: 20px; text-align: center;
    transform: translateX(100%); transition: transform .4s ease;
  }
  .nav-links.open { transform: none; display: flex; }
  .nav-links a { font-size: 1rem; }
  .nav-right { display: none; }
  .burger { display: block; margin-left: auto; }
  .mobile-only { display: block; }
  .mobile-only .lang-switch { margin: 10px auto 0; }
  .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .about-images { min-height: 0; }
  .about-images .img-accent { bottom: -20px; }
  .menu-cols { grid-template-columns: 1fr; gap: 36px; }
  .info-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-word { font-size: 22vw; }
}

@media (max-width: 560px) {
  .spaces-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .gal-track img { height: 170px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .auth-card { padding: 34px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left { transition: none; opacity: 1; transform: none; }
  .gal-track { animation: none; }
  .hero-bg .kb { animation: none; }
  .hero-glyph { animation: none; }
}
