:root {
  --green-950: #052f1d;
  --green-900: #063f25;
  --green-800: #0a5a35;
  --green-700: #0f7446;
  --green-600: #17985a;
  --green-100: #e9f6ef;
  --green-50: #f4fbf7;
  --ink-950: #111513;
  --ink-800: #242a27;
  --ink-650: #4d5752;
  --ink-500: #69746f;
  --line: #dfe7e2;
  --paper: #ffffff;
  --soft: #f5f6f4;
  --warm: #f4f1ec;
  --orange: #f47c22;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 20px rgba(7, 49, 30, 0.08);
  --shadow-md: 0 16px 42px rgba(7, 49, 30, 0.12);
  --shadow-lg: 0 24px 70px rgba(7, 49, 30, 0.18);
  --container: 1180px;
  --header-h: 88px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-800);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(23, 152, 90, 0.18);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset: 14px auto auto 14px;
  z-index: 9999;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--green-900);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 231, 226, 0.9);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: clamp(148px, 16vw, 205px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  color: var(--ink-650);
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--green-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.site-nav > a:hover,
.site-nav > a:focus-visible {
  color: var(--green-800);
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after,
.site-nav > a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 12px 18px;
  color: var(--paper) !important;
  background: var(--green-900);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(6, 63, 37, 0.14);
  transition: transform 0.16s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--green-800);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  gap: 4px;
  color: var(--green-900);
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.menu-toggle__line {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open .menu-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero,
.section,
.contact-section {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.hero {
  padding: clamp(20px, 3vw, 36px) 0 clamp(48px, 6vw, 76px);
  background: linear-gradient(180deg, #fff 0%, #f8faf8 100%);
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(670px, calc(100svh - 128px));
  overflow: hidden;
  background: var(--green-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(5, 47, 29, 0.96) 0%, rgba(6, 63, 37, 0.92) 42%, rgba(6, 63, 37, 0.12) 64%, rgba(6, 63, 37, 0) 100%),
    radial-gradient(circle at 17% 18%, rgba(23, 152, 90, 0.38), transparent 28%),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, auto, 34px 34px, 34px 34px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  padding: clamp(34px, 5.2vw, 76px);
  color: var(--paper);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: #9eddb9;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--paper);
  font-size: clamp(2.55rem, 4.75vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero h1 span {
  color: #7bd69d;
}

.hero-lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  overflow-wrap: break-word;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  color: var(--green-900);
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(7, 49, 30, 0.18);
}

.btn:active,
.nav-cta:active,
.menu-toggle:active {
  transform: scale(0.98);
}

.btn-primary {
  color: var(--paper);
  background: var(--green-800);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-700);
}

.btn-secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.btn-full {
  width: 100%;
}

.hero-badges {
  display: flex;
  max-width: 680px;
  margin: 40px 0 0;
  padding: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.hero-badges li {
  display: grid;
  flex: 1 1 0;
  gap: 6px;
  min-width: 0;
  padding: 0 clamp(14px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.86);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.35;
}

.hero-badges li:first-child {
  padding-left: 0;
}

.hero-badges li:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero-badge__code {
  color: #9eddb9;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.contact-list svg,
.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-media {
  position: relative;
  min-height: 100%;
  margin: 0;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: right center;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 63, 37, 0.88) 0%, rgba(6, 63, 37, 0.22) 33%, rgba(6, 63, 37, 0) 62%);
  pointer-events: none;
}

@media (min-width: 1240px) {
  .site-header .container {
    width: min(100% - 96px, 1760px);
  }

  .hero .container {
    width: 100%;
  }

  .hero {
    padding: 0;
    background: var(--green-950);
  }

  .hero-shell {
    grid-template-columns: minmax(680px, 0.92fr) minmax(0, 1.08fr);
    min-height: 800px;
    min-height: max(800px, calc(100vh - var(--header-h) - 16px));
    min-height: max(800px, calc(100svh - var(--header-h) - 16px));
    border-radius: 0;
    box-shadow: none;
  }

  .hero-copy {
    padding-block: clamp(56px, 5vw, 88px);
    padding-inline: max(72px, calc((100vw - 1760px) / 2 + 48px)) clamp(48px, 4vw, 72px);
  }

  .hero h1 {
    max-width: 720px;
    font-size: clamp(3.55rem, 3.45vw, 4.2rem);
    line-height: 0.96;
  }

  .hero-badges {
    margin-top: 28px;
  }
}

@media (min-width: 1240px) and (max-height: 820px) {
  .hero-badges {
    display: none;
  }
}

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.about {
  background:
    linear-gradient(90deg, transparent 0 calc(50% - 590px), rgba(15, 116, 70, 0.08) calc(50% - 590px) calc(50% - 540px), transparent calc(50% - 540px)),
    var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}

.about-copy h2,
.section-heading h2,
.projects-intro h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink-950);
  font-size: clamp(2.15rem, 4vw, 4.15rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.about-copy .section-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--green-800);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.about-copy p:not(.section-kicker):not(.section-lead),
.section-heading p,
.projects-intro p,
.contact-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink-650);
  font-size: 1.03rem;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 680px;
  margin-top: 38px;
  border-top: 1px solid rgba(15, 116, 70, 0.16);
  border-bottom: 1px solid rgba(15, 116, 70, 0.16);
}

.info-badge {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 16px 18px;
  color: var(--green-900);
  background: transparent;
  border-bottom: 1px solid rgba(15, 116, 70, 0.1);
  font-size: 0.95rem;
  font-weight: 850;
}

.info-badge:nth-child(odd) {
  border-right: 1px solid rgba(15, 116, 70, 0.1);
}

.info-badge:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.info-badge__code {
  display: inline-flex;
  min-width: 46px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  background: rgba(15, 116, 70, 0.07);
  border: 1px solid rgba(15, 116, 70, 0.14);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.image-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

.about-image {
  aspect-ratio: 0.84;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: auto 24px 24px auto;
  width: 42%;
  height: 42%;
  border-right: 1px solid rgba(255,255,255,0.48);
  border-bottom: 1px solid rgba(255,255,255,0.48);
  border-radius: 0 0 18px 0;
  pointer-events: none;
}

.services {
  padding: clamp(52px, 5vw, 68px) 0 clamp(72px, 8vw, 112px);
  background:
    linear-gradient(180deg, #fbfcfb 0%, var(--soft) 100%);
}

.services .container {
  width: min(100% - 40px, 1360px);
}

.section-heading {
  max-width: 790px;
  margin-inline: auto;
  text-align: center;
}

.services .section-heading {
  max-width: 860px;
}

.services .section-heading h2 {
  font-size: clamp(2.4rem, 3vw, 3.45rem);
  line-height: 1.05;
}

.section-heading .section-kicker {
  justify-content: center;
}

.section-heading .section-kicker::before {
  width: 24px;
}

.section-heading p {
  margin-inline: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
  margin-top: clamp(38px, 4.5vw, 56px);
}

.service-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: clamp(24px, 2.2vw, 34px) clamp(24px, 2.2vw, 34px) 160px;
  background: var(--paper);
  border: 1px solid rgba(15, 116, 70, 0.1);
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 18px 46px rgba(7, 49, 30, 0.08);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, rgba(23, 152, 90, 0.07), transparent 42%),
    linear-gradient(180deg, transparent 50%, rgba(244, 251, 247, 0.78) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.service-card:hover::before {
  opacity: 1;
}

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

.service-card__head {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 16px;
}

.service-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--paper);
  background: var(--green-800);
  border-radius: 18px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3,
.project-card h3,
.contact-form h3 {
  margin: 24px 0 0;
  color: var(--ink-950);
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.service-card h3 {
  margin: 0;
  font-size: clamp(1.12rem, 1.45vw, 1.38rem);
  letter-spacing: -0.035em;
}

.service-card p,
.project-card p {
  margin: 16px 0 0;
  color: var(--ink-650);
}

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

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-650);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.54em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--green-700);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(15, 116, 70, 0.1);
}

.service-card__visual {
  position: absolute;
  right: -18px;
  bottom: -26px;
  z-index: 0;
  width: min(78%, 360px);
  max-height: 48%;
  object-fit: cover;
  opacity: 0.18;
  filter: grayscale(0.72) saturate(0.32);
  mix-blend-mode: multiply;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
}

.service-card__visual--support {
  width: min(104%, 470px);
  max-height: 42%;
  right: -48px;
  bottom: -14px;
  opacity: 0.2;
  object-position: center;
}

.service-card__visual--plans {
  width: min(92%, 430px);
  right: -48px;
  bottom: -10px;
}

.service-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 24px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 116, 70, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(7, 49, 30, 0.05);
}

.service-strip span {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px clamp(18px, 3vw, 42px);
  color: var(--green-900);
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(15, 116, 70, 0.12);
  border-radius: 0;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.service-strip span:last-child {
  border-right: 0;
}

.project-types {
  background:
    radial-gradient(circle at 11% 14%, rgba(23, 152, 90, 0.08), transparent 24%),
    linear-gradient(180deg, #fff 0%, var(--warm) 100%);
}

.projects-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.projects-intro {
  grid-row: span 2;
  align-self: center;
  padding-right: clamp(0px, 2vw, 28px);
}

.projects-intro .btn {
  margin-top: 28px;
}

.project-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(223, 231, 226, 0.86);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.project-card__media {
  position: relative;
  height: 260px;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(23, 152, 90, 0.16), transparent 34%),
    linear-gradient(145deg, #eef3f0 0%, #dfe8e3 100%);
  border-bottom: 1px solid rgba(15, 116, 70, 0.1);
}

.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 47, 29, 0.02), rgba(5, 47, 29, 0.13)),
    linear-gradient(90deg, rgba(5, 47, 29, 0.08), transparent 35%, rgba(5, 47, 29, 0.07));
  pointer-events: none;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  padding: 14px;
  object-fit: contain;
  filter: saturate(0.82) contrast(1.06);
  mix-blend-mode: multiply;
}

.project-card--wide {
  grid-column: span 2;
}

.project-card--wide .project-card__media {
  height: 290px;
}

.project-card > div {
  padding: 22px;
}

.project-card h3 {
  margin-top: 0;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 118px) 0 34px;
  color: var(--paper);
  background: var(--green-950);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 47, 29, 0.94), rgba(5, 47, 29, 0.76)),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  pointer-events: none;
}

.contact-grid,
.contact-benefits {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.92fr);
  gap: clamp(38px, 7vw, 86px);
  align-items: start;
}

.section-kicker--light {
  color: #9eddb9;
}

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

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

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.contact-list a,
.contact-list p {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
}

.contact-list svg {
  width: 50px;
  height: 50px;
  padding: 13px;
  color: #9eddb9;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--paper);
  font-size: 0.86rem;
}

.contact-form {
  padding: clamp(24px, 4vw, 42px);
  color: var(--ink-800);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 1.45rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink-650);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--ink-950);
  background: #fff;
  border: 1px solid #dfe6e2;
  border-radius: 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form input,
.contact-form select {
  display: block;
  height: 50px;
  min-height: 50px;
  padding: 0 14px;
  line-height: 1.2;
}

.contact-form select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-650) 50%),
    linear-gradient(135deg, var(--ink-650) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px;
}

.contact-form textarea {
  min-height: 140px;
  padding: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(15, 116, 70, 0.12);
}

.contact-form ::placeholder {
  color: #9aa3a0;
}

.contact-form .form-trap {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
}

.form-note,
.form-status {
  margin: 14px 0 0;
  color: var(--ink-500);
  font-size: 0.82rem;
  text-align: center;
}

.form-status {
  min-height: 1.3em;
  font-weight: 750;
}

.form-status.is-success {
  color: var(--green-700);
}

.form-status.is-error {
  color: #a43b2d;
}

.contact-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
}

.contact-benefits span {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  color: var(--green-900);
  background: var(--green-50);
  border: 1px solid rgba(15, 116, 70, 0.12);
  border-radius: 16px;
  font-size: 0.88rem;
  font-weight: 850;
  text-align: center;
}

.site-footer {
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.74);
  background: #121816;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 1040px) {
  :root {
    --header-h: 78px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .hero-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding-bottom: 38px;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero-media {
    min-height: 360px;
    order: -1;
  }

  .hero-media::before {
    background: linear-gradient(0deg, rgba(6, 63, 37, 0.78) 0%, rgba(6, 63, 37, 0.18) 38%, rgba(6, 63, 37, 0) 72%);
  }

  .about-grid,
  .contact-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-height: 680px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: unset;
  }

  .projects-intro,
  .project-card--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .project-card__media,
  .project-card--wide .project-card__media {
    height: 260px;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: relative;
  }

  .site-header .container {
    width: calc(100% - 24px);
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .menu-toggle {
    position: relative;
    z-index: 1002;
    display: inline-grid;
    justify-self: end;
    flex: none;
    margin-left: 0;
  }

  .site-header.is-scrolled {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-header.is-scrolled .menu-toggle {
    position: fixed;
    top: calc(env(safe-area-inset-top) + 14px);
    right: calc(env(safe-area-inset-right) + 14px);
    background: rgba(244, 251, 247, 0.96);
    border-color: rgba(15, 116, 70, 0.18);
    box-shadow: 0 16px 34px rgba(7, 49, 30, 0.16);
    backdrop-filter: blur(14px);
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    visibility: hidden;
    z-index: 1001;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .site-header.is-scrolled .site-nav {
    top: calc(env(safe-area-inset-top) + 74px);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .site-nav a {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--green-50);
  }

  .site-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .badge-grid,
  .contact-benefits,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-badges li {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-badges li:first-child {
    padding-top: 0;
  }

  .hero-badges li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .info-badge,
  .info-badge:nth-child(odd),
  .info-badge:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 116, 70, 0.1);
  }

  .info-badge:last-child {
    border-bottom: 0;
  }

  .service-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .service-strip span {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 116, 70, 0.12);
  }

  .service-strip span:last-child {
    border-bottom: 0;
  }

  .hero-media {
    min-height: 290px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: 3.35rem;
    line-height: 1;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand img {
    width: 138px;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-shell,
  .image-card,
  .contact-form {
    border-radius: 22px;
  }

  .hero-copy {
    padding: 22px 20px 24px;
  }

  .hero-media {
    min-height: 176px;
  }

  .hero h1 {
    max-width: 10.5ch;
    font-size: 2.05rem;
    line-height: 1.04;
    letter-spacing: -0.035em;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .eyebrow::before {
    width: 24px;
  }

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

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .about-copy h2,
  .section-heading h2,
  .projects-intro h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .service-card,
  .project-card > div,
  .contact-form {
    padding: 22px;
  }

  .contact-list a,
  .contact-list p {
    grid-template-columns: 44px 1fr;
  }

  .contact-list svg {
    width: 44px;
    height: 44px;
    padding: 11px;
  }
}

@media (max-width: 380px) {
  :root {
    --header-h: 72px;
  }

  .brand img {
    width: 130px;
  }

  .menu-toggle {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .hero-media {
    min-height: 150px;
  }

  .hero-copy {
    padding: 20px 18px 22px;
  }

  .hero h1 {
    max-width: 10.25ch;
    font-size: 1.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
