@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/source-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 650;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/source-sans-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 650;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

:root {
  color-scheme: light;
  --paper: #f5e3c5;
  --white: #fcf0d9;
  --ink: #2d2922;
  --muted: #625549;
  --line: #dccab9;
  --green: #153d30;
  --green-active: #193f31;
  --clay: #a33d26;
  --clay-active: #87301f;
  --honey: #f0bd66;
  --honey-active: #ffda93;
  --wine: #74283f;
  --wine-deep: #3d1723;
  --gold-line: #bc8a4a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Source Sans 3", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font: 600 clamp(48px, 6vw, 72px)/.94 var(--serif); letter-spacing: -.035em; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #8c5437; outline-offset: 4px; }
::selection { color: white; background: var(--green); }
[hidden] { display: none !important; }
.wrap { width: min(100% - 96px, 1232px); margin-inline: auto; }
#menu, #booking, #contacts { scroll-margin-top: 24px; }

.header { background: var(--wine-deep); color: var(--white); border-bottom: 1px solid var(--gold-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { color: var(--honey); display: flex; align-items: center; gap: 10px; font: 650 34px/1 var(--serif); }
.brand img { display: block; border-radius: 50%; }
.header nav { display: flex; gap: clamp(22px, 4vw, 52px); }
.header nav a, .header-phone { font-size: 15px; font-weight: 550; }
.header-phone { white-space: nowrap; color: var(--honey); }
.header :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: var(--honey); }
.header a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero { background: var(--green); color: var(--white); border-bottom: 4px solid var(--honey); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: center; gap: clamp(25px, 5vw, 78px); padding-block: 35px 47px; }
.hero-copy { padding-block: 15px; }
.hero h1 { color: var(--honey); font-size: clamp(78px, 9vw, 118px); }
.hero-ornament { display: flex; align-items: center; gap: 11px; width: 151px; margin-top: 19px; color: var(--honey); }
.hero-ornament::before, .hero-ornament::after { content: ""; height: 1px; flex: 1; background: currentColor; }
.hero-ornament span { width: 11px; height: 11px; transform: rotate(45deg); border: 1px solid currentColor; outline: 1px solid currentColor; outline-offset: 3px; }
.hero-intro { margin-top: 19px; font-size: clamp(19px, 2.3vw, 26px); line-height: 1.25; font-weight: 550; color: var(--white); }
.hero-description { margin-top: 13px; max-width: 35ch; font-size: 16px; color: #f3dfba; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 10px 20px; border: 1px solid transparent; border-radius: 6px; color: var(--white); background: var(--clay); font-size: 14px; font-weight: 600; transition: background .18s ease; }
.button:hover { background: var(--clay-active); }
.hero .button { border-color: var(--gold-line); }
.text-link, .hero-address { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #939482; text-decoration-thickness: 1px; }
.text-link:hover, .hero-address:hover { text-decoration-color: currentColor; }
.text-link { font-size: 15px; font-weight: 550; }
.hero-address { display: inline-block; margin-top: 29px; color: #f1d298; font-size: 14px; }
.hero .text-link, .hero-address { text-decoration-color: #c9a36c; }
.hero-frame { padding: 8px; border: 1px solid var(--gold-line); }
.hero-photo { display: block; width: 100%; height: clamp(380px, 41vw, 505px); object-fit: cover; object-position: center 91%; border-radius: 3px; }

.menu { padding-block: 48px 55px; background: var(--white); border-bottom: 1px solid #d7b88f; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-heading h2 { color: var(--wine); }
.section-heading a { color: var(--green-active); }
.menu-layout { display: grid; grid-template-columns: 165px minmax(0, 1fr) minmax(200px, .58fr); gap: clamp(21px, 3.3vw, 47px); align-items: start; }
.filters { display: flex; flex-direction: column; gap: 3px; }
.filters button { min-height: 40px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #675141; padding: 7px 12px; text-align: left; white-space: nowrap; }
.filters button:hover { background: var(--paper); color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--white); background: var(--wine); font-weight: 650; }
.dish-list { list-style: none; min-height: 240px; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.dish { display: grid; grid-template-columns: minmax(0, 1fr) 70px 66px; align-items: baseline; gap: 16px; padding: 17px 0 18px; border-bottom: 1px solid var(--line); }
.dish h3 { font: 600 17px/1.25 var(--sans); }
.dish-description { margin-top: 5px; color: var(--muted); font-size: 14px; }
.dish-weight, .dish-price { text-align: right; font-variant-numeric: tabular-nums; }
.dish-weight { color: var(--muted); font-size: 14px; }
.dish-price { color: var(--clay-active); font-size: 17px; font-weight: 650; }

.menu-photos { display: grid; grid-template-columns: 1fr 1fr; padding: 6px; border: 1px solid #d2ab7c; gap: 6px; background: #ebc88e; }
.menu-photos img { display: block; width: 100%; height: 237px; object-fit: cover; }
.menu-photos img:last-child { object-position: 62% center; }

.reservation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); margin-block: 57px; }
.hall-photo { display: block; width: 100%; height: 100%; min-height: 355px; object-fit: cover; }
.booking-panel { display: flex; flex-direction: column; justify-content: center; background: var(--wine); color: var(--white); border-top: 3px solid var(--honey); padding: clamp(23px, 4vw, 56px); }
.booking-panel h2 { color: var(--honey-active); max-width: 14ch; font-size: clamp(43px, 5vw, 66px); margin-bottom: 23px; }
.booking-panel :focus-visible { outline-color: var(--honey); }
.booking-fields { display: grid; grid-template-columns: 1.23fr 1fr 1fr; gap: 9px; }
.booking-fields label { display: grid; gap: 5px; min-width: 0; font-size: 13px; }
.booking-fields input, .booking-fields select { display: block; width: 100%; min-width: 0; min-height: 45px; border: 1px solid #d2909c; border-radius: 5px; padding: 8px; background: #5a2032; color: var(--white); color-scheme: dark; font-size: 14px; font-variant-numeric: tabular-nums; }
.submit { width: 100%; margin-top: 15px; color: var(--ink); background: var(--honey); }
.submit:hover { background: var(--honey-active); }
.booking-note { margin-top: 10px; color: #f5d4d9; font-size: 12px; }
.confirmation { min-height: 145px; }
.confirmation h3 { font: 650 25px/1.15 var(--serif); }
.confirmation p:first-of-type { margin-top: 7px; }
.confirmation button { margin-top: 10px; padding: 5px 0; border: 0; background: transparent; color: inherit; }

.footer { background: var(--green); color: var(--white); padding-block: 37px 23px; border-top: 3px solid var(--gold-line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.25fr 1.25fr auto; gap: 22px; align-items: start; }
.footer h2 { color: var(--honey); font-size: 46px; }
.footer h3 { font-size: 14px; font-weight: 650; margin-bottom: 6px; }
.footer address, .footer a { color: #f0dfbf; font-style: normal; font-size: 14px; overflow-wrap: anywhere; }
.footer-grid > div:not(.socials) a { display: block; width: fit-content; }
.socials { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.photo-credit { margin-top: 26px; padding-top: 14px; border-top: 1px solid #7f9577; }
.photo-credit a { font-size: 12px; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 54px); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-panel { padding-inline: 22px; }
  .menu-layout { grid-template-columns: 145px minmax(0, 1fr); }
  .menu-photos { grid-column: 2; }
  .menu-photos img { height: 210px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 34px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; min-height: 0; padding-top: 8px; }
  .brand { font-size: 29px; }
  .brand img { width: 36px; height: 36px; }
  .header-phone { grid-area: 1/2; font-size: 13px; text-align: right; }
  .header nav { grid-area: 2/1/3/3; gap: 24px; padding: 12px 0; }
  .header nav a { font-size: 13px; }
  .hero-layout { grid-template-columns: 1fr; gap: 25px; padding-block: 27px 29px; }
  .hero-frame { padding: 6px; }
  .hero-ornament { margin-top: 13px; width: 113px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(68px, 17vw, 85px); }
  .hero-intro { margin-top: 12px; }
  .hero-description { margin-top: 8px; }
  .hero-actions { margin-top: 19px; gap: 10px 17px; }
  .hero-address { margin-top: 17px; }
  .hero-photo { height: clamp(270px, 80vw, 430px); object-position: center 90%; }
  .menu { padding-block: 31px 35px; }
  .section-heading { margin-bottom: 17px; }
  .menu-layout { grid-template-columns: 1fr; gap: 15px; }
  .menu-photos { grid-column: auto; }
  .menu-photos img { height: clamp(170px, 50vw, 250px); }
  .filters { flex-direction: row; flex-wrap: wrap; gap: 4px 2px; }
  .filters button { min-height: 38px; padding-inline: 9px; font-size: 13px; }
  .dish-list { min-height: 0; }
  .dish { grid-template-columns: minmax(0, 1fr) auto auto; gap: 9px; padding-block: 14px; }
  .dish h3, .dish-price { font-size: 15px; }
  .dish-weight, .dish-description { font-size: 13px; }
  .reservation { grid-template-columns: 1fr; margin-block: 30px; }
  .booking-panel { grid-row: 1; padding: 23px 16px 24px; }
  .booking-panel h2 { max-width: none; }
  .hall-photo { height: auto; min-height: 0; aspect-ratio: 1.6; }
  .footer { padding-top: 26px; }
  .footer h2 { grid-column: 1 / -1; }
  .socials { grid-column: 1 / -1; }
}
@media (max-width: 355px) {
  .booking-fields { grid-template-columns: 1fr 1fr; }
  .booking-fields label:first-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
