/* Foundation First TX — professional lead-gen system
   Palette: navy / white / charcoal / construction orange
   Mobile-first, then desktop
*/
:root {
  --navy: #0b2744;
  --navy-dark: #071a2e;
  --navy-mid: #163a5f;
  --orange: #e87722;
  --orange-hover: #cf6518;
  --orange-soft: #fff4eb;
  --charcoal: #1c2430;
  --muted: #5a6575;
  --steel: #64748b;
  --steel-light: #94a3b8;
  --concrete: #e8edf3;
  --sand: #f3f5f8;
  --cream: #fafbfc;
  --border: #d5dbe4;
  --white: #ffffff;
  --success: #1f7a4d;
  --shadow: 0 4px 20px rgba(11, 39, 68, 0.08);
  --shadow-sm: 0 2px 8px rgba(11, 39, 68, 0.06);
  --shadow-lg: 0 14px 40px rgba(11, 39, 68, 0.16);
  --radius: 10px;
  --radius-lg: 14px;
  --max: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --sticky-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--sticky-h);
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--orange); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Top bar */
.topbar {
  background: var(--navy-dark);
  color: #c5d0de;
  font-size: 0.88rem;
  padding: 0.4rem 0;
}
.topbar .container {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem;
  justify-content: space-between; align-items: center;
}
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar .brand-note { font-size: 0.8rem; color: #9aa8ba; }

/* Legacy phone-bar (city pages) — restyle as slim CTA strip */
.phone-bar {
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
}
.phone-bar a {
  color: #fff; font-weight: 800; text-decoration: none;
  display: inline-block;
}
.phone-bar .sub { display: block; font-size: 0.78rem; opacity: 0.92; margin-top: 0.15rem; font-weight: 500; }
@media (min-width: 700px) {
  .phone-bar .sub { display: inline; margin-left: 0.5rem; }
}

/* Header */
.site-header {
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0;
}
.logo {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--navy);
}
.logo-mark {
  width: 44px; height: 44px; border-radius: 11px;
  flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-text span { font-size: 0.72rem; color: var(--muted); font-weight: 600; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: var(--sand);
  border-radius: 6px; padding: 0.45rem 0.75rem;
  font-size: 0.9rem; color: var(--navy); cursor: pointer; font-weight: 700;
}
.nav-toggle[aria-expanded="true"] { background: var(--orange-soft); border-color: #f0c9a0; }

.site-nav { width: 100%; display: none; }
.site-nav.is-open { display: block; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0.25rem 0 0.5rem;
  display: flex; flex-direction: column; gap: 0.1rem;
}
.site-nav a {
  display: block; padding: 0.5rem 0.65rem; text-decoration: none;
  color: var(--navy); font-weight: 650; font-size: 0.92rem; border-radius: 6px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--orange-soft); color: var(--orange-hover);
}
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; width: auto; }
  .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: 0.05rem; padding: 0; align-items: center; }
  .site-nav a { padding: 0.4rem 0.5rem; font-size: 0.86rem; }
}

/* ========== HOMEPAGE HERO + LEAD FORM ========== */
.hero-lead {
  position: relative;
  color: #fff;
  padding: 1.75rem 0 2rem;
  background-color: var(--navy);
  background-image:
    linear-gradient(115deg, rgba(7,26,46,0.92) 0%, rgba(11,39,68,0.82) 48%, rgba(22,58,95,0.7) 100%),
    url("assets/hero/hero-foundation.webp");
  background-size: cover;
  background-position: center 45%;
}
.hero-lead .container {
  display: grid; gap: 1.5rem; align-items: start;
}
.hero-copy h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 4.8vw, 2.55rem);
  line-height: 1.15; font-weight: 800; letter-spacing: -0.025em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.hero-copy .eyebrow {
  display: inline-block; margin: 0 0 0.6rem;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: #ffd2a8;
}
.hero-copy .lede {
  margin: 0 0 1.15rem; font-size: 1.05rem; max-width: 36rem;
  color: #e4ecf5; line-height: 1.55;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 0.85rem;
}
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 0.45rem 1.1rem;
  font-size: 0.88rem; color: #c5d3e4; margin-top: 0.35rem;
}
.trust-strip span::before {
  content: "✓ "; color: #7dcea0; font-weight: 700;
}

/* Legacy .hero for any leftover / city pages */
.hero {
  position: relative; color: #fff; padding: 2.5rem 0 2.75rem;
  background-color: var(--navy);
  background-image:
    linear-gradient(120deg, rgba(7,26,46,0.9) 0%, rgba(11,39,68,0.8) 50%, rgba(22,58,95,0.72) 100%),
    url("assets/hero/hero-foundation.webp");
  background-size: cover; background-position: center 40%;
}
.hero h1 {
  margin: 0 0 0.75rem; font-size: clamp(1.7rem, 4.5vw, 2.45rem);
  line-height: 1.18; font-weight: 800;
}
.hero .lede { margin: 0 0 1.25rem; font-size: 1.08rem; max-width: 42rem; color: #e4ecf5; }

/* Lead form card */
.lead-card {
  background: var(--white);
  color: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.15);
}
.lead-card h2 {
  margin: 0 0 0.25rem; font-size: 1.2rem; color: var(--navy);
  letter-spacing: -0.01em;
}
.lead-card .lead-sub {
  margin: 0 0 1rem; font-size: 0.88rem; color: var(--muted);
}
.lead-card .form-row {
  display: grid; gap: 0.75rem; grid-template-columns: 1fr;
}
.lead-card .form-group { margin-bottom: 0.75rem; }
.lead-card label {
  display: block; font-weight: 700; font-size: 0.82rem;
  margin-bottom: 0.28rem; color: var(--navy);
}
.lead-card input,
.lead-card select,
.lead-card textarea {
  width: 100%; padding: 0.65rem 0.75rem;
  border: 1px solid var(--border); border-radius: 7px;
  font: inherit; background: var(--sand); color: var(--charcoal);
}
.lead-card input:focus,
.lead-card select:focus,
.lead-card textarea:focus {
  outline: 2px solid rgba(232,119,34,0.45); border-color: var(--orange);
}
.lead-card .checks {
  display: grid; gap: 0.35rem; margin: 0.35rem 0 0.85rem;
}
.lead-card .check {
  display: flex; gap: 0.5rem; align-items: flex-start;
  font-size: 0.88rem; color: var(--charcoal); font-weight: 500;
}
.lead-card .check input { width: auto; margin-top: 0.25rem; }
.lead-card .consent {
  display: flex; gap: 0.55rem; align-items: flex-start;
  font-size: 0.8rem; color: var(--muted); line-height: 1.45; margin: 0.5rem 0 0.9rem;
}
.lead-card .consent input { width: auto; margin-top: 0.2rem; flex-shrink: 0; }
.lead-card .btn { width: 100%; }
.lead-card .form-note { font-size: 0.78rem; color: var(--muted); margin: 0.65rem 0 0; text-align: center; }

@media (min-width: 900px) {
  .hero-lead { padding: 2.75rem 0 3rem; }
  .hero-lead .container {
    grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center;
  }
  .lead-card { padding: 1.45rem 1.4rem 1.5rem; }
  .lead-card .form-row.two { grid-template-columns: 1fr 1fr; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.85rem 1.3rem; border-radius: var(--radius);
  font-weight: 800; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: var(--orange); color: #fff; border-color: var(--orange);
  box-shadow: 0 4px 14px rgba(232,119,34,0.32);
}
.btn-primary:hover { background: var(--orange-hover); color: #fff; border-color: var(--orange-hover); }
.btn-secondary {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.6);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-outline {
  background: var(--white); color: var(--navy); border-color: var(--border);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange-hover); }
.btn-navy {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); color: #fff; }
.btn-disabled, a.btn-disabled {
  background: #6b7788; border-color: #6b7788; color: #fff;
  cursor: not-allowed; opacity: 0.92; pointer-events: none; box-shadow: none;
}

/* Trust indicators under hero */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}
.trust-bar-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.trust-item {
  display: flex; gap: 0.65rem; align-items: flex-start;
  padding: 0.35rem 0.15rem;
}
.trust-item .mark {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange);
  display: grid; place-items: center; font-weight: 800; font-size: 0.85rem;
}
.trust-item strong {
  display: block; font-size: 0.9rem; color: var(--navy); line-height: 1.25;
}
.trust-item span { font-size: 0.78rem; color: var(--muted); }
@media (min-width: 800px) {
  .trust-bar-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

/* Sections */
main { padding-bottom: 2rem; }
.section { padding: 2.5rem 0; }
.section-alt { background: var(--sand); }
.section-navy { background: var(--navy); color: #d7e0eb; }
.section-navy h2 { color: #fff; }
.section-navy a { color: #ffc089; }
.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--navy); letter-spacing: -0.015em; line-height: 1.25;
}
.section .section-intro {
  margin: 0 0 1.5rem; max-width: 40rem; color: var(--muted); font-size: 1.02rem;
}
.section h3 { margin: 1.5rem 0 0.6rem; font-size: 1.15rem; color: var(--navy); }
.section p { margin: 0 0 1rem; }
.section ul, .section ol { margin: 0 0 1.15rem; padding-left: 1.25rem; }
.section li { margin-bottom: 0.4rem; }
.prose { max-width: 48rem; }
.prose > :last-child { margin-bottom: 0; }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-end; gap: 1rem; margin-bottom: 0.5rem;
}

.notice {
  background: var(--orange-soft);
  border-left: 4px solid var(--orange);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.25rem 0; font-size: 0.98rem;
}
.notice strong { color: var(--navy); }
.disclaimer-box {
  background: var(--sand); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.15rem;
  font-size: 0.92rem; color: var(--muted); margin: 1.5rem 0 0;
}

/* Cards / grids */
.card-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.25rem; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--steel-light); box-shadow: var(--shadow); }
.card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; color: var(--navy); }
.card p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.card a { font-weight: 700; text-decoration: none; color: var(--navy); }
.card a:hover { color: var(--orange); text-decoration: underline; }
@media (min-width: 640px) {
  .card-grid.two { grid-template-columns: 1fr 1fr; }
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .card-grid.four { grid-template-columns: repeat(4, 1fr); }
  .card-grid.five { grid-template-columns: repeat(3, 1fr); }
  .card-grid.services { grid-template-columns: repeat(3, 1fr); }
}

/* Warning signs */
.warn-grid {
  display: grid; gap: 0.9rem; grid-template-columns: 1fr 1fr;
}
.warn-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.55rem;
}
.warn-card img { width: 48px; height: 48px; }
.warn-card h3 { margin: 0; font-size: 0.98rem; color: var(--navy); }
.warn-card p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
@media (min-width: 800px) {
  .warn-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Services */
.svc-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.svc-card .svc-media {
  height: 140px; background-size: cover; background-position: center;
  background-color: var(--concrete);
}
.svc-card .svc-body { padding: 1.15rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.svc-card .svc-icon { width: 44px; height: 44px; margin-bottom: 0.55rem; }
.svc-card h3 { margin: 0 0 0.45rem; font-size: 1.08rem; color: var(--navy); }
.svc-card p { margin: 0 0 0.85rem; font-size: 0.92rem; color: var(--muted); flex: 1; }
.svc-card .btn { align-self: flex-start; padding: 0.55rem 0.95rem; font-size: 0.9rem; }

/* Process steps */
.process-grid {
  display: grid; gap: 1rem; grid-template-columns: 1fr; counter-reset: step;
}
.process-step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem 1.2rem 1.25rem 1.2rem;
  position: relative; box-shadow: var(--shadow-sm);
}
.process-step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 0.95rem;
  margin-bottom: 0.65rem;
}
.process-step h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--navy); }
.process-step p { margin: 0; font-size: 0.92rem; color: var(--muted); }
@media (min-width: 800px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Financing */
.finance-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #e8eef6; border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem; display: grid; gap: 1.25rem; align-items: center;
}
.finance-box h2 { color: #fff; margin: 0 0 0.5rem; }
.finance-box p { margin: 0; color: #c9d5e4; }
.finance-box ul { margin: 0.75rem 0 0; padding-left: 1.15rem; color: #e4ecf5; }
.finance-box li { margin-bottom: 0.35rem; }
.finance-box .btn { justify-self: start; }
@media (min-width: 800px) {
  .finance-box { grid-template-columns: 1.4fr auto; padding: 2rem 2.25rem; }
}

/* Reviews placeholder */
.reviews-placeholder {
  border: 2px dashed var(--border); border-radius: var(--radius-lg);
  background: var(--sand); padding: 1.75rem 1.25rem; text-align: center;
}
.reviews-placeholder h3 { margin: 0 0 0.4rem; color: var(--navy); }
.reviews-placeholder p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* FAQ */
.faq-list { display: grid; gap: 0.75rem; max-width: 48rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq-item details { padding: 0; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1rem 1.15rem;
  font-weight: 750; color: var(--navy); font-size: 1rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.35rem; color: var(--orange); font-weight: 700; line-height: 1;
}
.faq-item details[open] summary::after { content: "–"; }
.faq-item .faq-body {
  padding: 0 1.15rem 1.1rem; color: var(--muted); font-size: 0.95rem;
}
.faq-item .faq-body p { margin: 0 0 0.65rem; }
.faq-item .faq-body p:last-child { margin: 0; }

/* Areas */
.area-grid .card { overflow: hidden; padding: 0; }
.area-grid .card .card-media {
  height: 110px; background-size: cover; background-position: center;
}
.area-grid .card .card-body { padding: 1rem 1.15rem 1.15rem; }
.area-grid .card:hover { transform: translateY(-3px); border-color: var(--orange); }
@media (min-width: 640px) {
  .area-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .area-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Media split / cost callouts (city & inner pages) */
.icon-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem;
  margin-top: -1.5rem; position: relative; z-index: 2; padding-bottom: 0.5rem;
}
.icon-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 0.9rem; text-align: center;
  box-shadow: var(--shadow);
}
.icon-card img { width: 48px; height: 48px; margin: 0 auto 0.55rem; }
.icon-card h3 { margin: 0 0 0.35rem; font-size: 0.92rem; color: var(--navy); }
.icon-card p { margin: 0; font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
@media (min-width: 800px) {
  .icon-row { grid-template-columns: repeat(5, 1fr); }
}

.cost-callouts { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 1.5rem 0; }
.cost-callout {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow-sm);
  display: flex; gap: 1rem; align-items: flex-start;
}
.cost-callout img { width: 52px; height: 52px; flex-shrink: 0; }
.cost-callout h3 { margin: 0 0 0.35rem; font-size: 1.05rem; color: var(--navy); }
.cost-callout p { margin: 0; font-size: 0.92rem; color: var(--muted); }
@media (min-width: 800px) {
  .cost-callouts { grid-template-columns: repeat(3, 1fr); }
}

.media-split { display: grid; gap: 1.25rem; align-items: center; }
.media-split .media-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--border); aspect-ratio: 16 / 10; background: var(--concrete);
}
.media-split .media-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 800px) {
  .media-split { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.two-col { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1.4fr 0.9fr; align-items: start; }
}

.map-wrap {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  margin: 1.25rem 0; aspect-ratio: 16 / 10; background: #e8eef2; box-shadow: var(--shadow-sm);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Forms (contact page) */
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow); max-width: 32rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-weight: 650; font-size: 0.92rem;
  margin-bottom: 0.35rem; color: var(--navy);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--border);
  border-radius: 6px; font: inherit; background: var(--cream);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.88rem; color: var(--muted); margin-top: 0.75rem; }

/* Blog */
.blog-list { list-style: none; margin: 0; padding: 0; }
.blog-list li {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.15rem; margin-bottom: 0.75rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  align-items: baseline; box-shadow: var(--shadow-sm);
}
.blog-list li span.coming {
  font-size: 0.8rem; font-weight: 700; color: var(--orange);
  background: var(--orange-soft); padding: 0.2rem 0.55rem; border-radius: 999px;
}

/* Breadcrumb + page hero */
.breadcrumb { font-size: 0.88rem; color: var(--muted); padding: 1rem 0 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 0.35rem; color: var(--border); }

.page-hero {
  background: var(--sand); border-bottom: 1px solid var(--border);
  padding: 1.5rem 0 1.75rem; position: relative;
}
.page-hero.has-banner {
  color: #fff; background-color: var(--navy);
  background-size: cover; background-position: center 40%;
  border-bottom: 0; padding: 2.25rem 0 2.5rem;
}
.page-hero.has-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(7,26,46,0.9) 0%, rgba(11,39,68,0.75) 55%, rgba(22,58,95,0.65) 100%);
}
.page-hero.has-banner .container { position: relative; z-index: 1; }
.page-hero.has-banner h1 { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.2); }
.page-hero.has-banner .lede { color: #d7e0eb; }
.page-hero.has-banner .phone-inline a { color: #fff; border-bottom-color: rgba(255,255,255,0.4); }
.page-hero h1 {
  margin: 0.35rem 0 0.65rem; font-size: clamp(1.5rem, 4vw, 2.15rem);
  color: var(--navy); line-height: 1.2; letter-spacing: -0.02em;
}
.page-hero .lede { margin: 0; max-width: 42rem; color: var(--muted); }
.phone-inline { margin: 0.75rem 0 0; }
.phone-inline a {
  color: var(--navy); font-weight: 700; text-decoration: none;
  border-bottom: 1px solid var(--border);
}

/* Banner helpers for city pages */
.banner-shared { background-image: url("assets/banners/banner-shared.webp"); }
.banner-friendswood { background-image: url("assets/banners/banner-friendswood.webp"); }
.banner-alvin { background-image: url("assets/banners/banner-alvin.webp"); }
.banner-manvel { background-image: url("assets/banners/banner-manvel.webp"); }
.banner-sugar-land { background-image: url("assets/banners/banner-sugar-land.webp"); }
.banner-missouri-city { background-image: url("assets/banners/banner-missouri-city.webp"); }
.page-hero.banner-services { background-image: url("assets/photos/photo-construction.webp"); }
.page-hero.banner-cost { background-image: url("assets/banners/clay-soil.webp"); }
.page-hero.banner-about { background-image: url("assets/banners/banner-shared.webp"); }
.page-hero.banner-contact { background-image: url("assets/banners/banner-shared.webp"); }
.page-hero.banner-blog { background-image: url("assets/banners/banner-shared.webp"); }

/* Mid-page CTA */
.cta-band {
  background:
    linear-gradient(135deg, rgba(7,26,46,0.94), rgba(11,39,68,0.9)),
    url("assets/photos/photo-home-brick.webp");
  background-size: cover; background-position: center;
  color: #e8eef6; padding: 2.5rem 0; text-align: center;
}
.cta-band h2 { margin: 0 0 0.5rem; color: #fff; font-size: clamp(1.3rem, 3vw, 1.7rem); }
.cta-band p { margin: 0 0 1.15rem; max-width: 36rem; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* Footer */
.site-footer {
  background: var(--navy-dark); color: #a8b6c8; padding: 2.5rem 0 1.5rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid; gap: 1.75rem; grid-template-columns: 1fr;
  margin-bottom: 1.75rem;
}
.footer-brand p { margin: 0.65rem 0 0; line-height: 1.55; max-width: 28rem; }
.footer-logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; color: #fff;
}
.footer-logo strong { font-size: 1.05rem; }
.footer-logo img { width: 40px; height: 40px; border-radius: 10px; }
.site-footer h3 {
  margin: 0 0 0.65rem; color: #fff; font-size: 0.95rem;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: #c5d0de; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.15rem; font-size: 0.8rem; color: #7e8fa3;
}
.footer-legal p { margin: 0 0 0.5rem; }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* Sticky mobile CTA */
.sticky-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--navy-dark); border-top: 3px solid var(--orange);
  padding: 0.55rem 0.85rem 0.65rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.2);
}
.sticky-call a {
  color: #fff; font-weight: 800; font-size: 1.05rem;
  text-decoration: none; letter-spacing: 0.01em;
}
.sticky-call .sub { font-size: 0.72rem; color: #9aa8ba; }
@media (min-width: 900px) {
  .sticky-call { display: none; }
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.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;
}

.logo { display:flex; align-items:center; gap:0.65rem; text-decoration:none; }
.logo-img { height:72px; width:auto; display:block; }
.footer-logo img.logo-img, .footer-logo .logo-img { height:80px; width:auto; }
@media (max-width:720px){ .logo-img{ height:56px; } }
