/* ─── NourishedBaby Global Styles ─────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

:root {
  --green-dark:    #1A5C38;
  --green-mid:     #2E7D4F;
  --green-bright:  #3D9E5F;
  --green-light:   #E8F5EE;
  --green-pale:    #F2FAF5;
  --cream:         #FAF7F2;
  --cream-dark:    #F0EBE1;
  --text:          #1C2B22;
  --text-mid:      #3D4F44;
  --text-muted:    #7A8C81;
  --white:         #FFFFFF;
  --shadow-sm:     0 2px 12px rgba(26,92,56,0.08);
  --shadow-md:     0 6px 32px rgba(26,92,56,0.12);
  --shadow-lg:     0 16px 64px rgba(26,92,56,0.16);
  --radius:        16px;
  --radius-sm:     10px;
  --radius-lg:     28px;
  --font-display:  'Fraunces', Georgia, serif;
  --font-body:     'Plus Jakarta Sans', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── NAVIGATION ──────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,92,56,0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--green-dark); }

.nav-cta {
  background: var(--green-dark);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--green-mid) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
  padding: 15px 32px;
}

.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  padding: 14px 30px;
  border: 2px solid var(--green-dark);
}

.btn-outline:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}

.btn-large {
  font-size: 1.1rem;
  padding: 17px 40px;
}

/* ─── EMAIL FORM ──────────────────────────────────────────── */

.email-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  width: 100%;
}

.email-form input[type="email"] {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid rgba(26,92,56,0.15);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.email-form input[type="email"]::placeholder { color: var(--text-muted); }
.email-form input[type="email"]:focus { border-color: var(--green-dark); }

.email-form button {
  flex-shrink: 0;
  background: var(--green-dark);
  color: var(--white);
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.email-form button:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ─── SECTIONS ────────────────────────────────────────────── */

.section {
  padding: 96px 24px;
}

.section-sm {
  padding: 64px 24px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.container-sm {
  max-width: 720px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 560px;
}

/* ─── CARDS ───────────────────────────────────────────────── */

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,92,56,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ─── GRID LAYOUTS ────────────────────────────────────────── */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
}

/* ─── FOOTER ──────────────────────────────────────────────── */

.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.88rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-links-group h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-links-group a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── UTILITY ─────────────────────────────────────────────── */

.text-center { text-align: center; }
.text-green { color: var(--green-mid); }
.bg-pale { background: var(--green-pale); }
.bg-light { background: var(--green-light); }
.bg-cream-dark { background: var(--cream-dark); }

.divider {
  height: 1px;
  background: rgba(26,92,56,0.08);
  margin: 0;
}

/* ─── ANIMATIONS ──────────────────────────────────────────── */

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

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

.fade-up { animation: fadeUp 0.7s ease forwards; }
.fade-up-1 { animation: fadeUp 0.7s 0.1s ease both; }
.fade-up-2 { animation: fadeUp 0.7s 0.2s ease both; }
.fade-up-3 { animation: fadeUp 0.7s 0.3s ease both; }
.fade-up-4 { animation: fadeUp 0.7s 0.4s ease both; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(26,92,56,0.1);
    padding: 16px 0;
  }
  .nav-links.open li a {
    display: block;
    padding: 12px 24px;
    font-size: 1rem;
  }
  .nav-links.open .nav-cta {
    margin: 8px 24px 0;
    text-align: center;
    border-radius: var(--radius-sm);
    padding: 12px 20px !important;
  }
  .hamburger { display: flex; }
  .nav { position: relative; }

  .grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .grid-2 { grid-template-columns: 1fr; }

  .email-form { flex-direction: column; }
  .email-form button { width: 100%; }

  .section { padding: 64px 20px; }
  .section-sm { padding: 48px 20px; }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
