/* Mold Removal West Palm Beach — referral theme (deep teal + leaf green)
   Clean, professional, mobile-first. Responsive lessons built in from the
   start: no nowrap on the logo, call-bar body padding with safe-area inset,
   footer accordions on phones, overflow-x clip guard. */
:root {
  --teal: #0E5F56;
  --teal-2: #145E57;
  --teal-3: #0A2E2C;
  --cta: #12836F;
  --cta-dark: #0B6B5C;
  --cta-glow: rgba(18, 131, 111, .35);
  --leaf: #58B368;
  --leaf-soft: #EAF5EC;
  --cream: #F7F5EF;
  --text: #24282E;
  --muted: #5D6673;
  --line: #DDE5E0;
  --white: #FFFFFF;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  overflow-x: clip;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
@media (max-width: 899px) { body.callbar-hidden { padding-bottom: 0; } }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; min-width: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--teal-2); }

/* Top bar */
.topbar {
  background: var(--teal-3);
  color: #DDEBE6;
  font-size: 0.82rem;
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 20px; gap: 10px;
}
.topbar-call { color: #8FD6A8; font-weight: 800; text-decoration: none; white-space: nowrap; }
.pill-247 {
  display: inline-block; background: var(--leaf); color: #0A2E2C;
  font-size: 0.68rem; font-weight: 800; letter-spacing: .06em;
  padding: 3px 10px; border-radius: 999px; margin-right: 8px; vertical-align: 1px;
}
.topbar-serving-short { display: none; }
@media (max-width: 640px) {
  .topbar { flex-direction: column; gap: 4px; text-align: center; padding: 8px 12px; }
  .topbar-serving { display: none; }
  .topbar-serving-short { display: inline; }
  .topbar-call { font-size: 0.95rem; }
}

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 18px; padding: 14px 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark { flex-shrink: 0; display: block; }
.logo-text { font-weight: 800; font-size: 0.98rem; color: var(--teal-3); line-height: 1.25; letter-spacing: -0.2px; }
.logo-text em { display: block; font-style: normal; font-weight: 700; color: var(--cta-dark); font-size: 0.78rem; letter-spacing: 0.04em; }
.main-nav { display: none; margin-left: auto; gap: 4px; align-items: center; }
.main-nav > a, .has-drop > a { padding: 10px 12px; text-decoration: none; color: var(--teal-3); font-weight: 600; font-size: 0.95rem; border-radius: 6px; white-space: nowrap; }
.main-nav > a:hover, .has-drop > a:hover { background: var(--cream); }
.has-drop { position: relative; }
.drop { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px rgba(10,46,44,.16); min-width: 240px; padding: 6px; z-index: 60; }
.drop a { display: block; padding: 9px 12px; text-decoration: none; color: var(--text); border-radius: 6px; font-size: 0.93rem; }
.drop a:hover { background: var(--cream); }
.has-drop:hover .drop, .has-drop:focus-within .drop { display: block; }
.header-call { margin-left: 8px; display: none; }
.menu-btn { margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; font-size: 1.4rem; padding: 6px 12px; cursor: pointer; color: var(--teal-3); flex-shrink: 0; }
.mobile-nav { display: none; flex-direction: column; border-top: 1px solid var(--line); max-height: 70vh; overflow: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 20px; text-decoration: none; color: var(--teal-3); border-bottom: 1px solid var(--line); font-weight: 600; }
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-call { display: inline-block; }
  .menu-btn, .mobile-nav { display: none !important; }
}
@media (max-width: 899px) {
  .btn.header-call { display: none; }
  .logo { font-size: 1rem; flex: 1 1 auto; min-width: 0; }
  .logo-text { min-width: 0; }
  .logo-mark { width: 32px; height: 32px; }
  .header-inner { gap: 10px; padding: 10px 16px; }
}

/* Buttons */
.btn {
  display: inline-block; background: linear-gradient(180deg, #2AA88F, var(--cta));
  color: #fff !important; text-shadow: 0 1px 2px rgba(0,0,0,.18);
  font-weight: 800; text-decoration: none; padding: 13px 24px; border-radius: var(--radius);
  border: none; cursor: pointer; font-size: 1rem;
  box-shadow: 0 4px 14px var(--cta-glow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { background: var(--cta-dark); transform: translateY(-1px); box-shadow: 0 6px 18px var(--cta-glow); }
.btn:active { transform: translateY(0); }
.btn-big { font-size: 1.22rem; padding: 17px 36px; }
.btn-call { white-space: nowrap; }
.btn-ghost {
  display: inline-block; background: transparent; color: #fff !important;
  border: 2px solid rgba(255,255,255,.55); font-weight: 700; text-decoration: none;
  padding: 14px 26px; border-radius: var(--radius); font-size: 1.05rem;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(88,179,104,.22), transparent 60%),
    radial-gradient(700px 380px at 10% 110%, rgba(18,131,111,.28), transparent 60%),
    linear-gradient(135deg, var(--teal-3) 0%, var(--teal) 55%, var(--teal-2) 100%);
  color: #fff; padding: 60px 0 64px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.5px; }
.hero p.lead { font-size: 1.12rem; color: #D9EDE6; max-width: 640px; margin: 0 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 9px; }
.hero-points li { padding-left: 32px; position: relative; color: #EEF6F2; font-weight: 600; }
.hero-points li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--leaf); color: #0A2E2C; font-weight: 800; font-size: .8rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 0.88rem; color: #B9D6CC; margin-top: 14px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trust-badges span {
  font-size: 0.8rem; font-weight: 700; color: #EAF4EF;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: 7px 14px; border-radius: 999px;
}
.trust-badges span::before { content: "\2713\00a0"; color: #8FD6A8; }
@media (min-width: 900px) { .hero { padding: 80px 0 88px; } }
@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn, .hero-cta-row .btn-ghost { width: 100%; text-align: center; }
  .hero p.lead { font-size: 1.05rem; }
}

/* Content */
main.wrap { padding-top: 26px; padding-bottom: 10px; }
.breadcrumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.content h1, main.wrap > h1 { font-size: 1.9rem; color: var(--teal-3); line-height: 1.3; letter-spacing: -0.4px; }
.content h2 { font-size: 1.45rem; color: var(--teal-3); margin-top: 2.2em; padding-top: 0.4em; border-top: 1px solid var(--line); }
.content h2:first-child { margin-top: 0; border-top: none; }
.content h3 { font-size: 1.15rem; color: var(--teal-2); }
.content ul, .content ol { padding-left: 22px; }
.content li { margin-bottom: 6px; }
.content blockquote { border-left: 4px solid var(--cta); background: var(--cream); margin: 1.6em 0; padding: 14px 18px; border-radius: 0 8px 8px 0; }

/* Cards & grids */
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin: 22px 0 8px;
}
.svc-card {
  display: block; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 18px; text-decoration: none;
  color: var(--text); transition: transform .15s ease, box-shadow .15s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(10,46,44,.12); }
.svc-card strong { display: block; color: var(--teal-3); font-size: 1.02rem; margin-bottom: 6px; }
.svc-card span { font-size: 0.9rem; color: var(--muted); }
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin: 22px 0 8px;
}
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 18px 18px;
}
.step-num {
  position: absolute; top: -14px; left: 16px; width: 30px; height: 30px;
  background: var(--cta); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.step strong { display: block; color: var(--teal-3); margin-bottom: 6px; }
.step span { font-size: 0.9rem; color: var(--muted); }
.center { text-align: center; margin: 14px 0 6px; }
.town-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px; margin: 20px 0 8px;
}
.town-card {
  display: block; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; text-decoration: none; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.town-card:hover { border-color: var(--cta); box-shadow: 0 8px 18px rgba(10,46,44,.1); }
.town-card strong { display: block; color: var(--teal-3); font-size: 0.98rem; }
.town-card span { font-size: 0.82rem; color: var(--muted); }
.zip-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.zip-pills span {
  display: inline-block; background: var(--leaf-soft); color: var(--teal-3);
  border: 1px solid #BFE3C6; padding: 6px 14px; border-radius: 999px; font-weight: 800;
}
.note-box { border-left: 4px solid var(--cta); background: var(--cream); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 1.4em 0; }

/* FAQ */
.faq { margin: 2.4em 0; }
.faq h2 { font-size: 1.45rem; color: var(--teal-3); }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: var(--white); }
.faq summary { padding: 14px 18px; font-weight: 700; color: var(--teal-3); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--cta-dark); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--text); }

/* Related links */
.related { background: var(--cream); border-radius: var(--radius); padding: 22px; margin: 2.4em 0; }
.related h2 { margin-top: 0; font-size: 1.2rem; color: var(--teal-3); }
.related ul { margin: 0; padding-left: 20px; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(700px 300px at 50% -20%, rgba(88,179,104,.25), transparent 65%),
    linear-gradient(135deg, var(--teal-3), var(--teal) 60%, var(--teal-2));
  color: #fff; text-align: center; padding: 58px 0; margin-top: 30px;
}
.cta-band h2 { margin: 0 0 10px; font-size: 1.75rem; }
.cta-band p { color: #CFE8DC; max-width: 560px; margin: 0 auto 24px; }
.cta-note { font-size: 0.85rem !important; margin: 14px 0 0 !important; color: #9FC6B8 !important; }

/* Footer */
.site-footer { background: #0A2E2C; color: #B9D6CC; padding: 44px 0 26px; font-size: 0.92rem; }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1.1fr 0.8fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: #B9D6CC; text-decoration: none; }
.site-footer a:hover { color: #8FD6A8; }
.footer-top { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid #1E4A47; }
.footer-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-logo-text { color: #fff; font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.footer-logo-text em { display: block; font-style: normal; font-weight: 600; font-size: 0.82rem; color: #8FD6A8; }
.footer-tagline { margin: 0; max-width: 380px; color: #B9D6CC; font-size: 0.92rem; }
.footer-call { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-call-note { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; color: #8FD6A8; }
.footer-pay { border-top: 1px solid #1E4A47; margin-top: 26px; padding-top: 22px; text-align: center; }
.footer-pay-note { margin: 0 0 14px; color: #B9D6CC; font-size: 0.88rem; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pay-badge { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #0A2E2C; border-radius: 6px; padding: 6px 12px; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.02em; line-height: 1; }
.pay-visa { color: #1A1F71; font-style: italic; letter-spacing: 0.06em; }
.pay-mc { color: #231F20; }
.mc-circles { display: inline-flex; position: relative; width: 26px; height: 16px; }
.mc-circles i { display: block; width: 16px; height: 16px; border-radius: 50%; }
.mc-circles i:first-child { background: #EB001B; }
.mc-circles i:last-child { background: #F79E1B; margin-left: -6px; opacity: 0.9; }
.pay-amex { background: #2E77BC; color: #fff; }
.pay-disc { color: #F48120; }
.footer-zips { border-top: 1px solid #1E4A47; margin-top: 22px; padding-top: 18px; font-size: 0.85rem; color: #8FA89F; text-align: center; }
.footer-zips strong { display: inline; color: #B9D6CC; margin: 0 6px 0 0; }
.footer-disclaimer { border-top: 1px solid #1E4A47; margin-top: 22px; padding-top: 18px; font-size: 0.85rem; color: #8FA89F; line-height: 1.6; }
.footer-bottom { border-top: 1px solid #1E4A47; margin-top: 26px; padding-top: 18px; font-size: 0.82rem; color: #8FA89F; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
.footer-bottom a { color: #B9D6CC; }
.footer-bottom p { margin: 0; }
.foot-col summary { list-style: none; cursor: pointer; color: #fff; font-weight: 800; margin-bottom: 10px; display: block; }
.foot-col summary::-webkit-details-marker { display: none; }
.foot-col summary::after { content: "+"; float: right; color: #8FD6A8; font-size: 1.1rem; line-height: 1; }
.foot-col[open] summary::after { content: "\2013"; }
@media (min-width: 700px) {
  .foot-col summary { pointer-events: none; }
  .foot-col summary::after { display: none; }
}
@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .site-footer { padding: 36px 0 calc(20px + env(safe-area-inset-bottom)); }
  .footer-top { gap: 14px; }
  .footer-tagline { max-width: none; }
}
.to-top { background: none; border: 0; color: #8FD6A8; cursor: pointer; font-weight: 700; font-size: 0.92rem; padding: 6px 0; }

/* Mobile call bar */
.callbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: linear-gradient(180deg, #2AA88F, var(--cta));
  text-align: center; box-shadow: 0 -4px 18px rgba(0,0,0,.22);
}
.callbar a { display: block; padding: 10px 12px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.2); text-decoration: none; font-size: 0.9rem; line-height: 1.35; font-weight: 600; }
.callbar strong { font-size: 1.18rem; font-weight: 800; }
.callbar-icon { font-size: 1.2rem; }
.callbar-close { position: absolute; right: 10px; top: 8px; background: transparent; border: 0; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
@media (min-width: 900px) { .callbar { display: none; } }
