:root {
  --brand-primary: #78b84d;
  --brand-secondary: #02873e;
  --brand-leaf: #5a9e38;
  --brand-deep: #015c2b;
  --brand-soft: #e8f5dc;
  --brand-mist: #f3f9ed;
  --brand-ink: #1a2e1c;
  --brand-muted: #4a6350;
  --surface: #fafdf7;
  --font: "Nunito", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--brand-ink);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* Brand wordmark */
.brand-mark {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-primary);
  line-height: 1;
}

.brand-mark .u-heart {
  position: relative;
  display: inline-block;
}

.brand-mark .u-heart::after {
  content: "♥";
  position: absolute;
  top: -0.12em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.38em;
  line-height: 1;
  color: currentColor;
}

.brand-mark--white {
  color: #fff;
}

.brand-mark--lg {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
}

.brand-mark--md {
  font-size: 1.65rem;
}

.brand-mark--sm {
  font-size: 1.35rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 1.25rem 0;
}

.site-header.is-scrolled {
  background: rgba(250, 253, 247, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(2, 135, 62, 0.08);
  padding: 0.75rem 0;
}

.site-header.is-scrolled .nav-link {
  color: var(--brand-ink);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active {
  color: var(--brand-secondary);
}

.site-header.is-scrolled .brand-mark {
  color: var(--brand-primary);
}

.nav-shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
}

.header-on-light .nav-link {
  color: var(--brand-muted);
}

.header-on-light .nav-link:hover,
.header-on-light .nav-link.is-active {
  color: var(--brand-secondary);
}

.header-on-light .brand-mark {
  color: var(--brand-primary);
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
  margin-inline: auto;
}

.site-header:not(.is-scrolled):not(.header-on-light) .menu-toggle {
  color: #fff;
}

.site-header.is-scrolled .menu-toggle,
.header-on-light .menu-toggle {
  color: var(--brand-ink);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-secondary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-deep);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.btn-outline:hover {
  background: var(--brand-secondary);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--brand-secondary);
}

.btn-light:hover {
  background: var(--brand-soft);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.05);
  animation: hero-zoom 18s ease-out forwards;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(1, 55, 28, 0.35) 0%,
      rgba(1, 55, 28, 0.15) 40%,
      rgba(1, 40, 22, 0.72) 100%
    ),
    linear-gradient(90deg, rgba(1, 55, 28, 0.45) 0%, transparent 55%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 clamp(4rem, 10vh, 6.5rem);
}

.hero-content .brand-mark {
  opacity: 0;
  transform: translateY(24px);
  animation: rise-in 0.9s ease 0.2s forwards;
}

.hero-headline {
  margin: 1rem 0 0.75rem;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 18ch;
  opacity: 0;
  transform: translateY(24px);
  animation: rise-in 0.9s ease 0.4s forwards;
}

.hero-lede {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(24px);
  animation: rise-in 0.9s ease 0.55s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise-in 0.9s ease 0.7s forwards;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 48vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  padding-top: 5rem;
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

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

.page-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(1, 55, 28, 0.45) 0%,
    rgba(1, 40, 22, 0.78) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.page-hero-content h1 {
  margin: 0.5rem 0 0.5rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-hero-content p {
  margin: 0;
  max-width: 42ch;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-secondary);
  margin-bottom: 0.75rem;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--brand-ink);
}

.section-lede {
  margin: 0 0 2.5rem;
  max-width: 48ch;
  color: var(--brand-muted);
  font-size: 1.05rem;
}

.section--mist {
  background:
    radial-gradient(ellipse at 10% 20%, rgba(120, 184, 77, 0.12), transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(2, 135, 62, 0.08), transparent 45%),
    var(--brand-mist);
}

.section--green {
  background:
    linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-deep) 100%);
  color: #fff;
}

.section--green .section-title,
.section--green .section-lede {
  color: #fff;
}

.section--green .section-lede {
  opacity: 0.88;
}

.section--soft {
  background:
    linear-gradient(180deg, #fff 0%, var(--brand-soft) 100%);
}

/* Benefits strip */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.benefit {
  text-align: center;
  padding: 1.25rem 0.75rem;
}

.benefit-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 2px solid var(--brand-primary);
  display: grid;
  place-items: center;
  color: var(--brand-secondary);
  font-weight: 800;
  font-size: 0.95rem;
}

.benefit h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-ink);
}

.benefit p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--brand-muted);
}

/* Uses / ranges */
.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.use-tile {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  min-height: 280px;
  isolation: isolate;
}

.use-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.use-tile:hover img {
  transform: scale(1.06);
}

.use-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(1, 40, 22, 0.85) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
}

.use-tile-overlay h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.use-tile-overlay p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Trust badges */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  align-items: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  max-width: 9rem;
}

.trust-item img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
}

.trust-item span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-muted);
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-visual {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 360px;
}

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

.split-copy .section-lede {
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--brand-ink);
}

.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--brand-primary);
}

/* Product catalogue */
.product-stack {
  display: grid;
  gap: 3.5rem;
}

.product-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.product-block:nth-child(even) {
  direction: rtl;
}

.product-block:nth-child(even) > * {
  direction: ltr;
}

.product-visual {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 320px;
  background:
    radial-gradient(circle at 30% 30%, rgba(120, 184, 77, 0.25), transparent 55%),
    linear-gradient(160deg, #e8f5dc, #d4ebc4);
}

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

.product-visual--contain img {
  object-fit: contain;
  padding: 1.5rem;
}

.product-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--brand-ink);
}

.product-copy p {
  margin: 0 0 1.25rem;
  color: var(--brand-muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-secondary);
  background: var(--brand-soft);
  border-radius: 0.35rem;
}

.meta-line {
  font-size: 0.9rem;
  color: var(--brand-muted);
  margin: 0;
}

.meta-line strong {
  color: var(--brand-ink);
}

/* Audience chips — not pills overload, simple list */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.audience-item {
  padding: 1.25rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  font-weight: 700;
  text-align: center;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-card {
  padding: 1.5rem;
  background: #fff;
  border-radius: 0.75rem;
}

.value-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-secondary);
}

.value-card p {
  margin: 0;
  color: var(--brand-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.5rem;
}

.contact-item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-secondary);
}

.contact-item p,
.contact-item a {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-ink);
}

.contact-item a:hover {
  color: var(--brand-secondary);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid rgba(2, 135, 62, 0.12);
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(1, 55, 28, 0.06);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-ink);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(2, 135, 62, 0.2);
  border-radius: 0.45rem;
  font-family: inherit;
  font-size: 1rem;
  background: var(--brand-mist);
  color: var(--brand-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(120, 184, 77, 0.25);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--brand-muted);
}

.form-success {
  display: none;
  padding: 1rem;
  background: var(--brand-soft);
  color: var(--brand-secondary);
  border-radius: 0.45rem;
  font-weight: 700;
}

.form-success.is-visible {
  display: block;
}

.map-placeholder {
  margin-top: 2rem;
  border-radius: 0.75rem;
  overflow: hidden;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(120, 184, 77, 0.2), rgba(2, 135, 62, 0.35)),
    url("../images/product-range.png") center / cover;
  display: grid;
  place-items: end start;
  padding: 1.5rem;
  color: #fff;
}

.map-placeholder p {
  margin: 0;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* CTA band */
.cta-band {
  text-align: center;
}

.cta-band .section-title {
  max-width: 20ch;
  margin-inline: auto;
}

.cta-band .section-lede {
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* Footer */
.site-footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  margin: 1rem 0 0;
  max-width: 28ch;
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-zoom {
  to {
    transform: scale(1);
  }
}

/* Mobile nav */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0 0 auto;
    top: 0;
    padding: 5.5rem 1.5rem 1.5rem;
    background: rgba(250, 253, 247, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    box-shadow: 0 12px 40px rgba(1, 55, 28, 0.12);
  }

  .nav-links.is-open {
    transform: translateY(0);
  }

  .nav-links .nav-link {
    color: var(--brand-ink) !important;
    font-size: 1.15rem;
  }

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

  .use-grid,
  .audience-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .product-block,
  .product-block:nth-child(even),
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .split-visual,
  .product-visual {
    min-height: 260px;
  }

  .hero-content {
    padding-bottom: 3.5rem;
  }
}

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

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .trust-row {
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-media img {
    transform: none;
  }
}
