/* ── SALIMmd shared design system ───────────────────
   Extracted from salimmd-light2.html so every page
   (home, about, CDS tools, health systems, writing,
   contact) shares one stylesheet, and header/footer
   partials stay visually consistent across pages. */

/* ── TOKENS ─────────────────────────────────── */
:root {
  --bg-deep:    #0D2340;
  --bg-dark:    #F6F8FC;
  --bg-panel:   #EDF1F9;
  --bg-card:    #E5EBF5;
  --navy:       #0A1E35;
  --blue-mid:   #1B3A5C;
  --gold:       #B8922E;
  --gold-dim:   #8A6A1F;
  --gold-glow:  rgba(184,146,46,0.15);
  --gold-pale:  rgba(184,146,46,0.08);
  --white:      #FFFFFF;
  --text:       rgba(255,255,255,0.95);
  --text-mid:   rgba(255,255,255,0.72);
  --text-muted: rgba(255,255,255,0.5);
  --border:     rgba(255,255,255,0.15);
  --border-gold:rgba(184,146,46,0.3);

  /* Light section */
  --light-bg:   #FFFFFF;
  --light-text: #0A1E35;
  --light-mid:  #3A4F66;
  --light-muted:#5F7692;
  --light-border:#E8E4DE;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Figtree', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── NAV ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(5,13,24,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-brand-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
}
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-brand-sub {
  font-size: 0.65rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  padding: 0.42rem 1.1rem;
  border: 1px solid var(--border-gold);
  color: var(--gold) !important;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  background: var(--gold-pale) !important;
  color: var(--gold) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 20px; height: 1.5px;
  background: var(--white);
  display: block;
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
}

/* Radial glow orbs */
.hero-glow-1 {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(17,34,64,0.8) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-3 {
  position: absolute;
  top: 30%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  background: var(--gold-pale);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease) 0.1s forwards;
}
.hero-badge-dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--gold);
}
.hero-badge span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.2s forwards;
  letter-spacing: -0.02em;
}
.hero-title strong {
  font-weight: 600;
  background: linear-gradient(135deg, #E8C96A 0%, #C9A84C 50%, #A07830 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.3s forwards;
}

.hero-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.4s forwards;
}
.hero-desc strong { color: var(--white); font-weight: 500; }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.5s forwards;
}
.btn-primary {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.8rem 2rem;
  background: var(--gold);
  color: var(--bg-deep);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  background: #D4B55A;
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(201,168,76,0.4);
}
.btn-ghost {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 0.8rem 2rem;
  border: 1px solid var(--border);
  color: var(--text-mid);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
  transform: translateY(-1px);
}

/* ── PAGE HEADER (non-home pages) ─────────────────
   Shorter, static version of the hero for About,
   CDS Tools, Health Systems, Blog, Contact. */
.page-header {
  background: var(--bg-deep);
  padding: 9rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  background: var(--gold-pale);
  margin-bottom: 1.5rem;
}
.page-header-badge span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}
.page-header-title strong {
  font-weight: 600;
  background: linear-gradient(135deg, #E8C96A 0%, #C9A84C 50%, #A07830 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-header-sub {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 300;
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}
.page-header-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.page-header-tags .tag {
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
  color: var(--text-mid);
}
.page-header-tags .tag:hover { border-color: var(--border-gold); color: var(--gold); }
@media (max-width: 700px) {
  .page-header { padding: 7.5rem 1.25rem 3rem; }
}

/* ── STATS ROW ────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.65s forwards;
  max-width: 680px;
  margin: 0 auto;
}
.hero-stat {
  flex: 1;
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
  display: block;
}
.hero-stat-label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── TAGS STRIP ──────────────────────────────── */
.tags-strip {
  background: #FFFFFF;
  border-top: 1px solid #E8EFF9;
  border-bottom: 1px solid #E8EFF9;
  padding: 1rem 2rem;
  overflow: hidden;
}
.tags-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.75rem;
  border: 1px solid #D8E2F0;
  border-radius: 100px;
  color: #5A7090;
  background: #F5F8FF;
  transition: border-color 0.2s, color 0.2s;
}
.tag:hover { border-color: rgba(184,146,46,0.4); color: var(--gold-dim); }
.tag-sep {
  width: 3px; height: 3px;
  background: #D8E2F0;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── SECTION UTILITIES ───────────────────────── */
.section { padding: 6rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.section-label-dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.section-label span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-heading strong { font-weight: 600; }
.section-sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-mid);
  max-width: 500px;
  line-height: 1.8;
  margin-top: 0.75rem;
}

/* Dark section heading -- .dark/.light both set their own background
   so text colors are never left to fall through to <body>'s navy. */
.dark { background: var(--bg-dark); }
.dark .section-heading { color: var(--navy); }
.dark .section-sub { color: #5A7090; }
.dark .section-label span { color: var(--gold-dim); }
.dark .section-label-dot { background: var(--gold-dim); }

/* Light section heading */
.light { background: var(--light-bg); }
.light .section-heading { color: var(--light-text); }
.light .section-sub { color: var(--light-mid); }
.light .section-label span { color: var(--gold-dim); }
.light .section-label-dot { background: var(--gold-dim); }

/* ── PILLARS ─────────────────────────────────── */
.pillars { background: var(--bg-dark); }
.pillars-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #D8E2F0;
  border: 1px solid #D8E2F0;
  border-radius: 8px;
  overflow: hidden;
}
.pillar {
  background: #FFFFFF;
  padding: 2rem 1.5rem;
  transition: background 0.25s;
  position: relative;
}
.pillar:hover { background: #F5F8FF; }
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.pillar:hover::before { opacity: 1; }
.pillar-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--light-mid);
  margin-bottom: 1.25rem;
}
.pillar-icon {
  width: 1.5rem; height: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.pillar-desc {
  font-size: 0.75rem;
  font-weight: 300;
  color: #5A7090;
  line-height: 1.65;
}

/* ── TOOLS ───────────────────────────────────── */
.tools { background: var(--light-bg); }
.tools-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--light-border);
  border: 1px solid var(--light-border);
  border-radius: 8px;
  overflow: hidden;
}
.tool-card {
  background: var(--light-bg);
  padding: 1.75rem 2rem;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: default;
}
.tool-card:hover { background: #FDFAF3; }
.tool-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
}
.tool-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--light-text);
}
.tool-badges { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.badge {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: 3px;
}
.badge-epic { background: #FDF8EE; color: #A07830; border: 1px solid rgba(160,120,48,0.2); }
.badge-fhir { background: #EBF2FB; color: #2D6DAB; border: 1px solid rgba(45,109,171,0.2); }
.badge-new  { background: #EBF7EE; color: #2A7A3E; border: 1px solid rgba(42,122,62,0.2); }
.tool-specialty {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-muted);
}
.tool-desc {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--light-mid);
  line-height: 1.65;
  flex: 1;
}
.tool-link {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  transition: gap 0.2s, color 0.2s;
}
.tool-link:hover { gap: 0.55rem; color: var(--gold); }

/* ── HEART PROGRAM ───────────────────────────── */
.heart { background: var(--bg-panel); }
.heart-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 720px;
  gap: 4rem;
  align-items: start;
}
.heart-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 0; }
.heart-feature {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #D8E2F0;
  align-items: flex-start;
}
.heart-feature:first-child { border-top: 1px solid #D8E2F0; }
.heart-feature-check {
  width: 16px; height: 16px;
  border: 1px solid rgba(184,146,46,0.4);
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184,146,46,0.06);
}
.heart-feature-check::after {
  content: '';
  width: 7px; height: 5px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg) translate(0.5px, -1px);
}
.heart-feature-text {
  font-size: 0.83rem;
  font-weight: 300;
  color: #4A6080;
  line-height: 1.6;
}
.heart-feature-text strong { color: var(--navy); font-weight: 500; }

.heart-panel {
  border: 1px solid #D8E2F0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10,30,53,0.08);
}
.heart-panel-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #D8E2F0;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.heart-panel-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.heart-panel-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.heart-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #D8E2F0;
}
.heart-stat-box {
  background: #FFFFFF;
  padding: 1.75rem;
  border-right: 1px solid #D8E2F0;
  border-bottom: 1px solid #D8E2F0;
}
.heart-stat-box:nth-child(2n) { border-right: none; }
.heart-stat-box:nth-child(3), .heart-stat-box:nth-child(4) { border-bottom: none; }
.heart-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-dim);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.heart-stat-label {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8AA0BC;
}
.heart-panel-footer {
  padding: 1.25rem 2rem;
  background: #F5F8FF;
  border-top: 1px solid #D8E2F0;
}
.heart-panel-footer p {
  font-size: 0.75rem;
  font-weight: 300;
  color: #5A7090;
  line-height: 1.65;
}

/* ── IDENTITY ─────────────────────────────────── */
.identity { background: var(--light-bg); }
.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.identity-bio {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--light-mid);
}
.identity-bio p + p { margin-top: 1.1rem; }
.identity-bio strong { color: var(--light-text); font-weight: 500; }
.identity-quote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--gold-dim);
  background: #FDFAF3;
  border-radius: 0 4px 4px 0;
}
.identity-quote p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--light-text);
  line-height: 1.5;
}
.identity-creds { display: flex; flex-direction: column; gap: 0; }
.cred-row {
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.cred-row:first-child { border-top: 1px solid var(--light-border); }
.cred-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.cred-value {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--light-text);
}

/* ── COMMUNITY ───────────────────────────────── */
.community { background: var(--bg-dark); }
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.community-card {
  border: 1px solid #D8E2F0;
  border-radius: 8px;
  padding: 2.25rem;
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.community-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.community-card:hover {
  border-color: rgba(184,146,46,0.3);
  box-shadow: 0 4px 20px rgba(10,30,53,0.07);
}
.community-card:hover::before { opacity: 1; }
.community-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.75rem;
}
.community-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.community-desc {
  font-size: 0.8rem;
  font-weight: 300;
  color: #4A6080;
  line-height: 1.7;
}

/* ── CTA ─────────────────────────────────────── */
.cta { background: var(--bg-card); padding: 6rem 2rem; text-align: center; }
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-glow {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.cta-sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: #5A7090;
  margin-bottom: 2rem;
  line-height: 1.75;
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: #0D2340;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 3rem 2rem 2rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-brand-tagline {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.footer-contact a {
  display: block;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--gold); }
.footer-col-title {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.7rem; font-weight: 300; color: var(--text-muted); }
.footer-badges { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-badge {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── CONTACT FORM ─────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--light-border);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--light-text);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--border-gold);
  box-shadow: 0 0 0 3px var(--gold-pale);
}
.form-note { font-size: 0.75rem; color: var(--light-muted); margin-top: -0.3rem; }

/* ── EMPTY STATE ───────────────────────────────── */
.empty-state {
  border: 1px dashed var(--light-border);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 0.6rem;
}
.empty-state p {
  font-size: 0.88rem;
  color: var(--light-mid);
  line-height: 1.7;
}

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────── */
/* Tablet */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .heart-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .identity-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
/* Phone */
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-links--open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: #050D18;
    padding: 1.25rem;
    gap: 1.1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: flex; }
  .nav { padding: 0 1.25rem; }
  .section { padding: 4rem 1.25rem; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stat:last-child { border-bottom: none; }
}
/* Small phone */
@media (max-width: 400px) {
  .hero { padding: 7rem 1rem 3.5rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions a { width: 100%; text-align: center; }
}
