/* Nana Goose Doula Services - Exact design match */

:root {
  --cream: #fdfaf6;
  --warm: #f9f5f0;
  --sage: #a8b9a0;
  --sage-mid: #8a9c82;
  --sage-dark: #6b7a68;
  --text: #3a3632;
  --muted: #6e6862;
  --btn: #6d7f6c;
  --btn-hover: #5c6d5b;
  --border: rgba(168, 185, 160, 0.35);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --max: 1140px;
  --header: 90px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(253, 250, 246, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 138, 0.12);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header);
  width: min(100% - 1.5rem, 1240px);
  margin-inline: auto; gap: 1.25rem;
}

.logo__img {
  width: 84px; height: 84px;
  object-fit: contain;
  border-radius: 50%;
}

.nav { display: flex; gap: 2rem; }
.nav__link {
  font-size: 0.92rem; font-weight: 500; color: var(--muted);
  position: relative; padding-bottom: 3px; transition: color 0.2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--sage-mid); border-radius: 1px;
}

.header__email {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.84rem; font-weight: 500; color: var(--text);
  padding: 0.48rem 1rem; border: 1px solid var(--border); border-radius: 999px;
  transition: background 0.2s, border-color 0.2s;
}
.header__email:hover { background: rgba(168,185,160,0.12); border-color: var(--sage); }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 6px;
}
.menu-toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 1px; transition: 0.25s; }


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background: var(--btn);
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 4px 14px rgba(109,127,108,0.28);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  width: fit-content;
}
.btn:hover {
  background: var(--btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(109,127,108,0.35);
}
.btn--lg {
  padding: 0.9rem 1.85rem;
  font-size: 0.96rem;
}

/* ===== HERO ===== */
/* Text banner ON TOP */
.hero-banner {
  background: #fdfaf6;
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.hero-banner__inner {
  max-width: 560px;
  margin: 0 auto;
}

.hero-banner__heart {
  color: #d4a0a0;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  line-height: 1;
}

.hero-banner__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: #3a3632;
  margin-bottom: 0.45rem;
}

.hero-banner__lead {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: #6e6862;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.hero-banner .btn {
  margin-inline: auto;
  display: inline-flex;
}

.btn--blush {
  background: #d4a5a0;
  color: #fff;
  box-shadow: 0 4px 14px rgba(212, 165, 160, 0.35);
}
.btn--blush:hover {
  background: #c4948f;
  box-shadow: 0 6px 18px rgba(212, 165, 160, 0.4);
}

/* Full family photo — nothing covering it */
.hero {
  position: relative;
  overflow: hidden;
  background: #f5efe8;
  line-height: 0;
}

.hero__media {
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
}

/* Soft transition into next section */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 20px;
  background: linear-gradient(to bottom, transparent, #fdfaf6);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 760px) {
  .hero-banner {
    padding: 1.5rem 1.25rem 1.35rem;
  }
  .hero {
    min-height: 300px;
  }
}

/* ===== SERVICES ===== */
.services { padding: 4.5rem 0 5rem; background: var(--cream); }
.services__header { text-align: center; max-width: 560px; margin: 0 auto 3rem; }
.services__ornament { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 1rem; }
.services__ornament .line { width: 26px; height: 1px; background: var(--sage); opacity: 0.7; }
.services__ornament .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sage); opacity: 0.7; }

.eyebrow {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sage-dark); margin-bottom: 0.45rem;
}
.title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.55rem); line-height: 1.15;
  color: var(--text); margin-bottom: 0.7rem;
}
.lead { font-size: 1.02rem; color: var(--muted); line-height: 1.65; }

.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.4rem; }
.card { text-align: center; padding: 0.4rem 0.6rem; }
.card__icon {
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 1.15rem; color: var(--sage-dark);
}
.card__icon svg { width: 30px; height: 30px; }
.card__icon--sage { background: #d6e0d2; }
.card__icon--blush { background: #ead8d4; }
.card__icon--sand { background: #e5ddd4; }
.card__icon--mint { background: #d4e0d8; }
.card h3 {
  font-family: var(--serif); font-weight: 600; font-size: 1.18rem;
  color: var(--text); margin-bottom: 0.5rem;
}
.card p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; max-width: 210px; margin-inline: auto; }

.services__grid--page { gap: 2rem 1.5rem; }
.card--page p { max-width: 260px; }

/* ===== ABOUT (home teaser) ===== */
.about { padding: 4.25rem 0 4.75rem; background: var(--warm); }
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.about__photo {
  border-radius: 50%; overflow: hidden; aspect-ratio: 1; max-width: 440px;
  box-shadow: 0 10px 36px rgba(58,54,50,0.1);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about__text { max-width: 420px; }
.about__text .title { margin-bottom: 1.1rem; }
.about__text .body { font-size: 1.02rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; }
.emphasis {
  font-family: var(--serif); font-style: italic; font-size: 1.25rem;
  font-weight: 500; color: var(--sage-dark);
}
.about__leaf { display: block; width: 54px; margin-top: 1.4rem; opacity: 0.7; }
.text-link {
  display: inline-block; margin-top: 1rem; font-size: 0.9rem; font-weight: 500;
  color: var(--sage-dark); border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.text-link:hover { border-color: var(--sage-dark); }

/* ===== CTA ===== */
.cta {
  position: relative; min-height: 340px; display: grid; place-items: center;
  text-align: center; overflow: hidden;
}
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(45,42,38,0.55), rgba(45,42,38,0.62));
}
.cta__content { position: relative; z-index: 2; padding: 3.5rem 1.5rem; }
.cta .eyebrow { color: rgba(255,255,255,0.88); }
.cta .title { color: #fff; margin-bottom: 0.95rem; text-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.cta--page { min-height: 420px; }

/* ===== INNER PAGES ===== */
.page { padding-bottom: 2rem; }
.page__hero {
  text-align: center; padding: 3.5rem 1.5rem 2.5rem; background: var(--warm);
}
.about-page {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center;
  padding: 2rem 0 4rem;
}
.about-page__photo {
  border-radius: 50%; overflow: hidden; aspect-ratio: 1; max-width: 400px;
  box-shadow: 0 10px 36px rgba(58,54,50,0.1);
}
.about-page__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about-page__content .body { font-size: 1.05rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.1rem; }

.contact-details { padding: 3rem 0 4rem; text-align: center; }
.contact-card {
  max-width: 480px; margin: 0 auto; padding: 2.5rem 2rem;
  background: var(--warm); border-radius: 16px;
}
.contact-card .body { color: var(--muted); margin-bottom: 0.5rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--cream); padding: 2.4rem 0 1.25rem;
  border-top: 1px solid rgba(201,168,138,0.16);
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.6rem;
}
.footer__brand { display: flex; align-items: center; gap: 0.65rem; }
.footer__logo-link { display: block; line-height: 0; }
.footer__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
}
.footer__name { display: block; font-family: var(--serif); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.05em; }
.footer__sub { display: block; font-size: 0.58rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--sage-dark); }
.footer__nav { display: flex; gap: 1.5rem; }
.footer__nav a { font-size: 0.86rem; color: var(--muted); transition: color 0.2s; }
.footer__nav a:hover { color: var(--text); }
.footer__right { display: flex; align-items: center; gap: 1.3rem; }
.footer__email {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.84rem; color: var(--muted); transition: color 0.2s;
}
.footer__email:hover { color: var(--text); }
.footer__social { display: flex; gap: 0.7rem; }
.footer__social a { color: var(--sage-dark); transition: color 0.2s; }
.footer__social a:hover { color: var(--text); }
.footer__bottom {
  text-align: center; padding-top: 1.1rem;
  border-top: 1px solid rgba(201,168,138,0.12);
}
.footer__bottom p {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage-dark); font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.4rem; }
  .about__grid, .about-page { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__photo, .about-page__photo { max-width: 340px; margin-inline: auto; }
  .about__text, .about-page__content { text-align: center; max-width: 500px; margin-inline: auto; }
  .about__leaf { margin-inline: auto; }
}
@media (max-width: 760px) {
  :root { --header: 76px; }
  .nav, .header__email { display: none; }
  .menu-toggle { display: flex; }
  .logo__img { width: 70px; height: 70px; }

  .hero__leaf { display: none; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { justify-content: center; }
  .footer__right { flex-direction: column; gap: 0.85rem; }
}
@media (max-width: 480px) {
  .services__grid { grid-template-columns: 1fr; max-width: 280px; margin-inline: auto; }
  .hero { min-height: 540px; }
  .cta { min-height: 300px; }
}

body.nav-open .nav {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  position: absolute; top: var(--header); left: 0; right: 0;
  background: var(--cream); padding: 1.4rem 1rem 1.6rem;
  border-bottom: 1px solid rgba(201,168,138,0.15);
  box-shadow: 0 12px 28px rgba(58,54,50,0.08);
}
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== FOOTER FIXES (cleaner, no doubling feel) ===== */
.footer {
  background: var(--cream);
  padding: 2rem 0 1.1rem;
  border-top: 1px solid rgba(201, 168, 138, 0.16);
  margin-top: 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap;
  margin-bottom: 1.25rem;
}
.footer__bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 168, 138, 0.12);
}
.footer__bottom p {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 500;
  margin: 0;
}

/* Contact page clean styles */
.page__hero--contact {
  background: var(--warm);
  padding: 4rem 1.5rem 2.5rem;
}
.contact-details {
  padding: 2.5rem 0 4rem;
  text-align: center;
}
.contact-card {
  max-width: 460px;
  margin: 0 auto;
  padding: 2.25rem 2rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(201, 168, 138, 0.2);
  box-shadow: 0 8px 28px rgba(58, 54, 50, 0.06);
}
.contact-card__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.65rem;
  color: var(--text);
  margin-bottom: 0.85rem;
}
.contact-card .body {
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.65;
}
.contact-email-text {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--sage-dark);
  letter-spacing: 0.02em;
}

/* Prevent CTA from feeling like a second footer on home */
.cta {
  margin-bottom: 0;
}
.cta + .footer,
section.cta + footer {
  border-top: none;
}

@media (max-width: 900px) {
  .footer__inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 1.25rem;
  }
  .footer__nav {
    width: 100%;
    justify-content: center;
  }
  .footer__right {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .hero__content {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    padding: 2rem 1.25rem 4rem !important;
  }
  .hero__fade {
    background: linear-gradient(
      to bottom,
      rgba(253,250,246,0.92) 0%,
      rgba(253,250,246,0.7) 45%,
      rgba(253,250,246,0.25) 100%
    ) !important;
  }
}

.certs {
  margin-top: 1.75rem;
  padding: 1.25rem 1.35rem;
  background: rgba(168, 185, 160, 0.12);
  border-radius: 12px;
  border: 1px solid rgba(168, 185, 160, 0.25);
}
.certs__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: var(--text);
}
.certs__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.certs__list li {
  font-size: 0.95rem;
  color: var(--muted);
  padding: 0.35rem 0;
  padding-left: 1.1rem;
  position: relative;
}
.certs__list li::before {
  content: "♥";
  position: absolute;
  left: 0;
  color: #d4a0a0;
  font-size: 0.7rem;
  top: 0.5rem;
}
.btn--outline-dark {
  background: transparent !important;
  color: var(--text) !important;
  border: 1.5px solid rgba(58,54,50,0.25);
  box-shadow: none !important;
}
.btn--outline-dark:hover {
  background: rgba(0,0,0,0.04) !important;
  border-color: rgba(58,54,50,0.4);
}

.contact-form {
  text-align: left;
  margin-top: 1.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.35rem;
  margin-top: 0.9rem;
}
.form-label .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8rem;
}
.form-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid rgba(58,54,50,0.15);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-input:focus {
  outline: none;
  border-color: var(--sage);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-or {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.75rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-or::before,
.contact-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(58,54,50,0.12);
}
.contact-card {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
