/* ==========================================================================
   BIRMINGHAM BOILER REPAIR QUOTES - PREMIUM CSS SYSTEM (VANILLA CSS)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary-dark: #0b1a30;       /* Rich Deep Navy Blue for headers & trust */
  --primary-light: #162c4e;      /* Slate Blue */
  --accent-amber: #e65f00;       /* Warm High-Contrast Amber */
  --accent-amber-hover: #cc5400; /* Darker Amber for hover states */
  --accent-amber-light: #fff2e6; /* Soft amber highlights */
  --bg-light: #ffffff;           /* Plain backgrounds */
  --bg-grey: #f5f7fb;            /* Soft grey sections */
  --text-dark: #1f2937;          /* Charcoal grey body text */
  --text-muted: #4b5563;         /* Medium grey subtext */
  --border-color: #d1d5db;       /* Subtle border light */
  --border-focus: #162c4e;       /* Focus outline color */
  --success-color: #10b981;      /* Emerald Green */
  --danger-color: #dc2626;       /* Gas Safety Crimson Red */
  --safety-bg: #fffbeb;          /* Soft Warning Amber Background */
  --safety-border: #f59e0b;      /* Safety amber border */

  /* Typography */
  --font-header: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout & Spacing */
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 30, 54, 0.1), 0 4px 6px -2px rgba(15, 30, 54, 0.05);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-light);
  overflow-x: hidden;
  padding-bottom: 70px; /* Leave space for sticky mobile CTA */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0; /* Sticky CTA is only at bottom for mobile screens */
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-amber);
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Button UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  width: 100%;
}

@media (min-width: 640px) {
  .btn {
    width: auto;
  }
}

.btn-primary {
  background-color: var(--accent-amber);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(230, 95, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-amber-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(230, 95, 0, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--primary-dark);
  border: 2px solid var(--primary-light);
}

.btn-secondary:hover {
  background-color: var(--bg-grey);
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

/* Header & Navigation */
header {
  background-color: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
  padding: 0.9rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--accent-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
}

.logo-text {
  font-family: var(--font-header);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-tagline {
  display: none;
  font-size: 0.75rem;
  color: #93c5fd;
  font-weight: 400;
  margin-top: -3px;
}

@media (min-width: 480px) {
  .logo-text {
    font-size: 1.3rem;
  }
}

@media (min-width: 1024px) {
  .logo-tagline {
    display: block;
  }
}

.nav-menu {
  display: none;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
  }

  .nav-link {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.4rem 0.2rem;
    position: relative;
  }

  .nav-link:hover, .nav-link.active {
    color: #ffffff;
  }

  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-amber);
    border-radius: 2px;
  }
}

.header-cta-btn {
  display: none;
}

@media (min-width: 768px) {
  .header-cta-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* Burger Mobile Menu Button */
.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

@media (min-width: 1024px) {
  .burger-menu {
    display: none;
  }
}

.burger-bar {
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Side Navigation Menu */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--primary-dark);
  z-index: 99;
  padding: 80px 2rem 2rem;
  box-shadow: -5px 0 25px rgba(0,0,0,0.3);
  transition: var(--transition);
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-nav-link {
  color: #e2e8f0;
  font-size: 1.15rem;
  font-family: var(--font-header);
  font-weight: 500;
  display: block;
  padding: 0.5rem 0;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--accent-amber);
}

/* Overlay for Mobile Menu */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  z-index: 98;
  display: none;
}

.menu-overlay.open {
  display: block;
}

/* Hero Section */
.hero {
  padding: 3rem 0;
  background-color: var(--bg-grey);
  border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 1024px) {
  .hero {
    padding: 5rem 0;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}

.hero-tagline {
  display: inline-block;
  background-color: #e0f2fe;
  color: var(--primary-light);
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

.hero-supporting {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.hero-cta-wrapper {
  margin-bottom: 1.5rem;
}

.hero-trust-bullets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .hero-trust-bullets {
    justify-content: flex-start;
  }
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.bullet-icon {
  color: var(--success-color);
  font-weight: bold;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

/* Trust Badges Bar */
.trust-badges {
  padding: 2rem 0;
  border-bottom: 1px solid #e5e7eb;
  background-color: #ffffff;
}

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

@media (min-width: 768px) {
  .badges-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
}

.badge-icon {
  width: 48px;
  height: 48px;
  background-color: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.badge-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.badge-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Gas Safety Notice Panel */
.gas-safety-box {
  background-color: var(--safety-bg);
  border: 1px dashed var(--safety-border);
  border-left: 5px solid var(--safety-border);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .gas-safety-box {
    flex-direction: row;
    align-items: center;
  }
}

.safety-icon-wrapper {
  background-color: #fef3c7;
  color: #d97706;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.safety-text {
  font-size: 0.95rem;
  color: #92400e;
  font-weight: 500;
  margin: 0;
}

.safety-tel {
  font-weight: 700;
  color: var(--danger-color);
  font-size: 1.05rem;
  white-space: nowrap;
}

/* Services Section */
.services-section {
  padding: 4rem 0;
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-tagline {
  color: var(--accent-amber);
  font-family: var(--font-header);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.4rem;
  }
}

.section-desc {
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--bg-grey);
  border: 1px solid #e5e7eb;
  padding: 2rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background-color: #ffffff;
  color: var(--accent-amber);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.service-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
}

.service-card-link:hover {
  color: var(--accent-amber);
}

/* Areas Section */
.areas-section {
  padding: 4rem 0;
  background-color: var(--bg-grey);
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .areas-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.area-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.area-card:hover {
  border-color: var(--accent-amber);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.area-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.area-card-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* How It Works Section */
.how-it-works-section {
  padding: 4rem 0;
  background-color: #ffffff;
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .steps-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  position: relative;
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-dark);
  color: #ffffff;
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--accent-amber-light);
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.step-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Benefits Section */
.benefits-section {
  padding: 4rem 0;
  background-color: var(--bg-grey);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-card {
  display: flex;
  gap: 1rem;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid #e5e7eb;
}

.benefit-icon {
  font-size: 1.5rem;
  color: var(--accent-amber);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.benefit-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.benefit-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* -------------------------------------------------------------------------
   MULTI-STEP FORM SYSTEM
   ========================================================================== */
.form-section {
  padding: 4rem 0;
  background-color: #ffffff;
  scroll-margin-top: 100px;
}

.lead-form-wrapper {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  max-width: 650px;
  margin: 0 auto;
  overflow: hidden;
}

@media (min-width: 640px) {
  .lead-form-wrapper {
    padding: 2.5rem;
  }
}

.form-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.progress-container {
  margin-bottom: 2rem;
}

.progress-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
  display: block;
}

.progress-bar-bg {
  background-color: #e5e7eb;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  background-color: var(--accent-amber);
  height: 100%;
  width: 20%;
  transition: width 0.3s ease-in-out;
  border-radius: 4px;
}

/* Stepper Form Views */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: slideIn 0.3s ease-out;
}

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

.form-question {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

/* Radio Cards (Multi-choice UI) */
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
  .options-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.radio-card {
  position: relative;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-sm);
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.radio-card:hover {
  border-color: var(--primary-light);
  background-color: var(--bg-grey);
}

.radio-card input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-amber);
  cursor: pointer;
}

.radio-card.selected {
  border-color: var(--accent-amber);
  background-color: var(--accent-amber-light);
}

.radio-card-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
}

/* Form Fields */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  border: 2px solid #d1d5db;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(22, 44, 78, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

/* Supporting alerts */
.step-support-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  display: block;
  line-height: 1.4;
}

.tenant-warning-box {
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
  border-left: 4px solid var(--danger-color);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  display: none;
}

.tenant-warning-text {
  color: #991b1b;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Summary Panel & Checkboxes */
.summary-panel {
  background-color: var(--bg-grey);
  border: 1px solid #e5e7eb;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.checkbox-group {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-amber);
  margin-top: 0.15rem;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--text-dark);
  cursor: pointer;
  line-height: 1.4;
}

.disclosure-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  cursor: pointer;
  text-decoration: underline;
  display: inline-block;
  margin-top: 0.5rem;
}

.disclosure-link:hover {
  color: var(--accent-amber);
}

/* Navigation Buttons inside Form */
.form-nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.submit-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
  display: block;
}

/* Honeypot hidden bot field */
.hp-field {
  display: none !important;
  visibility: hidden !important;
}

/* -------------------------------------------------------------------------
   ACCORDION FAQ SYSTEM
   ========================================================================== */
.faq-section {
  padding: 4rem 0;
  background-color: var(--bg-grey);
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.faq-question-btn:hover {
  background-color: #fafbfd;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
}

.faq-answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.faq-item.active .faq-answer {
  max-height: 300px; /* Large enough to fit content */
}

/* -------------------------------------------------------------------------
   FOOTER SECTION & DISCLAIMERS
   ========================================================================== */
footer {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  padding: 4rem 0 2rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-header);
}

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

.footer-link {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-disclaimer-box {
  background-color: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.footer-disclaimer-title {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-disclaimer-text {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copy {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-link {
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom-link:hover {
  color: #ffffff;
}

/* -------------------------------------------------------------------------
   STICKY MOBILE CTA
   ========================================================================== */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 -4px 15px rgba(15, 30, 54, 0.12);
  padding: 0.75rem 1rem;
  z-index: 95;
  display: block;
  border-top: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
  .sticky-mobile-cta {
    display: none !important; /* Hide completely on tablets/desktops */
  }
}

.sticky-cta-btn {
  background-color: var(--accent-amber);
  color: #ffffff;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(230, 95, 0, 0.3);
  cursor: pointer;
}

.sticky-cta-btn:active {
  background-color: var(--accent-amber-hover);
}

/* -------------------------------------------------------------------------
   MODAL POPUP (PROVIDER DISCLOSURE)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(11, 26, 48, 0.6);
  backdrop-filter: blur(4px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-dark);
  color: #ffffff;
}

.modal-title {
  font-size: 1.2rem;
  color: #ffffff;
}

.modal-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-body h4 {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.modal-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  text-align: right;
  background-color: var(--bg-grey);
}

.btn-modal-close {
  background-color: var(--primary-light);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
}

/* -------------------------------------------------------------------------
   THANK YOU & LEGAL TEMPLATE CUSTOMIZATIONS
   ========================================================================== */
.jumbo-panel {
  text-align: center;
  padding: 4rem 1.5rem;
  background-color: #ffffff;
}

.jumbo-icon {
  width: 72px;
  height: 72px;
  background-color: #ecfdf5;
  color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.5rem;
}

.jumbo-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.jumbo-desc {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.thank-you-box {
  background: var(--bg-grey);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 2rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: left;
}

.thank-you-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.thank-you-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.thank-you-step {
  display: flex;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.thank-you-number {
  background-color: var(--primary-light);
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.template-badge {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fee2e2;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

/* -------------------------------------------------------------------------
   ADMIN DASHBOARD UI
   ========================================================================== */
.admin-header-bg {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 1.5rem 0;
  border-bottom: 4px solid var(--accent-amber);
}

.admin-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-title {
  color: #ffffff;
  font-size: 1.5rem;
}

.admin-nav-links {
  display: flex;
  gap: 1rem;
}

.admin-nav-btn {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}

.admin-nav-btn:hover, .admin-nav-btn.active {
  color: #ffffff;
  background-color: rgba(255,255,255,0.08);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .admin-stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.stat-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.admin-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.admin-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.admin-card-header {
  background-color: var(--bg-grey);
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-card-title {
  font-size: 1.1rem;
  margin: 0;
}

.admin-card-body {
  padding: 1.5rem;
}

/* Lead Filtering UI */
.filter-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background-color: var(--bg-grey);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

@media (min-width: 640px) {
  .filter-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .filter-form-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Leads Table UI */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.admin-table th {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.admin-table tbody tr:hover {
  background-color: #fafbfc;
}

/* Status Badges */
.badge-status {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-status.new { background-color: #dbeafe; color: #1e40af; }
.badge-status.contacted { background-color: #fef3c7; color: #92400e; }
.badge-status.matched { background-color: #ecfdf5; color: #065f46; }
.badge-status.quoted { background-color: #fae8ff; color: #86198f; }
.badge-status.closed { background-color: #f3f4f6; color: #374151; }
.badge-status.invalid { background-color: #fee2e2; color: #991b1b; }

/* Provider modal inside dashboard */
.provider-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.btn-small {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 4px;
}
