:root {
  color-scheme: dark;
  --ink: #f8f5ef;
  --muted: #c9c1b6;
  --panel: #171615;
  --panel-soft: #211f1c;
  --line: rgba(248, 245, 239, 0.16);
  --accent: #d9b46c;
  --accent-strong: #f2c567;
  --deep: #090909;
  --red: #b84337;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  line-height: 1.5;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(242, 197, 103, 0.7);
  outline-offset: 3px;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header {
  border-color: var(--line);
  background: rgba(9, 9, 9, 0.84);
  backdrop-filter: blur(20px);
}

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

.brand-mark {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(248, 245, 239, 0.18);
  background: #232323;
  object-fit: contain;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a,
.site-footer a {
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--accent-strong);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(248, 245, 239, 0.22);
  font-weight: 800;
  font-size: 0.9rem;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #15120c;
}

.button.secondary {
  background: rgba(248, 245, 239, 0.08);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 94vh;
  overflow: hidden;
  padding: 132px clamp(18px, 6vw, 72px) 72px;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, 0.92) 0%, rgba(9, 9, 9, 0.58) 46%, rgba(9, 9, 9, 0.2) 100%),
    linear-gradient(0deg, rgba(9, 9, 9, 0.92) 0%, rgba(9, 9, 9, 0.15) 44%, rgba(9, 9, 9, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: clamp(4rem, 10vw, 8.4rem);
  line-height: 0.86;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

h3 {
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 680px;
  color: #e4ded6;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid rgba(248, 245, 239, 0.18);
  background: rgba(9, 9, 9, 0.44);
  color: var(--muted);
  font-size: 0.84rem;
}

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

.section-band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(184, 67, 55, 0.12), transparent 34%),
    var(--panel);
}

.intro {
  padding: 54px 0;
}

.intro-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
}

.intro-grid p,
.section-heading p,
.review-summary p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.services,
.reviews,
.gallery {
  padding: 86px 0;
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading.split {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  max-width: none;
  align-items: end;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.work {
  padding: 86px 0;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 14px;
}

.work-grid figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  background: var(--panel-soft);
}

.work-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 420ms ease;
}

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

.work-grid figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 12px;
  background: rgba(9, 9, 9, 0.78);
  color: var(--ink);
  font-weight: 800;
}

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

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--panel-soft);
  border: 1px solid var(--line);
}

.gallery-grid figure.feature {
  grid-column: auto;
  grid-row: auto;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.94) contrast(1.03);
  transition: transform 420ms ease;
}

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

.reviews {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
}

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

blockquote {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

blockquote p {
  color: #f1e9dd;
  font-size: 1.02rem;
  line-height: 1.65;
}

cite {
  color: var(--accent-strong);
  font-style: normal;
  font-weight: 800;
}

.contact {
  padding: 86px 0;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-details a,
.contact-details span {
  padding: 16px;
  border-left: 3px solid var(--accent);
  background: rgba(248, 245, 239, 0.05);
  color: #e8dfd4;
}

.estimate-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(217, 180, 108, 0.3);
  background: rgba(9, 9, 9, 0.46);
  box-shadow: var(--shadow);
}

.estimate-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(248, 245, 239, 0.18);
  background: #11100f;
  color: var(--ink);
  font: inherit;
}

input,
select {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.hidden {
  display: none;
}

.success-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 132px 18px 72px;
  background:
    linear-gradient(135deg, rgba(184, 67, 55, 0.15), transparent 36%),
    radial-gradient(circle at 80% 20%, rgba(217, 180, 108, 0.13), transparent 28%),
    var(--deep);
}

.success-card {
  width: min(760px, 100%);
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid rgba(217, 180, 108, 0.28);
  background: rgba(23, 22, 21, 0.86);
  box-shadow: var(--shadow);
}

.success-card h1 {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.9;
}

.success-card p:not(.section-kicker) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

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

@media (max-width: 880px) {
  html {
    scroll-padding-top: 132px;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    min-width: max-content;
    padding: 8px 10px;
    border: 1px solid var(--line);
    background: rgba(248, 245, 239, 0.05);
  }

  .site-nav a:hover {
    border-color: rgba(242, 197, 103, 0.5);
  }

  .hero {
    align-items: start;
    min-height: auto;
    padding: 188px 18px 56px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 9, 9, 0.9), rgba(9, 9, 9, 0.58)),
      linear-gradient(0deg, rgba(9, 9, 9, 0.95) 0%, rgba(9, 9, 9, 0.12) 48%, rgba(9, 9, 9, 0.72) 100%);
  }

  h1 {
    font-size: clamp(3.5rem, 17vw, 5.6rem);
  }

  .intro-grid,
  .section-heading.split,
  .reviews,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .work-grid figure {
    min-height: 290px;
  }

  .gallery-grid figure.feature {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

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

  .trust-row span {
    flex: 1 1 160px;
  }

  .services,
  .reviews,
  .gallery,
  .work,
  .contact {
    padding: 62px 0;
  }

  .estimate-form {
    padding: 20px;
  }

  .site-footer {
    display: grid;
  }
}

@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;
  }
}
