:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #6b665f;
  --line: #e7dfd5;
  --accent: #e5512c;
  --accent-dark: #b9361c;
  --green: #0f766e;
  --night: #151f2b;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(24, 25, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(231, 223, 213, 0.78);
  background: rgba(246, 243, 238, 0.88);
  backdrop-filter: blur(18px);
}

.topline {
  display: flex;
  justify-content: center;
  gap: 28px;
  min-height: 34px;
  padding: 8px 24px;
  border-bottom: 1px solid rgba(231, 223, 213, 0.72);
  color: var(--muted);
  font-size: 13px;
}

.main-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  max-width: 1240px;
  min-height: 74px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #e5512c, #ffb020);
  color: #fff;
  box-shadow: 0 10px 28px rgba(229, 81, 44, 0.28);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #302d29;
  font-size: 15px;
  font-weight: 650;
}

.nav-links a,
.topline a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.topline a:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.icon-link,
.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.icon-link {
  width: 42px;
  border-radius: 50%;
  font-size: 22px;
}

.cart-link {
  gap: 9px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.cart-count {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 108px);
  overflow: hidden;
  background: #151f2b;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 15, 18, 0.78) 0%, rgba(12, 15, 18, 0.5) 42%, rgba(12, 15, 18, 0.12) 100%),
    url("https://images.unsplash.com/photo-1498049794561-7780e7231661?auto=format&fit=crop&w=1800&q=85")
      center / cover;
  transform: scale(1.02);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 86px;
  background: linear-gradient(180deg, rgba(246, 243, 238, 0), var(--bg));
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 48px));
  padding: 118px 0 126px;
  margin-left: max(24px, calc((100vw - 1240px) / 2 + 24px));
  color: #fff;
}

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

.hero h1,
.section h2,
.feature-band h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(44px, 7vw, 84px);
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

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

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

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
}

.quick-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1240px;
  margin: -28px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.cat-tile {
  min-height: 176px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cat-tile:first-child {
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}

.cat-tile:last-child {
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

.cat-tile span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.cat-tile strong {
  display: block;
  margin: 22px 0 8px;
  font-size: 22px;
}

.cat-tile small {
  color: var(--muted);
  font-size: 14px;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 24px 0;
}

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

.section h2,
.feature-band h2 {
  font-size: clamp(34px, 4.2vw, 56px);
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.promo-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--night);
}

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

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

.promo-card div {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 1;
  color: #fff;
}

.promo-card span {
  color: #ffd0b5;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.promo-card h3 {
  max-width: 480px;
  margin: 10px 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.promo-card a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-weight: 800;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(24, 25, 27, 0.14);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eee8df;
}

.product-body {
  padding: 20px;
}

.tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf7f5;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.product-card h3 {
  margin: 16px 0 8px;
  font-size: 24px;
}

.product-card p {
  min-height: 48px;
  margin: 0;
  color: var(--muted);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}

.price-row strong {
  font-size: 18px;
}

.price-row button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--night);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 48px;
  max-width: 1240px;
  margin: 96px auto 0;
  padding: 0 24px;
}

.feature-band > div {
  padding: 54px 0;
}

.feature-band p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
}

.feature-band img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-bottom: 88px;
}

.service-item {
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.service-item strong {
  font-size: 20px;
}

.service-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.footer {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 34px;
  padding: 54px max(24px, calc((100vw - 1240px) / 2 + 24px));
  background: #111820;
  color: #fff;
}

.footer p,
.footer span,
.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer strong,
.footer a,
.footer span {
  display: block;
  margin-bottom: 10px;
}

.footer .brand {
  margin-bottom: 18px;
  color: #fff;
}

.footer p {
  max-width: 360px;
  margin: 0;
}

@media (max-width: 980px) {
  .main-nav {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 14px;
    border-radius: 6px;
  }

  .nav-links a:hover {
    background: #f7eee6;
  }

  .quick-cats,
  .product-grid,
  .service,
  .footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .feature-band {
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .topline {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .main-nav {
    min-height: 64px;
    padding: 0 16px;
    gap: 10px;
  }

  .brand span:last-child,
  .cart-link span {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 90px 0 110px;
    margin-left: 16px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .quick-cats,
  .product-grid,
  .service,
  .footer {
    grid-template-columns: 1fr;
  }

  .quick-cats {
    margin-top: -42px;
    padding: 0 16px;
  }

  .cat-tile,
  .cat-tile:first-child,
  .cat-tile:last-child {
    min-height: 148px;
    border-radius: var(--radius);
  }

  .section {
    padding: 68px 16px 0;
  }

  .section-head {
    display: block;
  }

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

  .product-card p {
    min-height: auto;
  }

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

  .price-row button {
    width: 100%;
  }

  .feature-band {
    margin-top: 70px;
    padding: 0 16px;
  }

  .feature-band > div {
    padding: 0;
  }

  .feature-band img {
    height: 300px;
  }

  .service {
    padding-bottom: 68px;
  }

  .footer {
    padding: 42px 16px;
  }
}
