:root {
  --primary: #fa6a14;
  --primary-dark: #d44a00;
  --ink: #181818;
  --muted: #6b625d;
  --line: rgba(24, 24, 24, 0.08);
  --surface: rgba(255, 250, 244, 0.86);
  --surface-strong: #fffdf9;
  --surface-alt: #ffe7d3;
  --shadow: 0 24px 70px rgba(31, 18, 10, 0.13);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1220px;
  --header-height: 86px;
  --font-main: Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(250, 106, 20, 0.22), transparent 28%),
    radial-gradient(circle at 100% 10%, rgba(255, 191, 135, 0.22), transparent 26%),
    linear-gradient(180deg, #fffaf4 0%, #f6efe8 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.glass-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 248, 241, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), #ff9252);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-size: 15px;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

.button,
.cart-button,
.nav-toggle,
.icon-button,
.remove-button,
.category-link {
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.cart-button:hover,
.nav-toggle:hover,
.icon-button:hover,
.remove-button:hover,
.category-link:hover {
  transform: translateY(-1px);
}

.button {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(250, 106, 20, 0.24);
}

.button-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.cart-button,
.nav-toggle {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #ffffff;
}

.cart-button span {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

.hero,
.promo-section,
.menu-section,
.bonus-section,
.contacts-section {
  padding: 44px 0;
}

.hero-grid,
.promo-grid,
.bonus-grid,
.contacts-grid {
  display: grid;
  gap: 22px;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.hero-copy,
.visual-card,
.stat-card,
.promo-card,
.bonus-card,
.contact-card,
.order-form,
.menu-category,
.cart-panel {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 30px;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 0.95;
  margin-bottom: 18px;
  max-width: 12ch;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.98;
  margin-bottom: 16px;
}

h3 {
  font-size: 30px;
  margin-bottom: 10px;
}

.hero-text,
.section-copy,
.promo-card p,
.bonus-card p,
.contact-card p,
.desc,
.menu-category p,
.hero-notes,
.feature-list {
  color: var(--muted);
  line-height: 1.7;
}

.point-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.point-meta div,
.stat-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.point-meta span,
.stat-card span,
.promo-inline span,
.summary-row span,
.category-count,
.weight {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.point-meta strong,
.stat-card strong,
.promo-inline strong,
.summary-row strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-notes,
.contact-list,
.feature-list {
  margin: 24px 0 0;
  padding-left: 18px;
}

.hero-side {
  display: grid;
  gap: 18px;
}

.visual-card {
  padding: 18px;
}

.visual-placeholder {
  min-height: 420px;
  border-radius: calc(var(--radius-xl) - 8px);
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(250, 106, 20, 0.92), rgba(255, 174, 95, 0.9)),
    #f8d1b1;
  color: #ffffff;
  padding: 24px;
}

.visual-placeholder span {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 0.95;
}

.visual-placeholder small {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  max-width: 18ch;
}

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

.accent-card {
  background: linear-gradient(135deg, rgba(250, 106, 20, 0.96), rgba(206, 73, 0, 0.96));
  color: #ffffff;
}

.accent-card .eyebrow,
.accent-card p,
.accent-card span {
  color: rgba(255, 255, 255, 0.84);
}

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

.promo-card,
.bonus-card,
.contact-card,
.order-form {
  padding: 28px;
}

.promo-inline,
.summary-row,
.footer-inner,
.cart-panel__head,
.cart-item,
.cart-item > div,
.category-header,
.menu-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.light-card {
  background: rgba(255, 244, 233, 0.9);
}

.bonus-callout {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(250, 106, 20, 0.1);
}

.bonus-callout strong {
  display: block;
  font-size: 52px;
  line-height: 0.9;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

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

.category-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: var(--ink);
}

.menu-category {
  padding: 24px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.category-header {
  margin-bottom: 18px;
}

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

.menu-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(24, 24, 24, 0.06);
  background: var(--surface-strong);
  display: flex;
  flex-direction: column;
}

.menu-card__visual {
  aspect-ratio: 4 / 3;
  padding: 18px;
  display: flex;
  align-items: end;
  background:
    linear-gradient(160deg, rgba(255, 167, 102, 0.92), rgba(250, 106, 20, 0.92)),
    #ffcfaa;
  color: #ffffff;
}

.menu-card__visual span {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  max-width: 9ch;
}

.menu-card__body {
  padding: 18px;
  display: grid;
  gap: 10px;
  flex: 1;
}

.menu-card__top h4,
.cart-panel h3 {
  margin-bottom: 0;
}

.weight {
  margin-bottom: 0;
}

.desc {
  min-height: 94px;
  margin-bottom: 0;
}

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

.order-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.order-form input,
.order-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fffdfa;
  color: var(--ink);
}

.summary-box {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(250, 106, 20, 0.08);
  border: 1px solid rgba(250, 106, 20, 0.12);
}

.form-message {
  min-height: 24px;
  margin: 0;
  font-weight: 700;
}

.form-message.is-error {
  color: #c62828;
}

.form-message.is-success {
  color: #2e7d32;
}

.site-footer {
  padding: 18px 0 34px;
}

.footer-inner {
  color: var(--muted);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(24, 24, 24, 0.36);
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  width: min(440px, 100%);
  height: 100vh;
  background: #fffdf9;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.cart-panel.is-open {
  transform: translateX(0);
}

.cart-panel__head,
.cart-panel__foot {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-panel__body {
  flex: 1;
  overflow: auto;
  padding: 18px;
}

.cart-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.cart-item,
.cart-empty {
  padding: 14px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line);
}

.cart-item {
  flex-direction: column;
  align-items: stretch;
}

.cart-item > div {
  align-items: flex-start;
}

.cart-item span {
  color: var(--muted);
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.remove-button {
  min-width: 34px;
  min-height: 34px;
  border-radius: 10px;
  background: #f5ede5;
  color: var(--ink);
}

.remove-button {
  padding: 0 12px;
  margin-left: auto;
}

.cart-submit-link {
  width: 100%;
}

@media (max-width: 1100px) {
  .hero-grid,
  .promo-grid,
  .bonus-grid,
  .contacts-grid,
  .menu-grid,
  .hero-stats,
  .point-meta {
    grid-template-columns: 1fr;
  }

  .point-meta {
    display: grid;
  }

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

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 252, 247, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 78px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .brand {
    width: 100%;
  }

  .hero,
  .promo-section,
  .menu-section,
  .bonus-section,
  .contacts-section {
    padding: 32px 0;
  }

  .hero-copy,
  .promo-card,
  .bonus-card,
  .contact-card,
  .order-form,
  .menu-category {
    padding: 20px;
  }

  .visual-placeholder {
    min-height: 280px;
  }

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

  .form-actions {
    flex-direction: column;
  }

  .form-actions .button,
  .button,
  .cart-submit-link {
    width: 100%;
  }
}
