/* EVO TrustGuard — marketing-page shared layer
 *
 * Owner:        /css/AGENTS.md
 * Cascade:      AFTER tokens.css + base.css, BEFORE page-[name].css.
 * Loaded by:    index.html, houston-tx.html, trustguard-location-page-v2.html
 *               (NOT loaded by portal pages — marketing has its own chrome.)
 * Edit policy:  add a rule here only if it appears in 2+ marketing pages.
 *
 * History
 *   - C56 Big Bang CSS Extraction seeded this file with a tiny shared subset
 *     plus three placeholder utility classes (body.marketing,
 *     .marketing-section, .marketing-cta) that no marketing page currently
 *     consumes. Those placeholder rules are retained at the bottom for any
 *     future marketing redesign that adopts the convention.
 *   - C57 Marketing CSS Dedup (current scope) lifted the bulk of duplicate
 *     rules out of page-{index,houston-tx,trustguard-location-page-v2}.css
 *     into this layer, per the C56 audit Section 8 (84–97% rule overlap).
 *
 * Sections lifted in C57:
 *   - :root marketing-palette overrides (page-scoped tokens over tokens.css)
 *   - global reset (* {…}) + body baseline
 *   - nav + .nav-brand a/img + .nav-cta + .breadcrumb*
 *   - hero block (.hero + ::before/::after, .hero-label, .hero h1[ em], .hero-sub)
 *   - form card + form options + form-trust + form-btn (index+houston variant)
 *   - section / .section-label / section h2 / .dark-section *
 *   - pricing block (.pricing-callout + ::after, .pricing-label, .pricing-number,
 *     .pricing-unit, .pricing-note, .pricing-desc)
 *   - price table (.price-table, .price-row, .price-row-label, .price-row-value, .price-note)
 *   - steps block (.steps, .step + adjacent, .step-num, .step-content h3/p)
 *   - cities (.cities-grid, .city-name, .city-arrow — houston + trustguard-v2 only)
 *   - services (.services-grid, .service-tag, .service-tag:hover (index+houston variant),
 *     .service-icon, .service-info h3/p)
 *   - faq block (.faq-list, .faq-item + :first-child, .faq-q, .faq-a)
 *   - bottom CTA block (.bottom-cta + ::before, h2, p, .bottom-cta .form-btn)
 *   - .about-section + p (index+houston only)
 *   - footer block
 *   - popup overlay system (.popup-*, @keyframes slideUp + fadeIn,
 *     .p-step, .p-question/.p-sub, .p-choices/.p-choices-grid, .p-btn family,
 *     .p-input-group + descendants, .p-input-row, .p-nav/.p-back/.p-next/.p-error,
 *     .p-tcpa, .p-success/.p-success-icon, .matching-anim, .dot-pulse + @keyframes dp,
 *     .p-success-detail) — index+houston only
 *   - exit / job-seeker overlays (.exit-overlay/.exit-box/.exit-continue/.exit-quit,
 *     .js-box) — index+houston only
 *   - @keyframes fadeUp + hero/form-card animation hooks
 *   - desktop content constraint (.section-inner, .hero-inner, .form-card width-cap)
 *     — index+houston only
 *   - mobile @media (max-width: 600px) — shared subset of index+houston
 *
 * Rules deliberately retained as page-specific (not lifted):
 *   - .form-btn (trustguard-v2 variant — clickable + transition + no text-align/
 *     line-height; index+houston variant lives here)
 *   - .form-btn-clickable[:hover] (index+houston only — see .form-btn note above)
 *   - .form-option-icon (trustguard-v2 only)
 *   - .lead-counter (houston-tx only)
 *   - .hero-spacer (index only)
 *   - .city-card / .city-card:hover (houston vs trustguard-v2 diverge)
 *   - .logo / .logo-text / .logo-evo / .logo-tg / .logo-sub (trustguard-v2 only)
 *   - .service-tag:hover (trustguard-v2 variant — red border + wash; index+houston
 *     variant in this file)
 *   - .p-input-group select + extended input/textarea/select selector (index only)
 *   - .cities-grid mobile @media override (houston-tx only)
 *
 * Tokens used (marketing palette):
 *   --marketing-red, --marketing-red-dark, --marketing-red-wash,
 *   --marketing-bg-dark, --marketing-bg-darker, --marketing-surface,
 *   --marketing-surface-2, --marketing-border,
 *   --font-display (Bebas Neue), --font-serif (DM Serif Display),
 *   --text-display-* (28 / 34 / 60 / 72 / 140 px scale)
 *
 * NOTE on the marketing red palette:
 *   The marketing pages use a parallel red set (#cc1518 / #8a0d11 / #fdf2f2)
 *   that is intentionally distinct from the portal --red (#B31217). This
 *   was confirmed in the C56 audit; do not collapse to a single token.
 *
 * NOTE on the page-scoped :root:
 *   The marketing trio shares a small palette (--red / --dark / --black /
 *   --gray / --light-gray / --border / --white) that overrides the global
 *   tokens.css cascade for marketing pages only. Loading this file only on
 *   the three marketing pages keeps that override page-scoped without
 *   redeclaring the block in three places. (Bebas Neue is loaded via Google
 *   Fonts <link> in each marketing page's <head>.)
 */

/* =========================================================================
 * :ROOT marketing-palette overrides (page-scoped over tokens.css)
 * ========================================================================= */

:root {
  --red: #B31217;
  --red-dark: #8a0d11;
  --red-light: #cc1518;
  --black: #0f0f0f;
  --dark: #1c1c1c;
  --dark2: #242424;
  --gray: #6b7280;
  --light-gray: #f4f4f4;
  --border: #e5e5e5;
  --white: #ffffff;
}

/* =========================================================================
 * RESET + BODY
 * ========================================================================= */

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

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  font-size: var(--text-input);
  line-height: var(--leading-loose);
}

/* =========================================================================
 * NAV
 * ========================================================================= */

nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--space-5);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-brand a { display: flex; align-items: center; text-decoration: none; }
.nav-brand img { height: 50px; width: auto; display: block; }

.nav-cta {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
  padding: 9px 18px;
  border-radius: 6px;
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-sans);
  transition: all 0.15s;
}

.nav-cta:hover {
  background: var(--red);
  color: var(--white);
}

/* =========================================================================
 * BREADCRUMB (houston-tx + trustguard-location-page-v2 only)
 * ========================================================================= */

.breadcrumb {
  padding: var(--space-2-5) var(--space-5);
  font-size: var(--text-sm);
  color: var(--gray);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.breadcrumb a { color: var(--gray); text-decoration: none; }
.breadcrumb span { margin: 0 var(--space-1-5); }

/* =========================================================================
 * HERO
 * ========================================================================= */

.hero {
  background: var(--dark);
  padding: 44px 20px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: var(--red);
  opacity: 0.12;
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: var(--space-10); left: -40px;
  width: 160px; height: 160px;
  background: var(--red);
  opacity: 0.06;
  border-radius: 50%;
}

.hero-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-display);
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: var(--space-3-5);
  position: relative;
  z-index: var(--z-base);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: var(--text-display-md);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: var(--z-base);
}

.hero h1 em {
  font-style: italic;
  color: var(--red);
}

.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-7);
  line-height: 1.65;
  position: relative;
  z-index: var(--z-base);
  font-weight: var(--weight-regular);
}

/* =========================================================================
 * FORM CARD
 * ========================================================================= */

.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 20px 36px;
  position: relative;
  z-index: var(--z-base);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
}

.form-card h2 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-1-5);
  color: var(--black);
}

.form-card p {
  font-size: var(--text-md);
  color: var(--gray);
  margin-bottom: var(--space-5);
}

.form-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2-5);
  margin-bottom: var(--space-5);
}

.form-option {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 15px 18px;
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: all 0.15s;
  background: var(--white);
  text-align: left;
  color: var(--black);
  font-family: var(--font-sans);
}

.form-option:hover, .form-option.selected {
  border-color: var(--red);
  background: var(--marketing-red-wash);
  color: var(--red);
}

/* .form-btn — index + houston variant (cursor: default; the JS adds
 * .form-btn-clickable to enable interaction). trustguard-location-page-v2
 * has its own .form-btn rule (cursor: pointer + transition) that overrides
 * the relevant properties via the page CSS cascade. */
.form-btn {
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 17px;
  font-size: var(--text-input);
  font-weight: var(--weight-bold);
  cursor: default;
  font-family: var(--font-sans);
  letter-spacing: var(--tracking-wide);
  text-align: center;
  line-height: var(--leading-normal);
}

.form-btn-clickable {
  cursor: pointer;
  transition: background 0.15s;
}

.form-btn-clickable:hover { background: var(--red-dark); }

.form-trust {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-3-5);
  justify-content: center;
  flex-wrap: wrap;
}

.form-trust span {
  font-size: var(--text-sm);
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: var(--weight-medium);
}

.form-trust span::before {
  content: '\2713';
  color: var(--red);
  font-weight: var(--weight-black);
  font-size: var(--text-md);
}

/* =========================================================================
 * SECTIONS
 * ========================================================================= */

section { padding: 44px 20px; }
section + section { border-top: 1px solid var(--border); }

.section-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-2);
}

section h2 {
  font-family: var(--font-serif);
  font-size: var(--text-display-sm);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-2);
  color: var(--black);
}

.dark-section h2 { color: var(--white); }
.dark-section p { color: rgba(255,255,255,0.8); }

/* =========================================================================
 * PRICING CALLOUT
 * ========================================================================= */

.pricing-callout {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  margin-bottom: var(--space-5);
  position: relative;
  overflow: hidden;
  border: 1px solid #333;
}

.pricing-callout::after {
  content: '$';
  position: absolute;
  right: var(--space-2-5);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: var(--text-display-2xl);
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
}

.pricing-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-2-5);
}

.pricing-number {
  font-family: var(--font-display);
  font-size: var(--text-display-xl);
  color: var(--red);
  line-height: 1;
  margin-bottom: var(--space-0-5);
}

.pricing-unit {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.9);
  font-weight: var(--weight-medium);
}

.pricing-note {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  margin-top: var(--space-1);
}

.pricing-desc {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.75);
  margin-top: var(--space-3-5);
  line-height: var(--leading-loose);
  padding-top: var(--space-3-5);
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* =========================================================================
 * PRICE TABLE
 * ========================================================================= */

.price-table {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3-5) var(--space-4-5);
  font-size: var(--text-base);
}

.price-row + .price-row { border-top: 1px solid var(--border); }
.price-row-label { color: var(--mid); font-weight: var(--weight-medium); }
.price-row-value { font-weight: var(--weight-bold); color: var(--black); }

.price-note {
  font-size: var(--text-xs);
  color: var(--gray);
  margin-top: var(--space-2-5);
  font-style: italic;
  padding: 0 var(--space-0-5);
}

/* =========================================================================
 * HOW IT WORKS / STEPS
 * ========================================================================= */

.steps { display: flex; flex-direction: column; }

.step {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5-5) 0;
}

.step + .step { border-top: 1px solid var(--border); }

.step-num {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-top: var(--space-0-5);
}

.step-content h3 {
  font-size: 17px;
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-1-5);
  color: var(--black);
}

.step-content p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.65;
}

/* =========================================================================
 * CITIES (houston-tx + trustguard-location-page-v2 only)
 * ========================================================================= */

.cities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2-5);
  margin-top: var(--space-5);
}

.city-name {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--black);
}

.city-arrow {
  font-size: var(--text-base);
  color: var(--gray);
}

/* =========================================================================
 * SERVICE TYPES
 * ========================================================================= */

.services-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-2-5);
  margin-top: var(--space-5);
}

.service-tag {
  background: var(--light-gray);
  border-radius: 10px;
  padding: var(--space-3-5) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3-5);
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.15s;
}

/* .service-tag:hover — index + houston variant. trustguard-location-page-v2
 * has a different (red border + wash) hover handled in its own page CSS. */
.service-tag:hover {
  border-color: transparent;
  background: var(--light-gray);
}

.service-icon {
  width: 40px;
  height: 40px;
  background: var(--dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-wider);
  color: var(--white);
  flex-shrink: 0;
  font-family: var(--font-sans);
}

.service-info h3 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--black);
  margin-bottom: var(--space-0-5);
}

.service-info p {
  font-size: var(--text-sm);
  color: var(--gray);
}

/* =========================================================================
 * FAQ
 * ========================================================================= */

.faq-list { margin-top: var(--space-5); }

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-5) 0;
}

.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }

.faq-q {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--white);
  margin-bottom: var(--space-2-5);
  line-height: var(--leading-normal);
}

.faq-a {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

/* =========================================================================
 * BOTTOM CTA
 * ========================================================================= */

.bottom-cta {
  background: var(--dark);
  padding: var(--space-12) var(--space-5);
  text-align: center;
  border-top: 3px solid var(--red);
  position: relative;
  overflow: hidden;
}

.bottom-cta::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: var(--red);
  opacity: 0.08;
  border-radius: 50%;
}

.bottom-cta h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--white);
  margin-bottom: var(--space-3);
  line-height: var(--leading-tight);
  position: relative;
  z-index: var(--z-base);
}

.bottom-cta p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-7);
  font-weight: var(--weight-regular);
  position: relative;
  z-index: var(--z-base);
}

.bottom-cta .form-btn {
  max-width: 320px;
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: var(--z-base);
}

/* =========================================================================
 * ABOUT (index + houston-tx only)
 * ========================================================================= */

.about-section {
  padding: var(--space-10) var(--space-5);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-section p {
  font-size: var(--text-base);
  color: var(--gray);
  line-height: 1.8;
  font-weight: var(--weight-light);
}

/* =========================================================================
 * FOOTER
 * ========================================================================= */

footer {
  background: var(--marketing-bg-darker);
  padding: var(--space-7) var(--space-5);
  text-align: center;
  border-top: 1px solid var(--marketing-border);
}

footer p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 2;
}

footer a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}

footer a:hover { color: var(--red); }

/* =========================================================================
 * POPUP OVERLAY (index + houston-tx only)
 * ========================================================================= */

.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.65); z-index: var(--z-modal); display: flex; align-items: center; justify-content: center; padding: var(--space-4); }
.popup-overlay.hidden { display: none; }
.popup-box { background: var(--white); border-radius: var(--radius-xl); width: 100%; max-width: 540px; position: relative; max-height: 92vh; display: flex; flex-direction: column; animation: slideUp 0.3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.popup-header { background: var(--dark); border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: var(--space-5) var(--space-7) var(--space-4); flex-shrink: 0; }
.popup-header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-3); }
.popup-brand { font-family: var(--font-serif); font-size: var(--text-input); color: var(--white); }
.popup-brand span { color: var(--red); }
.popup-close { background: none; border: none; color: var(--text-faint); font-size: var(--text-3xl); cursor: pointer; line-height: 1; padding: 0 var(--space-1); }
.popup-close:hover { color: var(--white); }
.popup-progress-bg { background: rgba(255,255,255,0.15); border-radius: var(--radius-sm); height: 4px; overflow: hidden; }
.popup-progress-fill { background: var(--red); height: 100%; border-radius: var(--radius-sm); transition: width 0.4s ease; }
.popup-body { padding: var(--space-7) var(--space-7) var(--space-6); overflow-y: auto; flex: 1; }
.p-step { display: none; animation: fadeIn 0.25s ease; }
.p-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.p-question { font-size: var(--text-2xl); font-weight: var(--weight-bold); color: var(--black); margin-bottom: var(--space-1-5); line-height: var(--leading-snug); }
.p-sub { font-size: var(--text-md); color: var(--gray); margin-bottom: var(--space-5); font-weight: var(--weight-light); }
.p-choices { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); }
.p-choices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-bottom: var(--space-5); }
.p-btn { padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-md); background: var(--white); font-family: var(--font-sans); font-size: var(--text-base); font-weight: var(--weight-medium); color: var(--mid); cursor: pointer; transition: all 0.12s; text-align: left; line-height: var(--leading-snug); width: 100%; }
.p-btn:hover { border-color: var(--red); color: var(--red); background: var(--marketing-red-wash); }
.p-btn.selected { border-color: var(--red); background: var(--red); color: var(--white); }
.p-input-group { margin-bottom: var(--space-3-5); }
.p-input-group label { display: block; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--mid); margin-bottom: 5px; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.p-input-group input, .p-input-group textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-md); font-family: var(--font-sans); font-size: var(--text-lg); color: var(--black); background: var(--white); outline: none; transition: border-color 0.15s; }
.p-input-group input:focus, .p-input-group textarea:focus { border-color: var(--red); }
.p-input-group textarea { height: 72px; resize: none; }
.p-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.p-nav { display: flex; gap: var(--space-2-5); align-items: center; padding-top: var(--space-1); }
.p-back { background: none; border: 1.5px solid var(--border); color: var(--mid); padding: var(--space-3) var(--space-4-5); border-radius: var(--radius-md); font-family: var(--font-sans); font-size: var(--text-base); cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.p-back:hover { border-color: var(--mid); color: var(--black); }
.p-next { background: var(--red); color: var(--white); border: none; padding: 13px 20px; border-radius: var(--radius-md); font-family: var(--font-sans); font-size: var(--text-lg); font-weight: var(--weight-semibold); cursor: pointer; transition: background 0.2s; flex: 1; }
.p-next:hover { background: var(--red-dark); }
.p-next:disabled { background: var(--border-strong); cursor: not-allowed; }
.p-error { color: var(--red); font-size: var(--text-sm); margin-bottom: var(--space-2-5); margin-top: -12px; display: none; }
.p-tcpa { font-size: var(--text-xs); color: #aaa; line-height: var(--leading-relaxed); margin-bottom: var(--space-3-5); font-weight: var(--weight-light); }
.p-tcpa a { color: var(--red); text-decoration: none; }
.p-success { text-align: center; padding: var(--space-5) 0 var(--space-2); }
.p-success-icon { width: 60px; height: 60px; background: var(--status-active-wash); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.p-success-icon svg { width: 30px; height: 30px; }
.p-success h3 { font-family: var(--font-serif); font-size: 26px; color: var(--black); margin-bottom: var(--space-2-5); }
.p-success p { font-size: var(--text-lg); color: var(--gray); font-weight: var(--weight-light); max-width: 380px; margin: 0 auto 16px; line-height: 1.7; }
.matching-anim { display: flex; align-items: center; justify-content: center; gap: var(--space-2); font-size: var(--text-md); color: var(--red); font-weight: var(--weight-semibold); margin: var(--space-3) 0 var(--space-5); }
.dot-pulse { display: flex; gap: var(--space-1); }
.dot-pulse span { width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: dp 1.2s ease-in-out infinite; }
.dot-pulse span:nth-child(2) { animation-delay: 0.2s; }
.dot-pulse span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dp { 0%,80%,100% { opacity:0.2; transform:scale(0.8); } 40% { opacity:1; transform:scale(1); } }
.p-success-detail { background: var(--light-gray); border-radius: var(--radius-md); padding: var(--space-3-5) var(--space-4-5); font-size: var(--text-md); color: var(--mid); max-width: 340px; margin: 0 auto; }

/* =========================================================================
 * C69 Sprint 3C — wizard CSS migrated from /css/page-index.css
 *
 * The pre-cutover /css/page-index.css carried four wizard-only rules
 * that had to migrate here before Sprint 3C overwrote page-index.css
 * with the sales-page CSS. Consumers post-cutover: /get-a-quote.html
 * Step 12 (state <select> on the city+state location shape) and the
 * trailing whitespace below the form-card on /get-a-quote.html.
 *
 * See /docs/_audits/wizard-css-extraction-c69.md for the full
 * extraction list.
 * ========================================================================= */

.hero-spacer {
  height: 32px;
}

/* Index-style popup additions: extends the input/textarea base rule
   above (line 734) by adding <select> to the selector set, plus a
   chevron-only rule for the state dropdown. */
.p-input-group input, .p-input-group textarea, .p-input-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  color: var(--black);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
}
.p-input-group input:focus, .p-input-group textarea:focus, .p-input-group select:focus {
  border-color: var(--red);
}
.p-input-group select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='none' stroke='%23666' stroke-width='1.5' d='M1 1l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 30px;
}

/* =========================================================================
 * EXIT / JOB SEEKER OVERLAYS (index + houston-tx only)
 * ========================================================================= */

.exit-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: var(--z-toast); display: flex; align-items: center; justify-content: center; padding: var(--space-5); }
.exit-overlay.hidden { display: none; }
.exit-box { background: var(--white); border-radius: var(--radius-xl); padding: 40px 36px; max-width: 440px; width: 100%; text-align: center; animation: slideUp 0.3s ease; }
.exit-box h3 { font-family: var(--font-serif); font-size: 24px; color: var(--red); margin-bottom: var(--space-2-5); }
.exit-box p { font-size: var(--text-lg); color: var(--mid); margin-bottom: var(--space-6); line-height: var(--leading-loose); font-weight: var(--weight-light); }
.exit-continue { display: block; width: 100%; background: var(--red); color: var(--white); border: none; padding: var(--space-3-5); border-radius: var(--radius-md); font-family: var(--font-sans); font-size: var(--text-lg); font-weight: var(--weight-semibold); cursor: pointer; margin-bottom: var(--space-2-5); }
.exit-continue:hover { background: var(--red-dark); }
.exit-quit { background: none; border: none; color: var(--gray); font-family: var(--font-sans); font-size: var(--text-md); cursor: pointer; padding: var(--space-1-5); }
.exit-quit:hover { color: var(--black); }
.js-box { background: var(--white); border-radius: var(--radius-xl); padding: var(--space-10) var(--space-8); max-width: 440px; width: 100%; text-align: center; animation: slideUp 0.3s ease; }
.js-box h3 { font-family: var(--font-serif); font-size: var(--text-3xl); color: var(--black); margin-bottom: var(--space-2-5); }
.js-box p { font-size: var(--text-base); color: var(--mid); margin-bottom: var(--space-6); line-height: var(--leading-loose); font-weight: var(--weight-light); }

/* =========================================================================
 * ANIMATIONS (hero/form-card fade-up)
 * ========================================================================= */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-label { animation: fadeUp 0.4s ease both; }
.hero h1 { animation: fadeUp 0.4s ease 0.08s both; }
.hero-sub { animation: fadeUp 0.4s ease 0.16s both; }
.form-card { animation: fadeUp 0.4s ease 0.24s both; }

/* =========================================================================
 * DESKTOP CONTENT CONSTRAINT (index + houston-tx only)
 * ========================================================================= */

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.form-card {
  max-width: 900px;
  margin: 0 auto;
}

/* =========================================================================
 * MOBILE (shared subset of index + houston-tx)
 *
 * Page-specific mobile overrides (e.g. .cities-grid on houston-tx) live in
 * their owning page-*.css file.
 * ========================================================================= */

@media (max-width: 600px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  nav { padding: 0 var(--space-3); height: 56px; }
  .nav-brand img { height: 38px; }
  .nav-cta { padding: 7px 14px; font-size: var(--text-sm); }
  .hero { padding: var(--space-8) var(--space-4) 0; }
  .hero h1 { font-size: var(--text-display-sm); }
  .hero-sub { font-size: var(--text-base); }
  .form-card { padding: var(--space-5-5) var(--space-4) var(--space-7); }
  .form-option { padding: 13px 14px; font-size: var(--text-base); }
  section { padding: 36px 16px; }
  section h2 { font-size: 24px; }
  .pricing-number { font-size: var(--text-display-lg); }
  .popup-box { max-height: 95vh; border-radius: var(--radius-lg); }
  .popup-body { padding: var(--space-5) var(--space-5) var(--space-4-5); }
  .popup-header { padding: var(--space-4) var(--space-5) var(--space-3-5); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .p-choices-grid { grid-template-columns: 1fr; }
  .p-input-row { grid-template-columns: 1fr; }
  .p-question { font-size: var(--text-xl); }
  .exit-box { padding: var(--space-8) var(--space-6); }
  .bottom-cta { padding: 36px 16px; }
  .bottom-cta h2 { font-size: 26px; }
}

/* =========================================================================
 * C56-seeded utility classes (currently unused — retained for any future
 * marketing redesign that adopts the .marketing-* convention).
 * ========================================================================= */

body.marketing {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text);
  line-height: var(--leading-loose);
  margin: 0;
  overflow-x: hidden;
}

.marketing-section {
  padding: var(--space-20) var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}

.marketing-cta {
  display: inline-block;
  padding: var(--space-4) var(--space-8);
  background: var(--marketing-red);
  color: var(--white);
  font-weight: var(--weight-semibold);
  font-size: var(--text-lg);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.2s ease;
}

.marketing-cta:hover {
  background: var(--marketing-red-dark);
}
