@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap");

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

:root {
  --bg-cream: #f6f2ea;
  --black: #080808;
  --charcoal: #151515;
  --graphite: #242424;
  --steel: #52565a;
  --red: #b91c1c;
  --red-hover: #dc2626;
  --red-soft: #fecaca;
  --white: #ffffff;
  --text: #171717;
  --text-muted: #525252;
  --max: 80rem;
  --shadow-rugged: 0 24px 80px rgba(0, 0, 0, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg-cream);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 1024px) {
  .wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
  }
}

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

.section--cream {
  background: var(--bg-cream);
}

.section--services-split {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

@media (min-width: 1024px) {
  .section--services-split {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }
}

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

.section--why-texture {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 12px),
    var(--charcoal);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.95);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.brand__text {
  min-width: 0;
}

.brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--red);
  flex-shrink: 0;
  color: var(--white);
}

.brand__mark svg {
  stroke: currentColor;
}

.brand__mark img,
.brand__logo {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.brand__name {
  display: block;
  font-size: clamp(0.92rem, 3.4vw, 1.125rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand__tag {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #fecaca;
}

@media (min-width: 768px) {
  .brand__tag {
    font-size: 0.65rem;
    letter-spacing: 0.24em;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #d4d4d4;
  transition: color 0.15s;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--white);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-phone-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  color: var(--white);
  background: transparent;
  flex-shrink: 0;
}

.header-phone-mobile:hover {
  border-color: #fecaca;
  color: #fecaca;
}

.header-phone-mobile .icon-sm {
  width: 1.15rem;
  height: 1.15rem;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.nav-mobile {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  background: #0a0a0a;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.5rem 0;
  font-weight: 600;
  color: #d4d4d4;
}

.nav-mobile a.is-active {
  color: var(--white);
}

.nav-mobile .btn {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

@media (min-width: 1024px) {
  .nav-desktop,
  .header-actions {
    display: flex;
  }

  .header-tools {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 900;
  border: none;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s,
    transform 0.15s;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 40px rgba(185, 28, 28, 0.25);
}

.btn--primary:hover {
  background: var(--red-hover);
}

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

.btn--secondary:hover {
  border-color: #fecaca;
  background: rgba(255, 255, 255, 0.08);
}

.btn--dark {
  background: transparent;
  color: var(--text);
  border: 1px solid #d4d4d4;
}

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

.btn--phone {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  background: transparent;
  border-radius: 9999px;
}

.btn--phone:hover {
  border-color: #fecaca;
  color: #fecaca;
}

/* Typography */
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--red);
}

.section--dark .eyebrow {
  color: #fecaca;
}

.h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.h2 {
  margin: 0;
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.section--dark .lead {
  color: #d4d4d4;
}

.text-center {
  text-align: center;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.text-white {
  color: var(--white);
}

/* Hero texture */
.roof-texture {
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.05) 42%, rgba(0, 0, 0, 0.48) 100%),
    linear-gradient(90deg, rgba(12, 12, 12, 0.46) 0%, rgba(12, 12, 12, 0.14) 20%, rgba(12, 12, 12, 0.14) 80%, rgba(12, 12, 12, 0.46) 100%),
    linear-gradient(135deg, rgba(82, 82, 82, 0.64), rgba(56, 56, 56, 0.56)),
    linear-gradient(135deg, rgba(8, 8, 8, 0.28), rgba(21, 21, 21, 0.24)),
    url("../images/hero/hero-bg-aerial.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}

.page-hero {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .page-hero {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.page-hero .eyebrow {
  color: #fecaca;
}

.page-hero .lead {
  color: #e5e5e5;
  max-width: 48rem;
}

.hero-badge {
  display: inline-flex;
  margin-bottom: 1.25rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(252, 165, 165, 0.3);
  background: rgba(127, 29, 29, 0.4);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #fecaca;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
}

@media (min-width: 768px) {
  .hero-grid {
    gap: 3rem;
    padding-top: 5rem;
    padding-bottom: 7rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 639px) {
  .hero-actions .btn {
    width: 100%;
  }
}

.image-panel-wrap {
  min-height: 32rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  box-shadow: var(--shadow-rugged);
  background:
    linear-gradient(145deg, rgba(8, 8, 8, 0.2), rgba(8, 8, 8, 0.72)),
    radial-gradient(circle at 30% 20%, rgba(185, 28, 28, 0.34), transparent 32%),
    linear-gradient(135deg, #3b3b3b, #121212 58%, #080808);
}

.image-panel-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 29rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
}

.image-panel-wrap--hero-carousel {
  min-height: 0;
}

.image-panel-inner--carousel {
  min-height: 0;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
}

.image-panel-inner--carousel .hero-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.hero-carousel__viewport {
  position: relative;
  width: min(100%, 464px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #111;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}

.hero-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

.hero-carousel__slide.is-active img {
  animation: hero-slide-zoom 5s ease-out forwards;
}

@keyframes hero-slide-zoom {
  from {
    transform: scale(1.03);
  }

  to {
    transform: scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel__slide {
    transition: none;
  }

  .hero-carousel__slide.is-active img {
    animation: none;
    transform: scale(1.03);
  }
}

.icon-sm {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

.text-red-accent {
  color: #fca5a5;
}

/* Trust bar */
.trust-bar {
  background: #0a0a0a;
  color: var(--white);
  padding: 1.25rem 0;
}

.trust-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.trust-item span {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .trust-item span {
    font-size: 0.875rem;
  }
}

/* Cards grid */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-grid.cols-6 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .card-grid.cols-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid.cols-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: block;
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid #e5e5e5;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #fecaca;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  background: var(--black);
  color: var(--white);
  transition: background 0.15s;
}

.service-card:hover .service-card__icon {
  background: var(--red);
}

.service-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.service-card > h3:first-child {
  margin-top: 0;
}

.service-card p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--red);
}

/* Why choose */
.why-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }
}

.why-intro {
  max-width: 38rem;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.why-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 8.5rem;
  padding: 1.25rem 0.85rem 1.15rem;
  text-align: center;
  background: var(--white);
  border-bottom: 4px solid var(--red);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.why-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}

.why-card__icon svg {
  width: 2.75rem;
  height: 2.75rem;
}

.why-card__label {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--red);
}

@media (min-width: 640px) {
  .why-cards {
    gap: 1rem;
  }

  .why-card {
    gap: 1rem;
    min-height: 9.5rem;
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .why-card__label {
    font-size: 1rem;
  }
}

/* Projects */
.project-card {
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--white);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 16rem;
  color: var(--white);
}

@media (max-width: 479px) {
  .project-ba {
    grid-template-columns: 1fr;
    height: auto;
  }

  .project-ba__before,
  .project-ba__after {
    min-height: 10rem;
  }
}

.project-ba__before {
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background:
    linear-gradient(140deg, rgba(8, 8, 8, 0.34), rgba(8, 8, 8, 0.78)),
    repeating-linear-gradient(22deg, #5c5147 0 10px, #483f38 10px 20px);
}

.project-ba__after {
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background:
    linear-gradient(140deg, rgba(8, 8, 8, 0.18), rgba(8, 8, 8, 0.55)),
    repeating-linear-gradient(22deg, #2d2f32 0 10px, #1c1f22 10px 20px);
}

.ba-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ba-tag--dim {
  background: rgba(0, 0, 0, 0.55);
}

.ba-tag--red {
  background: var(--red);
}

.project-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-loc {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--red);
}

.project-body h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.project-body > p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.project-dl {
  margin: auto 0 0;
  padding-top: 1.25rem;
  font-size: 0.875rem;
}

.project-dl dt {
  font-weight: 900;
  color: var(--text);
}

.project-dl dd {
  margin: 0.25rem 0 0.75rem;
  color: var(--text-muted);
}

/* Reviews */
.review-card {
  margin: 0;
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid #e5e5e5;
  background: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.review-quote {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.65;
  color: #262626;
}

.review-meta {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 900;
}

.review-meta span {
  font-weight: 600;
  color: #737373;
}

.stars {
  display: flex;
  gap: 0.15rem;
  color: var(--red);
}

.stars svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  stroke: none;
}

/* Financing band */
.financing-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .financing-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.fin-box {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: #0a0a0a;
  color: var(--white);
}

.fin-box h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.fin-box p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #d4d4d4;
}

.fin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 639px) {
  .fin-actions .btn {
    width: 100%;
  }
}

.fin-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .fin-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* About preview */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 0.9fr;
  }
}

.about-photos {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.about-photo {
  display: flex;
  align-items: flex-end;
  min-height: 14rem;
  padding: 1.25rem;
  border-radius: 1.5rem;
  color: var(--white);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background:
    linear-gradient(145deg, rgba(8, 8, 8, 0.2), rgba(8, 8, 8, 0.72)),
    radial-gradient(circle at 30% 20%, rgba(185, 28, 28, 0.34), transparent 32%),
    linear-gradient(135deg, #3b3b3b, #121212 58%, #080808);
}

.about-photo--owner {
  background:
    linear-gradient(145deg, rgba(8, 8, 8, 0.28), rgba(8, 8, 8, 0.55)),
    url("../images/about/owner-portrait.png") center 20% / cover no-repeat;
}

.about-photo--truck {
  background:
    linear-gradient(145deg, rgba(8, 8, 8, 0.3), rgba(8, 8, 8, 0.58)),
    url("../images/about/truck-trailer-crew.png") center / cover no-repeat;
}

.about-photo--crew {
  background:
    linear-gradient(145deg, rgba(8, 8, 8, 0.3), rgba(8, 8, 8, 0.58)),
    url("../images/about/crew-on-roof.png") center / cover no-repeat;
}

.about-photo--metal {
  background:
    linear-gradient(145deg, rgba(8, 8, 8, 0.28), rgba(8, 8, 8, 0.52)),
    url("../images/about/standing-seam-blue.png") center / cover no-repeat;
}

.about-photo.offset {
  margin-top: 0;
}

@media (min-width: 640px) {
  .about-photo.offset {
    margin-top: 2.5rem;
  }
}

/* CTA */
.cta-box {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

@media (min-width: 768px) {
  .cta-box {
    padding: 3rem;
  }
}

.cta-box h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.cta-box .lead {
  color: #d4d4d4;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 639px) {
  .cta-actions .btn {
    width: 100%;
  }
}

/* Footer */
.site-footer {
  background: #0a0a0a;
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h2 {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #a3a3a3;
}

.footer-col p,
.footer-col a {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #d4d4d4;
}

.footer-col strong a {
  color: var(--white);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.footer-tag {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fecaca !important;
}

.footer-links {
  display: grid;
  gap: 0.75rem;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.city-links {
  display: grid;
  gap: 0.5rem;
}

.city-links span {
  color: #fecaca;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: #737373;
}

/* Forms */
.contact-cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.15s;
}

.contact-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 900;
}

.contact-card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.form-panel {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
  padding: 1.5rem;
  border-radius: 2rem;
  background: var(--white);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    align-items: start;
    gap: 1.5rem 2rem;
  }

  .contact-layout .form-panel {
    margin-top: 0;
    grid-template-columns: 0.8fr 1.2fr;
    padding: 2.5rem;
  }

  .contact-layout .contact-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-panel {
    grid-template-columns: 0.8fr 1.2fr;
    padding: 2.5rem;
  }
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.services-intro {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .services-intro {
    grid-template-columns: minmax(0, 1.15fr) minmax(288px, 479px);
    gap: 2rem 2.75rem;
    align-items: start;
  }
}

.services-intro__main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.services-intro__copy {
  width: 597px;
  max-width: 100%;
}

.services-intro__copy .eyebrow {
  font-size: 1.05rem;
}

.service-stack {
  width: 583px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.service-card.service-card--stack {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  text-align: left;
}

.service-card.service-card--stack:hover {
  transform: translateY(-2px);
}

.service-card--stack .service-card__icon {
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

.service-card--stack .service-card__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.service-card--stack .service-card__text {
  flex: 1;
  min-width: 0;
}

.service-card--stack h3 {
  margin: 0;
  font-size: 0.975rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.service-card--stack .service-card__text p {
  margin: 0.2rem 0 0;
  font-size: 0.765rem;
  line-height: 1.42;
  color: var(--text-muted);
}

.service-card__hint {
  flex-shrink: 0;
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--red);
}

.service-card--stack:hover .service-card__hint {
  color: var(--red-hover);
}

.services-intro__aside {
  width: 100%;
}

@media (min-width: 1024px) {
  .services-intro__aside {
    position: sticky;
    top: 5.5rem;
    z-index: 1;
  }
}

.estimate-card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 18px 48px rgba(0, 0, 0, 0.08);
  text-align: center;
}

@media (min-width: 768px) {
  .estimate-card {
    padding: 1.75rem 1.5rem;
  }
}

.estimate-card__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.roof-texture .estimate-card__title {
  margin-bottom: 0.85rem;
}

.estimate-card__note {
  margin: 0.4rem 0 1.15rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.estimate-card__privacy {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.estimate-card__privacy a {
  font-weight: 700;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.estimate-card__privacy a:hover {
  color: var(--black);
}

.estimate-card .btn--primary {
  width: 100%;
}

.input {
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  border: 1px solid #e5e5e5;
}

.textarea {
  min-height: 8rem;
  resize: vertical;
}

.textarea.textarea--compact {
  min-height: 5.5rem;
}

/* Service detail process */
.two-col {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }
}

/* Service page — step-by-step process diagram */
.process-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-inline-start: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-flow__item {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.process-flow__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 2.75rem;
  flex-shrink: 0;
}

.process-flow__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--black);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.35);
}

.process-flow__line {
  flex: 1;
  width: 2px;
  min-height: 1rem;
  margin-top: 0.4rem;
  background: linear-gradient(180deg, var(--red) 0%, rgba(185, 28, 28, 0.12) 100%);
  border-radius: 1px;
}

.process-flow__item:last-child .process-flow__line {
  display: none;
}

.process-flow .service-card {
  flex: 1;
  min-width: 0;
}

.process-flow .service-card:hover {
  transform: none;
  border-color: #e5e5e5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pill {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 900;
}

/* Not found */
.notfound {
  text-align: center;
  padding: 6rem 1.25rem;
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
