:root {
  --blue: #013672;
  --blue-light: #0a4a8f;
  --blue-dark: #012554;
  --golden: #F4C00F;
  --golden-hover: #d4a70d;
  --golden-glow: rgba(244, 192, 15, 0.15);
  --charcoal: #1A1E0E;
  --offwhite: #F8F9FA;
  --warm-gray: #f0f0ec;
  --white: #ffffff;
  --green: #2E7D32;
  --green-light: #E8F5E9;
  --font-display: 'Bebas Neue', cursive;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--charcoal); line-height: 1.7; font-size: 1rem; background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* BUTTONS */
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--golden); color: var(--blue-dark);
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.85rem 1.8rem; border-radius: var(--radius-sm);
  transition: background 0.3s cubic-bezier(0.4,0,0.2,1), transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 2px 8px rgba(244,192,15,0.3);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn-cta:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}
.btn-cta:active {
  background: var(--golden-hover);
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(244,192,15,0.35);
}
@media (hover: hover) and (pointer: fine) {
  .btn-cta:hover {
    background: var(--golden-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244,192,15,0.4);
  }
}
.btn-cta-lg { padding: 1rem 2.2rem; font-size: 0.9rem; }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--blue);
  font-family: var(--font-heading); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.06em;
  padding: 0.7rem 1.4rem; border-radius: var(--radius-sm);
  border: 2px solid rgba(1,54,114,0.2); transition: all 0.3s ease;
}
.btn-secondary:hover { border-color: var(--blue); background: rgba(1,54,114,0.05); transform: translateY(-1px); }

/* HEADER */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.header.scrolled { background: var(--blue-dark); padding: 0.7rem 0; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.header-logo { display: flex; align-items: center; gap: 0.6rem; }
.header-logo img { width: 42px; height: 42px; border-radius: 8px; }
.header-logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 0.75rem; color: var(--white); letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2; }
.header-right { display: flex; align-items: center; gap: 1.5rem; }
.header-phone { display: flex; align-items: center; gap: 0.5rem; color: var(--white); font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; transition: color 0.3s; }
.header-phone:hover { color: var(--golden); }
.header-phone svg { width: 18px; height: 18px; }
.header-cta { font-size: 0.75rem; padding: 0.65rem 1.4rem; flex-shrink: 0; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 7rem 0 4rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(1,37,84,0.92) 0%, rgba(1,54,114,0.75) 40%, rgba(0,0,0,0.6) 100%); z-index: 1; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 420px; gap: 2rem 3.5rem; align-items: start; }
.hero-content { color: var(--white); grid-column: 1; grid-row: 1; }
.form-card { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.hero-eyebrow-line { width: 32px; height: 2px; background: var(--golden); }
.hero-eyebrow-text { font-family: var(--font-heading); font-weight: 600; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--golden); }
.hero-title { font-family: var(--font-display); font-size: clamp(2.8rem, 5.5vw, 4.2rem); font-weight: 400; letter-spacing: 0.03em; line-height: 0.95; margin-bottom: 1.25rem; text-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.hero-title .price-highlight { color: var(--golden); }
.hero-bar { width: 60px; height: 3px; background: var(--golden); margin-bottom: 1.25rem; }
.hero-subtitle { font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.85); max-width: 520px; margin-bottom: 2rem; }
.hero-subtitle strong { color: var(--white); font-weight: 600; }
.trust-stats { display: flex; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.trust-stat { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.9); }
.trust-stat-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-stat-icon svg { width: 18px; height: 18px; fill: var(--golden); }
.trust-stat-number { font-family: var(--font-heading); font-weight: 700; color: var(--golden); }
.hero-review { background: var(--white); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; max-width: 520px; box-shadow: 0 4px 24px rgba(0,0,0,0.15); }
.hero-review-stars { color: var(--golden); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 0.5rem; }
.hero-review-text { font-size: 0.95rem; font-style: italic; color: var(--charcoal); line-height: 1.65; margin-bottom: 0.5rem; font-weight: 500; }
.hero-review-author { font-size: 0.78rem; color: #888; font-weight: 600; }
.hero-trust-block { grid-column: 1; grid-row: 2; color: var(--white); margin-top: 0; }

/* FORM CARD */
.form-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); overflow: hidden; position: relative; }
.form-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--golden), var(--golden-hover)); }
.form-card-header { padding: 1.75rem 1.75rem 0; }
.form-card-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.3rem; }
.form-card-sub { font-size: 0.82rem; color: #666; line-height: 1.5; }
.form-card-body { padding: 1.25rem 1.75rem 1.75rem; }

/* Wizard */
.wizard-progress { display: flex; align-items: center; justify-content: center; gap: 0; padding: 1.25rem 1.75rem 0; }
.wizard-step-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #ddd; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; color: #bbb; transition: all 0.3s; flex-shrink: 0; }
.wizard-step-dot.active { border-color: var(--golden); background: var(--golden); color: var(--blue-dark); }
.wizard-step-dot.completed { border-color: var(--green); background: var(--green); color: white; }
.wizard-step-line { flex: 1; height: 2px; background: #e0e0e0; max-width: 60px; }
.wizard-step-line.completed { background: var(--green); }
.wizard-step-line.active { background: var(--golden); }
.wizard-step { display: none; }
.wizard-step.active { display: block; }

/* Budget & Checkbox Options */
.budget-options { display: flex; flex-direction: column; gap: 0.6rem; }
.budget-option { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; border: 2px solid #eee; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s; font-size: 0.88rem; }
.budget-option:hover, .budget-option.selected { border-color: var(--golden); background: var(--golden-glow); }
.budget-option-label { font-weight: 600; color: var(--charcoal); }
.budget-option-count { font-size: 0.72rem; color: #999; font-weight: 500; background: #f5f5f5; padding: 0.2rem 0.6rem; border-radius: 20px; }
.budget-option.selected .budget-option-count { background: var(--golden); color: var(--blue-dark); }

.pref-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.pref-option { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.75rem; border: 2px solid #eee; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s; font-size: 0.8rem; font-weight: 500; color: var(--charcoal); }
.pref-option:hover, .pref-option.selected { border-color: var(--golden); background: var(--golden-glow); }
.pref-check { width: 18px; height: 18px; border: 2px solid #ddd; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; color: white; transition: all 0.2s; flex-shrink: 0; }
.pref-option.selected .pref-check { background: var(--golden); border-color: var(--golden); }

.form-row { display: flex; gap: 0.75rem; }
.form-row .form-field { flex: 1; }
.form-field { margin-bottom: 0.85rem; }
.form-input { width: 100%; padding: 0.8rem 1rem; border: 2px solid #e8e8e8; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.9rem; color: var(--charcoal); transition: border-color 0.3s, box-shadow 0.3s; background: #fafafa; }
.form-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(1,54,114,0.1); background: var(--white); }
.form-input::placeholder { color: #aaa; }
.form-btn { width: 100%; padding: 1rem; background: var(--golden); color: var(--blue-dark); font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: background 0.3s, transform 0.3s, box-shadow 0.3s; box-shadow: 0 2px 10px rgba(244,192,15,0.3); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.form-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.form-btn:active { background: var(--golden-hover); transform: translateY(0); box-shadow: 0 2px 10px rgba(244,192,15,0.35); }
@media (hover: hover) and (pointer: fine) {
  .form-btn:hover { background: var(--golden-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(244,192,15,0.4); }
}
.form-disclaimer { font-size: 0.7rem; color: #999; line-height: 1.5; margin-top: 0.75rem; text-align: center; }

/* Category Picker (Form B) */
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 1rem; }
.category-card { padding: 0.9rem 0.75rem; border: 2px solid #eee; border-radius: var(--radius-md); cursor: pointer; text-align: center; transition: all 0.25s; }
.category-card:hover { border-color: var(--golden); background: var(--golden-glow); }
.category-card.selected { border-color: var(--golden); background: var(--golden-glow); }
.category-card-icon { font-size: 1.5rem; margin-bottom: 0.3rem; }
.category-card-title { font-family: var(--font-heading); font-weight: 700; font-size: 0.78rem; color: var(--charcoal); }
.category-card-sub { font-size: 0.68rem; color: #999; margin-top: 0.15rem; }

/* Success state */
.form-success { display: none; text-align: center; padding: 2rem 1.75rem; }
.form-success.visible { display: block; }
.form-success-icon { width: 60px; height: 60px; background: var(--green-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.5rem; }
.form-success h3 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--charcoal); margin-bottom: 0.5rem; }
.form-success p { font-size: 0.88rem; color: #666; }

/* SECTIONS */
.section { padding: 5rem 0; }
.section-dark { background: var(--blue-dark); color: var(--white); }
.section-gray { background: var(--offwhite); }
.section-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }
.section-eyebrow-line { width: 28px; height: 2px; background: var(--golden); }
.section-eyebrow-text { font-family: var(--font-heading); font-weight: 600; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--golden); }
.section-title { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: 0.03em; line-height: 1; margin-bottom: 0.75rem; }
.section-subtitle { font-size: 1rem; line-height: 1.7; max-width: 600px; color: #666; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* FILTER TABS */
.filter-tabs { display: flex; gap: 0.25rem; margin-bottom: 2.5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.5rem; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab { padding: 0.6rem 1.2rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em; color: #888; white-space: nowrap; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.25s; border: 2px solid transparent; }
.filter-tab:hover { color: var(--blue); background: rgba(1,54,114,0.04); }
.filter-tab.active { color: var(--blue-dark); background: var(--golden-glow); border-color: var(--golden); }

/* COMMUNITY CARDS */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.community-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); transition: all 0.35s cubic-bezier(0.4,0,0.2,1); border: 1px solid rgba(0,0,0,0.06); cursor: pointer; }
.community-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.community-card-image { position: relative; height: 200px; overflow: hidden; }
.community-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.community-card:hover .community-card-img { transform: scale(1.06); }
.community-badge { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.3rem 0.7rem; border-radius: 4px; font-family: var(--font-heading); font-weight: 700; font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }
.badge-55plus { background: #6A1B9A; }
.badge-low-hoa { background: var(--green); }
.badge-builders { background: var(--blue); }
.badge-resort { background: #E65100; }
.badge-no-cdd { background: #00838F; }
.badge-no-fees { background: #2E7D32; }
.community-card-body { padding: 1.25rem; }
.community-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--charcoal); margin-bottom: 0.15rem; }
.community-builder-name { font-size: 0.75rem; color: #999; margin-bottom: 0.85rem; }
.community-price { font-family: var(--font-display); font-size: 2rem; color: var(--blue); letter-spacing: 0.02em; line-height: 1; }
.community-price-label { font-size: 0.68rem; color: #999; margin-bottom: 0.85rem; }
.community-costs { display: flex; gap: 0.75rem; padding: 0.75rem 0; margin-bottom: 0.75rem; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; }
.cost-item { flex: 1; text-align: center; }
.cost-item-value { font-family: var(--font-heading); font-weight: 700; font-size: 0.82rem; color: var(--charcoal); }
.cost-item-label { font-size: 0.6rem; color: #bbb; text-transform: uppercase; letter-spacing: 0.05em; }
.community-meta { font-size: 0.78rem; color: #888; margin-bottom: 1rem; }
.community-actions { display: flex; gap: 0.5rem; }
.community-actions .btn-cta { flex: 1; font-size: 0.72rem; padding: 0.65rem 0.5rem; }
.community-actions .btn-secondary { flex: 1; font-size: 0.72rem; padding: 0.6rem 0.5rem; }
.dont-see { margin-top: 3rem; text-align: center; padding: 2.5rem; border: 2px dashed rgba(1,54,114,0.15); border-radius: var(--radius-lg); background: rgba(1,54,114,0.02); }
.dont-see h3 { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: var(--charcoal); margin-bottom: 0.5rem; }
.dont-see p { font-size: 0.9rem; color: #888; max-width: 500px; margin: 0 auto 1.25rem; }
.footnote { text-align: center; font-size: 0.72rem; color: #bbb; margin-top: 2rem; font-style: italic; }
.trust-line { text-align: center; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.2rem, 2.5vw, 1.8rem); color: var(--blue); letter-spacing: 0.06em; margin-top: 2rem; padding: 1.5rem 0; border-top: 2px solid var(--golden); border-bottom: 2px solid var(--golden); }

/* COST COMPARISON */
.comparison-table-wrap { overflow-x: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 600px; }
.comparison-table thead th { padding: 1rem 1.25rem; font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; text-align: left; background: var(--blue-dark); color: var(--white); letter-spacing: 0.04em; }
.comparison-table thead th.col-pg { background: var(--golden); color: var(--blue-dark); }
.comparison-table thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
.comparison-table thead th:last-child { border-radius: 0 var(--radius-md) 0 0; }
.comparison-table tbody td { padding: 0.85rem 1.25rem; border-bottom: 1px solid #f0f0f0; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table .col-pg { background: var(--golden-glow); font-weight: 600; }
.comparison-table .row-label { font-weight: 600; color: var(--charcoal); }
.comparison-table .row-total td { background: #f8f8f8; }
.comparison-table .row-savings td { background: var(--green-light); font-weight: 700; }
.savings-value { color: var(--green); font-weight: 700; }

/* AGENT — LIGHT EDITORIAL */
.agent-section { padding: 5rem 0; background: var(--white); position: relative; }
.agent-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(1,54,114,0.1), transparent); }
.agent-layout { display: grid; grid-template-columns: 280px 1fr; gap: 3.5rem; align-items: start; position: relative; }
.agent-photo-col { position: relative; }
.agent-img { width: 280px; height: 350px; border-radius: var(--radius-md); object-fit: cover; object-position: top; box-shadow: var(--shadow-lg); }
.agent-img-border { position: absolute; top: 12px; left: 12px; right: -12px; bottom: -12px; border: 2px solid var(--golden); border-radius: var(--radius-md); z-index: -1; }
.agent-google-badge { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 0.4rem; background: var(--white); padding: 0.5rem 1.2rem; border-radius: 100px; box-shadow: 0 4px 20px rgba(0,0,0,0.12); white-space: nowrap; z-index: 2; }
.agent-google-stars { color: var(--golden); font-size: 0.85rem; letter-spacing: 1px; }
.agent-google-text { font-size: 0.78rem; color: var(--charcoal); font-weight: 600; }
.agent-content-col { color: var(--charcoal); }
.agent-label { font-family: var(--font-heading); font-weight: 600; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--blue); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.6rem; }
.agent-label::before { content: ''; width: 24px; height: 2px; background: var(--golden); }
.agent-heading { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.5rem); letter-spacing: 0.03em; line-height: 1; margin-bottom: 0.3rem; color: var(--blue-dark); }
.agent-role { font-size: 0.85rem; color: #999; margin-bottom: 1.5rem; }
.agent-blockquote { position: relative; padding: 0 0 0 1.5rem; border-left: 3px solid var(--golden); margin-bottom: 2rem; }
.agent-blockquote p { font-family: var(--font-heading); font-weight: 500; font-size: 1.15rem; color: var(--charcoal); line-height: 1.55; }
.agent-blockquote p strong { color: var(--blue); font-weight: 700; }
.agent-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.agent-stat-cell { text-align: center; padding: 1.25rem 0.5rem; background: var(--offwhite); border-radius: var(--radius-md); transition: all 0.25s; border: 1px solid rgba(1,54,114,0.08); }
.agent-stat-cell:hover { background: var(--golden-glow); transform: translateY(-2px); }
.agent-stat-num { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--blue); letter-spacing: 0.02em; line-height: 1; margin-bottom: 0.25rem; }
.agent-stat-lbl { font-size: 0.6rem; color: #999; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.agent-testimonial-card { padding: 1.5rem 1.75rem; background: var(--offwhite); border-radius: var(--radius-md); position: relative; }
.agent-testimonial-card::before { content: '\201C'; position: absolute; top: 0.5rem; left: 1rem; font-family: Georgia, serif; font-size: 3.5rem; color: var(--golden); opacity: 0.2; line-height: 1; }
.agent-testimonial-card p { font-size: 1rem; font-style: italic; color: #444; line-height: 1.75; margin-bottom: 0.5rem; padding-left: 1.5rem; font-weight: 500; }
.agent-testimonial-card span { font-size: 0.75rem; color: #999; font-weight: 600; padding-left: 1.5rem; }

/* WHY PG */
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 3rem; }
.stat-card { padding: 1.75rem 1.5rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); text-align: center; transition: all 0.3s; }
.stat-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.stat-card-number { font-family: var(--font-display); font-size: 2.5rem; color: var(--golden); letter-spacing: 0.02em; line-height: 1; margin-bottom: 0.3rem; }
.stat-card-label { font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; color: var(--white); margin-bottom: 0.3rem; }
.stat-card-desc { font-size: 0.75rem; color: rgba(255,255,255,0.5); line-height: 1.4; }
.photo-gallery { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; margin-bottom: 3rem; }
.photo-gallery::-webkit-scrollbar { display: none; }
.photo-gallery-item { flex: 0 0 280px; height: 200px; border-radius: var(--radius-md); overflow: hidden; scroll-snap-align: start; position: relative; }
.photo-gallery-img { width: 100%; height: 100%; object-fit: cover; }
.photo-gallery-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.6rem 0.85rem; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: var(--white); font-size: 0.75rem; font-weight: 500; }
.pg-area-video-wrap { position: relative; border-radius: var(--radius-md); overflow: hidden; margin-top: 2.5rem; margin-bottom: 3rem; box-shadow: var(--shadow-lg); }
.pg-area-video { width: 100%; display: block; }
.pg-area-video-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem 1.5rem; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: var(--white); font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; }

.youtube-facade { position: relative; max-width: 700px; margin: 0 auto; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/9; cursor: pointer; box-shadow: var(--shadow-lg); }
.youtube-facade-thumb { width: 100%; height: 100%; object-fit: cover; }
.youtube-facade-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); display: flex; flex-direction: column; align-items: center; justify-content: center; transition: background 0.3s; }
.youtube-facade:hover .youtube-facade-overlay { background: rgba(0,0,0,0.2); }
.youtube-play-btn { width: 68px; height: 48px; background: #FF0000; border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: transform 0.3s; }
.youtube-facade:hover .youtube-play-btn { transform: scale(1.1); }
.youtube-play-btn svg { fill: white; width: 24px; }
.youtube-facade-title { color: white; font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; margin-top: 0.75rem; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #eee; }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; cursor: pointer; width: 100%; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; color: var(--charcoal); text-align: left; }
.faq-question:hover { color: var(--blue); }
.faq-icon { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--offwhite); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #999; transition: all 0.3s; }
.faq-item.open .faq-icon { background: var(--golden); color: var(--blue-dark); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 0 1.25rem; font-size: 0.9rem; color: #666; line-height: 1.75; }

/* FINAL CTA */
.final-cta { padding: 5rem 0; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); text-align: center; color: var(--white); position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(244,192,15,0.08), transparent 70%); border-radius: 50%; }
.final-cta-title { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: 0.03em; margin-bottom: 0.75rem; position: relative; }
.final-cta-sub { font-size: 0.95rem; color: rgba(255,255,255,0.7); max-width: 550px; margin: 0 auto 2rem; line-height: 1.7; position: relative; }
.final-cta-form { display: flex; gap: 0.75rem; max-width: 600px; margin: 0 auto; position: relative; flex-wrap: wrap; justify-content: center; }
.final-cta-form .form-input { flex: 1; min-width: 160px; border: 2px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.1); color: var(--white); font-size: 0.95rem; padding: 0.9rem 1.2rem; }
.final-cta-form .form-input::placeholder { color: rgba(255,255,255,0.55); }
.final-cta-form .form-input:focus { border-color: var(--golden); box-shadow: 0 0 0 3px rgba(244,192,15,0.15); background: rgba(255,255,255,0.15); }
.final-cta-form .btn-cta { white-space: nowrap; padding: 0.9rem 1.8rem; flex-basis: 100%; }

/* SLIDE-IN PANEL */
.panel-backdrop { position: fixed; inset: 0; z-index: 1500; background: rgba(0,0,0,0.5); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.panel-backdrop.visible { opacity: 1; pointer-events: all; }
.slide-panel { position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 100vw; background: var(--white); box-shadow: var(--shadow-xl); z-index: 1501; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); padding: 2.5rem 2rem; overflow-y: auto; }
.slide-panel.visible { transform: translateX(0); }
.panel-close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border-radius: 50%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #999; cursor: pointer; transition: all 0.2s; }
.panel-close:hover { background: #e0e0e0; color: #333; }
.panel-title { font-family: var(--font-display); font-size: 1.8rem; color: var(--blue); margin-bottom: 0.25rem; letter-spacing: 0.02em; }
.panel-community { display: inline-block; font-size: 0.8rem; color: var(--blue); font-weight: 600; background: rgba(1,54,114,0.08); padding: 0.3rem 0.8rem; border-radius: 20px; margin-bottom: 1.5rem; }
.panel-form .form-field { margin-bottom: 1rem; }

/* EXIT POPUP */
.exit-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.exit-overlay.visible { opacity: 1; pointer-events: all; }
.exit-modal { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; max-width: 440px; width: 90%; position: relative; box-shadow: var(--shadow-xl); transform: translateY(20px); transition: transform 0.3s; }
.exit-overlay.visible .exit-modal { transform: translateY(0); }
.exit-close { position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px; border-radius: 50%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #999; cursor: pointer; }
.exit-close:hover { background: #e0e0e0; color: #333; }
.exit-modal h3 { font-family: var(--font-display); font-size: 2rem; color: var(--blue); margin-bottom: 0.5rem; }
.exit-modal p { font-size: 0.88rem; color: #666; line-height: 1.6; margin-bottom: 1.25rem; }

/* STICKY MOBILE BAR */
.sticky-mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: var(--blue-dark);
  padding: 0.65rem 1rem;
  padding-bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.sticky-mobile-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(0.68rem, 3.1vw, 0.78rem);
  color: var(--white);
  font-weight: 500;
  line-height: 1.35;
}
.sticky-mobile-text strong { color: var(--golden); }
/* Narrow bar CTA: keep one clean row, centered type, no “stuck pressed” look on tap */
.sticky-mobile-cta {
  flex: 0 0 auto;
  font-size: 0.58rem !important;
  padding: 0.6rem 0.7rem !important;
  line-height: 1.2;
  letter-spacing: 0.045em;
  white-space: nowrap;
  text-align: center;
  align-self: center;
  -webkit-appearance: none;
  appearance: none;
}
.sticky-mobile-cta:active {
  transform: none;
  opacity: 0.92;
  box-shadow: 0 2px 6px rgba(244,192,15,0.35);
}
@media (hover: hover) and (pointer: fine) {
  .sticky-mobile-cta:hover {
    transform: translateY(-1px);
  }
  .sticky-mobile-cta:active {
    transform: translateY(0);
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .hero-content { text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-bar { margin: 0 auto 1.25rem; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .trust-stats { justify-content: center; }
  .hero-review { margin: 0 auto; }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-layout { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .agent-photo-col { margin: 0 auto; }
  .agent-label { justify-content: center; }
  .agent-blockquote { border-left: none; padding-left: 0; border-top: 3px solid var(--golden); padding-top: 1.25rem; }
  .agent-stats-row { grid-template-columns: repeat(2, 1fr); }
  .agent-testimonial-card p, .agent-testimonial-card span { padding-left: 0; }
  .agent-testimonial-card::before { display: none; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}
/* Desktop / tablet grid only (not mobile flex): align trust row with form card + real gap under subtitle */
@media (min-width: 769px) {
  .hero-trust-block { margin-top: -2rem; }
  .hero-subtitle { margin-bottom: 3.5rem; }
}
@media (max-width: 768px) {
  .section,
  .agent-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  /* Extra bottom padding so the form + submit button clear the fixed sticky bar */
  .final-cta {
    padding-top: 2rem;
    padding-bottom: calc(2rem + 4.75rem + env(safe-area-inset-bottom, 0px));
  }
  .hero { padding: 6rem 0 2rem; }
  .hero-grid { display: flex; flex-direction: column; max-width: 520px; margin: 0 auto; gap: 1.5rem; }
  .hero-content { order: 1; }
  .form-card { order: 2; }
  .hero-trust-block { order: 3; margin-top: 0; }
  .community-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .final-cta-form { flex-direction: column; }
  .final-cta-form .form-input { min-width: auto; }
  .header-phone-text { display: none; }
  .header-cta { font-size: 0.62rem; padding: 10px; letter-spacing: 0.04em; white-space: nowrap; }
  .sticky-mobile-bar { display: flex; }
  /* Mobile filter tabs: wrap into a pill grid so all options are visible (no horizontal scroll) */
  .filter-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    overflow-x: visible;
    padding-bottom: 0;
    margin-bottom: 1.75rem;
  }
  .filter-tab {
    flex: 0 0 auto;
    padding: 0.55rem 0.95rem;
    font-size: 0.72rem;
    background: var(--white);
    border: 2px solid #e5e5e5;
    color: #666;
  }
  .filter-tab.active { border-color: var(--golden); color: var(--blue-dark); background: var(--golden-glow); }
  /* Last block in #communities: avoid stacking huge margin + section padding (gray “tail” below video) */
  .pg-area-video-wrap { margin-top: 1.25rem; margin-bottom: 0; }
}
@media (max-width: 480px) {
  .trust-stats { flex-direction: column; align-items: center; }
  .stat-cards { grid-template-columns: 1fr; }
  .pref-options { grid-template-columns: 1fr; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { opacity: 0; animation: fadeUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; } .delay-3 { animation-delay: 0.3s; } .delay-4 { animation-delay: 0.4s; }
