/* ==========================================================================
   CLIMREIMS - Design System 2026
   Single source of truth for all styling
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --bg: #F5F6FA;
  --surface: #FFFFFF;
  --surface-elevated: #FAFBFC;
  --accent: #0066CC;
  --accent-hover: #0052A3;
  --accent-light: #E8F4FD;
  --text: #1A1F2E;
  --text-secondary: #5A6270;
  --text-muted: #9094A6;
  --success: #059669;
  --success-light: #D1FAE5;
  --warning: #D97706;
  --warning-light: #FEF3C7;
  --danger: #DC2626;
  --danger-light: #FEE2E2;
  --border: #E2E5EB;
  --border-light: #F0F2F5;

  /* Typography */
  --font-display: 'Lato', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Font sizes - TITRES AUGMENTÉS */
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --text-5xl: 3.75rem;

  /* Spacing - RÉHARMONISÉ */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Layout */
  --container-max: 1240px;
  --header-height: 80px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden !important;
}

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

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

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

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); font-weight: 800; }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 3vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); font-family: var(--font-body); font-weight: 600; }

p {
  margin-bottom: var(--space-5);
  color: var(--text-secondary);
  line-height: 1.75;
}

@media (min-width: 768px) {
  body { font-size: var(--text-base); }
}

/* --------------------------------------------------------------------------
   4. Layout Components
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.section {
  padding: var(--space-16) 0;
}

.section-header {
  margin-bottom: var(--space-12);
  max-width: 720px;
}

.section-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. Header & Navigation - AMÉLIORÉ
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-8);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.logo {
  font-family: 'Lato', sans-serif;
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: none;
  flex: 1;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav-item {
  display: flex;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

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

.nav-link.active {
  color: var(--accent);
  background: var(--accent-light);
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none !important;
  }
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--text);
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: var(--surface-elevated);
  border-color: var(--text-muted);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  padding: var(--space-8);
  z-index: 99;
  overflow-y: auto;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav-link {
  display: block;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.mobile-nav-link:hover {
  background: var(--bg);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-elevated);
  border-color: var(--text-muted);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--border-light);
  color: var(--text);
}

.btn-lg {
  padding: var(--space-6) var(--space-10);
  font-size: var(--text-lg);
  margin-top: var(--space-4);
}

.btn-phone {
  background: var(--success);
  color: white;
  padding: var(--space-4) var(--space-6);
}

.btn-phone:hover {
  background: #047857;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-content {
  padding: var(--space-8);
}

.card-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.card-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.card-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--accent);
}

.card-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.card:hover .card-link svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. Badges & Tags
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  background: var(--accent-light);
  border: 1px solid rgba(0, 102, 204, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
}

.badge-success {
  background: var(--success-light);
  border-color: rgba(5, 150, 105, 0.15);
  color: var(--success);
}

.badge-warning {
  background: var(--warning-light);
  border-color: rgba(217, 119, 6, 0.15);
  color: var(--warning);
}

.badge-danger {
  background: var(--danger-light);
  border-color: rgba(220, 38, 38, 0.15);
  color: var(--danger);
}

/* --------------------------------------------------------------------------
   9. Info Boxes
   -------------------------------------------------------------------------- */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.info-box-highlight {
  background: var(--accent-light);
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-6) var(--space-8);
}

.info-box-highlight p {
  margin-bottom: 0;
  color: var(--text);
  font-weight: 500;
}

.summary-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
}

.summary-box h2 {
  margin-bottom: var(--space-5);
}

.summary-box p {
  font-size: var(--text-lg);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   10. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + var(--space-12)) var(--space-8) var(--space-20);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(245, 246, 250, 0.88) 0%, rgba(245, 246, 250, 0.78) 50%, rgba(245, 246, 250, 0.92) 100%);
}

.hero-content {
  position: relative;
  max-width: 800px;
  text-align: center;
}

.hero-badge {
  margin-bottom: var(--space-8);
}

.hero-title {
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  line-height: 1.08;
  margin-bottom: var(--space-6);
}

.hero-subtitle {
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* Page Hero (smaller) */
.page-hero {
  padding: calc(var(--header-height) + var(--space-10)) 0 var(--space-16);
}

.page-hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-8);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .page-hero-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.page-hero-content h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
  margin-bottom: var(--space-5);
}

.page-hero-content p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

.page-hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.page-hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   11. Stats Bar
   -------------------------------------------------------------------------- */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-10) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

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

.stat {
  text-align: center;
}

.stat-value {
  font-family: 'Lato', sans-serif;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   12. Grid Layouts
   -------------------------------------------------------------------------- */
.grid-themes {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

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

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

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

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

/* --------------------------------------------------------------------------
   13. Partner Section
   -------------------------------------------------------------------------- */
.partner-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.partner-inner {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .partner-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.partner-image {
  width: var(--partner-image-width, 262px);
  height: var(--partner-image-height, 183px);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

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

.partner-content {
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner-label {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.partner-content h3 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-5);
}

.partner-content p {
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
}

.partner-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-6);
}

.partner-phone:hover {
  color: var(--accent);
}

.partner-phone svg {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   14. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-list {
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: var(--space-6) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
  color: var(--text-muted);
  background: var(--bg);
  border-radius: 50%;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease-out;
}

.faq-answer-inner {
  padding-bottom: var(--space-6);
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: var(--text-base);
}

/* --------------------------------------------------------------------------
   15. Tables
   -------------------------------------------------------------------------- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin: var(--space-6) 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: var(--text-base);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-5) var(--space-6);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--surface-elevated);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.comparison-table .positive {
  color: var(--success);
  font-weight: 600;
}

.comparison-table .negative {
  color: var(--danger);
  font-weight: 600;
}

.comparison-table .neutral {
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   16. Checklist
   -------------------------------------------------------------------------- */
.checklist {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin: var(--space-6) 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border-light);
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--success);
  font-weight: 700;
  font-size: var(--text-lg);
}

.checklist-text {
  flex: 1;
  color: var(--text);
  font-weight: 500;
  font-size: var(--text-base);
}

.checklist-freq {
  font-size: var(--text-sm);
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   17. Price Cards
   -------------------------------------------------------------------------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  margin: var(--space-6) 0;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
}

.price-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.price-amount {
  font-family: 'Lato', sans-serif;
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.price-label {
  font-size: var(--text-base);
  color: var(--text-secondary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   18. Panne Cards (Troubleshooting)
   -------------------------------------------------------------------------- */
.panne-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}

.panne-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.panne-symptoms {
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  font-size: var(--text-base);
}

.solution-box {
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-4);
}

.solution-box:last-child {
  margin-bottom: 0;
}

.solution-diy {
  background: var(--success-light);
  border-left: 5px solid var(--success);
}

.solution-pro {
  background: var(--danger-light);
  border-left: 5px solid var(--danger);
}

.solution-box h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text);
}

.solution-box p {
  font-size: var(--text-base);
  margin: 0;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   19. Testimonials
   -------------------------------------------------------------------------- */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.testimonial-stars {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--warning);
}

.testimonial-quote {
  font-family: 'Lato', sans-serif;
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--text);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.testimonial-author {
  font-size: var(--text-base);
  color: var(--text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   20. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-10);
  text-align: center;
  margin: var(--space-10) 0;
}

.cta-section h2 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  margin-bottom: var(--space-4);
}

.cta-section p {
  max-width: 560px;
  margin: 0 auto var(--space-8);
  color: var(--text-secondary);
  font-size: var(--text-lg);
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-6);
}

.cta-phone:hover {
  color: var(--accent);
}

.cta-phone svg {
  width: 24px;
  height: 24px;
}

/* Emergency CTA */
.cta-emergency {
  background: var(--danger-light);
  border: 2px solid var(--danger);
}

.cta-emergency h2 {
  color: var(--danger);
}

.phone-large {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
  font-weight: 800;
  color: var(--danger);
  padding: var(--space-6) var(--space-10);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin: var(--space-6) 0;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.phone-large:hover {
  background: var(--danger);
  color: white;
  transform: scale(1.02);
}

.phone-large svg {
  width: 36px;
  height: 36px;
}

/* --------------------------------------------------------------------------
   21. Table of Contents
   -------------------------------------------------------------------------- */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-10);
}

.toc h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-5);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 700;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.toc-link {
  display: inline-block;
  font-size: var(--text-base);
  color: var(--accent);
  text-decoration: none;
  padding: var(--space-2) 0;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.toc-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   22. Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb {
  padding: calc(var(--header-height) + var(--space-6)) 0 var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
}

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

.breadcrumb-separator {
  margin: 0 var(--space-3);
}

/* --------------------------------------------------------------------------
   23. Newsletter Strip
   -------------------------------------------------------------------------- */
.newsletter-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-10) 0;
}

.newsletter-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .newsletter-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.newsletter-text h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.newsletter-text p {
  font-size: var(--text-base);
  margin: 0;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   24. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-12) 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-tagline {
  font-size: var(--text-base);
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-8);
}

.footer-link {
  font-size: var(--text-base);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}

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

.footer-copy {
  font-size: var(--text-base);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   25. Legal Page Specific
   -------------------------------------------------------------------------- */
.legal-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}

.legal-section h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
}

.legal-section p {
  margin-bottom: var(--space-4);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   26. Animations
   -------------------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   27. Utility Classes
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   28. Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .header,
  .footer,
  .mobile-menu-btn,
  .btn {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .section {
    padding: 1rem 0;
  }
}

/* --------------------------------------------------------------------------
   29. Responsive Header Fixes
   -------------------------------------------------------------------------- */

/* Mobile Navigation */
@media (max-width: 768px) {
  .header {
    width: 100%;
    left: 0;
    right: 0;
  }
  
  .header-inner {
    padding: 0 1rem;
    gap: 0.75rem;
  }
  
  .header-nav .nav-links {
    display: none !important;
  }
  
  .header-nav .btn {
    font-size: 12px;
    padding: 0.4rem 0.75rem;
    white-space: nowrap;
  }
}

/* Extra small screens (320px - 375px) */
@media (max-width: 375px) {
  .header-inner {
    padding: 0 0.75rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .header-nav .btn {
    font-size: 11px;
    padding: 0.35rem 0.6rem;
  }
  
  .header-tagline {
    display: none !important;
  }
}
