:root {
  --ink: #102024;
  --ink-2: #26383c;
  --muted: #657579;
  --line: #d7e0dc;
  --paper: #f6f5ef;
  --paper-2: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0a4d48;
  --copper: #bf6b35;
  --blue: #2f6690;
  --green: #4f7f52;
  --shadow: 0 20px 60px rgba(16, 32, 36, 0.16);
  --radius: 8px;
  --section: clamp(64px, 8vw, 112px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

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

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

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: #fff;
  transition: background 220ms ease, box-shadow 220ms ease, min-height 220ms ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  background: rgba(16, 32, 36, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  font-weight: 800;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 14px;
}

.main-nav a,
.header-phone {
  opacity: 0.84;
  transition: opacity 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.header-phone:hover {
  color: #bff7ee;
  opacity: 1;
}

.header-phone {
  font-weight: 700;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  inset: 76px 14px auto;
  z-index: 29;
  display: none;
  padding: 12px;
  background: rgba(16, 32, 36, 0.96);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.mobile-nav.is-open {
  display: block;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-bg,
.banner-bg {
  position: absolute;
  inset: -12vh 0;
  z-index: -2;
  background-image: url("https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=2200&q=86");
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 20, 24, 0.9) 0%, rgba(6, 20, 24, 0.68) 45%, rgba(6, 20, 24, 0.2) 100%),
    linear-gradient(0deg, rgba(16, 32, 36, 0.5), transparent 38%);
}

.hero-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(132px, 18vh, 210px) 0 64px;
}

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

.hero .eyebrow,
.parallax-banner .eyebrow {
  color: #ffd2a8;
}

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

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 24px);
}

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

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

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

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

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

.button.ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: clamp(48px, 9vh, 98px) 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.hero-stats div {
  padding: 22px;
  background: rgba(16, 32, 36, 0.42);
}

.hero-stats dt {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 900;
}

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

.section {
  position: relative;
  padding: var(--section) 0;
}

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

.intro-band {
  background: #fff;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 82px);
  align-items: end;
}

.lead {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(19px, 2.2vw, 28px);
}

.section-heading {
  max-width: 800px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.service-section {
  background: var(--paper);
}

.service-tabs {
  position: sticky;
  top: 78px;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 30px;
  padding: 8px;
  background: rgba(246, 245, 239, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.service-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 9px 12px;
  color: var(--ink-2);
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.service-tab.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 28px rgba(16, 32, 36, 0.18);
}

.service-panel {
  display: none;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  padding: clamp(18px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(16, 32, 36, 0.08);
}

.service-panel.is-active {
  display: grid;
}

.service-media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--line);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 18px;
}

.service-projects-block {
  margin-top: 28px;
  padding: clamp(18px, 3vw, 30px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(16, 32, 36, 0.08);
}

.service-projects-head {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 22px;
}

.service-projects-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

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

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 14px;
  height: 8px;
  border: 2px solid var(--teal);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
}

.prices-section {
  background: #fff;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(210px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.price-grid article {
  min-width: 220px;
  padding: 22px;
  background: #f9faf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-grid h3 {
  margin-bottom: 18px;
  font-size: 21px;
}

.price-grid dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.price-grid dl div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.price-grid dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.price-grid dt {
  color: var(--muted);
}

.price-grid dd {
  margin: 0;
  color: var(--teal-dark);
  font-size: 18px;
  font-weight: 900;
}

.parallax-banner {
  min-height: 470px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.banner-bg {
  background-image:
    linear-gradient(rgba(12, 25, 29, 0.62), rgba(12, 25, 29, 0.62)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=2200&q=84");
}

.banner-content {
  width: min(980px, calc(100% - 36px));
  text-align: center;
}

.banner-content h2 {
  margin: 0 auto;
  max-width: 880px;
}

.works-section {
  background: var(--paper);
}

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

.work-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(16, 32, 36, 0.08);
}

.service-work-grid .work-card {
  background: #f9faf8;
  box-shadow: none;
}

.carousel {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9e1de;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 320ms ease;
}

.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.carousel-arrow,
.lightbox-nav,
.lightbox-close {
  position: absolute;
  z-index: 3;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 32, 36, 0.72);
  color: #fff;
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-arrow {
  top: 50%;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
}

.carousel-arrow:hover,
.lightbox-nav:hover,
.lightbox-close:hover {
  background: var(--teal);
}

.carousel-arrow.prev {
  left: 12px;
}

.carousel-arrow.next {
  right: 12px;
}

.carousel-arrow::before,
.lightbox-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 10px;
  height: 10px;
  margin: auto;
  border: 2px solid currentColor;
  border-top: 0;
  border-right: 0;
}

.carousel-arrow.prev::before,
.lightbox-nav.prev::before {
  transform: rotate(45deg);
}

.carousel-arrow.next::before,
.lightbox-nav.next::before {
  transform: rotate(-135deg);
}

.carousel-dots {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.carousel-dots button {
  width: 26px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.carousel-dots button.is-active {
  background: #fff;
}

.work-body {
  padding: 22px;
}

.work-type {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.work-body h3 {
  font-size: 23px;
}

.work-body p {
  margin: 14px 0 0;
  color: var(--muted);
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.work-meta span {
  padding: 6px 10px;
  background: #eef3f1;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 800;
}

.benefits-section {
  background: #fff;
}

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

.benefit {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
}

.benefit-number {
  color: var(--blue);
  font-weight: 900;
}

.benefit h3 {
  margin-top: 18px;
}

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

.steps-section {
  background: var(--ink);
  color: #fff;
}

.steps-section .section-heading p,
.steps-section .eyebrow {
  color: #ffd2a8;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.steps li {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.07);
}

.steps strong {
  font-size: 20px;
}

.steps span {
  color: rgba(255, 255, 255, 0.72);
}

.contacts-section {
  background: #fff;
  padding-bottom: 0;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(26px, 5vw, 80px);
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: var(--ink-2);
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(16, 32, 36, 0.08);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  outline: 0;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.13);
}

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

.map-wrap {
  width: 100%;
  height: min(420px, 55vh);
  margin-top: var(--section);
  background: #d9e1de;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  grid-template-rows: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: clamp(18px, 3vw, 40px);
  background: rgba(4, 12, 14, 0.92);
  color: #fff;
}

.lightbox.is-open {
  display: grid;
}

.lightbox figure {
  grid-column: 2;
  margin: 0;
  min-width: 0;
}

.lightbox img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.lightbox-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lightbox-nav {
  position: relative;
  width: 52px;
  height: 52px;
  justify-self: center;
}

.lightbox-nav.prev {
  grid-column: 1;
}

.lightbox-nav.next {
  grid-column: 3;
}

.lightbox-thumbs {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0;
}

.lightbox-thumbs button {
  width: 72px;
  height: 52px;
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
}

.lightbox-thumbs button.is-active {
  border-color: #fff;
}

.lightbox-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 640ms ease, transform 640ms ease;
}

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

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .service-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding-inline: 14px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text small {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-inner {
    width: min(100% - 28px, 1180px);
  }

  .hero-stats,
  .split-layout,
  .service-panel,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .service-tabs {
    position: static;
    grid-template-columns: 1fr;
  }

  .work-grid,
  .service-work-grid,
  .benefit-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .price-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .price-grid article {
    min-width: 0;
  }

  .lightbox {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .lightbox figure,
  .lightbox-nav.prev,
  .lightbox-nav.next,
  .lightbox-thumbs {
    grid-column: 1;
  }

  .lightbox-nav.prev,
  .lightbox-nav.next {
    position: fixed;
    top: 50%;
  }

  .lightbox-nav.prev {
    left: 12px;
  }

  .lightbox-nav.next {
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-parallax] {
    transform: none !important;
  }
}
