:root {
  --container-max: 1200px;
  --brand-blue: #1e90ff;
  --dark-bg: #0d1117;
}

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

body {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #222;
  background-color: #f1f4f8;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.container {
  width: min(var(--container-max), 92vw);
  margin: 0 auto;
}

.stack {
  display: flex;
  gap: 1.5rem;
}

.grid-auto,
.grid-two {
  display: grid;
  gap: 1.5rem;
}

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

.btn-primary,
.btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(30, 144, 255, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #0f6ec4;
  color: #fff;
}

.btn-secondary {
  background-color: transparent;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--brand-blue);
  color: #fff;
}

.cta-buttons,
.related-services-buttons,
.service-cards,
.benefits-list {
  display: flex;
  gap: 1rem;
}

.quote-flex-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.85fr;
  gap: 1.5rem;
}

.details-upload-sidebyside {
  display: contents;
}

.quick-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.process-steps-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.blog-list,
.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card,
.blog-card > div,
.service-card,
.elev-card,
.benefit-card,
.process-step {
  border-radius: 14px;
}

.image-banner {
  position: relative;
  overflow: hidden;
}

.image-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 36, 94, 0.35), rgba(0, 36, 94, 0.7));
  pointer-events: none;
}

.image-banner-content {
  position: relative;
  z-index: 1;
}

.site-footer ul {
  margin: 0;
}

.site-footer li {
  list-style: none;
}

@media (max-width: 1024px) {
  .quote-flex-row {
    grid-template-columns: 1fr 1fr;
  }

  .upload-map-col {
    order: 3;
  }
}

@media (max-width: 900px) {
  .stack {
    flex-direction: column;
  }

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

  .quote-flex-row {
    grid-template-columns: 1fr;
  }

  .cta-buttons,
  .related-services-buttons,
  .service-cards,
  .benefits-list,
  .quick-info {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons a,
  .related-services-buttons a,
  .service-cards a,
  .benefits-list a {
    width: 100%;
    text-align: center;
  }

  .process-steps-container {
    flex-direction: column;
  }

  .blog-list,
  .blog-container {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 5vw, 2.5rem) !important;
  }

  .hero-content p {
    font-size: 1rem !important;
  }

  .image-banner {
    min-height: 260px;
    padding: 3rem 1.5rem !important;
  }

  .image-banner-content h2 {
    font-size: 1.8rem !important;
  }

  .image-banner-content p {
    font-size: 1rem !important;
  }

  .hero,
  .hero-blog,
  .wide-image-section,
  .seo-nav-section,
  .why-section,
  .services-section,
  .benefits-section,
  .process-section,
  .related-services-section,
  section[role="banner"],
  section[aria-label] {
    text-align: center !important;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
  }

  .service-card,
  .benefit-card,
  .process-step,
  .info-item,
  .blog-card {
    text-align: center !important;
  }

  .service-card {
    align-items: center !important;
    justify-content: flex-end;
  }

  .service-card h3,
  .service-card p,
  .benefit-card h3,
  .benefit-card p,
  .process-step h3,
  .process-step p {
    text-align: center !important;
  }

  .info-item {
    align-items: center !important;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .container {
    width: 94vw;
  }

  .hero {
    min-height: 70vh;
    padding: 4rem 1rem !important;
  }

  .contact-form-container,
  .process-section,
  .why-section,
  .services-section,
  .benefits-section {
    padding: 2.5rem 1.25rem !important;
    border-radius: 18px !important;
  }

  .service-card,
  .elev-card,
  .blog-card {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
  }

  footer.site-footer ul {
    grid-template-columns: 1fr !important;
  }
}


/* Background image for Construction Cleanup & Surface Prep */
.service-card--prep {
  background-image: url("assets/images/index/construction-prep.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}