/* ==========================================================================
   Finished Basements — Modern White & Dark Typography Design System
   Mobile-First, Streamlined, High-Contrast & Frictionless
   ========================================================================== */

:root {
  /* Color Palette - White Canvas & High Contrast Dark Type */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  
  /* Typography Colors - Deep Slate & Charcoal */
  --text-main: #0f172a;       /* Slate 900 */
  --text-secondary: #334155;  /* Slate 700 */
  --text-muted: #64748b;      /* Slate 500 */
  --text-light: #ffffff;
  
  /* Brand Luxury Accents */
  --gold-primary: #c59b27;
  --gold-hover: #b38728;
  --gold-deep: #926b17;
  --gold-subtle: #fcf8ee;
  --gold-border: #ebd9ad;
  
  /* Borders & Dividers */
  --border-light: #e2e8f0;
  --border-focus: #c59b27;
  --border-dark: #cbd5e1;

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.09);
  --shadow-gold: 0 6px 20px -3px rgba(197, 155, 39, 0.35);

  /* Typography Families */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.16s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;
  --container-max: 1200px;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.text-center { text-align: center; }
.text-gold { color: var(--gold-primary) !important; }
.text-dark { color: var(--text-main) !important; }
.text-muted { color: var(--text-muted) !important; }

/* Badges & Titles */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  background-color: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: var(--gold-deep);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  margin-bottom: 0.85rem;
  max-width: 720px;
}

.section-title.center {
  margin-left: auto;
  margin-right: auto;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.55;
}

.section-desc.center {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.75rem;
}

/* ==========================================================================
   Top Announcement Bar (Clean, Minimal, Non-Intrusive)
   ========================================================================== */
.top-bar {
  background-color: #0f172a;
  color: #f8fafc;
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 101;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-bar-partner {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar-partner i {
  color: #ef4444;
}

.top-bar-partner a {
  color: var(--gold-primary);
  text-decoration: underline;
  font-weight: 600;
  margin-left: 0.35rem;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Header & Sticky Navigation (Fixed Overlapping Bug!)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  max-width: calc(100% - 130px); /* Prevents pushing into action buttons */
}

.brand-logo-img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.15;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover {
  color: var(--gold-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.9rem;
}

.nav-phone i {
  color: var(--gold-primary);
}

.mobile-call-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: var(--gold-deep);
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.35rem;
}

/* Mobile dropdown menu */
.mobile-nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 2px solid var(--gold-primary);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.5rem;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-menu.open {
  display: flex;
}

.mobile-nav-menu a {
  font-weight: 600;
  color: var(--text-main);
  font-size: 1.05rem;
  padding: 0.4rem 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

.btn-primary:hover {
  background-color: #1e293b;
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #b38728 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #b38728 0%, #926b17 100%);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-dark);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background-color: var(--bg-secondary);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.825rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Hero Section (Decluttered, Modern, Direct)
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 85% 15%, #fdfbf7 0%, #ffffff 65%);
  padding: 3.5rem 0 4.5rem;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.hero-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: #ffffff;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-stars {
  color: #eab308;
  display: flex;
  gap: 0.15rem;
  font-size: 0.8rem;
}

.hero-stats-text {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-main);
}

.hero-title {
  margin-bottom: 1rem;
  color: var(--text-main);
  line-height: 1.15;
}

.hero-title .highlight {
  color: var(--gold-deep);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-guarantees {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.guarantee-item i {
  color: var(--gold-primary);
}

.hero-media-wrapper {
  position: relative;
}

.hero-main-card {
  position: relative;
  background: #ffffff;
  padding: 0.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 4px);
}

/* ==========================================================================
   Trust & Metrics Bar
   ========================================================================== */
.trust-bar {
  background-color: var(--bg-primary);
  padding: 1.85rem 0;
  border-bottom: 1px solid var(--border-light);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.metric-number {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.metric-number span {
  color: var(--gold-primary);
}

.metric-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   NEW STREAMLINED ONE-QUESTION-AT-A-TIME SURVEY (FITS ON ONE SCREEN)
   Benefit-Driven, Time-Sensitive, Frictionless
   ========================================================================== */
.survey-section {
  background-color: var(--bg-primary);
  padding: 4.5rem 0;
  scroll-margin-top: 80px;
}

.survey-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

/* Time-Sensitive Benefit Header */
.survey-banner-header {
  text-align: center;
  margin-bottom: 2rem;
}

.survey-urgent-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.survey-main-heading {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.survey-sub-heading {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Survey Card Container (Strictly Fits in Viewport) */
.survey-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
}

/* Top Progress Strip */
.survey-progress-bar-wrap {
  background: var(--bg-secondary);
  padding: 1rem 1.5rem 0.85rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.survey-step-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.survey-step-info .pct {
  color: var(--gold-deep);
}

.survey-bar-track {
  width: 100%;
  height: 6px;
  background-color: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.survey-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #c59b27, #eab308);
  width: 8%;
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

/* Survey Questions Area */
.survey-content {
  padding: 2.25rem 2rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Single Question Slide */
.quiz-step {
  display: none;
  animation: slideFadeIn 0.24s ease-out;
}

.quiz-step.active {
  display: block;
}

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

.q-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.q-subtitle {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Single-Tap Selection Options (One-Click Auto-Advance) */
.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.quiz-option-btn {
  width: 100%;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
  color: var(--text-main);
}

.quiz-option-btn:hover {
  border-color: var(--gold-primary);
  background-color: var(--gold-subtle);
  transform: translateX(2px);
}

.quiz-option-btn.selected {
  border-color: var(--gold-primary);
  background-color: var(--gold-subtle);
  box-shadow: 0 0 0 2px rgba(197, 155, 39, 0.2);
}

.quiz-opt-text {
  font-size: 1rem;
  font-weight: 700;
}

.quiz-opt-sub {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.15rem;
}

.quiz-opt-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: transparent;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.quiz-option-btn:hover .quiz-opt-icon,
.quiz-option-btn.selected .quiz-opt-icon {
  background-color: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #ffffff;
}

/* Multi-Select Wishlist Chips */
.quiz-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.q-chip {
  padding: 0.65rem 1.1rem;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.q-chip:hover {
  border-color: var(--text-main);
}

.q-chip.selected {
  background-color: var(--text-main);
  border-color: var(--text-main);
  color: #ffffff;
}

.q-chip.selected i {
  color: var(--gold-primary);
}

/* Range Sliders */
.q-range-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.q-range-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}

.q-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #cbd5e1;
  outline: none;
  accent-color: var(--gold-primary);
  cursor: pointer;
}

/* Inputs & Form Controls */
.q-input, .q-select, .q-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: #ffffff;
  margin-bottom: 1rem;
}

.q-input:focus, .q-select:focus, .q-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

/* Navigation Controls (Back & Next) */
.survey-nav-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-light);
  margin-top: 0.85rem;
  width: 100%;
  box-sizing: border-box;
}

.survey-nav-footer > .btn-back {
  align-self: flex-start;
}


.btn-back {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem;
}

.btn-back:hover {
  color: var(--text-main);
}

/* Instant Summary Screen (Step 13) */
.summary-box {
  text-align: center;
  padding: 1rem 0;
}

.summary-icon-big {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin: 0 auto 1rem;
}

.summary-card-inner {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin: 1.25rem 0;
  text-align: left;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.925rem;
}

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

.summary-row .label {
  color: var(--text-muted);
  font-weight: 600;
}

.summary-row .val {
  color: var(--text-main);
  font-weight: 700;
}

/* ==========================================================================
   Before & After Transformation Slider
   ========================================================================== */
.before-after-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  user-select: none;
  background: #ffffff;
  aspect-ratio: 16 / 10;
}

.ba-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ba-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-after-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-right: 3px solid #ffffff;
}

.ba-after-wrapper .ba-image {
  width: 900px;
  max-width: none;
  height: 100%;
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 2px solid var(--gold-primary);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  color: var(--text-main);
}

.ba-badge {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  z-index: 5;
}

.ba-badge-before { right: 1rem; }
.ba-badge-after { left: 1rem; }

/* ==========================================================================
   The Pat Gagliano Method (4 Steps)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.process-img-wrapper {
  position: relative;
  height: 180px;
}

.process-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-step-num {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.process-content {
  padding: 1.25rem;
  flex: 1;
}

.process-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.process-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Specialty Spaces Inspiration Gallery
   ========================================================================== */
.gallery-filter-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.filter-btn {
  padding: 0.5rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.filter-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.space-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 340px;
  background: #0f172a;
}

.space-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.space-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 40%, rgba(15, 23, 42, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #ffffff;
}

.space-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.25rem;
}

.space-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.space-desc {
  font-size: 0.825rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* ==========================================================================
   Founder Leadership Cards
   ========================================================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.leader-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.leader-photo {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--gold-border);
}

.leader-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.leader-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.leader-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.leader-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.test-stars {
  color: #eab308;
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
}

.test-quote {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.test-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-subtle);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.test-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.test-location {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Embrace Kids Foundation
   ========================================================================== */
.charity-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.75rem;
}

.charity-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 2.5rem;
}

.charity-tag {
  color: #f87171;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.charity-title {
  color: #ffffff;
  font-size: 1.85rem;
  margin-bottom: 0.85rem;
}

.charity-text {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.charity-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.faq-icon {
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #0b0f19;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact-list i {
  color: var(--gold-primary);
  margin-top: 0.2rem;
}

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e293b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.social-btn:hover {
  background: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
}

/* ==========================================================================
   MOBILE VIEW OPTIMIZATIONS (FIXED OVERLAPPING & REDUCED CLUTTER)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .hero-media-wrapper {
    max-width: 520px;
    margin: 0 auto;
  }
  .process-grid, .spaces-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .leadership-grid, .charity-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  /* Navbar Overlap Fix */
  .nav-container {
    height: 62px;
    padding: 0 0.85rem;
  }
  .nav-brand {
    max-width: calc(100% - 90px);
    gap: 0.5rem;
  }
  .brand-logo-img {
    height: 36px;
  }
  .brand-title {
    font-size: 0.98rem;
  }
  .brand-tagline {
    display: none; /* Hide subtitle on mobile to give maximum breathing room */
  }
  .nav-links, .nav-phone, .nav-actions .btn-sm {
    display: none; /* Hide large desktop button in header that overlapped */
  }
  .mobile-call-btn {
    display: inline-flex; /* Show sleek round phone icon instead */
  }
  .mobile-toggle {
    display: block;
  }

  /* Top Bar on Mobile */
  .top-bar-inner {
    justify-content: center;
  }
  .top-bar-contact {
    display: none;
  }
  .top-bar-partner span {
    font-size: 0.75rem;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 2.5rem 0 3rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    padding: 0.85rem 1.15rem;
    font-size: 0.95rem;
    box-sizing: border-box;
    line-height: 1.3;
  }
  .btn-lg {
    padding: 0.85rem 1.15rem;
    font-size: 0.95rem;
  }
  .hero-guarantees {
    gap: 0.85rem;
    font-size: 0.8rem;
  }

  /* Metrics Bar 2x2 */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .metric-number {
    font-size: 1.85rem;
  }

  /* Survey Mobile Fit (Fits on ONE Screen) */
  .survey-section {
    padding: 3rem 0;
  }
  .survey-content {
    padding: 1.5rem 1.15rem;
    min-height: 340px;
  }
  .q-title {
    font-size: 1.2rem;
  }
  .quiz-option-btn {
    padding: 0.85rem 1rem;
  }
  .quiz-opt-text {
    font-size: 0.925rem;
  }
  .quiz-chips-grid {
    gap: 0.45rem;
  }
  .q-chip {
    padding: 0.5rem 0.85rem;
    font-size: 0.825rem;
  }

  /* Before After Slider Mobile */
  .before-after-container {
    aspect-ratio: 4 / 3;
  }
  .ba-after-wrapper .ba-image {
    width: 100vw;
  }

  /* Process & Specialty Grids */
  .process-grid, .spaces-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .charity-banner {
    padding: 1.75rem 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Phone Input Group with Country Code Selector */
.phone-input-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.country-select {
  width: 140px;
  flex-shrink: 0;
  margin-bottom: 0 !important;
}

.phone-input-group .q-input {
  margin-bottom: 0 !important;
  flex: 1;
}

@media (max-width: 480px) {
  .phone-input-group {
    flex-direction: row;
  }
  .country-select {
    width: 115px;
    font-size: 0.85rem;
    padding: 0.75rem 0.5rem;
  }
}
/* ==========================================================================
   SURVEY FOOTER & BUTTON PLACEMENT FIX (NO OVERLAPPING, FULL WIDTH MOBILE)
   ========================================================================== */
.name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .name-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.infra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (max-width: 480px) {
  .infra-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

.survey-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.survey-content {
  width: 100%;
  box-sizing: border-box;
}

.survey-nav-footer {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0.65rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--border-light) !important;
  margin-top: 0.85rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.survey-nav-footer .btn-full {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.85rem 1rem !important;
  font-size: 0.925rem !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

.nav-dual-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 0.65rem !important;
  box-sizing: border-box !important;
}

.nav-dual-row .btn-back {
  flex-shrink: 0 !important;
  font-size: 0.85rem !important;
  padding: 0.5rem 0.5rem !important;
  white-space: nowrap !important;
}

.nav-dual-row .btn-gold {
  flex: 1 !important;
  min-width: 0 !important;
  font-size: 0.875rem !important;
  padding: 0.75rem 0.85rem !important;
  white-space: normal !important;
  text-align: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.survey-security-note {
  text-align: center !important;
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

.phone-input-group {
  display: flex !important;
  gap: 0.5rem !important;
  margin-bottom: 0.85rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.country-select {
  width: 120px !important;
  flex-shrink: 0 !important;
  margin-bottom: 0 !important;
  padding: 0.85rem 0.5rem !important;
  font-size: 0.85rem !important;
}

.phone-input-group .q-input {
  margin-bottom: 0 !important;
  flex: 1 !important;
  min-width: 0 !important;
}

@media (max-width: 640px) {
  .survey-content {
    padding: 1.5rem 1rem !important;
  }
  .country-select {
    width: 105px !important;
    font-size: 0.825rem !important;
    padding: 0.75rem 0.35rem !important;
  }
  .nav-dual-row .btn-back {
    font-size: 0.825rem !important;
    padding: 0.45rem 0.35rem !important;
  }
  .nav-dual-row .btn-gold {
    font-size: 0.825rem !important;
    padding: 0.75rem 0.5rem !important;
  }
}
