/* =====================================================
   SARAH BELL LANE MORTGAGE
   Stylesheet: assets/css/styles.css
   Version: 1.1
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* =====================================================
   1. CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
  /* Color Palette */
  --color-primary-navy:   #0D253F;
  --color-deep-navy:      #081628;
  --color-warm-gold:      #CBB084;
  --color-soft-gold:      #FAF5EE; /* Sandy Cream background */
  --color-warm-white:     #FAF5EE; /* Sandy Cream background */
  --color-white:          #FFFFFF;
  --color-charcoal:       #1F2E3D;
  --color-muted-gray:     #5E6F80;
  --color-light-gray:     #E5DCD2; /* Warm sand borders/lines */
  --color-success:        #365F4B;

  /* Typography */
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", Arial, Helvetica, sans-serif;
  --font-logo:    "Great Vibes", "Playfair Display", serif;

  /* Font Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing Scale */
  --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;

  /* Layout */
  --max-width:    1200px;
  --header-height: 80px;

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

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(23, 50, 77, 0.08);
  --shadow-md: 0 4px 18px rgba(23, 50, 77, 0.11);
  --shadow-lg: 0 10px 40px rgba(23, 50, 77, 0.14);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 260ms ease;
  --transition-slow: 420ms ease;
}

/* =====================================================
   2. RESET & BASE
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

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

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

a:hover { color: var(--color-warm-gold); }

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

input, textarea, select { font-family: var(--font-body); }

/* =====================================================
   3. ACCESSIBILITY
   ===================================================== */
.skip-link {
  position: absolute;
  top: -120%;
  left: var(--space-4);
  z-index: 9999;
  background: var(--color-primary-navy);
  color: var(--color-white);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus { top: var(--space-4); }

:focus-visible {
  outline: 2px solid var(--color-warm-gold);
  outline-offset: 3px;
  border-radius: 3px;
}

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

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

/* =====================================================
   4. TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary-navy);
}

h1 { font-size: clamp(1.9rem, 5vw, var(--text-5xl)); }
h2 { font-size: clamp(1.5rem, 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(1.2rem, 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }

p {
  margin-bottom: var(--space-4);
  max-width: 70ch;
}
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-warm-gold);
  margin-bottom: var(--space-3);
  display: block;
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--color-muted-gray);
}

blockquote {
  border-left: 3px solid var(--color-warm-gold);
  padding-left: var(--space-6);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-primary-navy);
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* =====================================================
   5. LAYOUT
   ===================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section    { padding: var(--space-20) 0; }
.section-sm { padding: var(--space-12) 0; }
.section-lg { padding: var(--space-24) 0; }

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

.flex         { display: flex; gap: var(--space-4); }
.flex-center  { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }

.text-center { text-align: center; }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }

/* Backgrounds */
.bg-warm-white  { background-color: var(--color-warm-white); }
.bg-white       { background-color: var(--color-white); }
.bg-navy        { background-color: var(--color-primary-navy); }
.bg-light-gray  { background-color: var(--color-light-gray); }

/* =====================================================
   6. ANNOUNCEMENT BAR
   ===================================================== */
.announcement-bar {
  background-color: var(--color-deep-navy);
  color: var(--color-soft-gold);
  text-align: center;
  padding: var(--space-2) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.announcement-bar a {
  color: var(--color-warm-gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =====================================================
   7. HEADER & NAVIGATION
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.12);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(19, 28, 36, 0.05);
  background: rgba(255, 255, 255, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-6);
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo .logo-name {
  font-family: var(--font-logo);
  font-size: 2.3rem;
  font-weight: 400;
  color: var(--color-warm-gold);
  text-transform: none;
}

.site-logo .logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-warm-gold);
  margin-top: -0.45rem;
}

.site-logo .logo-tagline {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-muted-gray);
  letter-spacing: 0.05em;
  margin-top: 0.05rem;
  text-transform: none;
  display: block;
}

/* Desktop Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.primary-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-charcoal);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--color-primary-navy);
  background: var(--color-warm-white);
}

.primary-nav a[aria-current="page"] { font-weight: 700; }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Hamburger Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.nav-toggle:hover { background: var(--color-light-gray); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Panel */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: 1001; /* Must be higher than .site-header (1000) */
  overflow-y: auto;
  padding: var(--space-6) var(--space-6) calc(var(--space-16) + 70px);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-light-gray);
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: var(--text-2xl);
  color: var(--color-charcoal);
  transition: background var(--transition-fast);
}

.mobile-nav-close:hover { background: var(--color-light-gray); }

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-8);
}

.mobile-nav a {
  display: block;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-charcoal);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-nav a:hover {
  background: var(--color-warm-white);
  color: var(--color-primary-navy);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* =====================================================
   8. BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  padding: 0.85rem 2.0rem;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: normal;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-navy) 0%, #1d2732 100%);
  color: var(--color-white);
  border: none;
  box-shadow: 0 4px 15px rgba(19, 28, 36, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d2732 0%, var(--color-primary-navy) 100%);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(19, 28, 36, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary-navy);
  border: 2px solid var(--color-primary-navy);
}

.btn-secondary:hover {
  background: var(--color-primary-navy);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(19, 28, 36, 0.15);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-warm-gold) 0%, #d5b36e 100%);
  color: var(--color-white);
  border: none;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #d5b36e 0%, var(--color-warm-gold) 100%);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.55);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm  { padding: 0.65rem 1.5rem; font-size: var(--text-xs); min-height: 44px; }
.btn-lg  { padding: 1.1rem 2.5rem; font-size: var(--text-base); }
.btn-block { width: 100%; }

/* =====================================================
   9. HERO SECTION
   ===================================================== */
.hero {
  background-color: var(--color-warm-white);
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: calc(100vh - var(--header-height) - 40px);
  gap: var(--space-12);
  padding: var(--space-16) 0;
}

.hero-content { padding-right: var(--space-6); }

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  margin-bottom: var(--space-6);
  color: var(--color-primary-navy);
}

.hero-lead {
  font-size: var(--text-lg);
  color: var(--color-muted-gray);
  margin-bottom: var(--space-8);
  max-width: 52ch;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

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

.hero-trust-line {
  width: 32px;
  height: 2px;
  background: var(--color-warm-gold);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-portrait-wrapper {
  position: relative;
  z-index: 2;
  background: var(--color-white);
  padding: var(--space-2);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(19, 28, 36, 0.12), 0 8px 20px rgba(197, 160, 89, 0.06);
}

.hero-portrait {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 3/4;
}

.hero-bg-accent {
  position: absolute;
  top: var(--space-8);
  right: -var(--space-6);
  width: 82%;
  height: 90%;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.15) 0%, rgba(250, 240, 235, 0.7) 100%);
  border-radius: 30px;
  z-index: 1;
  border: 1px solid rgba(197, 160, 89, 0.2);
  transform: rotate(3deg);
}

.hero-badge {
  position: absolute;
  bottom: var(--space-8);
  left: -var(--space-4);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  border-left: 3px solid var(--color-warm-gold);
  min-width: 140px;
}

.hero-badge .badge-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary-navy);
  line-height: 1;
  display: block;
}

.hero-badge .badge-label {
  font-size: var(--text-xs);
  color: var(--color-muted-gray);
  font-weight: 600;
  line-height: 1.4;
  max-width: 10ch;
  margin-top: var(--space-1);
}

/* =====================================================
   10. SECTION HEADERS
   ===================================================== */
.section-header { margin-bottom: var(--space-12); }

.section-header.centered,
.section-header.text-center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-header.centered p,
.section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 { margin-bottom: var(--space-4); }

.section-header p {
  color: var(--color-muted-gray);
  font-size: var(--text-lg);
  max-width: 62ch;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--color-warm-gold);
  margin-bottom: var(--space-5);
  border-radius: 2px;
}

.section-header.centered .section-divider {
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   11. METRICS STRIP
   ===================================================== */
.metrics-strip {
  background: var(--color-primary-navy);
  padding: var(--space-12) 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-4);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.metric-item:last-child { border-right: none; }

.metric-value {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-warm-gold);
  line-height: 1;
}

.metric-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  max-width: 16ch;
  line-height: 1.4;
}

/* =====================================================
   12. CARDS
   ===================================================== */
.card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.03);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(197, 160, 89, 0.08);
  border-color: var(--color-warm-gold);
  background: rgba(255, 255, 255, 0.9);
}

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

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-soft-gold) 0%, rgba(197, 160, 89, 0.18) 100%);
  border-radius: 12px;
  margin-bottom: var(--space-5);
  font-size: 1.5rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-icon {
  transform: scale(1.12) rotate(3deg);
  background: var(--color-warm-gold);
  color: var(--color-white);
}

.text-center .card-icon {
  margin-left: auto;
  margin-right: auto;
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-primary-navy);
  margin-bottom: var(--space-3);
  transition: color 0.3s ease;
}

.card:hover .card-title {
  color: var(--color-warm-gold);
}

.card-text {
  font-size: var(--text-sm);
  color: var(--color-muted-gray);
  line-height: 1.75;
  margin-bottom: var(--space-5);
  max-width: 100%;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-warm-gold);
  transition: all 0.3s ease;
  position: relative;
}

.card-link::after {
  content: ' →';
  transition: transform 0.3s ease;
}

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

.card-footer {
  font-size: var(--text-xs);
  color: var(--color-muted-gray);
  font-style: italic;
  padding: var(--space-3) var(--space-8);
  background: var(--color-warm-white);
  border-top: 1px solid var(--color-light-gray);
}

.program-card { border-top: 3px solid var(--color-warm-gold); }

/* =====================================================
   13. PROCESS TIMELINE
   ===================================================== */
.process-section { background: var(--color-warm-white); }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(10% + 30px);
  right: calc(10% + 30px);
  height: 2px;
  background: linear-gradient(to right, var(--color-soft-gold), var(--color-warm-gold), var(--color-soft-gold));
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-soft-gold) 100%);
  border: 2px solid var(--color-warm-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-bottom: var(--space-4);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.15);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.process-step:hover .step-number {
  transform: scale(1.1);
  background: var(--color-warm-gold);
  color: var(--color-white);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.35);
  border-color: var(--color-warm-gold);
}

.step-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.step-desc {
  font-size: var(--text-xs);
  color: var(--color-muted-gray);
  line-height: 1.6;
}

.process-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-muted-gray);
  font-style: italic;
  text-align: center;
  margin-top: var(--space-8);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   14. ACCORDION / FAQ
   ===================================================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.accordion-item {
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-charcoal);
  gap: var(--space-4);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  border: none;
  background: none;
  font-family: var(--font-body);
}

.accordion-trigger:hover,
.accordion-trigger[aria-expanded="true"] {
  background: var(--color-warm-white);
  color: var(--color-primary-navy);
}

.accordion-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base);
  font-size: 1.1rem;
  color: var(--color-muted-gray);
  font-weight: 400;
  line-height: 1;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
  background: var(--color-warm-gold);
  color: var(--color-white);
}

.accordion-panel {
  display: none;
  padding: 0 var(--space-6) var(--space-5);
  border-top: 1px solid var(--color-light-gray);
}

.accordion-panel.is-open { display: block; }

.accordion-panel p {
  font-size: var(--text-sm);
  color: var(--color-muted-gray);
  line-height: 1.8;
  max-width: 75ch;
  margin-top: var(--space-4);
}

/* =====================================================
   15. ABOUT / PORTRAIT LAYOUTS
   ===================================================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.portrait-container { position: relative; }

.portrait-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 4/5;
}

.portrait-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  background: var(--color-soft-gold);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.about-quote { margin: var(--space-8) 0; }

/* =====================================================
   16. TRUST STRIP
   ===================================================== */
.trust-strip {
  background: var(--color-warm-white);
  border-top: 1px solid var(--color-light-gray);
  border-bottom: 1px solid var(--color-light-gray);
  padding: var(--space-8) 0;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}

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

.trust-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 50%;
  border: 1px solid var(--color-light-gray);
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

/* =====================================================
   17. CALLOUT BOXES
   ===================================================== */
.callout {
  padding: var(--space-8);
  border-radius: 20px;
  border-left: 4px solid var(--color-warm-gold);
  background: var(--color-warm-white);
  box-shadow: 0 10px 30px rgba(19, 28, 36, 0.02);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.callout:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(197, 160, 89, 0.06);
}

.callout-navy {
  background: var(--color-primary-navy);
  border-left-color: var(--color-warm-gold);
}

.callout-navy h3,
.callout-navy h4 { color: var(--color-white); }
.callout-navy p  { color: rgba(255,255,255,0.85); }

.callout h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.callout p  { font-size: var(--text-sm); line-height: 1.7; }

/* =====================================================
   18. DISCLOSURE BOX
   ===================================================== */
.disclosure-box {
  background: var(--color-warm-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-muted-gray);
  line-height: 1.75;
}

.disclosure-box strong { color: var(--color-charcoal); }

/* =====================================================
   19. CONTACT FORM
   ===================================================== */
.form-group { margin-bottom: var(--space-5); }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.form-label .required { color: #c0392b; margin-left: 2px; }

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 1.5px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-warm-gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.form-control::placeholder { color: var(--color-muted-gray); }
.form-control.is-error { border-color: #c0392b; }

.form-error {
  font-size: var(--text-xs);
  color: #c0392b;
  margin-top: var(--space-1);
  display: none;
}
.form-error.is-visible { display: block; }

textarea.form-control { resize: vertical; min-height: 120px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-muted-gray);
  line-height: 1.6;
}

.form-check input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-primary-navy);
  cursor: pointer;
}

.form-warning {
  background: #fffbf0;
  border: 1px solid var(--color-soft-gold);
  border-left: 4px solid var(--color-warm-gold);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  color: #7a5c1e;
  margin-bottom: var(--space-6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-success {
  background: #eaf5ee;
  border: 1px solid #c3e6cb;
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  text-align: center;
  display: none;
}
.form-success.is-visible { display: block; }
.form-success h3 { color: var(--color-success); margin-bottom: var(--space-3); }
.form-success p  { color: var(--color-muted-gray); max-width: 100%; }

/* =====================================================
   20. CTA BAND
   ===================================================== */
.cta-band {
  background: var(--color-primary-navy);
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(199,154,69,0.07);
  pointer-events: none;
}

.cta-band h2 { color: var(--color-white); margin-bottom: var(--space-4); }

.cta-band p {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-lg);
  margin: 0 auto var(--space-8);
  max-width: 58ch;
}

.cta-band-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   21. BREADCRUMBS
   ===================================================== */
.breadcrumb {
  padding: var(--space-4) 0;
  font-size: var(--text-sm);
  color: var(--color-muted-gray);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-muted-gray);
  transition: color var(--transition-fast);
}
.breadcrumb a:hover { color: var(--color-primary-navy); }

.breadcrumb li + li::before {
  content: '/';
  margin-right: var(--space-2);
  color: var(--color-light-gray);
}

.breadcrumb [aria-current="page"] {
  color: var(--color-charcoal);
  font-weight: 600;
}

/* =====================================================
   22. PAGE HEADER (Inner Pages)
   ===================================================== */
.page-header {
  background: var(--color-warm-white);
  padding: var(--space-16) 0 var(--space-12);
  border-bottom: 1px solid var(--color-light-gray);
}

.page-header h1 { margin-bottom: var(--space-4); }

.page-header p {
  font-size: var(--text-lg);
  color: var(--color-muted-gray);
  max-width: 62ch;
}

/* =====================================================
   23. FOOTER
   ===================================================== */
.site-footer {
  background: var(--color-charcoal);
  color: rgba(255,255,255,0.8);
  padding: var(--space-16) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand .logo-name {
  font-family: var(--font-logo);
  font-size: 2.3rem;
  font-weight: 400;
  color: var(--color-warm-gold);
  display: block;
  margin-bottom: var(--space-1);
  text-transform: none;
}

.footer-brand .logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  display: block;
  margin-top: -0.45rem;
}

.footer-brand .logo-tagline {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
  margin-top: 0.05rem;
  margin-bottom: var(--space-5);
  text-transform: none;
  display: block;
}

.footer-brand > p {
  font-size: var(--text-sm);
  line-height: 1.75;
  max-width: 36ch;
  margin-bottom: var(--space-5);
  color: rgba(255,255,255,0.7);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
  color: rgba(255,255,255,0.7);
}

.footer-contact-item a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition-fast);
}
.footer-contact-item a:hover { color: var(--color-warm-gold); }

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-warm-gold);
  margin-bottom: var(--space-5);
}

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

.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
  padding: 0.35rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-nav a:hover { color: var(--color-white); }

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--color-warm-gold);
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-6) 0;
}

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

.footer-nmls {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.footer-nmls strong { color: rgba(255,255,255,0.75); }

.footer-disclosure {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
}

.footer-eho {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-2);
}

.eho-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.footer-legal-links a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}
.footer-legal-links a:hover { color: var(--color-white); }

/* =====================================================
   24. BACK TO TOP
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  background: var(--color-primary-navy);
  color: var(--color-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition-base), transform var(--transition-base), background var(--transition-fast);
  z-index: 100;
  cursor: pointer;
  border: none;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover { background: var(--color-deep-navy); }

/* =====================================================
   25. MOBILE STICKY BAR
   ===================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-white);
  box-shadow: 0 -4px 24px rgba(23, 50, 77, 0.14);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--color-light-gray);
}

.mobile-sticky-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   27. EXTERNAL LINK MODAL
   ===================================================== */
.external-notice {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(16,36,56,0.55);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  backdrop-filter: blur(2px);
}
.external-notice.is-open { display: flex; }

.external-notice-box {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.external-notice-box h3 { margin-bottom: var(--space-4); }

.external-notice-box p {
  color: var(--color-muted-gray);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
  max-width: 100%;
}

.external-notice-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}

/* =====================================================
   28. CHECKLIST
   ===================================================== */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  line-height: 1.65;
}

.checklist-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-soft-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--color-primary-navy);
  font-weight: 700;
  margin-top: 2px;
}

/* =====================================================
   29. GLOSSARY
   ===================================================== */
.glossary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.glossary-item {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  border-left: 3px solid var(--color-soft-gold);
}

.glossary-term {
  font-weight: 700;
  color: var(--color-primary-navy);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
}

.glossary-def {
  font-size: var(--text-sm);
  color: var(--color-muted-gray);
  line-height: 1.7;
}

/* =====================================================
   30. PROGRAM DETAIL SECTIONS
   ===================================================== */
.program-detail {
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-light-gray);
}

.program-detail:last-of-type { border-bottom: none; }

.program-detail h2 { margin-bottom: var(--space-4); }
.program-detail p  { color: var(--color-muted-gray); }

.program-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.program-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-charcoal);
}

.program-feature::before {
  content: '▸';
  color: var(--color-warm-gold);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.program-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-muted-gray);
  font-style: italic;
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  background: var(--color-warm-white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-soft-gold);
  line-height: 1.7;
}

/* =====================================================
   31. LEGAL / PRIVACY PAGES
   ===================================================== */
.legal-page-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-section {
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--color-light-gray);
}

.legal-section:last-child { border-bottom: none; }
.legal-section h2 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.legal-section h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); margin-top: var(--space-6); }
.legal-section p  { max-width: 100%; color: var(--color-charcoal); }

.legal-notice {
  background: #fffbf0;
  border: 1px solid var(--color-soft-gold);
  border-left: 4px solid var(--color-warm-gold);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm);
  color: #7a5c1e;
  margin-bottom: var(--space-8);
}

.compliance-placeholder {
  background: var(--color-light-gray);
  border: 2px dashed var(--color-muted-gray);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-muted-gray);
  font-style: italic;
  margin: var(--space-4) 0;
  line-height: 1.6;
}

/* =====================================================
   32. 404 PAGE
   ===================================================== */
.error-page {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-16) var(--space-6);
  background: var(--color-warm-white);
}

.error-inner { max-width: 520px; }

.error-code {
  font-family: var(--font-heading);
  font-size: 9rem;
  color: var(--color-soft-gold);
  line-height: 1;
  margin-bottom: var(--space-4);
  display: block;
  font-weight: 700;
}

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

.error-text {
  color: var(--color-muted-gray);
  max-width: 48ch;
  margin: 0 auto var(--space-8);
}

.error-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   33. CONTACT PAGE
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info-card {
  background: var(--color-warm-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  border: 1px solid var(--color-light-gray);
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-light-gray);
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-info-item > span[aria-hidden="true"] {
  flex-shrink: 0;
}

.contact-info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid var(--color-light-gray);
  box-shadow: var(--shadow-sm);
}

.contact-info-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-warm-gold);
  margin-bottom: var(--space-1);
  display: block;
}

.contact-info-value {
  font-size: var(--text-base);
  color: var(--color-charcoal);
  font-weight: 500;
}

.contact-info-value a {
  color: var(--color-primary-navy);
  font-weight: 700;
}

.contact-form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  border: 1px solid var(--color-light-gray);
  box-shadow: var(--shadow-sm);
}

/* =====================================================
   PAGE TRANSITION OVERLAY
   ===================================================== */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-warm-white);
  z-index: 99999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: opacity;
}

.page-transition-overlay.fade-out {
  opacity: 0;
}

.page-transition-overlay.fade-in {
  opacity: 1;
  pointer-events: all;
}

/* =====================================================
   34. RESPONSIVE — TABLET (max 1024px)
   ===================================================== */
@media (max-width: 1024px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }

  .metric-item { border-right: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12); }
  .metric-item:nth-child(2) { border-right: none; }
  .metric-item:nth-child(3),
  .metric-item:nth-child(4) { border-bottom: none; }

  .process-timeline { grid-template-columns: repeat(3, 1fr); }
  .process-timeline::before { display: none; }

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

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: var(--space-10);
  }

  .hero-media { justify-content: center; order: -1; }
  .hero-portrait { max-width: 360px; }
  .hero-content { padding-right: 0; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-trust  { justify-content: center; }
  .hero-badge  { left: 0; }

  .about-split { grid-template-columns: 1fr; gap: var(--space-10); }

  .contact-grid     { grid-template-columns: 1fr; }
  .glossary-grid    { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }

  /* Prevent tablet overflow from absolute-positioned elements */
  .boutique-service-box {
    position: relative;
    bottom: auto;
    right: auto;
    margin: var(--space-6) auto 0;
    box-shadow: 0 10px 25px rgba(13, 37, 63, 0.05);
  }
  .hero-bg-accent { display: none; }
}

/* =====================================================
   COASTAL BEACH THEME ADDITIONS
   ===================================================== */
.script-text {
  font-family: var(--font-logo);
  font-size: 1.7em;
  font-weight: 400;
  color: var(--color-warm-gold);
  text-transform: none;
  font-style: normal;
  display: inline-block;
  line-height: 0.8;
  vertical-align: baseline;
}

.boutique-service-box {
  position: absolute;
  bottom: var(--space-4);
  right: -3rem;
  background: var(--color-white);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(13, 37, 63, 0.08);
  border: 1px solid var(--color-light-gray);
  width: 260px;
  z-index: 10;
  text-align: left;
}

.boutique-service-box h3 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  color: var(--color-primary-navy);
  margin-bottom: var(--space-4);
  font-style: italic;
  border-bottom: 1px solid var(--color-light-gray);
  padding-bottom: var(--space-2);
  text-transform: none;
  font-weight: 700;
  letter-spacing: 0;
}

.boutique-service-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.boutique-service-box li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.boutique-service-box li:last-child {
  margin-bottom: 0;
}

.boutique-service-box .emoji {
  color: var(--color-warm-gold);
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.boutique-service-box .box-decor {
  position: absolute;
  bottom: -0.75rem;
  right: 1.5rem;
  font-size: 2.2rem;
  color: var(--color-warm-gold);
  opacity: 0.18;
  transform: rotate(15deg);
}

.testimonial-card-beach {
  background: var(--color-white);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(13, 37, 63, 0.04);
  border: 1px solid var(--color-light-gray);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.testimonial-card-beach .stars {
  color: var(--color-warm-gold);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.testimonial-card-beach blockquote {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: var(--space-4);
  font-style: italic;
  border-left: none;
  padding-left: 0;
}

.testimonial-card-beach .author {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-primary-navy);
}

.testimonial-card-beach .shell-bg {
  position: absolute;
  bottom: -1rem;
  right: -0.5rem;
  font-size: 4.5rem;
  color: var(--color-warm-gold);
  opacity: 0.12;
  transform: rotate(-15deg);
  pointer-events: none;
}

.grid-2-custom {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-12);
  align-items: start;
}

.beach-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.timeline-step-beach {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--color-white);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-light-gray);
  box-shadow: 0 4px 12px rgba(13, 37, 63, 0.02);
}

.timeline-step-beach .step-num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-warm-gold);
  border-bottom: 2px solid var(--color-warm-gold);
  padding-bottom: 2px;
  line-height: 1;
}

.timeline-step-beach .step-icon {
  font-size: var(--text-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.timeline-step-beach .step-info {
  text-align: left;
}

.timeline-step-beach .step-info h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary-navy);
  margin-bottom: var(--space-1);
  text-transform: none;
  letter-spacing: 0;
}

.timeline-step-beach .step-info p {
  font-size: var(--text-xs);
  color: var(--color-muted-gray);
  margin-bottom: 0;
  line-height: 1.5;
}

.grid-2-solutions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.solution-card-beach {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  padding: var(--space-6) var(--space-3);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(13, 37, 63, 0.02);
  text-decoration: none;
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.solution-card-beach:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(13, 37, 63, 0.06);
  border-color: var(--color-warm-gold);
}

.solution-card-beach .card-icon-beach {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.solution-card-beach h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

/* Book Cover Mockup */
.guide-book-mock {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  padding: var(--space-4) 0;
}

.book-container {
  position: relative;
  width: 220px;
  height: 290px;
  transform-style: preserve-3d;
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

/* Hovering over the card wrapper tilts the whole book block to show 3D pages */
.guide-card:hover .book-container {
  transform: rotateY(-5deg) rotateX(5deg);
}

.book-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary-navy);
  border-radius: 3px 12px 12px 3px;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  box-shadow: inset 4px 0 10px rgba(255,255,255,0.08);
  border-left: 6px solid var(--color-deep-navy);
  transform-origin: left center !important; /* Hinge at the left edge */
  transform: rotateY(0deg);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.8s ease;
  z-index: 3; /* Lower than pages when open, so it doesn't overlap them */
  backface-visibility: visible;
}

/* When the card is hovered, the cover opens wide like a door */
.guide-card:hover .book-cover {
  transform: rotateY(-130deg);
  box-shadow: -15px 15px 30px rgba(13, 37, 63, 0.2);
}

.book-pages {
  position: absolute;
  top: 4px;
  left: 5px;
  width: 208px;
  height: 282px;
  background: #fbf9f6;
  border-radius: 0 8px 8px 0;
  box-shadow: inset 0 0 12px rgba(13, 37, 63, 0.05), 5px 10px 20px rgba(0,0,0,0.08);
  transform: translateZ(-5px) !important;
  z-index: 4; /* Higher than cover so it renders on top */
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
  overflow: hidden;
  border: 1px solid #e2ded8;
  /* Simulating stacked pages effect on right edge */
  background: linear-gradient(to right, #fbf9f6 0%, #fbf9f6 95%, #e2ded8 100%);
}

.guide-card:hover .book-pages {
  transform: translateZ(-5px) !important;
  opacity: 1;
}

.page-content {
  padding: var(--space-4);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  transition-delay: 0.1s;
}

.guide-card:hover .page-content {
  opacity: 1;
  transition-delay: 0.3s;
}

.book-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-deep-navy);
  border-radius: 3px 12px 12px 3px;
  transform: translateZ(-25px) !important; /* Pushed far back to prevent clipping the pages */
  z-index: 1;
  box-shadow: 15px 20px 35px rgba(13, 37, 63, 0.18);
}


.book-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  transition: opacity 0.3s ease;
}

.book-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-warm-gold);
  margin-top: var(--space-2);
  line-height: 1.4;
  transition: opacity 0.3s ease;
}

.book-emblem {
  font-size: 2.5rem;
  color: var(--color-warm-gold);
  transition: opacity 0.3s ease;
}

/* Hide front cover contents when book cover opens to prevent mirrored text */
.guide-card:hover .book-title,
.guide-card:hover .book-subtitle,
.guide-card:hover .book-emblem {
  opacity: 0;
  transition-delay: 0s;
}

.metro-cities {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--color-primary-navy);
  letter-spacing: 0.05em;
  line-height: 2;
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
  border-top: 1px solid var(--color-light-gray);
  border-bottom: 1px solid var(--color-light-gray);
  padding: var(--space-3) 0;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   35. RESPONSIVE — MOBILE (max 768px)
   ===================================================== */
@media (max-width: 768px) {
  :root { --header-height: 70px; }

  .primary-nav       { display: none; }
  .header-actions    { display: none !important; }
  .btn-call-header   { display: none !important; }
  .nav-toggle        { display: flex; }
  .mobile-nav        { display: block; }
  .mobile-sticky-bar { display: block; }
  .back-to-top       { bottom: calc(var(--space-6) + 70px); }
  body { padding-bottom: 70px; }

  .hero-inner { padding: var(--space-10) 0; }
  .hero-portrait { max-width: 280px; }
  .hero-bg-accent { display: none; }

  .boutique-service-box {
    position: relative;
    bottom: auto;
    right: auto;
    margin: var(--space-6) auto 0;
    box-shadow: 0 10px 25px rgba(13, 37, 63, 0.05);
  }

  .grid-2-solutions {
    grid-template-columns: 1fr;
  }

  .book-container {
    transform: none !important;
  }

  .grid-2, .grid-3, .grid-4, .grid-2-custom { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr; }

  .process-timeline {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .footer-legal-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-items { gap: var(--space-6); justify-content: flex-start; }

  .cta-band-actions  { flex-direction: column; align-items: center; }
  .external-notice-actions { flex-direction: column; }

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

  .callout { padding: var(--space-6); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .metric-item:last-child { border-bottom: none; }
  .announcement-bar { font-size: var(--text-xs); }
  .error-code { font-size: 6rem; }

  /* Scale down logo and script text for small phones */
  .site-logo .logo-name { font-size: 1.8rem; }
  .script-text { font-size: 1.35em; }
  .hero-title { font-size: var(--text-xl); }
  .page-title { font-size: var(--text-2xl); }
  .section-heading { font-size: var(--text-xl); }
}

/* =====================================================
   COASTAL SVG ICONS & ANIMATIONS
   ===================================================== */
.coastal-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-block;
  vertical-align: middle;
  transition: transform 300ms ease, filter 300ms ease;
  filter: brightness(1);
}

/* Hover Micro-animations */
.coastal-icon:hover,
a:hover .coastal-icon,
.card:hover .coastal-icon,
.solution-card-beach:hover .coastal-icon,
.timeline-step-beach:hover .coastal-icon {
  transform: translateY(-6px) scale(1.05);
  filter: brightness(1.15);
}

/* Light / dark fills */
.coastal-icon path,
.coastal-icon rect,
.coastal-icon circle,
.coastal-icon line,
.coastal-icon polyline,
.coastal-icon polygon {
  transition: stroke 300ms ease, fill 300ms ease;
}

/* Colors based on wrapper background */
.cta-band .coastal-icon path,
.cta-band .coastal-icon rect,
.cta-band .coastal-icon circle,
.cta-band .coastal-icon line,
.cta-band .coastal-icon polyline,
.cta-band .coastal-icon polygon,
.bg-navy .coastal-icon path,
.bg-navy .coastal-icon rect,
.bg-navy .coastal-icon circle,
.bg-navy .coastal-icon line,
.bg-navy .coastal-icon polyline,
.bg-navy .coastal-icon polygon {
  stroke: var(--color-white) !important;
}

/* Accent Gold exceptions */
.coastal-icon .accent-gold,
.coastal-icon .needle,
.coastal-icon .beam,
.coastal-icon .beam-right,
.coastal-icon .sparkle,
.coastal-icon .waves,
.coastal-icon .shield-accent,
.coastal-icon .shimmer-win {
  stroke: var(--color-warm-gold) !important;
}

/* 1. Sailboat Rocking & Floating */
@keyframes sailboat-rock-float {
  0% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-1.5px) rotate(-1deg); }
  50% { transform: translateY(0.5px) rotate(1deg); }
  75% { transform: translateY(-0.5px) rotate(-0.5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
.icon-sailboat {
  animation: sailboat-rock-float 4.5s ease-in-out infinite;
}

/* 2. Skyline Window Shimmer */
@keyframes window-shimmer-anim {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}
.icon-skyline .shimmer-win {
  animation: window-shimmer-anim 3.5s ease-in-out infinite;
}
.icon-skyline .shimmer-win:nth-child(even) {
  animation-delay: 1.5s;
}

/* 3. Compass Needle Rotation */
@keyframes compass-needle-anim {
  0%, 100% { transform: rotate(0deg); transform-origin: 12px 12px; }
  33% { transform: rotate(8deg); transform-origin: 12px 12px; }
  66% { transform: rotate(-8deg); transform-origin: 12px 12px; }
}
.icon-compass .needle,
.icon-compass .needle-back {
  animation: compass-needle-anim 5s ease-in-out infinite;
}

/* 4. Shield Sweep */
@keyframes shield-sweep-anim {
  0%, 100% { stroke-dashoffset: 0; }
  50% { stroke-dashoffset: 8; }
}
.icon-shield .shield-accent {
  stroke-dasharray: 10;
  animation: shield-sweep-anim 4s ease-in-out infinite;
}

/* 5. Seashell Floating */
@keyframes seashell-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.icon-seashell {
  animation: seashell-float 4s ease-in-out infinite;
}

/* 6. Lighthouse Beam Shimmer */
@keyframes lighthouse-beam-anim {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.75; }
}
.icon-lighthouse .beam {
  animation: lighthouse-beam-anim 5s ease-in-out infinite;
}
.icon-lighthouse .beam-right {
  animation: lighthouse-beam-anim 5s ease-in-out infinite;
  animation-delay: 2.5s;
}

/* 7. Clipboard Page Flip */
@keyframes clipboard-page-anim {
  0%, 100% { transform: skewY(0deg); transform-origin: bottom right; }
  50% { transform: skewY(-2deg); transform-origin: bottom right; }
}
.icon-clipboard .clip-page {
  animation: clipboard-page-anim 4s ease-in-out infinite;
}

/* 8. Key Shimmer */
@keyframes key-shimmer-anim {
  0%, 100% { stroke-width: 1.5px; opacity: 1; }
  50% { stroke-width: 2.2px; opacity: 0.8; }
}
.icon-key .accent-gold {
  animation: key-shimmer-anim 3s ease-in-out infinite;
}

/* 9. Laurel Sparkles */
@keyframes sparkle-fade {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}
.icon-laurel .sparkle {
  animation: sparkle-fade 3.5s ease-in-out infinite;
  transform-origin: center;
}

/* 10. Book Page Movement */
@keyframes book-page-anim {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.95); transform-origin: center; }
}
.icon-book {
  animation: book-page-anim 5s ease-in-out infinite;
}

/* 11. Phone Floating */
@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-2px) rotate(2deg); }
}
.icon-phone {
  animation: phone-float 4s ease-in-out infinite;
}

/* Support Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .coastal-icon,
  .icon-sailboat,
  .icon-skyline .shimmer-win,
  .icon-compass .needle,
  .icon-compass .needle-back,
  .icon-shield .shield-accent,
  .icon-seashell,
  .icon-lighthouse .beam,
  .icon-lighthouse .beam-right,
  .icon-clipboard .clip-page,
  .icon-key .accent-gold,
  .icon-laurel .sparkle,
  .icon-book,
  .icon-phone {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
/* Explicit size overrides to prevent browser flexbox/stretch sizing bugs */
.coastal-icon {
  width: 2.25rem !important;
  height: 2.25rem !important;
  flex-shrink: 0;
}
.boutique-service-box li .coastal-icon {
  width: 1.15rem !important;
  height: 1.15rem !important;
}
.boutique-service-box .box-decor .coastal-icon {
  width: 3.5rem !important;
  height: 3.5rem !important;
}
.checklist-icon .coastal-icon {
  width: 1.2rem !important;
  height: 1.2rem !important;
}
.footer-contact-item .coastal-icon {
  width: 1.35rem !important;
  height: 1.35rem !important;
  margin-right: 0.5rem;
}
.btn .coastal-icon {
  width: 1.2rem !important;
  height: 1.2rem !important;
  margin-right: 0.35rem;
  vertical-align: text-bottom;
}
.mobile-sticky-bar .coastal-icon {
  width: 1.2rem !important;
  height: 1.2rem !important;
  margin-right: 0.35rem;
  vertical-align: text-bottom;
}