/* ==========================================================================
   Peoria Ceiling Water Damage Repair — Global Stylesheet
   Single stylesheet, no build step. Edit the variables in :root to retheme.
   Sections are commented so you can find and change them quickly.
   ========================================================================== */

/* ---- 1. Design tokens (change colors/spacing here) ---------------------- */
:root {
  --navy:        #0f2a43;
  --navy-700:    #13344f;
  --navy-600:    #1a4063;
  --blue:        #1a86d0;
  --blue-dark:   #126aa8;
  --blue-soft:   #e7f2fb;
  --accent:      #ef5a24;   /* emergency / call-to-action */
  --accent-dark: #cf440f;
  --ink:         #12202c;
  --muted:       #566875;
  --line:        #e3eaf0;
  --bg:          #ffffff;
  --bg-alt:      #f3f8fc;
  --bg-navy:     #0f2a43;
  --star:        #f5a623;
  --ok:          #1f9d6b;

  --radius:      14px;
  --radius-sm:   9px;
  --radius-lg:   22px;
  --shadow-sm:   0 2px 10px rgba(16,40,60,.07);
  --shadow:      0 14px 40px rgba(16,40,60,.12);
  --shadow-lg:   0 26px 70px rgba(12,32,50,.22);

  --container:   1180px;
  --gutter:      clamp(16px, 4vw, 40px);

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---- 2. Reset / base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { color: var(--ink); }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ---- 3. Layout helpers -------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--bg-navy); color: #dce8f1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #c3d4e1; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-dark); margin-bottom: 12px;
}
.section--navy .eyebrow { color: #7cc0f0; }
.lead { font-size: 1.14rem; color: var(--muted); }
.section--navy .lead { color: #c3d4e1; }
.mt-0{margin-top:0}.mt-1{margin-top:12px}.mt-2{margin-top:22px}.mt-3{margin-top:34px}

/* ---- 4. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(239,90,36,.32); }
.btn--accent:hover { background: var(--accent-dark); color:#fff; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(26,134,208,.3); }
.btn--blue:hover { background: var(--blue-dark); color:#fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn--light { background:#fff; color: var(--navy); }
.btn--light:hover { background:#eef5fb; color: var(--navy-700); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---- 5. Header / navigation -------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar { background: var(--navy); color: #cfe0ee; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 8px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__badge { color: #8fd0a7; font-weight: 600; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.06rem; letter-spacing: -.01em; }
.brand__tag { font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.nav-toggle, .nav-toggle-label { display: none; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--navy-700);
  padding: 10px 14px; border-radius: 9px;
}
.menu > li > a:hover, .menu > li > a[aria-current="page"] { color: var(--blue-dark); background: var(--blue-soft); text-decoration: none; }
.menu .caret { width: 9px; height: 9px; opacity: .6; }

/* CSS-only dropdowns */
.dropdown__panel {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 236px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .16s ease; list-style: none; margin: 0;
}
.menu > li:hover .dropdown__panel,
.menu > li:focus-within .dropdown__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__panel a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .94rem; font-weight: 500; color: var(--navy-700); }
.dropdown__panel a:hover { background: var(--bg-alt); color: var(--blue-dark); text-decoration: none; }

.nav__cta { display: inline-flex; align-items: center; gap: 12px; }
.nav__phone { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.nav__phone small { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.nav__phone strong { font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; }

/* ---- 6. Hero + lead form ------------------------------------------------ */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__bg {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  z-index:0; opacity:.22;
}
.hero::after {
  content:""; position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(120% 120% at 80% -10%, rgba(26,134,208,.35), transparent 55%),
    linear-gradient(90deg, rgba(15,42,67,.96) 0%, rgba(15,42,67,.78) 45%, rgba(15,42,67,.55) 100%);
  pointer-events:none;
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 4vw, 56px);
  align-items: center; padding: clamp(42px, 6vw, 84px) 0;
}
.hero__badge {
  display:inline-flex; align-items:center; gap:8px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22); color:#fff; font-weight:600; font-size:.82rem;
  padding: 7px 15px; border-radius: 50px; margin-bottom: 20px;
}
.hero__badge .dot { width:8px; height:8px; border-radius:50%; background:#43d68a; box-shadow:0 0 0 4px rgba(67,214,138,.25); }
.hero h1 { color: #fff; }
.hero__sub { color:#c6d8e7; font-size: 1.16rem; margin-top: 18px; max-width: 560px; }
.hero__list { list-style:none; padding:0; margin: 22px 0 0; display:flex; flex-wrap:wrap; gap: 10px 22px; }
.hero__list li { display:flex; align-items:center; gap:9px; color:#e4eef6; font-weight:500; font-size:.98rem; }
.hero__list svg { color:#43d68a; flex:none; }
.hero__actions { display:flex; flex-wrap:wrap; gap:14px; margin-top: 28px; }

/* hero image sits behind / beside; form card floats above it */
.hero__media { position: relative; }
.hero__img {
  width: 100%; height: 100%; min-height: 280px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}

/* Lead form card */
.lead-form {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 30px);
  position: relative; z-index: 3;
}
.lead-form__head { display:flex; align-items:center; gap:12px; margin-bottom: 6px; }
.lead-form h2 { font-size: 1.4rem; }
.lead-form p.sub { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.field { margin-bottom: 13px; }
.field label { display:block; font-size:.82rem; font-weight:600; color: var(--navy-700); margin-bottom:5px; font-family:var(--font-head); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background:#fbfdff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,134,208,.15);
}
.field textarea { resize: vertical; min-height: 86px; }
.field--row { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 12px; text-align:center; }
.hp { position:absolute; left:-9999px; opacity:0; height:0; width:0; }

/* ---- 7. Trust / stats row ---------------------------------------------- */
.trust { display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust__item { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align:center; box-shadow: var(--shadow-sm); }
.trust__item .ico { width:46px; height:46px; margin: 0 auto 12px; color: var(--blue); }
.trust__item h3 { font-size: 1.02rem; }
.trust__item p { font-size: .9rem; color: var(--muted); margin-top:4px; }
.stats { display:flex; flex-wrap:wrap; gap: clamp(20px,4vw,50px); justify-content:center; }
.stat { text-align:center; }
.stat b { font-family:var(--font-head); font-size: clamp(2rem,4vw,2.8rem); color: var(--blue); display:block; line-height:1; }
.section--navy .stat b { color:#6ec3f2; }
.stat span { font-size:.92rem; color: var(--muted); }
.section--navy .stat span { color:#b9cbd9; }

/* ---- 8. Cards ----------------------------------------------------------- */
.grid { display:grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2,1fr); }
.grid--3 { grid-template-columns: repeat(3,1fr); }
.grid--4 { grid-template-columns: repeat(4,1fr); }
.card {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
  height: 100%;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe1ef; }
a.card { color: inherit; text-decoration:none; display:block; }
a.card:hover { text-decoration:none; }
.card__ico { width:52px; height:52px; border-radius:12px; background: var(--blue-soft); color: var(--blue-dark); display:grid; place-items:center; margin-bottom:16px; }
.card__ico svg { width:26px; height:26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size:.96rem; }
.card__more { display:inline-flex; align-items:center; gap:6px; margin-top:14px; font-weight:600; color:var(--blue-dark); font-family:var(--font-head); font-size:.92rem; }
.card--media { padding:0; overflow:hidden; }
.card--media img { aspect-ratio: 16/10; object-fit: cover; width:100%; }
.card--media .card__body { padding: 22px 24px 26px; }

/* image + text split */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,64px); align-items:center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width:100%; aspect-ratio: 4/3; object-fit:cover; }
.split--rev .split__text { order: 2; }

/* checklist */
.ticks { list-style:none; padding:0; margin: 18px 0 0; display:grid; gap:11px; }
.ticks li { display:flex; gap:11px; align-items:flex-start; }
.ticks svg { color: var(--ok); flex:none; margin-top:3px; }

/* ---- 9. Process steps --------------------------------------------------- */
.steps { display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; counter-reset: step; }
.step { position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding: 28px 22px; box-shadow:var(--shadow-sm); }
.step__num { font-family:var(--font-head); font-weight:800; font-size: 1.1rem; width:40px; height:40px; border-radius:50%; background: var(--navy); color:#fff; display:grid; place-items:center; margin-bottom:14px; }
.step h3 { font-size:1.08rem; margin-bottom:6px; }
.step p { font-size:.93rem; color:var(--muted); }

/* ---- 10. FAQ ------------------------------------------------------------ */
.faq { max-width: 860px; margin-inline:auto; display:grid; gap: 12px; }
.faq details { background:#fff; border:1px solid var(--line); border-radius: 12px; padding: 4px 20px; box-shadow: var(--shadow-sm); }
.faq details[open] { border-color:#cfe1ef; }
.faq summary {
  cursor:pointer; list-style:none; padding: 16px 0; font-family:var(--font-head); font-weight:600;
  color:var(--navy); display:flex; justify-content:space-between; gap:16px; align-items:center; font-size:1.04rem;
}
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font-size:1.5rem; color:var(--blue); font-weight:400; transition:.2s; line-height:1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p, .faq details > ul { padding: 0 0 18px; color: var(--muted); margin-top:-2px; }

/* ---- 11. Map ------------------------------------------------------------ */
.map-wrap { border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow); border:1px solid var(--line); line-height:0; }
.map-wrap iframe { width:100%; height: 420px; border:0; display:block; }

/* ---- 12. CTA banner ----------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-600) 60%, var(--blue-dark) 130%);
  color:#fff; border-radius: var(--radius-lg); padding: clamp(34px,5vw,56px);
  display:flex; align-items:center; justify-content:space-between; gap: 28px; flex-wrap:wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 { color:#fff; }
.cta-band p { color:#c6d8e7; margin-top:8px; max-width:560px; }
.cta-band__actions { display:flex; gap:14px; flex-wrap:wrap; }

/* ---- 13. Review invite (no fake reviews) -------------------------------- */
.review-invite { display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.review-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px; text-align:center; box-shadow:var(--shadow-sm); }
.stars { color: var(--star); letter-spacing:3px; font-size:1.2rem; }

/* ---- 14. Back-to-home strip (used on child pages) ----------------------- */
.home-link { font-weight:600; color: var(--blue-dark); display:inline-flex; align-items:center; gap:7px; font-family:var(--font-head); }

/* ---- 15. Footer --------------------------------------------------------- */
.site-footer { background: var(--navy); color:#b7c9d8; padding: clamp(48px,6vw,76px) 0 0; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(28px,4vw,56px); }
.footer-brand .brand__name { color:#fff; }
.footer-brand .brand__tag { color:#8fa8bc; }
.footer-brand p { color:#9fb4c6; font-size:.95rem; margin-top:16px; max-width: 380px; }
.footer-contact { list-style:none; padding:0; margin:18px 0 0; display:grid; gap:11px; font-size:.94rem; }
.footer-contact li { display:flex; gap:11px; align-items:flex-start; }
.footer-contact svg { color:#6ec3f2; flex:none; margin-top:3px; }
.footer-contact a { color:#d7e4ef; }
.socials { display:flex; gap:10px; margin-top:20px; flex-wrap:wrap; }
.socials a { width:40px; height:40px; border-radius:10px; background: rgba(255,255,255,.08); display:grid; place-items:center; color:#cfe0ee; transition:.15s; }
.socials a:hover { background: var(--blue); color:#fff; }
.footer-col h4 { color:#fff; font-size:.98rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; }
.footer-col ul { list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.footer-col a { color:#a9bed0; font-size:.95rem; }
.footer-col a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top: 44px; padding: 22px 0; }
.footer-bottom .container { display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:.86rem; color:#86a0b4; }

/* ---- 16. Page header (interior hero for non-home pages) ----------------- */
.page-hero { background: var(--navy); color:#fff; position:relative; overflow:hidden; }
.page-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(90% 120% at 90% 0%, rgba(26,134,208,.3), transparent 60%); }
.page-hero__inner { position:relative; z-index:2; padding: clamp(40px,6vw,76px) 0; }
.crumbs { font-size:.85rem; color:#9fc0da; margin-bottom:14px; }
.crumbs a { color:#cfe4f3; }
.crumbs span { opacity:.6; margin:0 6px; }
.page-hero h1 { color:#fff; max-width: 820px; }
.page-hero p { color:#c6d8e7; margin-top:14px; max-width: 680px; font-size:1.1rem; }

/* prose for legal/blog */
.prose { max-width: 820px; }
.prose h2 { margin: 34px 0 12px; }
.prose h3 { margin: 24px 0 8px; color:var(--navy-700); }
.prose p, .prose li { color:#374956; }
.prose ul, .prose ol { display:grid; gap:8px; margin: 10px 0; }
.prose a { color: var(--blue-dark); font-weight:500; text-decoration: underline; }
.prose .meta { color: var(--muted); font-size:.9rem; margin-bottom: 20px; }
.prose ul.related { background: var(--bg-alt); border:1px solid var(--line); border-radius:12px; padding:16px 20px 16px 40px; margin-top:10px; }
.prose ul.related li { font-weight:500; }
.prose ul.related a { text-decoration:none; }
.prose ul.related a:hover { text-decoration:underline; }

/* tags */
.tags { display:flex; flex-wrap:wrap; gap:9px; }
.tag { background: var(--blue-soft); color: var(--blue-dark); font-size:.82rem; font-weight:600; padding:6px 13px; border-radius:50px; }

/* ---- 17. Responsive ----------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .trust { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav__phone { display:none; }
  /* mobile menu */
  .nav-toggle-label {
    display:inline-flex; flex-direction:column; gap:5px; cursor:pointer; padding:10px; order: 3; margin-left:auto;
  }
  .nav-toggle-label span { width:24px; height:2px; background: var(--navy); border-radius:2px; transition:.2s; }
  .nav { flex-wrap: wrap; }
  .menu {
    display:none; flex-direction:column; align-items:stretch; width:100%;
    gap:4px; padding: 10px 0 4px; order: 4;
  }
  .nav-toggle:checked ~ .menu { display:flex; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2){ opacity:0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  .menu > li > a { padding: 12px 14px; border-radius:10px; }
  .dropdown__panel {
    position: static; opacity:1; visibility:visible; transform:none; box-shadow:none;
    border:none; border-left:2px solid var(--blue-soft); border-radius:0; margin: 2px 0 6px 14px; padding:2px 0;
  }
  .nav__cta .btn { display:none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps, .trust, .review-invite { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__text { order: 0; }
  .field--row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items:flex-start; }
  .topbar .container { justify-content:center; }
  .topbar__item--hours { display:none; }
}
