/* Theme: the hub's Capital Hub palette and type (Plus Jakarta Sans + Inter), applied 2026-09-16.
   Token names are unchanged so the rest of this file keeps working; values map to exlgrouptx.com's. */
/* ============================================================
   TEXAS HOMES REBATES — Design System
   Brand: Navy #192233 | Crimson #1B37A6 | Banner Blue #1B3A6B
   Fonts: Oswald (headlines) | Open Sans (body)
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #192233;            /* hub surface 1 (Capital Hub) */
  --navy-dark: #101726;       /* hub page ground */
  --banner-blue: #2D3A55;     /* hub surface 3 */
  --crimson: #2347C8;         /* EXL blue: buttons, links (token name kept) */
  --crimson-dark: #1B37A6;
  --crimson-light: #3F6AD8;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --light-gray: #E2E8F0;
  --medium-gray: #475569;
  --text-dark: #1A1D24;
  --gold: #7FA8FF;            /* hub accent on dark (sky) */
  --crimson-glow: #7FA8FF; /* bright coral-red for small accents/text on navy — logo-family red, tuned for contrast where flat crimson reads too dark */
  --shadow-sm: 0 2px 8px rgba(16,23,38,0.10);
  --shadow-md: 0 8px 30px rgba(16,23,38,0.15);
  --shadow-lg: 0 20px 60px rgba(16,23,38,0.20);
  --shadow-crimsn: 0 8px 30px rgba(35,71,200,0.25);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;
  --success: #22c55e;
  --gold-star: #C9A84C;      /* review stars stay gold */
  --duration-fast: 0.2s;
  --duration-default: 0.3s;
  --duration-slow: 0.45s;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  line-height: 1.2;
  font-weight: 600;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-xl { padding: 20px 44px; font-size: 1.15rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-crimson {
  background: var(--crimson);
  color: var(--white);
  box-shadow: var(--shadow-crimsn);
}
.btn-crimson:hover {
  background: var(--crimson-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(27,55,166,0.35);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ===== SECTION BASE ===== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header.light .section-title,
.section-header.light .section-subtitle { color: var(--white); }

.section-eyebrow {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--crimson);
  background: rgba(27,55,166,0.08);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid rgba(27,55,166,0.2);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-title.left { text-align: left; }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--medium-gray);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-cta-wrap {
  text-align: center;
  margin-top: 48px;
}

/* ===== HOMEPAGE LIVE INVENTORY PULSE ===== */
.pulse-section {
  --pulse-navy-deep: #101726;
  --pulse-navy: #192233;
  --pulse-navy-mid: #2D3A55;
  --pulse-gold: #7FA8FF;
  --pulse-crimson: #2347C8;
  --pulse-crimson-bright: #3F6AD8;
  --pulse-ivory: #F8FAFC;
  --pulse-ivory-dim: rgba(237, 230, 211, 0.62);
  --pulse-line: rgba(212, 175, 92, 0.16);
  --pulse-line-bright: rgba(212, 175, 92, 0.5);
  position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 82% 8%, rgba(212, 175, 92, 0.1), transparent 60%),
    linear-gradient(165deg, var(--pulse-navy-deep) 0%, var(--pulse-navy) 46%, var(--pulse-navy-mid) 100%);
  color: var(--pulse-ivory);
  padding: 88px 24px 76px;
  overflow: hidden;
}

.pulse-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--pulse-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--pulse-line) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 0%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}

.tx-watermark {
  position: absolute;
  right: -6%;
  top: 6%;
  width: 620px;
  max-width: 60vw;
  opacity: 0.06;
  pointer-events: none;
  color: var(--pulse-gold);
}

.pulse-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  z-index: 1;
}

.pulse-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}

.pulse-header-main {
  max-width: 620px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pulse-gold);
  background: rgba(212, 175, 92, 0.08);
  border: 1px solid rgba(212, 175, 92, 0.35);
  padding: 7px 16px 7px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
  opacity: 0;
  animation: pulse-rise-in 0.7s cubic-bezier(.16, 1, .3, 1) forwards;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5ee08a;
  box-shadow: 0 0 0 0 rgba(94, 224, 138, 0.6);
  animation: pulse-dot 2.2s ease-out infinite;
  flex-shrink: 0;
}

.pulse-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0 0 18px;
  color: #fff;
  opacity: 0;
  animation: pulse-rise-in 0.7s cubic-bezier(.16, 1, .3, 1) 0.08s forwards;
}

.pulse-title em {
  font-style: normal;
  color: var(--pulse-gold);
}

.pulse-sub {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--pulse-ivory-dim);
  max-width: 46ch;
  margin: 0;
  opacity: 0;
  animation: pulse-rise-in 0.7s cubic-bezier(.16, 1, .3, 1) 0.16s forwards;
}

/* ----- spec panel: a technical title-block, not a marketing badge ----- */
.pulse-specbox {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 6px 0 0;
  padding: 16px 20px;
  border: 1px solid rgba(212, 175, 92, 0.28);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  opacity: 0;
  animation: pulse-rise-in 0.7s cubic-bezier(.16, 1, .3, 1) 0.2s forwards;
}
.pulse-specbox::before, .pulse-specbox::after,
.pulse-specbox > div:last-child { position: relative; }
.pulse-specbox::before, .pulse-specbox::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid var(--pulse-gold);
  opacity: 0.7;
}
.pulse-specbox::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.pulse-specbox::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.pulse-specbox div { display: flex; justify-content: space-between; gap: 22px; }
.pulse-specbox dt {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pulse-ivory-dim);
}
.pulse-specbox dd {
  margin: 0;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--pulse-gold);
  text-align: right;
  white-space: nowrap;
}

.readout-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 8px;
}

/* A dimension line, the way a technical drawing marks a measured span, not a
   decorative divider: a hairline with fine ticks every few percent, fading at
   the ends rather than a flat gradient bar. */
.readout-row::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 9px;
  transform: translateY(-50%);
  background-image:
    linear-gradient(90deg, transparent, var(--pulse-line-bright) 8%, var(--pulse-line-bright) 92%, transparent),
    repeating-linear-gradient(90deg, var(--pulse-line-bright) 0, var(--pulse-line-bright) 1px, transparent 1px, transparent 12.5%);
  background-repeat: no-repeat, repeat-x;
  background-position: center, center;
  background-size: 100% 1px, 100% 9px;
  opacity: 0.8;
  z-index: 0;
}

.readout {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 8px 18px;
  opacity: 0;
  transform: translateY(14px);
  animation: pulse-rise-in 0.6s cubic-bezier(.16, 1, .3, 1) forwards;
  transition: transform 0.3s ease;
}

.readout:nth-child(1) { animation-delay: 0.24s; }
.readout:nth-child(2) { animation-delay: 0.32s; }
.readout:nth-child(3) { animation-delay: 0.40s; }
.readout:nth-child(4) { animation-delay: 0.48s; }
.readout:hover { transform: translateY(-3px); }

/* A survey/registration mark, not a plain bullet: circle + crosshair, the way
   a measured point is marked on a technical drawing. */
.readout-node {
  position: relative;
  width: 13px;
  height: 13px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--pulse-navy-deep);
  border: 1.5px solid var(--pulse-gold);
  box-shadow: 0 0 0 5px var(--pulse-navy), 0 0 14px 2px rgba(212, 175, 92, 0.3);
}
.readout-node::before, .readout-node::after {
  content: '';
  position: absolute;
  background: var(--pulse-gold);
}
.readout-node::before { top: 50%; left: 2px; right: 2px; height: 1px; transform: translateY(-50%); }
.readout-node::after { left: 50%; top: 2px; bottom: 2px; width: 1px; transform: translateX(-50%); }

.readout-value {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.3vw, 2.6rem);
  color: var(--pulse-gold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.readout-label {
  display: block;
  margin-top: 9px;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pulse-ivory-dim);
}

/* ----- metro tiles: real, clickable, filters this section in place ----- */
.pulse-metro-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}

.pulse-metro-tile {
  display: block;
  appearance: none;
  text-align: left;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 13px 15px;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
  opacity: 0;
  animation: pulse-rise-in 0.5s cubic-bezier(.16, 1, .3, 1) forwards;
}
.pulse-metro-tile:nth-child(1) { animation-delay: 0.22s; }
.pulse-metro-tile:nth-child(2) { animation-delay: 0.26s; }
.pulse-metro-tile:nth-child(3) { animation-delay: 0.30s; }
.pulse-metro-tile:nth-child(4) { animation-delay: 0.34s; }
.pulse-metro-tile:nth-child(5) { animation-delay: 0.38s; }

.pulse-metro-tile:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.26); transform: translateY(-2px); }
.pulse-metro-tile.active { background: rgba(212, 175, 92, 0.14); border-color: var(--pulse-gold); box-shadow: 0 0 0 1px rgba(212, 175, 92, 0.3); }
.pulse-metro-tile:focus-visible { outline: 2px solid var(--pulse-gold); outline-offset: 2px; }

/* "All Texas" is the aggregate, not one metro among five — a dashed outline
   reads as "summary" the way a boundary line reads as a survey aggregate,
   distinct from the four solid-bordered metros even before it's selected. */
.pulse-metro-tile:first-child:not(.active) { border-style: dashed; border-color: rgba(212, 175, 92, 0.3); }
.pulse-metro-tile:first-child .pulse-metro-name { font-weight: 700; }

.pulse-metro-name {
  display: block;
  color: #fff;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 3px;
}
.pulse-metro-tile.active .pulse-metro-name { color: var(--pulse-gold); }

.pulse-metro-count {
  display: block;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  color: var(--pulse-ivory-dim);
  font-size: 0.68rem;
}

/* ----- charts: same data as homes.html, styled dark ----- */
.pulse-charts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 44px;
  opacity: 0;
  animation: pulse-rise-in 0.6s cubic-bezier(.16, 1, .3, 1) 0.5s forwards;
}

.pulse-chart-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 3px;
  padding: 20px 20px 18px;
}

/* Registration marks at two opposing corners, echoing the spec panel and the
   readout nodes — the same technical-drawing vocabulary used consistently. */
.pulse-chart-card::before, .pulse-chart-card::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(212, 175, 92, 0.4);
}
.pulse-chart-card::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.pulse-chart-card::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.pulse-chart-card h3 {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pulse-ivory-dim);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
}

.pulse-bar-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  border-radius: 6px;
  padding: 0 4px;
  text-decoration: none;
  color: inherit;
}

.pulse-bar-cat {
  color: var(--pulse-ivory);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pulse-bar-track {
  position: relative;
  height: 16px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
}

.pulse-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 4px 2px 2px 4px;
  min-width: 3px;
  background: linear-gradient(90deg, rgba(212, 175, 92, 0.55), var(--pulse-gold));
  transition: width 0.3s ease;
}

/* A brighter tick at the fill's leading edge, like a gauge needle rather than
   a flat progress bar ending mid-air. */
.pulse-bar-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: -1px;
  bottom: -1px;
  width: 2px;
  background: #f4e2ab;
  box-shadow: 0 0 6px 1px rgba(244, 226, 171, 0.6);
}

.pulse-bar-value {
  color: var(--pulse-gold);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.pulse-bar-row.pickable { cursor: pointer; }
.pulse-bar-row.pickable:hover { background: rgba(255, 255, 255, 0.06); }
.pulse-bar-row.pickable:hover .pulse-bar-cat { color: var(--pulse-gold); }
.pulse-bar-row.pickable:focus-visible { outline: 2px solid var(--pulse-gold); outline-offset: 1px; }
.pulse-bar-row.active { background: rgba(212, 175, 92, 0.12); }
.pulse-bar-row.active .pulse-bar-cat { color: var(--pulse-gold); font-weight: 700; }

.pulse-dash-empty {
  color: var(--pulse-ivory-dim);
  font-size: 0.76rem;
  padding: 8px 0;
}

.pulse-cta-wrap {
  text-align: center;
  margin-top: 46px;
  opacity: 0;
  animation: pulse-rise-in 0.6s cubic-bezier(.16, 1, .3, 1) 0.64s forwards;
}

.pulse-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--pulse-crimson-bright), var(--pulse-crimson));
  border: none;
  padding: 17px 34px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 26px -6px rgba(196, 41, 31, 0.55);
  transition: transform 0.25s cubic-bezier(.16, 1, .3, 1), box-shadow 0.25s ease;
}

.pulse-cta:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 14px 34px -6px rgba(196, 41, 31, 0.7);
}

.pulse-cta:active { transform: translateY(0) scale(0.99); }
.pulse-cta svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.pulse-cta:hover svg { transform: translateX(3px); }

.pulse-fineprint {
  margin: 18px 0 0;
  font-size: 0.72rem;
  color: rgba(237, 230, 211, 0.4);
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
}

@keyframes pulse-rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(94, 224, 138, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(94, 224, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 224, 138, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .live-badge, .pulse-title, .pulse-sub, .readout, .pulse-metro-tile, .pulse-charts, .pulse-cta-wrap, .pulse-specbox {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .live-dot { animation: none !important; }
}

@media (max-width: 900px) {
  .pulse-header { flex-direction: column; }
  .pulse-header-main { max-width: none; }
  .pulse-specbox { align-self: flex-start; }
  .pulse-specbox div { justify-content: flex-start; gap: 14px; }
  .pulse-specbox dd { text-align: left; }
}

@media (max-width: 860px) {
  .readout-row { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .readout-row::before { display: none; }
  .tx-watermark { display: none; }
  .pulse-metro-tiles { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .pulse-metro-tiles { grid-template-columns: 1fr 1fr; }
  .pulse-charts { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .readout-value { font-size: 1.55rem; }
  .pulse-section { padding: 68px 18px 56px; }
  .pulse-bar-row { grid-template-columns: 72px minmax(0, 1fr) 34px; gap: 6px; }
}

/* ===== STICKY HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(16,23,38,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

/* Thin crimson rule under the header — the same "badge line" device used to
   mark section starts elsewhere (hero trust strip, dashboard headings), so
   the nav itself carries a small, deliberate nod to the logo's red instead
   of a plain neutral hairline. */
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--crimson) 15%, var(--crimson-glow) 50%, var(--crimson) 85%, transparent 100%);
  opacity: 0.85;
  pointer-events: none;
}

.site-header.scrolled {
  background: rgba(15,26,46,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.header-logo { flex-shrink: 0; }

.header-nav { flex: 1; }

.header-nav ul {
  display: flex;
  gap: 4px;
}

.header-nav ul li a {
  color: rgba(255,255,255,0.85);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.header-nav ul li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== LOGO STYLES — transparent-background crops of the master lockup ===== */
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}

.footer-logo {
  height: 68px !important;
  width: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}

.cta-banner-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}

/* ===================================================
   GLASS BUTTON SYSTEM
   Inspired by Apple liquid-glass morphism.
   Adapted to THR brand in vanilla CSS.
   =================================================== */
.btn-glass {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: transparent;
  isolation: isolate;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

/* The backdrop lens layer */
.btn-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  z-index: -1;
  transition: background-color 0.4s cubic-bezier(1,0,0.4,1),
              box-shadow 0.4s cubic-bezier(1,0,0.4,1);
}

/* Crimson glass — primary CTA */
.btn-glass-crimson::before {
  background-color: rgba(27,55,166,0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.13),
    inset 1.8px 3px 0px -2px rgba(255,255,255,0.85),
    inset -2px -2px 0px -2px rgba(255,255,255,0.65),
    inset -0.3px -1px 4px 0px rgba(0,0,0,0.18),
    inset 0px 3px 4px -2px rgba(0,0,0,0.22),
    0px 4px 20px rgba(27,55,166,0.45),
    0px 1px 6px rgba(0,0,0,0.18);
}
.btn-glass-crimson:hover::before {
  background-color: rgba(27,55,166,0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.18),
    inset 1.8px 3px 0px -2px rgba(255,255,255,0.90),
    inset -2px -2px 0px -2px rgba(255,255,255,0.72),
    inset -0.3px -1px 4px 0px rgba(0,0,0,0.22),
    inset 0px 3px 4px -2px rgba(0,0,0,0.25),
    0px 10px 30px rgba(27,55,166,0.55),
    0px 2px 8px rgba(0,0,0,0.22);
}

/* Navy glass — secondary CTA */
.btn-glass-navy::before {
  background-color: rgba(16,23,38,0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    inset 1.8px 3px 0px -2px rgba(255,255,255,0.80),
    inset -2px -2px 0px -2px rgba(255,255,255,0.60),
    inset -0.3px -1px 4px 0px rgba(0,0,0,0.15),
    0px 4px 16px rgba(16,23,38,0.4),
    0px 1px 5px rgba(0,0,0,0.15);
}
.btn-glass-navy:hover::before {
  background-color: rgba(16,23,38,0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.16),
    inset 1.8px 3px 0px -2px rgba(255,255,255,0.88),
    inset -2px -2px 0px -2px rgba(255,255,255,0.68),
    0px 8px 24px rgba(16,23,38,0.5),
    0px 2px 8px rgba(0,0,0,0.2);
}

/* Clear/outline glass — ghost CTA on dark bgs */
.btn-glass-clear::before {
  background-color: rgba(255,255,255,0.08);
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,0.40),
    inset 1.8px 3px 0px -2px rgba(255,255,255,0.65),
    inset -0.3px -1px 4px 0px rgba(0,0,0,0.10),
    0px 4px 16px rgba(0,0,0,0.15);
}
.btn-glass-clear:hover::before {
  background-color: rgba(255,255,255,0.16);
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,0.55),
    inset 1.8px 3px 0px -2px rgba(255,255,255,0.80),
    inset -0.3px -1px 4px 0px rgba(0,0,0,0.14),
    0px 6px 20px rgba(0,0,0,0.20);
}

@media (hover: hover) {
  .btn-glass:not(:disabled):hover { transform: scale(1.03); }
}
.btn-glass:not(:disabled):active { transform: scale(0.96); }

/* Size variants */
.btn-glass.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-glass.btn-xl { padding: 21px 50px; font-size: 1.1rem; }
.btn-glass.btn-sm { padding: 10px 22px; font-size: 0.82rem; letter-spacing: 0.5px; }
.btn-glass.btn-block { width: 100%; }

/* Glass card (calculator, etc.) */
.glass-card {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 24px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.14),
    inset 1.8px 3px 0px -2px rgba(255,255,255,0.55),
    0 24px 64px rgba(0,0,0,0.28),
    0 4px 16px rgba(0,0,0,0.18);
}

/* ===== HERO (redesigned) ===== */
/* Bespoke crest composition replacing the old stock-photo hero — built from the
   logo's own navy/crimson palette and its Texas-icon mark instead of a generic
   "house photo + dark gradient" background. All of it lives on .hero-overlay
   (via its own background plus ::before/::after pseudo-layers) so every page
   sharing .hero/.hero-overlay picks it up automatically — no per-page markup. */
.hero {
  background: linear-gradient(155deg, var(--navy-dark) 0%, var(--navy) 52%, var(--banner-blue) 100%);
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

/* Layer 1 (base): soft crimson + banner-blue glows for depth, no flat gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 600px at 90% 4%, rgba(35,71,200,0.24) 0%, transparent 62%),
    radial-gradient(560px 460px at 4% 100%, rgba(27,58,107,0.4) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* Layer 2: the logo's own Texas/house/coin mark, large and quiet, bleeding off
   the lower-right corner behind the form/calculator card — the hero's visual
   anchor tying it directly back to the brand mark instead of a stock photo. */
.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background: url('../images/thr-logo-icon.png') no-repeat right -70px bottom -90px / 600px auto;
  filter: drop-shadow(0 0 48px rgba(35,71,200,0.45));
}

/* Layer 3: fine grain — CSS-only (SVG feTurbulence data URI, no image asset),
   the same "not flat" texture treatment used on the inventory dashboard's
   paper background. Deliberately faint: tactile depth on close inspection,
   not visible noise from a normal viewing distance. */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Full-height flex wrapper */
.hero-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 100px 24px 0;   /* 72px header + 28px breathing room */
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-top-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-broker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,92,0.12);
  border: 1px solid rgba(255,107,92,0.4);
  color: var(--crimson-glow);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 100px;
}

.hero-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: 0.3px;
  padding: 6px 14px;
  border-radius: 100px;
}

.hero-review-stars {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 1px;
  line-height: 1;
}

.hero-review-count {
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  text-transform: none;
}

/* ---- Main two-column body ---- */
.hero-body {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 52px;
  align-items: center;
  flex: 1;
  padding: 40px 0 60px;
}

/* ---- Left: text col ---- */
.hero-text { }

/* ---- Right: form col ---- */
.hero-form-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.hero-eyebrow span {
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  display: inline-block;
}

.hero-headline {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
  font-weight: 600;
}

/* Savings-led hero */
.hero-savings-figure {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -1px;
  color: var(--white);
  text-shadow: 0 2px 28px rgba(0,0,0,0.42);
  margin-bottom: 10px;
}
.hero-savings-figure sup { color: var(--crimson-glow); font-size: 0.32em; top: -1.6em; }
.hero-savings-caption {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}
.hero-savings-explainer {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 16px;
}
.hero-savings-explainer strong { color: var(--crimson-glow); }
.hero-urgency {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  background: rgba(35,71,200,0.18);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 11px 14px;
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-urgency i { color: var(--crimson-glow); margin-top: 2px; flex-shrink: 0; }
.hero-urgency strong { color: #fff; }
.hero-fineprint {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  max-width: 540px;
  margin-top: 18px;
}

.hero-accent {
  color: #f06060;
  font-style: normal;
  display: block;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-sub strong { color: #6af5a4; }

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-trust-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid rgba(201,168,76,0.22);
  position: relative;
}
/* Same thin-gold-rule device used to mark section starts on the dashboard
   pages (h1/h2 underlines) — a short bright segment breaking up the full-
   width hairline, rather than a plain divider. */
.hero-trust-strip::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 46px;
  height: 2px;
  background: var(--crimson-glow);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 600;
}
.trust-item i { color: var(--success); font-size: 0.9rem; }

/* ---- Hero Quick-Contact Form ---- */
.hero-quick-form {
  width: 100%;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 24px 26px 20px;
}

.hqf-header {
  color: var(--white);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin: 0 0 14px;
}
.hqf-header i { color: var(--crimson-glow); margin-right: 6px; }

.hqf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-quick-form input[type="text"],
.hero-quick-form input[type="email"],
.hero-quick-form input[type="tel"],
.hero-quick-form select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.88rem;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
}
.hero-quick-form select { margin-bottom: 10px; }
.hero-quick-form input::placeholder { color: rgba(255,255,255,0.45); }
.hero-quick-form select option { background: var(--navy); color: var(--white); }
.hero-quick-form input:focus,
.hero-quick-form select:focus {
  outline: none;
  border-color: var(--crimson-glow);
}

.hqf-submit {
  width: 100%;
  padding: 11px 20px;
  background: var(--crimson);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-top: 4px;
}
.hqf-submit:hover { background: #9a1818; transform: translateY(-1px); }
.hqf-submit:active { transform: translateY(0); }

.hqf-trust {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin: 8px 0 0;
}

.hqf-success {
  text-align: center;
  padding: 16px;
  color: var(--success);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
}
.hqf-success i { margin-right: 6px; }
.hqf-success-note {
  margin-top: 10px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  letter-spacing: normal;
}
.hqf-success-note a {
  color: var(--crimson-glow);
  text-decoration: underline;
}

.hqf-error {
  font-size: 0.8rem;
  color: #BFD3FF;
  margin-top: 6px;
  text-align: center;
}

/* ---- Right: glass calculator card ---- */
.hero-calc-wrap {
  position: relative;
}

.hero-calc-card {
  padding: 32px 28px;
}

.hero-calc-card .calc-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hero-calc-card .calc-card-header i { color: var(--crimson-glow); font-size: 1.2rem; }

.calc-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: block;
}

.calc-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.calc-input-wrap {
  position: relative;
  flex: 1;
  min-width: 160px;
}

.calc-prefix {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  pointer-events: none;
}

.calc-input {
  width: 100%;
  padding: 13px 14px 13px 28px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  color: var(--white);
  font-size: 1rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  transition: var(--transition);
}
.calc-input::placeholder { color: rgba(255,255,255,0.38); }
.calc-input:focus { outline: none; border-color: var(--crimson-glow); background: rgba(255,255,255,0.18); }

.calc-results-inline {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 280px;
  margin: 20px auto;
  gap: 12px;
}

.calc-result-box-sm {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}
.calc-result-box-sm.primary { background: rgba(27,55,166,0.25); border-color: rgba(27,55,166,0.45); }

.calc-result-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.calc-result-value {
  display: block;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.calc-result-box-sm.primary .calc-result-value { color: #A9C5FF; }

.calc-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  z-index: 3;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.hide-mobile { display: inline; }

/* Hero responsive */
@media (max-width: 1024px) {
  .hero-wrap { padding-top: 88px; }
  .hero-body { grid-template-columns: 1fr; gap: 36px; padding-bottom: 80px; }
  .hero-calc-card { max-width: 480px; }
  .hero-headline { font-size: clamp(1.4rem, 4vw, 1.9rem); }
  .hero-savings-figure { font-size: clamp(2.4rem, 8vw, 4rem); }
  .hero-form-col { justify-content: flex-start; }
  .hero-quick-form { max-width: 540px; }
}
@media (max-width: 640px) {
  .hero-wrap { padding-top: 90px; padding-left: 16px; padding-right: 16px; }
  .hero-broker-badge { font-size: 0.72rem; }
  .hero-headline { font-size: 1.4rem; }
  .hero-savings-figure { font-size: 3rem; }
  .hero-sub { font-size: 1rem; }
  .hero-savings-explainer { font-size: 1rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-glass { width: 100%; justify-content: center; }
  .hero-calc-card { padding: 24px 18px; }
  .scroll-indicator { display: none; }
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: var(--crimson);
  color: var(--white);
  padding: 14px 0;
  text-align: center;
}

.announcement-bar p {
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.announcement-bar i { color: var(--gold); }

.announcement-bar a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 700;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: var(--off-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 16px;
}

.step-icon-wrap {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-crimsn);
}

.step-icon-wrap i {
  font-size: 1.8rem;
  color: var(--white);
}

.step-card h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.step-card p {
  color: var(--medium-gray);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.step-link {
  color: var(--crimson);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.step-link:hover { color: var(--crimson-dark); gap: 10px; }

.steps-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  padding-top: 120px;
}

.connector-arrow {
  color: var(--crimson);
  font-size: 1.5rem;
  opacity: 0.6;
}

/* ===== WHY US ===== */
.why-us {
  background: var(--navy);
  overflow: hidden;
}

.why-us-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(27,55,166,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(27,58,107,0.3) 0%, transparent 50%);
  pointer-events: none;
}

.why-us .section-eyebrow {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.3);
}

.why-us .section-title { color: var(--white); }
.why-us .section-subtitle { color: rgba(255,255,255,0.7); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.trust-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.trust-icon {
  width: 52px;
  height: 52px;
  background: rgba(27,55,166,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.trust-icon i { color: var(--gold); font-size: 1.3rem; }

.trust-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 10px;
}

.trust-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.6;
}

.license-badge-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

.license-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
}

.license-badge i { color: var(--gold); }

/* ===== CALCULATOR SECTION ===== */
.calculator-section {
  background: var(--white);
}

.calculator-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.calculator-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.calc-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.calc-title-row i { color: var(--gold); font-size: 1.4rem; }

.calc-input-group { margin-bottom: 24px; }
.calc-input-group label {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-input-wrap.large { max-width: 100%; }

.calc-input.large {
  font-size: 1.4rem;
  padding: 16px 20px 16px 36px;
}

.calc-prefix { font-size: 1.4rem; }

.calc-slider-wrap { margin-bottom: 32px; }

.price-slider {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin-bottom: 12px;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.price-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.slider-labels {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.calc-results-grid.single {
  grid-template-columns: 1fr;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.calc-result-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
}

.calc-result-box.featured {
  background: rgba(27,55,166,0.2);
  border-color: rgba(27,55,166,0.5);
}

.result-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--crimson);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.result-box-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.result-box-amount {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.result-box-detail p {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.result-box-detail strong { color: rgba(255,255,255,0.85); }

.calc-disclaimer {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  line-height: 1.6;
  display: flex;
  gap: 10px;
}

.calc-disclaimer i { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.calculator-sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-card {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.sidebar-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.sidebar-card h3 i { color: var(--gold); }

.calc-breakdown { margin-top: 12px; }

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
  color: var(--medium-gray);
}

.breakdown-row:last-child { border-bottom: none; }

.breakdown-row.highlight { color: var(--crimson); font-weight: 700; }
.breakdown-row.highlight span:last-child { color: var(--crimson); }

.example-note {
  font-size: 0.78rem;
  color: var(--medium-gray);
  margin-top: 12px;
  font-style: italic;
}

.calc-example p:first-child {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.sidebar-cta-card {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.sidebar-cta-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.sidebar-cta-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* ===== SERVICE AREAS ===== */
.service-areas {
  background: var(--navy);
  overflow: hidden;
}

.service-areas .section-eyebrow {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.3);
}

.service-areas .section-title { color: var(--white); }
.service-areas .section-subtitle { color: rgba(255,255,255,0.7); }

.areas-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: center;
}

.texas-map-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.texas-silhouette {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
}

.texas-svg { width: 100%; height: auto; }

.city-dot {
  cursor: pointer;
  transition: r 0.2s;
}

.city-dot:hover { r: 9; }

.areas-list { display: flex; flex-direction: column; gap: 28px; }

.area-region h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}

.area-region h3 i { color: var(--crimson); }

.city-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.city-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.city-tag:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--white);
}

.area-all-texas {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(27,55,166,0.2);
  border: 1px solid rgba(27,55,166,0.4);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.area-all-texas i { color: var(--gold); font-size: 1.1rem; }

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
}

.about-badge-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-photo-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid rgba(201,168,76,0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  flex-shrink: 0;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-name {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.about-title {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-brokerage {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.about-stats {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 24px;
}

.about-stat {
  flex: 1;
  padding: 16px 8px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.about-stat:last-child { border-right: none; }

.about-stat strong {
  display: block;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.4rem;
  color: var(--gold);
}

.about-stat span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.about-contact-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.about-contact-links a:hover {
  background: var(--crimson);
  border-color: var(--crimson);
}

.about-content .section-eyebrow {
  display: inline-block;
  text-align: left;
  margin-bottom: 16px;
}

.about-content p {
  color: var(--medium-gray);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.about-content p strong { color: var(--navy); }

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--text-dark);
  font-weight: 500;
}

.highlight-item i { color: var(--crimson); font-size: 1.1rem; flex-shrink: 0; }

/* ===== LEAD FORM SECTION ===== */
.lead-form-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--banner-blue) 100%);
  position: relative;
  overflow: hidden;
}

.lead-form-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(27,55,166,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.lead-form-wrap {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 64px;
  align-items: start;
}

.lead-form-content .section-eyebrow.light {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.3);
}

.lead-form-content .section-title.light { color: var(--white); text-align: left; }

.light-text {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.form-trust-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.ftp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.ftp-item i { color: #6af5a4; width: 20px; text-align: center; }

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}

.contact-info-item i { color: var(--gold); width: 20px; }
.contact-info-item:hover { color: var(--white); }

.lead-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.lead-form-box h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--light-gray);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.97rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(16,23,38,0.1);
}

.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 80px; }

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--medium-gray);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success.hidden { display: none; }

.form-success i {
  font-size: 3rem;
  color: #22c55e;
  margin-bottom: 16px;
}

.form-success h4 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--medium-gray);
  margin-bottom: 24px;
}

/* ===== TESTIMONIALS (Animated Infinite Scroll Widget) ===== */
.testimonials {
  background: var(--off-white);
}

/* Google badge row */
.google-reviews-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.google-badge-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.google-badge-text .google-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.google-badge-text .google-stars i { color: var(--gold); font-size: 0.85rem; }
.google-badge-text .google-stars strong { color: var(--navy); font-size: 1rem; margin-left: 4px; }
.google-badge-text span { font-size: 0.8rem; color: var(--medium-gray); }

/* Animated scroll columns */
.testimonials-scroll-wrap {
  position: relative;
  height: 560px;
  overflow: hidden;
}

.testimonials-scroll-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 100px;
  z-index: 2;
  pointer-events: none;
}

.testimonials-scroll-fade-top {
  top: 0;
  background: linear-gradient(to bottom, var(--off-white), transparent);
}

.testimonials-scroll-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--off-white), transparent);
}

.testimonials-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  height: 100%;
}

.testimonials-col-outer {
  overflow: hidden;
  height: 560px;
}

/* The inner column scrolls upward infinitely */
.testimonials-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: scrollUp var(--duration, 28s) linear infinite;
  /* Each column contains cards duplicated — JS handles duplication */
}

@keyframes scrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.testimonials-col-outer:hover .testimonials-col { animation-play-state: paused; }

/* Individual testimonial card */
.tcard {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.tcard.tcard-featured {
  background: var(--navy);
  border-color: transparent;
}

.tcard.tcard-featured p { color: rgba(255,255,255,0.85); }
.tcard.tcard-featured .tcard-author strong { color: var(--white); }
.tcard.tcard-featured .tcard-author span { color: rgba(255,255,255,0.55); }
.tcard.tcard-featured .tcard-avatar { background: rgba(255,255,255,0.12); color: var(--white); }

.tcard-stars { margin-bottom: 12px; }
.tcard-stars i { color: var(--gold); font-size: 0.8rem; }

.tcard p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--light-gray);
}

.tcard.tcard-featured .tcard-author { border-top-color: rgba(255,255,255,0.1); }

.tcard-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.tcard-author strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
}

.tcard-author span {
  font-size: 0.76rem;
  color: var(--medium-gray);
}

/* ===== SEARCH HOMES SECTION ===== */
.search-homes-section {
  background: var(--off-white);
}

.search-widget-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.search-widget-box {
  width: 100%;
  max-width: 640px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  padding: 8px;
}

.search-widget-cta {
  text-align: center;
  max-width: 520px;
}

.search-widget-cta p {
  color: var(--medium-gray);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.65;
}

/* Keep old blockquote for any remaining usage */
blockquote {
  color: var(--medium-gray);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

/* ===== FAQ ===== */
.faq-section {
  background: linear-gradient(180deg, #f4f6fb 0%, var(--white) 60%);
}

.faq-category {
  margin-bottom: 32px;
}

.faq-category-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.faq-category-label i { color: var(--gold); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}

.faq-item:hover { border-color: var(--navy); box-shadow: 0 2px 14px rgba(0,0,0,0.07); }
.faq-item.active { border-color: var(--crimson); }
.faq-item-urgent { border-left: 3px solid var(--crimson); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: var(--white);
}

.faq-item.active .faq-question { background: var(--navy); }

.faq-question span {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
}

.faq-item.active .faq-question span { color: var(--white); }

.faq-warn-icon {
  color: var(--crimson);
  margin-right: 4px;
}

.faq-item.active .faq-warn-icon { color: var(--gold); }

.faq-icon {
  color: var(--crimson);
  font-size: 0.9rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--gold); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1);
}

.faq-item.active .faq-answer { max-height: 800px; }

.faq-answer p {
  padding: 18px 24px;
  color: var(--medium-gray);
  font-size: 0.95rem;
  line-height: 1.75;
  background: var(--off-white);
  border-top: 1px solid var(--light-gray);
  margin: 0;
}

.faq-answer p + p { border-top: none; padding-top: 4px; }

.faq-answer ul {
  background: var(--off-white);
  list-style: none;
  margin: 0;
  padding: 0 24px 18px 44px;
}

.faq-answer ul:first-child { border-top: 1px solid var(--light-gray); padding-top: 18px; }
.faq-answer p + ul { padding-top: 4px; }

.faq-answer ul li {
  position: relative;
  padding-left: 14px;
  color: var(--medium-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.faq-answer ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--crimson);
  font-weight: 700;
  font-size: 1.15em;
  line-height: 1.55;
}

.faq-service-cards {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 480px;
  gap: 16px;
  padding: 20px 24px;
  background: var(--off-white);
  border-top: 1px solid var(--light-gray);
}

.faq-service-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.faq-service-card strong {
  display: block;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 10px;
}

.faq-service-card p {
  padding: 0 !important;
  background: none !important;
  border: none !important;
  font-size: 0.88rem !important;
  margin: 0 !important;
}

.faq-service-popular {
  border: 2px solid var(--crimson);
}

.faq-service-badge {
  display: inline-block;
  background: var(--crimson);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.faq-inline-link {
  color: var(--crimson);
  font-weight: 600;
  text-decoration: none;
}

.faq-inline-link:hover { text-decoration: underline; }

.faq-cta {
  text-align: center;
  margin-top: 56px;
}

.faq-cta p {
  font-size: 1.1rem;
  color: var(--medium-gray);
  margin-bottom: 24px;
}

.faq-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-dark);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--white);
}

.footer-links h4,
.footer-contact h4,
.footer-cta-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links ul li a:hover { color: var(--white); padding-left: 4px; }

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.contact-list li i { color: var(--gold); width: 18px; }
.contact-list li a { color: rgba(255,255,255,0.6); }
.contact-list li a:hover { color: var(--white); }

.footer-brokerage {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 20px;
}

.footer-brokerage strong { color: var(--white); }

.footer-cta-col p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-eho {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.eho-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  flex-shrink: 0;
}

.eho-badge i { color: var(--gold); font-size: 1.2rem; }
.eho-badge span { color: rgba(255,255,255,0.7); font-size: 0.78rem; line-height: 1.4; }

.trec-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trec-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.76rem;
  text-decoration: underline;
  line-height: 1.4;
  transition: var(--transition);
}

.trec-links a:hover { color: rgba(255,255,255,0.8); }

.footer-disclaimer {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}

.footer-disclaimer p {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-disclaimer strong { color: rgba(255,255,255,0.6); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

.footer-credit a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-credit a:hover { color: var(--gold); }

/* ===== MOBILE STICKY CTA ===== */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--navy-dark);
  border-top: 2px solid rgba(255,255,255,0.08);
  padding: 10px 16px;
  gap: 10px;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.sticky-phone,
.sticky-calc {
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.sticky-phone:hover, .sticky-calc:hover { background: rgba(255,255,255,0.2); }

.sticky-register {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--crimson);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  height: 46px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.sticky-register:hover { background: var(--crimson-dark); }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .calculator-wrap { grid-template-columns: 1fr; }
  .calculator-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .areas-layout { grid-template-columns: 1fr; }
  .texas-map-visual { display: none; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lead-form-wrap { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: flex; justify-content: center; }
  .about-badge-card { max-width: 380px; }
  .faq-service-cards { grid-template-columns: 1fr; }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .steps-connector {
    padding: 16px 0;
    transform: rotate(90deg);
    height: 48px;
  }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  /* Testimonials: show only 2 columns on tablet */
  .testimonials-columns { grid-template-columns: 1fr 1fr; }
  .testimonials-col-outer:last-child { display: none; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .header-nav.open {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .header-nav.open ul {
    flex-direction: column;
    gap: 4px;
  }

  .header-nav.open ul li a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .mobile-sticky-cta { display: flex; }

  body { padding-bottom: 66px; }

  .hero-headline { font-size: 2rem; }
  .hide-mobile { display: none; }
  .calc-row { flex-direction: column; }
  .calc-results { width: 100%; justify-content: space-around; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Testimonials: single column on mobile */
  .testimonials-columns { grid-template-columns: 1fr; }
  .testimonials-col-outer:nth-child(2),
  .testimonials-col-outer:last-child { display: none; }
  .testimonials-scroll-wrap { height: 500px; }
  .testimonials-col-outer { height: 500px; }
  .google-reviews-badge { flex-direction: column; align-items: flex-start; }

  .final-cta-btns { flex-direction: column; align-items: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .calculator-sidebar { grid-template-columns: 1fr; }
  .calc-results-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 100px 0 60px; }
  .lead-form-box { padding: 28px 20px; }
  .calculator-card { padding: 28px 20px; }
  .about-badge-card { padding: 28px 20px; }
  .trust-grid { grid-template-columns: 1fr; }
  .license-badge-row { flex-direction: column; align-items: stretch; }
  .faq-cta-btns { flex-direction: column; align-items: stretch; }
  .faq-cta-btns .btn { justify-content: center; }
  .footer-eho { flex-direction: column; }
}

/* ===== NEW SECTIONS: STATS BAR, CASE STUDIES, RISK REVERSAL ===== */

/* --- Stats / Proof Bar --- */
.stats-proof-bar {
  background: var(--navy);
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.stat-item {
  padding: 12px 16px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.3;
}
.stats-note {
  text-align: center;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-right: 1px solid rgba(255,255,255,0.12); }
  .stat-item:last-child { border-right: none; }
}

/* --- Risk Reversal Bar --- */
.risk-reversal-bar {
  background: #f0f7f0;
  border-top: 1px solid #c3e0c3;
  border-bottom: 1px solid #c3e0c3;
  padding: 18px 0;
}
.risk-reversal-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.risk-reversal-bar p {
  font-size: 0.92rem;
  color: #1a4a1a;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}
.risk-reversal-bar i {
  color: #2e7d2e;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* --- Case Studies --- */
.case-studies-section { background: var(--off-white); }
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.case-study-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cs-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.cs-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}
.cs-name {
  display: block;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.2;
}
.cs-meta {
  display: block;
  font-size: 0.8rem;
  color: var(--medium-gray);
  margin-top: 2px;
}
.cs-rebate {
  background: linear-gradient(135deg, var(--navy) 0%, var(--banner-blue) 100%);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cs-rebate-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cs-rebate-amount {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}
.cs-quote {
  font-size: 0.9rem;
  color: var(--medium-gray);
  line-height: 1.65;
  border-left: 3px solid var(--crimson);
  padding-left: 14px;
  margin: 0;
  font-style: italic;
}
.cs-placeholder-note {
  text-align: center;
  margin-top: 32px;
  color: var(--medium-gray);
  font-size: 0.88rem;
}

/* ===== BUILDER CREDIBILITY STRIP ===== */
.builder-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
}
.builder-chip {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: var(--navy);
  opacity: 0.78;
  padding: 8px 16px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.builder-disclaimer {
  font-size: 0.74rem;
  color: var(--medium-gray);
  text-align: center;
  margin: 22px auto 0;
  max-width: 720px;
  line-height: 1.6;
}

/* ===== $100K DESIGN UPGRADES ===== */

/* 4A — Scroll-triggered nav glassmorphism */
.site-header {
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: rgba(10, 16, 30, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 28px rgba(0,0,0,0.4);
}

/* 4B — Hero stagger entry animations */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-text > * {
  animation: heroSlideUp 0.7s ease both;
  opacity: 0;
}
.hero-text > *:nth-child(1) { animation-delay: 0.05s; } /* hero-top-badge */
.hero-text > *:nth-child(2) { animation-delay: 0.18s; } /* savings-figure */
.hero-text > *:nth-child(3) { animation-delay: 0.30s; } /* headline */
.hero-text > *:nth-child(4) { animation-delay: 0.40s; } /* urgency */
.hero-text > *:nth-child(5) { animation-delay: 0.50s; } /* ctas */
.hero-text > *:nth-child(6) { animation-delay: 0.58s; } /* trust-strip */
.hero-text > *:nth-child(7) { animation-delay: 0.65s; } /* fineprint */

.hero-form-col {
  animation: heroSlideUp 0.7s ease both;
  opacity: 0;
  animation-delay: 0.35s;
}

/* 4E — Premium nav CTA pulse */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(35,71,200,0.55); }
  50%       { box-shadow: 0 0 0 9px rgba(35,71,200,0); }
}
.header-cta {
  animation: ctaPulse 2.8s ease-in-out infinite;
}
.header-cta:hover {
  animation: none;
}

/* 4F — Gradient border on case study cards */
.case-study-card {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, var(--gold) 0%, var(--crimson) 65%, var(--navy) 100%) border-box;
}

/* 4G — Nav link underline sweep animation */
.header-nav ul li a {
  position: relative;
}
.header-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 8px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
  border-radius: 1px;
}
.header-nav ul li a:hover::after {
  width: calc(100% - 16px);
}

/* 4H — Testimonial card hover lift */
.tcard {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(16,23,38,0.18);
}

/* Hero quick-form mobile */
@media (max-width: 600px) {
  .hqf-row { grid-template-columns: 1fr; }
  .hero-quick-form { max-width: 100%; }
}

/* ===== RECENT CLOSINGS =========================================================
   Cards are generated by the EXL back-office (portal -> Closed Transactions).
   Markup contract (do not rename): .exl-closing-card > .exl-closing-photo +
   .exl-closing-body > .exl-closing-date/-addr/-loc/-specs/-price
   ============================================================================ */

/* No cards published yet -> hide the whole section rather than show an empty grid. */
.closings-section:not(:has(.exl-closing-card)) { display: none; }

.exl-closings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.exl-closing-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.exl-closing-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(27, 42, 74, .12);
}

.exl-closing-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  background: var(--light-gray);
}

.exl-closing-body { padding: 20px; display: flex; flex-direction: column; gap: 4px; }

.exl-closing-date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--gold);
}
.exl-closing-addr  { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.3; margin: 2px 0 0; }
.exl-closing-loc   { font-size: 13px; color: var(--medium-gray); margin: 0; }
.exl-closing-specs { font-size: 13px; color: var(--text-dark); margin: 6px 0 0; }
.exl-closing-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--crimson);
  margin: 10px 0 0;
}

.closings-disclaimer {
  margin: 32px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--medium-gray);
}

@media (max-width: 600px) {
  .exl-closings-grid { grid-template-columns: 1fr; gap: 16px; }
  .exl-closing-photo { height: 200px; }
}

/* Respect reduced-motion preference — disables the testimonial carousel autoscroll,
   header CTA pulse, hero slide-up, and bounce indicator for users who ask for it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Live inventory entry points shared by the city, builder and guide pages.
   (The homepage's own entry point is the Live Inventory Pulse section,
   styled separately above — see HOMEPAGE LIVE INVENTORY PULSE.) */
.context-inventory-bar { background:#fff7ed; border-bottom:1px solid #f1d9ba; padding:12px 0; }
.context-inventory-bar .container { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.context-inventory-bar strong { display:block; color:#192233; font:600 17px 'Oswald',sans-serif; }
.context-inventory-bar span { color:#606a79; font-size:12px; }
.context-inventory-bar a { background:#2347C8; color:#fff; border-radius:8px; padding:10px 16px; font-weight:800; font-size:13px; white-space:nowrap; }
@media(max-width:900px){.context-inventory-bar span{display:none}}
@media(max-width:560px){.context-inventory-bar .container{align-items:flex-start;flex-direction:column;gap:8px}.context-inventory-bar a{width:100%;text-align:center}}

/* ===== SHARED SITE NAVIGATION ===== */
.header-inner { gap: 20px; }
.header-nav > ul { align-items:center; justify-content:center; flex-wrap:nowrap; }
.header-nav ul li { position:relative; }
.header-nav ul li > a,
.nav-dropdown-toggle { white-space:nowrap; }
.nav-dropdown-toggle {
  appearance:none; border:0; background:transparent; cursor:pointer;
  color:rgba(255,255,255,.85); font:400 .9rem 'Oswald',sans-serif;
  letter-spacing:.5px; text-transform:uppercase; padding:8px 11px;
  border-radius:var(--radius-sm); transition:var(--transition);
}
.nav-dropdown-toggle i { margin-left:4px; font-size:.62em; transition:transform .2s ease; }
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle { color:#fff; background:rgba(255,255,255,.1); }
.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown:focus-within .nav-dropdown-toggle i,
.nav-dropdown.open .nav-dropdown-toggle i { transform:rotate(180deg); }
.nav-dropdown-menu {
  display:none; position:absolute; z-index:1100; top:calc(100% + 10px); left:50%;
  transform:translateX(-50%); min-width:250px; padding:10px;
  background:#fff; border:1px solid #dfe4ec; border-radius:12px;
  box-shadow:0 18px 48px rgba(5,15,32,.24);
  max-height:calc(100vh - 120px); overflow-y:auto;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display:grid; }
.nav-dropdown-menu::before { content:''; position:absolute; left:0; right:0; top:-12px; height:12px; }
.nav-dropdown-menu a { color:#243654 !important; font:700 13px 'Inter',system-ui,sans-serif !important; text-transform:none !important; letter-spacing:0 !important; padding:10px 12px !important; border-radius:7px; }
.nav-dropdown-menu a:hover { color:#2347C8 !important; background:#f4f6f9 !important; }
.nav-dropdown-menu a::after { display:none !important; }
.nav-dropdown-menu span { height:1px; margin:5px 8px; background:#e6e9ef; }
.nav-dropdown-builders { grid-template-columns:1fr 1fr; min-width:420px; }
.nav-dropdown-builders span { grid-column:1/-1; }
.header-nav a[aria-current="page"] { color:#fff; background:rgba(255,255,255,.1); }
.nav-mobile-cta { display:none; }

@media (max-width:1100px) {
  .header-nav { display:none; }
  .header-cta { display:none; }
  .header-inner > .nav-toggle { display:flex !important; position:absolute; right:20px; top:17px; z-index:2; margin:0; flex-shrink:0; }
  .header-nav.open {
    display:block; position:fixed; top:72px; left:0; right:0; max-height:calc(100vh - 72px);
    overflow-y:auto; background:#101d34; padding:14px 22px 24px;
    border-bottom:1px solid rgba(255,255,255,.1); box-shadow:0 20px 35px rgba(0,0,0,.28);
  }
  .header-nav.open > ul { display:flex; align-items:stretch; flex-direction:column; gap:3px; }
  .header-nav.open ul li > a,
  .header-nav.open .nav-dropdown-toggle { display:flex; align-items:center; justify-content:space-between; width:100%; padding:12px 14px; font-size:1rem; text-align:left; }
  .header-nav.open .nav-dropdown-menu { display:none; position:static; transform:none; min-width:0; margin:2px 0 8px; padding:6px; background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.1); box-shadow:none; }
  .header-nav.open .nav-dropdown.open .nav-dropdown-menu { display:grid; }
  .header-nav.open .nav-dropdown-menu a { color:rgba(255,255,255,.86) !important; padding:10px 12px !important; }
  .header-nav.open .nav-dropdown-menu a:hover { color:#fff !important; background:rgba(255,255,255,.08) !important; }
  .header-nav.open .nav-dropdown-builders { grid-template-columns:1fr 1fr; }
  .nav-mobile-cta { display:block; margin-top:8px; }
  .header-nav.open .nav-mobile-cta a { justify-content:center; color:#fff; background:#2347C8; border-radius:9px; font-weight:700; }
}
@media (max-width:520px) {
  .header-nav.open .nav-dropdown-builders { grid-template-columns:1fr; }
  .nav-dropdown-builders span { grid-column:auto; }
  .logo-img { height:40px; }
}

/* ===== BUILDER-PAGE HERO DENSITY (hero--builder) =====
   Builder heroes carry more proof elements than other pages; these rules keep the
   stack to roughly one screen. Scoped so metro/city/home heroes are untouched. */
.hero--builder .hero-feed-stats { font-size: 12.5px; letter-spacing: 0.4px; color: rgba(255,255,255,0.7); margin: 4px 0 14px; }
.hero--builder .hero-feed-stats strong { color: #fff; font-weight: 600; }
.hero--builder .hero-savings-explainer { font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.hero--builder .hero-urgency { padding: 10px 14px; font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
.hero--builder .hero-ctas { gap: 10px; margin-bottom: 14px; }
.hero--builder .hero-trust-strip { margin-bottom: 10px; }
.hero--builder .hero-proof { font-size: 13px; color: rgba(255,255,255,0.8); margin: 0 0 10px; }
.hero--builder .hero-proof strong { color: #fff; }
.hero--builder .hero-fineprint { font-size: 11.5px; line-height: 1.5; }
@media (max-width: 640px) {
  .hero--builder .hero-ctas a { width: 100%; justify-content: center; }
  .hero--builder .hero-trust-strip { display: none; }
  .hero--builder .hero-savings-figure { font-size: clamp(2.2rem, 12vw, 3rem); }
}

/* ===== APP SHELL (PWA) =====
   Mobile bottom tab bar replaces .mobile-sticky-cta; touch polish; view
   transitions. homes.html keeps its own contextual action bar (no tab bar). */
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
html { -webkit-text-size-adjust: 100%; }
@view-transition { navigation: auto; }
.is-installed-app #site-header { padding-top: env(safe-area-inset-top); }
.app-tabbar { display: none; }
@media (max-width: 768px) {
  .mobile-sticky-cta { display: none !important; }
  .app-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; display: flex; align-items: stretch; justify-content: space-around; height: 58px; padding-bottom: env(safe-area-inset-bottom); background: rgba(16,26,48,0.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,0.08); }
  .app-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: rgba(255,255,255,0.62); font-size: 10.5px; font-weight: 600; letter-spacing: 0.3px; text-decoration: none; }
  .app-tabbar a i { font-size: 17px; }
  .app-tabbar a.active { color: #fff; }
  .app-tabbar a.active i { color: #C9A84C; }
  .app-tabbar .tab-register i { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-top: -22px; border-radius: 50%; background: linear-gradient(135deg, #2347C8, #1B37A6); color: #fff; box-shadow: 0 4px 14px rgba(35,71,200,0.45); font-size: 18px; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  /* inline margin-left on paired CTA buttons overflows a stacked full-width layout */
  a.btn-lg[style*="margin-left"] { margin-left: 0 !important; margin-top: 12px; }
  /* long-label large buttons must wrap instead of forcing horizontal scroll */
  .btn-lg { max-width: 100%; white-space: normal; text-align: center; }
}

/* ===== INSTALL BANNER (Add to Home Screen) ===== */
#a2hs-banner { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 1001; display: flex; align-items: center; gap: 11px; background: rgba(16,26,48,0.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 11px 12px; color: rgba(255,255,255,0.9); font-size: 13px; line-height: 1.45; box-shadow: 0 12px 36px rgba(0,0,0,0.4); opacity: 0; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease; }
#a2hs-banner.a2hs-in { opacity: 1; transform: none; }
#a2hs-banner .a2hs-icon { border-radius: 8px; flex: 0 0 34px; }
#a2hs-banner .a2hs-msg { flex: 1; }
#a2hs-banner .a2hs-share { display: inline-block; border: 1px solid rgba(255,255,255,0.5); border-radius: 4px; width: 17px; text-align: center; font-weight: 700; }
#a2hs-banner .a2hs-install { border: 0; border-radius: 100px; padding: 9px 16px; background: linear-gradient(135deg, #2347C8, #1B37A6); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
#a2hs-banner .a2hs-close { border: 0; background: none; color: rgba(255,255,255,0.55); font-size: 21px; line-height: 1; padding: 4px 6px; cursor: pointer; }
@media (max-width: 768px) { #a2hs-banner { bottom: calc(70px + env(safe-area-inset-bottom)); } }
@media (min-width: 769px) { #a2hs-banner { left: auto; right: 24px; bottom: 24px; max-width: 400px; } }
