/* Illinois Restoration Pros - Variant 0 "Deep Water"
   Navy #0B2545 / Teal #0E7C7B / Orange #F97316 CTA
   Mobile-first, system fonts, no external resources. */

:root {
  --navy: #0B2545;
  --navy-700: #12315a;
  --navy-900: #071a33;
  --teal: #0E7C7B;
  --teal-dark: #0a5f5e;
  --teal-050: #e8f4f3;
  --teal-100: #d2e9e8;
  --orange: #F97316;
  --orange-dark: #e05f06;
  --ink: #16283f;
  --muted: #4d6075;
  --line: #dbe3ec;
  --bg: #f6f9fb;
  --white: #ffffff;
  --radius: 12px; /* Deep Water rounded */
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow: 0 6px 20px rgba(11, 37, 69, 0.09);
  --shadow-lg: 0 16px 38px rgba(11, 37, 69, 0.17);
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 60px;
  --s9: 80px;
  --wrap: 1140px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--white);
  padding-bottom: 78px;
}

h1, h2, h3 {
  margin: 0 0 var(--s4);
  color: var(--navy);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.85rem, 5.4vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.05rem); }
h3 { font-size: 1.14rem; }

p { margin: 0 0 var(--s4); }
ul, ol { margin: 0 0 var(--s4); padding-left: 1.3em; }
li { margin-bottom: var(--s2); }

a { color: var(--teal-dark); text-underline-offset: 2px; }
a:hover { color: var(--teal); }

img, svg { max-width: 100%; }
svg { display: block; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--s4);
}

section { padding: var(--s8) 0; }
.section-alt { background: var(--bg); }
.section-tight { padding: var(--s7) 0; }
.section-head { max-width: 760px; margin: 0 0 var(--s6); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.lede { font-size: 1.08rem; color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 3px solid var(--teal);
  box-shadow: 0 2px 12px rgba(4, 15, 31, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.15;
}
.brand:hover { color: #fff; }
.brand svg { width: 30px; height: 30px; flex: none; }

.main-nav { display: none; gap: var(--s5); }
.main-nav a {
  color: #d7e4f2;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover { color: #fff; }

.header-call { padding: 10px 16px; font-size: 0.95rem; }
.header-call svg { width: 17px; height: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-cta {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.34);
}
.btn-cta:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

.btn-teal {
  background: var(--teal);
  color: #fff;
}
.btn-teal:hover { background: var(--teal-dark); color: #fff; }

.btn-lg { padding: 17px 30px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 420px at 50% -10%, rgba(14, 124, 123, 0.55), transparent 70%),
    linear-gradient(165deg, var(--navy) 0%, #0d2f5c 55%, #0a4a56 100%);
  color: #fff;
  text-align: center;
  padding: var(--s8) 0 var(--s9);
  overflow: hidden;
}
.hero h1 { color: #fff; max-width: 900px; margin: 0 auto var(--s4); }
.hero .lede { color: #d7e6f3; max-width: 730px; margin: 0 auto var(--s6); font-size: 1.12rem; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: var(--s3); }
.hero .cta-note { color: #bcd2e6; font-size: 0.92rem; margin: var(--s3) 0 0; }

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s3) var(--s5);
  margin: var(--s6) 0 0;
  padding: 0;
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e6f0f8;
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0;
}
.hero-badges svg { width: 18px; height: 18px; color: #7fd0cd; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--teal-050);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  padding: var(--s5) 0;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.35;
}
.trust-item svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 1px; }
.trust-item small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}
.card {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s5);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-100);
}
.card h3 { margin-bottom: 0; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { color: var(--teal-dark); }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }
.card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-050);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: var(--s2);
}
.card .card-icon svg { width: 24px; height: 24px; }
.card-link {
  margin-top: auto;
  padding-top: var(--s2);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

/* ---------- Process steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: var(--s5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--s5); padding-top: calc(var(--s5) + 42px);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: var(--s5);
  top: var(--s4);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.step h3 { margin-bottom: var(--s1); }
.step p { margin-bottom: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Benefits ---------- */
.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s4);
}
.benefits li {
  display: flex;
  gap: var(--s3);
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4);
}
.benefits svg { width: 24px; height: 24px; color: var(--teal); flex: none; margin-top: 3px; }
.benefits strong { display: block; color: var(--navy); }
.benefits span { color: var(--muted); font-size: 0.93rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s3); }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq details[open] { border-color: var(--teal-100); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  font-weight: 700;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--teal);
  flex: none;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .faq-body { padding: 0 var(--s5) var(--s4); color: var(--muted); }
.faq .faq-body p { margin-bottom: var(--s3); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Cities ---------- */
.city-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
}
.city-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s2);
  padding: 11px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
}
.city-link:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  box-shadow: var(--shadow);
}
.city-link .pop {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.76rem;
  white-space: nowrap;
}

.alpha-group { margin-bottom: var(--s6); }
.alpha-group h2 {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 1.35rem;
  border-bottom: 2px solid var(--teal-100);
  padding-bottom: var(--s2);
}
.alpha-group h2 .letter {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.05rem;
}
.alpha-count { color: var(--muted); font-size: 0.82rem; font-weight: 600; margin-left: auto; }

/* ---------- Prose (legal & informational pages) ---------- */
.prose { max-width: 840px; }
.prose h2 { margin-top: var(--s6); font-size: 1.5rem; }
.prose h3 { margin-top: var(--s5); }
.prose ul li { color: var(--ink); }
.prose .updated { color: var(--muted); font-size: 0.88rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 320px at 50% -20%, rgba(14, 124, 123, 0.5), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, #0d2f5c 60%, #0a4a56 100%);
  color: #fff;
  padding: var(--s7) 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: var(--s3); }
.page-hero .lede { color: #d7e6f3; max-width: 760px; margin: 0 auto var(--s5); }
.page-hero .hero-cta { align-items: center; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 0.87rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 12px 0;
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 4px; }
.breadcrumbs li + li::before { content: "/"; color: var(--muted); margin-right: 4px; }
.breadcrumbs a { text-decoration: none; font-weight: 600; }
.breadcrumbs [aria-current="page"] { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(14, 124, 123, 0.5), transparent 70%),
    linear-gradient(140deg, var(--navy) 0%, #0d3160 70%, #0a4a56 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: var(--s7) var(--s5);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7e6f3; max-width: 640px; margin: 0 auto var(--s5); }
.cta-band .btn { margin: 0 auto; }

/* ---------- Info columns ---------- */
.info-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}
.info-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s5);
  box-shadow: var(--shadow);
}
.info-box h3 { display: flex; align-items: center; gap: 10px; }
.info-box h3 svg { width: 22px; height: 22px; color: var(--teal); }
.info-box p:last-child, .info-box ul:last-child { margin-bottom: 0; }

.zip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin: var(--s3) 0 0;
  padding: 0;
}
.zip-list li {
  margin: 0;
  background: var(--teal-050);
  border: 1px solid var(--teal-100);
  color: var(--navy);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.nearby-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
  margin: var(--s3) 0 0;
  padding: 0;
}
.nearby-list li { margin: 0; }
.nearby-list a {
  display: block;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.nearby-list a:hover { border-color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #a9bdd4;
  padding: var(--s8) 0 var(--s6);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: var(--s3); }
.site-footer a { color: #d7e4f2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--s2); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; margin-bottom: var(--s3); }
.footer-brand svg { width: 28px; height: 28px; }
.footer-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--s2);
  font-weight: 800;
  color: #fff !important;
  font-size: 1.08rem;
}
.footer-call svg { width: 18px; height: 18px; color: var(--orange); }

.disclaimers {
  margin-top: var(--s7);
  padding-top: var(--s5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: var(--s3);
  font-size: 0.78rem;
  line-height: 1.55;
  color: #8fa5be;
}
.disclaimers a { color: #bcd2e6; text-decoration: underline; }

/* ---------- Mobile call bar ---------- */
.mobile-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--navy);
  border-top: 2px solid var(--teal);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 18px rgba(4, 15, 31, 0.3);
}
.mobile-call-bar .btn { width: 100%; padding: 13px 18px; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .info-cols { grid-template-columns: 1fr 1fr; }
  .nearby-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .main-nav { display: flex; }
  .mobile-call-bar { display: none; }
  .header-call { padding: 11px 20px; font-size: 1rem; }
  section { padding: var(--s9) 0; }
  .hero { padding: var(--s9) 0; }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid .step:last-child { grid-column: 1 / -1; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .city-grid { grid-template-columns: repeat(4, 1fr); }
  .nearby-list { grid-template-columns: repeat(4, 1fr); }
  .hero-cta { flex-direction: row; justify-content: center; }
  .page-hero .hero-cta { flex-direction: column; }
}

@media (min-width: 1100px) {
  .hero { padding: 110px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover { transform: none; }
}
