:root {
  --green-900: #102f1a;
  --green-800: #1d5130;
  --green-700: #2d7044;
  --green-600: #3f8d57;
  --green-300: #8bc8a0;
  --green-200: #b7e0b2;
  --white: #ffffff;
  --white-soft: #f7fcf7;
  --line: #d9e8da;
  --ink: #163223;
  --ink-soft: #4f6a5a;
  --shadow: 0 18px 50px rgba(20, 55, 35, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 15% 5%, #ebf7ec 0%, transparent 34%),
    radial-gradient(circle at 90% 45%, #edf9f0 0%, transparent 28%),
    var(--white-soft);
  overflow-x: hidden;
}

main {
  padding-bottom: 56px;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  padding: 18px 12px;
}

.header-shell {
  width: min(1120px, calc(100% - 4px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 32px rgba(16, 47, 26, 0.16);
  backdrop-filter: blur(12px) saturate(130%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Unbounded", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-logo {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.brand-text {
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #244e33;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--green-700);
}

.menu-toggle {
  display: none;
  border: 1px solid #d1e4d3;
  background: #ffffffdb;
  color: #244e33;
  border-radius: 999px;
  padding: 9px 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 86px;
  background-image: url("images/photo_2026-02-21_17-38-56.jpg");
  background-size: cover;
  background-position: center center;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 29, 17, 0.82) 0%, rgba(8, 29, 17, 0.28) 58%, rgba(8, 29, 17, 0.62) 100%),
    linear-gradient(180deg, rgba(12, 40, 24, 0.34) 0%, rgba(12, 40, 24, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #dbe9d8;
}

.hero h1 {
  font-family: "Unbounded", sans-serif;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-line-accent {
  display: block;
  color: #b7e0b2;
  font-size: clamp(2rem, 5.4vw, 4.5rem);
}

.hero-line-main {
  display: block;
  color: #ffffff;
  font-size: clamp(2rem, 5.4vw, 4.5rem);
}

.hero-description {
  max-width: 58ch;
  font-size: 0.98rem;
  color: #e6f1e5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

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

.button-light {
  color: var(--green-900);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(17, 44, 27, 0.28);
}

.button-light:hover {
  filter: brightness(0.98);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 98px) 0;
}

.section-head {
  margin-bottom: 28px;
}

.eyebrow {
  margin-bottom: 8px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #4d7a5c;
}

.section-head h2,
.about-content h2,
.contact-info h2 {
  font-family: "Unbounded", sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.14;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.numbers {
  margin-top: -24px;
}

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

.number-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 12px 30px rgba(15, 44, 29, 0.08);
}

.number-card .value {
  font-family: "Unbounded", sans-serif;
  color: var(--green-700);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.number-card .label {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: stretch;
}

.about-photo {
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  padding: 24px clamp(8px, 2vw, 20px);
  display: grid;
  align-content: center;
  gap: 16px;
}

.about-content p {
  color: var(--ink-soft);
}

.services {
  padding-top: clamp(46px, 8vw, 92px);
}

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

.service-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(23, 54, 35, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 40px rgba(23, 54, 35, 0.16);
}

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

.service-card span {
  display: block;
  padding: 14px 14px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e4330;
  text-wrap: balance;
}

.process {
  background:
    linear-gradient(145deg, #12371f 0%, #215836 100%),
    radial-gradient(circle at 10% 10%, #69a98140 0%, transparent 60%);
  color: #e4f2e9;
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - 1120px) / 2));
  padding-right: max(16px, calc((100vw - 1120px) / 2));
}

.process .section-head {
  width: min(1120px, calc(100vw - 32px));
  margin-left: auto;
  margin-right: auto;
}

.process .eyebrow {
  color: #c8e6cf;
}

.process .section-head h2 {
  color: #f4fff8;
}

.process-grid {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.process-card {
  border-radius: 16px;
  border: 1px solid rgba(193, 226, 204, 0.28);
  background: rgba(9, 34, 20, 0.4);
  padding: 18px;
  min-height: 156px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.process-card .step {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #d4f2d9;
  color: #1d4f2f;
  font-family: "Unbounded", sans-serif;
  font-size: 1rem;
  display: grid;
  place-items: center;
}

.process-card h3 {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
}

.portfolio {
  padding-top: clamp(54px, 8vw, 96px);
}

.portfolio-slider {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #cfe3d1;
  background: #ffffffdd;
  color: #245237;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.slider-btn:hover {
  transform: scale(1.05);
  background: #fff;
}

.portfolio-frame {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.portfolio-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.portfolio-frame figcaption {
  padding: 12px 16px;
  font-size: 0.92rem;
  color: #3f6250;
  border-top: 1px solid var(--line);
}

.thumbs {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.thumb.is-active {
  border-color: var(--green-600);
}

.thumb img {
  width: 100%;
  height: 84px;
  object-fit: cover;
}

.contact {
  margin-top: 12px;
  border-radius: 24px;
  padding: clamp(30px, 5vw, 42px);
  background:
    linear-gradient(140deg, #164228 0%, #23603a 62%, #2d7545 100%),
    radial-gradient(circle at 100% 0%, #8bc8a033 0%, transparent 45%);
  display: block;
  color: #ecf7ef;
}

.contact .eyebrow {
  color: #d4ecd8;
}

.contact-info {
  max-width: 760px;
}

.contact-info h2 {
  color: #f5fff7;
}

.contact-info p {
  margin-top: 14px;
  color: #d5e8d8;
}

.contact-info ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.contact-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid #c0ddc8;
  background: #f2fbf4;
  color: #204b31;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 47, 26, 0.2);
}

.site-footer {
  margin-top: 24px;
  padding: 16px;
  text-align: center;
  color: #476352;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

  .button,
  .service-card,
  .slider-btn,
  .js-ready .reveal {
    transition: none;
  }
}

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

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

  .about-photo {
    min-height: 320px;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    padding: 12px 10px;
  }

  .header-shell {
    width: min(1120px, 100%);
    padding: 9px 12px;
    border-radius: 20px;
    position: relative;
  }

  .brand {
    font-size: 0.78rem;
    gap: 7px;
  }

  .brand-logo {
    width: 26px;
    height: 26px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    padding: 12px;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 16px 30px rgba(16, 47, 26, 0.18);
  }

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

  .hero {
    min-height: 88svh;
    padding-top: 112px;
    padding-bottom: 62px;
    background-position: 56% center;
  }

  .hero-description {
    font-size: 0.92rem;
  }

  .button {
    width: 100%;
    max-width: 290px;
  }

  .section {
    width: calc(100% - 26px);
    padding: 56px 0;
  }

  .numbers-grid,
  .services-grid,
  .process-grid,
  .thumbs {
    grid-template-columns: 1fr;
  }

  .process {
    padding-left: 12px;
    padding-right: 12px;
  }

  .process .section-head,
  .process-grid {
    width: 100%;
  }

  .portfolio-slider {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .slider-btn {
    width: 42px;
    height: 42px;
    justify-self: center;
  }

  .thumb img {
    height: 140px;
  }

  .contact {
    border-radius: 20px;
  }
}
