/*
Theme Name: CLV Excavation Shared
Template: astra
Version: 1.0.4
Description: Shared Cascade Local Ventures excavation child theme.
*/

/* ========================================================================== 
   CLV excavation design system
   Palette: construction charcoal + earth orange accent
   ========================================================================== */

:root {
  --color-charcoal: #23272b;
  --color-slate: #3a4046;
  --color-concrete: #6b7378;
  --color-concrete-light: #eceef0;
  --color-concrete-lighter: #f6f7f8;
  --color-white: #ffffff;
  --color-orange: #e0631f;
  --color-orange-dark: #b84f17;
  --color-orange-light: #fdece1;
  --color-blue-accent: #2b5b74;
  --color-success: #2f7d4f;
  --color-border: #dde1e4;
  --font-heading: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(35, 39, 43, 0.08);
  --shadow-md: 0 6px 20px rgba(35, 39, 43, 0.12);
}

/* Excavation-site additions to the shared CLV construction design. */
.service-icon { color: var(--color-orange-dark); font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.local-note { border-left: 4px solid var(--color-orange-dark); padding: 18px 20px; background: var(--color-orange-light); }
.header-cta .header-phone, .footer-phone { font-weight: 800; color: var(--color-charcoal); white-space: nowrap; }
.footer-phone { color: #fff; }
.mobile-cta-bar .call-half { flex: 1; text-align: center; background: var(--color-charcoal); color: #fff; padding: 13px 8px; font-weight: 700; }
.btn-primary,
.mobile-cta-bar .quote-half { background: #c94f0a; border-color: #c94f0a; }
.btn-primary:hover,
.mobile-cta-bar .quote-half:hover { background: #a8420c; border-color: #a8420c; }
.main-nav .menu { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
@media (max-width: 900px) { .main-nav .menu { flex-direction: column; gap: 14px; } }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--color-blue-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-charcoal);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-orange-dark);
  margin-bottom: 8px;
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: all 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}
.btn-primary:hover { background: var(--color-orange-dark); border-color: var(--color-orange-dark); }

.btn-secondary {
  background: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-charcoal);
}
.btn-secondary:hover { background: var(--color-charcoal); color: var(--color-white); }

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline-light:hover { background: var(--color-white); color: var(--color-charcoal); }

.btn-block { display: block; width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-charcoal);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo span.tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.logo:hover { text-decoration: none; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--color-slate);
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--color-orange-dark); }

.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 230px;
  padding: 8px 0;
  z-index: 100;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.9rem;
  white-space: nowrap;
}
.dropdown-menu li a:hover { background: var(--color-concrete-lighter); text-decoration: none; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-charcoal);
  white-space: nowrap;
}
.header-phone::before { content: "📞 "; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--color-charcoal);
  border-radius: var(--radius);
  padding: 8px 10px;
  font-size: 1.1rem;
  cursor: pointer;
  /* Astra's own generated theme CSS sets a default white color on
     button/.menu-toggle/.ast-button (meant for dark/transparent headers).
     Our .nav-toggle rule never set an explicit color, so it silently
     inherited that white-on-white-header default and was invisible until
     tapped/focused. Explicit color here wins the specificity fight.
     Found and fixed 2026-07-14 across both SFCI and Marysville. */
  color: var(--color-charcoal);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--color-white);
  background-color: var(--color-slate);
  background-image:
    linear-gradient(180deg, rgba(35,39,43,0.68), rgba(35,39,43,0.84)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px 24px 70px;
}
.hero h1 {
  color: var(--color-white);
  max-width: 780px;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 1.2rem;
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--color-concrete-light);
}
.hero-phone {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 24px;
  display: block;
}
.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px 24px 70px;
}
.hero > .container {
  max-width: var(--max-width);
}
.hero > .container > .hero-content {
  padding-left: 0;
  padding-right: 0;
}
.hero-content > p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.2rem;
  color: var(--color-concrete-light);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-call-now {
  display: block;
  margin: 28px 0 24px;
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 800;
}
.hero-call-now:hover { color: var(--color-white); }

/* Page header (non-home hero, smaller) */
.page-header {
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 56px 24px;
  text-align: center;
}
.page-header h1 { color: var(--color-white); margin-bottom: 10px; }
.page-header p { color: var(--color-concrete-light); max-width: 640px; margin: 0 auto; }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--color-concrete-lighter);
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  text-align: center;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
}
.trust-badge .badge-icon { font-size: 1.8rem; margin-bottom: 6px; }
.trust-badge .badge-value {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-charcoal);
}
.trust-badge .badge-label {
  font-size: 0.82rem;
  color: var(--color-concrete);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Section framing ---------- */
section { padding: 64px 0; }
.section-alt { background: var(--color-concrete-lighter); }
.section-dark { background: var(--color-charcoal); color: var(--color-white); }
.section-dark h2 { color: var(--color-white); }
.section-head,
.section-heading { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.section-head p,
.section-heading p:not(.eyebrow) { color: var(--color-concrete); font-size: 1.05rem; }
.center { text-align: center; margin-top: 28px; }
.content-narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.inline-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .card-icon { font-size: 1.9rem; margin-bottom: 12px; display: block; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--color-concrete); font-size: 0.96rem; margin-bottom: 14px; }
.card .card-link { font-weight: 700; font-size: 0.9rem; }

/* Service imagery is part of the catalog, not decoration. Keep a consistent
 * useful preview on every local-service page that uses these cards. */
.service-card {
  overflow: hidden;
  padding: 0;
}
.service-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-card .service-card-body { padding: 24px; }
.service-card .service-card-body h2,
.service-card .service-card-body h3 { margin-top: 0; }
@media (min-width: 901px) {
  .service-grid > .service-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 0;
  margin: 0;
  counter-reset: clv-process;
}
.process-grid li {
  list-style: none;
  position: relative;
  padding: 68px 22px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.process-grid li::before {
  counter-increment: clv-process;
  content: counter(clv-process);
  position: absolute;
  top: 20px;
  left: 22px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 800;
}
.process-grid strong,
.process-grid span { display: block; }
.process-grid span { margin-top: 8px; color: var(--color-concrete); font-size: .94rem; }

/* Service-area maps make the coverage promise easier to understand without
 * implying a staffed office or a fake street address. */
.service-area-map {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- Why choose us ---------- */
.reason-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.reason {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.reason .num {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reason h3 { margin-bottom: 4px; font-size: 1.1rem; }
.reason p { color: var(--color-concrete); margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Process steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
  padding: 0 10px;
}
.process-step .step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-blue-accent);
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.process-step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.process-step p { color: var(--color-concrete); font-size: 0.9rem; }

/* ---------- Service area ---------- */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.area-chip {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-slate);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .stars { color: var(--color-orange); font-size: 1.05rem; margin-bottom: 10px; }
.testimonial-card p.quote { font-style: italic; color: var(--color-slate); margin-bottom: 14px; }
.testimonial-card .author { font-weight: 700; font-size: 0.9rem; }
.testimonial-card .author span { font-weight: 400; color: var(--color-concrete); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.gallery-grid img {
  display: block;
  height: auto;
}
.gallery-grid img, .gallery-grid .gallery-placeholder {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.gallery-grid figcaption {
  padding: 16px 18px 18px;
  color: var(--color-slate);
  line-height: 1.55;
}
.gallery-grid figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-charcoal);
}
/* ---------- Before/After ---------- */
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 24px 0 40px;
}
.before-after-grid figure {
  margin: 0;
}
.before-after-grid img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  display: block;
}
.before-after-grid figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--color-concrete);
  text-align: center;
}
.comparison-project {
  margin: 0 0 48px;
}
.comparison-project h2 {
  margin-bottom: 8px;
}
.comparison-project > p {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--color-slate);
}
.comparison-project .before-after-grid {
  margin: 0;
}
.comparison-panel {
  margin: 0;
}
.comparison-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background-repeat: no-repeat;
  background-size: 200% auto;
  box-shadow: var(--shadow-sm);
}
.comparison-image.before {
  background-position: left center;
}
.comparison-image.after {
  background-position: right center;
}
.comparison-panel figcaption {
  margin-top: 10px;
  color: var(--color-charcoal);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}
.reference-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.gallery-intro {
  margin-bottom: 40px;
}
.reference-gallery-card {
  margin: 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.reference-gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.reference-gallery-card .comparison-labels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 8px 0 0;
  color: var(--color-charcoal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}
.reference-gallery-card figcaption {
  padding: 12px 18px 20px;
  color: var(--color-slate);
  line-height: 1.55;
  text-align: center;
}
.reference-gallery-card figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-charcoal);
}
@media (max-width: 640px) {
  .before-after-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .comparison-project { margin-bottom: 40px; }
  .reference-gallery-grid { grid-template-columns: 1fr; }
}

.gallery-placeholder {
  background: var(--color-concrete-light);
  border: 1px dashed var(--color-concrete);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-concrete);
  font-size: 0.85rem;
  text-align: center;
  padding: 10px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-group { margin-bottom: 36px; }
.faq-group h3 {
  color: var(--color-orange-dark);
  border-bottom: 2px solid var(--color-orange-light);
  padding-bottom: 8px;
  margin-bottom: 18px;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}
.faq-item h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: var(--color-charcoal);
}
.faq-item p { color: var(--color-concrete); margin-bottom: 0; }

/* ---------- CTA blocks ---------- */
.cta-block {
  background: #9b3f10;
  color: var(--color-white);
  text-align: center;
  padding: 56px 24px;
}
.cta-block h2 { color: var(--color-white); }
.cta-block p { color: #ffffff; font-size: 1.1rem; margin-bottom: 26px; }
.cta-block .btn-outline-light { background: #ffffff; border-color: #ffffff; color: #9b3f10; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-block-inline {
  background: var(--color-concrete-lighter);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}
.cta-block-inline h3 { margin-bottom: 8px; }
.cta-block-inline p { color: var(--color-concrete); margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-charcoal);
  color: var(--color-concrete-light);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-col h3,
.footer-col h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--color-concrete-light); font-size: 0.92rem; }
.footer-col a:hover { color: var(--color-orange); }
.footer-col p { color: var(--color-concrete-light); font-size: 0.92rem; }
.footer-logo { color: var(--color-white); font-weight: 800; font-size: 1.2rem; margin-bottom: 10px; display: block; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 0.82rem;
  color: #b9c0c5;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-note {
  font-size: 0.78rem;
  color: #b9c0c5;
  max-width: 640px;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: 0.9rem; color: var(--color-slate); }
input, select, textarea {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--color-white);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--color-orange);
  outline-offset: 1px;
}
textarea { resize: vertical; min-height: 100px; }
.required { color: var(--color-orange-dark); }

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: start;
}
.form-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.map-placeholder {
  background: repeating-linear-gradient(45deg, #dfe3e6, #dfe3e6 12px, #eceef0 12px, #eceef0 24px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-slate);
  font-weight: 700;
  text-align: center;
  padding: 20px;
  margin-bottom: 24px;
}
.map-placeholder .pin { font-size: 2rem; margin-bottom: 8px; }
.nap-block {
  background: var(--color-concrete-lighter);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.nap-block h3 { margin-bottom: 12px; }
.nap-block p { margin-bottom: 6px; font-size: 0.95rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.hours-table td { padding: 8px 0 8px 4px; border-bottom: 1px solid var(--color-border); }
.hours-table td:last-child { text-align: right; font-weight: 600; padding-right: 4px; }

/* ---------- Content page layout (service pages, about, faq) ---------- */
.content-section h2 { margin-top: 46px; }
.content-section h2:first-child { margin-top: 0; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.two-col img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-grid { align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}
.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 800;
}
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-concrete);
  padding: 14px 0;
}
.breadcrumbs a { color: var(--color-blue-accent); }
.sfci-breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  color: var(--color-concrete);
  font-size: 0.85rem;
}
.sfci-breadcrumbs a { color: var(--color-blue-accent); }

.content-section p a,
.faq-item p a,
.local-planning-resource p a {
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.16em;
}

.related-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.related-services a {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-charcoal);
  text-align: center;
}
.related-services a:hover { border-color: var(--color-orange); color: var(--color-orange-dark); text-decoration: none; }

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
}
.pricing-table th { background: var(--color-concrete-lighter); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.credential-item {
  background: var(--color-concrete-lighter);
  border-radius: var(--radius);
  padding: 18px;
  border-left: 4px solid var(--color-orange);
}
.credential-item h4 { margin-bottom: 4px; font-size: 1rem; }
.credential-item p { margin: 0; font-size: 0.88rem; color: var(--color-concrete); }

.owner-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: center;
}
.owner-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue-accent), var(--color-charcoal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 2.6rem;
  font-weight: 800;
}

/* ---------- Sticky mobile CTA bar (mobile only) ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 600;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}
.mobile-cta-bar a {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-white);
}
.mobile-cta-bar .call-half { background: var(--color-charcoal); }
.mobile-cta-bar .quote-half { background: var(--color-orange); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .grid-2, .service-grid, .related-services, .credentials-grid, .process-grid, .process-steps, .testimonial-grid, .gallery-grid, .footer-grid, .form-grid, .contact-layout, .two-col, .split, .reason-list, .owner-block {
    grid-template-columns: 1fr;
  }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-inner, .hero-content { padding: 60px 20px 50px; }
  .header-phone span.phone-text { display: none; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  body.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 100%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav ul { flex-direction: column; gap: 4px; width: 100%; }
  body.nav-open .main-nav ul li { width: 100%; }
  body.nav-open .main-nav a { display: block; padding: 10px 0; }
  body.nav-open .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 12px; display: block; }
  body.nav-open .ast-menu-toggle, body.nav-open .dropdown-menu-toggle { display: none; }
  .header-cta .btn-primary { padding: 10px 16px; font-size: 0.9rem; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 58px; }
  section { padding: 44px 0; }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 580px;
  }
  .hero-actions .btn {
    display: block;
    width: 100%;
    margin: 0;
  }
  .hero-call-now {
    margin: 24px 0 22px;
    font-size: clamp(1.25rem, 5.5vw, 1.55rem);
  }
  .hero > .container { padding-left: 20px; padding-right: 20px; }
  .mobile-cta-bar .call-half .phone-text { font-size: 0; }
  .mobile-cta-bar .call-half .phone-text::after {
    content: "☎ Call Now";
    font-size: 1rem;
  }
}

@media (min-width: 901px) {
  .main-nav a,
  .header-cta .btn-primary {
    white-space: nowrap;
  }
  .header-cta,
  .header-cta .btn-primary {
    flex: 0 0 auto;
  }
}

/* Reference-theme parity: keep the header CTA and fixed mobile bar identical
 * to the established Marysville CLV implementation. Local copy may vary, but
 * dimensions, weight, and color treatment must not. */
.header-cta .btn-primary,
.mobile-cta-bar .quote-half {
  background: #c94f0a;
  border-color: #c94f0a;
}
.header-cta .btn-primary:hover,
.mobile-cta-bar .quote-half:hover {
  background: #a8420c;
  border-color: #a8420c;
}
.mobile-cta-bar .call-half {
  padding: 16px 8px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
