/* ============================================================
   Strong Financial Group — Design Tokens & Component Styles
   Colorado-inspired: blue-sky, aspen gold, red-rock terracotta,
   alpine green accents on warm neutral surfaces.
   ============================================================ */

:root {
  /* Fluid type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  --text-hero: clamp(2.75rem, 0.5rem + 6vw, 6.5rem);

  /* 4px spacing system */
  --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;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1000px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', 'Helvetica Neue', sans-serif;
}

/* ---------- LIGHT MODE (default) ---------- */
:root,
[data-theme='light'] {
  /* Surfaces — warm neutral, mountain-morning light */
  --color-bg: #faf7f1;
  --color-surface: #ffffff;
  --color-surface-2: #f4efe4;
  --color-surface-offset: #eee7d8;
  --color-surface-offset-2: #e6dcc7;
  --color-surface-dynamic: #dfd3b8;
  --color-divider: #e1d8c4;
  --color-border: #d8cbac;

  /* Text — deep alpine slate */
  --color-text: #1e2a30;
  --color-text-muted: #56656b;
  --color-text-faint: #96a1a4;
  --color-text-inverse: #f8f5ec;

  /* Primary accent — Colorado blue-sky / alpine lake teal-blue */
  --color-primary: #1d5f78;
  --color-primary-hover: #164a5e;
  --color-primary-active: #103848;
  --color-primary-highlight: #d7e6ea;

  /* Secondary accent — aspen gold */
  --color-gold: #c9862c;
  --color-gold-hover: #a86c1f;
  --color-gold-active: #855417;
  --color-gold-highlight: #f1e2c2;

  /* Terracotta — red rock, warnings/callouts */
  --color-warning: #a8502f;
  --color-warning-hover: #863d22;
  --color-warning-active: #642c18;
  --color-warning-highlight: #ecd8cd;

  /* Alpine green — success/positive */
  --color-success: #3f6b3f;
  --color-success-hover: #315530;
  --color-success-active: #243f23;
  --color-success-highlight: #dbe6d3;

  --color-error: #a33b3b;
  --color-error-hover: #822e2e;
  --color-error-active: #5f2222;
  --color-error-highlight: #ecd6d6;

  --shadow-sm: 0 1px 2px oklch(0.25 0.02 240 / 0.08);
  --shadow-md: 0 4px 14px oklch(0.25 0.02 240 / 0.1);
  --shadow-lg: 0 16px 40px oklch(0.25 0.02 240 / 0.16);
}

/* ---------- DARK MODE ---------- */
[data-theme='dark'] {
  --color-bg: #12181b;
  --color-surface: #171e22;
  --color-surface-2: #1c2429;
  --color-surface-offset: #202a2f;
  --color-surface-offset-2: #263136;
  --color-surface-dynamic: #2d3a40;
  --color-divider: #263136;
  --color-border: #34424a;

  --color-text: #e8e6de;
  --color-text-muted: #a0aab0;
  --color-text-faint: #6b7a80;
  --color-text-inverse: #1a2226;

  --color-primary: #6fb2c9;
  --color-primary-hover: #8fc4d8;
  --color-primary-active: #a8d1e1;
  --color-primary-highlight: #223842;

  --color-gold: #e0a854;
  --color-gold-hover: #ecbd76;
  --color-gold-active: #f3ce97;
  --color-gold-highlight: #3a3021;

  --color-warning: #d17f5c;
  --color-warning-hover: #dd9a7c;
  --color-warning-active: #e6b299;
  --color-warning-highlight: #3d2a22;

  --color-success: #7fac6f;
  --color-success-hover: #98bd89;
  --color-success-active: #b0cca4;
  --color-success-highlight: #263323;

  --color-error: #c56a6a;
  --color-error-hover: #d38686;
  --color-error-active: #e0a3a3;
  --color-error-highlight: #3a2626;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #12181b;
    --color-surface: #171e22;
    --color-surface-2: #1c2429;
    --color-surface-offset: #202a2f;
    --color-surface-offset-2: #263136;
    --color-surface-dynamic: #2d3a40;
    --color-divider: #263136;
    --color-border: #34424a;
    --color-text: #e8e6de;
    --color-text-muted: #a0aab0;
    --color-text-faint: #6b7a80;
    --color-text-inverse: #1a2226;
    --color-primary: #6fb2c9;
    --color-primary-hover: #8fc4d8;
    --color-primary-active: #a8d1e1;
    --color-primary-highlight: #223842;
    --color-gold: #e0a854;
    --color-gold-hover: #ecbd76;
    --color-gold-active: #f3ce97;
    --color-gold-highlight: #3a3021;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-md: 0 4px 16px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.55);
  }
}

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--default {
  max-width: var(--content-default);
}
.container--narrow {
  max-width: var(--content-narrow);
}

main {
  display: block;
}

section {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-5);
  z-index: 100;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--color-divider);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px);
}
.site-header--hidden {
  transform: translateY(-100%);
}
.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}
.brand svg {
  width: 34px;
  height: 34px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) 0;
  position: relative;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--color-text);
}
.nav-links a[aria-current='page'] {
  color: var(--color-primary);
}
.nav-links a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text);
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}
.nav-toggle:hover {
  background: var(--color-surface-2);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
}
.btn-primary:active {
  background: var(--color-primary-active);
}
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-secondary:hover {
  background: var(--color-surface-2);
  border-color: var(--color-text-faint);
}
.btn-gold {
  background: var(--color-gold);
  color: #241a08;
}
.btn-gold:hover {
  background: var(--color-gold-hover);
  color: #fff;
}
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}
.btn-block {
  width: 100%;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    oklch(0.15 0.03 240 / 0.55) 0%,
    oklch(0.15 0.03 240 / 0.35) 45%,
    oklch(0.12 0.02 240 / 0.75) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-24) var(--space-16);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
  width: 100%;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f1e2c2;
  margin-bottom: var(--space-5);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 600;
  max-width: 16ch;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-6);
}
.hero-sub {
  font-size: var(--text-lg);
  max-width: 46ch;
  color: #f1efe6;
  margin-bottom: var(--space-8);
  font-weight: 400;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}
.hero .btn-secondary,
.page-header .btn-secondary {
  color: #fff;
  border-color: color-mix(in oklab, #fff 45%, transparent);
}
.hero .btn-secondary:hover,
.page-header .btn-secondary:hover {
  background: color-mix(in oklab, #fff 15%, transparent);
  border-color: #fff;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid oklch(1 0 0 / 0.22);
  max-width: 640px;
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.hero-trust-item strong {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: #fff;
}
.hero-trust-item span {
  font-size: var(--text-xs);
  color: #d9d5c8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Page header (interior pages) — photo banner, shorter than hero */
.page-header {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.page-header-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-10) var(--space-12);
  width: 100%;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  max-width: 20ch;
  margin-bottom: var(--space-3);
}
.page-header p {
  font-size: var(--text-lg);
  max-width: 52ch;
  color: #f1efe6;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-head {
  max-width: 720px;
  margin-bottom: var(--space-12);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  display: block;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}
.section-head p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
}

h3.card-title,
.card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

/* ============================================================
   CARDS & GRIDS
   ============================================================ */
.grid {
  display: grid;
  gap: var(--space-6);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  box-shadow: var(--shadow-md);
}
.card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.loan-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.loan-card .tag {
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.loan-card ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.loan-card li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-5);
  position: relative;
}
.loan-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
}
.loan-card .for-whom {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 600;
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}

/* ============================================================
   TWO-COLUMN EDITORIAL / FEATURE SECTIONS
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.split.split--reverse .split-media {
  order: 2;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .split.split--reverse .split-media {
    order: 0;
  }
}
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.split-body h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-5);
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.split-body p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.split-body p:last-of-type {
  margin-bottom: 0;
}

/* Full-bleed image divider */
.full-bleed {
  position: relative;
  width: 100%;
  height: clamp(280px, 42vw, 520px);
  overflow: hidden;
}
.full-bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.full-bleed-caption {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  color: #fff;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: oklch(0.1 0.02 240 / 0.45);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-6);
  padding-block: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.step:first-child {
  border-top: none;
}
.step-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-gold);
}
.step-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.step-body p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
@media (max-width: 620px) {
  .step {
    grid-template-columns: 40px 1fr;
  }
}

/* ============================================================
   CALLOUTS / STATS / TESTIMONIAL
   ============================================================ */
.callout {
  background: var(--color-primary-highlight);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border-left: none;
}
.callout p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  font-weight: 500;
}

.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding-block: var(--space-16);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
@media (max-width: 860px) {
  .stat-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stat {
  text-align: left;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}
.stat span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .chev {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: transform var(--transition-interactive);
}
.faq-item[open] summary .chev {
  transform: rotate(180deg);
}
.faq-item p {
  padding-bottom: var(--space-5);
  color: var(--color-text-muted);
  max-width: 68ch;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 620px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-base);
  min-height: 48px;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.field-hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.form-success {
  display: none;
  background: var(--color-success-highlight);
  border: 1px solid color-mix(in oklab, var(--color-success) 30%, transparent);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  color: var(--color-text);
  font-size: var(--text-sm);
  margin-top: var(--space-5);
}
.form-success.is-visible {
  display: block;
}
fieldset {
  border: none;
}
legend {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-5);
  color: var(--color-text);
}

/* ============================================================
   CONTACT INFO CARDS
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-12);
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.contact-list-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.contact-list-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-list-item a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
}
.contact-list-item a:hover {
  color: var(--color-primary);
}
.contact-list-item p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-16) var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--color-text);
  text-decoration: none;
}
.footer-brand svg {
  width: 30px;
  height: 30px;
  color: var(--color-primary);
}
.footer-brand span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
}
.footer-col p,
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  display: block;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col a {
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--color-primary);
}
.footer-legal {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.footer-legal p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.7;
  max-width: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-6);
}
.footer-bottom span {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  .header-inner {
    gap: var(--space-3);
  }
  .brand-name {
    font-size: var(--text-base);
  }
  .brand-name small {
    display: none;
  }
  .brand svg {
    width: 28px;
    height: 28px;
  }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    background: var(--color-bg);
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-6) var(--space-5);
    gap: var(--space-8);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }
  .main-nav.is-open {
    transform: translateX(0);
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
  }
  .nav-links a {
    padding: var(--space-4) var(--space-2);
    font-size: var(--text-base);
    border-bottom: 1px solid var(--color-divider);
  }
  .main-nav .header-actions {
    order: -1;
    justify-content: flex-end;
  }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-muted {
  color: var(--color-text-muted);
}
.mt-0 {
  margin-top: 0;
}
.center {
  text-align: center;
}
.cta-band {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.cta-band p {
  color: color-mix(in oklab, var(--color-text-inverse) 85%, transparent);
  max-width: 46ch;
}
.cta-band .btn-secondary {
  border-color: color-mix(in oklab, #fff 45%, transparent);
  color: #fff;
}
.cta-band .btn-secondary:hover {
  background: color-mix(in oklab, #fff 15%, transparent);
}

.surface-2 {
  background: var(--color-surface-2);
}
.surface-offset {
  background: var(--color-surface-offset);
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: var(--text-3xl);
  }
  .hero-trust {
    gap: var(--space-5);
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
