:root {
  --ink: #171713;
  --muted: #5d5b53;
  --paper: #f7f4ed;
  --line: #d8d1c2;
  --accent: #e9b51b;
  --accent-dark: #8a6100;
  --asphalt: #20201d;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0));
}

.site-header.solid {
  position: sticky;
  background: #171713;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid currentColor;
  background: rgba(0, 0, 0, 0.3);
  font-size: 14px;
  letter-spacing: 0;
}

.brand-logo {
  width: 72px;
  height: auto;
  object-fit: contain;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 7vw, 86px) 70px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 36%, rgba(0, 0, 0, 0.1) 72%),
    url("/assets/hero-parking-lot.png") center / cover no-repeat;
}

.hero-copy {
  width: min(680px, 100%);
  animation: rise-in 700ms ease both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.2rem, 8vw, 5.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

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

h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.hero-text {
  max-width: 590px;
  margin: 22px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  padding: 12px 20px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: var(--accent);
  color: #12110f;
}

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

.intro,
.services,
.process,
.quote-section {
  padding: clamp(70px, 10vw, 130px) clamp(20px, 7vw, 86px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
  background: var(--asphalt);
  color: var(--white);
}

.intro p:last-child {
  margin: 0;
  color: #dedbd1;
  font-size: 1.1rem;
}

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

.services {
  background: var(--paper);
}

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

.service-grid article {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-grid p,
.steps p,
.quote-copy p {
  color: var(--muted);
}

.process {
  background: #ffffff;
}

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

.steps li {
  padding-top: 22px;
  border-top: 3px solid var(--accent);
}

.steps span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-weight: 900;
}

.steps strong {
  display: block;
  font-size: 1.35rem;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  background: var(--asphalt);
  color: var(--white);
}

.quote-form {
  display: grid;
  gap: 18px;
}

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

label,
legend {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

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

select option {
  color: var(--ink);
  background: var(--white);
}

.quote-form input:not([type="checkbox"]),
.quote-form select,
.quote-form textarea {
  border-color: #cfc7b8;
  color: var(--ink);
  background: var(--white);
  color-scheme: light;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #6f6a60;
  opacity: 1;
}

.quote-form select option {
  color: var(--ink);
  background: var(--white);
}

.quote-form select option:checked {
  background: #e9b51b;
  color: #12110f;
}

textarea {
  resize: vertical;
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 18px;
  margin: 0;
}

fieldset legend {
  padding: 0 8px;
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}

fieldset input {
  width: auto;
}

.form-status {
  min-height: 28px;
  margin: 0;
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 7vw, 86px);
  background: #11110f;
  color: var(--white);
}

footer p {
  margin: 0;
}

.floating-cta {
  position: fixed;
  z-index: 40;
  right: clamp(14px, 4vw, 34px);
  bottom: clamp(14px, 4vw, 26px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: rgba(17, 17, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.floating-cta a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
}

.floating-call {
  background: #ffffff;
  color: #171713;
}

.floating-quote {
  background: var(--accent);
  color: #12110f;
}

.gallery-page {
  background: #f7f4ed;
}

.gallery-hero {
  padding: 140px clamp(20px, 7vw, 86px) 56px;
  background: #171713;
  color: #fff;
}

.gallery-hero h1 {
  max-width: 980px;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.gallery-hero p:last-child {
  max-width: 760px;
  color: #dedbd1;
  font-size: 1.1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(38px, 6vw, 76px) clamp(20px, 7vw, 86px);
}

.gallery-card {
  display: grid;
  background: #fff;
  border: 1px solid #d8d1c2;
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.gallery-card h2 {
  font-size: 1.35rem;
  line-height: 1.1;
}

.gallery-card p {
  margin: 0;
  color: #5d5b53;
}

.gallery-empty {
  padding: 80px clamp(20px, 7vw, 86px);
  font-size: 1.2rem;
  font-weight: 800;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .brand span:last-child {
    max-width: 230px;
  }

  nav {
    display: none;
  }

  .intro,
  .quote-section,
  .field-row {
    grid-template-columns: 1fr;
  }

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

  .service-grid article {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 92svh;
    padding-top: 118px;
    background-position: 62% center;
  }

  h1 {
    font-size: 3.05rem;
  }

  fieldset {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }

  .floating-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .floating-cta a {
    min-height: 54px;
    padding: 10px 12px;
    text-align: center;
  }
}

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