/* Mold Near Me — Faithful Main Site Stylesheet (Clean & Fast) */
:root {
  --royal: #2b51d1;
  --navy: #004e9a;
  --navy-dark: #07192e;
  --cyan: #0193d9;
  --green: #97c93d;
  --green-bright: #a4ce3b;
  --dark-bar: #121212;
  --ink: #222222;
  --muted: #4b5563;
  --tint: #f5fafd;
  --border: #dce8f0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); margin-top: 0; line-height: 1.24; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 18px; }

/* Two-Tier Live Header */
.top-header {
  background: #ffffff;
  padding: 12px 0;
}
.top-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.site-logo img {
  width: 118px;
  height: 85px;
  object-fit: contain;
}
.info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
  justify-content: flex-end;
}
.info-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 3px solid var(--green);
  border-radius: 16px;
  padding: 10px 16px;
  background: #ffffff;
  min-width: 215px;
}
.info-pill-icon {
  width: 30px;
  height: 30px;
  color: #374151;
  flex-shrink: 0;
}
.info-pill strong {
  display: block;
  font-size: 0.92rem;
  color: #111827;
  line-height: 1.25;
}
.info-pill span,
.info-pill a {
  display: block;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

/* Royal Blue Nav Bar -> Sticky Charcoal on Scroll */
.nav-bar-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--royal);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
  transition: background-color 0.2s ease;
}
.nav-bar-wrap.is-stuck {
  background: var(--dark-bar);
}
.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.nav-item {
  position: relative;
}
.main-nav > .nav-item > a,
.main-nav > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 15px 11px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.main-nav > .nav-item > a:hover,
.main-nav > .nav-item > a.is-active,
.main-nav > a:hover,
.main-nav > a.is-active {
  color: var(--green-bright);
  text-decoration: none;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  z-index: 60;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  display: block;
}
.nav-dropdown a {
  display: block;
  padding: 11px 16px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  border-bottom: 1px solid #eef2f6;
}
.nav-dropdown a:hover {
  background: var(--tint);
  color: var(--navy);
  text-decoration: none;
}
.estimate-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 15px 24px 15px 30px;
  white-space: nowrap;
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%);
}
.estimate-tab:hover {
  background: #007ab8;
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: #ffffff;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
}

/* Home Hero Banner + Cyan Call Strip */
.home-hero {
  position: relative;
  min-height: 440px;
  background: #0f172a;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.home-hero picture,
.home-hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(90deg, rgba(7, 25, 46, 0.78) 0%, rgba(7, 25, 46, 0.42) 55%, rgba(7, 25, 46, 0.14) 100%);
  padding: 68px 0;
  min-height: 440px;
  display: flex;
  align-items: center;
}
.home-hero h1 {
  color: #ffffff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 0 0 12px;
  max-width: 680px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.home-hero p {
  color: #f1f5f9;
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 0 20px;
}
.doral-strip {
  background: var(--cyan);
  color: #ffffff;
  padding: 26px 0;
}
.doral-strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.doral-strip h2 {
  color: #ffffff;
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
}
.doral-strip p {
  color: #f8fafc;
  margin: 0;
  max-width: 780px;
  font-size: 0.98rem;
}
.call-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #141a21;
  color: #ffffff !important;
  font-weight: 800;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.call-pill-dark:hover { background: #000000; text-decoration: none; }

/* Interior Page Title Banner */
.page-banner {
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 65%, var(--cyan) 100%);
  color: #ffffff;
  padding: 40px 0;
}
.page-banner h1 { color: #ffffff; margin: 0 0 8px; font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.page-banner p { color: #dbeafe; margin: 0; font-size: 1.05rem; max-width: 760px; }

/* Sections & Grids */
.sec { padding: 52px 0; }
.sec-tint { background: var(--tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-title-center { text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 12px; color: var(--navy); }
.sec-sub-center { text-align: center; max-width: 760px; margin: 0 auto 32px; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.content-split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.95fr); gap: 36px; align-items: start; }

/* Circular Service Icons (Signature Look) */
.srv-box { text-align: center; padding: 14px 10px; }
.srv-circle {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--cyan);
  border: 4px solid var(--green);
  box-shadow: 0 0 0 6px #ffffff, 0 8px 20px rgba(0, 78, 154, 0.14);
  display: grid;
  place-items: center;
  color: #0b172a;
}
.srv-box h3 { color: var(--navy); font-size: 1.25rem; margin-bottom: 10px; }
.srv-box p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.btn-read-more {
  display: inline-block;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}
.btn-read-more:hover { background: var(--navy); color: #ffffff; text-decoration: none; }

/* Hours / Offices / Call Dark Accent Band */
.band-dark-info {
  background: #171c23;
  color: #ffffff;
  padding: 30px 0;
}
.band-dark-info h3 { color: var(--green-bright); margin-bottom: 6px; font-size: 1.15rem; }
.band-dark-info p, .band-dark-info a { color: #e2e8f0; margin: 0; font-size: 0.96rem; }

/* Get A Quote 2-Col Section (Lime Icons Left + Deep Blue Form Right) */
.quote-checks { display: grid; gap: 18px; margin-top: 18px; }
.quote-check-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  color: #1e293b;
  font-size: 1rem;
}
.quote-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--green);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 900;
  font-size: 1.2rem;
}
.quote-box-blue {
  background: var(--navy);
  color: #ffffff;
  padding: 28px;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 78, 154, 0.22);
}
.quote-box-blue h2, .quote-box-blue h3 { color: #ffffff; margin: 0 0 6px; }
.quote-box-blue p { color: #dbeafe; margin: 0 0 16px; font-size: 0.94rem; }
.quote-box-blue label { display: block; font-size: 0.84rem; font-weight: 700; margin-bottom: 4px; color: #f8fafc; }
.quote-box-blue input,
.quote-box-blue select,
.quote-box-blue textarea {
  width: 100%;
  padding: 11px 12px;
  border: none;
  border-radius: 4px;
  font: inherit;
  font-size: 0.96rem;
  color: #0f172a;
  background: #ffffff;
  margin-bottom: 12px;
}
.btn-send-green {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 20px;
  cursor: pointer;
}
.btn-send-green:hover { background: #84b430; }
.form-status { margin-top: 10px; font-size: 0.9rem; border-radius: 6px; }
.form-status.is-success { background: #ecfdf5; color: #065f46; padding: 10px 12px; }
.form-status.is-error { background: #fef2f2; color: #991b1b; padding: 10px 12px; }

/* Insurances & Certifications Grid (Real Logos) */
.logo-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}
.logo-tile {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 22px;
  width: 210px;
  height: 98px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.logo-tile img {
  max-height: 68px;
  max-width: 165px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.cert-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}
.cert-wall img {
  height: 78px;
  width: auto;
  object-fit: contain;
}

/* Deep Blue Testimonials Section */
.testimonials-band {
  background: var(--navy);
  color: #ffffff;
  padding: 58px 0;
  text-align: center;
}
.testimonials-band h2 { color: #ffffff; margin-bottom: 24px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.testi-item { max-width: 900px; margin: 0 auto 28px; }
.testi-item:last-child { margin-bottom: 0; }
.testi-stars { color: #facc15; font-size: 1.45rem; letter-spacing: 3px; margin-bottom: 8px; }
.testi-item p { color: #f8fafc; font-size: 1.02rem; line-height: 1.65; margin: 0; }

/* Pre-footer Allergy & $600 Credit Bar */
.credit-bar {
  background: #f0f7fc;
  border-top: 1px solid var(--border);
  padding: 36px 0;
  text-align: center;
}
.credit-box {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 22px;
  border: 2px solid var(--green);
  border-radius: 10px;
  background: #ffffff;
  font-weight: 800;
  color: var(--navy);
}

/* Article Content + Photo + Gallery */
.article-body h2 { margin-top: 28px; font-size: 1.5rem; }
.article-body h3 { margin-top: 22px; font-size: 1.2rem; color: var(--cyan); }
.article-body p, .article-body li { color: #334155; line-height: 1.72; }
.article-photo { border-radius: 10px; overflow: hidden; margin-bottom: 22px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-card { margin: 0; background: #ffffff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); }
.gallery-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery-card figcaption { padding: 10px 14px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }

/* Fixed High-Contrast 4-Col Footer */
.site-footer {
  background: var(--navy-dark);
  color: #e2e8f0;
  padding: 46px 0 28px;
}
.footer-4col {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.site-footer h3 { color: #ffffff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.site-footer p, .site-footer li { color: #cbd5e1; font-size: 0.9rem; line-height: 1.65; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-list a { color: #cbd5e1; }
.footer-list a:hover { color: var(--green-bright); }
.footer-map-wrap { text-align: left; }
.footer-map-wrap img { width: 185px; height: auto; border-radius: 8px; background: #ffffff; padding: 6px; margin-bottom: 10px; }
.btn-service-area {
  display: inline-block;
  background: var(--green);
  color: #0b172a !important;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
}
.footer-bottom {
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: #94a3b8;
}
.footer-bottom a { color: #cbd5e1; }

.mobile-callbar { display: none; }

@media (max-width: 1060px) {
  .info-pills { gap: 8px; }
  .info-pill { min-width: 0; padding: 8px 12px; }
  .main-nav > .nav-item > a, .main-nav > a { padding: 14px 8px; font-size: 0.74rem; }
}
@media (max-width: 900px) {
  .top-header-row { flex-direction: column; align-items: flex-start; }
  .info-pills { justify-content: flex-start; width: 100%; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
  }
  .main-nav.is-open { display: flex; }
  .nav-dropdown { position: static; box-shadow: none; background: #102a46; border: none; }
  .nav-dropdown a { color: #e2e8f0; border-color: rgba(255, 255, 255, 0.1); }
  .grid-3, .grid-2, .content-split, .gallery-grid, .footer-4col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { padding-bottom: 66px; }
  .info-pills { display: none; }
  .top-header-row { flex-direction: row; align-items: center; }
  .site-logo img { width: 82px; height: 59px; }
  .estimate-tab { padding: 14px 16px 14px 22px; font-size: 0.8rem; }
  .mobile-callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 9px 12px;
    background: #07111b;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
  .mobile-callbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 8px;
    border-radius: 6px;
    font-weight: 900;
    font-size: 0.92rem;
    text-decoration: none;
  }
  .mbar-call { background: var(--green); color: #07111b !important; }
  .mbar-quote { background: var(--cyan); color: #ffffff !important; }
}
