:root {
  --aeec: #005b30;
  --aeec-deep: #003d20;
  --aeec-soft: #e8f2ec;
  --ink: #0a0a0a;
  --muted: #4b5563;
  --paper: #ffffff;
  --fog: #f4f7f5;
  --line: rgba(0, 91, 48, 0.14);
  --font: "Jost", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
}

.brand {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--aeec);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--aeec);
  color: white !important;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  margin: 0.28rem 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 91, 48, 0.1), transparent 60%),
    linear-gradient(180deg, #f7faf8 0%, #ffffff 55%, #eef5f0 100%);
}

.hero-media {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 7.5rem 0 4.5rem;
  display: grid;
  justify-items: start;
}

.hero-logo {
  display: block;
  width: min(480px, 88vw);
  height: auto;
  aspect-ratio: 960 / 730;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 2rem;
  animation: rise 0.9s var(--ease) both;
}

.hero h1 {
  margin: 0 0 0.85rem;
  max-width: 16ch;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--ink);
  animation: rise 0.9s 0.08s var(--ease) both;
}

.hero p {
  margin: 0 0 1.6rem;
  max-width: 36ch;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  animation: rise 0.9s 0.16s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.24s var(--ease) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

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

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

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

.btn-ghost {
  background: transparent;
  border-color: rgba(0, 91, 48, 0.35);
  color: var(--aeec-deep);
}

.btn-ghost:hover {
  background: var(--aeec-soft);
}

.section {
  padding: 5.5rem 0;
}

.section-kicker {
  margin: 0 0 0.6rem;
  color: var(--aeec);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.services {
  background: var(--fog);
}

.service-rows {
  margin: 2.75rem 0 0;
  display: grid;
  gap: 2.75rem;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: center;
}

.service-row--flip {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.service-row--flip .service-media {
  order: 2;
}

.service-row--flip .service-copy {
  order: 1;
}

.service-media {
  margin: 0;
  overflow: hidden;
  border-radius: 1.15rem;
  aspect-ratio: 16 / 10;
  background: #d7e4dc;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.7s var(--ease);
}

.service-row:hover .service-media img {
  transform: scale(1.06);
}

.service-copy h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--aeec-deep);
  letter-spacing: -0.02em;
}

.service-copy p {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  margin-top: 2.25rem;
  align-items: stretch;
}

.contact-panel {
  padding: 1.75rem 0;
}

.contact-panel dd a {
  color: var(--aeec);
  font-weight: 600;
}

.contact-panel a.btn {
  color: white;
}

.contact-panel a.btn-ghost {
  color: var(--aeec-deep);
}

.contact-panel dl {
  margin: 1.5rem 0 0;
}

.contact-panel dt {
  margin: 1rem 0 0.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-panel dd {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.map-frame {
  min-height: 320px;
  border: 0;
  width: 100%;
  border-radius: 0;
  filter: grayscale(0.15);
}

.page-hero {
  padding: 8rem 0 3rem;
  background:
    linear-gradient(180deg, var(--aeec-soft), var(--paper) 70%);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
}

.page-hero p {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.5rem 0;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-brand {
  font-weight: 800;
  letter-spacing: 0.06em;
  color: white;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  font-size: 0.92rem;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.footer-meta a:hover {
  color: white;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}

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

  .nav-links {
    position: absolute;
    top: 100%;
    right: 1.25rem;
    left: 1.25rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  }

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

  .nav-links a {
    padding: 0.75rem 0.85rem;
  }

  .nav-cta {
    justify-content: center;
  }

  .service-row,
  .service-row--flip,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .service-row--flip .service-media,
  .service-row--flip .service-copy {
    order: initial;
  }

  .service-rows {
    gap: 2.15rem;
  }

  .service-media {
    aspect-ratio: 16 / 11;
  }

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