/* ── SHARED STYLES — Little Bloom Parenting ── */
:root {
  --cream: #fdf8f2;
  --warm: #f5ede0;
  --sage: #7a9e7e;
  --sage-light: #a8c5ac;
  --sage-dark: #4e7353;
  --blush: #e8a598;
  --blush-light: #f2c4bb;
  --terracotta: #c97b5a;
  --text: #2d2520;
  --muted: #8a7a72;
  --border: #e8ddd4;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(45,37,32,0.08);
  --shadow-lg: 0 12px 48px rgba(45,37,32,0.14);
}

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

html { scroll-behavior: smooth; }

body.menu-open { overflow: hidden; }

img { max-width: 100%; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(122,158,126,0.3);
  outline-offset: 3px;
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(253,248,242,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: box-shadow 0.3s;
}

.nav.scrolled { box-shadow: var(--shadow); }

.nav-brand {
  font-family: 'Dancing Script', cursive;
  font-size: 1.7rem;
  color: var(--sage-dark);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(122,158,126,0.16);
  border-radius: 12px;
  background: rgba(255,255,255,0.78);
  color: var(--sage-dark);
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex-direction: column;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav.menu-open .nav-toggle-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.menu-open .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-toggle-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blush);
  transition: width 0.25s;
  border-radius: 2px;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--sage-dark); }

.nav-cta {
  background: var(--sage) !important;
  color: white !important;
  padding: 9px 22px;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--sage-dark) !important; transform: translateY(-1px); }

/* ── FOOTER ── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 60px 8% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  color: white;
  display: block;
  margin-bottom: 12px;
}

.footer-about { font-size: 0.88rem; line-height: 1.7; }

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blush-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 32px;
  text-decoration: none;
  transition: all 0.22s;
  letter-spacing: 0.04em;
}

.btn-sage { background: var(--sage); color: white; }
.btn-sage:hover { background: var(--sage-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(78,115,83,0.3); }

.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border: 2px solid var(--sage);
}
.btn-outline:hover { background: var(--sage); color: white; transform: translateY(-2px); }

.btn-blush { background: var(--blush); color: white; }
.btn-blush:hover { background: var(--terracotta); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,123,90,0.3); }

/* ── SECTION UTILS ── */
.section { padding: 90px 8%; }
.section-sm { padding: 60px 8%; }

.section-tag {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.8;
}

/* ── CARD ── */
.card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav { padding: 0 4%; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 5% 24px;
    background: rgba(253,248,242,0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .nav.menu-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a { display: inline-flex; padding: 4px 0; }
  .nav-cta { width: 100%; justify-content: center; padding: 12px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
