:root {
  --primary: #3B2416;
  --secondary: #B87925;
  --background: #F8F1E8;
  --text: #222222;
  --white: #FFFFFF;
  --muted: #6f625a;
  --line: rgba(59, 36, 22, .14);
  --shadow: 0 18px 50px rgba(59, 36, 22, .14);
  --radius: 8px;
  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(--text);
  background: var(--background);
  line-height: 1.58;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 241, 232, .94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--primary);
  font-size: 20px;
  line-height: 1.1;
}

.brand span span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #43362d;
  font-size: 14px;
  font-weight: 800;
}

.nav a:hover,
.nav a.active {
  color: var(--secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--primary);
  background: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.button,
.wa-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover,
.wa-float:hover {
  transform: translateY(-1px);
}

.primary {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(59, 36, 22, .24);
}

.primary:hover {
  background: #28180f;
}

.gold {
  color: var(--white);
  background: var(--secondary);
}

.light {
  color: var(--primary);
  background: var(--white);
  border-color: var(--line);
}

.ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.12);
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  color: var(--white);
  font-size: clamp(42px, 7vw, 78px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
}

h3 {
  margin: 0;
  color: var(--primary);
  font-size: 22px;
}

p {
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: 730px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(59, 36, 22, .92), rgba(59, 36, 22, .62) 48%, rgba(59, 36, 22, .16)),
    linear-gradient(0deg, rgba(59, 36, 22, .68), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 0 58px;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255,255,255,.88);
  font-size: clamp(17px, 2vw, 21px);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(780px, 100%);
  margin-top: 44px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: var(--radius);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}

.hero-stats strong {
  display: block;
  color: var(--white);
  font-size: 28px;
}

.hero-stats span {
  color: rgba(255,255,255,.78);
}

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

.category-card,
.product-card,
.why-card,
.review-card,
.contact-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(59, 36, 22, .08);
}

.category-card {
  overflow: hidden;
}

.category-card img,
.product-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #efe2d2;
}

.category-card div,
.product-body,
.why-card,
.review-card,
.contact-card,
.info-card {
  padding: 20px;
}

.category-card p,
.product-card p,
.why-card p,
.review-card p,
.info-card p {
  margin-bottom: 0;
}

.product-card {
  display: grid;
  overflow: hidden;
}

.product-body {
  display: grid;
  gap: 14px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.price {
  color: var(--secondary);
  font-size: 18px;
  font-weight: 950;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: 28px;
  align-items: center;
}

.panel {
  padding: 28px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--primary);
  box-shadow: var(--shadow);
}

.panel h2,
.panel p {
  color: var(--white);
}

.panel p {
  opacity: .82;
}

.delivery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.delivery-strip div {
  padding: 20px;
  background: var(--white);
}

.delivery-strip strong {
  display: block;
  color: var(--primary);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a,
.contact-list span {
  display: block;
  color: var(--primary);
  font-weight: 900;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--primary);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--text);
  background: #fffdf8;
}

.contact-form textarea,
.contact-form .span-2,
.contact-form button {
  grid-column: 1 / -1;
}

.page-hero {
  padding: 84px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(59, 36, 22, .94), rgba(59, 36, 22, .72)),
    url("../images/hero.jpg") center/cover;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  max-width: 680px;
  color: rgba(255,255,255,.84);
}

.footer {
  padding: 38px 0;
  color: var(--white);
  background: var(--primary);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
}

.footer p {
  color: rgba(255,255,255,.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-weight: 850;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  color: var(--white);
  background: #25D366;
  box-shadow: var(--shadow);
}

@media (max-width: 920px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: auto;
    padding: 12px 0;
  }

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

  .nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 11px 0;
    border-top: 1px solid var(--line);
  }

  .section-head,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .product-grid,
  .why-grid,
  .review-grid,
  .delivery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-actions {
    width: 100%;
  }

  .header-actions .button {
    flex: 1;
  }

  .hero {
    min-height: 720px;
  }

  .hero-stats,
  .category-grid,
  .product-grid,
  .why-grid,
  .review-grid,
  .delivery-strip,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .category-card img,
  .product-card img {
    height: 240px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
