/* ==========================================================================
   LeakFix Oak Park — Stylesheet
   Mobile-first, dependency-free, system fonts for Core Web Vitals.
   ========================================================================== */

:root {
  --blue-900: #0b2545;
  --blue-800: #103a63;
  --blue-700: #144f86;
  --blue-600: #1668b3;
  --blue-500: #1c7fd6;
  --blue-100: #e7f2fc;
  --blue-50: #f3f9fd;
  --amber-500: #e8912a;
  --amber-600: #cf7a17;
  --ink-900: #14213a;
  --ink-700: #384866;
  --ink-500: #5b6c88;
  --ink-300: #94a3b8;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f9fc;
  --success: #1a7f4e;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(11,37,69,.08);
  --shadow-md: 0 6px 20px rgba(11,37,69,.10);
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
svg { width: 1em; height: 1em; vertical-align: -0.125em; flex-shrink: 0; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
h1,h2,h3,h4 { line-height: 1.22; margin: 0 0 .6em; color: var(--blue-900); font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .08em;
  font-size: .8rem; font-weight: 700; color: var(--blue-600); margin-bottom: .5em;
}
.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 2.2rem; }
.section-head.center { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.08rem; color: var(--ink-700); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .45em; justify-content: center;
  font-weight: 700; padding: .55em 1.1em; border-radius: 7px; border: 2px solid transparent;
  cursor: pointer; font-size: .9rem; transition: background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
}
.btn svg { width: .95em; height: .95em; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--amber-500); color: #fff; }
.btn-primary:hover { background: var(--amber-600); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-secondary { background: var(--blue-600); color: #fff; }
.btn-secondary:hover { background: var(--blue-700); }
.btn-block { width: 100%; }

/* Top utility bar */
.topbar {
  background: var(--blue-900); color: #cfe3f7; font-size: .85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 700; }
.topbar .zips { color: #9fc0e5; }

/* Header / Nav */
header.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: .6rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--blue-900); font-size: 1.05rem; white-space: nowrap; }
@media (min-width: 480px) { .brand { font-size: 1.25rem; } }
.brand-mark {
  width: 42px; height: 42px; border-radius: 9px; background: linear-gradient(145deg, var(--blue-600), var(--blue-900));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--ink-500); letter-spacing: .03em; }

nav.main-nav { display: none; }
nav.main-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; align-items: center; }
nav.main-nav > ul > li { position: relative; }
nav.main-nav a { color: var(--ink-900); font-weight: 600; font-size: .96rem; }
nav.main-nav > ul > li > a:hover { color: var(--blue-600); }
.has-dropdown > .dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: var(--shadow-md); border-radius: 8px; padding: .6rem; min-width: 280px; border: 1px solid var(--line); list-style: none; margin: 0; }
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { display: block; }
.dropdown li a { display: block; padding: .5rem .7rem; border-radius: 6px; font-weight: 500; }
.dropdown li a:hover { background: var(--blue-50); text-decoration: none; }

.header-cta { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.header-cta .btn-secondary { display: none; }
@media (min-width: 640px) { .header-cta .btn-secondary { display: inline-flex; } }
@media (min-width: 960px) { .header-cta { gap: .9rem; } }
.header-phone { display: none; font-weight: 800; color: var(--blue-900); font-size: 1.05rem; }
.header-phone span { display: block; font-size: .72rem; font-weight: 600; color: var(--ink-500); }

.menu-toggle {
  background: var(--blue-800); border: none; color: #fff; width: 42px; height: 42px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

#mobile-menu {
  display: none; flex-direction: column; background: #fff; border-top: 1px solid var(--line);
  padding: .5rem 0 1rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a { display: block; padding: .7rem 20px; color: var(--ink-900); font-weight: 600; border-bottom: 1px solid var(--line); }
#mobile-menu .sub { padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
#mobile-menu .sub-label { padding: .6rem 20px .2rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); font-weight: 700; }
#mobile-menu .sub a { display: block; padding: .5rem 20px .5rem 34px; font-weight: 500; font-size: .93rem; border-bottom: none; }

@media (min-width: 960px) {
  nav.main-nav { display: block; }
  .menu-toggle { display: none; }
  .header-phone { display: block; }
}

/* Hero */
.hero {
  background: linear-gradient(120deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--blue-600) 100%);
  color: #fff; padding: 54px 0 60px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .10; pointer-events: none;
  background-image: radial-gradient(circle at 85% 20%, #fff 0, transparent 45%), radial-gradient(circle at 10% 90%, #fff 0, transparent 40%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { color: #fff; }
.hero .lead { color: #dbe9fb; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin: 1.3rem 0; padding: 0; list-style: none; }
.hero-badges li { display: flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 700; color: #eaf3fd; }
.hero-badges svg { width: 18px; height: 18px; color: var(--amber-500); flex-shrink: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.hero-card {
  background: #fff; color: var(--ink-900); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-md);
}
.hero-card h2 { font-size: 1.2rem; }
.hero-card .phone-big { font-size: 1.5rem; font-weight: 800; color: var(--blue-700); display: block; margin: .4rem 0 1rem; }
.hero-card ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.hero-card ul li { display: flex; gap: .5rem; padding: .35rem 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-700); }
.hero-card ul li:first-child { border-top: none; }
.hero-card ul li svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; margin-top: 3px; }

/* Breadcrumb */
.breadcrumb { background: var(--blue-50); font-size: .85rem; padding: 10px 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; color: var(--ink-500); }
.breadcrumb a { color: var(--blue-700); font-weight: 600; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .4rem; color: var(--ink-300); }

/* Cards grid */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .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: 1.5rem;
  box-shadow: var(--shadow-sm); height: 100%;
}
.card .icon { width: 46px; height: 46px; border-radius: 9px; background: var(--blue-100); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.card .icon svg { width: 24px; height: 24px; color: var(--blue-700); }
.card h3 { margin-bottom: .5rem; font-size: 1.08rem; }
.card p { color: var(--ink-700); font-size: .95rem; margin-bottom: .8rem; }
.card a.more { font-weight: 700; font-size: .9rem; }

.service-card { display: flex; flex-direction: column; }
.service-card .more { margin-top: auto; }

/* Signs / feature list */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
@media (min-width: 700px) { .check-list.two-col { grid-template-columns: 1fr 1fr; } }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; color: var(--ink-700); }
.check-list svg { width: 19px; height: 19px; color: var(--success); flex-shrink: 0; margin-top: 3px; }

/* Process steps */
.steps { display: grid; gap: 1.4rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4,1fr); } }
.step { position: relative; padding: 1.4rem 1.2rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-700); color: #fff; font-weight: 800; margin-bottom: .8rem; }

/* Trust strip */
.trust-strip { background: var(--blue-900); color: #fff; }
.trust-strip .grid { grid-template-columns: repeat(2,1fr); text-align: center; }
@media (min-width: 700px) { .trust-strip .grid { grid-template-columns: repeat(4,1fr); } }
.trust-strip .stat b { display: block; font-size: 1.6rem; color: #fff; }
.trust-strip .stat span { font-size: .84rem; color: #b9d3f0; }

/* Two column content */
.split { display: grid; gap: 2.2rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.3fr .9fr; } }
.side-box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.side-box h3 { font-size: 1.05rem; }
.side-box .call-block { background: var(--blue-900); color: #fff; border-radius: var(--radius); padding: 1.3rem; margin-top: 1.2rem; text-align: center; }
.side-box .call-block a.phone { display: block; font-size: 1.3rem; font-weight: 800; color: #fff; margin: .5rem 0; }

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: 8px; margin-bottom: .8rem; overflow: hidden; background: #fff; }
.faq-item summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--blue-600); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 1.2rem 1.1rem; color: var(--ink-700); }

/* Area grid */
.area-tag-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.area-tag { background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-800); padding: .5rem .9rem; border-radius: 30px; font-size: .88rem; font-weight: 700; }

/* CTA banner */
.cta-banner { background: linear-gradient(120deg, var(--blue-800), var(--blue-600)); color: #fff; text-align: center; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #dceafb; }

/* Table */
table.data-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .93rem; }
table.data-table th, table.data-table td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
table.data-table th { background: var(--blue-50); color: var(--blue-900); }

/* Disclaimer */
.footer-disclaimer { font-size: .78rem; color: var(--ink-500); line-height: 1.5; margin: 0; }

/* Footer */
footer.site-footer { background: var(--blue-900); color: #b9d3f0; padding-top: 50px; }
footer.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1rem; }
footer.site-footer .grid { grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 780px) { footer.site-footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
footer.site-footer a { color: #cfe3f7; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer ul li { margin-bottom: .55rem; font-size: .92rem; }
footer.site-footer .foot-brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: #fff; font-size: 1.15rem; margin-bottom: .8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding: 22px 0; font-size: .82rem; color: #93b3da; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; }
.footer-bottom a { color: #cfe3f7; }
.footer-legal { padding: 26px 0; }

/* Sticky mobile call bar */
.mobile-call-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--amber-500);
  display: flex; box-shadow: 0 -4px 14px rgba(0,0,0,.15);
}
.mobile-call-bar a { flex: 1; text-align: center; padding: 10px 8px; color: #fff; font-weight: 700; font-size: .85rem; }
.mobile-call-bar a svg { width: .9em; height: .9em; }
@media (min-width: 960px) { .mobile-call-bar { display: none; } }
body { padding-bottom: 50px; }
@media (min-width: 960px) { body { padding-bottom: 0; } }

/* Utility */
.mt-0 { margin-top: 0; }
.text-muted { color: var(--ink-500); }
.badge-row { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1rem; }
.badge-row span { font-size: .85rem; font-weight: 700; color: var(--ink-500); display: flex; align-items: center; gap: .4rem; }
.badge-row svg { width: 16px; height: 16px; color: var(--blue-600); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: #fff; color: var(--blue-900); padding: .7rem 1rem; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

address { font-style: normal; }
