/*
Theme Name: Anavah Institute
Theme URI: https://anavah-institute.org
Author: Anavah Institute
Author URI: https://anavah-institute.org
Description: Custom WordPress theme for Anavah Institute — integrative healthcare platform bridging mental health and physical medicine. Includes VAPI voice agent (Mia), Go High Level CRM integration, and AI Protocol Generator support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anavah
Tags: custom-menu, custom-logo, one-column, two-columns, accessibility-ready, healthcare
*/

/* ============================================================
   ANAVAH INSTITUTE — Design System
   Palette: Navy / Gold / Sage
   Typography: Cormorant Garamond + DM Sans (loaded via Google Fonts)
============================================================ */

:root {
  --bg: #FAFAF7;
  --bg-warm: #F4F0E8;
  --bg-alt: #ECE7DC;
  --ink: #0F1E3A;
  --ink-soft: #2A3A5C;
  --ink-muted: #5A6680;
  --gold: #B8924A;
  --gold-light: #D4B581;
  --gold-warm: #E8D5A8;
  --sage: #8A9A7B;
  --sage-light: #C5CFB8;
  --rule: rgba(15, 30, 58, 0.10);
  --rule-strong: rgba(15, 30, 58, 0.25);
  --shadow: 0 1px 2px rgba(15, 30, 58, 0.04), 0 8px 32px rgba(15, 30, 58, 0.06);
}

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

/* === WordPress Defaults === */
.wp-caption, .gallery-caption { max-width: 100%; }
.alignleft { float: left; margin: 0 1.5em 1.5em 0; }
.alignright { float: right; margin: 0 0 1.5em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1.5em; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }

/* === Typography === */
.serif { font-family: 'Cormorant Garamond', serif; font-weight: 400; letter-spacing: -0.01em; }
.display { font-family: 'Cormorant Garamond', serif; font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; }
.label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}

/* === Layout === */
.container { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
section { position: relative; }
.section-pad { padding: 120px 0; }

/* === Navigation === */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-nav.scrolled { border-bottom-color: var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.site-logo {
  display: flex; align-items: baseline; gap: 10px;
  font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 500;
  color: var(--ink); text-decoration: none;
}
.logo-mark { width: 28px; height: 28px; position: relative; align-self: center; }
.logo-mark::before, .logo-mark::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 50%;
  transform: translate(-50%, -50%);
}
.logo-mark::after { border-color: var(--gold); transform: translate(-30%, -50%); mix-blend-mode: multiply; }
.site-logo .tag {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-muted); font-family: 'DM Sans', sans-serif; font-weight: 500;
  border-left: 1px solid var(--rule-strong); padding-left: 10px;
}

/* WP nav menu styling */
.nav-menu { display: flex; align-items: center; gap: 38px; list-style: none; }
.nav-menu li { list-style: none; }
.nav-menu a {
  color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 400; transition: color 0.2s;
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a { color: var(--gold); font-weight: 500; }

/* Mobile toggle */
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: all 0.3s; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; background: var(--ink); color: var(--bg); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em; border-radius: 2px;
  border: 1px solid var(--ink); transition: all 0.25s ease; cursor: pointer;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn .arrow { transition: transform 0.25s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: white; }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-sm { padding: 6px 12px; font-size: 12px; }

/* === Page Header === */
.page-hero { padding: 160px 0 80px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; top: 0; right: -10%; width: 70%; height: 100%;
  background: radial-gradient(ellipse at top right, var(--bg-warm) 0%, transparent 60%); pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 800px; }
.page-hero .hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.page-hero .hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(48px, 6vw, 80px); line-height: 1.02; margin-bottom: 24px;
}
.page-hero h1 em { color: var(--gold); font-style: italic; font-weight: 300; }
.page-hero .sub { font-size: 18px; line-height: 1.7; color: var(--ink-soft); max-width: 600px; }

/* === Hero (front page) === */
.hero { padding: 180px 0 120px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: 0; right: -10%; width: 70%; height: 100%;
  background: radial-gradient(ellipse at top right, var(--bg-warm) 0%, transparent 60%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 36px; opacity: 0; animation: fadeUp 0.9s 0.1s ease forwards; }
.hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
h1.hero-title {
  font-size: clamp(56px, 7.2vw, 108px); line-height: 0.98; margin-bottom: 32px;
  opacity: 0; animation: fadeUp 0.9s 0.2s ease forwards;
}
h1.hero-title em { color: var(--gold); font-style: italic; font-weight: 300; }
.hero-sub { font-size: 18px; line-height: 1.65; color: var(--ink-soft); max-width: 480px; margin-bottom: 40px; opacity: 0; animation: fadeUp 0.9s 0.35s ease forwards; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.9s 0.5s ease forwards; }
.hero-right { position: relative; padding-bottom: 20px; opacity: 0; animation: fadeUp 0.9s 0.65s ease forwards; }

.tagline-card { background: white; border: 1px solid var(--rule); padding: 40px 36px; position: relative; box-shadow: var(--shadow); }
.tagline-card::before { content: ''; position: absolute; top: -1px; left: -1px; width: 60px; height: 60px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.tagline-card::after { content: ''; position: absolute; bottom: -1px; right: -1px; width: 60px; height: 60px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.tagline-card .label { margin-bottom: 16px; }
.tagline-card .tagline-quote { font-family: 'Cormorant Garamond', serif; font-size: 30px; line-height: 1.25; font-style: italic; font-weight: 400; margin-bottom: 24px; }
.tagline-card .credit { font-size: 12px; color: var(--ink-muted); letter-spacing: 0.08em; text-transform: uppercase; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* === Section Headers === */
.section-header { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; margin-bottom: 80px; align-items: end; }
.section-header .meta { display: flex; flex-direction: column; gap: 12px; }
.section-header h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(40px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.015em;
}
.section-header h2 em { color: var(--gold); font-style: italic; font-weight: 300; }

/* === Problem === */
.problem { background: var(--bg-warm); }
.problem-content { max-width: 880px; margin: 0 auto; text-align: center; }
.problem .big-quote { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 48px); line-height: 1.25; font-weight: 300; margin: 40px 0; }
.problem .big-quote em { color: var(--gold); font-style: italic; }

/* === Stats === */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 80px; padding-top: 60px; border-top: 1px solid var(--rule); }
.stat .num { font-family: 'Cormorant Garamond', serif; font-size: 64px; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.stat .desc { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* === Three Pathways === */
.pathways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.pathway {
  background: var(--bg); padding: 56px 44px; transition: background 0.4s ease;
  cursor: pointer; text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.pathway:hover { background: white; }
.pathway-num { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: 22px; color: var(--gold); margin-bottom: 28px; }
.pathway-icon { width: 48px; height: 48px; margin-bottom: 32px; stroke: var(--ink); stroke-width: 1; fill: none; transition: stroke 0.3s; }
.pathway:hover .pathway-icon { stroke: var(--gold); }
.pathway h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 32px; line-height: 1.15; margin-bottom: 18px; }
.pathway p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; margin-bottom: 28px; flex: 1; }
.pathway-features { list-style: none; margin-bottom: 32px; }
.pathway-features li {
  font-size: 13.5px; color: var(--ink-soft); padding: 8px 0 8px 20px;
  position: relative; border-bottom: 1px solid var(--rule);
}
.pathway-features li:last-child { border-bottom: none; }
.pathway-features li::before { content: ''; position: absolute; left: 0; top: 16px; width: 8px; height: 1px; background: var(--gold); }
.pathway-link {
  color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px;
  border-bottom: 1px solid var(--ink); width: fit-content; transition: all 0.25s ease;
}
.pathway:hover .pathway-link { color: var(--gold); border-bottom-color: var(--gold); gap: 14px; }

/* === Services Grid === */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--rule); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.service {
  background: var(--bg); padding: 44px 40px;
  display: grid; grid-template-columns: 60px 1fr; gap: 28px; align-items: start;
  transition: background 0.3s ease;
}
.service:hover { background: white; }
.service-num { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 28px; color: var(--gold); font-weight: 300; }
.service h4 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 400; margin-bottom: 12px; }
.service p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; }
.tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px;
  background: rgba(184, 146, 74, 0.08); color: var(--gold);
  border: 1px solid rgba(184, 146, 74, 0.2); border-radius: 2px;
}
.tag.sage { background: rgba(138, 154, 123, 0.10); color: var(--sage); border-color: rgba(138, 154, 123, 0.25); }

/* === Detail Cards === */
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.detail-card { background: white; padding: 40px 36px; border: 1px solid var(--rule); transition: transform 0.3s, box-shadow 0.3s; }
.detail-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.detail-card .label { margin-bottom: 16px; }
.detail-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 400; margin-bottom: 14px; line-height: 1.2; }
.detail-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 16px; }
.detail-card ul { list-style: none; }
.detail-card ul li { font-size: 13.5px; color: var(--ink-soft); padding: 6px 0 6px 18px; position: relative; }
.detail-card ul li::before { content: ''; position: absolute; left: 0; top: 14px; width: 6px; height: 1px; background: var(--gold); }

/* === Signature Programs === */
.signature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.signature { background: white; padding: 48px 40px; border: 1px solid var(--rule); position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.signature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.signature::after { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0; background: var(--gold); transition: height 0.4s; }
.signature:hover::after { height: 100%; }
.signature .label { margin-bottom: 20px; }
.signature h4 { font-family: 'Cormorant Garamond', serif; font-size: 30px; line-height: 1.2; font-weight: 400; margin-bottom: 16px; }
.signature p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; margin-bottom: 24px; }
.signature-components { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; border-top: 1px solid var(--rule); }
.component { font-size: 12px; color: var(--ink-soft); padding: 5px 12px; background: var(--bg-warm); border-radius: 100px; }

/* === Protocol (dark) === */
.protocol { background: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.protocol::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(184,146,74,0.15) 0%, transparent 60%); }
.protocol .label { color: var(--gold-light); }
.protocol-inner { position: relative; z-index: 1; }
.protocol h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(40px,5vw,64px); line-height: 1.05; margin-bottom: 24px; }
.protocol h2 em { color: var(--gold-light); font-style: italic; }
.protocol-sub { font-size: 17px; color: rgba(250,250,247,0.75); max-width: 640px; margin-bottom: 64px; line-height: 1.7; }
.protocol-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.protocol-tabs { display: flex; flex-direction: column; gap: 4px; }
.ptab { display: grid; grid-template-columns: 50px 1fr auto; gap: 20px; padding: 22px 28px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 2px; align-items: center; transition: all 0.3s; cursor: pointer; }
.ptab:hover { background: rgba(255,255,255,0.06); border-color: var(--gold); transform: translateX(4px); }
.ptab .pt-num { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; color: var(--gold-light); }
.ptab .pt-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: white; }
.ptab .pt-desc { font-size: 13px; color: rgba(250,250,247,0.6); margin-top: 2px; }
.ptab .pt-arrow { color: rgba(255,255,255,0.3); transition: color 0.3s, transform 0.3s; }
.ptab:hover .pt-arrow { color: var(--gold); transform: translateX(4px); }
.protocol-feature { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); padding: 40px; }
.protocol-feature h4 { font-family: 'Cormorant Garamond', serif; font-size: 26px; margin-bottom: 16px; }
.protocol-feature p { font-size: 14.5px; color: rgba(250,250,247,0.75); line-height: 1.7; margin-bottom: 28px; }
.feature-list { list-style: none; margin-bottom: 32px; }
.feature-list li { font-size: 13.5px; color: rgba(250,250,247,0.85); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 12px; }
.feature-list li::before { content: ''; width: 6px; height: 6px; background: var(--gold-light); border-radius: 50%; flex-shrink: 0; }
.feature-list li:last-child { border-bottom: none; }

/* === Mission === */
.mission-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; align-items: start; }
.mission-visual { position: sticky; top: 120px; }
.mission-frame { aspect-ratio: 3/4; background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-alt) 100%); border: 1px solid var(--rule); position: relative; overflow: hidden; }
.mission-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.principles { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--rule); }
.principle { display: grid; grid-template-columns: 60px 1fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.principle:last-child { border-bottom: none; }
.principle .pnum { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: 28px; color: var(--gold); }
.principle h5 { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.principle p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; margin: 0; }

/* === Prose === */
.prose { max-width: 760px; }
.prose p { font-size: 17px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 24px; }
.prose h3 { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 400; margin: 48px 0 18px; line-height: 1.15; }
.prose h3 em { color: var(--gold); font-style: italic; font-weight: 300; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { margin: 8px 0 24px; list-style: none; }
.prose ul li { font-size: 15px; color: var(--ink-soft); padding: 8px 0 8px 20px; position: relative; border-bottom: 1px solid var(--rule); line-height: 1.65; }
.prose ul li:last-child { border-bottom: none; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 17px; width: 8px; height: 1px; background: var(--gold); }

/* === CTA === */
.cta { background: var(--bg-warm); text-align: center; padding: 140px 0; position: relative; overflow: hidden; }
.cta-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.cta h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(44px,5.5vw,72px); line-height: 1.05; margin-bottom: 32px; }
.cta h2 em { color: var(--gold); font-style: italic; }
.cta p { font-size: 18px; color: var(--ink-soft); margin-bottom: 48px; line-height: 1.65; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === Contact Form === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 400; margin-bottom: 20px; }
.contact-info p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 24px; }
.contact-detail { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact-detail .cd-label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.contact-detail a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; }
.contact-detail a:hover { color: var(--gold); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--rule-strong); border-radius: 4px;
  background: var(--bg); font-family: inherit; font-size: 14px; color: var(--ink); transition: border-color 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--gold); background: white; }
.form-textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* === Footer === */
.site-footer { background: var(--ink); color: var(--bg); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.site-footer .site-logo { color: var(--bg); margin-bottom: 20px; }
.site-footer .logo-mark::before, .site-footer .logo-mark::after { border-color: var(--bg); }
.site-footer .logo-mark::after { border-color: var(--gold-light); }
.site-footer .site-logo .tag { color: rgba(250,250,247,0.5); border-left-color: rgba(250,250,247,0.2); }
.footer-blurb { color: rgba(250,250,247,0.65); font-size: 14px; line-height: 1.65; max-width: 320px; margin-bottom: 24px; }
.footer-col h6 { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(250,250,247,0.7); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(250,250,247,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(250,250,247,0.5);
}
.contact-line { display: flex; gap: 24px; font-size: 13px; }
.contact-line a { color: rgba(250,250,247,0.7); text-decoration: none; }

/* === Divider === */
.divider { border: none; border-top: 1px solid var(--rule); margin: 80px 0; }

/* === Reveal animation === */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === Mobile === */
@media (max-width: 980px) {
  .container { padding: 0 24px; }
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .hero { padding: 130px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .section-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
  .section-pad { padding: 80px 0; }
  .pathways, .services-grid, .signature-grid, .detail-grid { grid-template-columns: 1fr; }
  .protocol-grid, .mission-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .stats-row { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .mission-visual { position: relative; top: 0; }
  .page-hero { padding: 130px 0 60px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
