/* ============================================================
   Houston TX Home Inspectors — Romeo Montalvo
   Brand: primary #3B82F6 | neutral #E5E5E5 | sage #B8D9C7
   ============================================================ */

:root {
  --blue: #3B82F6;
  --blue-dark: #2563EB;
  --blue-deep: #1D4ED8;
  --blue-soft: #EFF6FF;
  --sage: #B8D9C7;
  --sage-dark: #8FBEA8;
  --sage-soft: #E8F5EE;
  --gray: #E5E5E5;
  --gray-light: #F5F5F5;
  --gray-mid: #A3A3A3;
  --text: #1A1A1A;
  --text-muted: #525252;
  --text-soft: #737373;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 72px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-deep); }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-call {
  background: var(--white);
  color: var(--blue-deep);
  border-color: var(--blue);
}
.btn-call:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
  border-color: var(--blue-dark);
}

.btn-sage {
  background: var(--sage);
  color: var(--text);
}
.btn-sage:hover {
  background: var(--sage-dark);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}

.btn-lg { min-height: 54px; padding: 0.9rem 1.6rem; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.9375rem; }

.btn-icon svg { width: 18px; height: 18px; flex-shrink: 0; }

.cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  max-width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
  height: var(--header-h);
  max-width: 100%;
  /* no backdrop-filter/transform — those trap the mobile fixed drawer */
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: var(--gray);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--header-h);
  min-width: 0;
  max-width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}
.brand:hover { color: var(--text); }

.brand-mark {
  height: 48px;
  width: auto;
  background: none;
  border-radius: 0;
  box-shadow: none;
  display: block;
  flex-shrink: 0;
  line-height: 0;
}
.brand-mark img {
  height: 48px;
  width: auto;
  display: block;
}

.brand-text { display: block; min-width: 0; line-height: 1.15; }
.brand-name {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand .brand-name {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: visible;
  text-overflow: unset;
  max-width: none;
}
.brand-tag {
  font-size: 0.75rem;
  color: var(--text-soft);
  font-weight: 500;
}

.header-ctas {
  display: none;
  gap: 0.45rem;
  align-items: center;
  flex-shrink: 0;
}

.primary-nav {
  display: none;
}

.primary-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 550;
  font-size: 0.875rem;
  padding: 0.35rem 0.4rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.primary-nav a:hover {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gray);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 1099px) {
  .primary-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--white);
    padding: 1.25rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    z-index: 1200;
    width: 100%;
    max-width: 100%;
    visibility: hidden;
    pointer-events: none;
  }
  .primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .primary-nav a {
    font-size: 1.125rem;
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid var(--gray-light);
    white-space: normal;
  }
  .nav-mobile-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
  }
  .nav-mobile-ctas .btn { width: 100%; }
}

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  /* Full-width row: brand (one line), nav, and CTAs share the 1120px column. */
  .site-header .header-inner {
    /* Same column as .container (--max 1120px, 1rem side gutters, centered). */
    width: min(100% - 2rem, var(--max));
    max-width: var(--max);
    margin-inline: auto;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .brand {
    gap: 0.5rem;
    flex: 0 0 auto;
    align-items: center;
    /* Wordmark must not shrink or the nav paints over "Inspector". */
    min-width: max-content;
    width: max-content;
    /* Guaranteed air before Services / Areas. */
    margin-inline-end: 0.35rem;
  }
  .site-header .brand-text,
  .site-header .brand .brand-name {
    flex: 0 0 auto;
    min-width: max-content;
    width: max-content;
    white-space: nowrap;
  }
  .header-ctas {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    margin-left: 0.35rem;
  }
  .header-ctas .btn-sm {
    padding: 0.4rem 0.6rem;
    font-size: 0.8125rem;
    gap: 0.3rem;
  }
  .primary-nav {
    display: flex;
    align-items: center;
    /* Center in the flex space between brand and CTAs — even gaps,
       not packed hard against Call/Schedule. Brand position untouched. */
    justify-content: center;
    gap: 0.4rem;
    flex: 1 1 auto;
    min-width: 0;
  }
  .primary-nav > a,
  .nav-dropdown {
    flex: 0 0 auto;
  }
  .nav-mobile-ctas { display: none; }
}

/* 1100–1249 is just wide enough for a one-line wordmark plus the full nav.
   Keep type a step smaller here so Contact stays clear of Call. */
@media (min-width: 1100px) and (max-width: 1249px) {
  .site-header .header-inner {
    /* Width stays on the shared container column; only tighten the gap here. */
    gap: 0.5rem;
  }
  .brand { gap: 0.35rem; margin-inline-end: 0.25rem; }
  .brand .brand-name { font-size: 0.875rem; }
  .header-ctas { gap: 0.35rem; margin-left: 0.25rem; }
  .header-ctas .btn-sm {
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
    gap: 0.25rem;
  }
  .primary-nav { gap: 0.25rem; }
  .primary-nav > a,
  .nav-dropdown > button.nav-drop-btn,
  .nav-dropdown > a.nav-drop-btn {
    font-size: 0.75rem;
    padding: 0.28rem 0.22rem;
    letter-spacing: -0.02em;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(184,217,199,0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 80%, rgba(59,130,246,0.12), transparent 50%),
    linear-gradient(180deg, var(--blue-soft) 0%, var(--white) 100%);
  padding: 2.5rem 0 3rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero { padding: 3.5rem 0 4rem; }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  flex-wrap: wrap;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage-dark);
  box-shadow: 0 0 0 3px var(--sage-soft);
}

.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero h1 .accent { color: var(--blue); }

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 38ch;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.hero-meta strong { color: var(--text); font-weight: 650; }

.hero-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.hero-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.hero-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.15rem;
}

.hero-card .cta-pair {
  flex-direction: column;
}
.hero-card .cta-pair .btn { width: 100%; }

.hero-card-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray);
  font-size: 0.8125rem;
  color: var(--text-soft);
  text-align: center;
}
.hero-card-note a { font-weight: 600; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--text);
  color: var(--white);
  padding: 1.25rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

.trust-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.trust-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(184,217,199,0.18);
  color: var(--sage);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}
.trust-item span {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.15rem;
}

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--gray-light); }
.section-sage {
  background: linear-gradient(180deg, var(--sage-soft) 0%, var(--white) 100%);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}
.section-head.centered {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.section-head h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  height: 100%;
}
.service-card:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--sage-soft);
  color: #3d7a5f;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- About / Why ---------- */
.about-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.about-points { display: grid; gap: 1rem; }
.about-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
}
.about-point-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.about-point h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.about-point p { font-size: 0.925rem; color: var(--text-muted); }

.license-callout {
  background: var(--text);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.25rem;
}
.license-callout strong { display: block; font-size: 1.05rem; margin-bottom: 0.35rem; }
.license-callout p { color: rgba(255,255,255,0.78); font-size: 0.925rem; }
.license-callout .license-num {
  display: inline-block;
  margin-top: 0.75rem;
  background: rgba(184,217,199,0.2);
  color: var(--sage);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------- Guarantees ---------- */
.guarantees-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .guarantees-grid { grid-template-columns: repeat(3, 1fr); }
}

.guarantee-card {
  background: var(--white);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray);
  border-top-width: 4px;
  border-top-color: var(--blue);
}
.guarantee-card:nth-child(2) { border-top-color: var(--sage-dark); }
.guarantee-card:nth-child(3) { border-top-color: var(--blue-deep); }
.guarantee-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.guarantee-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Areas ---------- */
.areas-wrap {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .areas-wrap { grid-template-columns: 1fr 1.2fr; align-items: start; }
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.area-chip {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition);
}
.area-chip:hover {
  border-color: var(--sage);
  background: var(--sage-soft);
}

.areas-note {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.areas-note h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.areas-note p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.review-stars {
  color: #F59E0B;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}
.review-card blockquote {
  flex: 1;
  font-size: 0.975rem;
  color: var(--text-muted);
  quotes: none;
  margin-bottom: 1rem;
}
.review-card footer {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}
.review-card footer span {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 0.15rem;
}

.review-card.featured {
  background: linear-gradient(160deg, var(--blue-soft), var(--white));
  border-color: #BFDBFE;
}
@media (min-width: 1000px) {
  .review-card.featured { grid-column: span 1; }
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.35rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 0.9rem;
  box-shadow: 0 4px 12px rgba(59,130,246,0.35);
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- BPG note (unused class kept for existing card spacing) ---------- */
.bpg-note {
  background: var(--gray-light);
  border: 1px dashed var(--gray-mid);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  font-size: 0.925rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.bpg-note strong { color: var(--text); }

/* ---------- BPG mark (tactful placement near BPG mentions only) ---------- */
.bpg-logo {
  display: block;
  height: 40px;
  width: auto;
  margin: 0 auto 0.85rem;
  object-fit: contain;
  border-radius: 50%;
}
.section-head:not(.centered) .bpg-logo {
  margin-left: 0;
  margin-right: 0;
}
.bpg-logo--sm {
  display: inline-block;
  height: 28px;
  width: auto;
  margin: 0;
  vertical-align: middle;
  border-radius: 50%;
  object-fit: contain;
}
.bpg-cred {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.sidebar-card .bpg-logo--sm {
  margin-right: 0.45rem;
  vertical-align: -0.35em;
}

.bpg-wordmark {
  display: block;
  height: 28px;
  width: auto;
  margin: 0.6rem 0 0;
  object-fit: contain;
}
.bpg-wordmark--faq {
  height: 24px;
  margin-top: 0.75rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.05rem 1.15rem;
  font-weight: 650;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
}
.faq-question:hover { background: var(--gray-light); }
.faq-question:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: -3px;
}
.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--blue);
}
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 1.15rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.975rem;
}
.faq-item.is-open .faq-answer { display: block; }

/* ---------- Lead form ---------- */
.lead-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 860px) {
  .lead-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.lead-form {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
@media (min-width: 520px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.form-field .optional {
  font-weight: 500;
  color: var(--text-soft);
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  background: var(--sage-soft);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
}
.form-hint {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-soft);
}

.lead-aside h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.lead-aside p { color: var(--text-muted); margin-bottom: 1rem; }
.lead-aside .cta-pair { margin-bottom: 1.25rem; }
.contact-quick {
  display: grid;
  gap: 0.65rem;
}
.contact-quick a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 0.75rem 0.9rem;
  background: var(--gray-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray);
  transition: border-color var(--transition), background var(--transition);
  min-width: 0;
}
.contact-quick a span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-quick a:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-deep);
}
.contact-quick svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }

/* ---------- Final CTA ---------- */
.final-cta {
  background:
    linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 55%, #60A5FA 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.final-cta p {
  max-width: 520px;
  margin: 0 auto 1.5rem;
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
}
.final-cta .cta-pair {
  justify-content: center;
}
.final-cta .btn-call {
  border-color: var(--white);
  color: var(--blue-deep);
}
.final-cta .btn-ghost {
  border-color: rgba(255,255,255,0.7);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #111827;
  color: rgba(255,255,255,0.78);
  padding: 3rem 0 1.5rem;
  font-size: 0.925rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-brand .brand-name {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.footer-brand p { margin-bottom: 0.75rem; max-width: 36ch; }
.footer-col h3 {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.footer-col ul { display: grid; gap: 0.45rem; }
.footer-col a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
}
.footer-col a:hover { color: var(--sage); }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin: 0.25rem 0 0.75rem;
}
.footer-social-link,
.footer-fb {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}
.footer-social-icon,
.footer-fb-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: var(--sage);
  transition: color 0.15s ease, transform 0.15s ease;
}
.footer-social-link:hover,
.footer-social-link:focus-visible { color: var(--white); }
.footer-social-link:hover .footer-social-icon,
.footer-social-link:focus-visible .footer-social-icon { color: var(--white); transform: translateY(-1px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
}
.footer-bottom a:hover { color: var(--sage); }

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 900;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--gray);
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  gap: 0.55rem;
  box-sizing: border-box;
}
.mobile-cta-bar .btn {
  flex: 1;
  min-height: 48px;
  min-width: 0;
  font-size: 0.82rem;
  line-height: 1.15;
  white-space: normal;
  text-align: center;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
}
.mobile-cta-bar .btn svg {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
}

@media (max-width: 1099px) {
  .mobile-cta-bar { display: flex; }
  body.nav-open .mobile-cta-bar { display: none; }
  body.nav-open .nav-toggle { border-color: var(--blue); }
  body { padding-bottom: 76px; }
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.text-center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}


/* Narrow viewports: keep nowrap CTAs from forcing horizontal scroll */
@media (max-width: 380px) {
  .btn {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.9375rem;
  }
  .btn-lg {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    font-size: 1rem;
  }
  .brand-tag { font-size: 0.7rem; }
  .hero-badge { font-size: 0.75rem; }
}

/* ============================================================
   Interior pages — page hero, prose, link grids, nav dropdowns
   ============================================================ */

/* ---------- Nav dropdowns ---------- */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > button.nav-drop-btn,
.nav-dropdown > a.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 550;
  font-size: 0.875rem;
  font-family: inherit;
  padding: 0.35rem 0.4rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-dropdown > button.nav-drop-btn:hover,
.nav-dropdown > a.nav-drop-btn:hover,
.nav-dropdown.is-open > button.nav-drop-btn {
  color: var(--blue-dark);
  background: var(--blue-soft);
}
.nav-dropdown > button.nav-drop-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  margin-left: 2px;
}
.nav-dropdown-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  min-width: 220px;
  max-height: min(75vh, 32rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.4rem;
  z-index: 1100;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 0.75rem !important;
  font-size: 0.9rem !important;
  border-radius: 6px;
  border-bottom: none !important;
  white-space: normal !important;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 550;
}
.nav-dropdown-menu a:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}
.nav-dropdown-menu a.is-active {
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 650;
}

@media (max-width: 1099px) {
  .nav-dropdown {
    border-bottom: 1px solid var(--gray-light);
  }
  .nav-dropdown > button.nav-drop-btn {
    width: 100%;
    justify-content: space-between;
    font-size: 1.125rem;
    padding: 0.85rem 0.75rem;
  }
  .nav-dropdown.is-open .nav-dropdown-menu {
    display: flex;
    padding: 0 0.5rem 0.75rem 1rem;
    border: none;
    box-shadow: none;
    background: transparent;
  }
  .nav-dropdown-menu a {
    font-size: 1rem !important;
    padding: 0.65rem 0.75rem !important;
  }
}

@media (min-width: 1100px) {
  /* Click-only open (is-open) so Services + Areas stay pinned while scrolling the menu/page */
  .nav-dropdown.is-open .nav-dropdown-menu {
    display: flex;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
  }
  .nav-dropdown-menu {
    pointer-events: auto;
  }
  /* Readable labels from 1100px; even horizontal padding for comfortable tab spacing. */
  .primary-nav > a,
  .nav-dropdown > button.nav-drop-btn,
  .nav-dropdown > a.nav-drop-btn {
    font-size: 0.8125rem;
    padding: 0.35rem 0.32rem;
    letter-spacing: -0.01em;
  }
}

/* Wide desktop: keep the one-line wordmark at full width and a real gap before Services.
   Header stays on the 1120px column, so do not enlarge the wordmark here — that
   caused Services to overflow left under the brand. */
@media (min-width: 1360px) {
  .site-header .header-inner { gap: 0.75rem; }
  .brand {
    gap: 0.55rem;
    flex: 0 0 auto;
    min-width: max-content;
    width: max-content;
    margin-inline-end: 0.5rem;
  }
  .brand .brand-name {
    font-size: 0.95rem;
    max-width: none;
    white-space: nowrap;
    min-width: max-content;
  }
  .header-ctas { gap: 0.45rem; margin-left: 0.35rem; }
  .header-ctas .btn-sm {
    padding: 0.4rem 0.6rem;
    font-size: 0.8125rem;
    gap: 0.3rem;
  }
  .primary-nav {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    gap: 0.5rem;
  }
  .primary-nav > a,
  .nav-dropdown > button.nav-drop-btn,
  .nav-dropdown > a.nav-drop-btn {
    font-size: 0.8125rem;
    padding: 0.35rem 0.35rem;
    letter-spacing: -0.01em;
  }
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(184,217,199,0.4), transparent 55%),
    linear-gradient(180deg, var(--blue-soft) 0%, var(--white) 100%);
  padding: 2.25rem 0 2rem;
  border-bottom: 1px solid var(--gray);
}
.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.page-hero .breadcrumb a {
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 550;
}
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero .breadcrumb .sep { opacity: 0.5; }
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  max-width: 22ch;
}
.page-hero .lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: 1.5rem;
}
.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}
.page-hero-meta strong { color: var(--text); font-weight: 650; }

/* ---------- Page layout ---------- */
.page-layout {
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem 0 3rem;
}
@media (min-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
  }
}

.prose {
  max-width: 68ch;
}
.prose h2 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}
.prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.prose ul, .prose ol {
  color: var(--text-muted);
  margin: 0 0 1.15rem 1.15rem;
  display: grid;
  gap: 0.45rem;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--blue); }
.prose a { font-weight: 550; }
.prose .callout {
  background: var(--sage-soft);
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin: 1.5rem 0;
}
.prose .callout strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.prose .callout p { margin-bottom: 0; }

/* ---------- Sidebar ---------- */
.page-sidebar {
  display: grid;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h2,
.sidebar-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.sidebar-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.sidebar-card .cta-pair {
  flex-direction: column;
  align-items: stretch;
}
.sidebar-card .cta-pair .btn { width: 100%; }
.sidebar-links {
  display: grid;
  gap: 0.35rem;
}
.sidebar-links a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.925rem;
  font-weight: 550;
  transition: background var(--transition), color var(--transition);
}
.sidebar-links a:hover,
.sidebar-links a.is-active {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

/* ---------- Hub grids ---------- */
.hub-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .hub-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .hub-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.hub-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  min-height: 100%;
}
.hub-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: inherit;
}
.hub-card h3 {
  font-size: 1.1rem;
  color: var(--blue-deep);
}
.hub-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  flex: 1;
}
.hub-card .hub-link {
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--blue-dark);
}

/* Area chips as links on homepage */
a.area-chip {
  text-decoration: none;
  color: var(--text);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
a.area-chip:hover {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--blue-deep);
}

/* Service cards as links */
a.service-card {
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
a.service-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: inherit;
}
a.service-card h3 { color: var(--blue-deep); }

.related-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}
.related-pills a {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  background: var(--gray-light);
  border: 1px solid var(--gray);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--text-muted);
}
.related-pills a:hover {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--blue-deep);
}

/* ---------- Photo galleries & about media (batch1) ---------- */
.about-media {
  margin: 0 0 1.25rem;
  text-align: center;
}
.about-media img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 520px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--gray);
  box-shadow: var(--shadow);
}
.about-media figcaption,
.photo-gallery figcaption,
.prose figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.about-portraits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 0.85rem;
}
.about-portraits img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--gray);
}
@media (max-width: 520px) {
  .about-portraits { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
}

.photo-gallery {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
  align-items: stretch;
}
@media (min-width: 640px) {
  .photo-gallery.cols-2 { grid-template-columns: 1fr 1fr; }
  .photo-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .photo-gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .photo-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.photo-gallery figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm, none);
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* Uniform card wells on service/area galleries: mixed portrait/landscape
   photos (e.g. tall electrical panel vs landscape attic) share one height. */
.photo-gallery figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--white);
  flex: 0 0 auto;
}

/* Homepage "From the field" row (.tall) keeps the same cover wells;
   figcaption min-height helps multi-line captions align in a row. */
.photo-gallery.tall figure figcaption {
  min-height: calc(2.8em + 1.5rem);
}
.photo-gallery figure figcaption {
  padding: 0.65rem 0.85rem 0.85rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  flex: 1 1 auto;
}

.prose .photo-gallery {
  margin: 1.25rem 0 1.75rem;
}
.hero-photo {
  margin-top: 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray);
}
.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Realtor education page ---------- */
.value-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .value-grid { grid-template-columns: repeat(4, 1fr); }
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.04));
}
.value-card h3 {
  font-size: 1.05rem;
  color: var(--blue-deep);
  margin: 0 0 0.5rem;
}
.value-card p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.presentation-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (min-width: 800px) {
  .presentation-grid { grid-template-columns: 1fr 1fr; }
}
.presentation-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.25rem;
  position: relative;
}
.presentation-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.presentation-card h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--blue-deep);
  margin: 0 0 0.65rem;
}
.presentation-hook {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
  line-height: 1.55;
}
.presentation-card ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.presentation-card li { margin-bottom: 0.35rem; }
.presentation-card li::marker { color: var(--blue); }

.toolkit-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 720px) {
  .toolkit-grid { grid-template-columns: repeat(3, 1fr); }
}
.toolkit-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.toolkit-card h3 {
  font-size: 1.05rem;
  color: var(--blue-deep);
  margin: 0;
  line-height: 1.35;
}
.toolkit-card p {
  margin: 0;
  flex: 1;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.toolkit-card .btn { align-self: flex-start; }
.toolkit-thumb {
  display: block;
  border: 1px solid var(--gray);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-light);
  transition: box-shadow var(--transition), transform var(--transition);
}
.toolkit-thumb:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.toolkit-thumb img {
  display: block;
  width: 100%;
  height: auto;
}
.toolkit-meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.form-field select {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.agent-strip {
  margin-top: 2rem;
  padding: 1.35rem 1.4rem;
  background: var(--blue-soft);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.agent-strip h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--blue-deep);
}
.agent-strip p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 48ch;
}

.video-embeds {
  margin-top: 0.25rem;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ---------- Sample reports (prominent) ---------- */
.sample-reports {
  margin-top: 2.75rem;
  background: var(--white);
  border: 2px solid #BFDBFE;
  border-radius: 16px;
  padding: 2.5rem 1.5rem 2.25rem;
  box-shadow: var(--shadow);
}
.sample-reports-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.75rem;
}
.sample-reports-head .eyebrow { margin-bottom: 0.55rem; }
.sample-reports-head h3 {
  font-size: clamp(1.7rem, 3.4vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 0.75rem;
}
.sample-reports-head p {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 0;
}
.sample-report-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 760px) {
  .sample-reports { padding: 2.75rem 2rem 2.5rem; }
  .sample-report-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.sample-report-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  background: var(--white);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.sample-report-face {
  min-height: 128px;
  padding: 1.35rem 1.5rem 1.15rem;
  background:
    linear-gradient(160deg, #1D4ED8 0%, #3B82F6 62%, #93C5FD 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
}
.sample-report-face strong {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}
.sample-report-face span {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}
.sample-report-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
  padding: 1.45rem 1.5rem 1.5rem;
}
.sample-report-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  line-height: 1.25;
  color: var(--blue-deep);
  margin: 0;
}
.sample-report-card p {
  margin: 0;
  flex: 1;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.sample-report-card .cta-pair { margin-top: auto; }
.sample-reports-note {
  margin: 1.35rem auto 0;
  max-width: 70ch;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.5;
}
@media (max-width: 759px) {
  .sample-report-card { min-height: 300px; }
  .sample-report-face { min-height: 108px; }
}

/* 8-card services grid (Well and Septic split): 2 cols, then 4x2 on wide screens so rows stay even */
@media (min-width: 960px) and (max-width: 1099px) {
  .services-grid.services-grid--8 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .services-grid.services-grid--8 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .hub-grid.hub-grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .hub-grid.hub-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Scheduling line CTA (412-995-9257) ---------- */
.btn-sched {
  background: var(--white);
  color: var(--blue-deep);
  border-color: var(--sage, var(--blue));
}
.btn-sched:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
  border-color: var(--blue-dark);
}
.final-cta .btn-sched { border-color: var(--white); color: var(--blue-deep); }
.cta-pair { flex-wrap: wrap; }
.sched-note {
  width: 100%;
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}
.sched-note a { font-weight: 700; white-space: nowrap; color: inherit; }
.nav-mobile-ctas .btn-sched { width: 100%; }
.mobile-cta-bar { gap: 0.4rem; padding-left: 0.5rem; padding-right: 0.5rem; }
.mobile-cta-bar .btn { font-size: 0.74rem; padding-left: 0.35rem; padding-right: 0.35rem; }
@media (max-width: 380px) { .mobile-cta-bar .btn svg { display: none; } }
