:root {
  --bg: #fff8f0;
  --card: #ffffff;
  --text: #24140f;
  --muted: #7a6258;
  --primary: #e85d04;
  --primary-dark: #c44500;
  --accent: #ffba08;
  --line: #f0ddd0;
  --shadow: 0 20px 60px rgba(80, 36, 12, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.hero {
  min-height: auto;
  padding: 24px clamp(18px, 5vw, 72px) 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 186, 8, 0.35), transparent 34%),
    linear-gradient(135deg, #fff8f0 0%, #ffe2c7 100%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

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

.logo {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: var(--primary);
  color: white;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  margin-top: 3px;
}

.nav-link,
.btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}

.nav-link {
  color: var(--primary-dark);
  background: white;
  padding: 12px 18px;
  box-shadow: 0 10px 30px rgba(80, 36, 12, 0.08);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  max-width: 1120px;
  margin: 28px auto 0;
}

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

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

h1 {
  font-size: clamp(40px, 7vw, 76px);
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.04em;
}

.subtitle {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
  max-width: 620px;
}

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

.btn {
  min-height: 48px;
  padding: 14px 22px;
  font-size: 15px;
}

.btn.primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 14px 32px rgba(232, 93, 4, 0.28);
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn.secondary {
  background: white;
  color: var(--primary-dark);
}

.btn.full {
  width: 100%;
}

.hero-card,
.cart-card,
.order-form,
.menu-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(26px, 4vw, 42px);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(rgba(36, 20, 15, 0.2), rgba(36, 20, 15, 0.72)),
    url("https://images.unsplash.com/photo-1603133872878-684f208fb84b?auto=format&fit=crop&w=900&q=80") center/cover;
  color: white;
}

.badge {
  align-self: flex-start;
  background: var(--accent);
  color: #3a2200;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 90px;
  padding: 9px 14px;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 8px;
}

.hero-card strong {
  font-size: 34px;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px clamp(18px, 5vw, 28px);
}

.section-heading {
  margin-bottom: 28px;
}

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

.menu-card {
  overflow: hidden;
}

.menu-card img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.menu-body {
  padding: 20px;
}

.menu-body h3 {
  font-size: 21px;
  margin: 0 0 8px;
}

.menu-body p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
}

.menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  color: var(--primary-dark);
  font-size: 19px;
  font-weight: 800;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-control button {
  border: 0;
  border-radius: 12px;
  background: #fff0e3;
  color: var(--primary-dark);
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  height: 36px;
  width: 36px;
}

.qty-control span {
  min-width: 22px;
  text-align: center;
  font-weight: 800;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
}

.cart-card,
.order-form {
  padding: 24px;
}

.cart-items.empty {
  color: var(--muted);
  padding: 16px 0;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.cart-row strong,
.cart-row span {
  display: block;
}

.cart-row small {
  color: var(--muted);
}

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

.cart-total strong {
  color: var(--primary-dark);
  font-size: 26px;
}

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

label {
  color: var(--text);
  display: grid;
  font-weight: 800;
  gap: 8px;
}

input,
textarea {
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  font: inherit;
  outline: none;
  padding: 14px 16px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.1);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  text-align: center;
}

footer {
  align-items: center;
  background: #24140f;
  color: white;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 28px;
}

footer span {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 860px) {
  .hero-content,
  .order-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .hero {
    min-height: auto;
  }

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

  .hero-content {
    margin-top: 48px;
  }

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

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}
