:root {
  --color-ink: #10231e;
  --color-muted: #5f6f68;
  --color-primary: #0f2e25;
  --color-accent: #3ddc97;
  --color-accent-2: #bff7db;
  --color-cream: #f7f5f0;
  --color-white: #ffffff;
  --shadow-soft: 0 24px 70px rgba(15, 46, 37, 0.12);
  --shadow-card: 0 14px 40px rgba(15, 46, 37, 0.1);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --container: min(1160px, 100% - 48px);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-cream);
  font-family: var(--font);
  line-height: 1.6;
  overflow-wrap: break-word;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
  background: linear-gradient(135deg, #dfe8e2, #eef3ee);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 245, 240, 0.94);
  border-bottom: 1px solid rgba(15, 46, 37, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: transparent;
  border-radius: 11px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  color: var(--color-primary);
  border: 0;
  border-radius: 10px;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.nav-link:hover,
.nav-toggle:hover {
  background: rgba(15, 46, 37, 0.06);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  width: max-content;
  max-width: min(600px, calc(100vw - 48px));
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px;
  padding: 14px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  background: var(--color-white);
  border: 1px solid rgba(15, 46, 37, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mega-card {
  padding: 14px;
  border-radius: 14px;
  background: #f7f8f5;
}

.mega-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-primary);
}

.mega-card span {
  display: block;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.language-switcher {
  display: inline-flex;
  padding: 3px;
  background: #e6ece6;
  border-radius: 999px;
}

.lang-button {
  border: 0;
  padding: 7px 9px;
  border-radius: 999px;
  background: transparent;
  color: var(--color-primary);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--color-white);
  box-shadow: 0 3px 12px rgba(15, 46, 37, 0.14);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-white);
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.button-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.button-primary:hover {
  background: #164638;
}

.button-accent {
  background: var(--color-accent);
  color: var(--color-primary);
}

.button-ghost {
  border-color: rgba(15, 46, 37, 0.2);
  color: var(--color-primary);
}

.button-ghost:hover {
  background: rgba(15, 46, 37, 0.05);
}

.dark-section .button-ghost,
.cta .button-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--color-white);
}

/* Typography */
.section {
  padding: clamp(52px, 7vw, 88px) 0;
}

.section-sm {
  padding: clamp(36px, 5vw, 56px) 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: #18724d;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-primary);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 {
  max-width: 20ch;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  line-height: 1.03;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

p,
figure,
blockquote {
  margin: 0;
}

.lead {
  max-width: 62ch;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 80px) 0 clamp(32px, 4vw, 48px);
}

.hero::before {
  position: absolute;
  inset: 40px -15% auto auto;
  width: 460px;
  height: 460px;
  content: "";
  background: radial-gradient(circle, rgba(61, 220, 151, 0.3), rgba(61, 220, 151, 0));
  pointer-events: none;
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 410px), 1fr));
  gap: clamp(28px, 4vw, 52px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy .lead {
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Stats */
.stat-band {
  margin-top: clamp(28px, 4vw, 42px);
  padding: 6px;
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  color: var(--color-white);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
}

.stat {
  padding: 22px;
}

.stat strong {
  display: block;
  color: var(--color-accent);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

/* Section head */
.section-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: end;
  gap: 20px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(240px, 30%, 300px), 1fr));
  gap: 18px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid rgba(15, 46, 37, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.card-media {
  margin: -24px -24px 20px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  background: var(--color-accent-2);
  border-radius: 14px;
  color: var(--color-primary);
  font-weight: 900;
}

.card p {
  margin-top: 12px;
  color: var(--color-muted);
}

.card .button {
  align-self: flex-start;
  margin-top: 20px;
}

/* Dark section */
.dark-section {
  background: var(--color-primary);
  color: var(--color-white);
}

.dark-section h2,
.dark-section h3 {
  color: var(--color-white);
}

.dark-section .eyebrow {
  color: var(--color-accent);
}

.dark-section .lead,
.dark-section p {
  color: rgba(255, 255, 255, 0.76);
}

.dark-section .card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.dark-section .card p {
  color: rgba(255, 255, 255, 0.76);
}

.dark-section .icon {
  background: rgba(61, 220, 151, 0.2);
  color: var(--color-accent);
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(230px, 24%, 270px), 1fr));
  gap: 16px;
  counter-reset: step;
}

.process-step {
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  counter-increment: step;
}

.process-step::before {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  content: counter(step, decimal-leading-zero);
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.9rem;
}

.process-step h3 {
  font-size: 1.15rem;
}

.process-step p {
  margin-top: 10px;
}

/* Split */
.split {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
  gap: clamp(28px, 4vw, 48px);
}

.split-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.split-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--color-muted);
}

.dark-section .feature-list li {
  color: rgba(255, 255, 255, 0.78);
}

.feature-list li::before {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  content: "";
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(191, 247, 219, 0.9);
}

.panel {
  padding: clamp(24px, 3vw, 34px);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

/* Quotes */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
}

.quote {
  padding: 24px;
  background: var(--color-white);
  border: 1px solid rgba(15, 46, 37, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.quote blockquote {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.02rem;
  font-weight: 700;
}

.quote cite {
  display: block;
  margin-top: 16px;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-style: normal;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-top: 20px;
}

.faq-category {
  margin-top: clamp(34px, 4vw, 48px);
}

.faq-item {
  background: var(--color-white);
  border: 1px solid rgba(15, 46, 37, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--color-primary);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  flex: 0 0 auto;
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item[open] summary {
  border-bottom: 1px solid rgba(15, 46, 37, 0.1);
}

.faq-answer {
  padding: 18px 20px;
  color: var(--color-muted);
}

.faq-answer p + p {
  margin-top: 12px;
}

.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

/* Timeline */
.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: minmax(48px, 64px) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 24px);
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
}

.timeline-year {
  color: var(--color-accent);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 410px), 1fr));
  gap: clamp(24px, 3vw, 34px);
  align-items: start;
}

.address-card {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid rgba(15, 46, 37, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  color: var(--color-muted);
}

.address-card h3 {
  margin-bottom: 4px;
}

.contact-block {
  margin-top: 24px;
}

.address-card dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
  margin: 8px 0 0;
}

.address-card dt {
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.address-card dd {
  margin: 4px 0 0;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.95rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 13px 15px;
  color: var(--color-ink);
  background: var(--color-white);
  border: 1px solid rgba(15, 46, 37, 0.18);
  border-radius: 12px;
  font: inherit;
}

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

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

/* CTA */
.cta {
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(circle at 90% 0, rgba(61, 220, 151, 0.34), transparent 34%),
    var(--color-primary);
  border-radius: var(--radius-xl);
  color: var(--color-white);
}

.cta h2 {
  color: var(--color-white);
}

.cta .lead {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
}

/* Page hero */
.page-hero {
  padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 3vw, 44px);
}

.page-hero .lead {
  margin-top: 18px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  background: rgba(61, 220, 151, 0.16);
  border: 1px solid rgba(61, 220, 151, 0.3);
  border-radius: 999px;
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 800;
}

/* Footer */
.site-footer {
  padding: clamp(40px, 5vw, 64px) 0 28px;
  background: #071b16;
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(150px, 200px) minmax(220px, 1fr);
  justify-content: space-between;
  column-gap: clamp(48px, 8vw, 120px);
  row-gap: 28px;
  align-items: start;
}

.footer-brand p {
  max-width: 18ch;
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid > nav.footer-col {
  margin-left: clamp(8px, 2vw, 24px);
}

.site-footer .brand {
  color: var(--color-white);
}

.footer-col h3 {
  margin: 0 0 14px;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-contact p + p {
  margin-top: 12px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding-top: 22px;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.58);
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 22px;
  background: var(--color-white);
  border: 1px solid rgba(15, 46, 37, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(7, 27, 22, 0.28);
}

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

.cookie-copy {
  flex: 1 1 320px;
}

.cookie-copy strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-primary);
}

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

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions .button {
  min-height: 42px;
  padding: 10px 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  :root {
    --container: min(1160px, 100% - 36px);
  }

  .nav-links {
    position: fixed;
    inset: 72px 18px auto 18px;
    display: none;
    max-height: calc(100vh - 96px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    overflow-y: auto;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-link,
  .nav-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
  }

  .mega-menu {
    position: static;
    width: auto;
    max-width: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    padding: 8px 0 4px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(1160px, 100% - 28px);
  }

  .nav-actions > .button {
    display: none;
  }

  .card-media {
    margin: -24px -24px 18px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-bottom {
    margin-top: 28px;
  }

  .cookie-banner {
    inset: auto 12px 12px 12px;
    padding: 18px;
  }

  .cookie-actions .button {
    flex: 1 1 auto;
  }

  /* The decorative glow competes with hero copy once the columns stack. */
  .hero::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mega-menu {
    transition: none;
  }
}
