/* 
  =========================================
  MyFloridaFR44 Redesign - Global Styles
  =========================================
  Vanilla CSS Design System with:
  - Dynamic Dark/Light Mode
  - Fluid responsive typography
  - Glassmorphic card styling
  - Accessible input validations (:user-valid, :user-invalid)
  - Seamless micro-interactions and transitions
*/

@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');

/* CSS VARIABLES - DESIGN SYSTEM SYSTEM TOKENS */
:root {
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Color Palette - Light Mode Default */
  --color-primary-hsl: 224, 76%, 18%; /* Navy */
  --color-primary: hsl(var(--color-primary-hsl));
  --color-primary-hover: hsl(224, 76%, 12%);
  --color-primary-light: hsl(224, 76%, 95%);
  
  --color-accent-hsl: 38, 100%, 50%; /* Florida Gold/Amber */
  --color-accent: hsl(var(--color-accent-hsl));
  --color-accent-hover: hsl(38, 100%, 42%);
  --color-accent-light: hsl(38, 100%, 94%);

  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --border-color: #e2e8f0;
  
  /* Status Colors */
  --color-success: #10b981;
  --color-success-bg: #ecfdf5;
  --color-error: #ef4444;
  --color-error-bg: #fef2f2;
  --color-info: #3b82f6;
  --color-info-bg: #eff6ff;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(226, 232, 240, 0.6);
  --glass-shadow: rgba(148, 163, 184, 0.1);
  --backdrop-blur: blur(12px);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;

  /* Borders & Shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CSS VARIABLES - DARK MODE */
body.dark-mode {
  --color-primary-hsl: 217, 91%, 60%; /* Lighter Blue for contrast */
  --color-primary: hsl(var(--color-primary-hsl));
  --color-primary-hover: hsl(217, 91%, 70%);
  --color-primary-light: hsl(217, 91%, 12%);

  --color-accent-hsl: 38, 100%, 55%;
  --color-accent: hsl(var(--color-accent-hsl));
  --color-accent-hover: hsl(38, 100%, 65%);
  --color-accent-light: hsl(38, 100%, 15%);

  --bg-primary: #0b132b;
  --bg-secondary: #1c2541;
  --bg-tertiary: #111a30;
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --border-color: #334155;

  /* Glassmorphism Dark */
  --glass-bg: rgba(28, 37, 65, 0.7);
  --glass-border: rgba(51, 65, 85, 0.5);
  --glass-shadow: rgba(0, 0, 0, 0.3);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

main {
  flex-grow: 1;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem); /* Responsive fluid typography */
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-top: 1.5em;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

p.lead {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
}

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

a:hover {
  color: var(--color-primary-hover);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  gap: 0.5rem;
  min-height: 48px; /* Safe mobile tap target */
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #0f172a; /* readable dark text on gold */
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover, .btn-outline:focus-visible {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  transform: translateY(-2px);
}

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

.btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* ACCESSIBLE HIDDEN ELEMENTS */
.visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* NAVBAR & HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  transition: background-color var(--transition-normal);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.brand-logo-img {
  height: 56px;
  width: 56px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background-color: #ffffff;
  padding: 2px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.logo-text {
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.logo-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-weight: 500;
}

.main-nav {
  display: none;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link:focus-visible {
  color: var(--text-primary);
  background-color: var(--bg-secondary);
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0.75rem;
  right: 0.75rem;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* MOBILE NAV MENU TOGGLE */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.menu-toggle:hover {
  background-color: var(--bg-secondary);
}

.menu-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* DARK MODE TOGGLE */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: none;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--bg-secondary);
}

.theme-icon-sun, .theme-icon-moon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

body.dark-mode .theme-icon-sun {
  display: block;
}

body.dark-mode .theme-icon-moon {
  display: none;
}

body:not(.dark-mode) .theme-icon-sun {
  display: none;
}

body:not(.dark-mode) .theme-icon-moon {
  display: block;
}

/* MOBILE NAVIGATION OVERLAY Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: var(--backdrop-blur);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal) ease;
}

.mobile-nav-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  width: 80%;
  max-width: 320px;
  background-color: var(--bg-primary);
  height: 100%;
  box-shadow: var(--shadow-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-drawer.open .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  margin-bottom: var(--space-xl);
}

.drawer-nav-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  padding: 0.5rem;
  border-radius: var(--radius-md);
}

.drawer-nav-link:hover, .drawer-nav-link:focus-visible {
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  padding-left: 0.75rem;
}

.drawer-nav-link.active {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding-left: 0.75rem;
}

/* HERO SECTION */
.hero {
  position: relative;
  padding-block: var(--space-2xl);
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, var(--color-accent-light) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, var(--color-primary-light) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  border: 1px solid var(--glass-border);
}

.badge-pill-success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
}

.hero-title {
  margin-bottom: var(--space-md);
  font-weight: 800;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-primary); /* Fallback */
}

.hero-desc {
  margin-bottom: var(--space-xl);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-lg);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-image-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image-card {
  position: relative;
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-xl);
  backdrop-filter: var(--backdrop-blur);
  width: 100%;
  max-width: 480px;
}

.hero-image-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  display: block;
}

/* SECTION HEADERS */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.section-header h2 {
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--text-secondary);
}

/* GLASS CARDS */
.glass-card {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

/* FEATURES GRID */
.features-section {
  padding-block: var(--space-2xl);
  background-color: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.feature-icon-box svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* TIMELINE PROCESS */
.process-section {
  padding-block: var(--space-2xl);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 4px;
  background-color: var(--border-color);
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: var(--space-xl);
}

.timeline-badge {
  position: absolute;
  left: 10px;
  top: 4px;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: var(--bg-primary);
  border: 4px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.timeline-item.active .timeline-badge {
  background-color: var(--color-accent);
}

.timeline-content {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.timeline-step {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* OWNER VS NON-OWNER COMPARISON */
.comparison-section {
  padding-block: var(--space-2xl);
  background-color: var(--bg-secondary);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.comparison-card {
  display: flex;
  flex-direction: column;
}

.comparison-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
}

.comparison-price {
  font-size: 2.25rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-primary);
}

.comparison-price span {
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--text-muted);
  font-weight: 400;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.comparison-list li svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  margin-top: 3px;
  flex-shrink: 0;
}

/* FAQS & ACCORDIONS */
.faq-section {
  padding-block: var(--space-2xl);
}

.faq-search-wrapper {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md), 0 0 0 3px var(--color-primary-light);
}

.faq-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

details {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--glass-bg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
}

details[open] {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  outline: none;
  color: var(--text-primary);
}

/* Hide default disclosure triangle */
summary::-webkit-details-marker {
  display: none;
}

.summary-indicator {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  transition: transform var(--transition-normal), background-color var(--transition-fast);
}

details[open] .summary-indicator {
  transform: rotate(180deg);
  background-color: var(--color-primary);
  color: #fff;
}

summary:focus-visible {
  background-color: var(--color-primary-light);
}

.faq-content {
  padding: 0 1.25rem 1.25rem 1.25rem;
  border-top: 1px solid transparent;
  color: var(--text-secondary);
}

details[open] .faq-content {
  border-color: var(--border-color);
}

/* FORMS SECTION & MULTI-STEP FORMS */
.form-section {
  padding-block: var(--space-2xl);
}

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

/* PROGRESS BAR */
.progress-bar-container {
  margin-bottom: var(--space-xl);
}

.progress-steps-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
  position: relative;
  margin-bottom: var(--space-sm);
}

.progress-steps-list::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--border-color);
  z-index: 1;
}

.progress-step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--bg-primary);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  transition: all var(--transition-normal);
}

.progress-step-item.active .step-num {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 0 0 4px var(--color-primary-light);
}

.progress-step-item.completed .step-num {
  border-color: var(--color-success);
  background-color: var(--color-success);
  color: #ffffff;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  text-align: center;
}

.progress-step-item.active .step-label {
  color: var(--text-primary);
  font-weight: 700;
}

.progress-step-item.completed .step-label {
  color: var(--color-success);
}

/* FORM LAYOUT */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: slideIn var(--transition-normal) ease;
}

.form-group {
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  min-height: 48px; /* Safe mobile tap target */
  transition: all var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* RADIO & CHECKBOX CUSTOMIZATION */
.radio-group, .checkbox-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-block-end: var(--space-md);
}

.radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  background-color: var(--bg-primary);
  transition: all var(--transition-fast);
}

.radio-card:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-muted);
}

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

.radio-card.selected {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}

.radio-card-content {
  display: flex;
  flex-direction: column;
}

.radio-card-title {
  font-weight: 600;
  color: var(--text-primary);
}

.radio-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* USER VALIDATION FEEDBACK */
/* Validate after interaction using user-invalid / user-valid */
input:user-invalid, select:user-invalid, textarea:user-invalid {
  border-color: var(--color-error);
  background-color: var(--color-error-bg);
}

input:user-invalid:focus, select:user-invalid:focus, textarea:user-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

.field-error-msg {
  display: none;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-error);
  margin-top: 0.25rem;
}

input:user-invalid ~ .field-error-msg,
select:user-invalid ~ .field-error-msg,
textarea:user-invalid ~ .field-error-msg {
  display: block;
}

/* FORM NAVIGATION BUTTONS */
.form-navigation-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-lg);
}

/* COLLAPSIBLE VEHICLE SECTION */
.collapsible-section {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) cubic-bezier(0, 1, 0, 1);
}

.collapsible-section.expanded {
  max-height: 1000px;
  transition: max-height var(--transition-slow) cubic-bezier(1, 0, 1, 0);
}

/* SUMMARY REVIEW STYLES */
.review-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.review-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--space-sm);
}

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

.review-value {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
}

/* CITY-SPECIFIC SELECTORS */
.city-select-section {
  padding-block: var(--space-2xl);
}

.city-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.city-chip {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.city-chip:hover {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.city-chip.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.city-details-card {
  max-width: 800px;
  margin: 0 auto;
}

.city-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-block: 1px solid var(--border-color);
  padding-block: var(--space-md);
}

@media (min-width: 600px) {
  .city-stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* CONTACT PAGE STYLES */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-info-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon-box svg {
  width: 20px;
  height: 20px;
}

.contact-info-content h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

/* REAL-TIME WORK TIME WIDGET */
.hours-status-widget {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: var(--space-sm);
}

.hours-status-open {
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.hours-status-closed {
  background-color: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.hours-status-open .status-dot {
  background-color: var(--color-success);
  animation: pulse 2s infinite;
}

.hours-status-closed .status-dot {
  background-color: var(--color-error);
}

/* FOOTER SECTION */
.site-footer {
  background-color: #0b132b;
  color: #cbd5e1;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-top: 4px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand h3 {
  color: #ffffff;
  margin-bottom: var(--space-sm);
}

.footer-nav h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

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

.footer-nav-link {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.footer-nav-link:hover {
  color: var(--color-accent);
}

.footer-disclaimer-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-xl);
}

.footer-disclaimer-title {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-license {
  font-weight: 600;
  color: #cbd5e1;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* RESPONSIVE DESIGN (MEDIA QUERIES) */
@media (min-width: 768px) {
  /* Header Grid changes */
  .main-nav {
    display: block;
  }
  .menu-toggle {
    display: none;
  }
  
  /* Hero section shifts to horizontal split */
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-xl);
  }
  
  /* Feature Grid shifts to multi-column */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Owner vs Non-Owner Comparison Grid */
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Form Radio group card layout */
  .radio-group {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Contact Page layout */
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
  
  /* Footer layout */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

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

/* TEAM GRID SECTION */
.team-section {
  padding-block: var(--space-2xl);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.team-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin-bottom: var(--space-md);
  border: 4px solid var(--color-accent);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-secondary);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.team-role {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  background-color: var(--color-primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

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

/* NAVIGATION DROPDOWNS */
.nav-dropdown {
  position: relative;
}

.nav-drop-toggle {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-drop-toggle:hover {
  color: var(--text-primary);
  background-color: var(--bg-secondary);
}

.nav-drop-toggle::after {
  content: '▾';
  font-size: 0.75rem;
  margin-top: 2px;
}

.nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  z-index: 200;
  animation: slideIn 0.15s ease;
}

.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown:focus-within .nav-drop-menu {
  display: block;
}

.nav-drop-item {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-drop-item:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding-left: 1rem;
}

/* STYLING FOR CONTENT SUBPAGES */
.main-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  margin-top: 1.5rem;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
  max-width: 800px;
}

.main-wrap .card {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  margin-bottom: var(--space-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.main-wrap .card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.main-wrap .card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.main-wrap .card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

.cta-section {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  margin-top: var(--space-2xl);
  border: 1px solid var(--glass-border);
  color: #ffffff;
}

.cta-section h2 {
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-lg);
}

/* Page Hero layout for content pages */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  color: #ffffff;
  border-bottom: 4px solid var(--color-accent);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  color: #ffffff;
}

.page-hero h1 span {
  color: var(--color-accent);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* =========================================
   Comparison Table Component
   ========================================= */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}

.comparison-table th {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 1rem var(--space-lg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.comparison-table td {
  padding: 1rem var(--space-lg);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.95rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background-color: var(--bg-tertiary);
}

/* Custom Highlight colors for FR-44 features */
.highlight-text {
  font-weight: 700;
  color: var(--color-accent);
}
body.dark-mode .highlight-text {
  color: var(--color-accent); /* high contrast gold */
}

/* Helpers */
.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.font-bold {
  font-weight: 700;
}

/* Responsive Global Quote Navigation Styles */
.nav-link.nav-link-quote {
  color: var(--color-primary);
  font-weight: 700;
  border: 1px solid var(--color-primary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-light);
  transition: all var(--transition-fast);
}

.nav-link.nav-link-quote:hover, 
.nav-link.nav-link-quote:focus-visible {
  background-color: var(--color-primary);
  color: #ffffff;
}

body.dark-mode .nav-link.nav-link-quote {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background-color: rgba(251, 191, 36, 0.1);
}

body.dark-mode .nav-link.nav-link-quote:hover,
body.dark-mode .nav-link.nav-link-quote:focus-visible {
  background-color: var(--color-accent);
  color: #0f172a;
}

.drawer-nav-link.drawer-nav-link-quote {
  color: var(--color-primary) !important;
  font-weight: 700 !important;
  background-color: var(--color-primary-light) !important;
  border-left: 4px solid var(--color-primary) !important;
}

body.dark-mode .drawer-nav-link.drawer-nav-link-quote {
  color: var(--color-accent) !important;
  background-color: rgba(251, 191, 36, 0.1) !important;
  border-left-color: var(--color-accent) !important;
}

/* Header actions responsive visibility classes */
.header-actions .header-btn-call,
.header-actions .header-btn-quote {
  display: none;
}

@media (min-width: 600px) and (max-width: 767px) {
  .header-actions .header-btn-call {
    display: inline-flex !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .header-actions .header-btn-quote {
    display: inline-flex !important;
  }
}

@media (min-width: 1200px) {
  .header-actions .header-btn-call {
    display: inline-flex !important;
  }
  .header-actions .header-btn-quote {
    display: inline-flex !important;
  }
}




