:root {
  --green: #2f8a16;
  --green-dark: #0c4f18;
  --green-soft: #eaf5e4;
  --ink: #172018;
  --muted: #5c665d;
  --line: #dce4da;
  --paper: #ffffff;
  --soft: #f6f8f4;
  --shadow: 0 24px 80px rgba(23, 32, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  display: block;
  width: min(260px, 42vw);
  height: auto;
}

.main-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--green-dark);
}

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

select {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 0 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--green-dark);
  border-radius: 6px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.button.secondary {
  background: #fff;
  color: var(--green-dark);
}

.button.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 48px;
  min-height: 720px;
  padding: 96px clamp(20px, 5vw, 72px) 72px;
  background:
    linear-gradient(115deg, rgba(12, 79, 24, 0.92), rgba(47, 138, 22, 0.72)),
    linear-gradient(135deg, #172018 0%, #2b3c2a 100%);
  color: #fff;
  overflow: hidden;
}

.hero-copy {
  max-width: 820px;
  align-self: center;
}

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

.hero .eyebrow {
  color: #caf5b7;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.22;
}

.lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 440px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4% 0 0 8%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(135deg, #000, transparent 72%);
}

.visual-card {
  position: absolute;
  right: 4%;
  bottom: 18%;
  width: min(330px, 78%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.visual-card.primary {
  top: 15%;
  right: 16%;
  bottom: auto;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.visual-card span {
  display: block;
  color: var(--green);
  font-weight: 900;
  font-size: 2rem;
}

.visual-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.25rem;
}

.section {
  padding: 88px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.pillar-grid,
.reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pillar,
.reference-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(23, 32, 24, 0.07);
}

.pillar {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 26px;
}

.pillar .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 900;
}

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

.pillar small {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  background: var(--soft);
}

.copy-block {
  color: var(--muted);
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--ink);
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.certificate-card {
  display: grid;
  gap: 16px;
  justify-items: center;
  min-height: 310px;
  padding: 26px 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(23, 32, 24, 0.07);
}

.certificate-card img {
  width: min(100%, 210px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.certificate-card span {
  color: var(--green-dark);
  font-weight: 800;
  text-align: center;
}

.reference-grid article {
  padding: 24px;
}

.reference-grid p {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 44px;
  background: var(--green-dark);
  color: #fff;
}

.contact-section .eyebrow {
  color: #caf5b7;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-card {
  padding: 30px;
  color: var(--ink);
}

.contact-card p {
  color: var(--muted);
}

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

details {
  max-width: 1100px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 16px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: none;
  max-width: 420px;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-banner button {
  min-width: 70px;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1060px) {
  .main-nav {
    display: none;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 300px;
    border-left: 0;
  }

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

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 64px;
  }

  .pillar-grid,
  .reference-grid,
  .certificate-grid {
    grid-template-columns: 1fr;
  }

  .pillar {
    min-height: auto;
  }

  .site-footer,
  .cookie-banner {
    flex-direction: column;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
  }
}
