/* =========================================================
   Baby Sleep Solutions — palette: blues / turquoise / aqua / green
   ========================================================= */

:root {
  --teal-900: #0f3a44;
  --teal-700: #1a6b78;
  --teal-600: #2a8794;
  --teal-500: #3aa6b3;
  --aqua-400: #67c5cf;
  --aqua-300: #9bdae0;
  --aqua-100: #e3f5f7;
  --sage-400: #7bc4a8;
  --sage-200: #c6e6d8;
  --cream:    #fbfaf6;
  --ink:      #1f2d33;
  --muted:    #5a6a70;
  --line:     #d9e7ea;
  --gold:     #c9a24a;
  --bronze:   #b07a4a;
  --silver:   #7b8a92;

  --shadow-sm: 0 2px 6px rgba(15, 58, 68, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 58, 68, 0.10);
  --shadow-lg: 0 18px 50px rgba(15, 58, 68, 0.14);

  --radius: 14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-700); text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 760px; }

.text-center { text-align: center; }

/* =========================================================
   HEADER / NAV
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--teal-900);
}
.brand:hover { text-decoration: none; }

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-line-1 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal-900);
  letter-spacing: -0.01em;
}
.brand-line-2 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--teal-900);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--teal-600); text-decoration: none; }
.nav-links .btn { color: white; }

/* Show full label on larger screens, short on small */
.nav-cta-short { display: none; }
.nav-cta-full  { display: inline; }

@media (max-width: 780px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn) { display: none; }
  .brand-line-2 { display: none; }
  .brand-line-1 { font-size: 1.05rem; }
  .brand-logo { width: 44px; height: 44px; }

  .nav-cta-full  { display: none; }
  .nav-cta-short { display: inline; }

  .nav-cta {
    padding: 9px 16px;
    font-size: 0.88rem;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .brand-line-1 { font-size: 0.95rem; }
  .brand-logo { width: 40px; height: 40px; }
  .nav-cta { padding: 8px 12px; font-size: 0.82rem; }
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-600));
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-700);
  border: 2px solid var(--teal-500);
}
.btn-ghost:hover {
  background: var(--aqua-100);
  color: var(--teal-700);
  text-decoration: none;
}

.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-large { padding: 18px 36px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  background:
    radial-gradient(ellipse at top right, var(--aqua-300) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, var(--sage-200) 0%, transparent 55%),
    linear-gradient(180deg, var(--aqua-100) 0%, var(--cream) 100%);
  padding: 80px 0 100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 880px) {
  .hero { padding: 50px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-badges { justify-content: center; }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-600);
  margin: 0 0 8px;
}

.hero-name {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--teal-700);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  color: var(--teal-900);
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 560px;
}

.hero-text .lede { margin-left: 0; }
@media (max-width: 880px) {
  .hero-text .lede { margin-left: auto; margin-right: auto; }
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cert-badge {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.hero-ages {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
  max-width: 220px;
}

.hero-image img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  border: 8px solid white;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section { padding: 90px 0; }
.section-light { background: var(--cream); }
.section-tint {
  background: linear-gradient(180deg, var(--aqua-100), var(--cream));
}

.section-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  color: var(--teal-900);
  margin: 0 0 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-title.centered { text-align: center; }
.section-sub.centered  { text-align: center; max-width: 640px; margin: 0 auto 50px; color: var(--muted); }

#mission p { font-size: 1.08rem; }
.mission-final {
  font-weight: 700;
  color: var(--teal-700);
  font-size: 1.15rem !important;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

.about-photo img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 6px solid white;
}

.about-text p { color: var(--ink); }
.about-final {
  font-weight: 600;
  color: var(--teal-700);
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */

.section-testimonials {
  background:
    radial-gradient(ellipse at top left, var(--aqua-300) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, var(--sage-200) 0%, transparent 50%),
    var(--aqua-100);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  align-items: start;
  margin-top: 50px;
}

@media (max-width: 980px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    gap: 44px;
  }
}

.testimonial {
  background: white;
  border-radius: var(--radius-lg);
  padding: 44px 32px 32px;
  margin: 0;
  box-shadow: var(--shadow-md);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  width: 44px;
  height: 44px;
  fill: var(--aqua-300);
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 50%;
  padding: 8px;
  box-shadow: var(--shadow-sm);
}

.testimonial blockquote {
  margin: 0;
  padding: 0;
  border: none;
}

.testimonial blockquote p {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 14px;
}
.testimonial blockquote p:last-of-type { margin-bottom: 22px; }

.testimonial figcaption {
  font-weight: 700;
  color: var(--teal-700);
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-top: auto;
}

@media (max-width: 600px) {
  .testimonial { padding: 44px 28px 32px; }
  .testimonial blockquote p { font-size: 1.02rem; }
}

/* =========================================================
   PACKAGES
   ========================================================= */

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .packages-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

.package {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.package:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.package.featured {
  border: 2px solid var(--teal-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.package.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  color: white;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.package-tier {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}
.package-bronze .package-tier { color: var(--bronze); }
.package-silver .package-tier { color: var(--silver); }
.package-gold   .package-tier { color: var(--gold);   }

.package-name {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.6rem;
  color: var(--teal-900);
  margin: 8px 0 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.package-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal-900);
  margin-bottom: 18px;
}

.package-intro {
  color: var(--muted);
  margin: 0 0 22px;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.package-features li {
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.97rem;
}
.package-features li:last-child { border-bottom: none; }
.package-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--aqua-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a8794' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.packages-note {
  text-align: center;
  margin-top: 50px;
  color: var(--muted);
}

/* =========================================================
   CTA / BOOK
   ========================================================= */

.section-cta {
  background:
    radial-gradient(ellipse at top left, var(--sage-200) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, var(--aqua-300) 0%, transparent 55%),
    linear-gradient(180deg, var(--aqua-100), var(--cream));
  text-align: center;
}

.contact-line {
  margin-top: 30px;
  color: var(--muted);
  font-size: 1rem;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--teal-900);
  color: var(--aqua-100);
  padding: 50px 0 28px;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 4px;
  border: 3px solid var(--aqua-400);
}
.footer-tag {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--aqua-300);
  margin: 0 0 6px;
  font-weight: 500;
}
.footer-contact a {
  color: var(--aqua-300);
  font-weight: 600;
}
.footer-contact a:hover { color: white; }
.footer-copy {
  font-size: 0.82rem;
  color: rgba(227, 245, 247, 0.6);
  margin-top: 16px;
}
