/* style.css — Resolutions by Creative Note Solutions
   Custom warm green/gold palette · Lora + DM Sans · Compassionate design */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* 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.9rem  + 0.5vw,  1.125rem);
  --text-lg:   clamp(1.125rem, 0.95rem + 0.85vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1rem    + 1.5vw,  2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(2.5rem,   1rem    + 4vw,    4.5rem);

  /* Spacing (4px base) */
  --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;

  /* Fonts */
  --font-display: 'Lora', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* Radius — softer/rounder */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --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: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* ============================================
   LIGHT MODE — warm cream + soft green + gold
   ============================================ */
:root, [data-theme="light"] {
  /* Surfaces */
  --color-bg:             #fefcf8;
  --color-surface:        #faf7f1;
  --color-surface-2:      #f5f1e9;
  --color-surface-offset: #f0ece3;
  --color-surface-offset-2: #e8e3d9;
  --color-surface-dynamic: #ddd8cd;
  --color-divider:        #d4cfc4;
  --color-border:         #c9c3b7;

  /* Text */
  --color-text:           #2a2518;
  --color-text-muted:     #6b6456;
  --color-text-faint:     #a9a293;
  --color-text-inverse:   #fefcf8;

  /* Primary — soft forest green */
  --color-primary:        #3d6b4a;
  --color-primary-hover:  #2d5a3a;
  --color-primary-active: #1f4a2d;
  --color-primary-highlight: #d4e4d8;

  /* Accent — warm gold */
  --color-accent:         #b8860b;
  --color-accent-hover:   #9a7009;
  --color-accent-active:  #7c5a07;
  --color-accent-highlight: #f0e4c4;

  /* Semantic */
  --color-success:        #437a22;
  --color-success-highlight: #d4dfcc;
  --color-error:          #a13544;
  --color-error-highlight: #e8d0d3;
  --color-warning:        #964219;
  --color-warning-highlight: #ddcfc6;

  /* Shadows */
  --shadow-sm: 0 1px 3px oklch(0.25 0.02 70 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.25 0.02 70 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.25 0.02 70 / 0.12);
}

/* ============================================
   DARK MODE
   ============================================ */
[data-theme="dark"] {
  --color-bg:             #1a1814;
  --color-surface:        #201e19;
  --color-surface-2:      #26241e;
  --color-surface-offset: #2c2a23;
  --color-surface-offset-2: #333028;
  --color-surface-dynamic: #3d3a31;
  --color-divider:        #3a3730;
  --color-border:         #4a463c;

  --color-text:           #e2ddd3;
  --color-text-muted:     #918b7e;
  --color-text-faint:     #625d53;
  --color-text-inverse:   #1a1814;

  --color-primary:        #6da87a;
  --color-primary-hover:  #4f9160;
  --color-primary-active: #3d7a4d;
  --color-primary-highlight: #2a3a2e;

  --color-accent:         #d4a535;
  --color-accent-hover:   #e8b94a;
  --color-accent-active:  #f0c860;
  --color-accent-highlight: #3d3624;

  --color-success:        #6daa45;
  --color-success-highlight: #2a3a25;
  --color-error:          #dd6974;
  --color-error-highlight: #3a2528;
  --color-warning:        #bb653b;
  --color-warning-highlight: #3a2d22;

  --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.25);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #1a1814;
    --color-surface: #201e19;
    --color-surface-2: #26241e;
    --color-surface-offset: #2c2a23;
    --color-surface-offset-2: #333028;
    --color-surface-dynamic: #3d3a31;
    --color-divider: #3a3730;
    --color-border: #4a463c;
    --color-text: #e2ddd3;
    --color-text-muted: #918b7e;
    --color-text-faint: #625d53;
    --color-text-inverse: #1a1814;
    --color-primary: #6da87a;
    --color-primary-hover: #4f9160;
    --color-primary-active: #3d7a4d;
    --color-primary-highlight: #2a3a2e;
    --color-accent: #d4a535;
    --color-accent-hover: #e8b94a;
    --color-accent-active: #f0c860;
    --color-accent-highlight: #3d3624;
    --color-success: #6daa45;
    --color-success-highlight: #2a3a25;
    --color-error: #dd6974;
    --color-error-highlight: #3a2528;
    --color-warning: #bb653b;
    --color-warning-highlight: #3a2d22;
    --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.25);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
  }
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.container--narrow {
  max-width: var(--content-default);
}

.section {
  padding: clamp(var(--space-10), 6vw, var(--space-24)) var(--space-4);
}

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  z-index: 9999;
  text-decoration: none;
  transition: top var(--transition-interactive);
}
.skip-link:focus {
  top: var(--space-4);
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.06);
  padding: var(--space-3) 0;
}

.header-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.logo-group {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.logo-group img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

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

.logo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-primary);
  line-height: 1.1;
}

.logo-subtitle {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-interactive), background var(--transition-interactive);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

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

.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}

.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
  transition: background var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.btn-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-cta:active {
  background: var(--color-accent-active);
  transform: translateY(0);
}

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

@media (min-width: 768px) {
  .btn-cta--header {
    display: inline-flex;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
  border-radius: var(--radius-md);
  transition: background var(--transition-interactive);
}

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

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

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: oklch(from var(--color-bg) l c h / 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  padding: var(--space-8) var(--space-6);
  padding-top: var(--space-20);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  border-radius: var(--radius-md);
  transition: background var(--transition-interactive);
}

.mobile-nav-close:hover {
  background: var(--color-surface-offset);
}

.mobile-nav a {
  display: block;
  padding: var(--space-4) var(--space-2);
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  border-bottom: 1px solid var(--color-divider);
  transition: color var(--transition-interactive);
}

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

.mobile-nav .btn-cta {
  margin-top: var(--space-6);
  text-align: center;
  justify-content: center;
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-6);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-4);
  padding-bottom: clamp(var(--space-12), 6vw, var(--space-24));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: oklch(from var(--color-bg) l c h / 0.78);
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin-inline: auto;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-12);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-full);
  text-decoration: none;
  min-height: 52px;
  transition: background var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

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

.btn-primary:active {
  background: var(--color-accent-active);
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: transparent;
  color: var(--color-accent);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-accent);
  text-decoration: none;
  min-height: 52px;
  transition: background var(--transition-interactive), color var(--transition-interactive), transform var(--transition-interactive);
}

.btn-secondary:hover {
  background: var(--color-accent-highlight);
  transform: translateY(-1px);
}

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

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
}

.trust-badge-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  flex-shrink: 0;
}

.trust-badge-icon svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   SECTION HEADING
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-inline: auto;
}

/* ============================================
   OPTIONS CARDS
   ============================================ */
.options-section {
  background: var(--color-surface);
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: var(--content-default);
  margin-inline: auto;
}

.option-card {
  background: var(--color-bg);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}

.option-card:hover {
  box-shadow: var(--shadow-md);
  border-color: oklch(from var(--color-accent) l c h / 0.2);
}

.option-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-highlight);
  color: var(--color-accent);
  flex-shrink: 0;
}

.option-icon svg {
  width: 28px;
  height: 28px;
}

.option-icon--accent {
  background: var(--color-accent-highlight);
  color: var(--color-accent);
}

.option-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.option-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.option-card-header h3 {
  margin-bottom: 0;
}

.option-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   PROCESS TIMELINE
   ============================================ */
.process-section {
  background: var(--color-bg);
  overflow: visible;
}

.timeline {
  max-width: var(--content-default);
  margin-inline: auto;
  position: relative;
  padding: var(--space-4) 0;
  overflow: visible;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-divider);
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-1px);
  }
}

.timeline-step {
  position: relative;
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
  padding-left: calc(26px + var(--space-10));
}

@media (min-width: 768px) {
  .timeline-step {
    padding-left: 0;
    width: 50%;
  }
  .timeline-step:nth-child(odd) {
    margin-left: 0;
    padding-right: var(--space-10);
    text-align: right;
  }
  .timeline-step:nth-child(even) {
    margin-left: 50%;
    padding-left: var(--space-10);
  }
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-lg);
  z-index: 2;
  box-shadow: 0 0 0 5px var(--color-bg), 0 0 0 7px var(--color-accent-highlight);
  overflow: visible;
}

@media (min-width: 768px) {
  .timeline-marker {
    left: auto;
  }
  .timeline-step:nth-child(odd) .timeline-marker {
    right: -26px;
  }
  .timeline-step:nth-child(even) .timeline-marker {
    left: -26px;
  }
}

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

.timeline-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--color-surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
  max-width: var(--content-wide);
  margin-inline: auto;
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
}

.testimonial-quote {
  font-size: var(--text-2xl);
  color: var(--color-accent);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: var(--space-2);
  opacity: 0.6;
}

.testimonial-card blockquote {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-6);
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ============================================
   RIGHTS & RESOURCES
   ============================================ */
.rights-section {
  background: var(--color-bg);
}

.rights-content {
  max-width: var(--content-default);
  margin-inline: auto;
}

.rights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.rights-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid oklch(from var(--color-text) l c h / 0.05);
}

.rights-list li .check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-1);
}

.rights-list li .check-icon svg {
  width: 16px;
  height: 16px;
}

.rights-list li span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.hud-callout {
  background: var(--color-accent-highlight);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  border: 1px solid oklch(from var(--color-accent) l c h / 0.15);
}

@media (min-width: 768px) {
  .hud-callout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hud-callout p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.hud-callout a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-interactive);
  white-space: nowrap;
}

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

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section {
  background: var(--color-surface);
}

.faq-list {
  max-width: var(--content-default);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-bg);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-interactive);
}

.faq-item.is-open {
  border-color: oklch(from var(--color-primary) l c h / 0.2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  min-height: 56px;
  transition: color var(--transition-interactive);
}

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

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), color var(--transition-interactive);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

.faq-item.is-open .faq-answer {
  opacity: 1;
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
}

.faq-answer-inner p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   CONTACT / GET HELP
   ============================================ */
.contact-section {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, var(--color-primary-highlight) 0%, transparent 50%);
  opacity: 0.4;
  pointer-events: none;
}

.contact-content {
  position: relative;
  text-align: center;
  max-width: var(--content-narrow);
  margin-inline: auto;
}

.contact-phone {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  transition: color var(--transition-interactive);
}

.contact-phone:hover {
  color: var(--color-primary-hover);
}

.contact-email {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  text-decoration: none;
  transition: color var(--transition-interactive);
  margin-bottom: var(--space-8);
}

.contact-email:hover {
  color: var(--color-primary);
}

.contact-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding: clamp(var(--space-10), 4vw, var(--space-16)) var(--space-4);
}

.footer-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-divider);
  margin-bottom: var(--space-6);
}

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

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

.footer-brand .logo-group {
  margin-bottom: var(--space-2);
}

.footer-address {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer-address a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

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

.footer-nav h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

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

.footer-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-interactive);
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: center;
}

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

.footer-legal {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.6;
  max-width: none;
}

.footer-legal a {
  color: var(--color-text-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-interactive);
}

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

.equal-housing {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  justify-content: center;
}

@media (min-width: 768px) {
  .equal-housing {
    justify-content: flex-end;
  }
}

/* NMLS ID in footer address */
.nmls-id {
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.nmls-consumer-access-inline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-interactive);
  margin-top: var(--space-1);
}

.nmls-consumer-access-inline:hover {
  color: var(--color-primary);
}

.nmls-consumer-access-inline .nmls-logo {
  flex-shrink: 0;
}

/* NMLS Consumer Access strip at bottom of footer */
.footer-nmls {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  text-align: center;
}

.nmls-consumer-access {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.nmls-consumer-access:hover {
  color: var(--color-primary);
}

.nmls-consumer-access .nmls-logo {
  flex-shrink: 0;
}

/* ============================================
   SECTION CTA (Schedule a Call / Start Now links)
   ============================================ */
.section-cta {
  text-align: center;
  margin-top: clamp(var(--space-8), 3vw, var(--space-12));
}

.btn-schedule-call,
.btn-start-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-8);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-full);
  text-decoration: none;
  min-height: 52px;
  transition: background var(--transition-interactive), color var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.btn-schedule-call {
  background: var(--color-accent);
  color: #fff;
}

.btn-schedule-call:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-schedule-call:active {
  background: var(--color-accent-active);
  transform: translateY(0);
}

.btn-start-now {
  background: var(--color-accent);
  color: #fff;
}

.btn-start-now:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-start-now:active {
  background: var(--color-accent-active);
  transform: translateY(0);
}

/* Process section CTA (Start Resolution + Disposition) */
.process-cta {
  text-align: center;
  margin-top: clamp(var(--space-8), 3vw, var(--space-12));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.btn-disposition {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-8);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-full);
  text-decoration: none;
  min-height: 52px;
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  transition: background var(--transition-interactive), color var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.btn-disposition:hover {
  background: var(--color-accent-highlight);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.disposition-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 50ch;
  line-height: 1.6;
}

/* Contact actions row */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-2);
}

/* Debt disclosure inline (inside Get Help section) */
.debt-disclosure-inline {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.debt-disclosure-inline p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.6;
  text-align: center;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

.reveal-up {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal-up {
    clip-path: inset(100% 0 0 0);
    animation: reveal-clip linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-clip {
  to { clip-path: inset(0 0 0 0); }
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (hover: none) {
  .option-card:hover,
  .faq-question:hover {
    background: inherit;
    color: inherit;
  }
}
