:root {
  --bg: #eef2e6;
  --paper: rgba(255, 252, 245, 0.88);
  --paper-strong: #fffdf7;
  --ink: #24301d;
  --muted: #56624c;
  --line: rgba(36, 48, 29, 0.12);
  --accent: #527a2f;
  --accent-dark: #35531b;
  --soil: #7b6449;
  --shadow: 0 24px 70px rgba(31, 44, 24, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Aptos, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(141, 176, 103, 0.35), transparent 42%),
    linear-gradient(180deg, #f5f7ef 0%, #e9eedf 100%);
}

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

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

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(245, 247, 239, 0.88);
  border-bottom: 1px solid rgba(36, 48, 29, 0.08);
}

.topbar-inner,
.footer-inner,
.section,
.hero {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(58, 83, 33, 0.18);
}

.brand-text strong,
h1,
h2,
h3 {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.brand-text {
  display: grid;
  gap: 0.08rem;
}

.brand-text strong {
  font-size: 1.2rem;
}

.brand-text span {
  font-size: 0.92rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.nav a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  transition: 160ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--paper-strong);
  background: var(--accent-dark);
}

main {
  padding: 0 0 3rem;
}

.card,
.legal-card {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
}

.hero-fullscreen {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  place-items: end start;
}

.hero-fullscreen-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-fullscreen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 61%;
  transform: scale(1.16);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(18, 28, 14, 0.18) 0%, rgba(18, 28, 14, 0.55) 68%, rgba(18, 28, 14, 0.72) 100%),
    radial-gradient(circle at top left, rgba(131, 175, 82, 0.32), transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 0 0 4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(82, 122, 47, 0.12);
  color: var(--accent-dark);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(10px);
}

h1 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.hero-content h1 {
  max-width: 10ch;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted);
}

.lead-light {
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  transition: 160ms ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #7ea84f 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(82, 122, 47, 0.28);
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.55);
}

.button-glass {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

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

.section {
  margin-top: 1.6rem;
}

.surface-section {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 1.6rem auto 0;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1.2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card,
.legal-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

.card h2,
.card h3,
.legal-card h1,
.legal-card h2 {
  margin-top: 0;
}

.card p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.72;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.metric {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(36, 48, 29, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.56);
}

.metric strong {
  display: block;
  font-size: 1.45rem;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.metric span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
}

.contact-list,
.legal-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.contact-list li,
.legal-list li {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.legal-card {
  width: min(calc(100% - 2rem), 900px);
  margin: 0 auto;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.legal-card section + section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.note {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--soil);
  background: rgba(123, 100, 73, 0.08);
  border-radius: 0 14px 14px 0;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-heading h2 {
  margin: 0.45rem 0 0;
}

.section-heading p {
  max-width: 28rem;
  margin: 0;
}

.intro-card {
  margin-bottom: 1.2rem;
  padding: 1.5rem 1.7rem;
}

.intro-card h2 {
  margin: 0.5rem 0 1rem;
}

.intro-text {
  margin: 0;
  max-width: 46rem;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink) !important;
}

.intro-text + .intro-text {
  margin-top: 0.9rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background-position: center;
  background-size: cover;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 30, 15, 0.08) 0%, rgba(20, 30, 15, 0.68) 100%);
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card h2,
.feature-card p {
  color: #fff;
}

.feature-card p {
  max-width: 28rem;
}

.feature-card-soil {
  background-image: url("assets/hands-soil.jpg");
}

.feature-card-hands {
  background-image: url("assets/soil-sprout.jpg");
}

.feature-card-crops {
  background-image: url("assets/green-crops.jpg");
}

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

.partner-card {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.partner-link {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.partner-link:hover {
  transform: translateY(-2px);
  border-color: rgba(82, 122, 47, 0.28);
  box-shadow: 0 16px 34px rgba(31, 44, 24, 0.12);
}

.partner-logo {
  width: 100%;
  max-width: 220px;
  height: 130px;
  object-fit: contain;
  margin-bottom: 0.45rem;
}

.partner-logo-small {
  max-width: 160px;
  height: 90px;
}

.partner-card strong {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.15rem;
}

.partner-card span {
  color: var(--muted);
}

.contact-route-card {
  padding-bottom: 1.8rem;
}

.contact-route-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  align-items: start;
}

.contact-route-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.72;
}

.contact-person,
.contact-company {
  color: var(--ink) !important;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.contact-person {
  margin-bottom: 0.35rem !important;
  font-size: 1.5rem;
}

.contact-company {
  margin-bottom: 1.4rem !important;
  font-size: 1.15rem;
}

.contact-address {
  margin-bottom: 1.4rem !important;
  font-size: 1.05rem;
}

.map-embed-wrap {
  overflow: hidden;
  min-height: 360px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.footer {
  padding: 0 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  padding: 1.4rem 1.6rem;
  border-radius: 22px;
  background: rgba(36, 48, 29, 0.94);
  color: rgba(255, 255, 255, 0.85);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  width: min(calc(100% - 2rem), 440px);
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: rgba(255, 252, 245, 0.96);
  box-shadow: 0 24px 60px rgba(31, 44, 24, 0.2);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
}

.cookie-banner p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.cookie-options {
  display: grid;
  gap: 0.75rem;
}

.cookie-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.cookie-option strong {
  display: block;
  margin-bottom: 0.15rem;
}

.cookie-option span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-option input {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cookie-manage {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 25;
  border: 1px solid var(--line);
  background: rgba(255, 252, 245, 0.92);
  color: var(--accent-dark);
  box-shadow: 0 14px 34px rgba(31, 44, 24, 0.14);
}

.cookie-manage[hidden] {
  display: none;
}

@media (max-width: 960px) {
  .topbar-inner,
  .surface-section,
  .footer-inner {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .grid-3,
  .grid-2,
  .metrics,
  .partner-grid,
  .contact-route-layout {
    grid-template-columns: 1fr;
  }

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

  .nav {
    justify-content: flex-start;
  }

  .hero-fullscreen {
    min-height: 86svh;
  }

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

  .hero-content h1 {
    max-width: 12ch;
  }

  .feature-card {
    min-height: 280px;
  }

  .partner-logo {
    max-width: 190px;
    height: 110px;
  }

  .map-embed-wrap,
  .map-embed {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .topbar {
    position: sticky;
  }

  .topbar-inner,
  .surface-section,
  .footer-inner {
    width: calc(100% - 1rem);
  }

  .topbar-inner {
    gap: 0.8rem;
    padding: 0.7rem 0;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .brand-text span {
    font-size: 0.82rem;
  }

  .nav {
    gap: 0.35rem;
    width: 100%;
  }

  .nav a {
    padding: 0.6rem 0.8rem;
    font-size: 0.92rem;
  }

  .card,
  .legal-card {
    border-radius: 22px;
    padding: 1.2rem;
  }

  h1 {
    font-size: 2.2rem;
    line-height: 0.98;
  }

  .legal-card h1 {
    font-size: 1.9rem;
    line-height: 1.02;
  }

  .hero-content {
    width: calc(100% - 1rem);
    padding-bottom: 1.4rem;
  }

  .hero-fullscreen {
    min-height: 72svh;
  }

  .hero-fullscreen-image {
    object-position: center 63%;
    transform: scale(1.14);
  }

  .eyebrow {
    font-size: 0.75rem;
    padding: 0.4rem 0.65rem;
  }

  .actions {
    gap: 0.6rem;
    margin-top: 1.1rem;
  }

  .button {
    width: 100%;
    min-height: 46px;
    padding: 0.85rem 1rem;
  }

  .section {
    margin-top: 1rem;
  }

  .surface-section {
    margin-top: 1rem;
  }

  .intro-card {
    padding: 1.2rem;
  }

  .intro-card h2 {
    margin-bottom: 0.8rem;
    font-size: 1.55rem;
  }

  .intro-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .feature-card {
    min-height: 250px;
    padding-top: 5.2rem;
  }

  .feature-card h2 {
    font-size: 1.45rem;
  }

  .feature-card p {
    font-size: 0.97rem;
    line-height: 1.62;
  }

  .section-heading {
    margin-bottom: 0.95rem;
  }

  .section-heading h2 {
    font-size: 1.55rem;
  }

  .partner-grid {
    gap: 0.8rem;
  }

  .partner-card {
    padding: 1rem;
  }

  .partner-logo {
    max-width: 170px;
    height: 96px;
    margin-bottom: 0.2rem;
  }

  .partner-logo-small {
    max-width: 120px;
    height: 72px;
  }

  .contact-route-layout {
    gap: 0.9rem;
  }

  .contact-person {
    font-size: 1.32rem;
  }

  .contact-company {
    margin-bottom: 0.9rem !important;
    font-size: 1rem;
  }

  .contact-address {
    margin-bottom: 1rem !important;
    font-size: 0.98rem;
  }

  .map-embed-wrap,
  .map-embed {
    min-height: 240px;
    border-radius: 18px;
  }

  .footer {
    padding-bottom: 5.2rem;
  }

  .footer-inner {
    padding: 1.1rem 1rem;
    border-radius: 18px;
  }

  .footer-nav {
    gap: 0.8rem;
  }

  .cookie-banner {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    width: auto;
    padding: 1rem;
    border-radius: 20px;
  }

  .cookie-banner h2 {
    font-size: 1.15rem;
  }

  .cookie-option {
    padding: 0.75rem 0.8rem;
    gap: 0.7rem;
    border-radius: 16px;
  }

  .cookie-option span {
    font-size: 0.92rem;
  }

  .cookie-actions {
    gap: 0.55rem;
  }

  .cookie-actions .button {
    width: 100%;
  }

  .cookie-manage {
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
    min-height: 42px;
    padding: 0.75rem 0.95rem;
  }
}
