/* ============================================
   FURNACE REPAIR COLORADO SPRINGS
   Design System — SCOS-v2
   ============================================ */

/* === CSS RESET + BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* === DESIGN TOKENS === */
:root {
  /* Brand Colors */
  --flame-500: #E8622C;
  --flame-600: #CF4F1C;
  --flame-700: #B83D14;
  --flame-400: #F07A48;
  --flame-300: #F5A07A;
  --flame-100: #FDE8DE;
  --flame-50: #FFF5F0;

  /* Trust Navy */
  --navy-900: #0C1B33;
  --navy-800: #12254A;
  --navy-700: #1A3465;
  --navy-600: #1E4080;
  --navy-500: #2A5298;
  --navy-400: #4A76B8;
  --navy-300: #7FA0D4;
  --navy-200: #B3C8E8;
  --navy-100: #DCE8F5;
  --navy-50: #F0F5FC;

  /* Warm Amber (Accent/Signal) */
  --amber-500: #EEA640;
  --amber-600: #D48E2A;
  --amber-400: #F4BE6A;
  --amber-300: #F8D494;
  --amber-100: #FDF0DA;
  --amber-50: #FFFAF0;

  /* Neutrals */
  --gray-950: #0F1419;
  --gray-900: #1A2028;
  --gray-800: #2A3240;
  --gray-700: #3D4856;
  --gray-600: #556070;
  --gray-500: #6E7A8A;
  --gray-400: #919BA8;
  --gray-300: #B4BCC7;
  --gray-200: #D4DAE1;
  --gray-100: #EAECF0;
  --gray-50: #F5F6F8;
  --white: #FFFFFF;

  /* Semantic */
  --success: #16A34A;
  --warning: #EAB308;
  --danger: #DC2626;
  --info: #2563EB;

  /* Applied Colors */
  --ink: var(--navy-900);
  --ink-soft: var(--gray-600);
  --ink-faint: var(--gray-400);
  --paper: var(--white);
  --surface: var(--gray-50);
  --surface-warm: var(--flame-50);
  --line: var(--gray-200);
  --accent: var(--flame-500);
  --accent-hover: var(--flame-600);
  --accent-deep: var(--flame-700);
  --trust: var(--navy-700);
  --trust-hover: var(--navy-800);
  --signal: var(--amber-500);
  --emergency: var(--danger);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', var(--font-sans);

  /* Font Sizes (Fluid) */
  --text-xs: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --text-sm: clamp(0.82rem, 0.78rem + 0.2vw, 0.9rem);
  --text-base: clamp(0.94rem, 0.9rem + 0.2vw, 1.05rem);
  --text-lg: clamp(1.06rem, 1rem + 0.3vw, 1.2rem);
  --text-xl: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(1.85rem, 1.5rem + 1.7vw, 2.8rem);
  --text-4xl: clamp(2.2rem, 1.7rem + 2.5vw, 3.6rem);
  --text-5xl: clamp(2.7rem, 2rem + 3.5vw, 4.8rem);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Layout */
  --max-width: 1200px;
  --content-width: 800px;
  --side-padding: 20px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(15, 20, 25, 0.06), 0 1px 2px rgba(15, 20, 25, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 20, 25, 0.08), 0 2px 4px rgba(15, 20, 25, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 20, 25, 0.1), 0 4px 8px rgba(15, 20, 25, 0.04);
  --shadow-xl: 0 20px 48px rgba(15, 20, 25, 0.12), 0 8px 16px rgba(15, 20, 25, 0.04);
  --shadow-glow: 0 0 0 3px rgba(232, 98, 44, 0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

@media (min-width: 768px) {
  :root {
    --side-padding: 32px;
  }
}

/* === GLOBAL BASE === */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); letter-spacing: -0.025em; line-height: 1.15; color: var(--ink); }
h1 { font-size: var(--text-5xl); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: var(--text-3xl); font-weight: 750; letter-spacing: -0.035em; }
h3 { font-size: var(--text-xl); font-weight: 700; }
h4 { font-size: var(--text-lg); font-weight: 700; }
p { margin-bottom: 1em; color: var(--ink-soft); }
strong { color: var(--ink); }
ul, ol { padding-left: 1.3em; color: var(--ink-soft); }
li { margin-bottom: 0.35em; }

/* === LAYOUT === */
.shell { width: min(var(--max-width), calc(100% - var(--side-padding) * 2)); margin: 0 auto; }
.shell-narrow { width: min(var(--content-width), calc(100% - var(--side-padding) * 2)); margin: 0 auto; }

/* === SKIP LINK === */
.skip { position: absolute; left: -9999px; z-index: 10000; }
.skip:focus { left: var(--space-4); top: var(--space-4); background: var(--white); padding: var(--space-3) var(--space-4); border: 2px solid var(--accent); border-radius: var(--radius-sm); font-weight: 700; }

/* === NOTICE BAR (Emergency/Top Banner) === */
.notice-bar {
  background: var(--navy-900);
  color: var(--white);
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
}
.notice-bar .shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.notice-bar__text { opacity: 0.9; }
.notice-bar__link {
  color: var(--amber-400);
  font-weight: 750;
  text-decoration: none;
  transition: color var(--duration-fast);
}
.notice-bar__link:hover { color: var(--amber-300); }
.notice-bar--emergency {
  background: linear-gradient(135deg, var(--danger) 0%, #B91C1C 100%);
  animation: pulse-bg 3s ease-in-out infinite;
}
@keyframes pulse-bg {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.92; }
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--duration-normal);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: var(--space-6);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--flame-500), var(--flame-600));
  color: var(--white);
  font-size: var(--text-lg);
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(232, 98, 44, 0.3);
}
.brand-logo-img {
  height: 54px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand-name span { color: var(--flame-500); }

/* Navigation */
.nav-main {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-main a {
  font-size: var(--text-sm);
  font-weight: 650;
  color: var(--gray-600);
  text-decoration: none;
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--duration-fast);
}
.nav-main a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--duration-normal) var(--ease-out);
}
.nav-main a:hover, .nav-main a.active { color: var(--accent); }
.nav-main a:hover::after, .nav-main a.active::after { width: 100%; }

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-dropdown-trigger::after { display: none !important; }
.nav-arrow {
  font-size: 0.7em;
  transition: transform var(--duration-normal) var(--ease-out);
}
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out), visibility var(--duration-normal);
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm) !important;
  font-weight: 600 !important;
  color: var(--ink-soft) !important;
  white-space: nowrap;
  transition: background var(--duration-fast), color var(--duration-fast);
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover {
  background: var(--flame-50) !important;
  color: var(--accent) !important;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}
.menu-toggle:hover {
  background: var(--flame-50);
  border-color: var(--flame-300);
}
.menu-toggle[aria-expanded="true"] {
  background: var(--flame-100);
  border-color: var(--accent);
}

/* Header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-5);
  font-weight: 750;
  font-size: var(--text-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-fast);
  box-shadow: 0 2px 8px rgba(232, 98, 44, 0.25);
}
.header-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 98, 44, 0.35);
}
.header-cta svg { width: 16px; height: 16px; fill: currentColor; }

/* Phone link in header */
.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 750;
  color: var(--accent);
  font-size: var(--text-sm);
  text-decoration: none;
}
.header-phone:hover { color: var(--accent-hover); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans);
  font-weight: 750;
  font-size: var(--text-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-fast);
  line-height: 1.4;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(232, 98, 44, 0.25);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232, 98, 44, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-secondary:hover {
  background: var(--flame-50);
  transform: translateY(-1px);
}
.btn-trust {
  background: var(--trust);
  color: var(--white);
  border-color: var(--trust);
}
.btn-trust:hover {
  background: var(--trust-hover);
  border-color: var(--trust-hover);
  transform: translateY(-1px);
}
.btn-emergency {
  background: var(--danger);
  color: var(--white);
  border-color: var(--danger);
  animation: emergency-pulse 2s ease-in-out infinite;
}
@keyframes emergency-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}
.btn-icon svg { width: 18px; height: 18px; fill: currentColor; }

/* === EYEBROW === */
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  padding: var(--space-20) 0 var(--space-16);
  background: linear-gradient(135deg, rgba(10,25,47,0.88) 0%, rgba(10,25,47,0.75) 50%, rgba(232,98,44,0.25) 100%),
              url('../images/hero-bg.webp') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 98, 44, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-12);
  align-items: center;
}
.hero .eyebrow {
  color: var(--amber-400);
  font-weight: 700;
}
.hero h1 {
  margin: var(--space-3) 0 var(--space-5);
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.hero p {
  max-width: 620px;
  font-size: var(--text-lg);
  color: rgba(241, 245, 249, 0.92);
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.hero .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}
.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--white);
  color: var(--white);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.hero-aside {
  position: relative;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-xl);
}
.hero-aside::before {
  content: '';
  position: absolute;
  top: -24px;
  right: -24px;
  width: 100px;
  height: 100px;
  border: 18px solid var(--amber-500);
  border-radius: 50%;
  opacity: 0.7;
}
.hero-aside h2 {
  position: relative;
  color: var(--white);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.hero-aside p {
  position: relative;
  color: var(--navy-200);
  font-size: var(--text-sm);
}
.aside-links {
  position: relative;
  display: grid;
  gap: var(--space-1);
  margin-top: var(--space-4);
  list-style: none;
  padding: 0;
}
.aside-links a {
  display: flex;
  justify-content: space-between;
  color: var(--white);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 650;
  font-size: var(--text-sm);
  transition: color var(--duration-fast);
}
.aside-links a::after { content: '→'; color: var(--amber-400); }
.aside-links a:hover { color: var(--amber-400); }

/* === SECTIONS === */
.section { padding: var(--space-20) 0; }
.section--tinted { background: var(--surface); }
.section--warm { background: var(--flame-50); }
.section--dark { background: var(--navy-900); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--navy-200); }
.section-header { max-width: 680px; margin-bottom: var(--space-10); }
.section-header h2 { margin: var(--space-2) 0 var(--space-3); }
.section-header p { margin: 0; color: var(--ink-soft); font-size: var(--text-lg); }

/* === CARD GRID === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--flame-300);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--flame-100);
  color: var(--accent);
  font-size: var(--text-xl);
  margin-bottom: var(--space-5);
}
.card h3 { margin-bottom: var(--space-2); }
.card p { margin: 0; color: var(--ink-soft); font-size: var(--text-sm); flex-grow: 1; }
.card-arrow {
  margin-top: var(--space-4);
  color: var(--accent);
  font-weight: 750;
  font-size: var(--text-sm);
}

/* === TRUST BADGES === */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding: var(--space-5) 0;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 650;
  color: var(--ink);
}
.trust-badge svg {
  width: 20px;
  height: 20px;
  color: var(--success);
}

/* === COST TABLE === */
.cost-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.cost-table thead {
  background: var(--navy-900);
  color: var(--white);
}
.cost-table th {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cost-table td {
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--gray-100);
  color: var(--ink-soft);
}
.cost-table tr:last-child td { border-bottom: none; }
.cost-table tr:hover td { background: var(--flame-50); }
.cost-table .cost-range {
  font-weight: 700;
  color: var(--ink);
}
.cost-table .cost-highlight {
  background: var(--amber-100);
  font-weight: 750;
}
.cost-table .cost-highlight td { color: var(--ink); }
.cost-disclaimer {
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: var(--text-xs);
  color: var(--ink-faint);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* === PROCESS STEPS === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.step {
  border-top: 3px solid var(--signal);
  padding-top: var(--space-5);
}
.step-number {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.step h3 { margin-bottom: var(--space-2); }
.step p { margin: 0; color: var(--ink-soft); font-size: var(--text-sm); }

/* === FAQ ACCORDION === */
.faq-list { max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--space-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 650;
  color: var(--ink);
  text-align: left;
  line-height: 1.4;
  gap: var(--space-4);
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 800;
  transition: transform var(--duration-normal) var(--ease-out), background var(--duration-fast);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out), padding var(--duration-slow);
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-5);
}
.faq-answer p { font-size: var(--text-sm); color: var(--ink-soft); }

/* === CTA BAND === */
.cta-band {
  padding: var(--space-12) 0;
  background: linear-gradient(135deg, var(--flame-500) 0%, var(--flame-700) 100%);
  color: var(--white);
}
.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
}
.cta-band h2 {
  color: var(--white);
  margin: var(--space-1) 0 0;
  font-size: var(--text-2xl);
}
.cta-band .eyebrow { color: var(--flame-100); }
.cta-band .btn {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
  flex-shrink: 0;
}
.cta-band .btn:hover {
  background: var(--flame-50);
  transform: translateY(-2px);
}

/* === SERVICE AREAS GRID === */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.area-link {
  display: block;
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--text-sm);
  transition: all var(--duration-fast);
}
.area-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.area-link small {
  display: block;
  color: var(--ink-faint);
  font-weight: 500;
  margin-top: var(--space-1);
  font-size: var(--text-xs);
}

/* === FOOTER === */
.site-footer {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-12) 0 var(--space-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-10);
}
.footer-brand { font-size: var(--text-sm); }
.footer-logo-img {
  height: 50px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.footer-brand h2 {
  color: var(--white);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.footer-brand p { color: var(--navy-300); font-size: var(--text-sm); }
.footer-col h3 {
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 750;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col a {
  display: block;
  color: var(--navy-300);
  font-size: var(--text-sm);
  padding: var(--space-1) 0;
  text-decoration: none;
  transition: color var(--duration-fast);
}
.footer-col a:hover { color: var(--amber-400); }
.footer-bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-xs);
  color: var(--navy-400);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer-legal a {
  color: var(--navy-400);
  margin-left: var(--space-4);
  text-decoration: none;
}
.footer-legal a:hover { color: var(--white); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: var(--space-5); }
}

@media (max-width: 768px) {
  .nav-main { display: none; }
  .menu-toggle { display: flex; }
  .header-phone { display: none; }
  .hero { padding: var(--space-12) 0; }
  .hero h1 { font-size: var(--text-3xl); }
  .hero-aside::before { display: none; }
  .section { padding: var(--space-12) 0; }
  .card-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .areas-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: var(--text-2xl); }
  .trust-strip { gap: var(--space-4); }
}

/* === ANIMATIONS === */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === PRINT === */
@media print {
  .notice-bar, .site-header, .mobile-cta, .cta-band { display: none; }
  body { font-size: 12pt; color: #000; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}

/* === TRUST BAR (Service Pages) === */
.trust-bar {
  background: var(--navy-50, #F0F5FC);
  border-bottom: 1px solid var(--navy-100, #DCE8F5);
  padding: var(--space-4) 0;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy-700, #1A3465);
  white-space: nowrap;
}
.trust-icon {
  font-size: 1.2em;
  line-height: 1;
}

@media (max-width: 768px) {
  .trust-items {
    gap: var(--space-3) var(--space-5);
    justify-content: center;
  }
  .trust-item {
    font-size: var(--text-xs);
  }
}
@media (max-width: 480px) {
  .trust-items {
    flex-direction: column;
    gap: var(--space-2);
    align-items: flex-start;
    padding-left: var(--space-4);
  }
}

/* === STEPS GRID (Service Pages) === */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 900px;
  margin: 0 auto;
}
.step {
  background: var(--navy-800, #12254A);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border-left: 3px solid var(--amber-500, #EEA640);
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.step-number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-400, #F4BE6A);
  margin-bottom: var(--space-2);
}
.step h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}
.step p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--navy-200, #B3C8E8);
}

/* Light-themed steps (for non-dark sections) */
.section:not(.section--gradient-dark) .step {
  background: var(--white);
  border-left-color: var(--flame-500);
  box-shadow: var(--shadow-sm);
}
.section:not(.section--gradient-dark) .step h3 {
  color: var(--ink);
}
.section:not(.section--gradient-dark) .step p {
  color: var(--ink-soft);
}
.section:not(.section--gradient-dark) .step-number {
  color: var(--flame-500);
}

/* === COST TABLE (Service Pages) === */
.cost-table-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cost-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}
.cost-table th {
  text-align: left;
  font-weight: 700;
  font-size: var(--text-sm);
}
.cost-table td {
  font-size: var(--text-sm);
}

@media (max-width: 640px) {
  .cost-table th,
  .cost-table td {
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-3) !important;
  }
}

/* === BACK TO TOP / SCROLL TO TOP BUTTON === */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: var(--flame-500);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(232, 98, 44, 0.4), 0 2px 8px rgba(12, 27, 51, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-spring), background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  outline: none;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: var(--flame-600);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 24px rgba(232, 98, 44, 0.55), 0 4px 12px rgba(12, 27, 51, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.back-to-top:active {
  transform: translateY(-1px) scale(0.95);
  box-shadow: 0 4px 12px rgba(232, 98, 44, 0.3);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--navy-900);
  outline-offset: 3px;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

