/* Grouped top-nav menus for the shared Maternity@Home header (markup: src/maternity/siteChromeMarkup.ts).
   Loaded after the mockup's styles.css; the expanded bar now starts at 1100px instead of 1500px. */
.nav-group { position: relative; }
.nav-group-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; background: none; border: 0; font: inherit; font-size: 16px; line-height: 1.6; color: var(--ink-soft); padding: 10px 6px; border-radius: 8px; cursor: pointer; text-align: left; white-space: nowrap; }
.nav-group-btn:hover { color: var(--navy); background: var(--teal-mist); }
.nav-group.is-current > .nav-group-btn { color: var(--teal); font-weight: 600; }
.nav-caret { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); flex: none; }
.nav-group.open .nav-caret { transform: translateY(2px) rotate(-135deg); }
.nav-menu { display: none; flex-direction: column; padding: 0 0 6px 14px; }
.nav-group.open > .nav-menu { display: flex; }
.nav-links .nav-menu a { display: block; }
.nav-account { border-top: 1px solid var(--line-soft); margin-top: 8px; padding-top: 4px; }
.nav-soon { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 1.6; color: var(--muted); padding: 10px 6px; cursor: default; white-space: nowrap; }
.nav-soon-tag { font-size: 11.5px; line-height: 1.3; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--sand); color: #6a5434; }
@media (min-width: 1100px) {
  .nav-bar { max-width: 1480px; }
  .nav-toggle { display: none; }
  .nav-links, .nav-links.open { display: flex; flex-direction: row; position: static; align-items: center; gap: 2px; padding: 0; box-shadow: none; border: 0; background: none; }
  .nav-links a, .nav-group-btn, .nav-soon { font-size: 14.5px; padding: 8px 8px; width: auto; }
  .nav-links a.nav-cta { margin: 0 0 0 8px; }
  .nav-account { border: 0; margin: 0 0 0 6px; padding: 0; }
  .nav-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 6px; z-index: 60; }
  .nav-menu-end { left: auto; right: 0; }
  .nav-links .nav-menu a { padding: 8px 10px; }
}

/* Shared footer layout (markup: siteFooterHtml in src/maternity/siteChromeMarkup.ts). Overrides the
   mockup's footer rules in styles.css: one column on phones, brand above four link columns on
   tablets, brand and four columns in one row on desktops. */
.site-footer { padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.footer-about { padding-bottom: 20px; }
.footer-about p { max-width: 36ch; margin: 0; font-size: 14.5px; line-height: 1.6; color: #cfdbe4; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; color: #fff; }
.footer-brand .at, .footer-mark { color: #8fd3cb; }
.footer-mark { display: inline-flex; width: 24px; height: 28px; flex: none; }
.footer-col { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0 10px; }
.site-footer .footer-col h2 { margin: 0 0 4px; font-family: var(--sans); font-size: 12.5px; font-weight: 650; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.site-footer .footer-col a { display: flex; align-items: center; min-height: 44px; color: #e6eef3; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.site-footer .footer-col a:hover { color: #fff; }
.footer-note { display: block; margin-top: 6px; font-size: 12.5px; color: #a9bccb; }
.footer-note + a { min-height: 36px; }
.site-footer .footer-fine { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; line-height: 1.6; color: #a9bccb; }
.footer-bottom { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; font-size: 13px; color: #a9bccb; }
.footer-bottom .footer-powered { margin: 0; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); column-gap: 24px; }
  .footer-about { grid-column: 1 / -1; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .footer-col { border-top: 0; padding: 0; }
  .site-footer .footer-col h2 { margin-bottom: 10px; }
  .site-footer .footer-col a { min-height: 0; padding: 4px 0; font-size: 14.5px; }
  .footer-note { margin-top: 10px; }
  .site-footer .footer-note + a { min-height: 0; font-size: 14px; overflow-wrap: normal; }
  .site-footer .footer-fine { margin-top: 36px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); column-gap: 32px; }
  .footer-about { grid-column: auto; padding: 0 16px 0 0; margin: 0; border: 0; }
}
