:root {
  --ink: #10201c;
  --muted: #66736f;
  --surface: #f5f7f3;
  --panel: #ffffff;
  --line: #dfe7e1;
  --brand: #087f5b;
  --brand-dark: #07543f;
  --accent: #d9f2e7;
  --shadow: 0 18px 42px rgba(18, 38, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #ffffff;
  background: rgba(8, 24, 20, 0.76);
  backdrop-filter: blur(12px);
}

.brand,
.nav,
.header-phone {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 224px;
}

.brand-logo {
  width: clamp(184px, 21vw, 280px);
  height: auto;
  max-height: 64px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

.nav {
  gap: clamp(16px, 4vw, 36px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.nav a:hover,
.header-phone:hover {
  color: #dffced;
}

.header-phone {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #ffffff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 46%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 18, 16, 0.86) 0%, rgba(5, 18, 16, 0.62) 42%, rgba(5, 18, 16, 0.08) 82%),
    linear-gradient(0deg, rgba(7, 26, 22, 0.3), rgba(7, 26, 22, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, calc(100% - 36px));
  padding: 148px 0 68px clamp(18px, 5vw, 64px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9ff0c9;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 5.2vw, 4.8rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: 0;
}

h3 {
  font-size: 1.24rem;
}

.hero-copy {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 22px;
}

.button.primary {
  background: var(--brand);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.intro,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.intro p:last-child,
.split p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.brand-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  padding-top: 0;
}

.brand-main-logo,
.brand-icon-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(18, 38, 32, 0.03);
}

.brand-main-logo {
  display: grid;
  min-height: 330px;
  place-items: center;
  padding: clamp(20px, 4vw, 42px);
}

.brand-main-logo img {
  width: min(100%, 640px);
}

.brand-icon-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: clamp(20px, 4vw, 34px);
}

.brand-icon-card img {
  width: 118px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.brand-icon-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.brand-icon-card p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 295px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(18, 38, 32, 0.03);
}

.service-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 900;
}

.projects {
  padding-top: 24px;
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(22px, 5vw, 54px);
  align-items: center;
  margin-bottom: 18px;
}

.featured-project img,
.gallery-grid img {
  width: 100%;
  object-fit: cover;
}

.featured-project img {
  height: min(560px, 58vw);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.featured-project p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.gallery-grid figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.gallery-grid img {
  height: 100%;
  min-height: 360px;
  transition: transform 0.35s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-grid figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(16, 32, 28, 0.78);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.band {
  background: var(--ink);
  color: #ffffff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 42px 0;
}

.stats div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 22px;
}

.stats strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.local-seo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.local-copy {
  display: grid;
  gap: 18px;
}

.local-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.local-copy strong {
  color: var(--ink);
}

.service-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.service-areas li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-dark);
  font-weight: 800;
  padding: 8px 12px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  border-radius: 8px;
  padding: 34px 26px 28px;
  background: var(--accent);
  counter-increment: process;
}

.process-list li::before {
  content: counter(process);
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 8px;
  background: #ffffff;
  color: var(--brand-dark);
  font-weight: 900;
}

.process-list p {
  margin: 14px 0 0;
  color: #49635a;
}

.benefits {
  display: grid;
  gap: 18px;
}

.benefits p {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.benefits strong {
  color: var(--ink);
}

.faq {
  padding-top: 24px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-section {
  background: #eaf1ec;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

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

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-size: 1.22rem;
  font-weight: 900;
}

.contact-links a {
  color: var(--brand-dark);
}

.contact-form {
  display: grid;
  gap: 16px;
  border-radius: 8px;
  padding: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #31433d;
  font-weight: 800;
}

.hidden-field {
  display: none;
}

.field-hint {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

input[type="file"] {
  cursor: pointer;
  padding: 12px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(8, 127, 91, 0.14);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer a {
  color: #9ff0c9;
  font-weight: 900;
}

.footer a:hover {
  color: #ffffff;
}

.thanks-page {
  min-height: 100vh;
  background: #eaf1ec;
}

.thanks {
  display: grid;
  width: min(720px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  place-items: center;
  align-content: center;
  gap: 22px;
  text-align: center;
}

.thanks img {
  width: min(420px, 100%);
}

.thanks p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

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

  .nav {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 138px;
  }

  .intro,
  .split,
  .contact,
  .featured-project,
  .local-seo,
  .brand-showcase {
    grid-template-columns: 1fr;
  }

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

  .featured-project img {
    height: 520px;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 158px;
    max-height: 50px;
  }

  .header-phone {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(5, 18, 16, 0.9), rgba(5, 18, 16, 0.5));
  }

  .hero-content {
    width: calc(100% - 28px);
    padding: 124px 0 56px 18px;
  }

  .button {
    width: 100%;
  }

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

  .services-grid,
  .stats,
  .process-list,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .featured-project img,
  .gallery-grid figure,
  .gallery-grid img {
    min-height: 0;
    height: 390px;
  }

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

  .stats div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0 0;
  }

  .contact-form {
    padding: 20px;
  }

  .brand-main-logo {
    min-height: 230px;
  }

  .brand-icon-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
  }

  .brand-icon-card img {
    width: 82px;
  }
}
