/* Policy & Play — Brand Stylesheet
   Loaded after each page's inline <style> to override colour variables and fonts.
   Edit this file to update the brand site-wide. */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ── Colour tokens ──────────────────────────────────────────────────────── */
:root {
  --green:       #67BCCF;   /* light blue — links, highlights, borders */
  --green-light: #8ECFDE;
  --green-pale:  #EAF6FB;   /* very light blue — card backgrounds */
  --coral:       #F26E20;   /* orange — primary CTA */
  --coral-light: #F58040;
  --amber:       #F4B13B;   /* amber — badges, stars, accents */
  --navy:        #0A1C30;   /* dark navy — footer, headings only */
  --text:        #2C4A5A;   /* softer blue-grey for body text */
  --muted:       #7A9BAA;   /* softer muted text */
  --border:      #E2EDF2;
  --white:       #FFFFFF;
  --bg:          #F9F5EE;   /* warm cream matching logo background */
  --bg-blue:     #EAF6FB;   /* light blue — section backgrounds */

  /* Extra brand colours */
  --brand-green:  #9CC689;
  --brand-teal:   #67BCCF;
  --brand-orange: #F26E20;
  --brand-amber:  #F4B13B;
  --brand-navy:   #0A1C30;
  --brand-cream:  #FFFBF5;
}

/* ── Typography ─────────────────────────────────────────────────────────── */
body,
input, button, select, textarea {
  font-family: 'Montserrat', sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero h1,
.plan-name,
.card-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.3px;
}

/* ── Logo wordmark ──────────────────────────────────────────────────────── */
.logo {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  font-size: 1.3rem !important;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

/* Hero background is set per-page — no global override */

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn-primary,
.nav-cta,
.price-nudge-btn {
  background: #F26E20 !important;
  border-radius: 10px !important;
}
.btn-primary:hover,
.nav-cta:hover,
.price-nudge-btn:hover {
  background: #F58040 !important;
}

.btn-secondary {
  border-color: rgba(255,255,255,0.5) !important;
  border-radius: 10px !important;
}

/* ── Pricing cards ──────────────────────────────────────────────────────── */
.pricing-card.popular {
  border-color: #67BCCF !important;
  background: #EEF7FA !important;
}

.pricing-card.sub-card {
  border-color: #F26E20 !important;
}

.popular-badge {
  background: #67BCCF !important;
}

/* ── Proof bar ──────────────────────────────────────────────────────────── */
.proof-logo {
  color: #67BCCF !important;
}

/* ── Price nudge bar ────────────────────────────────────────────────────── */
.price-nudge {
  background: #EEF7FA !important;
  border-color: #c0dde8 !important;
}

/* ── Sidebar (dashboard) ────────────────────────────────────────────────── */
.sidebar {
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 0.5rem !important;
}

/* ── Feature icons & section labels ────────────────────────────────────── */
.section-label {
  color: #F26E20 !important;
}

/* ── Scrollbar accent ───────────────────────────────────────────────────── */
::-webkit-scrollbar-thumb {
  background: #67BCCF;
}

/* ── Days Out nav button — teal pill, sits left of Find Childcare ───────── */
.nav-days-out {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: #67BCCF !important;
  color: white !important;
  border: 1px solid #67BCCF !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 0.45rem 1rem !important;
  border-radius: 20px !important;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.nav-days-out:hover {
  background: #8ECFDE !important;
  border-color: #8ECFDE !important;
}

/* Show Days Out alongside Find Childcare on mobile — compact pill */
@media (max-width: 640px) {
  .nav-days-out {
    display: flex !important;
    font-size: 0.75rem !important;
    padding: 0.35rem 0.7rem !important;
  }
}

/* ── Find Childcare nav button — prominent orange pill ──────────────────── */
.nav-find {
  background: #F26E20 !important;
  color: white !important;
  border-color: #F26E20 !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 0.45rem 1rem !important;
  border-radius: 20px !important;
}
.nav-find:hover {
  background: #F58040 !important;
  border-color: #F58040 !important;
  color: white !important;
}

/* ── Days Out & Activities — highlighted in desktop nav ─────────────────── */
.nav-links a[href="/activities-for-parents.html"] {
  color: #F26E20 !important;
  font-weight: 700 !important;
}

/* ── Recommended — amber highlight in desktop nav ───────────────────────── */
.nav-links a[href="/recommended.html"] {
  color: #F4B13B !important;
  font-weight: 700 !important;
}

/* ── Drawer hero: prominent CTA cards at top of mobile drawer ───────────── */
.nav-drawer-hero {
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: #EAF6FB;
  border-bottom: 1px solid #D4EAF5;
  flex-shrink: 0;
}
.drawer-hero-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: white;
  transition: opacity 0.15s;
}
.drawer-hero-btn:hover { opacity: 0.9; }
.drawer-hero-btn-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 0.1rem;
}
.drawer-hero-primary { background: #F26E20; }
.drawer-hero-secondary { background: #67BCCF; }

/* ── Mobile nav: always show Login, hide Get Started (it's in the drawer) ── */
@media (max-width: 860px) {
  /* Keep nav from overflowing on small screens */
  nav { box-sizing: border-box; }
  .nav-inner { gap: 0.5rem; }
  /* Show Find Childcare in the sticky nav bar on mobile — compact */
  .nav-find {
    display: flex !important;
    font-size: 0.75rem !important;
    padding: 0.35rem 0.7rem !important;
  }
}

@media (max-width: 640px) {
  /* Show Login button — override any page-level display:none */
  .nav-login {
    display: none !important;
  }
  /* Hide the Get Started coral CTA — it lives in the mobile drawer */
  .nav-cta { display: none !important; }
  /* Prevent horizontal overflow — must be on html, not body, so iOS Safari
     doesn't treat body as a scroll container (which breaks position:fixed) */
  html { overflow-x: hidden; }
}
