/* =========================================================
   ORCA — Outpatient Recovery Center & Associates, Inc.
   Premium Design System
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── Custom Properties ─────────────────────────────────── */
:root {
  --navy:        #0d1b3e;
  --navy-mid:    #162347;
  --navy-light:  #1e3163;
  --blue:        #1565c0;
  --ocean:       #0277bd;
  --teal:        #00acc1;
  --teal-dark:   #00838f;
  --teal-light:  #b2ebf2;
  --teal-pale:   #e0f7fa;

  --white:       #ffffff;
  --off-white:   #fafaf8;
  --light:       #f5f7fa;
  --border:      #e2e8f0;
  --gray-light:  #94a3b8;
  --gray:        #64748b;
  --dark-gray:   #334155;
  --dark:        #0f172a;

  --gold:        #b8860b;
  --gold-light:  #fef3c7;
  --green:       #2d6a4f;
  --green-light: #d8f3dc;
  --danger:      #dc2626;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-xs: 0 1px 2px rgba(13,27,62,.05);
  --shadow-sm: 0 2px 8px rgba(13,27,62,.08);
  --shadow:    0 4px 16px rgba(13,27,62,.10);
  --shadow-md: 0 8px 30px rgba(13,27,62,.12);
  --shadow-lg: 0 20px 50px rgba(13,27,62,.15);
  --shadow-xl: 0 32px 80px rgba(13,27,62,.18);

  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --container-max: 1280px;
  --container-pad: clamp(1.5rem, 5vw, 3rem);
  --nav-h: 80px;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark-gray);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── Typography ────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 4vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.05rem, 2vw, 1.25rem); }

p { color: var(--gray); line-height: 1.8; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.175rem);
  color: var(--dark-gray);
  line-height: 1.8;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.section-lead {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--gray);
  max-width: 640px;
  line-height: 1.85;
}

/* ─── Layout ────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section    { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw,  4rem)  0; }
.section-lg { padding: clamp(6rem,  11vw, 10rem)  0; }

.section-header { margin-bottom: clamp(3rem, 5vw, 5rem); }
.section-header.center { text-align: center; }
.section-header.center .section-lead { margin: 0 auto; }

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

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-sm  { padding: 0.6rem 1.5rem;  font-size: 0.875rem; }
.btn-lg  { padding: 1.1rem 2.5rem;  font-size: 1rem; }

.btn-primary {
  background: var(--ocean);
  color: var(--white);
  border-color: var(--ocean);
}
.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2,119,189,.35);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,27,62,.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.65);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,172,193,.35);
}

/* ─── Top Bar ───────────────────────────────────────────── */
.top-bar {
  background: var(--dark);
  padding: 0.5rem 0;
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar p, .top-bar a, .top-bar span {
  font-size: 0.775rem;
  color: rgba(255,255,255,.55);
  line-height: 1;
}

.top-bar a {
  transition: color var(--transition);
}

.top-bar a:hover { color: var(--teal-light); }

.top-bar-crisis {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-crisis a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--teal-light) !important;
}

.top-bar-divider { color: rgba(255,255,255,.2) !important; }

/* ─── Navbar ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition), top 0.3s var(--ease);
  background: transparent;
}

.has-top-bar .navbar { top: 32px; }

.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 4px 20px rgba(13,27,62,.08);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  transition: background var(--transition), padding var(--transition);
}

/* On dark/transparent navbar: wrap logo in a frosted white pill so it's visible */
.navbar:not(.scrolled) .nav-logo {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px;
}

.nav-logo img {
  height: 46px;
  width: auto;
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.845rem;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.navbar.scrolled .nav-menu > li > a { color: var(--dark-gray); }

.nav-menu > li > a:hover {
  color: var(--white);
  background: rgba(255,255,255,.14);
}

.navbar.scrolled .nav-menu > li > a:hover {
  color: var(--ocean);
  background: var(--teal-pale);
}

/* Nav CTA */
.nav-menu > li > a.nav-cta {
  background: var(--ocean);
  color: var(--white) !important;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  margin-left: 0.5rem;
}
.nav-menu > li > a.nav-cta:hover {
  background: var(--blue) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2,119,189,.4);
}

/* Dropdown caret */
.has-dropdown > a {
  display: flex !important;
  align-items: center;
  gap: 0.3rem;
}
.has-dropdown > a::after {
  content: '';
  width: 9px;
  height: 5px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.has-dropdown:hover > a::after { transform: rotate(180deg); }

/* Dropdown menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 230px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s var(--ease-out);
  border: 1px solid var(--border);
}

/* Transparent bridge so the mouse can travel from the nav link into the dropdown */
.dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.855rem;
  color: var(--dark-gray);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.dropdown li a:hover {
  background: var(--teal-pale);
  color: var(--ocean);
  padding-left: 1.25rem;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,62,.88) 0%,
    rgba(13,27,62,.68) 55%,
    rgba(2,119,189,.30) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 6rem;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1.5px;
  background: var(--teal-light);
  flex-shrink: 0;
}

.hero h1 {
  color: var(--white);
  max-width: 820px;
  margin-bottom: 1.75rem;
  font-weight: 600;
  text-shadow: 0 2px 24px rgba(0,0,0,.2);
}

.hero h1 em {
  font-style: italic;
  color: var(--teal-light);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.175rem);
  color: rgba(255,255,255,.8);
  max-width: 600px;
  margin-bottom: 2.75rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}

.hero-stat { display: flex; flex-direction: column; }

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-stat-num sup {
  font-size: 0.55em;
  vertical-align: super;
  font-weight: 600;
}

.hero-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  right: var(--container-pad);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,.4);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollPulse 1.6s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; transform: scaleY(1); }
  50%      { opacity: 0.4; transform: scaleY(0.6); }
}

/* ─── Stats Bar ─────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 4rem 0;
}

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

.stat-item {
  text-align: center;
  padding: 1.5rem 2rem;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40%;
  width: 1px;
  background: rgba(255,255,255,.1);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ─── Wave Divider ──────────────────────────────────────── */
.wave { line-height: 0; overflow: hidden; }
.wave svg { width: 100%; height: auto; display: block; }

/* ─── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  font-size: 1.6rem;
}

.card h3 { margin-bottom: 0.875rem; font-size: 1.25rem; }
.card p  { font-size: 0.9375rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ocean);
  margin-top: 1.5rem;
  transition: gap var(--transition);
}
.card-link:hover { gap: 0.625rem; }
.card-link svg { width: 15px; height: 15px; transition: transform var(--transition); }
.card-link:hover svg { transform: translateX(3px); }

/* ─── Feature Row ───────────────────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 360px;
}

.feature-visual-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  text-align: center;
}

.feature-visual-icon {
  font-size: 4rem;
  opacity: 0.6;
}

.feature-visual-label {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: rgba(255,255,255,.5);
  font-style: italic;
}

.feature-content .section-title { margin-bottom: 1.25rem; }
.feature-content p { margin-bottom: 1.5rem; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--dark-gray);
  line-height: 1.55;
}
.check-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--teal-pale);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300acc1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0.1em;
}

/* ─── Quote / Callout ───────────────────────────────────── */
.callout-section {
  background: var(--navy);
  padding: clamp(5rem, 9vw, 8rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.callout-section::before {
  content: '\201C';
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 22rem;
  color: rgba(255,255,255,.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.callout-text {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.375rem);
  color: var(--white);
  max-width: 900px;
  margin: 0 auto 1.75rem;
  line-height: 1.45;
  font-style: italic;
  position: relative;
}
.callout-cite {
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ─── Tag Grid ──────────────────────────────────────────── */
.tag-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.125rem;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--dark-gray);
  font-weight: 500;
  transition: all var(--transition);
}
.tag:hover {
  background: var(--teal-pale);
  border-color: var(--teal);
  color: var(--teal-dark);
  transform: translateY(-1px);
}

/* ─── CTA Section ───────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
  padding: clamp(5rem, 9vw, 8rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,.04) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(0,172,193,.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2     { color: var(--white); margin-bottom: 1.125rem; }
.cta-section p      { color: rgba(255,255,255,.72); max-width: 580px; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.cta-actions        { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Page Hero ─────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, var(--ocean) 100%);
  padding: calc(var(--nav-h) + 5rem) 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(0,172,193,.12) 0%, transparent 55%),
                    radial-gradient(circle at 10% 80%, rgba(255,255,255,.03) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero .container { position: relative; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--teal-light); }
.breadcrumb-sep { color: rgba(255,255,255,.25); }

.page-hero h1    { color: var(--white); margin-bottom: 1.125rem; max-width: 700px; }
.page-hero .lead { color: rgba(255,255,255,.72); max-width: 600px; }

/* ─── Form Styles ───────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}
.form-label .req { color: var(--danger); margin-left: 0.2rem; }

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--dark);
  background: var(--white);
  transition: all var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(2,119,189,.12);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--gray-light); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.75rem;
  cursor: pointer;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  background: var(--teal-pale);
  border-radius: var(--radius);
  border-left: 3px solid var(--teal);
  margin-bottom: 2rem;
}
.form-notice-icon { font-size: 1.25rem; flex-shrink: 0; line-height: 1.5; }
.form-notice p { font-size: 0.875rem; color: var(--dark-gray); margin: 0; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.form-success.show { display: block; }
.form-success-icon { font-size: 4rem; margin-bottom: 1rem; }
.form-success h3 { margin-bottom: 0.75rem; }
.form-success p { color: var(--gray); }

/* ─── Team Cards ────────────────────────────────────────── */
.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--ocean) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 600;
  color: rgba(255,255,255,.25);
  letter-spacing: -0.02em;
}

.team-info { padding: 2rem 1.75rem; }
.team-info h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.team-role {
  display: block;
  font-size: 0.775rem;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}
.team-info p { font-size: 0.875rem; line-height: 1.7; }

/* ─── Webinar Cards ─────────────────────────────────────── */
.webinar-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  transition: all var(--transition);
}
.webinar-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }

.webinar-date {
  background: var(--navy);
  padding: 2rem 1.5rem;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.webinar-month {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.25rem;
}
.webinar-day {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.webinar-info {
  padding: 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.webinar-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: var(--teal-pale);
  color: var(--teal-dark);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.webinar-badge.live { background: #fef3c7; color: var(--gold); }
.webinar-info h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.webinar-meta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.875rem;
}
.webinar-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--gray);
}

/* ─── Resource Cards ────────────────────────────────────── */
.resource-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all var(--transition);
}
.resource-card:hover {
  border-color: var(--ocean);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.resource-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}
.resource-content h4 { margin-bottom: 0.3rem; font-size: 1rem; }
.resource-content p  { font-size: 0.875rem; color: var(--gray); margin-bottom: 0.5rem; }
.resource-link       { font-size: 0.875rem; font-weight: 700; color: var(--ocean); }

/* ─── Appointment sidebar ───────────────────────────────── */
.appt-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.appt-sidebar { position: sticky; top: calc(var(--nav-h) + 2rem); }

.appt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--green-light);
  color: var(--green);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.appt-benefit {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.appt-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.appt-benefit h4 { font-size: 0.9375rem; margin-bottom: 0.25rem; }
.appt-benefit p  { font-size: 0.85rem; line-height: 1.65; }

.appt-contact-box {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-top: 2.5rem;
}
.appt-contact-box h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.appt-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}
.appt-contact-item span, .appt-contact-item a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.65);
}
.appt-contact-item a:hover { color: var(--teal-light); }

/* ─── Accordion ─────────────────────────────────────────── */
.accordion { display: flex; flex-direction: column; gap: 1rem; }
.accordion-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}
.accordion-item.open { border-color: var(--ocean); }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
  gap: 1rem;
}
.accordion-trigger:hover { background: var(--light); }
.accordion-item.open .accordion-trigger { background: var(--teal-pale); }

.accordion-label {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
}
.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 1.2rem;
  color: var(--gray);
  line-height: 1;
}
.accordion-item.open .accordion-icon {
  background: var(--ocean);
  border-color: var(--ocean);
  color: var(--white);
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.accordion-body-inner { padding: 0 2rem 2rem; }
.accordion-body-inner p { font-size: 0.9375rem; line-height: 1.85; }

/* ─── Therapy Cards ─────────────────────────────────────── */
.therapy-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.therapy-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean), var(--teal));
  opacity: 0;
  transition: opacity var(--transition);
}
.therapy-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.therapy-card:hover::before { opacity: 1; }

.therapy-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--teal-pale), var(--light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.75rem;
}
.therapy-card h3 { margin-bottom: 1rem; }
.therapy-card p  { font-size: 0.9375rem; }

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 5.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4.5rem;
}

.footer-logo { margin-bottom: 1.5rem; display: inline-block; background: rgba(255,255,255,0.9); border-radius: 8px; padding: 6px 14px; }
.footer-logo img {
  height: 46px;
  width: auto;
  display: block;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.4);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.42);
  transition: color var(--transition);
  line-height: 1.4;
}
.footer-links a:hover { color: var(--teal-light); }

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-contact-row span, .footer-contact-row a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.42);
  line-height: 1.5;
}
.footer-contact-row a:hover { color: var(--teal-light); }

.footer-crisis {
  background: rgba(0,172,193,.1);
  border: 1px solid rgba(0,172,193,.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}
.footer-crisis p {
  font-size: 0.8rem;
  color: var(--teal-light);
  margin: 0;
  line-height: 1.5;
}
.footer-crisis a { color: var(--white); font-weight: 700; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,.25); margin: 0; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,.25);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--teal-light); }

/* ─── Utility ───────────────────────────────────────────── */
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-navy   { color: var(--navy); }
.text-teal   { color: var(--teal); }
.text-ocean  { color: var(--ocean); }
.bg-light    { background: var(--light); }
.bg-off-white { background: var(--off-white); }

/* ─── Scroll Reveal ─────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal="left"]  { transform: translateX(-24px); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal="scale"] { transform: scale(0.96); }

[data-reveal].visible {
  opacity: 1;
  transform: none;
}
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-4        { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .appt-layout   { grid-template-columns: 1fr; }
  .appt-sidebar  { position: static; }
}

@media (max-width: 900px) {
  .grid-3         { grid-template-columns: repeat(2, 1fr); }
  .feature-row    { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-row.reverse { direction: ltr; }
  .feature-visual { min-height: 260px; aspect-ratio: 16/9; }
  .webinar-card   { flex-direction: column; }
  .webinar-date   { flex-direction: row; gap: 0.875rem; padding: 1.25rem 2rem; min-width: auto; }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
    --container-pad: 1.5rem;
  }

  /* ── Top bar / Navbar ─── */
  .has-top-bar .navbar { top: 0; }
  .top-bar { display: none; }

  /* ── Mobile nav drawer ─── */
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem var(--container-pad) 2.5rem;
    gap: 0.125rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 999;
  }
  .nav-menu.open { transform: none; }
  .nav-menu > li > a {
    color: var(--dark-gray) !important;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    border-radius: var(--radius);
  }
  .nav-menu > li > a.nav-cta { margin: 0.75rem 0 0; text-align: center; justify-content: center; }
  .has-dropdown .dropdown {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: none;
    border: none;
    background: var(--light);
    border-radius: var(--radius);
    padding: 0.375rem;
    margin-top: 0.25rem;
    display: none;
  }
  .has-dropdown.mobile-open .dropdown { display: block; }
  .has-dropdown > a::after { display: none; }
  .nav-toggle { display: flex; }

  /* ── Grids ─── */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* ── Hero ─── */
  .hero-content {
    padding-top: calc(var(--nav-h) + 2.75rem);
    padding-bottom: 3rem;
  }
  .hero-actions { margin-bottom: 3rem; gap: 0.75rem; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding-top: 1.75rem;
  }
  .hero-stat-num { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .hero-scroll-cue { display: none; }

  /* ── Page Hero ─── */
  .page-hero {
    padding-top: calc(var(--nav-h) + 2.5rem);
    padding-bottom: 3rem;
  }

  /* ── Section spacing ─── */
  .section    { padding: 3.5rem 0; }
  .section-sm { padding: 2rem 0; }
  .section-lg { padding: 4.5rem 0; }
  .section-header { margin-bottom: 2.25rem; }

  /* ── Stats bar ─── */
  .stats-bar { padding: 2.5rem 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 1.25rem 1rem; }
  .stat-item:not(:last-child)::after { display: none; }

  /* ── Feature row ─── */
  .feature-visual { min-height: 200px; }
  .feature-visual-icon { font-size: 2.75rem; }

  /* ── Cards ─── */
  .card { padding: 1.75rem; }
  .therapy-card { padding: 1.75rem; }

  /* ── Accordion ─── */
  .accordion-trigger { padding: 1.125rem 1.25rem; }
  .accordion-label { font-size: 1rem; }
  .accordion-body-inner { padding: 0 1.25rem 1.5rem; }

  /* ── Webinar card ─── */
  .webinar-date { padding: 1rem 1.5rem; }
  .webinar-info { padding: 1.25rem 1.5rem; }

  /* ── Footer ─── */
  .footer { padding-top: 3.5rem; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .footer-bottom-links { gap: 1rem; flex-wrap: wrap; }

  /* ── Callout decorative text ─── */
  .callout-section::before { font-size: 10rem; }
}

/* ── 640px: stack hero/CTA buttons ─── */
@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
}

/* ── 480px: smallest phones ─── */
@media (max-width: 480px) {
  :root { --container-pad: 1.125rem; }

  .hero-content {
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 2.5rem;
  }
  .hero-actions { margin-bottom: 2.25rem; }
  .hero-stats { gap: 1rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-label { font-size: 0.65rem; }

  .page-hero { padding-top: calc(var(--nav-h) + 1.75rem); padding-bottom: 2rem; }

  .section { padding: 2.75rem 0; }
  .section-sm { padding: 1.75rem 0; }
  .section-header { margin-bottom: 1.75rem; }

  .card { padding: 1.375rem; }
  .therapy-card { padding: 1.375rem; }

  .feature-visual { min-height: 160px; }
  .feature-visual-inner { padding: 1.5rem; gap: 0.625rem; }
  .feature-visual-icon { font-size: 2rem; }

  .stats-bar { padding: 2rem 0; }
  .stat-item { padding: 1rem 0.75rem; }
  .stat-num { font-size: 1.75rem; }
  .stat-label { font-size: 0.65rem; }

  .btn { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
  .btn-lg { padding: 0.9rem 1.75rem; font-size: 0.9375rem; }
  .btn-sm { padding: 0.55rem 1.25rem; font-size: 0.8125rem; }

  .accordion-trigger { padding: 1rem; gap: 0.75rem; }
  .accordion-body-inner { padding: 0 1rem 1.25rem; }

  .webinar-date { padding: 0.875rem 1.25rem; }
  .webinar-day { font-size: 1.875rem; }
  .webinar-info { padding: 1rem 1.25rem; }
  .webinar-info h3 { font-size: 1rem; }

  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { gap: 1.75rem; }
  .footer { padding-top: 3rem; }
  .footer-bottom-links { gap: 0.75rem; }
}
