/* ====================================================================
   ГОЗИНАКИ — фирменный стиль ресторана
   Концепция: грузинский манускрипт XII века × современная editorial
   ==================================================================== */

:root {
  /* Палитра — прямо с логотипа */
  --ink:         #2A0F0A;
  --ink-soft:    #4A2818;
  --bordo:       #6E1428;
  --bordo-deep:  #4A0815;
  --garnet:      #8B2635;
  --terracotta:  #C45A3D;
  --ochre:       #B97D3D;
  --ochre-deep:  #8E5B27;
  --gold:        #D4A24E;
  --gold-bright: #E5BD6A;
  --olive:       #4F6B3F;
  --olive-deep:  #3A4F2E;

  --cream:       #F4E8CD;
  --cream-soft:  #FBF3DC;
  --cream-warm:  #F0DFB6;
  --parchment:   #EFE0BC;
  --paper:       #FAF1D9;

  --rule:        rgba(110, 20, 40, 0.16);
  --rule-gold:   rgba(212, 162, 78, 0.35);
  --shadow-soft: 0 12px 32px -12px rgba(74, 8, 21, 0.18);
  --shadow-warm: 0 32px 64px -28px rgba(110, 20, 40, 0.35);

  /* Типографика */
  --serif:       'Playfair Display', 'Times New Roman', serif;
  --serif-it:    'Cormorant Garamond', 'Georgia', serif;
  --body:        'Lora', Georgia, serif;
  --ui:          'Montserrat', system-ui, sans-serif;
}

/* ────────────────────────  RESET  ──────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Лёгкая текстура шума — пергамент */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.08 0 0 0 0 0.04 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' /></svg>");
}

img { max-width: 100%; display: block; }

a {
  color: var(--bordo);
  text-decoration: none;
  transition: color 0.22s ease, opacity 0.22s ease;
}
a:hover { color: var(--ochre-deep); }

::selection { background: var(--bordo); color: var(--cream); }

/* ────────────────────────  TYPOGRAPHY  ──────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(48px, 7vw, 96px); font-weight: 700; }
h2 { font-size: clamp(36px, 4.5vw, 60px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
h4 { font-size: clamp(16px, 1.4vw, 19px); letter-spacing: 0.02em; }

em, .it {
  font-family: var(--serif-it);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.eyebrow, .kicker {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ochre-deep);
  display: inline-block;
}
.eyebrow .di {
  color: var(--gold);
  margin: 0 10px;
  position: relative; top: -1px;
}

.geo {
  font-family: var(--serif-it);
  font-style: italic;
  color: var(--garnet);
  font-weight: 500;
}

/* Дроп-кап в стиле манускрипта */
.dropcap::first-letter {
  font-family: var(--serif);
  font-weight: 700;
  float: left;
  font-size: 5.2em;
  line-height: 0.82;
  margin: 8px 14px 0 0;
  color: var(--bordo);
  background: linear-gradient(180deg, var(--bordo) 0%, var(--garnet) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(212, 162, 78, 0.18);
}

.lead {
  font-family: var(--serif-it);
  font-size: clamp(18px, 1.8vw, 22px);
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ────────────────────────  ОРНАМЕНТЫ  ──────────────────────── */

/* Двойная линия с ромбом — главный декор */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px auto;
  color: var(--gold);
}
.ornament::before, .ornament::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament .di { font-size: 10px; letter-spacing: 6px; }
.ornament.lg::before, .ornament.lg::after { width: 110px; }

/* Орнамент-пояс — широкий разделитель секций */
.ornament-belt {
  height: 88px;
  position: relative;
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.ornament-belt::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, var(--gold) 1.5px, transparent 2px) 50% 50%/24px 24px;
  opacity: 0.22;
}
.ornament-belt-mark {
  position: relative; z-index: 1;
  display: inline-flex; gap: 18px; align-items: center;
  background: var(--cream); padding: 0 22px;
  color: var(--bordo);
  font-family: var(--serif-it);
  font-style: italic;
  font-size: 18px;
}
.ornament-belt-mark .di { color: var(--gold); font-size: 12px; }

/* Винодельческая лоза-разделитель — векторная */
.vine {
  display: block; width: 100%; height: 28px;
  color: var(--ochre);
  opacity: 0.55;
}

/* ────────────────────────  CONTAINER  ──────────────────────── */

.section {
  position: relative;
  padding: clamp(72px, 10vw, 144px) 0;
  z-index: 2;
}
.section-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.section-cream { background: var(--cream); }
.section-deep  { background: var(--bordo-deep); color: var(--cream); }
.section-deep h1, .section-deep h2, .section-deep h3 { color: var(--cream); }
.section-deep .eyebrow { color: var(--gold); }

.section-head {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head h2 { margin-top: 14px; }
.section-head .lead { max-width: 620px; margin: 22px auto 0; }

/* ────────────────────────  TOPBAR / NAV  ──────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 48px);
  background: rgba(250, 241, 217, 0.92);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: padding 0.3s ease, background 0.3s ease;
}
.topbar.scrolled { padding: 12px clamp(20px, 4vw, 48px); background: rgba(250, 241, 217, 0.98); }

.topnav {
  display: flex;
  gap: clamp(16px, 2.5vw, 36px);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.topnav-left  { justify-content: flex-end; }
.topnav-right { justify-content: flex-start; }
.topnav a {
  color: var(--ink);
  position: relative;
  padding: 8px 0;
  transition: color 0.22s ease;
}
.topnav a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease, left 0.3s ease;
}
.topnav a:hover, .topnav a.active { color: var(--bordo); }
.topnav a:hover::after, .topnav a.active::after { width: 28px; left: calc(50% - 14px); }
.topnav a.active::before {
  content: '◆';
  color: var(--gold);
  font-size: 6px;
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
}

.brand {
  justify-self: center;
  display: flex; align-items: center;
  transition: transform 0.3s ease;
}
.brand:hover { transform: scale(1.04); }
.brand-mark {
  width: 76px; height: 76px;
  object-fit: contain;
  transition: width 0.3s ease;
}
.topbar.scrolled .brand-mark { width: 60px; height: 60px; }

.topbar-social { display: none; }
.topnav-mobile { display: none; }

.burger { display: none; }

@media (max-width: 880px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
  .topnav-left, .topnav-right { display: none; }
  .brand-mark { width: 56px; height: 56px; }
  .burger {
    display: flex; flex-direction: column; gap: 5px;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    background: transparent; border: 1px solid var(--rule);
    border-radius: 4px; cursor: pointer;
  }
  .burger span {
    display: block; width: 18px; height: 1.5px;
    background: var(--ink); transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .topnav-mobile {
    display: flex; flex-direction: column;
    position: fixed;
    top: 88px; bottom: 0;
    left: 100%;
    width: 100%;
    background: var(--cream);
    padding: 32px 24px;
    gap: 4px;
    transition: left 0.32s ease;
    z-index: 49;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .topnav-mobile.open { left: 0; }
  .topnav-mobile a {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--bordo);
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
    letter-spacing: 0;
    text-transform: none;
  }
  .topnav-mobile a:hover { padding-left: 8px; color: var(--garnet); }
}

/* ────────────────────────  BUTTONS  ──────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 38px;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 0;
  transition: all 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-cta {
  background: var(--bordo);
  color: var(--cream);
  border-color: var(--bordo);
  box-shadow: 0 12px 28px -10px rgba(110, 20, 40, 0.55), inset 0 1px 0 rgba(229, 189, 106, 0.22);
}
.btn-cta::before {
  content: '';
  position: absolute; inset: 3px;
  border: 1px solid rgba(229, 189, 106, 0.28);
  pointer-events: none;
  transition: inset 0.28s ease;
}
.btn-cta:hover {
  background: var(--bordo-deep);
  border-color: var(--bordo-deep);
  color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(110, 20, 40, 0.62), inset 0 1px 0 rgba(229, 189, 106, 0.32);
}
.btn-cta:hover::before { inset: 5px; border-color: rgba(229, 189, 106, 0.55); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--ochre-deep);
  box-shadow: 0 10px 24px -8px rgba(143, 91, 39, 0.45);
}
.btn-gold:hover {
  background: var(--gold-bright);
  color: var(--bordo-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(143, 91, 39, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-block { display: flex; width: 100%; }

.btn-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ui);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bordo);
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  transition: gap 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}
.btn-link:hover { gap: 18px; color: var(--ochre-deep); border-color: var(--ochre-deep); }

/* ────────────────────────  HERO  ──────────────────────── */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-image:
    linear-gradient(135deg, rgba(74,8,21,0.65) 0%, rgba(46,24,16,0.55) 50%, rgba(110,20,40,0.7) 100%),
    url('/assets/dishes/hachapuri-po-adzharski.jpg');
  filter: saturate(0.95) contrast(1.05);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(46, 15, 10, 0.72) 0%, transparent 60%),
    linear-gradient(180deg, rgba(46, 15, 10, 0.22) 0%, transparent 30%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
  max-width: 920px;
}

.hero-eyebrow {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: inline-flex; gap: 12px; align-items: center;
}
.hero-eyebrow .di { color: var(--gold); }

.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 138px);
  color: var(--cream);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.hero-title em {
  font-family: var(--serif-it);
  font-weight: 500;
  font-style: italic;
  color: var(--gold-bright);
  display: block;
}
.hero-title .geo-mark {
  font-family: var(--serif-it);
  font-style: italic;
  font-weight: 500;
  font-size: 0.42em;
  letter-spacing: 0.04em;
  color: var(--cream);
  opacity: 0.85;
  display: block;
  margin-bottom: 18px;
}

.hero-lead {
  font-family: var(--serif-it);
  font-style: italic;
  font-size: clamp(18px, 1.7vw, 22px);
  color: var(--cream);
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto 42px;
  line-height: 1.55;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center;
}
.hero-actions .btn-ghost {
  color: var(--cream);
  border-color: rgba(244, 232, 205, 0.55);
}
.hero-actions .btn-ghost:hover {
  background: var(--cream);
  color: var(--bordo-deep);
  border-color: var(--cream);
}

.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--cream);
  font-family: var(--ui);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.85;
  text-align: center;
}
.hero-scroll-line {
  display: block;
  width: 1px; height: 38px;
  background: linear-gradient(180deg, transparent, var(--gold) 60%, var(--gold));
  margin: 12px auto 0;
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(180deg, transparent, var(--cream));
  animation: scroll-blink 2.4s ease-in-out infinite;
}
@keyframes scroll-blink {
  0%, 100% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  80% { transform: translateY(220%); opacity: 0; }
}

/* CTA-стрип под hero */
.hero-cta-strip {
  background: var(--bordo-deep);
  color: var(--cream);
  padding: 36px clamp(24px, 5vw, 64px);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 28px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.hero-cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(212, 162, 78, 0.07) 60px 61px);
  pointer-events: none;
}
.hero-cta-strip h3 {
  color: var(--cream);
  font-family: var(--serif-it);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  max-width: 720px;
  line-height: 1.4;
  position: relative; z-index: 1;
}
.hero-cta-strip h3 em { color: var(--gold-bright); font-weight: 600; }
.hero-cta-strip .btn { position: relative; z-index: 1; }

/* ────────────────────────  PAGE-HEAD (для внутренних страниц)  ──────────────────────── */

.page-head {
  text-align: center;
  padding: clamp(120px, 14vw, 180px) 24px clamp(40px, 6vw, 80px);
  position: relative;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--rule);
}
.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(212, 162, 78, 0.08), transparent 38%),
    radial-gradient(circle at 88% 80%, rgba(110, 20, 40, 0.06), transparent 38%);
  pointer-events: none;
}
.page-head .eyebrow { position: relative; z-index: 1; }
.page-head h1 {
  position: relative; z-index: 1;
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--bordo);
  font-size: clamp(52px, 9vw, 130px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.page-head h1 .geo {
  display: block;
  font-size: 0.32em;
  font-family: var(--serif-it);
  color: var(--ochre-deep);
  margin-bottom: 14px;
  font-weight: 400;
}
.page-head .ornament { position: relative; z-index: 1; }

/* Sub-hero для events */
.subhero {
  position: relative;
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 60px;
}
.subhero-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85);
}
.subhero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,15,10,0.55), rgba(74,8,21,0.7));
}
.subhero-inner { position: relative; z-index: 1; color: var(--cream); }
.subhero-inner h1 { color: var(--cream); margin-top: 14px; font-size: clamp(48px, 7vw, 100px); }
.subhero-inner .hero-eyebrow { color: var(--gold-bright); }

/* ────────────────────────  STORY GRID  ──────────────────────── */

.story-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 880px) { .story-grid { grid-template-columns: 1fr; } }

.story-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream-warm);
}
.story-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.story-photo::before {
  content: '';
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: -1;
  transition: inset 0.4s ease;
}
.story-photo::after {
  content: '◆';
  position: absolute;
  bottom: -28px; right: -10px;
  font-size: 28px; color: var(--gold);
  background: var(--paper);
  padding: 4px 10px;
}
.story-photo:hover::before { inset: -22px -22px 22px 22px; }
.story-photo:hover img { transform: scale(1.04); }

.story-text h2 { margin: 14px 0 22px; }
.story-text .lead { margin: 0 0 22px; color: var(--bordo); border-left: 2px solid var(--gold); padding-left: 22px; }
.story-text p { margin-bottom: 18px; color: var(--ink-soft); }
.story-text .btn-link { margin-top: 22px; }

/* ────────────────────────  DISH GRID  ──────────────────────── */

.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 36px 28px;
}
.dish-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .dish-grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }

.dish {
  position: relative;
  display: flex; flex-direction: column;
  text-align: left;
  background: transparent;
  transition: transform 0.32s ease;
}
.dish:hover { transform: translateY(-4px); }

.dish-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: var(--cream-warm);
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: saturate(0.95);
}
.dish-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(46, 15, 10, 0.4));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.dish-photo::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(244, 232, 205, 0.0);
  transition: border-color 0.4s ease, inset 0.4s ease;
  pointer-events: none;
}
.dish:hover .dish-photo::before { opacity: 1; }
.dish:hover .dish-photo::after { border-color: rgba(229, 189, 106, 0.7); inset: 10px; }
.dish:hover .dish-photo { filter: saturate(1.08); }

.dish h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.dish-meta {
  font-family: var(--serif-it);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  line-height: 1.5;
}
.dish-price {
  font-family: var(--serif-it);
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  color: var(--bordo);
  margin-top: auto;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.dish-price::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-left: 8px;
  align-self: center;
  min-width: 28px;
}

/* ────────────────────────  MENU BLOCK  ──────────────────────── */

.menu-block { margin-bottom: clamp(64px, 8vw, 110px); }
.menu-block:last-child { margin-bottom: 0; }

.menu-block-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  margin-bottom: 56px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.menu-block-head::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 96px; height: 2px;
  background: var(--gold);
}
.menu-block-head .num {
  font-family: var(--serif);
  font-size: 88px;
  font-weight: 700;
  color: var(--cream-warm);
  line-height: 0.8;
  letter-spacing: -0.04em;
}
.menu-block-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--bordo);
}
.menu-block-head h2 .geo {
  display: block;
  font-size: 0.42em;
  color: var(--ochre-deep);
  font-weight: 400;
  font-style: italic;
}
.menu-block-head .menu-block-meta {
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ochre-deep);
  text-align: right;
}
@media (max-width: 700px) {
  .menu-block-head { grid-template-columns: auto 1fr; }
  .menu-block-head .num { font-size: 56px; }
  .menu-block-head .menu-block-meta { display: none; }
}

/* ────────────────────────  EVENT ROWS  ──────────────────────── */

.event-row {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  position: relative;
}
.event-row:last-child { border-bottom: 1px solid var(--rule); }
.event-row::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.5s ease;
}
.event-row:hover::before { width: 96px; }
@media (max-width: 880px) {
  .event-row { grid-template-columns: 1fr; padding: 28px 0; }
  .event-row .btn { justify-self: start; }
}

.event-photo {
  width: 100%;
  aspect-ratio: 5 / 4;
  background-size: cover;
  background-position: center;
  background-color: var(--cream-warm);
  position: relative;
  transition: transform 0.5s ease;
}
.event-row:hover .event-photo { transform: scale(1.02); }

.event-when {
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ochre-deep);
  margin-bottom: 12px;
  display: inline-flex; gap: 10px; align-items: center;
}
.event-when::before {
  content: '◆'; color: var(--gold); font-size: 8px;
}
.event-row h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 10px;
  color: var(--ink);
}
.event-row p {
  color: var(--ink-soft);
  font-family: var(--body);
  line-height: 1.6;
  max-width: 540px;
}

/* ────────────────────────  PRINCIPLES (about)  ──────────────────────── */

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 800px) { .principles { grid-template-columns: 1fr; } }

.principle {
  padding: 40px 32px;
  background: var(--paper);
  border: 1px solid var(--rule);
  position: relative;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}
.principle:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-warm);
}
.principle::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; width: 32px; height: 32px;
  border-top: 2px solid var(--gold); border-left: 2px solid var(--gold);
}
.principle::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px; width: 32px; height: 32px;
  border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold);
}
.principle .num {
  font-family: var(--serif-it);
  font-style: italic;
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.principle h3 {
  margin-bottom: 12px;
  color: var(--bordo);
}
.principle p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ────────────────────────  PRESS BAND  ──────────────────────── */

.press-band {
  background: var(--cream);
  padding: 56px clamp(24px, 5vw, 48px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.press-band-quote {
  font-family: var(--serif-it);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto 18px;
  line-height: 1.45;
  position: relative;
}
.press-band-quote::before, .press-band-quote::after {
  content: '“';
  font-size: 1.6em;
  color: var(--gold);
  position: relative;
  top: 0.18em;
  font-family: var(--serif);
  font-weight: 700;
}
.press-band-quote::after { content: '”'; }
.press-band-source {
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ochre-deep);
}

/* ────────────────────────  FACT STRIP  ──────────────────────── */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-gold);
  border-bottom: 1px solid var(--rule-gold);
  background: var(--paper);
}
@media (max-width: 800px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact {
  padding: 44px 28px;
  text-align: center;
  border-right: 1px solid var(--rule);
  position: relative;
}
.fact:last-child { border-right: 0; }
@media (max-width: 800px) {
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
.fact-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--bordo);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.fact-num em {
  font-family: var(--serif-it);
  color: var(--gold);
  font-weight: 500;
}
.fact-label {
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ochre-deep);
}

/* ────────────────────────  FORMS  ──────────────────────── */

.booking-form {
  background: var(--paper);
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--rule);
  position: relative;
  box-shadow: var(--shadow-soft);
}
.booking-form::before, .booking-form::after {
  content: '';
  position: absolute;
  width: 24px; height: 24px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.booking-form::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.booking-form::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.booking-form h3 {
  font-family: var(--serif);
  color: var(--bordo);
  font-size: 28px;
  margin-bottom: 28px;
  text-align: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.booking-form label {
  display: block;
  margin-bottom: 18px;
  font-family: var(--ui);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ochre-deep);
  font-weight: 500;
}
.booking-form input,
.booking-form textarea,
.booking-form select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  background: var(--cream-soft);
  border: 1px solid var(--rule);
  border-bottom: 1px solid var(--ochre-deep);
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 0.22s ease, background 0.22s ease;
}
.booking-form input:focus,
.booking-form textarea:focus,
.booking-form select:focus {
  outline: none;
  border-color: var(--bordo);
  background: var(--cream-warm);
}
.booking-form textarea { resize: vertical; min-height: 96px; }
.booking-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.booking-form .form-row label { margin-bottom: 0; }
.booking-form .btn { margin-top: 10px; }

/* ────────────────────────  CONTACTS  ──────────────────────── */

.contacts-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 880px) { .contacts-grid { grid-template-columns: 1fr; } }

.contacts-info h2 {
  margin-bottom: 32px;
  color: var(--bordo);
}
.contact-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px dashed var(--rule);
  align-items: start;
}
.contact-row:last-child { border-bottom: 0; }
.contact-icon {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border: 1px solid var(--gold);
  background: var(--cream-soft);
  color: var(--bordo);
  font-size: 16px;
  border-radius: 50%;
  position: relative;
}
.contact-icon::before {
  content: '';
  position: absolute; inset: -4px;
  border: 1px solid var(--rule-gold);
  border-radius: 50%;
}
.contact-row strong {
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ochre-deep);
  font-weight: 600;
}
.contact-row > div { font-family: var(--body); color: var(--ink); line-height: 1.6; }
.contact-row a { color: var(--bordo); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.contact-row a:hover { border-color: var(--gold); }

/* ────────────────────────  FOOTER  ──────────────────────── */

.foot {
  background: var(--bordo-deep);
  color: var(--cream);
  padding: clamp(64px, 8vw, 96px) 0 36px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.foot::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(212, 162, 78, 0.10), transparent 36%),
    radial-gradient(circle at 88% 78%, rgba(196, 90, 61, 0.10), transparent 38%);
  pointer-events: none;
}
.foot::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.foot-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  position: relative;
  z-index: 1;
}

.foot-newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid rgba(244, 232, 205, 0.18);
}
@media (max-width: 800px) { .foot-newsletter { grid-template-columns: 1fr; } }
.foot-newsletter h3 {
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.foot-newsletter h3 em { color: var(--gold-bright); font-weight: 500; }
.foot-newsletter p {
  font-family: var(--serif-it);
  font-style: italic;
  font-size: 17px;
  color: var(--cream);
  opacity: 0.78;
  margin-top: 8px;
}
.foot-newsletter form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(244, 232, 205, 0.4);
  background: rgba(0,0,0,0.18);
}
.foot-newsletter input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 16px 20px;
  font-family: var(--body);
  color: var(--cream);
  font-size: 15px;
  min-width: 240px;
}
.foot-newsletter input::placeholder { color: rgba(244,232,205,0.5); }
.foot-newsletter input:focus { outline: none; background: rgba(0,0,0,0.3); }
.foot-newsletter button {
  background: var(--gold);
  color: var(--bordo-deep);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  border: 0;
  padding: 0 28px;
  cursor: pointer;
  transition: background 0.22s ease;
}
.foot-newsletter button:hover { background: var(--gold-bright); }

.foot-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 800px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 36px; } }

.foot-brand img {
  width: 96px; height: 96px;
  object-fit: contain;
  background: var(--cream);
  border-radius: 50%;
  padding: 10px;
  margin-bottom: 20px;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.5);
}
.foot-brand-name {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 6px;
}
.foot-brand-tagline {
  font-family: var(--serif-it);
  font-style: italic;
  color: var(--gold-bright);
  font-size: 15px;
}
.foot-brand-since {
  font-family: var(--ui);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244, 232, 205, 0.5);
  margin-top: 14px;
}

.foot-col h4 {
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}
.foot-col a {
  display: block;
  color: var(--cream);
  font-family: var(--body);
  font-size: 15px;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 0.22s ease, padding 0.22s ease;
}
.foot-col a:hover { opacity: 1; color: var(--gold-bright); padding-left: 6px; }

.foot-bottom {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 18px;
  padding-top: 32px;
  border-top: 1px solid rgba(244, 232, 205, 0.18);
}
.foot-copy {
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 232, 205, 0.55);
}
.foot-social {
  display: flex; gap: 18px;
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.foot-social a {
  color: var(--cream);
  opacity: 0.7;
  transition: opacity 0.22s ease, color 0.22s ease;
}
.foot-social a:hover { opacity: 1; color: var(--gold-bright); }

/* ────────────────────────  ANIMATIONS / OBSERVER  ──────────────────────── */

.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.fade-up.in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

@keyframes fadein {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadein 1.2s ease both; }
.hero-title   { animation: fadein 1.4s 0.15s ease both; }
.hero-lead    { animation: fadein 1.4s 0.32s ease both; }
.hero-actions { animation: fadein 1.4s 0.5s ease both; }
.hero-scroll  { animation: fadein 1.4s 0.8s ease both; }

/* ────────────────────────  UTILITY  ──────────────────────── */

.center { text-align: center; }
.spacer-sm { height: 28px; }
.spacer-md { height: 56px; }
.spacer-lg { height: 96px; }

.cta-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-block .lead { margin: 22px auto 36px; }

/* ──────────────────────  GIO BISTRO ADDONS  ────────────────────── */

/* Hero rating */
.hero-rating {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 22px;
  padding: 10px 18px;
  background: rgba(245, 237, 216, 0.16);
  border: 1px solid rgba(229, 189, 106, 0.4);
  border-radius: 999px;
  color: var(--cream);
  font-family: var(--ui);
  font-size: 14px;
}
.hero-rating .rating-star { color: var(--gold); font-size: 18px; }
.hero-rating .rating-value { font-family: var(--serif); font-weight: 700; font-size: 18px; }
.hero-rating .rating-meta { opacity: 0.8; font-size: 13px; }
.hero-rating a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* Nav CTA — выделяем «Доставка» */
.topnav .nav-cta {
  color: var(--bordo);
  font-weight: 700;
  position: relative;
}
.topnav .nav-cta::after {
  content: '';
  position: absolute; left: -8px; right: -8px; top: -6px; bottom: -6px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  opacity: 0.6;
  transition: opacity 0.25s ease;
}
.topnav .nav-cta:hover::after { opacity: 1; }

/* Quick actions grid — на главной */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.quick-card {
  display: flex; flex-direction: column;
  padding: 28px 26px;
  background: linear-gradient(180deg, #FFFAEC, #F8EFD2);
  border: 1px solid var(--rule);
  border-radius: 14px;
  position: relative;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.32s ease, border-color 0.32s ease;
  min-height: 200px;
}
.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -16px rgba(46, 24, 16, 0.32);
  border-color: var(--gold);
}
.quick-card .quick-icon {
  font-size: 32px; line-height: 1;
  margin-bottom: 14px;
}
.quick-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--bordo);
  margin: 0 0 10px;
}
.quick-card p {
  font-family: var(--text);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 18px;
  flex: 1;
}
.quick-card .quick-arrow {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold);
  align-self: flex-end;
  transition: transform 0.28s ease;
}
.quick-card:hover .quick-arrow { transform: translateX(6px); }

/* Бейджи услуг */
.badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 22px;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: rgba(196, 145, 42, 0.12);
  border: 1px solid rgba(196, 145, 42, 0.32);
  border-radius: 999px;
  font-family: var(--ui);
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}

/* Promo block */
.promo-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}
.promo-block img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 60px -22px rgba(46, 24, 16, 0.42);
}
.promo-text .lead { margin-bottom: 28px; }
.promo-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* VK button */
.btn-vk {
  background: #4680C2;
  border-color: #4680C2;
  color: #fff;
}
.btn-vk:hover { background: #3a6da6; border-color: #3a6da6; }

/* ─── Photo gallery (masonry-like) ─── */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.photo-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  cursor: zoom-in;
  background: var(--cream-soft);
  text-decoration: none;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.32s ease;
}
.photo-tile-lg { grid-column: span 2; }
.photo-tile-tall { grid-row: span 2; }
.photo-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.photo-tile:hover img { transform: scale(1.06); }
.photo-tile:hover { box-shadow: 0 20px 44px -16px rgba(46, 24, 16, 0.4); }
.photo-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px 14px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(20, 14, 8, 0.78));
  letter-spacing: 0.4px;
  pointer-events: none;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(20, 14, 8, 0.92);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.lightbox.open { opacity: 1; }
.lightbox-img {
  max-width: min(100%, 1200px);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.lightbox-caption {
  position: absolute;
  bottom: 28px; left: 0; right: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--cream);
}
.lightbox-close {
  position: absolute;
  top: 22px; right: 28px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  border-radius: 50%;
  line-height: 1;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.12); }

/* Contacts map */
.contacts-map {
  display: flex; flex-direction: column;
  gap: 18px;
}
.contacts-map h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--bordo);
  margin: 0;
}
.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 14px 36px -16px rgba(46, 24, 16, 0.32);
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.contacts-cta {
  display: flex; flex-wrap: wrap; gap: 14px;
}

/* Page-head actions */
.page-head-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;
}

/* Mobile CTA stack в мобильном меню */
.topnav-mobile-cta {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.topnav-mobile-cta .btn {
  padding: 14px 20px;
  font-size: 13px;
  letter-spacing: 0.18em;
}

/* ───────────────  ИЗОБРАЖЕНИЕ HERO-ФОН  ─────────────── */
.hero-photo {
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46, 24, 16, 0.45) 0%, rgba(46, 24, 16, 0.3) 50%, rgba(46, 24, 16, 0.78) 100%);
}

/* ──────────────────  МОБИЛЬНАЯ АДАПТАЦИЯ  ────────────────── */

/* Tablet — 880-1100 */
@media (max-width: 1100px) {
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .photo-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .photo-tile-tall { grid-row: span 1; }
}

/* Tablet — 700-880 */
@media (max-width: 880px) {
  .promo-block { grid-template-columns: 1fr; gap: 28px; }
  .promo-block img { aspect-ratio: 16 / 10; max-height: 320px; }
  .photo-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 10px; }
  .photo-tile-lg { grid-column: span 2; }
  .photo-tile-tall { grid-row: span 1; }

  .hero-rating { font-size: 13px; padding: 8px 14px; }
  .hero-rating .rating-meta { display: none; }

  .map-frame { aspect-ratio: 1 / 1; }
}

/* Phone — до 640 */
@media (max-width: 640px) {
  /* Hero */
  .hero { min-height: 86vh; padding: 96px 18px 40px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 0.22em; }
  .hero-title { font-size: clamp(40px, 11vw, 56px); line-height: 1.05; }
  .hero-title .geo-mark { font-size: clamp(38px, 14vw, 64px); }
  .hero-lead { font-size: 16px; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .hero-actions .btn { width: 100%; padding: 16px 24px; }
  .hero-rating { width: 100%; justify-content: center; flex-wrap: wrap; }
  .hero-scroll { display: none; }

  /* CTA-стрип под hero */
  .hero-cta-strip {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    padding: 32px 22px;
  }
  .hero-cta-strip h3 { font-size: 18px; }
  .hero-cta-strip .btn { padding: 14px 28px; font-size: 12px; }

  /* Facts */
  .facts { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .fact { padding: 22px 14px; }
  .fact-num { font-size: 38px; }
  .fact-label { font-size: 11px; letter-spacing: 0.18em; }

  /* Quick actions */
  .quick-actions { grid-template-columns: 1fr; gap: 14px; }
  .quick-card { min-height: auto; padding: 22px 20px; }
  .quick-card h3 { font-size: 19px; }

  /* Section spacing */
  .section { padding: 64px 0; }
  .section-inner { padding: 0 20px; }
  .section-head h2 { font-size: clamp(30px, 9vw, 42px); line-height: 1.1; }
  .ornament-belt { padding: 26px 18px; font-size: 12px; }
  .ornament-belt-mark { letter-spacing: 0.2em; flex-wrap: wrap; gap: 10px; }

  /* Story */
  .story-grid { grid-template-columns: 1fr; gap: 28px; }
  .story-text h2 { font-size: clamp(28px, 8.4vw, 38px); }
  .story-photo img { aspect-ratio: 4 / 3; }

  /* Бейджи */
  .badges { gap: 8px; }
  .badge { font-size: 12px; padding: 6px 12px; }

  /* Dish grid */
  .dish-grid { grid-template-columns: 1fr; gap: 22px; }
  .dish-grid-3 { grid-template-columns: 1fr; }
  .dish h3 { font-size: 22px; }
  .dish-meta { font-size: 13px; }
  .dish-price { font-size: 22px; }

  /* Menu blocks */
  .menu-block { margin-bottom: 64px; }
  .menu-block-head .num { font-size: 64px; opacity: 0.16; }
  .menu-block-head h2 { font-size: clamp(26px, 8vw, 36px); }
  .menu-block-meta { font-size: 12px; }

  /* Press band */
  .press-band { padding: 48px 22px; }
  .press-band-quote { font-size: 19px; line-height: 1.5; }
  .press-band-source { font-size: 12px; }

  /* Promo */
  .promo-block { gap: 22px; }
  .promo-block img { aspect-ratio: 4 / 3; max-height: 260px; }
  .promo-actions { flex-direction: column; }
  .promo-actions .btn { width: 100%; }

  /* CTA-block */
  .cta-block .lead { font-size: 16px; }
  .cta-block h2 { font-size: clamp(28px, 8vw, 38px); }

  /* Page-head */
  .page-head { padding: 96px 22px 40px; }
  .page-head h1 { font-size: clamp(42px, 12vw, 60px); }
  .page-head h1 .geo { font-size: clamp(30px, 10vw, 50px); }
  .page-head-actions .btn { width: 100%; }

  /* Photos */
  .photo-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 8px; }
  .photo-tile-lg { grid-column: span 2; grid-auto-rows: 200px; }
  .photo-caption { font-size: 12px; padding: 12px 12px 10px; }

  /* Contacts */
  .contact-row { gap: 16px; }
  .contact-icon { font-size: 22px; min-width: 28px; }
  .contact-row strong { font-size: 14px; }
  .contact-row div { font-size: 14px; line-height: 1.55; }
  .booking-form { padding: 28px 22px; }
  .map-frame { aspect-ratio: 4 / 5; }
  .contacts-cta .btn { width: 100%; }

  /* Lightbox */
  .lightbox { padding: 16px; }
  .lightbox-img { max-height: 70vh; }
  .lightbox-caption { font-size: 14px; bottom: 18px; padding: 0 16px; }
  .lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; }

  /* Footer */
  .foot { padding: 64px 0 32px; }
  .foot-newsletter { padding: 28px 22px; gap: 22px; }
  .foot-newsletter h3 { font-size: 22px; }
  .foot-newsletter p { font-size: 14px; }
  .foot-newsletter .btn { width: 100%; }
  .foot-cols { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
  .foot-bottom { flex-direction: column; gap: 16px; padding: 24px 20px 0; text-align: center; }
  .foot-copy { font-size: 12px; }

  /* Контакты — карта */
  .contacts-grid { gap: 36px; }
}

/* Phone — до 420 (compact) */
@media (max-width: 420px) {
  .hero { padding: 88px 16px 32px; }
  .section-inner { padding: 0 16px; }
  .page-head { padding: 88px 16px 32px; }
  .quick-card { padding: 20px 18px; }
  .quick-card .quick-icon { font-size: 28px; }
  .photo-gallery { grid-auto-rows: 120px; }
  .topnav-mobile { padding: 24px 18px; }
  .topnav-mobile a { font-size: 22px; padding: 11px 0; }
  .topnav-mobile-cta { margin-top: 18px; padding-top: 18px; }
}

/* iOS lightbox tap-friendly */
@media (hover: none) {
  .photo-tile { cursor: pointer; }
  .quick-card:hover { transform: none; }
  .dish:hover .dish-photo { transform: none; }
}

/* Event additions (subtitle, price, empty-photo) */
.event-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--garnet);
  margin: -4px 0 12px;
  letter-spacing: 0.2px;
}
.event-price {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--bordo);
  background: rgba(196, 145, 42, 0.08);
}
.event-photo-empty {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #FFFAEC, #F4E8CD);
  color: var(--gold);
  font-size: 32px;
  border: 1px dashed var(--gold);
}
@media (max-width: 640px) {
  .event-row { gap: 18px; padding: 24px 0; }
  .event-row h3 { font-size: 22px; }
  .event-row p { font-size: 15px; }
  .event-subtitle { font-size: 15px; }
  .event-row .btn { width: 100%; }
}

/* Hero subtitle (под H1, курсивом) */
.hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-style: italic;
  color: var(--cream);
  opacity: 0.9;
  margin-top: 14px;
  letter-spacing: 0.4px;
}

/* Delivery block — Хачапури с доставкой */
.delivery-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.delivery-text h2 { margin-bottom: 14px; }
.delivery-text .lead { margin-bottom: 22px; max-width: 560px; }
.delivery-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.delivery-list li {
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding: 12px 0 12px 28px;
  border-top: 1px solid rgba(196, 145, 42, 0.28);
  position: relative;
}
.delivery-list li::before {
  content: '◆';
  color: var(--gold);
  font-size: 10px;
  position: absolute;
  left: 0; top: 18px;
}
.delivery-list li:last-child { border-bottom: 1px solid rgba(196, 145, 42, 0.28); }
.delivery-list li strong {
  color: var(--bordo);
  font-weight: 600;
  font-family: var(--serif);
  font-size: 17px;
}
.delivery-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  box-shadow: 0 24px 60px -22px rgba(46, 24, 16, 0.42);
}
@media (max-width: 880px) {
  .delivery-block { grid-template-columns: 1fr; gap: 28px; }
  .delivery-photo { aspect-ratio: 16 / 10; max-height: 320px; order: -1; }
  .delivery-list li { font-size: 14px; }
  .delivery-list li strong { font-size: 16px; }
}

/* ─────────────  MOBILE AUDIT FIXES (2026-05-03)  ───────────── */

/* Защита от горизонтального скролла на мобиле в дополнение к фиксу .topnav-mobile */
html { overflow-x: clip; }

/* Иконки соцсетей в подвале — тапабельные кружки 44×44 */
.foot-social { gap: 10px; flex-wrap: wrap; }
.foot-social a {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(244, 232, 205, 0.25);
  border-radius: 999px;
  letter-spacing: 0.18em;
  font-size: 12px;
}
.foot-social a:hover { border-color: var(--gold); }

@media (max-width: 880px) {
  /* На промежутке 640-880 newsletter ловил padding=0 и кнопка съезжала */
  .foot-newsletter { padding: 0 0 36px; gap: 18px; }
  .foot-newsletter h3 { font-size: 26px; }
  /* Маркеры списка delivery-list — выровнять под мобильный font-size */
  .delivery-list li { padding: 14px 0 14px 24px; }
  .delivery-list li::before { top: 18px; left: 4px; font-size: 9px; }
}

@media (max-width: 640px) {
  /* Hero — убираем 86vh, контент часто не влезал на 360×640 */
  .hero { min-height: auto; padding: 88px 18px 56px; }
  /* Фон героя — смещаем кадр (хачапури в центре кадра) */
  .hero-photo { background-position: 65% center; }
  /* Hero rating — без wrap и width: 100%, чтобы не переносился */
  .hero-rating { width: auto; gap: 8px; padding: 8px 16px; }
  /* Карта на /contacts — 1:1 вместо 4:5 (было слишком высокое) */
  .map-frame { aspect-ratio: 1 / 1; }
  /* Кнопка в .event-row — отступ сверху от описания */
  .event-row .btn { width: 100%; margin-top: 12px; justify-self: stretch; }
  /* Facts — без щели между ячейками (было gap: 1px, выглядело багом) */
  .facts { grid-template-columns: repeat(2, 1fr); gap: 0; }
}

/* Очень узкие экраны (Android 360 / небольшие) — H1 и geo-mark поменьше */
@media (max-width: 380px) {
  .hero-title { font-size: clamp(34px, 10vw, 42px); line-height: 1.08; }
  .hero-title .geo-mark { font-size: clamp(34px, 12vw, 52px); }
}

/* Reduced-motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
