/* ============================================
   Narcissistic Trauma Recovery Coaching
   Design System: "Soft Teal + Warm Rose"
   ============================================ */

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

:root {
  --teal: #5BA09B;
  --teal-dark: #3D7A76;
  --teal-light: #8EC4C0;
  --teal-mist: #EAF2F0;
  --cream: #FAF8F6;
  --cream-deep: #F2EDEA;
  --rose: #C27A6E;
  --rose-dark: #A5625A;
  --ink: #2A2F2E;
  --muted: #5E6664;
  --line: #D4D8D6;
  --white: #FDFCFB;
  --crisis-bg: #EAF2F0;
  --crisis-text: #3D7A76;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: var(--rose); }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--ink);
  line-height: 1.25;
  font-weight: 500;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
p { max-width: 65ch; margin-bottom: 1.25rem; }

/* Crisis Banner */
.crisis-banner {
  background: var(--crisis-bg);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  color: var(--crisis-text);
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--line);
}
.crisis-banner a {
  color: var(--teal-dark);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Navigation */
.site-header {
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; }
.nav-logo-bar {
  width: 3px;
  height: 36px;
  background: var(--teal);
  border-radius: 2px;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.nav-logo-text .logo-accent {
  color: var(--teal);
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--teal);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Sections */
.section { padding: 5rem 2rem; }
.section--alt { background: var(--cream-deep); }
.section--teal { background: var(--teal-mist); }
.container { max-width: 1040px; margin: 0 auto; }
.container--narrow { max-width: 720px; margin: 0 auto; }

/* Hero — split layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
  max-height: 580px;
  align-items: center;
  overflow: hidden;
}
.hero-text {
  padding: 4rem 2rem 4rem 4rem;
  max-width: 600px;
  margin-left: auto;
}
.hero-text h1 {
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.hero-text .hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-text .hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-text .hero-ctas .btn {
  flex: 1;
  min-width: 220px;
  text-align: center;
}
.hero-image {
  position: relative;
  height: 100%;
  min-height: 400px;
  max-height: 580px;
  overflow: hidden;
  background: var(--teal-mist);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn--rose { background: var(--rose); color: var(--white); }
.btn--rose:hover { background: var(--rose-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--teal-dark); border: 1.5px solid var(--teal); }
.btn--outline:hover { background: var(--teal); color: var(--white); }

/* Two-col */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }
.two-col img {
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  max-height: 420px;
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Section headers */
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 1rem; }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
  display: block;
  font-family: 'Inter', sans-serif;
}
.section-header p { color: var(--muted); font-size: 1.05rem; }

/* Divider */
.divider {
  width: 60px;
  height: 1.5px;
  background: var(--teal-light);
  border: none;
  margin: 2.5rem 0;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* Card */
.card {
  background: var(--white);
  border-radius: 4px;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* CTA Block */
.cta-block {
  text-align: center;
  padding: 4.5rem 2rem;
  background: var(--teal-mist);
}
.cta-block h2 { margin-bottom: 1rem; }
.cta-block p { margin: 0 auto 2rem; color: var(--muted); font-size: 1.05rem; }

/* Badges */
.badges {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.badges img { height: 80px; width: auto; opacity: 0.9; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(253,252,251,0.65);
  padding: 3.5rem 2rem 2rem;
}
.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; max-width: 320px; }
.footer-col h4 {
  color: rgba(253,252,251,0.85);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: rgba(253,252,251,0.6); font-size: 0.88rem; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--teal-light); }
.footer-disclaimer {
  max-width: 1040px;
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(253,252,251,0.1);
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(253,252,251,0.45);
}
.footer-disclaimer a { color: rgba(253,252,251,0.55); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom {
  max-width: 1040px;
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(253,252,251,0.06);
  font-size: 0.75rem;
  color: rgba(253,252,251,0.3);
  text-align: center;
}

/* FAQ Accordion */
.faq-item { border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0;
  line-height: 1.4;
}
.faq-question::after {
  content: '+';
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding-top: 0;
}
.faq-item.open .faq-answer { max-height: 600px; padding-top: 1rem; }
.faq-answer p, .faq-answer ul, .faq-answer ol { color: var(--muted); font-size: 0.95rem; }
.faq-answer ul, .faq-answer ol { padding-left: 1.2rem; margin-bottom: 1rem; }
.faq-answer li { margin-bottom: 0.4rem; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--teal); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* Quiz */
.quiz-card {
  background: var(--white);
  border-radius: 4px;
  padding: 3rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  max-width: 680px;
  margin: 0 auto;
}
.quiz-progress { display: flex; gap: 0.4rem; margin-bottom: 2rem; }
.quiz-progress-dot {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--line);
  transition: background 0.4s ease;
}
.quiz-progress-dot.filled { background: var(--teal); }
.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.3rem;
  margin-bottom: 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.25s ease;
}
.quiz-option:hover { border-color: var(--teal); background: var(--teal-mist); }
.quiz-option.selected { border-color: var(--teal); background: var(--teal-mist); }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease forwards; }
.fade-up-delay-1 { animation-delay: 0.15s; opacity: 0; }
.fade-up-delay-2 { animation-delay: 0.3s; opacity: 0; }
.fade-up-delay-3 { animation-delay: 0.45s; opacity: 0; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-text {
    padding: 3rem 1.5rem;
    max-width: 100%;
    margin-left: 0;
    text-align: center;
    order: 1;
  }
  .hero-text .hero-ctas { justify-content: center; }
  .hero-image { min-height: 350px; order: 0; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col--reverse { direction: ltr; }
  .section { padding: 3.5rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .quiz-card { padding: 2rem 1.5rem; }
}
