/* ============================================================
   ZEN COUNSELING, PLLC — Global Stylesheet
   Aesthetic: Organic Luxury — warm sage, cream, editorial type
   ============================================================ */

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

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

:root {
  --sage:         #6e9478;
  --sage-mid:     #8fb59a;
  --sage-light:   #b8d4c0;
  --sage-faint:   #edf4ef;
  --cream:        #faf7f2;
  --warm:         #e8ddd0;
  --warm-deep:    #d4c5b2;
  --text:         #252520;
  --muted:        #6b6b62;
  --accent:       #4e7a5e;
  --accent-dark:  #3a5e48;
  --white:        #ffffff;
  --nav-h:        72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--sage-light); border-radius: 3px; }

/* ── SELECTION ── */
::selection { background: var(--sage-light); color: var(--text); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
  font-weight: 400;
}
.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 14px;
}
p { line-height: 1.75; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--warm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.nav-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.nav-logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  transition: background 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-dark) !important; }

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--warm);
  padding: 24px 32px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
}
.mobile-menu a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.05em;
}
.mobile-menu.open { display: flex; }

/* ── PAGE WRAPPER ── */
.page-body { padding-top: var(--nav-h); }

/* ── SECTION SPACING ── */
.section { padding: 96px 48px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-sm { padding: 72px 48px; }

/* ── SECTION HEADERS ── */
.section-header { margin-bottom: 56px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--text); }
.section-header p { color: var(--muted); max-width: 560px; margin-top: 14px; font-size: 1rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 14px auto 0; }

.divider {
  width: 52px; height: 2px;
  background: var(--sage-light);
  border-radius: 2px;
  margin: 20px 0;
}
.divider.centered { margin: 20px auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 13px 30px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--sage-light);
}
.btn-outline:hover { background: var(--sage-faint); transform: translateY(-1px); }

.btn-white {
  background: var(--white);
  color: var(--accent);
}
.btn-white:hover { background: var(--cream); }

/* ── TAGS ── */
.tag {
  display: inline-block;
  background: var(--sage-faint);
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}
.tag-warm {
  background: var(--warm);
  color: var(--muted);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.55);
  padding: 64px 48px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--white); }

.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-col p { font-size: 0.88rem; line-height: 1.75; }
.footer-col strong { color: rgba(255,255,255,0.8); font-weight: 500; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-emergency {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 0.75rem;
  line-height: 1.6;
  margin-bottom: 32px;
  text-align: center;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-fadeup { animation: fadeUp 0.7s ease forwards; }
.anim-fadein { animation: fadeIn 0.6s ease forwards; }

/* stagger helpers */
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.45s; opacity: 0; }
.delay-5 { animation-delay: 0.6s; opacity: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .section, .section-sm { padding: 64px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
