/* ============================================================
   HEALS NETWORK — SHARED STYLES
   style.css: tokens, reset, nav, page header, footer,
              section utilities, and common buttons.
   Each page links this file plus its own page-specific CSS.
   ============================================================ */

/* ============================================
   DESIGN TOKENS
============================================ */
:root {
  --blue:         #0a0af2;
  --blue-dark:    #0808c0;
  --blue-bright:  #3a3aff;
  --navy:         #0b0b3b;
  --bg:           #f7f8ff;
  --white:        #ffffff;
  --card:         #eef0ff;
  --gold:         #f5a623;
  --text:         #1c1c3a;
  --text-light:   #5c5c8a;
  --border:       #dde0f5;
  --radius:       12px;
  --font-display: 'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;
  --max-w:        1100px;
}

/* ============================================
   RESET
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ============================================
   NAV
============================================ */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--blue); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); font-weight: 600; }
.btn-nav-outline {
  border: 1.5px solid var(--blue) !important;
  color: var(--blue) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.2s, color 0.2s;
}
.btn-nav-outline:hover {
  background: var(--blue) !important;
  color: var(--white) !important;
}
.btn-nav {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.2s, transform 0.15s;
}
.btn-nav:hover { background: var(--blue-dark) !important; transform: translateY(-1px); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ============================================
   PAGE HEADER (all inner pages)
============================================ */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 64px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.page-eyebrow::before,
.page-eyebrow::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-header p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ============================================
   SECTION UTILITIES
============================================ */
.section-label {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ============================================
   COMMON BUTTONS
============================================ */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--blue);
  padding: 13px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 13px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }

/* ============================================
   CTA BANNER (shared across multiple pages)
============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  color: var(--white);
  padding: 88px 24px;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
============================================ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 60px 24px 32px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 14px;
}
.footer-logo span { color: #7070ff; }
.footer-brand p { font-size: 0.875rem; line-height: 1.75; max-width: 260px; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a { font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================
   RESPONSIVE — NAV & FOOTER
============================================ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 18px;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
