:root {
  --red: #e30613;
  --dark-red: #b9000a;
  --black: #070707;
  --ink: #202020;
  --muted: #6e6e6e;
  --line: #ececec;
  --paper: #ffffff;
  --soft: #f7f7f7;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
  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;
  color: var(--ink);
  background: var(--paper);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  display: block;
  width: clamp(150px, 19vw, 235px);
  height: auto;
}

.main-nav,
.header-actions,
.app-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a,
.ghost-link {
  color: var(--black);
  font-weight: 900;
  text-decoration: none;
}

.main-nav a:hover,
.ghost-link:hover {
  color: var(--red);
}

.cart-button,
.search-box button,
.promo-card button,
.restaurant-card button,
.app-actions a {
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  min-height: 680px;
  background:
    radial-gradient(circle at top left, rgba(227, 6, 19, 0.1), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #ffffff 48%, #f5f5f5 100%);
}

.hero-media {
  position: relative;
  min-height: 460px;
  overflow: hidden;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 72%, rgba(255, 255, 255, 0.86));
}

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

.hero-content {
  display: grid;
  align-content: center;
  padding: clamp(34px, 5vw, 76px) clamp(18px, 5vw, 64px);
}

.tag {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tag.red {
  color: var(--red);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--black);
  font-size: clamp(2.9rem, 6.4vw, 6.4rem);
  line-height: 0.93;
}

h2 {
  margin-bottom: 10px;
  color: var(--black);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.hero-content p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.5;
}

.search-box {
  display: grid;
  grid-template-columns: 0.7fr 1fr auto;
  gap: 10px;
  width: min(820px, 100%);
  margin-top: 20px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-box label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.search-box input,
.locales select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--black);
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 8px;
}

.search-box input:focus,
.locales select:focus {
  outline: 2px solid rgba(227, 6, 19, 0.22);
  border-color: var(--red);
  background: #fff;
}

.value-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-row article {
  padding: 26px clamp(18px, 3vw, 38px);
  background: #fff;
}

.value-row strong {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.value-row p,
.restaurant-card p {
  color: var(--muted);
  line-height: 1.45;
}

.promos,
.locales {
  padding: clamp(42px, 6vw, 86px) clamp(18px, 4vw, 56px);
}

.section-head {
  margin-bottom: 22px;
}

.section-head.horizontal {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.promo-card,
.restaurant-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
}

.promo-card {
  position: relative;
  min-height: 310px;
  display: grid;
  align-content: end;
  color: #fff;
}

.promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08));
}

.promo-card div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.promo-card span {
  font-size: 1.45rem;
  font-weight: 1000;
}

.locales {
  background: var(--soft);
}

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

.restaurant-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.restaurant-card div {
  padding: 18px;
}

.status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 9px;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.status.scheduled {
  background: var(--black);
}

.app-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(42px, 6vw, 72px) clamp(18px, 4vw, 56px);
  color: #fff;
  background: var(--black);
}

.app-strip .tag,
.app-strip h2 {
  color: #fff;
}

.app-actions {
  flex-wrap: wrap;
}

.app-actions a {
  color: var(--black);
  background: #fff;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: #fff;
  background: var(--red);
}

.footer img {
  width: min(260px, 58vw);
  height: auto;
  background: #fff;
  border-radius: 8px;
}

.footer div {
  display: grid;
  gap: 4px;
  text-align: right;
  font-weight: 900;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

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

  .hero-media {
    min-height: 360px;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.9), transparent 40%);
  }

  .search-box,
  .value-row,
  .promo-grid,
  .restaurant-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head.horizontal,
  .app-strip {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: start;
  }

  .brand img {
    width: 148px;
  }

  .ghost-link {
    display: none;
  }

  .hero-content {
    padding-top: 28px;
  }

  .search-box,
  .value-row,
  .promo-grid,
  .restaurant-grid {
    grid-template-columns: 1fr;
  }

  .promo-card {
    min-height: 250px;
  }

  .footer {
    display: grid;
  }

  .footer div {
    text-align: left;
  }
}
