/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', 'Helvetica Neue', sans-serif;
  font-size: 16px; font-weight: 500; line-height: 1.6;
  background: var(--ground-dark); color: var(--text-on-dark);
  overflow-x: hidden;
}
a { color: var(--gold); }
a:hover { color: var(--gold-hover); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, select, textarea { font: inherit; }

/* ── Design tokens ── */
:root {
  --ground-dark: #141413;
  --ground-dark-alt: #191917;
  --ground-dark-deep: #0D0D0C;
  --marble-light: #ECE9E3;
  --text-on-dark: #ECE5D6;
  --muted-on-dark: #BFB7A7;
  --muted-on-dark-2: #D8D1C2;
  --text-on-light: #1C1B19;
  --muted-on-light: #36332D;
  --muted-on-light-2: #45413A;
  --gold: #C6A66B;
  --gold-hover: #E2CB9A;
  --gold-icon: #D9B05A;
  --bronze-icon: #7C5612;
  --bronze-icon-2: #8A6C34;
  --line-dark: #34332E;
  --line-light: #CBC4B7;
  --container: 1160px;
}

/* ── Layout helpers ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { position: relative; }

.marble { position: relative; overflow: hidden; color: var(--text-on-light); background-color: var(--marble-light); }
.marble-dark { position: relative; overflow: hidden; background-color: var(--ground-dark); }
.marble-dark.alt { background-color: var(--ground-dark-alt); }
.marble-dark.deep { background-color: var(--ground-dark-deep); }
.vein { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }

/* ── Typography ── */
h1, h2, h3 { font-family: 'Lora', Georgia, serif; font-weight: 700; line-height: 1.1; }
.eyebrow {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { color: var(--muted-on-light); }
.marble-dark .section-head p { color: var(--muted-on-dark-2); }

/* ── Ornament (line - icon - line) ── */
.ornament { display: flex; align-items: center; gap: 14px; }
.ornament-line { width: 56px; height: 1px; background: var(--line-dark); }
.marble .ornament-line { background: var(--line-light); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 48px; padding: 0 24px; border-radius: 4px;
  font-weight: 600; font-size: 15.5px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-gold { background: var(--gold); color: var(--ground-dark); }
.btn-gold:hover { background: var(--gold-hover); color: var(--ground-dark); }
.btn-outline-light { background: transparent; border-color: var(--text-on-dark); color: var(--text-on-dark); }
.btn-outline-light:hover { background: var(--text-on-dark); color: var(--ground-dark); }
.btn-outline-gold { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--ground-dark); }
.btn-dark { min-height: 54px; padding: 0 30px; background: var(--ground-dark); color: var(--text-on-dark); box-shadow: 0 8px 22px rgba(20,20,19,.18); }
.btn-dark:hover { background: #2A2824; color: var(--text-on-dark); }
.btn-dark svg { color: var(--gold-icon); flex-shrink: 0; }
.btn-card {
  display: flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 18px; font-size: 15px; border: 1px solid var(--line-light);
  border-radius: 4px; background: rgba(255,255,255,.62);
  color: var(--text-on-light); text-decoration: none; font-weight: 600;
  transition: background-color .2s ease, border-color .2s ease;
}
.btn-card:hover { background: rgba(255,255,255,.9); border-color: var(--gold); }

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
header { border-bottom: 1px solid var(--line-dark); position: sticky; top: 0; z-index: 900; }
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text { font-family: 'Lora', Georgia, serif; font-size: 23px; font-weight: 700; line-height: 1.1; color: var(--text-on-dark); white-space: nowrap; }
.brand-sub { font-size: 12.5px; color: var(--muted-on-dark); }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--text-on-dark); white-space: nowrap; }
.nav-links a:hover { color: var(--gold); }
.nav-contact { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-size: 16px; font-weight: 700; color: var(--text-on-dark); text-decoration: none; white-space: nowrap; }
.nav-phone:hover { color: var(--gold); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-on-dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; background: var(--ground-dark-deep);
  border-top: 1px solid var(--line-dark); padding: 8px 24px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 14px 0; text-decoration: none; color: var(--text-on-dark);
  font-weight: 500; border-bottom: 1px solid var(--line-dark);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
  gap: 56px; align-items: center; padding: 72px 0 88px;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-copy h1 { font-size: clamp(32px, 4.2vw, 52px); text-wrap: balance; }
.hero-copy h1 em { font-style: normal; color: var(--gold); }
.hero-copy > p { font-size: 17px; color: var(--muted-on-dark-2); max-width: 34em; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 6px; font-size: 14.5px; color: var(--muted-on-dark-2); }
.hero-meta-item { display: flex; align-items: center; gap: 10px; }
.hero-photo { position: relative; min-height: 460px; border-radius: 6px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,12,.55), transparent 55%);
}

/* ─────────────────────────────────────────────
   FORMATS
───────────────────────────────────────────── */
#formats { border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.formats-wrap { display: flex; flex-direction: column; gap: 48px; padding: 88px 0; }
.formats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 28px; }
.format-card {
  background: rgba(255,255,255,.62); border: 1px solid var(--line-light); border-radius: 6px;
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.format-card svg { color: var(--bronze-icon); width: 34px; height: 34px; }
.format-card h3 { font-size: 26px; }
.format-card p { color: var(--muted-on-light); }

/* ─────────────────────────────────────────────
   DAYS
───────────────────────────────────────────── */
.days-wrap { display: flex; flex-direction: column; gap: 40px; padding: 88px 0; }
.days-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); border-top: 1px solid var(--line-dark); }
.day-item { padding: 28px 24px 28px 0; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--line-dark); }
.day-mark { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.day-mark-line { width: 32px; height: 1px; background: var(--gold); }
.day-mark-dot { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--gold); }
.day-item .day-title { font-family: 'Lora', Georgia, serif; font-size: 25px; font-weight: 700; }
.day-item .day-text { color: var(--muted-on-dark); font-size: 15px; }

/* ─────────────────────────────────────────────
   MENU
───────────────────────────────────────────── */
#menu { color: var(--text-on-light); }
#menu .vein, #faq .vein { transform: translateZ(0); }
.menu-wrap { padding: 80px 0; display: flex; flex-direction: column; gap: 32px; }
.menu-stat {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px;
  padding: 16px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
  font-size: 15px;
}
.menu-stat strong { font-family: 'Lora', Georgia, serif; font-size: 22px; color: var(--bronze-icon); }
.menu-stat-note { color: var(--muted-on-light-2); font-size: 13.5px; }
.menu-accordion { max-width: 760px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.menu-item { border: 1px solid var(--line-light); border-radius: 4px; overflow: hidden; background: rgba(255,255,255,.62); }
.menu-item.vip { border-color: var(--gold); background: rgba(198,166,107,.14); }
.menu-item-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: inherit; color: var(--text-on-light);
}
.menu-item-name { font-family: 'Lora', Georgia, serif; font-size: 17px; font-weight: 700; }
.menu-item-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.menu-item-price { font-family: 'Lora', Georgia, serif; font-size: 16px; font-weight: 700; color: var(--bronze-icon); white-space: nowrap; }
.menu-item-icon {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: rgba(124,86,18,.12); color: var(--bronze-icon);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; line-height: 1; transition: transform .25s ease;
}
.menu-item.open .menu-item-icon { transform: rotate(45deg); }
.menu-item-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.menu-item-body-inner { padding: 0 18px 20px; }
.menu-dishes-label {
  padding-top: 16px; margin-bottom: 14px; border-top: 1px solid var(--line-light);
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-icon);
}
.menu-dishes { list-style: none; columns: 2 240px; column-gap: 32px; }
.menu-dishes li {
  position: relative; break-inside: avoid; padding-left: 20px; margin-bottom: 9px;
  font-size: 15px; line-height: 1.45; color: var(--text-on-light);
}
.marble-dark .menu-item { border-color: var(--line-dark); background: rgba(255,255,255,.04); }
.marble-dark .menu-item-btn { color: var(--text-on-dark); }
.marble-dark .menu-item-icon { background: rgba(217,176,90,.14); color: var(--gold-icon); }
.faq-answer { color: var(--muted-on-dark-2); font-size: 15px; line-height: 1.65; }
.menu-dishes li::before {
  content: ''; position: absolute; left: 2px; top: .5em; width: 7px; height: 7px;
  transform: rotate(45deg); background: var(--gold); border: 1px solid var(--bronze-icon-2);
}

/* ─────────────────────────────────────────────
   GALLERY
───────────────────────────────────────────── */
#gallery { border-top: 1px solid var(--line-dark); }
.gallery-wrap { display: flex; flex-direction: column; gap: 28px; padding: 72px 0; }
.photo-wall { column-count: 4; column-gap: 26px; padding: 10px; }
.photo-wall-item {
  break-inside: avoid; margin-bottom: 30px; overflow: hidden;
  background: var(--marble-light); padding: 8px 8px 22px;
  box-shadow: 0 14px 34px rgba(0,0,0,.5);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative; z-index: 1;
}
.photo-wall-item img { width: 100%; display: block; }
.photo-wall-item:hover { transform: rotate(0deg) translateY(-6px) scale(1.02); box-shadow: 0 20px 46px rgba(0,0,0,.6); z-index: 2; }
.photo-wall-item:nth-child(7n+1) { transform: rotate(-2.2deg); }
.photo-wall-item:nth-child(7n+2) { transform: rotate(1.6deg); }
.photo-wall-item:nth-child(7n+3) { transform: rotate(-1deg); }
.photo-wall-item:nth-child(7n+4) { transform: rotate(2.4deg); }
.photo-wall-item:nth-child(7n+5) { transform: rotate(-1.8deg); }
.photo-wall-item:nth-child(7n+6) { transform: rotate(1.2deg); }
.photo-wall-item:nth-child(7n+7) { transform: rotate(-2.6deg); }
@media(max-width: 860px) { .photo-wall { column-count: 3; } }
@media(max-width: 560px) { .photo-wall { column-count: 2; column-gap: 18px; } .photo-wall-item { margin-bottom: 22px; } }

/* ─────────────────────────────────────────────
   STEPS
───────────────────────────────────────────── */
#steps { border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.steps-wrap { display: flex; flex-direction: column; gap: 48px; padding: 96px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step-head { display: flex; align-items: center; gap: 16px; }
.step-num { font-family: 'Lora', Georgia, serif; font-size: 44px; font-weight: 700; line-height: 1; color: var(--bronze-icon-2); }
.step-sep { width: 1px; height: 36px; background: var(--line-light); }
.step-head svg { color: var(--bronze-icon); width: 30px; height: 30px; }
.step-title { font-weight: 700; font-size: 17px; }
.step-text { color: var(--muted-on-light-2); font-size: 14.5px; }

/* ─────────────────────────────────────────────
   AREA
───────────────────────────────────────────── */
#area { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.area-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 72px 0; max-width: 600px; margin: 0 auto; }
.area-copy { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.area-copy p { color: var(--muted-on-dark-2); }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list.centered { justify-content: center; }
.chip {
  padding: 7px 14px 7px 10px; border: 1px solid var(--line-dark); border-radius: 999px;
  background: var(--ground-dark); font-size: 14.5px; display: flex; align-items: center; gap: 6px;
}
.chip svg { color: var(--gold-icon); flex-shrink: 0; }

/* ─────────────────────────────────────────────
   ORDER
───────────────────────────────────────────── */
#order { border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.order-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 56px; align-items: start; padding: 96px 0; }
.order-copy { display: flex; flex-direction: column; gap: 24px; }
.order-copy p { color: var(--muted-on-light); }
.order-channels { display: flex; flex-direction: column; gap: 12px; }
.order-channels svg { color: currentColor; flex-shrink: 0; }
.order-call {
  display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: 4px;
  background: var(--ground-dark); color: var(--text-on-dark); text-decoration: none;
  transition: background-color .2s ease;
}
.order-call:hover { background: #2A2824; }
.order-call svg { color: var(--gold-icon); }
.order-call-text { display: flex; flex-direction: column; gap: 2px; }
.order-call-label { font-size: 13px; font-weight: 600; color: var(--muted-on-dark); }
.order-call-number { font-size: 26px; font-weight: 700; line-height: 1.2; }
.order-alt { display: flex; flex-direction: column; gap: 8px; }
.order-alt-phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 12px; }
.order-alt-phones .btn-card { font-size: 17px; font-weight: 700; }
.order-card {
  background: rgba(255,255,255,.62); border: 1px solid var(--line-light); border-radius: 6px;
  padding: 28px; display: flex; flex-direction: column; gap: 20px; align-self: end;
}
.order-card-block { display: flex; flex-direction: column; gap: 4px; }
.order-card-label { font-size: 13px; font-weight: 600; color: var(--muted-on-light-2); }
.order-card-text { font-size: 16px; }
.order-map { grid-column: 1 / -1; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-light); position: relative; z-index: 1; }
.order-map iframe { display: block; border: 0; width: 100%; height: 400px; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer { color: var(--muted-on-dark); }
.footer-wrap {
  padding: 36px 0; display: flex; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; font-size: 13.5px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand-row { display: flex; align-items: center; gap: 8px; }
.footer-brand-row svg { color: var(--gold-icon); width: 32px; height: 32px; }
.footer-brand-row span { font-family: 'Lora', Georgia, serif; font-size: 20px; font-weight: 700; color: var(--text-on-dark); }
.footer-contacts { display: flex; flex-direction: column; gap: 4px; }
.footer-contacts a { color: var(--text-on-dark); font-weight: 600; text-decoration: none; }
.footer-contacts a:hover { color: var(--gold); }

/* ─────────────────────────────────────────────
   FLOATING CONTACT BUTTON
───────────────────────────────────────────── */
.fab-wrap {
  position: fixed; right: 24px; bottom: 24px; z-index: 950;
  padding-bottom: env(safe-area-inset-bottom);
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.fab-sub-list { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.fab-sub-item {
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(8px) scale(.95);
  transition: opacity .2s ease, transform .2s ease;
}
.fab-wrap.open .fab-sub-item { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab-wrap.open .fab-sub-item:nth-child(1) { transition-delay: .03s; }
.fab-wrap.open .fab-sub-item:nth-child(2) { transition-delay: .07s; }
.fab-wrap.open .fab-sub-item:nth-child(3) { transition-delay: .11s; }
.fab-label {
  background: var(--ground-dark-deep); color: var(--text-on-dark);
  border: 1px solid var(--line-dark); padding: 7px 14px; border-radius: 50px;
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
}
.fab-btn {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--ground-dark); text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fab-btn:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(0,0,0,.45); }
.fab-main {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); color: var(--ground-dark);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  box-shadow: 0 6px 22px rgba(0,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: fabGlow 2.4s ease-in-out infinite;
}
.fab-main:hover { transform: scale(1.06); box-shadow: 0 8px 28px rgba(0,0,0,.5); }
.fab-main::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--gold); z-index: -1;
  animation: fabPulseRing 2.4s ease-out infinite;
}
.fab-main .icon-open { transition: opacity .2s ease, transform .2s ease; }
.fab-main .icon-close { position: absolute; opacity: 0; transform: rotate(-90deg); transition: opacity .2s ease, transform .2s ease; }
.fab-wrap.open .fab-main .icon-open { opacity: 0; transform: rotate(90deg); }
.fab-wrap.open .fab-main .icon-close { opacity: 1; transform: rotate(0deg); }
.fab-wrap.open .fab-main { animation: none; }
.fab-wrap.open .fab-main::before { animation: none; opacity: 0; }
@keyframes fabPulseRing {
  0%   { transform: scale(1);    opacity: .55; }
  70%  { transform: scale(1.9);  opacity: 0;   }
  100% { transform: scale(1.9);  opacity: 0;   }
}
@keyframes fabGlow {
  0%, 100% { box-shadow: 0 6px 22px rgba(0,0,0,.4); }
  50%      { box-shadow: 0 6px 32px rgba(198,166,107,.7); }
}
/* ── Reveal animations (classes are added by main.js) ── */
.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: revealUp .7s cubic-bezier(.22,.61,.36,1) backwards; }
@keyframes revealUp {
  from { opacity: 0; translate: 0 22px; }
  to   { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fab-main, .fab-main::before { animation: none; }
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media(max-width: 1180px) {
  .nav-links, .nav-contact { display: none; }
  .hamburger { display: flex; }
}

/* Hero is one column here: show the photo first so it's on the first screen */
@media(max-width: 1023px) {
  .hero-photo { order: -1; min-height: 300px; }
  .hero-photo img { object-position: center 72%; }
}

@media(max-width: 640px) {
  .container { padding: 0 20px; }
  .hero-grid, .formats-wrap, .days-wrap, .menu-wrap, .gallery-wrap, .steps-wrap, .area-wrap, .order-wrap { padding-top: 64px; padding-bottom: 64px; }
  .hero-copy h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero-grid { padding-top: 20px; gap: 24px; }
  .hero-photo { min-height: 0; height: 270px; }
  .hero-copy { gap: 16px; }
  .hero-copy .ornament { display: none; }
  .hero-copy > p { font-size: 16px; }
  .hero-meta { gap: 10px; }
  .format-card, .order-card { padding: 26px; }
  .menu-stat strong { font-size: 19px; }
  .footer-wrap { justify-content: center; text-align: center; }
}
