/* Naperville Water Damage Restoration -- editorial service manual
   Royal blue + warm cream + restrained red. Shared chrome/subpage
   classes are styled here too so index.html and the inner pages match. */
:root {
  --royal: #1d4ea3;
  --royal-deep: #15366c;
  --ink: #1b2434;
  --muted: #59616f;
  --cream: #f7efdb;
  --cream-deep: #efe3c6;
  --white: #fff;
  --line: #e2d6ba;
  --red: #bf3a2e;
  --red-deep: #9f2c22;
  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-text-size-adjust: 100%;
}
img { display: block; width: 100%; height: auto; }
p { margin-top: 0; }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); color: var(--royal-deep); line-height: 1.14; letter-spacing: -.01em; }
a { color: inherit; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: var(--white); padding: 10px 14px; border: 2px solid var(--royal); }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 26px;
  border: 0;
  border-radius: 2px;
  background: var(--royal);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .01em;
  text-decoration: none;
}
.button:hover { background: var(--royal-deep); }
.button-large { width: 100%; min-height: 58px; font-size: 1.08rem; }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Top utility bar */
.top-call {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
  min-height: 38px;
  padding: 7px 20px;
  background: var(--royal-deep);
  color: #dfe7f6;
  font-size: .82rem;
  text-align: center;
}
.top-call a { color: var(--white); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 10px clamp(18px, 4vw, 40px);
  background: rgba(247, 239, 219, .97);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; color: var(--royal-deep); font-family: var(--serif); font-weight: 700; font-size: 1.02rem; line-height: 1.1; text-decoration: none; }
.brand-badge { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 3px; background: var(--royal); color: var(--white); font-family: var(--sans); font-weight: 800; font-size: .72rem; letter-spacing: .04em; }
.site-header nav { display: none; }
.site-header nav a { color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; }
.site-header nav a:hover { color: var(--royal); }
.header-call { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 16px; border-radius: 2px; background: var(--royal); color: var(--white); font-weight: 800; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.header-call:hover { background: var(--royal-deep); }

/* Labels */
.eyebrow, .kicker { display: inline-block; margin-bottom: 12px; color: var(--red-deep); font-family: var(--sans); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

/* Section framing */
.section { padding: clamp(44px, 7vw, 76px) 0; }
.sec-head { max-width: 780px; margin-bottom: 30px; padding-top: 16px; border-top: 2px solid var(--ink); }
.sec-num { display: block; margin: 0 0 14px; font-family: var(--serif); font-size: .95rem; font-weight: 700; letter-spacing: .22em; color: var(--red-deep); }
.sec-head h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 4.5vw, 2.5rem); }
.sec-head p { margin: 0; max-width: 60ch; color: var(--muted); }

/* Hero */
.hero { padding: 26px 0 34px; background: linear-gradient(180deg, var(--white), var(--cream)); }
.hero-grid { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { margin: 0 0 14px; max-width: 15ch; font-size: clamp(2rem, 7vw, 2.5rem); }
.hero-lead { max-width: 52ch; margin: 0 0 22px; font-size: 1.06rem; color: var(--ink); }
.hero-note { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { aspect-ratio: 16 / 11; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.hero-photo::after { content: ""; position: absolute; left: -6px; bottom: -6px; width: 64px; height: 6px; background: var(--red); }

/* 01 -- service index */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index-list li { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.index-list .n { grid-row: 1; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--red-deep); }
.index-list h3 { grid-column: 2; margin: 0 0 6px; font-size: 1.2rem; }
.index-list p { grid-column: 2; margin: 0; color: var(--muted); }
.index-list a { grid-column: 2; display: inline-block; margin-top: 11px; color: var(--royal); font-weight: 800; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }

/* 02 -- Naperville risk (photo band) */
.risk { position: relative; color: var(--white); background: linear-gradient(160deg, rgba(21, 54, 108, .93), rgba(21, 54, 108, .82)), url("/__site-assets/waterdamagerestorationnapervilleil.com/images/naperville-floor-drying-bg.jpg?cfv=assetfix-20260513d-1788795543784"); background-size: cover; background-position: center; }
.risk .sec-head { border-top-color: rgba(255, 255, 255, .45); }
.risk .sec-num { color: #f2c9a0; }
.risk h2, .risk h3 { color: var(--white); }
.risk .sec-head p { color: #e6ecf7; }
.risk-grid { display: grid; gap: 14px; }
.risk-card { padding: 22px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-left: 4px solid var(--red); border-radius: 3px; }
.risk-card h3 { margin: 0 0 8px; font-size: 1.14rem; }
.risk-card p { margin: 0; color: #e6ecf7; }

/* 03 -- method */
.method-grid { display: grid; gap: 22px; }
.method-item { padding-top: 18px; border-top: 3px solid var(--royal); }
.method-item h3 { margin: 0 0 8px; font-size: 1.2rem; }
.method-item p { margin: 0; color: var(--muted); }

/* 04 -- timeline */
.timeline { background: var(--cream-deep); }
.stages { list-style: none; margin: 0; padding: 0; }
.stages li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 0 0 26px; }
.stages li:last-child { padding-bottom: 0; }
.stages li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--royal); opacity: .35; }
.stages .step { position: relative; z-index: 2; display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--royal); color: var(--white); font-family: var(--serif); font-weight: 700; font-size: 1.1rem; }
.stages h3 { margin: 6px 0 5px; font-size: 1.15rem; }
.stages p { margin: 0; color: var(--muted); }

/* 05 -- insurance */
.insurance-grid { display: grid; gap: 26px; align-items: center; }
.insurance-copy .sec-head { margin-bottom: 0; }
.check { list-style: none; margin: 22px 0 16px; padding: 0; display: grid; gap: 10px; }
.check li { position: relative; padding-left: 28px; }
.check li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--royal); font-weight: 900; }
.disclaimer { margin: 0; padding: 13px 16px; background: var(--cream-deep); border-left: 4px solid var(--red); border-radius: 2px; color: var(--muted); font-size: .9rem; }
.insurance-photo { margin: 0; }
.insurance-photo img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.insurance-photo figcaption { margin-top: 8px; color: var(--muted); font-size: .8rem; }

/* 06 -- area / community */
.area { background: var(--cream-deep); }
.area-grid { display: grid; gap: 26px; align-items: center; }
.area-copy .sec-head { margin-bottom: 20px; }
.area-copy p { color: var(--ink); }
.text-link { display: inline-block; margin: 4px 0 6px; color: var(--royal); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.area-copy .button { display: inline-flex; margin-top: 14px; }
.area-photo { margin: 0; }
.area-photo img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }

/* 07 -- FAQ */
.faq-wrap { width: min(100% - 40px, 860px); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { padding: 0 18px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--royal); border-radius: 3px; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; font-family: var(--serif); font-weight: 700; color: var(--royal-deep); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; color: var(--red); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 0 0 18px; color: var(--muted); }

/* Final call (shared with subpages) */
.final-call { padding: clamp(44px, 7vw, 72px) clamp(20px, 5vw, 40px); background: var(--royal-deep); color: #e9eefb; text-align: center; }
.final-call span { display: block; margin-bottom: 12px; color: #f2c9a0; font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.final-call h2 { margin: 0 auto 12px; max-width: 20ch; color: var(--white); font-size: clamp(1.7rem, 4.5vw, 2.5rem); }
.final-call p { max-width: 56ch; margin: 0 auto 24px; color: #dfe6f5; }
.final-call .button { background: var(--cream); color: var(--royal-deep); }
.final-call .button:hover { background: var(--white); }

/* Footer */
.site-footer { display: grid; gap: 24px; padding: clamp(38px, 6vw, 54px) clamp(20px, 5vw, 40px) 30px; background: var(--ink); color: #c3ccd9; }
.site-footer > div:first-child strong { display: block; margin-bottom: 8px; color: var(--white); font-family: var(--serif); font-size: 1.05rem; }
.site-footer > div:first-child p { max-width: 60ch; margin: 0; font-size: .92rem; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #d3dbe6; font-weight: 700; font-size: .92rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.credit { margin: 0; color: #8b95a5; font-size: .72rem; }
.credit a { color: #aeb8c6; }
.restoration-note { margin: 0; color: #8b95a5; font-size: .72rem; }

/* Sticky mobile call bar */
.mobile-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: calc(66px + env(safe-area-inset-bottom, 0px));
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--royal);
  color: var(--white);
  border-top: 3px solid var(--red);
  box-shadow: 0 -3px 16px rgba(0, 0, 0, .22);
  text-decoration: none;
}
.mobile-call span { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mobile-call strong { font-size: 1.16rem; }

/* -------- Subpage layouts (inner-hero, article, legal) -------- */
.inner-hero { display: flex; flex-direction: column; background: var(--cream-deep); border-bottom: 1px solid var(--line); }
.inner-hero > div { padding: 32px clamp(20px, 5vw, 40px) 38px; }
.breadcrumb { display: inline-block; margin-bottom: 14px; color: var(--royal); font-weight: 800; font-size: .9rem; text-decoration: none; }
.breadcrumb:hover { text-decoration: underline; }
.inner-hero h1 { margin: 6px 0 12px; font-size: clamp(1.9rem, 6vw, 2.6rem); }
.inner-hero p { max-width: 56ch; margin: 0 0 20px; color: var(--ink); }
.inner-hero > img { order: -1; width: 100%; height: 240px; object-fit: cover; }

.article { width: min(100% - 40px, var(--wrap)); margin-inline: auto; padding: clamp(40px, 6vw, 68px) 0; display: grid; gap: 32px; }
.article > article h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.article-steps { margin-top: 26px; }
.article-steps > section { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.article-steps > section > span { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--red-deep); }
.article-steps h3 { margin: 0 0 5px; font-size: 1.12rem; }
.article-steps p { margin: 0; color: var(--muted); }
.local-detail { margin-top: 40px; padding-top: 26px; border-top: 2px solid var(--ink); }
.local-detail h2 { font-size: clamp(1.5rem, 3.6vw, 2rem); }
.local-detail h3 { margin-top: 22px; font-size: 1.14rem; }
.local-detail p { color: var(--ink); }
.local-detail ul { padding-left: 20px; color: var(--muted); }
.local-detail li { margin: 6px 0; }
.article aside { align-self: start; padding: 26px; background: var(--cream-deep); border: 1px solid var(--line); border-top: 4px solid var(--royal); border-radius: 4px; }
.article aside h2 { margin: 6px 0 14px; font-size: 1.3rem; }
.article aside ul { margin: 0 0 20px; padding-left: 20px; }
.article aside li { margin: 6px 0; }
.article aside .button { width: 100%; }

.legal { width: min(100% - 40px, 760px); margin-inline: auto; padding: clamp(40px, 6vw, 72px) 0; }
.legal h1 { margin: 6px 0 10px; font-size: clamp(2rem, 6vw, 3rem); }
.legal h2 { margin-top: 30px; font-size: 1.4rem; }
.legal p { color: var(--ink); }
.legal a { color: var(--royal); text-decoration: underline; text-underline-offset: 3px; }

/* -------- Responsive -------- */
@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .mobile-call { display: none; }
  .button-large { width: auto; min-width: 300px; }
  .hero { padding: 44px 0 52px; }
  .hero-grid { flex-direction: row; align-items: center; gap: 44px; }
  .hero-copy { flex: 1 1 54%; }
  .hero-photo { flex: 1 1 46%; }
  .hero h1 { font-size: clamp(2.3rem, 4.4vw, 3rem); }
  .index-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .index-list li { border-bottom: 1px solid var(--line); }
  .risk-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .insurance-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .area-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .site-footer { grid-template-columns: 1.4fr 1fr; }
  .credit, .restoration-note { grid-column: 1 / -1; }
  .inner-hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; }
  .inner-hero > div { align-self: center; padding-block: clamp(48px, 7vw, 84px); }
  .inner-hero > img { order: 0; height: 100%; min-height: 340px; }
  .article { grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 72px); }
  .article aside { position: sticky; top: 84px; }
}

@media (min-width: 880px) {
  .site-header nav { display: flex; gap: 24px; }
}

@media (min-width: 1040px) {
  .risk-grid { grid-template-columns: repeat(4, 1fr); }
  .method-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 380px) {
  .brand { font-size: .9rem; }
  .hero h1 { font-size: 1.85rem; }
  .top-call span { display: none; }
  .header-call { padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
