/* Water Damage Corvallis — plain CSS, no build step */
:root {
  --navy: #0B2F4A;
  --navy-dark: #07202f;
  --aqua: #1C8FC4;
  --aqua-dark: #15729d;
  --aqua-soft: #e3f2fa;
  --amber: #F2A900;
  --amber-dark: #d39300;
  --ink: #14212b;
  --ink-soft: #4a5a6a;
  --line: #e1e8ee;
  --bg: #fff;
  --bg-alt: #f2f7fa;
  --max: 1160px;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 6px 24px rgba(11, 47, 74, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aqua-dark); }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.3rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { color: var(--navy); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) { .wrap { padding: 0 24px; } }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--navy); padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .75em 1.3em; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--amber { background: var(--amber); color: var(--navy); }
.btn--amber:hover { background: var(--amber-dark); color: var(--navy); transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--lg { font-size: 1.12rem; padding: .9em 1.6em; }
.cta-row { margin: 1.4em 0; }
.more { font-weight: 700; }
.more a { text-decoration: none; }

/* ---------- Header ---------- */
.header-top { background: var(--navy); color: #d8e6ef; font-size: .9rem; }
.header-top__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.header-top a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.header-top a svg { width: 15px; height: 15px; }
@media (max-width: 600px) { .header-top__area { display: none; } .header-top__inner { justify-content: center; } }

.site-nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.nav__logo svg { width: 36px; height: 36px; flex: none; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav__logo-text b { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.nav__logo-text span { font-size: .78rem; font-weight: 700; color: var(--aqua-dark); letter-spacing: .14em; text-transform: uppercase; }

.nav__links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__links > li { margin: 0; position: relative; }
.nav__links a { display: block; padding: 10px 12px; color: var(--navy); font-weight: 600; text-decoration: none; border-radius: 6px; }
.nav__links a:hover { background: var(--bg-alt); }
.nav__links .nav__call { color: var(--navy); padding: 10px 16px; margin-left: 8px; }
.nav__links .nav__call:hover { background: var(--amber-dark); }
.has-dropdown { display: flex; align-items: center; }
.dropdown__toggle { background: none; border: 0; color: var(--navy); cursor: pointer; padding: 6px; font-size: .9rem; }
.dropdown { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: none; }
.has-dropdown:hover .dropdown, .has-dropdown.is-open .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown li { margin: 0; }

.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open .nav__links { display: flex; }
  .site-nav__inner { position: relative; }
  .has-dropdown { flex-wrap: wrap; justify-content: space-between; }
  .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; width: 100%; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .nav__links .nav__call { margin: 10px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(28,143,196,.18), transparent 45%),
    linear-gradient(160deg, #eaf5fb 0%, #d7ecf7 100%);
  padding: 56px 0 60px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20 C240 40 480 0 720 20 S1200 40 1440 20 V40 H0Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
}
.hero__split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero__inner { max-width: 760px; position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-block; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; margin-bottom: 18px;
}
.hero h1 { margin-bottom: .45em; }
.hero__lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero__photo img { border-radius: 14px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero__badge {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 28px; border-top: 5px solid var(--aqua);
}
.hero__badge h2 { font-size: 1.3rem; }
.hero__badge ol { margin: 0; padding-left: 1.2em; }
.hero--compact { padding: 40px 0 44px; }
.trust-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.trust-strip li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.trust-strip li::before { content: "✓"; color: #fff; background: var(--aqua); width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .75rem; font-weight: 900; }
@media (max-width: 900px) { .hero__split { grid-template-columns: 1fr; } .hero { padding: 40px 0 48px; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .9rem; padding-top: 14px; }   /* padding-top only: shorthand would wipe .wrap's side gutters */
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li { margin: 0; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin: 0 6px; color: #9aaab8; }
.breadcrumb a { text-decoration: none; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section .wrap > :last-child { margin-bottom: 0; }
.section__lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 65ch; }
.prose { max-width: 78ch; }
.small { font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 600px) { .section { padding: 40px 0; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 22px; margin: 24px 0 8px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--aqua); border-radius: var(--radius); padding: 24px; }
.section--alt .card { box-shadow: 0 2px 10px rgba(11,47,74,.05); }
.card > :last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; }

/* ---------- Steps ---------- */
ol.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 14px; }
ol.steps > li { counter-increment: step; position: relative; padding: 14px 16px 14px 62px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
ol.steps > li::before {
  content: counter(step); position: absolute; left: 14px; top: 13px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.section--alt ol.steps > li { background: #fff; }

/* ---------- Check lists ---------- */
ul.checks { list-style: none; padding: 0; }
ul.checks li { padding-left: 28px; position: relative; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--aqua-dark); font-weight: 900; }

/* ---------- Area links ---------- */
.area-group__label { font-weight: 800; color: var(--navy); margin: 18px 0 8px; }
.area-links { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.area-links li { margin: 0; }
.area-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--navy); font-weight: 700; transition: border-color .15s, box-shadow .15s; }
.area-link:hover { border-color: var(--aqua); box-shadow: 0 2px 10px rgba(28,143,196,.15); }
.area-link__city { font-weight: 600; font-size: .8rem; color: var(--ink-soft); }
.area-link--more { justify-content: center; color: var(--aqua-dark); }

/* ---------- FAQ ---------- */
.faq { margin: 18px 0; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--aqua-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 14px; }
.faq details > div > :last-child { margin-bottom: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
table { border-collapse: collapse; width: 100%; min-width: 520px; background: #fff; font-size: .95rem; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--navy); color: #fff; }

/* ---------- Phone strip (CTA band) ---------- */
.phone-strip { background: var(--navy); color: #d8e6ef; padding: 40px 0; text-align: center; }
.phone-strip h2 { color: #fff; margin-bottom: .3em; }
.phone-strip .sub { max-width: 60ch; margin: 0 auto 20px; }
.phone-strip a:not(.btn) { color: #fff; }
.cta-inline { background: var(--navy); color: #d8e6ef; border-radius: 12px; padding: 26px; margin: 30px 0; text-align: center; }
.cta-inline h2 { color: #fff; font-size: 1.4rem; margin-bottom: .3em; }
.cta-inline p { margin-bottom: 16px; }
.cta-inline a:not(.btn) { color: #fff; }

/* ---------- Image band ---------- */
.image-band { padding: 8px 0; }
.image-band img { border-radius: 12px; width: 100%; max-height: 340px; object-fit: cover; }

/* ---------- Split layout + call box ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.call-box { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--amber); border-radius: 12px; padding: 24px; box-shadow: var(--shadow); }
.call-box h3 { font-size: 1.15rem; }
.call-box .btn { width: 100%; justify-content: center; margin: 6px 0 16px; }
.call-box ul.checks { margin-bottom: 12px; font-size: .95rem; }
.article h2 { margin-top: 1.6em; }
.article > h2:first-child { margin-top: 0; }
.nap-card { background: var(--bg-alt); border-radius: 12px; padding: 24px; border-left: 5px solid var(--aqua); }
@media (max-width: 900px) {
  .split, .split--even { grid-template-columns: 1fr; }
  .split .call-box { display: none; }
}

/* ---------- Post cards ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.post-card h3 { font-size: 1.12rem; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--aqua-dark); }
.post-card p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.post-card .more { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b9cad7; font-size: .95rem; padding: 52px 0 0; }
.site-footer a { color: #e3eef5; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-brand .nav__logo { color: #fff; margin-bottom: 12px; }
.footer-brand .nav__logo-text span { color: #7cc7ea; }
.footer-brand address { font-style: normal; margin: 10px 0 16px; }
.footer-brand .btn { color: var(--navy); }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding: 22px 0; font-size: .82rem; line-height: 1.6; color: #93a9ba; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 22px; font-size: .82rem; color: #93a9ba; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: 72px; }
  .mobile-call-bar {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; min-height: 64px;
    /* Gradient, never a solid background-color: iOS Safari 26 tints its floating toolbar with the
       background-color of a fixed bottom element, which made the amber bar wrap around the address bar. */
    background-color: transparent;
    background-image: linear-gradient(180deg, #f6b71f 0%, var(--amber) 100%);
    color: var(--navy); text-decoration: none; box-shadow: 0 -4px 18px rgba(0,0,0,.18);
    padding: 8px 16px;
  }
  .mobile-call-bar__main { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; }
  .mobile-call-bar__main svg { width: 20px; height: 20px; }
  .mobile-call-bar__sub { font-size: .8rem; font-weight: 600; }
}

/* ---------- Images ---------- */
/* Homepage hero: photo with the quick-steps card floating over its lower-left corner */
.hero__media { position: relative; padding: 0 0 36px 36px; }
.hero__media::before {
  content: ""; position: absolute; right: -14px; top: -14px; width: 55%; height: 60%;
  border-radius: 16px; background: var(--aqua); opacity: .18; z-index: 0;
}
.hero__media .hero__photo { position: relative; z-index: 1; }
.hero__media .hero__photo img { aspect-ratio: 4 / 3; }
.hero__badge--float { position: absolute; left: 0; bottom: 0; z-index: 2; max-width: 300px; padding: 20px 22px; }
.hero__badge--float h2 { font-size: 1.05rem; margin-bottom: .5em; }
.hero__badge--float ol { font-size: .9rem; line-height: 1.5; }
.hero__badge--float li { margin-bottom: .25em; }
@media (max-width: 900px) {
  .hero__media { padding: 0; margin-top: 8px; }
  .hero__media::before { display: none; }
  .hero__badge--float { position: relative; max-width: none; margin: -40px 14px 0; }
}

/* Text + photo sections (side alternates down the page) */
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.feature--reverse .feature__media { order: -1; }
.feature__text > :last-child { margin-bottom: 0; }
.feature__media { margin: 0; position: relative; }
.feature__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 16px;
  border: 3px solid var(--aqua); opacity: .35; z-index: 0;
}
.feature--reverse .feature__media::before { inset: 18px 18px -18px -18px; }
.feature__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature--reverse .feature__media { order: 0; }
  .feature__media::before { display: none; }
}

/* Lead photo / inline photos in article layouts */
.article__media { margin: 0 0 28px; }
.article__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.article__media--lead img { aspect-ratio: 16 / 8; }
.article .image-band { padding: 4px 0 24px; }
.article .image-band img { max-height: 300px; }

/* Blog post card thumbnails */
.post-card__thumb { display: block; margin: -22px -22px 18px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.post-card__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.post-card { overflow: hidden; }

/* Final call band with a tinted photo */
.phone-strip--photo { background-size: cover; background-position: center 60%; padding: 72px 0; }
.phone-strip--photo h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
@media (max-width: 600px) { .phone-strip--photo { padding: 52px 0; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
