:root {
  --ink: #181818;
  --charcoal: #242424;
  --muted: #667085;
  --line: #d9dee7;
  --paper: #f4f1ea;
  --white: #ffffff;
  --metal: #e8eef2;
  --amber: #f0b429;
  --green: #0f766e;
  --radius: 8px;
  --shadow: 0 24px 64px rgba(24, 24, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(24, 24, 24, 0.9);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--amber);
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #d7dde5;
  font-size: 14px;
  font-weight: 800;
}

.nav a:hover {
  color: var(--white);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 900;
}

.header-cta {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
}

.button.primary {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.34fr);
  align-items: end;
  min-height: calc(100vh - 76px);
  padding: 86px 5vw;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(24, 24, 24, 0.86) 0%, rgba(24, 24, 24, 0.62) 42%, rgba(24, 24, 24, 0.22) 100%),
    linear-gradient(0deg, rgba(24, 24, 24, 0.72), rgba(24, 24, 24, 0.06) 52%);
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 1;
}

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

.hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(44px, 7vw, 94px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-content > p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: #e6edf5;
  font-size: 19px;
  line-height: 1.7;
}

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

.hero-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(24, 24, 24, 0.72);
  box-shadow: var(--shadow);
}

.hero-card span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.08;
}

.hero-card p {
  margin: 14px 0 0;
  color: #d7dde5;
  line-height: 1.65;
}

.section {
  padding: 86px 5vw;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  background: var(--ink);
}

.stats article {
  padding: 28px;
  background: #232323;
  color: var(--white);
}

.stats span,
.service-grid span,
.process-list span {
  color: var(--amber);
  font-weight: 900;
}

.stats strong {
  display: block;
  margin: 24px 0 10px;
  font-size: 24px;
}

.stats p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.65;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-heading h2,
.feature h2,
.estimate h2,
.video-copy h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

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

.service-grid article {
  min-height: 290px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-grid h3 {
  margin: 70px 0 12px;
  font-size: 25px;
  line-height: 1.1;
}

.service-grid p,
.feature-copy p,
.estimate-copy p,
.process-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
  background: var(--white);
}

.feature-copy p {
  max-width: 650px;
  margin-top: 22px;
  font-size: 17px;
}

.feature-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 14px;
}

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

.gallery-grid .wide {
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 240ms ease;
}

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

.gallery-grid figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(24, 24, 24, 0.78);
  color: var(--white);
  font-weight: 800;
}

.video-section {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
  background: #e8eef2;
}

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

.video-grid video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 620px;
  border-radius: var(--radius);
  background: var(--ink);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.process {
  background: var(--ink);
  color: var(--white);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-list article {
  min-height: 260px;
  padding: 24px;
  background: #232323;
}

.process-list h3 {
  margin: 76px 0 10px;
  font-size: 23px;
}

.process-list p {
  color: #cbd5e1;
}

.estimate {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 0.9fr);
  gap: 48px;
  align-items: start;
}

.estimate-copy p {
  max-width: 560px;
  margin-top: 20px;
  font-size: 17px;
}

.estimate-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.estimate-form label {
  display: grid;
  gap: 8px;
  color: #3f4752;
  font-weight: 800;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c8d0da;
  border-radius: 8px;
  padding: 0 14px;
  background: #fbfcfd;
  color: var(--ink);
  outline: none;
}

.estimate-form textarea {
  min-height: 124px;
  padding-top: 14px;
  resize: vertical;
}

.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(24, 24, 24, 0.08);
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 5vw;
  background: var(--ink);
  color: #d7dde5;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-cta {
    width: 100%;
  }

  .hero,
  .feature,
  .video-section,
  .estimate {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 64px 20px;
  }

  .section {
    padding: 56px 20px;
  }

  .stats,
  .service-grid,
  .gallery-grid,
  .video-grid,
  .process-list,
  .estimate-form {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .feature-media img {
    height: 480px;
  }

  .gallery-grid .wide {
    grid-row: auto;
  }

  .footer {
    flex-direction: column;
    padding: 24px 20px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 42px;
  }

  .section-heading h2,
  .feature h2,
  .estimate h2,
  .video-copy h2 {
    font-size: 34px;
  }
}
