/* Rochester Basement Waterproofing — concrete/earth waterproofing template */

:root {
  --concrete: #4A5568;
  --concrete-deep: #2D3748;
  --concrete-mid: #718096;
  --earth: #C05621;
  --earth-deep: #9C4221;
  --earth-soft: #DD6B20;
  --cream: #F7FAFC;
  --cream-2: #EDF2F7;
  --stone: #E2E8F0;
  --white: #FFFFFF;
  --ink: #1A202C;
  --ink-soft: #4A5568;
  --earth-glow: rgba(192, 86, 33, 0.22);
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 10px 32px rgba(45, 55, 72, 0.14);
  --shadow-earth: 0 8px 24px rgba(192, 86, 33, 0.32);
  --header-h: 72px;
  --callbar-h: 64px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", "Palatino Linotype", Palatino, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  padding-bottom: var(--callbar-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--earth-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--earth); }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--earth); color: #fff; padding: .6rem 1rem; z-index: 1000;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.wrap-narrow { width: min(740px, calc(100% - 2rem)); margin-inline: auto; }

/* —— Sticky charcoal header + amber Call —— */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--concrete-deep);
  border-bottom: 3px solid var(--earth);
  box-shadow: 0 4px 20px rgba(26, 32, 44, 0.35);
}
.header-inner {
  width: min(1120px, calc(100% - 1.5rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 1rem;
}
.wordmark {
  display: flex; align-items: center; gap: .75rem; min-width: 0;
  text-decoration: none; color: #fff; margin-right: auto;
}
.wm-text { min-width: 0; overflow: hidden; }
.wm-top, .wm-mid { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-top {
  display: block; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
}
.wm-mid {
  display: block; font-size: .72rem; color: var(--stone); margin-top: .1rem;
}
.wm-mark {
  width: 40px; height: 40px; border-radius: 4px;
  background: linear-gradient(160deg, var(--earth) 0%, var(--earth-deep) 100%);
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem; color: #fff;
  flex-shrink: 0;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.18);
}
.nav-desktop { display: none; gap: 1.1rem; align-items: center; }
.nav-desktop a {
  color: var(--cream-2); text-decoration: none; font-size: .88rem; font-weight: 600;
}
.nav-desktop a:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font-weight: 700; text-decoration: none; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-earth {
  background: var(--earth); color: #fff !important;
  padding: .7rem 1.15rem; font-size: .95rem;
  box-shadow: var(--shadow-earth);
  border-color: var(--earth-deep);
}
.btn-earth:hover { background: var(--earth-deep); color: #fff !important; }
.btn-outline {
  background: transparent; color: #fff !important;
  border-color: rgba(247,250,252,.45);
  padding: .7rem 1.15rem; font-size: .95rem;
}
.btn-outline:hover { background: rgba(247,250,252,.1); color: #fff !important; }
.btn-lg { padding: .95rem 1.4rem; font-size: 1.05rem; }
.header-cta { flex-shrink: 0; white-space: nowrap; }

.nav-mobile { position: relative; }
.nav-mobile summary {
  list-style: none; cursor: pointer; padding: .45rem;
  border-radius: 4px; border: 1px solid rgba(247,250,252,.25);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.burger { display: flex; flex-direction: column; gap: 4px; width: 22px; }
.burger i { display: block; height: 2px; background: #fff; border-radius: 1px; }
.mobile-panel {
  position: absolute; right: 0; top: calc(100% + .55rem);
  background: var(--concrete-deep); border: 1px solid var(--concrete);
  border-top: 3px solid var(--earth);
  min-width: 220px; padding: .75rem;
  display: flex; flex-direction: column; gap: .55rem;
  box-shadow: var(--shadow); z-index: 220;
}
.mobile-panel a {
  color: var(--cream); text-decoration: none; font-weight: 600;
  padding: .45rem .35rem;
}
@media (min-width: 880px) {
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
}
@media (max-width: 420px) {
  .header-cta { display: none; }
  .wm-mid { display: none; }
}

/* —— Stacked hero: full-width photo + earth overlay strip —— */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--concrete-deep);
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85) contrast(1.05);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,32,44,.35) 0%, rgba(45,55,72,.55) 40%, rgba(26,32,44,.92) 100%),
    linear-gradient(90deg, rgba(156,66,33,.35) 0%, transparent 55%);
  z-index: 1;
}
.hero-panel {
  position: relative; z-index: 2;
  width: 100%;
  background: linear-gradient(180deg, rgba(45,55,72,.72) 0%, rgba(45,55,72,.95) 100%);
  border-top: 4px solid var(--earth);
  padding: 1.75rem 0 1.5rem;
  backdrop-filter: blur(2px);
}
.hero-inner { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.hero-kicker {
  display: inline-block;
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #FED7AA; margin: 0 0 .65rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.2vw, 2.65rem);
  line-height: 1.15; margin: 0 0 .85rem; font-weight: 700;
  max-width: 18ch;
  text-wrap: balance;
}
.hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--cream-2); max-width: 52ch; margin: 0 0 1.15rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.15rem; }

/* Trust chips INSIDE hero — no negative-margin overlap */
.trust-chips {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 0; padding: 0; list-style: none;
}
.trust-chips li {
  background: rgba(247,250,252,.1);
  border: 1px solid rgba(247,250,252,.22);
  color: var(--cream);
  font-size: .78rem; font-weight: 700;
  padding: .4rem .7rem; border-radius: 3px;
  letter-spacing: .02em;
}

/* Amber CTA bar under hero (not floating pills) */
.cta-bar {
  background: var(--earth);
  color: #fff;
  border-bottom: 3px solid var(--earth-deep);
}
.cta-bar-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding: .95rem 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
}
.cta-bar p { margin: 0; font-weight: 700; font-size: 1rem; }
.cta-bar .btn-outline {
  border-color: rgba(255,255,255,.55);
  background: rgba(0,0,0,.12);
}

.section { padding: 3.25rem 0; }
.section-cream { background: var(--cream); }
.section-stone { background: var(--cream-2); }
.section-concrete {
  background: var(--concrete-deep);
  color: var(--cream);
}
.section-concrete a { color: #FBD38D; }
.section-head { margin-bottom: 1.75rem; max-width: 62ch; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin: 0 0 .55rem; line-height: 1.2; color: var(--ink);
}
.section-concrete .section-head h2 { color: #fff; }
.section-kicker {
  font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--earth); margin: 0 0 .4rem;
}
.section-concrete .section-kicker { color: #FBD38D; }
.section-head p { margin: 0; color: var(--ink-soft); }
.section-concrete .section-head p { color: var(--stone); }

/* Concrete-block service tiles */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid .block:last-child:nth-child(7) { grid-column: 2; }
}
.block {
  background: var(--white);
  border: 2px solid var(--stone);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 0 rgba(45,55,72,.06);
  display: flex; flex-direction: column;
  position: relative;
}
.block::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--concrete) 0%, var(--earth) 100%);
}
.block-media {
  aspect-ratio: 16/10; overflow: hidden; background: var(--concrete);
}
.block-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.block-body { padding: 1.1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.block-tag {
  display: inline-block;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--earth-deep); background: #FEEBC8;
  padding: .25rem .5rem; border-radius: 2px; margin-bottom: .55rem; align-self: flex-start;
}
.block h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; margin: 0 0 .45rem; color: var(--ink); line-height: 1.25;
}
.block p { margin: 0; color: var(--ink-soft); font-size: .95rem; flex: 1; }

/* Process: diagnose → drain → protect */
.process-steps {
  display: grid; gap: 1rem;
  counter-reset: step;
  list-style: none; margin: 0; padding: 0;
}
@media (min-width: 800px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); }
}
.process-step {
  background: var(--white);
  border: 2px solid var(--stone);
  border-left: 6px solid var(--earth);
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 2px;
  position: relative;
}
.process-num {
  display: inline-grid; place-items: center;
  width: 2.1rem; height: 2.1rem;
  background: var(--concrete-deep); color: #fff;
  font-weight: 800; font-size: .95rem;
  border-radius: 2px; margin-bottom: .75rem;
  box-shadow: 2px 2px 0 var(--earth);
}
.process-step h3 {
  font-family: var(--font-display);
  margin: 0 0 .4rem; font-size: 1.2rem; color: var(--ink);
}
.process-step p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Why / explainer cards */
.why-grid {
  display: grid; gap: 1rem;
}
@media (min-width: 720px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
.why-card {
  background: rgba(247,250,252,.06);
  border: 1px solid rgba(226,232,240,.2);
  padding: 1.2rem;
  border-radius: 2px;
}
.why-card h3 {
  font-family: var(--font-display);
  margin: 0 0 .45rem; font-size: 1.1rem; color: #FED7AA;
}
.why-card p { margin: 0; color: var(--stone); font-size: .95rem; }

.split {
  display: grid; gap: 1.5rem; align-items: start;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1.15fr .85fr; gap: 2rem; }
}
.split-media {
  border: 3px solid var(--stone);
  border-radius: 2px; overflow: hidden;
  box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; margin: 1.4rem 0 .5rem; color: var(--ink);
}
.prose p { margin: 0 0 1rem; color: var(--ink-soft); }
.prose ul { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--ink-soft); }
.prose li { margin-bottom: .35rem; }
.note {
  background: #FEEBC8;
  border-left: 5px solid var(--earth);
  padding: .9rem 1rem; margin: 1rem 0;
  color: var(--ink); font-size: .95rem;
}

/* Areas */
.area-list {
  display: flex; flex-wrap: wrap; gap: .5rem;
  list-style: none; margin: 1rem 0 0; padding: 0;
}
.area-list li {
  background: var(--white);
  border: 1px solid var(--stone);
  border-bottom: 3px solid var(--concrete);
  padding: .45rem .75rem;
  font-size: .88rem; font-weight: 650; color: var(--ink);
  border-radius: 2px;
}

/* FAQ */
.faq-list { display: grid; gap: .65rem; }
.faq-item {
  background: var(--white);
  border: 2px solid var(--stone);
  border-radius: 2px;
  padding: 0;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; color: var(--ink);
  padding: 1rem 1.1rem; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--earth); font-weight: 800; font-size: 1.25rem; flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-a {
  margin: 0; padding: 0 1.1rem 1.1rem;
  color: var(--ink-soft); border-top: 1px solid var(--cream-2);
  padding-top: .85rem;
}

/* Article */
.article-body {
  background: var(--white);
  border: 2px solid var(--stone);
  border-top: 5px solid var(--concrete);
  padding: 1.5rem 1.35rem 1.75rem;
  border-radius: 2px;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  margin: 0 0 .85rem; color: var(--ink);
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; margin: 1.5rem 0 .5rem; color: var(--concrete-deep);
}
.article-body p { margin: 0 0 1rem; color: var(--ink-soft); }
.article-body ul { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--ink-soft); }
.article-body li { margin-bottom: .4rem; }

/* Final CTA band */
.final-cta {
  text-align: center;
  padding: 3rem 0;
  background:
    linear-gradient(135deg, var(--concrete-deep) 0%, #3D4A5C 55%, var(--earth-deep) 160%);
  color: #fff;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 .65rem;
}
.final-cta p { margin: 0 auto 1.25rem; max-width: 48ch; color: var(--cream-2); }
.final-cta .hero-ctas { justify-content: center; }

/* Footer */
.site-footer {
  background: #1A202C;
  color: var(--stone);
  padding: 2rem 0 1.5rem;
  border-top: 4px solid var(--earth);
}
.footer-grid {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  justify-content: space-between; align-items: flex-start;
}
.footer-brand { display: flex; gap: .85rem; align-items: flex-start; }
.nap { margin: 0; font-size: .92rem; line-height: 1.7; }
.nap a { color: #FBD38D; }
.nap strong { color: #fff; }
.footer-note { margin: 0; font-size: .85rem; color: var(--concrete-mid); }

/* Mobile sticky amber call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 190;
  background: var(--earth);
  border-top: 3px solid var(--earth-deep);
  padding: .55rem .85rem calc(.55rem + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(156,66,33,.35);
}
.callbar .btn {
  width: 100%;
  background: var(--concrete-deep); color: #fff !important;
  border-color: transparent;
  padding: .85rem 1rem; font-size: 1.05rem;
  box-shadow: none;
}
.callbar .btn:hover { background: #1A202C; }
@media (min-width: 880px) {
  .callbar { display: none; }
  body { padding-bottom: 0; }
}

.page-main { padding: 2.5rem 0 3rem; }
.page-main h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 1rem; color: var(--ink);
}
.page-main p { color: var(--ink-soft); margin: 0 0 1rem; }
