/* ============================================
   Ascend Behavioral Wellness & Assessment
   Premium Navy · Sage · Gold Brand Theme
   ============================================ */

:root {
  /* Core palette */
  --navy: #0D2240;
  --navy-deep: #071E2F;
  --navy-midnight: #051018;
  --sage: #1E5B37;
  --sage-light: #7FA687;
  --gold: #D4A017;
  --amber: #E8B84B;
  --terracotta: #D68A5C;
  --cream: #F6F6F2;
  --cream-light: #FFF9EE;
  --charcoal: #333333;

  /* Semantic tokens */
  --text: var(--charcoal);
  --text-muted: #5a5a5a;
  --text-on-dark: #F6F6F2;
  --cream-text: var(--text-on-dark);

  /* Legacy aliases */
  --forest: var(--navy);
  --forest-dark: var(--navy-midnight);
  --forest-light: var(--sage);
  --terracotta-light: var(--amber);
  --terracotta-dark: #B8734A;
  --terracotta-muted: rgba(214, 138, 92, 0.12);
  --sage-muted: rgba(30, 91, 55, 0.09);
  --gold-muted: rgba(212, 160, 23, 0.12);
  --navy-muted: rgba(13, 34, 64, 0.06);

  --border: rgba(13, 34, 64, 0.14);
  --border-hairline: rgba(13, 34, 64, 0.08);
  --white: #ffffff;
  --success: var(--sage);
  --crisis-bg: #7f1d1d;
  --crisis-text: #fef2f2;

  --shadow-sm: 0 2px 10px rgba(13, 34, 64, 0.06);
  --shadow-md: 0 8px 28px rgba(13, 34, 64, 0.10);
  --shadow-lg: 0 16px 48px rgba(13, 34, 64, 0.14);
  --shadow-button: 0 4px 16px rgba(13, 34, 64, 0.16);
  --shadow-button-pressed: 0 1px 4px rgba(13, 34, 64, 0.08);
  --shadow-card: 0 8px 32px rgba(13, 34, 64, 0.07), 0 2px 10px rgba(212, 160, 23, 0.07);
  --shadow-card-hover: 0 18px 48px rgba(13, 34, 64, 0.11), 0 6px 20px rgba(212, 160, 23, 0.12);
  --shadow-image: 0 12px 40px rgba(13, 34, 64, 0.12), 0 4px 14px rgba(212, 160, 23, 0.08);
  --shadow-gold: 0 6px 24px rgba(212, 160, 23, 0.32);
  --shadow-navy-surface: 0 18px 56px rgba(5, 16, 24, 0.42), 0 6px 20px rgba(0, 0, 0, 0.14);

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --transition: 225ms ease;
  --transition-button: 200ms ease;
  --max-width: 1200px;
  --header-height: 88px;
  --section-padding: clamp(4.5rem, 8vw, 7rem);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

img:not(.logo-img):not(.footer-logo) {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-image);
  border: 1px solid var(--border-hairline);
}

a {
  color: var(--sage);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.375rem, 5.5vw, 3.625rem); }
h2 { font-size: clamp(2rem, 4vw, 2.875rem); }
h3 { font-size: clamp(1.5rem, 2.75vw, 1.875rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

p + p { margin-top: 1.25rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
}

/* ---- Crisis Banner ---- */
.crisis-banner {
  background: var(--crisis-bg);
  color: var(--crisis-text);
  text-align: center;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.crisis-banner a {
  color: var(--amber);
  font-weight: 700;
  text-decoration: underline;
}

.crisis-banner a:hover {
  color: var(--cream-text);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-button),
              box-shadow var(--transition-button),
              background var(--transition-button),
              border-color var(--transition-button),
              color var(--transition-button);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-button);
}

.btn:hover,
.btn:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-button-pressed);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-midnight);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover,
.btn-primary:active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy-midnight);
}

.btn-secondary {
  background: transparent;
  color: var(--cream-text);
  border-color: rgba(246, 246, 242, 0.85);
  box-shadow: 0 3px 12px rgba(8, 21, 39, 0.2);
}

.btn-secondary:hover,
.btn-secondary:active {
  background: var(--cream-text);
  border-color: var(--cream-text);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 2px 10px rgba(13, 34, 64, 0.08);
}

.btn-outline:hover,
.btn-outline:active {
  background: var(--navy);
  border-color: var(--gold);
  color: var(--cream-text);
  box-shadow: var(--shadow-gold);
}

.btn-navy {
  background: var(--navy);
  color: var(--cream-text);
  border-color: var(--navy);
}

.btn-navy:hover,
.btn-navy:active {
  background: var(--navy-midnight);
  border-color: var(--navy-midnight);
  color: var(--cream-text);
}

/* Dark-section button overrides — ensures contrast on hero/CTA */
.hero .btn-secondary,
.cta-band .btn-secondary,
.page-header .btn-secondary,
.section-dark .btn-secondary {
  background: transparent;
  color: var(--cream-text);
  border-color: rgba(246, 246, 242, 0.9);
}

.hero .btn-secondary:hover,
.hero .btn-secondary:active,
.cta-band .btn-secondary:hover,
.cta-band .btn-secondary:active,
.page-header .btn-secondary:hover,
.page-header .btn-secondary:active,
.section-dark .btn-secondary:hover,
.section-dark .btn-secondary:active {
  background: var(--cream-text);
  border-color: var(--cream-text);
  color: var(--navy);
}

/* Light-section secondary button */
section:not(.hero):not(.cta-band):not(.section-dark) .btn-secondary,
.content-block .btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--sage);
  box-shadow: var(--shadow-sm);
}

section:not(.hero):not(.cta-band):not(.section-dark) .btn-secondary:hover,
section:not(.hero):not(.cta-band):not(.section-dark) .btn-secondary:active,
.content-block .btn-secondary:hover,
.content-block .btn-secondary:active {
  background: var(--sage-muted);
  border-color: var(--sage);
  color: var(--navy);
}

/* ---- Header ---- */
.site-header {
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-hairline);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding-top: 0.625rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.125rem;
  min-height: var(--header-height);
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
}

.logo-img {
  width: 150px;
  max-width: 150px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

@media (max-width: 768px) {
  .logo-img {
    width: 130px;
    max-width: 130px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    width: 110px;
    max-width: 110px;
  }
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.375rem;
}

.main-nav a {
  display: block;
  padding: 0.5625rem 1rem;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
  background: var(--gold-muted);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.menu-toggle:hover {
  background: var(--sage-muted);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
  border-radius: 2px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  background: var(--cream-light);
  border-top: 1px solid var(--border-hairline);
  padding: 1.25rem 0 1.75rem;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav a {
  display: block;
  padding: 0.875rem 1.25rem;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), background var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--navy);
  background: var(--gold-muted);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 1.25rem 0;
}

.mobile-nav-actions .btn {
  width: 100%;
  text-align: center;
}

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-actions { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---- Hero ---- */
.hero {
  background-color: var(--navy-deep);
  background-image: none;
  color: var(--cream-text);
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(5rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-navy-surface);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 160, 23, 0.16);
  color: var(--amber);
  padding: 0.5rem 1.125rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(212, 160, 23, 0.35);
  box-shadow: 0 2px 14px rgba(212, 160, 23, 0.2);
}

.hero h1 {
  color: var(--cream-text);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  opacity: 0.92;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(246, 246, 242, 0.15);
}

.hero-stat strong {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.875rem;
  color: var(--gold);
  margin-bottom: 0.375rem;
}

.hero-stat span {
  font-size: 0.875rem;
  opacity: 0.85;
  line-height: 1.5;
}

/* ---- Page Header ---- */
.page-header {
  background-color: var(--navy-deep);
  background-image: none;
  color: var(--cream-text);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-navy-surface);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--cream-text);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  opacity: 0.9;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.breadcrumb {
  font-size: 0.8125rem;
  margin-bottom: 1.25rem;
  opacity: 0.75;
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: var(--gold);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--cream-text);
}

/* ---- Sections ---- */
section {
  padding: var(--section-padding) 0;
  position: relative;
  background: var(--cream);
}

section.section-light {
  background: var(--cream);
}

section.section-dark {
  background-color: var(--navy-deep);
  background-image: none;
  color: var(--cream-text);
  box-shadow: var(--shadow-navy-surface);
}

section.section-dark h2,
section.section-dark h3,
section.section-dark h4 {
  color: var(--cream-light);
}

section.section-dark .section-header p,
section.section-dark .content-block p,
section.section-dark .feature-content p {
  color: rgba(246, 246, 242, 0.92);
}

section.section-dark .card h3 {
  color: var(--navy);
}

section.section-dark .card p {
  color: var(--text-muted);
}

section.section-dark .section-header .eyebrow,
section.section-dark .eyebrow,
section.section-dark .areas-heading {
  color: var(--amber);
}

section.section-dark .feature-list li {
  color: rgba(246, 246, 242, 0.88);
}

section.section-dark .feature-list li::before {
  color: var(--sage-light);
}

section.section-dark .card-link {
  color: var(--amber);
}

section.section-dark .card-link:hover {
  color: var(--gold);
}

section.section-dark .content-block a:not(.btn) {
  color: var(--amber);
}

section.section-dark .content-block a:not(.btn):hover {
  color: var(--gold);
}

section.section-dark .eyebrow {
  color: var(--amber);
  background: rgba(212, 160, 23, 0.12);
  border: 1px solid rgba(232, 184, 75, 0.25);
  padding: 0.35rem 0.875rem;
  border-radius: 50px;
}

section:not(.hero):not(.cta-band):not(.section-dark)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1100px);
  height: 1px;
  background: var(--border-hairline);
  pointer-events: none;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
}

.section-header .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 0.35rem 0.875rem;
  background: var(--gold-muted);
  border-radius: 50px;
  border: 1px solid rgba(212, 160, 23, 0.22);
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: clamp(1.0625rem, 2vw, 1.125rem);
  margin-top: 1rem;
  line-height: 1.75;
}

/* ---- Cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.card {
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-hairline);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: rgba(212, 160, 23, 0.3);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--navy-midnight);
  font-size: 1.5rem;
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card:nth-child(3n+2) .card-icon {
  background: var(--sage);
  color: var(--cream-text);
  box-shadow: 0 4px 16px rgba(30, 91, 55, 0.28);
}

.card:nth-child(3n) .card-icon {
  background: var(--terracotta);
  color: var(--cream-text);
  box-shadow: 0 4px 16px rgba(214, 138, 92, 0.28);
}

.card h3 {
  margin-bottom: 0.875rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gold);
  transition: color var(--transition), gap var(--transition);
}

.card-link:hover {
  color: var(--amber);
  gap: 0.625rem;
}

/* ---- Feature Row ---- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.feature-row.reverse .feature-image {
  order: -1;
}

.feature-image {
  background-color: var(--navy-deep);
  background-image: none;
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-image);
  border: 1px solid rgba(13, 34, 64, 0.15);
}

.feature-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gold);
}

.feature-image-placeholder {
  text-align: center;
  color: var(--cream-text);
}

.feature-image-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.6;
  margin: 0 auto 1rem;
}

.feature-image-placeholder p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.375rem;
  opacity: 0.9;
}

.feature-content h2 {
  margin-bottom: 1.25rem;
}

.feature-content p {
  color: var(--text-muted);
  line-height: 1.75;
}

.feature-list {
  list-style: none;
  margin-top: 2rem;
}

.feature-list li {
  padding: 0.625rem 0 0.625rem 1.75rem;
  position: relative;
  color: var(--text);
  line-height: 1.6;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

@media (min-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
  }
  .feature-row.reverse .feature-image {
    order: 0;
  }
}

/* ---- CTA Band ---- */
.cta-band {
  background-color: var(--navy-deep);
  background-image: none;
  color: var(--cream-text);
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-navy-surface);
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--cream-text);
  margin-bottom: 1rem;
}

.cta-band p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: clamp(1.0625rem, 2vw, 1.125rem);
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--cream);
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--border-hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 3.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
}

.trust-item:hover {
  color: var(--navy);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}

.trust-item:nth-child(3n+2) svg {
  color: var(--sage);
}

.trust-item:nth-child(3n) svg {
  color: var(--terracotta);
}

.trust-item:hover svg {
  transform: scale(1.1);
  color: var(--amber);
}

/* ---- Testimonial ---- */
.testimonial {
  background: var(--gold-muted);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.75rem);
  border-left: 4px solid var(--terracotta);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-hairline);
  border-left: 4px solid var(--terracotta);
}

.testimonial blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  font-style: italic;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---- Service Detail ---- */
.service-detail {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-hairline);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail h3 {
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.service-detail h3 .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--navy-midnight);
  border-radius: 50%;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-gold);
}

/* ---- Forms ---- */
.form-section {
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-hairline);
  margin-bottom: 2.5rem;
}

.form-section h3 {
  margin-bottom: 0.625rem;
}

.form-section > p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-grid.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group label .required {
  color: #b91c1c;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1.125rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(30, 91, 55, 0.12);
  background: var(--cream-light);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  line-height: 1.6;
}

.form-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
}

.form-tab {
  padding: 0.75rem 1.375rem;
  border: 1px solid var(--border-hairline);
  background: var(--cream-light);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.form-tab:hover {
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.form-tab.active {
  background: var(--navy);
  border-color: var(--gold);
  color: var(--cream-text);
  box-shadow: var(--shadow-gold);
}

.form-panel {
  display: none;
}

.form-panel.active {
  display: block;
}

/* ---- Info Box ---- */
.info-box {
  background: var(--navy-muted);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border: 1px solid var(--border-hairline);
  border-left: 4px solid var(--sage);
}

.info-box.warning {
  background: rgba(127, 29, 29, 0.06);
  border-left-color: var(--crisis-bg);
}

.info-box h4 {
  margin-bottom: 0.625rem;
}

.info-box p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--border-hairline);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question .icon {
  font-size: 1.25rem;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---- Footer ---- */
.site-footer {
  background-color: var(--cream);
  color: var(--navy);
  padding: clamp(4rem, 7vw, 5.5rem) 0 2rem;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(13, 34, 64, 0.06), 0 -2px 12px rgba(212, 160, 23, 0.05);
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand .footer-logo-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  line-height: 0;
}

.footer-brand .footer-logo {
  width: 140px;
  max-width: 140px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--navy);
  opacity: 0.75;
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: var(--navy);
  font-size: 0.875rem;
  opacity: 0.85;
  transition: color var(--transition), opacity var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  opacity: 1;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
  color: var(--navy);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--navy);
  opacity: 0.85;
  transition: color var(--transition), opacity var(--transition);
}

.footer-contact-item a:hover {
  color: var(--amber);
  opacity: 1;
}

.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 0;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--navy);
  opacity: 0.72;
}

.footer-disclaimer p + p {
  margin-top: 0.75rem;
}

.footer-disclaimer a {
  color: var(--sage);
  font-weight: 600;
  transition: color var(--transition);
}

.footer-disclaimer a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-hairline);
  padding: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: center;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--navy);
}

.footer-bottom > p:first-child {
  opacity: 0.65;
  margin: 0;
}

@media (min-width: 640px) {
  .footer-bottom {
    align-items: center;
    text-align: center;
  }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.footer-legal a {
  color: var(--navy);
  opacity: 0.8;
  transition: color var(--transition), opacity var(--transition);
}

.footer-legal a:hover {
  color: var(--gold);
  opacity: 1;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content > h2 {
  margin-top: 2.25rem;
}

.legal-content > h2:first-of-type {
  margin-top: 1.5rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.04em;
}

.legal-content ul,
.legal-content ol {
  margin: 1rem 0 1rem 1.25rem;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.legal-content .effective-date {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---- Process Steps ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--gold);
  color: var(--navy-midnight);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-gold);
}

.process-step:nth-child(3n+2)::before {
  background: var(--sage);
  color: var(--cream-text);
  box-shadow: 0 4px 16px rgba(30, 91, 55, 0.28);
}

.process-step:nth-child(3n)::before {
  background: var(--terracotta);
  color: var(--cream-text);
  box-shadow: 0 4px 16px rgba(214, 138, 92, 0.28);
}

.process-step h4 {
  margin-bottom: 0.625rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- Resource List ---- */
.resource-list {
  list-style: none;
}

.resource-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-hairline);
}

.resource-list a {
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}

.resource-list a:hover {
  color: var(--gold);
}

.resource-list span {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
  line-height: 1.55;
}

/* ---- Insurance Logos Placeholder ---- */
.insurance-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.insurance-badge {
  background: var(--cream-light);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius);
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.insurance-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 160, 23, 0.35);
}

/* ---- Team / Founder ---- */
.team-feature .team-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-image);
  border: 1px solid var(--border-hairline);
  background: var(--cream-light);
}

.team-photo-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.team-credentials {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-service-area {
  margin-top: 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold);
  opacity: 0.95;
  line-height: 1.65;
}

.content-block {
  max-width: 820px;
  margin: 0 auto;
}

.content-block p {
  font-size: clamp(1.0625rem, 2vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.8;
}

.areas-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 2rem 0 1rem;
}

.section-compact {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

/* Reusable crisis notice block */
.crisis-notice {
  background: rgba(127, 29, 29, 0.06);
  border-left: 4px solid var(--crisis-bg);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.5rem 1.75rem;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border-hairline);
  border-left: 4px solid var(--crisis-bg);
}

.crisis-notice h4 {
  color: var(--crisis-bg);
  margin-bottom: 0.625rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.crisis-notice p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.crisis-notice a {
  color: var(--crisis-bg);
  font-weight: 600;
  text-decoration: underline;
  transition: color var(--transition);
}

.crisis-notice a:hover {
  color: var(--navy);
}

/* ---- Scroll Reveal ---- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 450ms ease-out, transform 450ms ease-out;
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* ---- Mobile Refinements ---- */
@media (max-width: 768px) {
  .crisis-banner {
    font-size: 0.8125rem;
    padding: 0.8125rem 1rem;
    line-height: 1.55;
  }

  .site-header {
    padding-top: 0.5625rem;
  }

  .header-inner {
    padding: 0.6875rem 0;
    gap: 0.875rem;
  }

  .page-header {
    padding: clamp(2.75rem, 6vw, 4rem) 0;
  }

  .page-header p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions,
  .cta-actions,
  .mobile-nav-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .mobile-nav-actions .btn,
  .content-block .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .btn {
    min-height: 44px;
    white-space: normal;
  }

  .form-tab {
    flex: 1 1 calc(50% - 0.3125rem);
    min-height: 44px;
    text-align: center;
    padding: 0.75rem 0.875rem;
  }

  .form-group input,
  .form-group select {
    font-size: 16px;
    min-height: 44px;
  }

  .form-group textarea {
    font-size: 16px;
  }

  .footer-disclaimer {
    font-size: 0.8125rem;
    line-height: 1.65;
  }

  .footer-contact-item span,
  .footer-contact-item a {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .footer-brand .footer-logo {
    width: 120px;
    max-width: 120px;
  }

  .legal-content {
    padding: 0 0.125rem;
  }

  .legal-content h3 {
    font-size: 0.9375rem;
    line-height: 1.45;
  }

  .breadcrumb {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .form-section {
    padding: 1.5rem;
  }

  .service-detail h3 {
    flex-wrap: wrap;
    gap: 0.625rem;
  }

  .team-feature .feature-content {
    padding-top: 0.5rem;
  }

  .card p,
  .card a {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .form-tab {
    flex: 1 1 100%;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .trust-items {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .insurance-grid {
    justify-content: flex-start;
  }

  .faq-question {
    font-size: 1rem;
    padding: 1.25rem 0;
  }
}
