/* =========================================================
   KC Mold Remediation — style.css
   Mobile-first, no framework
   ========================================================= */

/* ----- Custom Properties ----- */
:root {
  --navy:   #1e3a5f;
  --navy-dark: #132744;
  --orange: #e8500a;
  --orange-dark: #c4400a;
  --green:  #27ae60;
  --light:  #f4f6f9;
  --white:  #ffffff;
  --text:   #1a1a1a;
  --text-muted: #5a6475;
  --border: #dde2ea;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.09);
  --shadow-lg: 0 6px 30px rgba(0,0,0,0.13);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1140px;
  --transition: 0.2s ease;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ----- Utility ----- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section--gray { background: var(--light); }
.section--navy { background: var(--navy); color: var(--white); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ----- Typography ----- */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 12px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition);
  text-align: center;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--orange { background: var(--orange); color: var(--white); }
.btn--orange:hover { background: var(--orange-dark); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--lg { padding: 18px 36px; font-size: 1.125rem; }
.btn--full { display: block; width: 100%; }

/* ----- Top Bar ----- */
.top-bar {
  background: var(--navy-dark);
  color: var(--white);
  font-size: 0.875rem;
  padding: 8px 0;
  text-align: center;
}
.top-bar a { color: var(--white); font-weight: 700; }
.top-bar a:hover { color: var(--orange); text-decoration: none; }

/* ----- Header ----- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-logo { color: var(--white); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.3px; }
.site-logo span { color: var(--orange); }
.site-logo:hover { text-decoration: none; color: var(--white); }

/* Nav */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  padding: 16px 20px 20px;
  box-shadow: var(--shadow-lg);
}
.site-nav.is-open { display: block; }
.site-nav a {
  display: block;
  color: var(--white);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 600;
}
.site-nav a:last-child { border-bottom: none; }
.site-nav a:hover { color: var(--orange); text-decoration: none; }
.header-phone { display: none; }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    background: none;
    padding: 0;
    gap: 28px;
    box-shadow: none;
  }
  .site-nav a {
    display: inline;
    border-bottom: none;
    padding: 0;
    font-size: 0.9375rem;
  }
  .header-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
  }
  .header-phone:hover { color: var(--orange); text-decoration: none; }
}

/* ----- Hero ----- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1a4a7a 100%);
  color: var(--white);
  padding: 56px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.12;
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 40px;
}
.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.hero h1 { margin-bottom: 14px; }
.hero-sub {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 520px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  font-size: 0.875rem;
  opacity: 0.85;
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: '✓'; color: var(--green); font-weight: 700; }

/* Hero Form Card */
.hero-form-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.hero-form-card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 6px;
}
.hero-form-card .form-sub {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 400px; align-items: center; }
}

/* ----- Lead Form ----- */
.lead-form { display: grid; gap: 12px; }
.form-row { display: grid; gap: 12px; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.lead-form label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: var(--font);
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--navy);
}
.lead-form textarea { resize: vertical; min-height: 90px; }
.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}
.form-success {
  display: none;
  text-align: center;
  color: var(--green);
  font-weight: 700;
  padding: 16px;
  background: #edfaf3;
  border-radius: var(--radius);
  border: 1.5px solid var(--green);
}

/* ----- Trust Bar ----- */
.trust-bar {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  text-align: center;
}
.trust-item { font-size: 0.875rem; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.trust-item .icon { font-size: 1.25rem; }

/* ----- Section Headers ----- */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { color: var(--navy); }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 10px auto 0; }
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

/* ----- Services Grid ----- */
.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 580px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--navy);
  transform: translateY(-3px);
}
.service-icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 14px; }
.service-card a { font-size: 0.875rem; font-weight: 700; color: var(--orange); }
.service-card a:hover { text-decoration: underline; }

/* ----- Why Us ----- */
.why-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-item { text-align: center; padding: 8px; }
.why-item .why-icon { font-size: 2.25rem; margin-bottom: 12px; }
.why-item h3 { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.why-item p { font-size: 0.875rem; opacity: 0.85; }

/* ----- Process ----- */
.process-steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}
@media (min-width: 700px) { .process-steps { grid-template-columns: repeat(3, 1fr); } }

.process-step {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.process-step h3 { color: var(--navy); margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: var(--text-muted); }

/* ----- Testimonials ----- */
.testimonials-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: var(--white);
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
}
.testimonial-stars { color: #f5a623; font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.9375rem; font-style: italic; color: var(--text); margin-bottom: 14px; }
.testimonial-author { font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.testimonial-location { font-size: 0.8rem; color: var(--text-muted); }

/* ----- Service Areas ----- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 600px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .areas-grid { grid-template-columns: repeat(4, 1fr); } }

.area-link {
  display: block;
  padding: 10px 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: background var(--transition), border-color var(--transition);
}
.area-link:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  text-decoration: none;
}

/* ----- FAQ ----- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1.5px solid var(--border);
}
.faq-item:first-child { border-top: 1.5px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
}
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  transition: transform var(--transition);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding-bottom: 18px; color: var(--text-muted); font-size: 0.9375rem; }
.faq-item.is-open .faq-answer { display: block; }

/* ----- CTA Banner ----- */
.cta-banner {
  background: var(--orange);
  padding: 48px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner p { opacity: 0.9; margin-bottom: 24px; font-size: 1.05rem; }
.cta-banner .btn-group { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ----- Blog Grid ----- */
.blog-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); }
.blog-card-body { padding: 20px; }
.blog-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
  display: block;
}
.blog-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--orange); text-decoration: none; }
.blog-card p { font-size: 0.875rem; color: var(--text-muted); }

/* ----- Page Hero (interior pages) ----- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 48px 0 52px;
  text-align: center;
}
.page-hero h1 { margin-bottom: 10px; }
.page-hero p { opacity: 0.88; font-size: 1.05rem; max-width: 580px; margin: 0 auto 22px; }
.breadcrumb {
  font-size: 0.8125rem;
  opacity: 0.7;
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--white); opacity: 0.8; }
.breadcrumb span { margin: 0 6px; }

/* ----- Content Section (interior pages) ----- */
.content-section { padding: 56px 0; }
.content-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .content-grid { grid-template-columns: 1fr 360px; align-items: start; }
}
.content-body h2 { color: var(--navy); margin: 28px 0 10px; font-size: 1.35rem; }
.content-body h2:first-child { margin-top: 0; }
.content-body h3 { color: var(--navy); margin: 20px 0 8px; }
.content-body ul { list-style: disc; padding-left: 20px; margin-bottom: 1rem; }
.content-body ul li { margin-bottom: 6px; font-size: 0.9375rem; }
.content-body p { font-size: 0.9375rem; }

/* Sidebar form */
.sidebar-form {
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 24px 20px;
  position: sticky;
  top: 80px;
}
.sidebar-form h3 {
  color: var(--navy);
  text-align: center;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .site-logo { display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-phone {
  display: block;
  color: var(--white) !important;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  opacity: 0.6;
}
.footer-bottom a { color: inherit; }
.footer-disclaimer {
  font-size: 0.8rem;
  opacity: 0.55;
  text-align: center;
  margin-top: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
