/* Concept 01 "Storefront": classic wholesale layout with search header and category nav bar. */
:root {
  --ink: #1c2b25;
  --muted: #5f6f67;
  --green: #1e6b4e;
  --green-dark: #123f2e;
  --green-soft: #e6efe6;
  --cream: #f5f2ea;
  --line: #e0ddd2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Keep anchor targets clear of the fixed review bar */
[id] {
  scroll-margin-top: 64px;
}

body {
  margin: 0;
  padding-top: 52px;
  color: var(--ink);
  background: #fffdf9;
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

figure {
  margin: 0;
}

h1,
h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #cfe86c;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 26px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
}

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

.button--ghost {
  color: var(--green);
  background: transparent;
}

.button--ghost:hover {
  color: #ffffff;
}

.button--light {
  border-color: #ffffff;
  color: var(--green-dark);
  background: #ffffff;
}

.button--light:hover {
  color: #ffffff;
  background: transparent;
}

/* Top bar + header + category nav */
.topbar {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 9px 24px;
  color: #ffffff;
  background: var(--green-dark);
  font-size: 0.76rem;
}

.topbar p {
  margin: 0;
}

.topbar a {
  font-weight: 700;
}

.header {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  padding: 20px clamp(24px, 5vw, 72px);
}

.header__brand img {
  width: 150px;
}

.header__search {
  display: flex;
  max-width: 560px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}

.header__search input {
  width: 100%;
  padding: 13px 22px;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 0.88rem;
  background: transparent;
}

.header__search button {
  padding: 0 24px;
  border: 0;
  color: #ffffff;
  background: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.header__phone small {
  color: var(--muted);
  font-size: 0.68rem;
}

.header__phone strong {
  font-size: 0.9rem;
}

.catnav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 38px);
  padding: 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.catnav a {
  padding: 15px 2px;
  border-bottom: 2px solid transparent;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.catnav a:hover {
  border-color: var(--green);
  color: var(--green);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--green-soft);
}

.hero__text {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(56px, 6vw, 96px) clamp(30px, 6vw, 88px);
}

.hero__text h1 {
  max-width: 560px;
  font-size: clamp(2.7rem, 4.4vw, 4.2rem);
  line-height: 1.03;
}

.hero__copy {
  max-width: 480px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.hero__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: center;
  padding: clamp(40px, 4.5vw, 64px);
}

.hero__tiles figure {
  padding: 20px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgb(24 42 34 / 8%);
}

.hero__tiles figure:nth-child(even) {
  transform: translateY(18px);
}

.hero__tiles img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

/* Trust strip */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.trust div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px clamp(24px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.trust div:last-child {
  border: 0;
}

.trust strong {
  font-size: 0.88rem;
}

.trust span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* Sections */
.section {
  padding: clamp(60px, 7vw, 96px) clamp(24px, 6vw, 88px);
}

.section--soft {
  background: var(--cream);
}

.section__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.section__heading h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
}

.section__heading > a {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
}

/* Range tiles */
.ranges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ranges a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.ranges a:hover {
  border-color: var(--green);
  box-shadow: 0 14px 36px rgb(24 42 34 / 8%);
  transform: translateY(-3px);
}

.ranges strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.ranges span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* Product grid */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 20px;
}

.products figure {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.products article:hover figure {
  border-color: var(--green);
  box-shadow: 0 14px 36px rgb(24 42 34 / 8%);
}

.products figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.products h3 {
  min-height: 40px;
  margin: 16px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.products article > p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.products article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.products article > div a {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 700;
}

/* CTA + footer */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(60px, 7vw, 90px) clamp(24px, 6vw, 88px);
  color: #ffffff;
  background: var(--green-dark);
}

.cta h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.cta__actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  font-weight: 700;
}

.footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding: 60px clamp(24px, 6vw, 88px) 28px;
  color: #aeb8b3;
  background: #101713;
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer img {
  width: 120px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer a {
  display: block;
}

.footer__legal {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid #2b342f;
  font-size: 0.68rem;
}

@media (max-width: 900px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .header__search {
    order: 3;
    grid-column: 1 / -1;
    max-width: none;
  }

  .header__phone {
    display: none;
  }

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

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

  .trust div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

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

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

  .cta__actions {
    align-items: flex-start;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 540px) {
  .products {
    grid-template-columns: 1fr;
  }

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

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