:root {
  --green: #00856f;
  --green-dark: #005b4e;
  --green-soft: #e5f3ef;
  --ink: #162321;
  --muted: #60706c;
  --line: #dfe7e4;
  --paper: #ffffff;
  --soft: #f3f6f5;
  --shadow: 0 18px 50px rgba(22, 35, 33, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 231, 228, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 176px;
  min-width: 176px;
}

.brand img {
  width: 176px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #354642;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--green-dark);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 44, 38, 0.82), rgba(0, 91, 78, 0.42), rgba(255, 255, 255, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), transparent 52%);
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  margin: 0 0 clamp(52px, 8vw, 96px) clamp(20px, 6vw, 86px);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-band .eyebrow,
.feature-panel.green .eyebrow {
  color: #b9f1df;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.22;
}

.hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.hero-actions,
.cookie-actions,
.modal-actions,
.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 133, 111, 0.22);
  background: var(--green-dark);
}

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

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

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

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

.section-head {
  max-width: 820px;
  margin-bottom: 36px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}

.copy {
  color: var(--muted);
  font-size: 17px;
}

.copy h2 {
  color: var(--ink);
}

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

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

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

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

.card,
.service-card,
.article-card,
.contact-panel,
.contact-form,
.feature-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 6px 28px rgba(22, 35, 33, 0.06);
}

.card,
.service-card,
.feature-panel {
  padding: 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover,
.service-card:hover,
.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 133, 111, 0.35);
  box-shadow: var(--shadow);
}

.service-card span,
.article-card span:last-child {
  color: var(--green);
  font-weight: 800;
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.card li + li {
  margin-top: 8px;
}

.image-card {
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: var(--line);
}

.stats div {
  min-height: 180px;
  padding: 32px;
  background: #fff;
}

.stats strong {
  display: block;
  color: var(--green);
  font-size: 48px;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-weight: 650;
}

.split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.feature-panel {
  min-height: 340px;
}

.feature-panel.green,
.cta-band {
  background: var(--green-dark);
  color: #fff;
}

.feature-panel p,
.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: clamp(20px, 5vw, 72px);
  padding: clamp(34px, 5vw, 58px);
  border-radius: var(--radius);
}

.cta-band h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.quote p {
  font-size: 18px;
  color: var(--ink);
}

.leader img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 22px;
}

.leader span {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 800;
}

.quote-section {
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.quote-section blockquote {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 800;
}

.article-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.article-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.article-card div {
  padding: 28px;
}

.article-body,
.legal-content {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 0;
  color: var(--muted);
  font-size: 18px;
}

.article-body p,
.legal-content p {
  margin-bottom: 22px;
}

.article-body p:first-child {
  color: var(--ink);
  font-size: 22px;
  font-weight: 650;
}

.page-hero {
  padding: clamp(90px, 12vw, 150px) clamp(20px, 5vw, 72px) clamp(50px, 7vw, 88px);
  background: var(--soft);
}

.legal-hero h1 {
  color: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}

.contact-panel,
.contact-form {
  padding: clamp(28px, 4vw, 44px);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 133, 111, 0.18);
  border-color: var(--green);
}

.map-block {
  display: grid;
  min-height: 240px;
  place-items: center;
  margin-top: 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 133, 111, 0.12), rgba(22, 35, 33, 0.04)),
    repeating-linear-gradient(45deg, #f7faf9, #f7faf9 14px, #eef4f2 14px, #eef4f2 28px);
  color: var(--green-dark);
  font-weight: 800;
  text-align: center;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
}

.footer {
  padding: 58px clamp(20px, 5vw, 72px) 24px;
  background: #1c2927;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.footer-logo {
  width: 130px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer h3 {
  color: #fff;
}

.footer a {
  display: block;
  margin: 8px 0;
}

.footer a:hover {
  color: #b9f1df;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

.footer-bottom span:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--muted);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(22, 35, 33, 0.42);
}

.modal-panel {
  position: relative;
  width: min(620px, 100%);
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 24px;
  cursor: pointer;
}

.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.cookie-row small {
  display: block;
  color: var(--muted);
}

.cookie-row input {
  width: 22px;
  height: 22px;
}

[hidden] {
  display: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1120px) {
  .card-grid,
  .card-grid.five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    gap: 13px;
    font-size: 13px;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 560px;
  }

  .two-col,
  .split-cards,
  .contact-grid,
  .footer-grid,
  .card-grid.three,
  .card-grid.two,
  .stats {
    grid-template-columns: 1fr;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .cookie-banner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand {
    width: 142px;
    min-width: 142px;
  }

  .brand img {
    width: 142px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .card-grid,
  .card-grid.five {
    grid-template-columns: 1fr;
  }

  .card,
  .service-card,
  .feature-panel,
  .contact-panel,
  .contact-form {
    padding: 22px;
  }

  .cta-band {
    margin: 16px;
  }
}
