/* Shared public-site enhancements: accessibility, client information, and responsive polish. */
:root {
  --bab-ink: var(--ink, #33322e);
  --bab-muted: var(--muted, #737168);
  --bab-sage: var(--sage, #7d8f72);
  --bab-sage-deep: var(--sage-deep, #5f7156);
  --bab-sage-tint: var(--sage-tint, #eef0e9);
  --bab-blush: var(--blush, #e3b3a6);
  --bab-blush-deep: var(--blush-deep, #c67b6d);
  --bab-blush-bg: var(--blushbg, #f9efeb);
  --bab-cream: var(--cream, #fdfaf5);
  --bab-cream-2: var(--cream2, #f7f2ea);
  --bab-line: var(--line, #e9dfd3);
}

html { scroll-behavior: smooth; }
body { overflow-wrap: break-word; }

.bab-skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 99999;
  transform: translateY(-150%);
  background: #fff;
  color: var(--bab-ink);
  border: 2px solid var(--bab-sage-deep);
  border-radius: 10px;
  padding: 11px 16px;
  font: 700 13px/1.2 Inter, Arial, sans-serif;
  text-decoration: none;
}
.bab-skip-link:focus { transform: none; }

.sr-only,
.bab-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 3px solid rgba(95, 113, 86, .42) !important;
  outline-offset: 3px !important;
}

button,
.btn,
.g-read,
.cat,
input,
select,
textarea { min-height: 44px; }
.opt { width: 100%; color: inherit; font-family: inherit; }
.bab-testimonial-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bab-sage-tint);
  color: var(--bab-sage-deep);
  font: 700 12px/1 Inter, Arial, sans-serif;
}

#gh .gh-burger {
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
}
#gh .gh-links { gap: 15px; }
#gh .gh-links > a { white-space: nowrap; }
#gh .gh-mobile a { min-height: 44px; box-sizing: border-box; }

footer a[aria-label] {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
}
footer input,
footer button { min-height: 44px; }

.bab-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 58px 22px;
  box-sizing: border-box;
}
.bab-section--soft {
  max-width: none;
  background: var(--bab-sage-tint);
}
.bab-section--soft > .bab-inner {
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
}
.bab-kicker {
  color: var(--bab-blush-deep);
  font: 700 11px/1.2 Inter, Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.bab-section h2,
.bab-client-page h1,
.bab-client-page h2,
.bab-client-page h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  color: var(--bab-ink);
}
.bab-section h2 {
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.15;
  margin: 0 0 12px;
}
.bab-lead {
  max-width: 720px;
  color: var(--bab-muted);
  font: 400 15px/1.75 Inter, Arial, sans-serif;
  margin: 0 0 28px;
}
.bab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.bab-card {
  background: #fff;
  border: 1px solid var(--bab-line);
  border-radius: 16px;
  padding: 23px;
  box-shadow: 0 7px 22px rgba(65, 56, 46, .045);
}
.bab-card--blush { background: var(--bab-blush-bg); }
.bab-card--cream { background: var(--bab-cream-2); }
.bab-card h3 {
  font: 600 17px/1.3 "Playfair Display", Georgia, serif;
  margin: 0 0 8px;
  color: var(--bab-ink);
}
.bab-card p,
.bab-card li {
  color: var(--bab-muted);
  font: 400 13.5px/1.65 Inter, Arial, sans-serif;
}
.bab-card p { margin: 0; }
.bab-card ul { margin: 10px 0 0; padding-left: 18px; }
.bab-card li + li { margin-top: 7px; }
.bab-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px;
  border-radius: 50%;
  background: var(--bab-sage-tint);
  color: var(--bab-sage-deep);
  font-size: 20px;
}
.bab-note {
  margin-top: 22px;
  padding: 17px 19px;
  border-left: 4px solid var(--bab-sage);
  border-radius: 0 12px 12px 0;
  background: var(--bab-sage-tint);
  color: #55584f;
  font: 400 13.5px/1.65 Inter, Arial, sans-serif;
}
.bab-note strong { color: var(--bab-ink); }
.bab-link {
  color: var(--bab-sage-deep);
  font-weight: 700;
  text-underline-offset: 3px;
}
.bab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.bab-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--bab-sage-deep);
  border-radius: 999px;
  color: var(--bab-sage-deep);
  font: 700 11px/1 Inter, Arial, sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
}
.bab-action--primary { background: var(--bab-sage); color: #fff; border-color: var(--bab-sage); }

.bab-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: bab-step;
}
.bab-timeline article {
  position: relative;
  padding: 56px 22px 20px;
  border-top: 2px solid #d7ddcf;
}
.bab-timeline article::before {
  counter-increment: bab-step;
  content: counter(bab-step);
  position: absolute;
  top: -18px;
  left: 22px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bab-sage);
  color: #fff;
  font: 700 13px/1 Inter, Arial, sans-serif;
}
.bab-timeline h3 { font-size: 17px; margin: 0 0 7px; }
.bab-timeline p { color: var(--bab-muted); font: 400 13px/1.65 Inter, Arial, sans-serif; margin: 0; }

.bab-form-note,
.bab-form-status {
  color: var(--bab-muted);
  font: 400 12.5px/1.55 Inter, Arial, sans-serif;
}
.bab-form-status { margin-top: 9px; min-height: 20px; }
.bab-form-status[data-state="success"] { color: var(--bab-sage-deep); font-weight: 600; }
.bab-form-status[data-state="error"] { color: #9a3d36; font-weight: 600; }
.bab-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: 14px 0 4px;
  color: var(--bab-muted);
  font: 400 12.5px/1.55 Inter, Arial, sans-serif;
}
.bab-consent input { min-height: 18px; width: 18px; height: 18px; margin: 2px 0 0; }

.bab-mobile-actions { display: none; }

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 4px 0 20px;
  color: var(--bab-muted);
  font: 500 11.5px/1.5 Inter, Arial, sans-serif;
}
.guide-disclaimer {
  margin: 18px 0;
  padding: 13px 15px;
  border-radius: 10px;
  background: var(--bab-cream-2);
  color: var(--bab-muted);
  font: 400 12px/1.55 Inter, Arial, sans-serif;
}
.guide-sources { margin: 24px 0 8px; padding-top: 18px; border-top: 1px solid var(--bab-line); }
.guide-sources h3 { font-size: 18px; margin: 0 0 9px; }
.guide-sources ul { padding-left: 19px; }
.guide-sources li { margin: 7px 0; font: 400 12.5px/1.55 Inter, Arial, sans-serif; }
.guide-sources a { color: var(--bab-sage-deep); }
.guide-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0; }
.guide-actions button {
  border: 1px solid var(--bab-sage-deep);
  border-radius: 999px;
  background: #fff;
  color: var(--bab-sage-deep);
  padding: 0 17px;
  font: 700 10.5px/1 Inter, Arial, sans-serif;
  letter-spacing: .08em;
  cursor: pointer;
}
#g-modal[aria-hidden="true"] { display: none; }
#g-modal[aria-hidden="false"] { display: flex; }
.g-x { min-width: 44px; min-height: 44px; }
.g-read { padding-top: 10px !important; padding-bottom: 10px !important; }

/* New client guide page */
.bab-client-page {
  margin: 0;
  background: var(--bab-cream);
  color: var(--bab-ink);
  font-family: Inter, Arial, sans-serif;
}
.bab-client-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 250, 245, .96);
  border-bottom: 1px solid var(--bab-line);
  backdrop-filter: blur(10px);
}
.bab-client-nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 76px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.bab-client-nav img { width: 165px; height: auto; display: block; }
.bab-client-nav__links { display: flex; align-items: center; gap: 20px; }
.bab-client-nav__links a { color: var(--bab-ink); font: 600 12.5px/1 Inter, Arial, sans-serif; text-decoration: none; }
.bab-client-hero {
  padding: 78px 22px 70px;
  text-align: center;
  background: linear-gradient(135deg, var(--bab-blush-bg), var(--bab-cream) 48%, var(--bab-sage-tint));
}
.bab-client-hero__inner { max-width: 820px; margin: 0 auto; }
.bab-client-hero h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.05; margin: 12px 0 18px; }
.bab-client-hero p { max-width: 680px; margin: 0 auto; color: var(--bab-muted); font-size: 16px; line-height: 1.75; }
.bab-client-jump {
  max-width: 1080px;
  margin: -26px auto 0;
  padding: 0 22px;
  position: relative;
  z-index: 2;
}
.bab-client-jump__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--bab-line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 34px rgba(65, 56, 46, .08);
}
.bab-client-jump a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; color: var(--bab-sage-deep); font-size: 12px; font-weight: 700; text-decoration: none; border-radius: 999px; }
.bab-client-jump a:hover { background: var(--bab-sage-tint); }
.bab-client-footer { margin-top: 30px; background: var(--bab-blush-bg); border-top: 1px solid var(--bab-line); padding: 38px 22px; }
.bab-client-footer__inner { max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--bab-muted); font-size: 12.5px; }
.bab-client-footer a { color: var(--bab-sage-deep); }

@media (max-width: 1080px) {
  #gh .gh-links { gap: 10px; }
  #gh .gh-links > a { font-size: 12px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 66px; }
  header.wrap.hero {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }
  .bab-section { padding: 46px 20px; }
  .bab-section--soft > .bab-inner { width: calc(100% - 40px); }
  .bab-grid { grid-template-columns: 1fr; }
  .bab-timeline { grid-template-columns: 1fr; gap: 8px; }
  .bab-timeline article { border-top: none; border-left: 2px solid #d7ddcf; padding: 8px 10px 28px 48px; }
  .bab-timeline article::before { top: 0; left: -19px; }
  .bab-mobile-actions {
    position: fixed;
    z-index: 9998;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 8px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    background: rgba(253, 250, 245, .97);
    border-top: 1px solid var(--bab-line);
    box-shadow: 0 -8px 24px rgba(55, 48, 42, .09);
  }
  .bab-mobile-actions a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bab-sage-deep);
    border-radius: 999px;
    color: var(--bab-sage-deep);
    font: 700 11px/1 Inter, Arial, sans-serif;
    letter-spacing: .06em;
    text-decoration: none;
  }
  .bab-mobile-actions a:last-child { background: var(--bab-sage); color: #fff; border-color: var(--bab-sage); }
  .bab-client-nav__links { display: none; }
  .bab-client-nav__inner { min-height: 68px; }
  .bab-client-hero { padding: 58px 20px 58px; }
  .bab-client-hero h1 { font-size: 40px; }
  .bab-client-jump { padding: 0 14px; }
  .bab-client-jump__inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .bab-client-jump a { white-space: nowrap; }
}

@media (max-width: 600px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .foot-grid > * { min-width: 0; }
  .foot-grid a,
  .fcontact { overflow-wrap: anywhere; }
}

@media print {
  #gh,
  .bab-client-nav,
  .bab-mobile-actions,
  footer,
  .guide-actions,
  .g-x,
  .g-cta { display: none !important; }
  body { padding: 0 !important; background: #fff !important; }
  #g-modal { position: static !important; display: block !important; background: #fff !important; }
  .g-mcard { max-height: none !important; overflow: visible !important; box-shadow: none !important; border: 0 !important; }
}


/* Keep the floating "Chat with CARE" button visible above the
   mobile quick-action bar (CALL NOW / REQUEST CARE). */
@media (max-width: 760px) {
  a[href^="chat.html"] {
    bottom: calc(78px + env(safe-area-inset-bottom)) !important;
    right: 14px !important;
    z-index: 9999 !important;
  }
}
