:root {
  --green-900: #123d22;
  --green-800: #174f2a;
  --green-700: #1f6736;
  --green-100: #eaf3ec;
  --green-050: #f5f9f5;
  --ink: #18221b;
  --muted: #5a675d;
  --line: #dce6de;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(18, 61, 34, 0.12);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

button,
input,
textarea {
  font: inherit;
}

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

a {
  color: var(--green-700);
  text-underline-offset: 0.18em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #e0a52c;
  outline-offset: 3px;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.65rem, 7vw, 5.4rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1rem;
  color: var(--green-900);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.65rem;
  color: var(--green-900);
  font-size: 1.35rem;
}

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

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--green-700);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.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;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--green-900);
  border-radius: 6px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand img {
  width: 102px;
  height: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 2rem);
}

.main-navigation a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.main-navigation a:hover {
  color: var(--green-700);
}

.main-navigation .nav-contact {
  padding: 0.7rem 1.05rem;
  color: var(--white);
  background: var(--green-700);
  border-radius: 999px;
}

.main-navigation .nav-contact:hover {
  color: var(--white);
  background: var(--green-900);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--green-900);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 86px));
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 27, 14, 0.88) 0%, rgba(7, 27, 14, 0.68) 46%, rgba(7, 27, 14, 0.08) 76%),
    url("images/hero.webp") center / cover no-repeat;
}

.hero-content {
  padding-block: 6rem;
}

.hero .eyebrow {
  color: #c9eccf;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 2rem;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.25rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

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

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.72);
}

.button-secondary:hover {
  color: var(--green-900);
  background: var(--white);
}

.button-outline {
  color: var(--green-900);
  background: var(--white);
  border-color: var(--green-700);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card img {
  width: min(68%, 220px);
  height: auto;
  aspect-ratio: 3 / 2;
  margin: 1.1rem auto 0;
  object-fit: contain;
  background: var(--green-050);
  border-radius: 12px;
}

.card-content {
  padding: 1.5rem;
}

.card-content p {
  margin-bottom: 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, 780px);
  margin-inline: auto;
}

.gallery figure {
  position: relative;
  min-height: 180px;
  grid-column: span 4;
  margin: 0;
  overflow: hidden;
  background: var(--green-100);
  border-radius: 15px;
}

.gallery figure:first-child,
.gallery figure:last-child {
  grid-column: span 6;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 300ms ease;
}

.gallery figure:hover img {
  transform: scale(1.025);
}

.gallery figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  padding: 0.55rem 0.75rem;
  color: var(--white);
  font-size: 0.93rem;
  font-weight: 700;
  background: rgba(11, 42, 21, 0.82);
  border-radius: 8px;
}

.project-section {
  background: var(--white);
}

.project-gallery {
  display: grid;
  gap: 2rem;
  width: min(100%, 780px);
  margin-inline: auto;
}

.project-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 1.5rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.project-header h3 {
  margin-bottom: 0.35rem;
}

.project-description {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  margin: 0;
}

.project-meta span {
  padding: 0.38rem 0.65rem;
  color: var(--green-900);
  font-size: 0.83rem;
  font-weight: 700;
  background: var(--green-100);
  border-radius: 999px;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.before-after-grid figure {
  position: relative;
  margin: 0;
  background: var(--green-050);
}

.before-after-grid figure + figure {
  border-left: 1px solid var(--line);
}

.before-after-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.before-after-grid figcaption {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.45rem 0.7rem;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(11, 42, 21, 0.86);
  border-radius: 999px;
}

.about {
  color: var(--white);
  background: var(--green-900);
}

.about h2,
.about .eyebrow {
  color: var(--white);
}

.about .eyebrow {
  opacity: 0.72;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.about-grid > div:first-child {
  max-width: 690px;
}

.benefits {
  display: grid;
  gap: 0.9rem;
}

.benefits > div {
  padding: 1.2rem 1.3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
}

.benefits strong,
.benefits span {
  display: block;
}

.benefits strong {
  margin-bottom: 0.2rem;
  font-size: 1.2rem;
}

.benefits span {
  color: #d8e8dc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.contact-details {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.contact-details > a,
.contact-details > div {
  display: block;
  padding: 1rem;
  color: var(--ink);
  text-decoration: none;
  background: var(--green-050);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.contact-details span,
.contact-details strong {
  display: block;
}

.contact-details span {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.4rem, 4vw, 2.3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.optional {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.82rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #aebcaf;
  border-radius: 8px;
}

.field textarea {
  resize: vertical;
}

.privacy-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.65rem;
  font-size: 0.93rem;
}

.privacy-check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.23rem;
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.map-section {
  margin-top: clamp(3rem, 7vw, 5rem);
}

.map-consent {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  background: var(--green-100);
  border-radius: var(--radius);
}

.map-consent p:last-child {
  margin-bottom: 0;
}

.map-frame iframe {
  width: 100%;
  height: 380px;
  display: block;
  border: 0;
  border-radius: var(--radius);
}

.map-close {
  margin-top: 1rem;
}

.site-footer {
  padding-top: 3.5rem;
  color: #d8e8dc;
  background: #0d2d19;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-grid > div:first-child {
  max-width: 330px;
}

.footer-grid > div > img {
  width: 90px;
  height: auto;
  margin-bottom: 1rem;
  padding: 0.45rem;
  background: var(--white);
  border-radius: 8px;
}

.site-footer h2 {
  margin-bottom: 0.8rem;
  color: var(--white);
  font-size: 1.1rem;
  letter-spacing: 0;
}

.site-footer a {
  display: block;
  margin-bottom: 0.35rem;
  color: #d8e8dc;
}

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-links a {
  margin: 0;
}

.social-links img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.footer-bottom {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-bottom a {
  margin: 0;
}

.legal-header {
  padding: 1rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.legal-header a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green-900);
  font-weight: 800;
  text-decoration: none;
}

.legal-page {
  width: min(calc(100% - 2.5rem), 880px);
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.legal-page h1 {
  margin-bottom: 2.5rem;
  color: var(--green-900);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.legal-page h2 {
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
  letter-spacing: -0.015em;
}

.legal-page h3 {
  margin-top: 1.5rem;
  font-size: 1.12rem;
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page .updated {
  margin-bottom: 2rem;
  color: var(--muted);
}

.legal-footer {
  padding: 1.5rem 0;
  color: #d8e8dc;
  background: #0d2d19;
}

.legal-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.legal-footer a {
  color: var(--white);
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .service-card img {
    width: min(78%, 220px);
    height: auto;
    align-self: center;
    margin: 1rem auto;
  }

  .gallery figure,
  .gallery figure:first-child,
  .gallery figure:last-child {
    grid-column: span 6;
  }

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

@media (max-width: 720px) {
  .container,
  .legal-page {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .nav {
    min-height: 74px;
  }

  .brand img {
    width: 84px;
  }

  .menu-toggle {
    display: block;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 0.75rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(18, 61, 34, 0.1);
  }

  .main-navigation.is-open {
    display: grid;
  }

  .main-navigation a,
  .main-navigation .nav-contact {
    padding: 0.85rem 0.75rem;
    color: var(--ink);
    background: transparent;
    border-radius: 6px;
  }

  .main-navigation .nav-contact:hover {
    color: var(--green-700);
    background: var(--green-050);
  }

  .hero {
    min-height: 670px;
    background:
      linear-gradient(180deg, rgba(7, 27, 14, 0.83) 0%, rgba(7, 27, 14, 0.72) 58%, rgba(7, 27, 14, 0.48) 100%),
      url("images/hero.webp") 64% center / cover no-repeat;
  }

  .hero-content {
    padding-block: 4.5rem;
  }

  .service-card {
    display: block;
  }

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

  .gallery figure,
  .gallery figure:first-child,
  .gallery figure:last-child {
    grid-column: auto;
  }

  .project-header {
    grid-template-columns: 1fr;
  }

  .project-meta {
    justify-content: flex-start;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .before-after-grid figure + figure {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .map-consent,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
