:root {
  --ink: #13261c;
  --grove: #1f4d38;
  --leaf: #3d7a55;
  --mist: #dfe8e2;
  --milk: #f3f6f4;
  --straw: #d4a84b;
  --lake: #3a6a78;
  --line: rgba(19, 38, 28, 0.12);
  --shadow: 0 18px 40px rgba(19, 38, 28, 0.12);
  --font-display: "Unbounded", "Segoe UI", sans-serif;
  --font-body: "Golos Text", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    linear-gradient(180deg, #e8efe9 0%, var(--milk) 28%, #f7faf8 100%);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(243, 246, 244, 0.88);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.2rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand small {
  font-family: var(--font-body);
  font-weight: 600;
  opacity: 0.55;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.top-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--straw); color: var(--ink); }
.btn-dark { background: var(--grove); color: #fff; }
.btn-line { border-color: var(--line); background: #fff; }

.hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19,38,28,.88) 0%, rgba(19,38,28,.55) 48%, rgba(19,38,28,.28) 100%),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=2200&q=80") center/cover;
  animation: pan 20s ease-in-out infinite alternate;
}

@keyframes pan {
  from { transform: scale(1.03); }
  to { transform: scale(1.08) translateX(-1%); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 3rem;
}

.hero-content .eyebrow {
  color: var(--straw);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-content h1 {
  margin: .45rem 0 .7rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  letter-spacing: -.05em;
  line-height: .98;
  max-width: 10ch;
}

.hero-content p {
  margin: 0 0 1.4rem;
  max-width: 34ch;
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.panel {
  margin-top: -1.6rem;
  position: relative;
  z-index: 2;
}

.search-bar {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .8fr) auto;
  gap: .7rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.search-bar input,
.search-bar select {
  width: 100%;
  min-height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 .85rem;
  font: inherit;
  background: var(--milk);
}

.section { padding: 3.5rem 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.4rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -.04em;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.section-head p {
  margin: .35rem 0 0;
  color: rgba(19,38,28,.68);
}

.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.cat {
  min-height: 9.5rem;
  border-radius: 22px;
  padding: 1.2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(19,38,28,.78));
  z-index: -1;
}

.cat span { font-size: .8rem; opacity: .8; text-transform: uppercase; letter-spacing: .06em; }
.cat strong { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -.02em; }

.cat-food { background-image: linear-gradient(135deg, rgba(31,77,56,.3), rgba(31,77,56,.55)), url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=900&q=80"); }
.cat-dairy { background-image: linear-gradient(135deg, rgba(58,106,120,.25), rgba(58,106,120,.55)), url("https://images.unsplash.com/photo-1628088062854-d1870b4553da?auto=format&fit=crop&w=900&q=80"); }
.cat-service { background-image: linear-gradient(135deg, rgba(90,70,52,.25), rgba(90,70,52,.55)), url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=900&q=80"); }
.cat-ads { background-image: linear-gradient(135deg, rgba(212,168,75,.2), rgba(19,38,28,.65)), url("https://images.unsplash.com/photo-1464226184884-fa280b87c399?auto=format&fit=crop&w=900&q=80"); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 180px auto;
}

.item-media {
  background-size: cover;
  background-position: center;
}

.item-body { padding: 1rem 1.05rem 1.15rem; }
.item-body .who { color: var(--lake); font-size: .82rem; font-weight: 700; }
.item-body h3 { margin: .25rem 0 .45rem; font-size: 1.05rem; letter-spacing: -.02em; }
.item-body p { margin: 0 0 .85rem; color: rgba(19,38,28,.68); font-size: .92rem; }
.item-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.price { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; }

.flow {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.25rem;
  align-items: stretch;
}

.flow-copy,
.flow-art {
  border-radius: 28px;
  padding: 1.6rem;
}

.flow-copy {
  background: #fff;
  border: 1px solid var(--line);
}

.flow-art {
  background: linear-gradient(160deg, #1f4d38, #3a6a78);
  color: #fff;
}

.flow-art svg { width: 100%; height: auto; }

.notice {
  display: grid;
  gap: .8rem;
}

.notice article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.badge {
  min-width: 3.2rem;
  min-height: 3.2rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--mist);
  font-weight: 700;
  color: var(--grove);
}

.dir-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .85rem;
  margin: 0 0 1.4rem;
  color: rgba(19, 38, 28, .68);
  font-size: .9rem;
}

.dir-h {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -.03em;
  margin: 1.4rem 0 .7rem;
}

.dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}

.dir-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.05rem 1.1rem;
}

.dir-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lake);
  margin-bottom: .35rem;
}

.dir-card h4 {
  margin: 0 0 .4rem;
  font-size: 1.02rem;
}

.dir-card p {
  margin: 0 0 .4rem;
  color: rgba(19, 38, 28, .72);
  font-size: .92rem;
}

.dir-card a { color: var(--grove); font-weight: 600; }

.dir-note {
  margin: 1.2rem 0 0;
  color: rgba(19, 38, 28, .6);
  font-size: .88rem;
}

@media (max-width: 960px) {
  .dir-grid { grid-template-columns: 1fr; }
}

.footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: rgba(19,38,28,.68);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .search-bar,
  .cats,
  .grid,
  .flow {
    grid-template-columns: 1fr;
  }
  .top-links .hide-sm { display: none; }
  .hero { min-height: 64svh; }
}
