/* ============================================================
   ACQUAH COUNSELING — Shared Component Styles
   Edit this file, then run: node build.js
   ============================================================ */

:root {
  --sage: #6b9e85;
  --sage-light: #a3c9b5;
  --sage-dark: #3d7a5e;
  --cream: #eef6f1;
  --warm-white: #f5fbf7;
  --clay: #7fba9e;
  --clay-light: #c2e0d2;
  --charcoal: #1a2e24;
  --muted: #5e7a6b;
  --border: #b8d9c8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ── ANNOUNCEMENT BAR ── */
.announcement {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  background: var(--sage-dark);
  color: white;
  text-align: center;
  padding: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  transition: transform 0.3s ease;
}
.announcement a { color: var(--clay-light); text-decoration: underline; }
.announcement.hidden { transform: translateY(-100%); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 2.1rem; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 251, 247, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: top 0.3s ease;
}
.nav-inner {
  max-width: 70rem;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  text-decoration: none;
}
.site-logo { height: 55px; width: auto; display: block; }
.site-logo-footer { filter: brightness(0) invert(1); opacity: 0.85; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--sage-dark);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--charcoal); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--charcoal); }
.nav-links a.active::after { width: 100%; }

.nav-ctas { display: flex; gap: 0.75rem; }

.btn-outline {
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--sage-dark);
  border-radius: 2px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--sage-dark); color: white; }

.btn-filled {
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--clay);
  border-radius: 2px;
  background: var(--clay);
  color: white;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-filled:hover { background: #5fa882; border-color: #5fa882; }

/* ── MOBILE NAV ── */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--charcoal); padding: 0.25rem; line-height: 1; }
.mobile-nav { display: none; position: fixed; top: 0; left: 0; right: 0; background: rgba(245,251,247,0.98); backdrop-filter: blur(12px); z-index: 99; padding: 1.5rem 2rem 2rem; border-bottom: 1px solid var(--border); flex-direction: column; }
.mobile-nav.open { display: flex; }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.mobile-nav-links li { border-bottom: 1px solid var(--border); }
.mobile-nav-links a { display: block; padding: 1rem 0; font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal); text-decoration: none; }
.mobile-nav-ctas { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.mobile-nav-ctas .btn-outline, .mobile-nav-ctas .btn-filled { display: block; text-align: center; padding: 0.85rem 1.25rem; }

/* ── SHARED LAYOUT ── */
.container { max-width: 70rem; margin: 0 auto; padding: 0 2rem; }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--sage-dark);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
}
.section-title em { font-style: italic; color: var(--sage-dark); }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 0;
}
.footer-brand .nav-logo { color: white; display: block; margin-bottom: 1rem; }
.footer-desc { font-size: 0.85rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-btn {
  width: 2rem; height: 2rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s;
}
.social-btn:hover { border-color: var(--sage-light); color: var(--sage-light); }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: white; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; font-size: 0.85rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--sage-light); }
.footer-accreditation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}
.footer-accreditation-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-accreditation .sx-verified-seal {
  flex-shrink: 0;
  width: 205px !important;
  height: 64px !important;
  background-size: contain !important;
  background-position: center left;
  opacity: 0.9;
  transition: opacity 0.3s;
}
.footer-accreditation .sx-verified-seal:hover { opacity: 1; }
.footer-accreditation span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-right: 0.5rem;
}
.footer-accreditation img {
  height: 64px; width: auto;
  background: white;
  padding: 0.4rem 0.75rem;
  border-radius: 3px;
  opacity: 0.9;
  transition: opacity 0.3s;
}
.footer-accreditation img:hover { opacity: 1; }
.footer-crisis {
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
  max-width: 60rem;
}
.footer-crisis a { color: rgba(255,255,255,0.55); text-decoration: underline; }
.footer-crisis a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.3s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* ── FORM CONFIRMATION ── */
.form-status { font-size: 0.85rem; margin: 0.75rem 0; color: #b23b3b; }
.form-confirmation {
  text-align: center;
  padding: 2rem 1.75rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  animation: fadeUp 0.5s ease;
  max-width: 480px;
  margin: 0 auto;
}
.form-confirmation-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--sage-dark);
  color: white;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
}
.form-confirmation-icon svg { width: 24px; height: 24px; }
.form-confirmation h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.form-confirmation p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; max-width: 26rem; margin: 0 auto; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero fade-up (above-fold, CSS-driven) */
.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }

/* Scroll-reveal (JS adds .visible when in viewport) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-ctas { display: none; }
  .nav-hamburger { display: block; }
  .nav-inner { padding: 1rem 1.25rem; }
  .container { padding: 0 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-accreditation { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-accreditation-badges { flex-direction: column; align-items: center; width: 100%; gap: 1rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .announcement { font-size: 0.68rem; padding: 0.5rem 1rem; transition: transform 0.3s ease; }
}
