/* ============================================
   JUDITH BAXTER DOULA — Main Stylesheet
   Palette: sage green, warm cream, terracotta
   Mobile-first design
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Lato:wght@300;400;700&display=swap');

/* --- CSS Variables --- */
:root {
  --sage: #7a9e7e;
  --sage-dark: #5a7d5e;
  --sage-light: #b8d4ba;
  --sage-pale: #eef5ef;
  --cream: #fdf8f2;
  --cream-dark: #f5ede0;
  --terracotta: #c17f5a;
  --terracotta-dark: #a0623e;
  --brown-warm: #5c3d2e;
  --text-dark: #2d2d2d;
  --text-mid: #5a5a5a;
  --text-light: #888;
  --white: #ffffff;
  --border: #dde8de;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', Arial, sans-serif;

  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

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

a { color: inherit; text-decoration: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--brown-warm);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

ul { list-style: none; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-align: center;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}
.btn-primary:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(193,127,90,0.35); }

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

.btn-whatsapp {
  background: #5a8a6a;
  color: var(--white);
  border-color: #5a8a6a;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-whatsapp:hover { background: #4a7a5a; border-color: #4a7a5a; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(90,138,106,0.3); }

.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* --- Navigation --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--brown-warm);
  font-weight: 600;
  line-height: 1.2;
}
.nav-logo span { display: block; font-size: 0.75rem; font-family: var(--font-body); font-weight: 300; color: var(--text-light); letter-spacing: 0.1em; text-transform: uppercase; font-style: normal; }

.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-mid);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active { color: var(--sage-dark); }

.nav-cta { display: none; }

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

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mobile-cta { margin-top: 1rem; text-align: center; }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--sage-pale) 0%, var(--cream-dark) 100%);
  padding: 4rem 1.25rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(122,158,126,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--sage-light);
  color: var(--sage-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero h1 { color: var(--brown-warm); margin-bottom: 1.25rem; }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-buttons { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }

.hero-image {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow);
}

.hero-image img { width: 100%; height: 280px; object-fit: cover; }

.image-placeholder {
  background: linear-gradient(135deg, var(--sage-light), var(--cream-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
  font-size: 0.9rem;
  gap: 0.5rem;
  min-height: 220px;
}
.image-placeholder .icon { font-size: 2.5rem; opacity: 0.5; }
.image-placeholder p { margin: 0; font-style: italic; opacity: 0.7; }

/* --- Sections --- */
section { padding: 4rem 0; }
section.alt { background: var(--cream-dark); }
section.sage { background: var(--sage-pale); }
section.dark { background: var(--brown-warm); color: var(--white); }
section.dark h2, section.dark h3 { color: var(--cream); }
section.dark p { color: rgba(255,255,255,0.85); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { max-width: 600px; margin: 0.75rem auto 0; font-size: 1.05rem; }

.divider {
  width: 50px;
  height: 3px;
  background: var(--terracotta);
  border-radius: 2px;
  margin: 1rem auto;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { color: var(--brown-warm); }
.card .card-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--sage-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.card .card-link:hover { color: var(--terracotta); }

/* --- Stats / Research --- */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.stat-item p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin: 0; }

/* --- Testimonials --- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--sage);
  margin-bottom: 1.5rem;
}

.testimonial blockquote {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--brown-warm);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.testimonial cite {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--terracotta);
  font-style: normal;
  letter-spacing: 0.05em;
}

/* --- About intro strip --- */
.about-strip {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.about-strip .about-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--sage-light);
  flex-shrink: 0;
}
.about-strip .about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 4rem 1.25rem;
}
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { max-width: 520px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-buttons { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }

/* --- Contact options --- */
.contact-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.contact-item .contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item .contact-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); }
.contact-item .contact-value { font-size: 1rem; font-weight: 700; color: var(--brown-warm); }
.contact-item a { color: var(--sage-dark); }
.contact-item a:hover { color: var(--terracotta); }

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q { font-family: var(--font-heading); font-size: 1.05rem; color: var(--brown-warm); margin-bottom: 0.5rem; }
.faq-a { color: var(--text-mid); }

/* --- Page header --- */
.page-header {
  background: linear-gradient(135deg, var(--sage-pale), var(--cream-dark));
  padding: 3.5rem 1.25rem 3rem;
  text-align: center;
}
.page-header h1 { margin-bottom: 0.5rem; }
.page-header .subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--text-mid);
  font-size: 1.1rem;
}

/* --- Checklist style list --- */
.check-list { display: flex; flex-direction: column; gap: 0.5rem; margin: 1rem 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-mid);
  font-size: 0.95rem;
}
.check-list li::before {
  content: '✓';
  color: var(--sage-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}

/* --- Believe section --- */
.believe-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.believe-item {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--sage);
  box-shadow: var(--shadow-sm);
}
.believe-item p { margin: 0; font-style: italic; font-family: var(--font-heading); color: var(--brown-warm); font-size: 1.05rem; }

/* --- Footer --- */
.site-footer {
  background: var(--brown-warm);
  color: rgba(255,255,255,0.8);
  padding: 3rem 1.25rem 2rem;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-social { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1rem;
  transition: background 0.2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.2); }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* --- Responsive: Tablet+ --- */
@media (min-width: 640px) {
  .hero { padding: 5rem 1.25rem 4rem; }
  .hero-buttons { flex-direction: row; justify-content: center; }
  .hero-image img { height: 360px; }
  .cta-buttons { flex-direction: row; justify-content: center; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-options { grid-template-columns: repeat(2, 1fr); }
  .about-strip { flex-direction: row; text-align: left; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: block; }
  .nav-toggle { display: none; }
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 6rem 1.25rem 5rem; }
}
