:root {
  --ink: #152526;
  --muted: #5a6968;
  --surface: #ffffff;
  --surface-soft: #f4f7f5;
  --surface-blue: #eaf3f5;
  --line: #dce5e1;
  --green: #1f6a58;
  --green-dark: #16483e;
  --copper: #b8693f;
  --blue: #245a6f;
  --shadow: 0 18px 50px rgba(21, 37, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 16px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: #fff;
  background: rgba(13, 26, 27, 0.36);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(21, 37, 38, 0.09);
  box-shadow: 0 12px 34px rgba(21, 37, 38, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: 0;
}

.brand small {
  margin-top: 4px;
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.72;
  text-transform: uppercase;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.nav-active .site-nav a:hover {
  background: var(--surface-soft);
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--copper);
}

.site-nav .nav-cta:hover {
  background: #9f5734;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #102123;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 25, 26, 0.88) 0%, rgba(10, 25, 26, 0.6) 34%, rgba(10, 25, 26, 0.16) 72%),
    linear-gradient(180deg, rgba(10, 25, 26, 0.38) 0%, rgba(10, 25, 26, 0.04) 45%, rgba(10, 25, 26, 0.42) 100%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 116px 0 42px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcf9e;
}

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.75rem, 5.2vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.62;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--green);
}

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

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 12px;
  max-width: 660px;
  margin: 38px 0 0;
}

.hero-stats div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.intro-band {
  margin-top: -1px;
  padding: 42px 0;
  background: var(--green-dark);
  color: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) 1.18fr;
  gap: 48px;
  align-items: center;
}

.intro-grid h2,
.intro-grid p {
  margin: 0;
}

.intro-grid h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.intro-grid p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
  line-height: 1.7;
}

.section {
  padding: 94px 0;
}

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

.section-heading h2,
.feature-panel h2,
.quote-section h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

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

.service-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(21, 37, 38, 0.06);
}

.service-card {
  padding: 26px;
}

.icon-chip {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--green);
  background: #e6f2ef;
}

.icon-chip svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.process-list h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.service-card p,
.process-list p,
.feature-panel p,
.quote-section p,
.review-card blockquote,
.quote-points,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
}

.split-section {
  padding: 96px 0;
  background: linear-gradient(90deg, var(--surface-blue), var(--surface-soft));
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  gap: 42px;
  align-items: start;
}

.feature-panel {
  position: sticky;
  top: 120px;
}

.feature-panel p {
  max-width: 590px;
  margin: 22px 0 0;
  font-size: 1.04rem;
}

.benefit-list {
  display: grid;
  gap: 14px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(31, 106, 88, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.benefit-item strong {
  color: var(--green-dark);
  font-size: 1.02rem;
}

.benefit-item span {
  color: var(--muted);
  line-height: 1.58;
}

.process-section {
  background: #fff;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  padding: 30px 24px 28px;
  border-top: 3px solid var(--green);
  border-radius: 0 0 8px 8px;
  background: var(--surface-soft);
}

.process-list span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 800;
}

.process-list p {
  margin: 0;
  font-size: 0.95rem;
}

.gallery-section {
  padding: 82px 0;
  background: var(--ink);
  color: #fff;
}

.gallery-heading {
  align-items: start;
}

.gallery-heading h2 {
  max-width: 650px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.gallery-heading p:not(.section-kicker) {
  max-width: 390px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.62;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #0e1b1c;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 280ms ease;
}

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

.gallery-item:focus-visible {
  outline: 3px solid #ffcf9e;
  outline-offset: 4px;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 21, 22, 0.04) 40%, rgba(9, 21, 22, 0.84) 100%);
}

.gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 24px;
}

.gallery-item strong,
.gallery-item span {
  display: block;
}

.gallery-item strong {
  font-size: 1.16rem;
}

.gallery-item span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 18, 19, 0.86);
  backdrop-filter: blur(12px);
}

.gallery-lightbox[hidden] {
  display: none;
}

.lightbox-content {
  width: min(1060px, 100%);
  max-height: min(86vh, 840px);
  margin: 0;
  color: #fff;
}

.lightbox-content img {
  width: 100%;
  max-height: calc(86vh - 76px);
  object-fit: contain;
  border-radius: 8px;
  background: #0e1b1c;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.lightbox-content figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.lightbox-close span {
  font-size: 1.8rem;
  line-height: 1;
}

.reviews-section {
  background: var(--surface-soft);
}

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

.review-card {
  margin: 0;
  padding: 28px;
}

.review-card blockquote {
  margin: 0;
  font-size: 1rem;
}

.review-card figcaption {
  margin-top: 22px;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.quote-section {
  padding: 96px 0;
  background: #fff;
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: 58px;
  align-items: start;
}

.quote-section p {
  max-width: 560px;
  margin: 22px 0 0;
}

.quote-points {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.quote-points li {
  position: relative;
  padding-left: 28px;
}

.quote-points li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c8d5d0;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 106, 88, 0.16);
}

.wide-field,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  padding: 42px 0;
  color: #fff;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(220px, 1.1fr) repeat(3, minmax(130px, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer strong,
.site-footer a,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 10px;
  color: #ffcf9e;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

@media (max-width: 960px) {
  .site-header {
    width: min(100% - 24px, 1180px);
    min-height: 66px;
    margin-top: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 86px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(21, 37, 38, 0.09);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    min-height: 48px;
  }

  .site-nav .nav-cta {
    justify-content: center;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 25, 26, 0.9) 0%, rgba(10, 25, 26, 0.7) 50%, rgba(10, 25, 26, 0.28) 100%),
      linear-gradient(180deg, rgba(10, 25, 26, 0.28) 0%, rgba(10, 25, 26, 0.18) 45%, rgba(10, 25, 26, 0.66) 100%);
  }

  .intro-grid,
  .split-grid,
  .quote-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .feature-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .hero-content {
    width: min(100% - 28px, 1180px);
    padding-top: 104px;
    padding-bottom: 30px;
  }

  .hero-image {
    object-position: 69% center;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.05rem);
    line-height: 1.03;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.52;
  }

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

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 22px;
  }

  .hero-stats div {
    padding: 10px 8px;
  }

  .hero-stats dt {
    font-size: 1.08rem;
  }

  .hero-stats dd {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2,
  .feature-panel h2,
  .quote-section h2 {
    font-size: clamp(1.95rem, 10vw, 2.65rem);
  }

  .service-grid,
  .process-list,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .gallery-section {
    padding: 64px 0;
  }

  .gallery-heading p:not(.section-kicker) {
    max-width: none;
  }

  .benefit-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quote-form {
    padding: 20px;
  }

  .site-header {
    padding-left: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }
}
