/* TPMD Newborn Care page (newborn-care.html only).
   Same layout, corners, cards and components as the rest of the site.

   Colour: 60 / 30 / 10.
     CREAM  the ground, as on every page.
     BLUE   #5BA3D0, the Peds MD brand: headings, outlines, solid cards, every
            button (the site's own, not overridden here), icons, nav, footer.
     PINK   #E8779E, the Newborn Care accent in small doses: check marks,
            review stars, the two service links, the "signature package"
            flag, her logo, and the sign-off line "Let us be your village!"
            (Tommy, 2026-11-21: buttons back to blue; the hero headline is blue).
   Pink is never a card background or a button.
   Corners: every panel uses the site's one radius token, var(--peds-r). */

.nb-page { --nb: #E8779E; --nb-focus: #AD4068; }
.nb-wrap { max-width: 1600px; margin: 0 auto; }

/* headings and inline links in the site blue */
.nb-page .peds-h2, .nb-page .peds-h3 { color: #5BA3D0; }
.nb-page .peds-mcard--blue .peds-h2, .nb-page .peds-mcard--blue .peds-h3 { color: #ffffff; }
.nb-page .peds-disclaimer a, .nb-page .nb-about-more a { color: #5BA3D0; text-decoration: underline; text-underline-offset: 2px; }

/* ---- hero: the site's outline card, her logo in its real colours ---- */
.nb-hero { display: flex; flex-direction: column; justify-content: center; }
.nb-lockup { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 16px); margin: 0 0 clamp(18px, 2vw, 26px); }
.nb-lockup img { display: block; width: auto; }
.nb-lockup__mark { height: clamp(58px, 5vw, 72px); }
.nb-lockup__word { height: clamp(42px, 3.7vw, 52px); }
.nb-hero .peds-mhero__title { color: #5BA3D0; }
.nb-hero__area { font-size: 14px; font-weight: 700; color: #51607A; margin: -10px 0 24px; }

/* ---- services: two live services lead, the two "coming soon" classes sit smaller ---- */
.nb-lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; color: #51607A; margin: 0; max-width: 90ch; text-wrap: pretty; }
.nb-overview { display: grid; grid-template-columns: 1fr 1fr minmax(250px, 0.62fr); gap: clamp(14px, 1.6vw, 22px); }
.nb-soon { display: grid; grid-template-rows: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 1000px) {
  .nb-overview { grid-template-columns: 1fr 1fr; }
  .nb-soon { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nb-overview, .nb-soon { grid-template-columns: 1fr; }
}
.nb-tile {
  display: flex; flex-direction: column; gap: 8px;
  background: #F5F1E8; border: 1.5px solid #5BA3D0; border-radius: var(--peds-r);
  padding: clamp(22px, 2.4vw, 32px); text-decoration: none; color: inherit;
  transition: border-color .25s ease;
}
a.nb-tile:hover { border-color: var(--nb); }
a.nb-tile:focus-visible { outline: 3px solid var(--nb-focus); outline-offset: 2px; }
.nb-tile__icon { width: 34px; height: 34px; color: #5BA3D0; margin-bottom: 8px; }   /* bare line icon, like the site's inquiry pillars */
.nb-tile__icon svg { width: 100%; height: 100%; display: block; }
.nb-tile__title {
  font-family: "Bookmania", "Cormorant Garamond", Georgia, serif; font-weight: 400;
  font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; color: #5BA3D0; margin: 0;
}
.nb-tile__copy { font-size: 15.5px; line-height: 1.5; color: #475569; margin: 0; max-width: 40ch; }
.nb-tile__foot { margin: auto 0 0; padding-top: 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.nb-tile__price { font-family: "DM Sans", "Inter", system-ui, sans-serif; font-weight: 800; font-size: 17px; color: #5BA3D0; }
.nb-tile__go { font-size: 14px; font-weight: 700; color: var(--nb); }
.nb-tile--soon { flex-direction: row; align-items: center; gap: 16px; padding: 18px 22px; border-style: dashed; border-color: rgba(31, 42, 55, 0.28); }
.nb-tile--soon .nb-tile__icon { flex: 0 0 auto; width: 30px; height: 30px; margin: 0; color: #7E8AA0; }
.nb-tile--soon .nb-tile__title { font-size: clamp(20px, 1.7vw, 23px); color: #51607A; }
.nb-soon__tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #64748B; margin: 5px 0 0; }

/* ---- newborn care card: two checklists side by side ---- */
.nb-svc { scroll-margin-top: 128px; }
.nb-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin: 6px 0 4px; }
@media (max-width: 600px) { .nb-lists { grid-template-columns: 1fr; } }
.nb-lists h3 {
  font-family: "DM Sans", "Inter", system-ui, sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: #5BA3D0; margin: 0 0 12px;
}
.nb-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nb-check li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.45; color: #2C3A4F; }
.nb-check li::before {   /* the membership page's check dot, in pink */
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background-color: var(--nb);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}
.nb-svc .peds-pricetable th small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: #64748B; }
.nb-svc .peds-pricetable td { vertical-align: top; }
@media (max-width: 600px) { .nb-svc .peds-btn { padding-left: 18px; padding-right: 18px; white-space: nowrap; } }

/* the team, in one solid blue card */
.nb-team { margin-top: clamp(14px, 1.6vw, 22px); }
.nb-team .peds-h2 { margin: 0 0 clamp(20px, 2.4vw, 30px); }
.nb-team__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.4); padding-top: clamp(20px, 2.4vw, 30px); }
@media (max-width: 760px) { .nb-team__cols { grid-template-columns: 1fr; } }
.nb-team__cols .peds-h3 { font-size: clamp(22px, 2vw, 27px); margin: 0 0 8px; }
.nb-team__cols p { font-size: clamp(15px, 1.2vw, 16.5px); line-height: 1.65; color: rgba(255, 255, 255, 0.92); margin: 0; }

/* ---- sleep consulting: one card; packages are rows, as on the membership page ---- */
.nb-sleep-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .nb-sleep-intro { grid-template-columns: 1fr; } }
.nb-sleep-intro .peds-h2 { margin-bottom: 10px; }
.nb-sleep-intro__lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; color: #51607A; margin: 0; }
.nb-sleep-intro__body p { font-size: 15px; line-height: 1.65; color: #475569; margin: 0 0 12px; }
.nb-sleep-intro__body p:last-child { margin-bottom: 0; }

.nb-pkgs { margin-top: clamp(26px, 3.2vw, 40px); }
.nb-pkgs .peds-mtier:first-child { border-top: 1px solid rgba(91, 163, 208, 0.32); padding-top: clamp(26px, 3.2vw, 40px); }
.nb-pkgs .peds-ztier__name { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 10px; }
.nb-pkgs .peds-ztier__who { font-size: clamp(15px, 1.2vw, 16.5px); line-height: 1.6; color: #475569; margin-bottom: 14px; }
.nb-flag {
  display: inline-flex; align-items: center; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--nb); color: var(--nb);
  font-family: "DM Sans", "Inter", system-ui, sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.nb-flag--world { margin: 14px 0 0; }
.nb-pkg__limited { font-size: 14px; font-weight: 700; color: #51607A; margin: 0 0 4px; }
.nb-pkgs .peds-ztier__list { display: block; }
.nb-pkgs .peds-ztier__list li { font-size: 15.5px; line-height: 1.45; padding-left: 30px; margin: 0 0 12px; break-inside: avoid; }
.nb-pkgs .peds-ztier__list li::before { width: 18px; height: 18px; background-size: 11px; top: 2px; background-color: var(--nb); }
@media (min-width: 1100px) { .nb-list2 { columns: 2; column-gap: 32px; } }
.nb-pkg__notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; margin-top: 10px; padding-top: 20px; border-top: 1px solid rgba(91, 163, 208, 0.32); }
@media (max-width: 700px) { .nb-pkg__notes { grid-template-columns: 1fr; } }
.nb-pkg__notes .peds-ztier__plus { margin: 0 0 8px; }
.nb-pkg__notes p:not(.peds-ztier__plus) { font-size: 14.5px; line-height: 1.55; color: #475569; margin: 0; }
.nb-pkg__fine { font-size: 13.5px; line-height: 1.5; color: #64748B; margin: 6px 0 0; }
.nb-approach p { font-size: clamp(15px, 1.3vw, 17px); line-height: 1.65; color: #475569; margin: 0 0 10px; }
.nb-approach p:last-child { margin-bottom: 0; }

/* ---- reviews: one rating line, then the quotes ---- */
.nb-reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; }
.nb-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; white-space: nowrap; font-family: "DM Sans", "Inter", system-ui, sans-serif; font-weight: 700; font-size: 15px; color: #2C3A4F; margin: 0; }
.nb-rating a { color: #5BA3D0; }
.nb-stars { color: var(--nb); letter-spacing: 2px; font-size: 18px; line-height: 1; }
.nb-reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 1100px) { .nb-reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .nb-reviews { grid-template-columns: 1fr; } }
.nb-review { display: flex; flex-direction: column; gap: 12px; margin: 0;
  background: #F5F1E8; border: 1.5px solid #5BA3D0; border-radius: var(--peds-r); padding: clamp(22px, 2.2vw, 28px); }
.nb-review blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: #2C3A4F; }
.nb-review .nb-stars { font-size: 16px; }
.nb-review figcaption { margin-top: auto; padding-top: 6px; font-family: "DM Sans", "Inter", system-ui, sans-serif; font-size: 14px; font-weight: 800; color: #1F2A37; }
.nb-review figcaption span { display: block; font-size: 12.5px; font-weight: 600; color: #64748B; margin-top: 2px; }

/* ---- about Emily: the site's team split, then three short columns ---- */
.nb-about-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); }
@media (max-width: 860px) { .nb-about-more { grid-template-columns: 1fr; } }
.nb-about-more p { font-size: 15px; line-height: 1.65; color: #475569; margin: 0 0 10px; }
.nb-about-more p:last-child { margin-bottom: 0; }
.nb-sign { margin: clamp(22px, 2.6vw, 32px) 0 0; padding-top: clamp(18px, 2vw, 24px); border-top: 1px solid rgba(91, 163, 208, 0.32);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.nb-sign p { margin: 0; }
.nb-sign__line { font-family: "Bookmania", "Cormorant Garamond", Georgia, serif; font-size: clamp(20px, 1.9vw, 26px); color: var(--nb); }
.nb-sign__name { font-size: 14px; font-weight: 700; color: #51607A; }

/* inquiry */
.nb-contact-note { font-size: 13.5px; line-height: 1.5; color: #51607A; margin: 12px 0 0; }

/* anchored sections clear the fixed nav island */
.nb-page [id] { scroll-margin-top: 120px; }

/* phones: the site's phone spacing pulls every first band up to 8px because its
   page headers are solid cards that sit under the nav bar. This hero is a cream
   outline card, so it starts below the bar instead. */
@media (max-width: 767px) {
  main.nb-page.peds-mpage > section.peds-mband.peds-mband--first { padding-top: calc(var(--peds-mnav-h, 77px) + 16px) !important; }
}
