/* Colorado Springs Mold Removal — site-specific color overrides for v2.5 */
:root {
  --color-accent:      #059669;
  --color-accent-dark: #047857;
  --color-accent-glow: rgba(5, 150, 105, 0.3);
}

/* Fix: v2.5 .hero uses display:flex which breaks v1 hero HTML structure.
   The hero-img is a flex item that takes full width via width:100%, hiding hero-content. */
.hero {
  display: block;
  min-height: 500px;
  padding: 0;
}
.hero-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  margin: 0 !important;
  opacity: 0.28;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding: 3rem 1.25rem;
  }
  .hero-image { display: none; }
}

/* Fixed header clearance */
.page-hero    { padding-top: 7rem; padding-bottom: 3rem; }
.service-hero { padding-top: 7rem; }
@media (max-width: 768px) {
  .page-hero    { padding-top: 6rem; padding-bottom: 2.5rem; }
  .service-hero { padding-top: 6rem; }
}

/* Mobile contact grid */
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr !important; }
  .contact-info-card,
  .contact-info-column,
  .contact-form-column { min-width: 0; max-width: 100%; }
  .contact-email-link,
  .contact-info-card a,
  .contact-info-card span { word-break: break-word; overflow-wrap: anywhere; }
}

/* Scrollable wide tables */
main table,
.content-container table,
.content-section table,
.blog-article-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 768px) {
  .blog-article-content table {
    width: auto !important;
    min-width: 460px;
  }
}

/* Restore list padding stripped by reset */
.svc-section ul,
.loc-section ul,
.blog-article-content ul,
.content-section ul,
.calc-content ul,
.faq-item ul { padding-left: 1.6rem; }
.svc-section li,
.loc-section li,
.blog-article-content li,
.content-section li,
.calc-content li { margin-bottom: 0.4rem; }

/* Testimonial legibility */
.testimonial-card::before,
.testimonial-section .testimonial-quote::before { content: none !important; }
.testimonial-card__text {
  font-style: normal !important;
  color: rgba(241, 245, 249, 0.95) !important;
}
.testimonial-section h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 2.5rem;
}
.testimonial-section .testimonial-quote { font-style: normal !important; }
