:root {
  --bg: #E9DFD5;
  --surface: #ffffff;
  --surface-warm: #fbefe0;
  --surface-green: #eef5ea;
  --text: #262421;
  --muted: #6f6860;
  --line: #eadfce;
  --green: #2f6b4f;
  --green-dark: #1f4c39;
  --terracotta: #b84d35;
  --terracotta-dark: #8f3528;
  --gold: #d7a340;
  --shadow: 0 20px 70px rgba(72, 50, 31, 0.16);
  --radius: 8px;
  --container: 1180px;
  --header-height: 104px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(47, 107, 79, 0.45);
  outline-offset: 4px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #E9DFD5;
  border-bottom: 1px solid rgba(234, 223, 206, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  padding-block: 8px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

.brand-name,
.brand-note {
  display: block;
}

.brand-name {
  font-weight: 800;
  line-height: 1.05;
}

.brand-note {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green-dark);
  background: var(--surface-green);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: var(--radius);
  background: var(--text);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 99px;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.hero {
  position: relative;
  min-height: calc(82svh - var(--header-height));
  overflow: hidden;
  display: grid;
  align-items: center;
  background: #34261d;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(26, 22, 18, 0.78) 0%, rgba(26, 22, 18, 0.62) 35%, rgba(26, 22, 18, 0.12) 75%),
    linear-gradient(0deg, rgba(26, 22, 18, 0.34), rgba(26, 22, 18, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 86px 0 72px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #a9d5b3;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
}

h1 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 86px);
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
}

h3 {
  font-size: 22px;
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 14px 28px rgba(184, 77, 53, 0.25);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
}

.btn-ghost {
  border-color: rgba(47, 107, 79, 0.28);
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.36);
}

.btn-card {
  min-height: 42px;
  padding: 0 14px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: 42px 0 0;
}

.hero-facts div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero-facts dt,
.contact-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.65);
}

.hero-facts dd,
.contact-list dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.section {
  padding: 88px 0;
}

.section-light {
  background: var(--surface);
}

.section-band {
  background:
    linear-gradient(135deg, rgba(238, 245, 234, 0.92), rgba(251, 239, 224, 0.92));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading-row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.section-copy {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid,
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature,
.delivery-item,
.info-panel,
.menu-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(72, 50, 31, 0.06);
}

.feature,
.delivery-item {
  padding: 26px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--surface-green);
  color: var(--green-dark);
  font-weight: 900;
}

.feature-icon .feature-mark {
  width: 34px;
  height: 34px;
  display: block;
}

.feature p,
.delivery-item p,
.menu-card p,
.page-hero p,
.image-band-content p {
  color: var(--muted);
}

.text-link {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.menu-preview,
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.menu-card {
  overflow: hidden;
  display: flex;
  min-height: 100%;
}

.menu-card-media {
  width: 42%;
  min-height: 280px;
  background: var(--surface-warm);
}

.menu-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-card-body {
  width: 58%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.menu-card-body p {
  margin: 0;
}

.menu-category-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 99px;
  background: var(--surface-green);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.menu-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 10px;
}

.price-label {
  color: var(--terracotta-dark);
  font-size: 14px;
  font-weight: 900;
}

.split,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: 34px;
  align-items: center;
}

.info-panel {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 20px;
  margin: 0;
}

.contact-list-large {
  gap: 24px;
}

.contact-list a {
  color: var(--green-dark);
}

.panel-kicker {
  margin: 0 0 6px;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.panel-number {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-size: clamp(40px, 6vw, 66px);
  font-weight: 900;
  line-height: 1;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--green-dark);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 26, 22, 0.82), rgba(28, 26, 22, 0.5)),
    var(--hero-image, url("../img/hero-khychiny.png?v=4d52162d11363d711fb7b32308c536ef719721a6")) center / cover;
}

.page-hero-menu {
  --hero-image: url("../img/fried-khychin.png?v=4d52162d11363d711fb7b32308c536ef719721a6");
}

.page-hero-delivery {
  --hero-image: url("../img/hero-khychiny.png?v=4d52162d11363d711fb7b32308c536ef719721a6");
}

.page-hero-contacts {
  --hero-image: url("../img/family-table.png?v=4d52162d11363d711fb7b32308c536ef719721a6");
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 64px 0;
}

.page-hero-inner p {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.page-hero-inner .btn {
  margin-top: 26px;
}

.menu-note {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(47, 107, 79, 0.22);
  border-radius: 99px;
  color: var(--green-dark);
  background: rgba(238, 245, 234, 0.7);
  font-weight: 900;
}

.menu-sections {
  display: grid;
  gap: 52px;
}

.menu-section {
  scroll-margin-top: 100px;
}

.menu-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.menu-section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.menu-section-heading span {
  color: var(--muted);
  font-weight: 800;
}

.delivery-grid {
  align-items: stretch;
}

.delivery-item h2 {
  font-size: 28px;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding-left: 24px;
  color: var(--muted);
  font-size: 18px;
}

.steps a {
  color: var(--green-dark);
  font-weight: 900;
}

.image-band {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 0;
  color: #fff;
  background: #211914;
}

.image-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(25, 20, 17, 0.82), rgba(25, 20, 17, 0.18));
}

.image-band-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 72px;
}

.image-band-content h2,
.image-band-content p {
  max-width: 720px;
}

.image-band-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.site-footer {
  padding: 36px 0 96px;
  background: #211914;
  color: rgba(255, 255, 255, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.brand-footer .brand-mark {
  background: var(--terracotta);
}

.brand-footer .brand-note,
.site-footer address,
.site-footer p {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer address {
  font-style: normal;
}

.site-footer a:hover {
  color: #fff;
}

.mobile-call {
  display: none;
}

@media (max-width: 1020px) {
  .header-inner {
    gap: 12px;
  }

  .header-phone span {
    display: none;
  }

  .site-nav a {
    padding: 0 10px;
  }

  .feature-grid,
  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .menu-preview,
  .menu-grid,
  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-card-media {
    min-height: 240px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 80px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    position: sticky;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    max-width: 190px;
    font-size: 14px;
  }

  .brand-note {
    font-size: 12px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
  }

  .header-phone {
    width: 44px;
    min-width: 44px;
    padding: 0;
    justify-content: center;
  }

  .hero {
    min-height: calc(80svh - var(--header-height));
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(24, 20, 17, 0.86), rgba(24, 20, 17, 0.56)),
      linear-gradient(0deg, rgba(24, 20, 17, 0.38), rgba(24, 20, 17, 0.15));
  }

  .hero-content {
    padding: 70px 0 54px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .btn {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row .text-link,
  .menu-note {
    display: inline-block;
    margin-top: 16px;
    text-align: left;
  }

  .menu-card {
    display: block;
  }

  .menu-card-media,
  .menu-card-body {
    width: 100%;
  }

  .menu-card-media {
    aspect-ratio: 4 / 3;
    min-height: auto;
  }

  .menu-card-foot {
    display: grid;
  }

  .menu-card-foot .btn {
    width: 100%;
  }

  .page-hero-inner {
    min-height: 360px;
    padding: 54px 0;
  }

  .category-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .category-nav a {
    white-space: nowrap;
  }

  .menu-section-heading {
    display: block;
  }

  .menu-section-heading span {
    display: inline-block;
    margin-top: 8px;
  }

  .info-panel,
  .feature,
  .delivery-item,
  .menu-card-body {
    padding: 20px;
  }

  .image-band {
    min-height: 460px;
  }

}

@media (max-width: 430px) {
  .brand-name {
    max-width: 118px;
  }

  .hero-actions,
  .inline-actions {
    gap: 10px;
  }

  .tag-row span {
    font-size: 12px;
  }
}
