:root {
  --black: #080808;
  --ink: #181818;
  --steel: #545454;
  --muted: #767676;
  --line: #dedbd5;
  --paper: #f6f4ef;
  --white: #ffffff;
  --rust: #c96b35;
  --rust-dark: #9d4d24;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 58px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.52));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand img {
  width: 176px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav a,
.footer-links a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--rust);
}

.call-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.call-button,
.button.primary {
  background: var(--rust);
  color: var(--white);
}

.call-button:hover,
.button.primary:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}

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

.button.secondary:hover {
  background: var(--white);
  color: var(--black);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 150px clamp(22px, 6vw, 86px) 74px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

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

.hero-media {
  background-image: url("assets/img/hero-demolition.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.72) 42%, rgba(8, 8, 8, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.25), rgba(8, 8, 8, 0.55));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-copy h2,
.legal-hero h1 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 5.4vw, 4.8rem);
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

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

.hero-panel {
  position: absolute;
  right: clamp(22px, 5vw, 70px);
  bottom: 44px;
  z-index: 2;
  width: min(340px, calc(100% - 44px));
  padding: 22px;
  background: rgba(8, 8, 8, 0.72);
  border-left: 4px solid var(--rust);
  backdrop-filter: blur(10px);
}

.hero-panel span,
.hero-panel small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
}

.hero-panel strong {
  display: block;
  margin: 2px 0 6px;
  font-size: 1.9rem;
  line-height: 1;
}

.section {
  padding: clamp(70px, 9vw, 124px) clamp(22px, 6vw, 86px);
}

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

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

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.75fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: end;
}

.intro h2,
.section-heading h2,
.contact-copy h2 {
  font-size: clamp(1.95rem, 3.4vw, 3.35rem);
}

.intro p,
.section-heading p + h2 + p,
.contact-copy > p {
  color: var(--steel);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 880px;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.section-heading.narrow {
  max-width: 760px;
}

.featured-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.service-feature {
  min-height: 520px;
  display: grid;
  grid-template-rows: 1fr auto;
  background: #111;
  overflow: hidden;
}

.service-feature img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 380ms ease, filter 380ms ease;
}

.service-feature:hover img {
  transform: scale(1.045);
  filter: saturate(1);
}

.service-feature div {
  padding: 28px;
}

.service-feature span,
.process-grid span {
  color: var(--rust);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.service-feature h3,
.process-grid h3 {
  margin: 12px 0 10px;
  font-size: 1.55rem;
  line-height: 1.06;
  text-transform: uppercase;
}

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

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 0;
}

.service-list div {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  background: #111;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.process-grid article {
  min-height: 260px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid p {
  color: var(--steel);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(320px, 0.78fr);
  gap: clamp(34px, 6vw, 86px);
  padding: clamp(72px, 9vw, 128px) clamp(22px, 6vw, 86px);
  background: var(--paper);
}

.contact-copy > p {
  max-width: 540px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-cards > * {
  min-height: 132px;
  padding: 20px;
  background: var(--white);
}

.contact-cards span {
  display: block;
  margin-bottom: 8px;
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-cards strong {
  font-size: 1rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  padding: 14px 14px;
  font: inherit;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

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

.contact-form textarea {
  resize: vertical;
}

.form-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(180px, 0.6fr) minmax(240px, 0.8fr);
  gap: 34px;
  padding: 56px clamp(22px, 6vw, 86px) 28px;
  color: var(--white);
  background: var(--black);
  border-top: 4px solid var(--rust);
}

.footer-mark img {
  width: 186px;
}

.footer-mark p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.7);
}

.copyright {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}

.legal-hero {
  padding: 160px clamp(22px, 6vw, 86px) 74px;
  color: var(--white);
  background: linear-gradient(135deg, #080808 0%, #1d1b19 100%);
}

.legal-hero h1 {
  max-width: 800px;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
}

.legal-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.66);
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 22px;
}

.legal-content h2 {
  margin: 44px 0 10px;
  font-size: 1.55rem;
}

.legal-content p,
.legal-content li {
  color: var(--steel);
}

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

  .main-nav {
    display: none;
  }

  .intro-grid,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .featured-services,
  .process-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand img {
    width: 138px;
  }

  .call-button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: 700px;
    padding-top: 128px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  .intro h2,
  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  .legal-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .service-list,
  .contact-cards,
  .contact-form {
    grid-template-columns: 1fr;
  }
}
