/* ============================================================
   My Water Damage Hero — mywaterdamagehero.com
   Brand: yellow #FFCD00 / navy #101F33 / white
   Mobile-first, no frameworks. Single file.
   ============================================================ */

:root {
  --yellow: #FFCD00;
  --yellow-dark: #e6b800;
  --navy: #101F33;
  --navy-2: #16294a;
  --ink: #22303f;
  --muted: #5b6b7d;
  --light: #f4f6f9;
  --white: #ffffff;
  --line: #e2e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 31, 51, .12);
  --max: 1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a { color: var(--navy); }
a:hover { color: #0a1526; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section--light { background: var(--light); }
.section--navy { background: var(--navy); color: #dbe4f0; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: #c4d0e2; }

.kicker {
  display: inline-block;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--navy);
  background: var(--yellow);
  padding: .35em 1em;
  border-radius: 999px;
  margin-bottom: 1em;
}
.section--navy .kicker { color: var(--navy); }

.lead { font-size: 1.12rem; color: var(--muted); max-width: 46rem; }
.section--navy .lead { color: #aebdd3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 999px;
  padding: .85em 1.8em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 18px rgba(255, 205, 0, .35); }
.btn--yellow:hover { background: var(--yellow-dark); color: var(--navy); transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); color: var(--white); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--lg { font-size: 1.15rem; padding: 1em 2.2em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
  box-shadow: 0 2px 12px rgba(16, 31, 51, .08);
  min-height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 58px; width: auto; }
.brand-text { display: none; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: .98rem;
  padding: .55em .8em;
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--light); }
.header-cta { margin-left: 8px; }
.header-cta .btn { font-size: .98rem; padding: .7em 1.5em; white-space: nowrap; }

.nav-toggle {
  display: none;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: .6em .9em;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 205, 0, .22), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, #0b1626 100%);
  color: var(--white);
  padding: 84px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60px -10%;
  height: 120px;
  background: var(--white);
  transform: rotate(-1.2deg);
}
.hero h1 { color: var(--white); margin-bottom: .35em; max-width: 16em; }
.hero-split { align-items: center; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  border-radius: 18px;
  border: 3px solid rgba(255, 205, 0, .45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.hero .eyebrow {
  display: inline-block;
  color: var(--yellow);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .85rem;
  margin-bottom: .8em;
}
.hero-sub {
  font-size: 1.18rem;
  color: #c9d6ea;
  max-width: 44rem;
  margin-bottom: 1.6em;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2.4em; }

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-bar li {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  font-weight: 700;
  font-size: .92rem;
  color: #eef3fb;
}
.trust-bar .t-ico {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

/* ---------- Two-column rows ---------- */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

/* ---------- Video ---------- */
.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--yellow);
  background: #000;
}
.video-frame video { width: 100%; aspect-ratio: 16 / 9; }
.video-caption { font-size: .9rem; color: var(--muted); margin-top: .6em; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--services { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--services { grid-template-columns: repeat(3, 1fr); } }
.grid--why { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--why { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 4px 14px rgba(16, 31, 51, .05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico {
  font-size: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--yellow);
  margin-bottom: .8em;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Pull quote ---------- */
.pullquote {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px 34px;
  text-align: center;
  margin: 56px 0 0;
  border-top: 6px solid var(--yellow);
}
.pullquote blockquote {
  margin: 0;
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.45;
  color: var(--yellow);
}
.pullquote cite {
  display: block;
  margin-top: 1em;
  font-style: normal;
  font-size: .95rem;
  color: #aebdd3;
}

/* ---------- Near-me keyword band ---------- */
.nearme-list { list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .nearme-list { grid-template-columns: 1fr 1fr; } }
.nearme-list li {
  background: var(--white);
  border-left: 5px solid var(--yellow);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  box-shadow: 0 3px 10px rgba(16, 31, 51, .06);
  font-size: .99rem;
}
.nearme-list strong { color: var(--navy); }

/* ---------- Gallery ---------- */
.grid--gallery { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--gallery { grid-template-columns: repeat(3, 1fr); } }
/* ---------- Leadership team ---------- */
.grid--team { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .grid--team { grid-template-columns: repeat(2, 1fr); } }
.card--team { text-align: center; }
.card--team img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  margin-bottom: 1em;
  display: block;
}
.team-role { color: var(--navy); font-weight: 700; margin: 0; }
.work-shot {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light);
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(16, 31, 51, .06);
}
.work-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work-shot figcaption {
  padding: 14px 16px;
  font-size: .93rem;
  color: var(--muted);
  background: var(--white);
}
.work-shot figcaption strong { color: var(--navy); display: block; margin-bottom: 2px; }

/* ---------- Service area ---------- */
.grid--counties { grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .grid--counties { grid-template-columns: repeat(5, 1fr); } }
.county {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 22px 18px;
}
.county h3 {
  font-size: 1.02rem;
  color: var(--navy);
  border-bottom: 3px solid var(--yellow);
  padding-bottom: .5em;
  margin-bottom: .7em;
}
.county ul { list-style: none; margin: 0; padding: 0; font-size: .94rem; color: var(--muted); }
.county li { padding: .18em 0; }
.county h3 a, .county li a { color: inherit; text-decoration: none; }
.county h3 a:hover, .county li a:hover { text-decoration: underline; }
.area-note {
  text-align: center;
  margin-top: 2em;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px;
}
.area-note p { margin: 0 0 1em; color: #c9d6ea; }
.area-note strong { color: var(--yellow); }

/* ---------- Estimate checklist ---------- */
.check-list { list-style: none; margin: 1.2em 0; padding: 0; display: grid; gap: 12px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.check-list .check {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
}
.fine-print {
  font-size: .92rem;
  color: var(--muted);
  background: #fff8dd;
  border: 1px dashed var(--yellow-dark);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 1.2em;
}
.cta-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  border-top: 6px solid var(--yellow);
}
.cta-panel h2 { color: var(--white); }
.cta-panel p { color: #c9d6ea; }

/* ---------- Blog cards ---------- */
.grid--blog { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--blog { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(16, 31, 51, .05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card .tag {
  display: inline-block;
  align-self: flex-start;
  font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  background: var(--yellow); color: var(--navy);
  border-radius: 999px; padding: .3em 1em; margin: 18px 20px 0;
}
.post-card-body { padding: 12px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { margin: .4em 0 .5em; }
.post-card .meta { font-size: .85rem; color: var(--muted); margin-bottom: .7em; }
.post-card p.excerpt { font-size: .96rem; color: var(--muted); flex: 1; }
.post-card .readmore { font-weight: 800; color: var(--navy); margin-top: .6em; }
.post-card:hover .readmore { text-decoration: underline; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: none; border: none; cursor: pointer;
  padding: 18px 20px;
  font-size: 1.05rem; font-weight: 800; color: var(--navy);
  text-align: left;
  font-family: inherit;
}
.faq-q .plus {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900; line-height: 1;
  transition: transform .2s ease;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 20px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }
.faq-a a { color: var(--navy); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #aebdd3;
  padding: 56px 0 110px;
  font-size: .95rem;
}
.site-footer .foot-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .site-footer .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer img.foot-logo { height: 64px; width: auto; margin-bottom: 1em; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: .8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45em; }
.site-footer a { color: #dbe4f0; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.foot-phone { font-size: 1.5rem; font-weight: 800; color: var(--yellow) !important; text-decoration: none; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: 36px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .85rem; color: #8b9bb5;
}

/* ---------- Mobile tap-to-call bar ---------- */
.mobile-callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--navy);
  border-top: 3px solid var(--yellow);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.mobile-callbar a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--yellow); color: var(--navy);
  font-weight: 900; font-size: 1.15rem; text-decoration: none;
  border-radius: 12px; padding: .75em;
}

/* ---------- Blog post article ---------- */
.breadcrumb { font-size: .88rem; color: var(--muted); margin: 26px 0 6px; }
.breadcrumb a { color: var(--navy); font-weight: 700; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article { max-width: 760px; margin: 0 auto; padding-bottom: 40px; }
.article .byline { color: var(--muted); font-size: .92rem; margin-bottom: 1.6em; }
.article .byline strong { color: var(--navy); }
.article h2 { margin-top: 1.8em; }
.article ul, .article ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.article li { margin-bottom: .5em; }
.article .article-cta {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius);
  border-top: 6px solid var(--yellow);
  padding: 32px 28px; margin: 2.5em 0; text-align: center;
}
.article .article-cta h2 { color: var(--white); margin-bottom: .4em; }
.article .article-cta p { color: #c9d6ea; }
.related { margin: 3em 0 1em; }
.related h2 { font-size: 1.4rem; }
.article-hero-img { border-radius: var(--radius); margin: 1.5em 0; box-shadow: var(--shadow); }

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 3px solid var(--yellow);
    box-shadow: 0 18px 30px rgba(16, 31, 51, .14);
    padding: 10px 20px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { display: block; padding: .8em .4em; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .header-cta { margin: 12px 0 0; }
  .header-cta .btn { width: 100%; }
  .site-header { position: sticky; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 60px 0 70px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .grid--counties { grid-template-columns: 1fr 1fr; }
  .mobile-callbar { display: block; }
  body { padding-bottom: 0; }
  .brand img { height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---- scraped content pages ---- */
.article-body { max-width: 46rem; }
.article-body h2 { margin-top: 1.8em; }
.article-body h3 { margin-top: 1.4em; }
.quick-answer {
  background: #fffbe6;
  border: 2px solid #FFCD00;
  border-radius: 12px;
  padding: 1.4em 1.6em;
  margin: 2em 0;
  max-width: 46rem;
}
.quick-answer h2 { margin-top: 0; font-size: 1.35rem; }
.quick-answer ul { margin-bottom: 0; }
.content-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5em 0;
  display: block;
}
.town-list {
  columns: 2;
  column-gap: 2em;
  list-style: none;
  padding: 0;
  margin: 0 0 2em;
}
.town-list li { margin-bottom: .45em; break-inside: avoid; }
.town-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.town-list a:hover { text-decoration: underline; }
@media (max-width: 640px) { .town-list { columns: 1; } }
.stars { color: var(--yellow-dark); letter-spacing: 3px; font-size: 1.1rem; }
.review-card { display: flex; flex-direction: column; gap: .5rem; }
.review-card blockquote { margin: 0; font-style: italic; font-size: .95rem; }
.review-card .reviewer { font-weight: 700; color: var(--navy); }
.review-card .review-date { font-size: .85rem; color: var(--muted); }
