:root {
  --paper: #fbf7ef;
  --paper-strong: #fffdf8;
  --ink: #211d1a;
  --muted: #6c625b;
  --line: rgba(33, 29, 26, 0.14);
  --coffee: #5a3b2c;
  --green: #23443b;
  --green-soft: #dfe9df;
  --berry: #9e344f;
  --clay: #c96c45;
  --sun: #f3c96b;
  --shadow: 0 24px 70px rgba(35, 28, 20, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

img,
iframe {
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(251, 247, 239, 0.82);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  min-height: 88px;
  padding: 18px clamp(18px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: baseline;
  display: inline-flex;
  font-size: 26px;
  font-weight: 760;
  gap: 6px;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  color: var(--berry);
  font-style: italic;
}

.main-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.main-nav a {
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 720;
  padding: 11px 14px;
}

.main-nav a:hover {
  background: var(--paper-strong);
  border-color: var(--line);
  color: var(--ink);
}

.header-call {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  font-size: 16px;
  font-weight: 760;
  padding: 13px 22px;
}

.header-call:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fffdf8;
}

.hero {
  display: grid;
  min-height: calc(100vh - 88px);
  overflow: hidden;
  position: relative;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(13, 12, 10, 0.76), rgba(13, 12, 10, 0.28) 56%, rgba(13, 12, 10, 0.08)),
    url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=2200&q=84")
      center / cover;
  inset: 0;
  position: absolute;
  transform: scale(1.01);
}

.hero-content {
  align-self: center;
  color: #fffdf8;
  max-width: 760px;
  padding: 78px clamp(20px, 7vw, 92px) 240px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--berry);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

.hero h1 {
  font-size: clamp(64px, 12vw, 160px);
  line-height: 0.9;
  margin: 0;
  max-width: 860px;
}

.hero-copy {
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.45;
  margin: 28px 0 0;
  max-width: 680px;
}

.hero-actions,
.route-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-bottom {
  align-items: end;
  bottom: 36px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  left: clamp(20px, 7vw, 92px);
  position: absolute;
  right: clamp(18px, 5vw, 60px);
  z-index: 2;
}

.hero-bottom .hero-actions {
  margin-top: 0;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--sun);
  color: #271d10;
}

.button.ghost {
  background: rgba(255, 253, 248, 0.12);
  border-color: rgba(255, 253, 248, 0.38);
  color: #fffdf8;
}

.button.dark {
  background: var(--green);
  color: #fffdf8;
}

.button.light {
  background: var(--paper-strong);
  border-color: var(--line);
  color: var(--green);
}

.button.full {
  width: 100%;
}

.hero-card {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
  max-width: 310px;
  padding: 22px;
}

.hero-card span,
.contact-card span,
.intro-item span {
  color: var(--berry);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  font-size: 28px;
  margin-top: 8px;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 10px 0 0;
}

.intro-band {
  background: var(--green);
  color: #fffdf8;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.intro-item {
  background: rgba(255, 255, 255, 0.05);
  min-height: 150px;
  padding: 30px clamp(20px, 4vw, 46px);
}

.intro-item span {
  color: var(--sun);
}

.intro-item p {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  margin: 20px 0 0;
  max-width: 360px;
}

.trust-section,
.menu-section,
.news-section,
.route-section,
.contacts-section {
  padding: 92px clamp(18px, 5vw, 72px);
}

.section-heading {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 0.9fr);
  margin: 0 auto 34px;
  max-width: 1360px;
}

.section-heading h2,
.feature-copy h2,
.contacts-section h2 {
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.02;
  margin: 0;
  max-width: 760px;
}

.section-heading p:last-child,
.feature-copy p,
.route-actions p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 8px 0 0;
  max-width: 620px;
}

.section-heading.compact {
  align-items: start;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 28px;
  max-width: 1360px;
}

.filter {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 750;
  min-height: 42px;
  padding: 9px 16px;
}

.filter.active {
  background: var(--green);
  color: #fffdf8;
}

.trust-section {
  background: #f6efe4;
  display: grid;
  gap: 22px;
}

.trust-summary {
  align-items: center;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: auto minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1360px;
  padding: clamp(24px, 4vw, 42px);
  width: 100%;
}

.trust-summary span {
  align-items: center;
  background: var(--green);
  color: var(--sun);
  display: inline-flex;
  font-size: clamp(46px, 8vw, 96px);
  font-weight: 860;
  justify-content: center;
  line-height: 1;
  min-height: 150px;
  min-width: 150px;
}

.trust-summary h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  margin: 0;
  max-width: 800px;
}

.trust-summary p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 16px 0 0;
  max-width: 640px;
}

.review-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1360px;
  width: 100%;
}

.review-card {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  min-height: 150px;
  padding: 24px;
}

.review-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

.menu-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  margin: 0 auto;
  max-width: 1360px;
}

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

.menu-card,
.order-panel,
.route-actions,
.contact-card {
  background: var(--paper-strong);
  border: 1px solid var(--line);
}

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

.menu-card img {
  aspect-ratio: 4 / 3;
  background: var(--paper);
  height: auto;
  object-fit: contain;
  width: 100%;
}

.menu-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 18px;
}

.menu-card h3 {
  font-size: 22px;
  line-height: 1.1;
  margin: 0;
  overflow-wrap: anywhere;
}

.menu-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 8px 0 16px;
}

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

.price {
  color: var(--green);
  font-size: 20px;
  font-weight: 850;
  white-space: nowrap;
}

.add-button {
  background: var(--green-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--green);
  cursor: pointer;
  font-weight: 800;
  min-height: 40px;
  padding: 9px 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tag {
  background: rgba(201, 108, 69, 0.12);
  color: #89432a;
  font-size: 12px;
  font-weight: 750;
  padding: 5px 8px;
}

.order-panel {
  box-shadow: var(--shadow);
  padding: 22px;
  position: sticky;
  top: 92px;
}

.order-panel h2 {
  font-size: 32px;
  margin: 0 0 18px;
}

.order-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  min-height: 120px;
}

.empty-order,
.order-note {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.order-item {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto auto;
  padding-bottom: 10px;
}

.order-item strong {
  font-size: 15px;
}

.quantity {
  color: var(--muted);
  font-weight: 750;
}

.remove-button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--berry);
  cursor: pointer;
  height: 30px;
  width: 30px;
}

.order-total {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 18px 0;
  padding-top: 18px;
}

.order-total strong {
  font-size: 30px;
}

.order-form {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.order-form label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 760;
  gap: 6px;
}

.order-form input {
  background: #f7f1e8;
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 44px;
  outline: none;
  padding: 10px 12px;
  width: 100%;
}

.order-form input:focus {
  border-color: var(--green);
}

.feature-section {
  align-items: stretch;
  background: #f1ece1;
  display: grid;
  grid-template-columns: 0.95fr 1fr;
}

.feature-image {
  background:
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.18)),
    url("https://images.unsplash.com/photo-1511920170033-f8396924c348?auto=format&fit=crop&w=1600&q=84")
      center / cover;
  min-height: 560px;
}

.feature-copy {
  align-self: center;
  max-width: 720px;
  padding: 72px clamp(22px, 5vw, 72px);
}

.feature-copy p:last-child {
  margin-top: 26px;
}

.news-section {
  background:
    linear-gradient(180deg, rgba(35, 68, 59, 0.06), rgba(251, 247, 239, 0)),
    var(--paper);
}

.news-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
  margin: 0 auto;
  max-width: 1360px;
}

.news-main,
.news-card {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  overflow: hidden;
}

.news-main {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
}

.news-main img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.news-main-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 4vw, 42px);
}

.news-main h3,
.news-card h3 {
  line-height: 1.05;
  margin: 0;
}

.news-main h3 {
  font-size: clamp(34px, 4vw, 54px);
  margin-top: 22px;
  max-width: 620px;
}

.news-main p,
.news-card p {
  color: var(--muted);
  line-height: 1.55;
}

.news-main p {
  font-size: 18px;
  max-width: 620px;
}

.news-main .button {
  margin-top: auto;
  justify-self: start;
  width: max-content;
}

.news-date {
  color: var(--berry);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

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

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
}

.news-card img {
  aspect-ratio: 4 / 3;
  background: var(--paper);
  object-fit: cover;
  width: 100%;
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.news-card h3 {
  font-size: 24px;
  margin-top: 20px;
}

.news-card p {
  margin-bottom: 0;
}

.route-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  margin: 0 auto;
  max-width: 1360px;
}

.map-card {
  background: var(--green-soft);
  min-height: 430px;
  overflow: hidden;
}

.map-card iframe {
  border: 0;
  height: 100%;
  min-height: 430px;
  width: 100%;
}

.route-actions {
  align-content: center;
  align-items: stretch;
  display: grid;
  padding: 26px;
}

.route-actions h3 {
  font-size: 32px;
  margin: 0;
}

.contacts-section {
  background: var(--green);
  color: #fffdf8;
}

.contacts-section .eyebrow {
  color: var(--sun);
}

.contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 34px auto 0;
  max-width: 1360px;
}

.contact-card {
  background: rgba(255, 253, 248, 0.08);
  border-color: rgba(255, 253, 248, 0.18);
  min-height: 130px;
  padding: 22px;
}

.contact-card:hover {
  background: rgba(255, 253, 248, 0.14);
}

.contact-card span {
  color: var(--sun);
}

.contact-card strong {
  display: block;
  line-height: 1.35;
  margin-top: 18px;
  overflow-wrap: anywhere;
}

.site-footer {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 72px);
}

.site-footer p {
  color: var(--muted);
  margin: 0;
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .section-heading,
  .menu-layout,
  .feature-section,
  .news-layout,
  .route-layout {
    grid-template-columns: 1fr;
  }

  .order-panel {
    position: static;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    position: static;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 780px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(13, 12, 10, 0.72), rgba(13, 12, 10, 0.32)),
      url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1200&q=84")
        center / cover;
  }

  .hero-content {
    align-self: start;
    padding: 70px 20px 310px;
  }

  .hero-bottom {
    align-items: stretch;
    bottom: 20px;
    flex-direction: column;
    left: 20px;
    right: 20px;
  }

  .hero-card {
    max-width: none;
  }

  .intro-band,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-section,
  .trust-section,
  .news-section,
  .route-section,
  .contacts-section {
    padding: 64px 18px;
  }

  .trust-summary {
    grid-template-columns: 1fr;
  }

  .trust-summary span {
    min-height: 112px;
    min-width: 112px;
    width: 112px;
  }

  .menu-card h3 {
    font-size: 19px;
  }

  .feature-image {
    min-height: 360px;
  }

  .feature-copy {
    padding: 54px 18px 58px;
  }

  .feature-copy h2 {
    font-size: 34px;
    line-height: 1.04;
  }

  .feature-copy p {
    font-size: 16px;
    line-height: 1.55;
  }

  .feature-copy p:last-child {
    margin-top: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .hero h1 {
    font-size: 58px;
  }

  .hero-actions,
  .hero-actions .button,
  .route-actions .button {
    width: 100%;
  }

  .button {
    min-height: 46px;
  }

  .menu-card {
    min-height: 0;
  }

  .menu-card img {
    aspect-ratio: 16 / 9;
    height: auto;
  }
}
