:root {
  --black: #080808;
  --ink: #151515;
  --gray-900: #242424;
  --gray-700: #595959;
  --gray-300: #d7d7d7;
  --gray-100: #f4f4f2;
  --white: #ffffff;
  --gold: #c8a34d;
  --gold-dark: #8f6f25;
  --gold-soft: #f0e2bc;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  --radius: 8px;
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-anchor {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding: 0 clamp(20px, 4vw, 58px);
  color: var(--white);
  background: rgba(8, 8, 8, 0.68);
  border-bottom: 1px solid rgba(200, 163, 77, 0.18);
  backdrop-filter: blur(20px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.96);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(200, 163, 77, 0.34);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.brand-logo-full {
  width: 218px;
  height: 72px;
  padding: 4px 10px;
  border-radius: 4px;
}

.brand-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-text {
  display: block;
}

.brand-text strong {
  color: var(--white);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  min-height: 100%;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--header-height);
  color: rgba(255, 255, 255, 0.76);
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 21px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  box-shadow: 0 0 16px rgba(200, 163, 77, 0.55);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--gold-soft);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  padding: calc(var(--header-height) + 82px) 0 34px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.78) 46%, rgba(0, 0, 0, 0.44) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.12) 52%);
}

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

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

.hero h1,
.section h2 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.28rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn-gold {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-soft);
}

.btn-outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 8, 8, 0.76);
  backdrop-filter: blur(18px);
}

.hero-stats article {
  min-height: 120px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats article:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 1rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
}

.section {
  padding: 98px 0;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  color: var(--black);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.prose p,
.row-heading p,
.contact-copy {
  margin: 0 0 18px;
  color: var(--gray-700);
  font-size: 1.05rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.values-grid span {
  padding: 15px 16px;
  font-weight: 700;
  background: var(--gray-100);
  border-left: 3px solid var(--gold);
}

.video-section {
  padding-top: 0;
  background:
    linear-gradient(180deg, var(--white) 0%, var(--white) 42%, var(--gray-100) 42%, var(--gray-100) 100%);
}

.testimonial-video-section {
  padding-top: 0;
  background: var(--gray-100);
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.video-grid-reverse {
  grid-template-columns: minmax(280px, 430px) minmax(260px, 1fr);
}

.video-copy {
  max-width: 430px;
}

.video-copy p:last-child {
  margin: 16px 0 0;
  color: var(--gray-700);
  font-size: 1.05rem;
}

.video-frame {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
  overflow: hidden;
  padding: 10px;
  background: linear-gradient(135deg, rgba(200, 163, 77, 0.9), rgba(8, 8, 8, 0.96) 42%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-frame::before {
  position: absolute;
  inset: 10px;
  z-index: 0;
  content: "";
  border: 1px solid rgba(200, 163, 77, 0.35);
  border-radius: calc(var(--radius) - 2px);
  pointer-events: none;
}

.video-frame video,
.video-frame iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--black);
  border-radius: calc(var(--radius) - 3px);
}

.video-frame video {
  object-fit: contain;
}

.video-frame iframe {
  border: 0;
}

.section-dark {
  color: var(--white);
  background: var(--black);
}

.section-dark h2 {
  color: var(--white);
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 42px;
}

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

.service-card {
  min-height: 280px;
  padding: 26px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.service-number {
  display: block;
  margin-bottom: 36px;
  color: var(--gold);
  font-weight: 800;
}

.service-card h3,
.work-card h3,
.feature-list h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.row-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
  width: 100%;
}

.works-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 8px 0 30px;
  background: var(--black);
  border: 1px solid rgba(200, 163, 77, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.works-metrics article {
  min-height: 128px;
  padding: 26px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.works-metrics article:last-child {
  border-right: 0;
}

.works-metrics strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  font-weight: 900;
  line-height: 0.95;
}

.works-metrics span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.work-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e7e2d5;
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.work-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: var(--white);
  font-weight: 800;
  background:
    linear-gradient(135deg, rgba(8, 8, 8, 0.28), rgba(8, 8, 8, 0.78)),
    linear-gradient(135deg, #9b9b9b, #1f1f1f);
}

.work-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.2));
  opacity: 0.82;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.work-card:hover .work-photo img {
  transform: scale(1.045);
}

.work-card:hover .work-photo::after {
  opacity: 0.55;
}

.work-photo.alt {
  background:
    linear-gradient(135deg, rgba(8, 8, 8, 0.2), rgba(8, 8, 8, 0.72)),
    linear-gradient(135deg, #c8a34d, #6d6d6d);
}

.work-photo.dark {
  background:
    linear-gradient(135deg, rgba(8, 8, 8, 0.12), rgba(8, 8, 8, 0.74)),
    linear-gradient(135deg, #4a4a4a, #0d0d0d);
}

.work-body {
  padding: 22px;
}

.work-body p {
  margin: 0;
  color: var(--gray-700);
}

.clients-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%);
  border-top: 1px solid #ece8dd;
}

.clients-heading {
  width: min(820px, 100%);
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.clients-heading p:last-child {
  margin: 18px auto 0;
  max-width: 620px;
  color: var(--gray-700);
  font-size: 1.02rem;
}

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

.client-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 138px;
  padding: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.client-card::before {
  position: absolute;
  inset: -1px;
  content: "";
  background:
    linear-gradient(135deg, rgba(200, 163, 77, 0), rgba(200, 163, 77, 0.38), rgba(200, 163, 77, 0));
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.client-card::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 50%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(200, 163, 77, 0.18), transparent);
  transform: skewX(-18deg);
  transition: left 420ms ease;
  pointer-events: none;
}

.client-card span {
  position: relative;
  z-index: 1;
  color: var(--gray-900);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.client-card-logo {
  min-height: 152px;
  padding: 22px;
}

.client-card-logo img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: 86%;
  height: auto;
  max-height: 92px;
  object-fit: contain;
}

.client-card-wide img {
  max-width: 92%;
  max-height: 78px;
}

.client-card:hover {
  border-color: rgba(200, 163, 77, 0.42);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(200, 163, 77, 0.18);
  transform: translateY(-6px) scale(1.025);
}

.client-card:hover::before {
  opacity: 1;
}

.client-card:hover::after {
  left: 130%;
}

.section-gold {
  background: linear-gradient(135deg, #d7bd79 0%, #f4ead0 48%, #ffffff 100%);
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(139, 106, 36, 0.22);
  border-radius: var(--radius);
}

.feature-list p {
  margin: 0;
  color: #3c351f;
}

.inspection-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.inspection-gallery article {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(139, 106, 36, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 20px 55px rgba(78, 61, 18, 0.12);
}

.inspection-gallery img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  filter: saturate(0.88) contrast(0.96);
}

.inspection-gallery div {
  display: grid;
  align-content: center;
  padding: 24px;
}

.inspection-gallery h3 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 1.12rem;
}

.inspection-gallery p {
  margin: 0;
  color: #3c351f;
}

.contact-section {
  color: var(--white);
  background: #111111;
}

.contact-section h2 {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.contact-copy {
  color: rgba(255, 255, 255, 0.72);
}

.contact-info {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-info a,
.contact-info span {
  color: rgba(255, 255, 255, 0.84);
}

.contact-info a:hover {
  color: var(--gold-soft);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form textarea {
  resize: vertical;
}

.form-feedback {
  min-height: 24px;
  margin: 0;
  color: var(--gold-soft);
  font-weight: 700;
}

.site-footer {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.7);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  min-height: 50px;
  padding: 12px 18px;
  color: var(--black);
  font-weight: 800;
  background: var(--gold);
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.whatsapp-float:hover {
  background: var(--gold-soft);
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: rgba(8, 8, 8, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    min-height: 48px;
    padding: 14px;
  }

  .main-nav a::after {
    right: 14px;
    bottom: 7px;
    left: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .service-grid,
  .works-grid,
  .works-metrics,
  .inspection-gallery,
  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inspection-gallery article {
    grid-template-columns: 1fr;
  }

  .inspection-gallery img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .works-metrics article:nth-child(2) {
    border-right: 0;
  }

  .works-metrics article:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .split,
  .contact-grid,
  .video-grid,
  .video-grid-reverse,
  .row-heading {
    grid-template-columns: 1fr;
  }

  .video-copy {
    max-width: 720px;
  }

  .video-frame {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    padding: 0 14px;
  }

  .brand {
    min-width: 0;
  }

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

  .brand-logo-full {
    width: 170px;
    height: 58px;
    padding: 3px 8px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .hero {
    min-height: auto;
    padding-top: 142px;
  }

  .hero-content {
    width: min(100% - 28px, 720px);
    margin-bottom: 36px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 1160px);
  }

  .hero-stats article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-stats article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .video-section {
    padding-top: 0;
  }

  .video-frame {
    width: min(100%, 360px);
    justify-self: center;
    padding: 7px;
  }

  .video-frame::before {
    inset: 7px;
  }

  .service-grid,
  .works-grid,
  .values-grid,
  .works-metrics,
  .inspection-gallery,
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .works-metrics article,
  .works-metrics article:nth-child(2),
  .works-metrics article:last-child {
    grid-column: auto;
    min-height: auto;
    padding: 22px;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .works-metrics article:first-child {
    border-top: 0;
  }

  .client-card {
    min-height: 118px;
  }

  .client-card-logo {
    min-height: 132px;
  }

  .client-card-logo img {
    max-height: 82px;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-inner {
    display: grid;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-width: 124px;
  }
}
