:root {
  --black: #111111;
  --black-soft: #181818;
  --white: #ffffff;
  --white-soft: #f5f5f5;
  --text: #1a1a1a;
  --muted: #666666;
  --line: #d7d7d7;
  --accent: #ff5b1f;
  --accent-deep: #dc4712;
  --container: 1240px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
}

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

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--black);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 102px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-family: "Oswald", sans-serif;
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.07rem;
  font-weight: 500;
}

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

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.header-cta {
  background: var(--accent);
  color: var(--white);
  padding: 8px 8px 8px 32px;
  font-weight: 700;
  text-transform: uppercase;
}

.header-cta strong {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--black);
  font-size: 1.6rem;
  line-height: 1;
}

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

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  padding-top: 102px;
  background: var(--black);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(360px, 0.85fr);
}

.hero-media,
.estimate-card {
  min-height: 620px;
}

.hero-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: clamp(40px, 6vw, 76px);
  background-image:
    linear-gradient(90deg, rgba(17, 17, 17, 0.84), rgba(17, 17, 17, 0.62)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.hero-copy h1,
.section-heading h2,
.intro-band h2,
.faq-content h2,
.cta-panel h2,
.estimate-card h2,
.service-card h3,
.proof-card h3,
.feature-strip h3,
.site-footer h3 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 7vw, 6.4rem);
  line-height: 0.97;
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-copy p,
.estimate-actions p,
.section-heading p,
.proof-card p,
.faq-content p,
.feature-strip p,
.cta-panel p,
.site-footer p,
.site-footer li,
.service-card p {
  line-height: 1.6;
}

.hero-copy p {
  max-width: 700px;
  margin: 26px 0 0;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.btn {
  min-height: 54px;
  padding: 0 24px;
  font-weight: 700;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.btn-dark {
  margin-top: 20px;
  background: var(--black);
  color: var(--white);
}

.estimate-card {
  padding: 56px 52px;
  background: var(--black);
  color: var(--white);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker.light {
  color: rgba(255, 255, 255, 0.78);
}

.estimate-card h2 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1;
}

.estimate-form {
  margin-top: 28px;
}

.form-row {
  display: grid;
  gap: 20px;
}

.form-row.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.field span {
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  border-bottom: 3px solid rgba(255, 255, 255, 0.88);
  background: transparent;
  color: var(--white);
  padding: 12px 0;
  border-radius: 0;
  outline: none;
}

.field textarea {
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder,
.field select {
  color: rgba(255, 255, 255, 0.68);
}

.estimate-actions p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.estimate-actions a {
  color: inherit;
}

.arrow-divider {
  background: var(--white);
}

.arrow-shape {
  width: clamp(220px, 23vw, 340px);
  height: 54px;
  background: var(--accent);
  clip-path: polygon(0 0, 76% 0, 100% 50%, 76% 100%, 0 100%, 14% 50%);
  transform: translateY(-27px);
}

.intro-band {
  padding: 0 0 18px;
  background: var(--white);
}

.intro-band h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.section {
  padding: 72px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading.compact {
  max-width: 620px;
}

.section-heading h2,
.faq-content h2,
.cta-panel h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.section-heading p {
  margin-top: 14px;
  color: var(--muted);
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  background-image:
    linear-gradient(180deg, rgba(17, 17, 17, 0.15), rgba(17, 17, 17, 0.82)),
    var(--card-image);
  background-position: center;
  background-size: cover;
  color: var(--white);
  box-shadow: var(--shadow);
}

.service-card-body {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
}

.service-card-body span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: "Oswald", sans-serif;
  font-size: 1.9rem;
}

.service-card h3 {
  font-size: 2rem;
  line-height: 1;
}

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

.proof {
  padding-top: 16px;
}

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

.proof-card {
  padding: 28px;
  background: var(--white-soft);
  border: 1px solid var(--line);
}

.proof-card h3 {
  font-size: 2rem;
  line-height: 1;
}

.proof-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.gallery-title-band {
  background: var(--black);
  color: var(--white);
  padding: 22px 0;
}

.gallery-title-band h2 {
  margin: 0;
  max-width: 15ch;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.gallery {
  padding-top: 28px;
}

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

.gallery-card {
  overflow: hidden;
  min-height: 360px;
  background: #eaeaea;
}

.gallery-card img,
.faq-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.faq-media {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 16px;
  min-height: 640px;
}

.faq-image.large {
  min-height: 640px;
}

.faq-image.small {
  align-self: end;
  min-height: 220px;
}

.faq-content details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq-content summary {
  position: relative;
  padding-right: 26px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-content summary::-webkit-details-marker {
  display: none;
}

.faq-content summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -4px;
  color: var(--accent);
  font-size: 1.7rem;
  line-height: 1;
}

.faq-content details[open] summary::after {
  content: "−";
}

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

.feature-strip {
  background: var(--accent);
  color: var(--white);
  padding: 30px 0;
}

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

.feature-strip h3 {
  font-size: 1.9rem;
  line-height: 1;
}

.feature-strip p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.cta {
  background: var(--white);
}

.cta-panel {
  position: relative;
  padding: 64px 48px;
  background-image:
    linear-gradient(180deg, rgba(17, 17, 17, 0.78), rgba(17, 17, 17, 0.84)),
    var(--cta-image);
  background-position: center;
  background-size: cover;
  color: var(--white);
  text-align: center;
}

.cta-panel h2 {
  max-width: 11ch;
  margin: 0 auto;
}

.cta-panel p {
  max-width: 700px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  justify-content: center;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  color: var(--white);
  font-weight: 700;
}

.site-footer {
  padding: 56px 0;
  background: var(--black);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.footer-brand-mark {
  font-size: 1.9rem;
}

.site-footer h3 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.site-footer p {
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 12px;
}

.site-footer li {
  color: rgba(255, 255, 255, 0.82);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .hero-grid,
  .faq-grid,
  .services-grid,
  .proof-grid,
  .gallery-grid,
  .feature-strip-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 82px;
  }

  .brand {
    font-size: 1.55rem;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav a {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

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

  .site-header.is-open .nav-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 82px;
  }

  .hero-media,
  .estimate-card {
    min-height: auto;
  }

  .hero-media {
    padding: 36px 20px;
  }

  .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .estimate-card {
    padding: 34px 20px;
  }

  .form-row.two-col,
  .services-grid,
  .proof-grid,
  .gallery-grid,
  .feature-strip-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .faq-media {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .faq-image.large,
  .faq-image.small,
  .gallery-card {
    min-height: 280px;
  }

  .section {
    padding: 56px 0;
  }

  .arrow-shape {
    height: 42px;
    transform: translateY(-21px);
  }

  .cta-panel {
    padding: 44px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}
