/* Self-hosted fonts — без зависимости от Google */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-400-cyr.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-400-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-400i-cyr.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-400i-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-600-cyr.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-600-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/manrope-400-cyr.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/manrope-400-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/manrope-500-cyr.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/manrope-500-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/manrope-600-cyr.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/manrope-600-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --cream: #ffeed6;
  --dark: #2c2525;
  --accent: #946161;
  --white: #ffffff;
  --gray-line: #e8e3dc;
  --gray-bg: #f7f4f0;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --pad: 120px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  height: 72px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-line);
}
.nav--hero {
  background: transparent;
  border-bottom: none;
  position: absolute;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: .5px;
}
.nav--hero .nav__logo { color: #ffffff; }
.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: .04em;
  transition: color .2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--accent); }
.nav--hero .nav__links a { color: rgba(255,255,255,.9); }
.nav--hero .nav__links a:hover { color: #ffffff; }
.nav__phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}
.nav--hero .nav__phone { color: rgba(255,255,255,.9); }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}
.nav--hero .nav__burger span { background: var(--cream); }

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.nav__mobile.open { display: flex; }
.nav__mobile a { font-size: 22px; font-weight: 500; color: var(--cream); }
.nav__mobile__close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  font-size: 32px; color: var(--cream); cursor: pointer;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero_bg.jpg') center/cover no-repeat;
}
@media (max-width: 768px) {
  .hero__bg {
    background-position: 72% center;
  }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(20,16,16,.35) 0%,
    rgba(20,16,16,.25) 40%,
    rgba(20,16,16,.6) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 var(--pad) 72px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 400;
  color: #ffffff;
  line-height: .95;
  margin-bottom: 20px;
}
.hero__sub {
  font-size: clamp(17px, 1.6vw, 22px);
  color: rgba(255,255,255,.88);
  font-weight: 400;
}
.hero__meta {
  margin-top: 36px;
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.hero__meta-item {
  font-size: 15px;
  color: rgba(255,255,255,.8);
  font-weight: 500;
  letter-spacing: .03em;
  line-height: 1.6;
}

/* ── SECTION BASE ── */
.section {
  padding: 80px var(--pad);
}
.section--gray { background: var(--gray-bg); }
.section__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.05;
  margin-bottom: 48px;
}
.section__title--sm {
  font-size: clamp(22px, 2.5vw, 32px);
  margin-bottom: 32px;
}

/* ── AFISHA ── */
.afisha-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gray-line);
  border: 1px solid var(--gray-line);
}
.afisha-item {
  background: var(--white);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
}
.afisha-item__date {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.afisha-item__date span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dark);
  opacity: .5;
  margin-top: 2px;
}
.afisha-item__name {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 4px;
}
.afisha-item__time {
  font-size: 13px;
  color: var(--dark);
  opacity: .5;
}

/* ── MENU TABS ── */
.menu-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-line);
  margin-bottom: 56px;
  overflow-x: auto;
}
.menu-nav button {
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--dark);
  opacity: .45;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s, border-color .2s, color .2s;
}
.menu-nav button.active,
.menu-nav button:hover {
  opacity: 1;
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ── MENU SECTIONS ── */
.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-category { margin-bottom: 56px; }
.menu-category:last-child { margin-bottom: 0; }
.menu-category__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-line);
  margin-bottom: 0;
}
.menu-items { }
.menu-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-line);
}
.menu-row:last-child { border-bottom: none; }
.menu-row__left { flex: 1; min-width: 0; }
.menu-row__name {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 2px;
}
.menu-row__desc {
  font-size: 12px;
  color: var(--dark);
  opacity: .5;
  line-height: 1.4;
}
.menu-row__right {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-shrink: 0;
}
.menu-row__weight {
  font-size: 12px;
  color: var(--dark);
  opacity: .4;
  white-space: nowrap;
}
.menu-row__price {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  min-width: 60px;
  text-align: right;
}

/* Two-column menu layout */
.menu-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}
.menu-note {
  font-size: 12px;
  color: var(--dark);
  opacity: .5;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-line);
  line-height: 1.6;
}

/* ── CONTACTS ── */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-block { margin-bottom: 32px; }
.contact-block__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.contact-block__value {
  font-size: 17px;
  color: var(--dark);
  line-height: 1.6;
}
.contact-block__value a { color: var(--dark); }
.contact-block__value a:hover { color: var(--accent); }
.socials { display: flex; gap: 12px; margin-top: 4px; }
.social-link {
  width: 40px; height: 40px;
  border: 1px solid var(--gray-line);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: border-color .2s, background .2s;
}
.social-link:hover { background: var(--accent); border-color: var(--accent); }
.social-link:hover svg { fill: var(--white); }
.social-link svg { fill: var(--dark); width: 16px; height: 16px; transition: fill .2s; }
.contacts-map {
  height: 400px;
  overflow: hidden;
  background: var(--gray-bg);
}
.contacts-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  padding: 48px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cream);
}
.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 12px;
  color: rgba(255,238,214,.5);
  transition: color .2s;
}
.footer__links a:hover { color: var(--cream); }
.footer__copy {
  font-size: 12px;
  color: rgba(255,238,214,.35);
  width: 100%;
}

/* ── PAGE HERO ── */
.page-hero {
  padding: 140px var(--pad) 64px;
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-line);
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  color: var(--dark);
}
.page-hero__sub {
  font-size: 16px;
  color: var(--dark);
  opacity: .55;
  margin-top: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  :root { --pad: 48px; }
}
@media (max-width: 768px) {
  :root { --pad: 20px; }
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: flex; }
  .afisha-grid { grid-template-columns: 1fr; }
  .menu-cols { grid-template-columns: 1fr; gap: 0; }
  .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer { flex-direction: column; align-items: flex-start; }
}

/* SVG защита от разлёта */
svg { max-width: 100%; overflow: hidden; }
.social-link svg, .social-btn svg { width: 20px !important; height: 20px !important; display: block; fill: currentColor; }

/* ── БЛОК ДОСТАВКИ ── */
.menu-delivery {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--gray-bg);
  border-left: 3px solid var(--accent);
}
.menu-delivery__link {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: opacity .2s;
  margin-bottom: 6px;
}
.menu-delivery__link:hover { opacity: .7; }
.menu-delivery__sub {
  font-size: 14px;
  color: var(--dark);
  opacity: .55;
}
.menu-note {
  font-size: 13px;
  color: var(--dark);
  opacity: .45;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-line);
  line-height: 1.7;
}
