/* Design tokens for nav + footer (also used by injected header.html). Pages that only
   include layout.css (e.g. contact-us) need these; otherwise var(--muted) etc. are
   invalid and nav text inherits body color (e.g. white on a light bar). */
:root {
  --indigo: #6366f1;
  --indigo-dark: #4f46e5;
  --lavender: #f5f3ff;
  --cream: #fdfcf9;
  --black: #0a0a0f;
  --white: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: rgba(255, 255, 255, 0.14);
  --border-mid: rgba(255, 255, 255, 0.24);
}

/* Shared navigation styles (from index_new) */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(253,252,249,0.92);
  backdrop-filter: blur(16px);
  z-index: 1000;
  padding: 0 48px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(99,102,241,0.08);
  box-shadow: 0 1px 20px rgba(0,0,0,0.04);
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 24px; font-weight: 400;
  color: var(--indigo);
  letter-spacing: -0.5px;
  cursor: pointer;
}
#navLinks {
  display: flex; gap: 32px; align-items: center;
}
#navLinks a {
  font-size: 14px; font-weight: 500;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
#navLinks a:hover { color: var(--indigo); }
#navLinks .btn-nav {
  background: var(--indigo);
  color: white;
  padding: 12px 24px;
  border-radius: 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.35);
}
#navLinks .btn-nav:hover,
#navLinks .btn-nav:focus-visible {
  background: var(--indigo-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.45);
}

/* Desktop ages dropdown */
#navLinks .dropdown {
  position: relative;
}
#navLinks .dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
#navLinks .dropdown-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}
#navLinks .dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}
#navLinks .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  background: #ffffff;
  border: 1px solid rgba(99,102,241,0.12);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  padding: 8px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 1200;
  pointer-events: none;
}
#navLinks .dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 16px;
}
#navLinks .dropdown:hover .dropdown-menu,
#navLinks .dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
#navLinks .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
}
#navLinks .dropdown-item:hover {
  background: rgba(99,102,241,0.08);
  color: var(--indigo);
}
#navLinks .dropdown-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
#navLinks .dropdown-item .dot.infancy { background: #6366F1; }
#navLinks .dropdown-item .dot.toddler { background: #EC4899; }
#navLinks .dropdown-item .dot.preschool { background: #10B981; }
#navLinks .dropdown-item .dot.school { background: #8B5CF6; }
#backBtn {
  display: none; align-items: center; gap: 8px;
  background: none; border: 1.5px solid rgba(99,102,241,0.25);
  color: var(--indigo); padding: 8px 18px;
  border-radius: 100px; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all 0.2s;
}
#backBtn:hover { background: var(--lavender); border-color: var(--indigo); }
#backBtn svg { width: 16px; height: 16px; }

/* Age nav tabs (used in header) */
#ageTabs {
  display: none; align-items: center; gap: 4px;
  background: #F3F4F6; border-radius: 10px; padding: 3px;
}
#ageTabs.visible { display: flex; }
.age-tab {
  padding: 7px 16px; border-radius: 8px; border: none;
  background: transparent; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: all 0.2s;
}
.age-tab.active, .age-tab:hover {
  background: var(--indigo); color: white;
}

/* Mobile nav */
.nav-hamburger {
  display: none;
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(248,250,252,0.9);
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 6px 0;
}
.nav-hamburger span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform .2s, opacity .2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 68px 0 auto 0;
  background: rgba(15,23,42,0.98);
  backdrop-filter: blur(16px);
  padding: 18px 20px 20px;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(248,250,252,0.96);
  text-decoration: none;
  font-size: 15px;
  padding: 8px 4px;
}
.mobile-menu a.active {
  color: var(--indigo);
  font-weight: 600;
}

/* Mobile: Ages nested under expandable row */
.mobile-nav-submenu {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  align-items: stretch;
  flex-shrink: 0;
}
.mobile-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  gap: 10px;
  background: none;
  border: none;
  color: rgba(248, 250, 252, 0.96);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 4px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.mobile-submenu-toggle.active {
  color: var(--indigo);
  font-weight: 600;
}
.mobile-submenu-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.2s ease;
}
.mobile-nav-submenu.open .mobile-submenu-chevron {
  transform: rotate(180deg);
}
.mobile-submenu-items {
  display: none;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  gap: 2px;
  padding: 4px 0 8px 14px;
  margin: 0 0 4px 4px;
  border-left: 2px solid rgba(148, 163, 184, 0.35);
}
.mobile-nav-submenu.open .mobile-submenu-items {
  display: flex;
}
.mobile-submenu-items .mobile-submenu-link {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  color: rgba(248, 250, 252, 0.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  padding: 6px 4px;
}
.mobile-submenu-link.active {
  color: var(--indigo);
  font-weight: 600;
}

.mobile-cta-row {
  display: flex; gap: 10px; margin-top: 10px;
}
.btn-login-mobile,
.btn-nav-mobile {
  flex: 1;
  border-radius: 999px;
  padding: 10px 0;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.btn-login-mobile {
  background: transparent;
  color: rgba(248,250,252,0.96);
  border: 1px solid rgba(148,163,184,0.6);
}
.btn-nav-mobile {
  background: var(--indigo);
  color: white;
}
.mobile-cta-row a {
  border-bottom: none;
}

/* Header responsive behavior */
@media (max-width: 980px) {
  nav {
    padding: 0 20px;
  }

  #navLinks {
    display: none;
  }

  #ageTabs {
    display: none !important;
  }

  #backBtn {
    display: none !important;
  }

  .nav-hamburger {
    display: inline-flex;
  }
}

/* Footer shell and layout (from index_new) */
.zevo-footer {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.zevo-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(99,102,241,.55) 35%,
    rgba(99,102,241,.55) 65%,
    transparent 100%);
}
.f-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 64px 72px 52px;
  max-width: 1280px;
  margin: 0 auto;
}

.f-top-left { display: flex; flex-direction: column; gap: 32px; }

.f-nav { list-style: none; display: flex; gap: 36px; flex-wrap: wrap; }
.f-nav a {
  font-size: 15px; font-weight: 700;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  transition: color .2s;
}
.f-nav a:hover { color: #fff; }

.f-stores { display: flex; gap: 12px; flex-wrap: wrap; }
.f-store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 14px;
  background: rgba(255,255,255,.05);
  border: 1.5px solid var(--border-mid);
  border-radius: 100px;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
  box-shadow: 0 2px 14px rgba(0,0,0,.28);
}
.f-store-btn:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.36);
  transform: translateY(-1px);
}
.f-store-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.f-store-text { display: flex; flex-direction: column; line-height: 1.25; }
.f-store-text small {
  font-size: 10px; color: rgba(255,255,255,.48);
  letter-spacing: .5px; font-weight: 400;
}
.f-store-text strong {
  font-size: 14px; font-weight: 700;
  color: #fff; letter-spacing: .1px;
}

.f-logo {
  font-family: 'Fraunces', serif;
  font-size: clamp(52px, 6.5vw, 80px);
  font-weight: 400; line-height: 1;
  color: #fff; letter-spacing: -2px;
  user-select: none; flex-shrink: 0;
}
.f-logo .dot { color: var(--indigo); }

.f-hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 72px;
}

.f-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 72px 30px;
  max-width: 1280px; margin: 0 auto;
}

.f-socials { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.f-social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1.5px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
  box-shadow: 0 2px 10px rgba(0,0,0,.22);
}
.f-social-btn:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-2px);
}

.f-phone {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px 8px 12px;
  border: 1.5px solid rgba(99,102,241,.35);
  border-radius: 100px;
  text-decoration: none;
  color: var(--indigo);
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
}
.f-phone:hover {
  background: rgba(15,23,42,.9);
  color: #E5E7EB;
}

.f-legal {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.f-legal li a {
  display: block; padding: 3px 12px;
  font-size: 11.5px; font-weight: 500;
  color: var(--muted);
  text-decoration: none; text-align: center;
  white-space: nowrap;
  transition: color .2s;
}
.f-legal li a:hover { color: rgba(255,255,255,.85); }

.f-copy {
  font-size: 11.5px; font-weight: 500;
  color: rgba(255,255,255,.26);
  white-space: nowrap;
}

/* Footer responsive tweaks */
@media (max-width: 960px) {
  .f-top    { flex-direction: column-reverse; align-items: flex-start; padding: 48px 32px 40px; gap: 24px; }
  .f-hr     { margin: 0 32px; }
  .f-bottom { padding: 20px 32px 28px; gap: 16px; }
}
@media (max-width: 620px) {
  .f-top    { padding: 40px 20px 32px; }
  .f-hr     { margin: 0 20px; }
  .f-bottom { padding: 18px 20px 24px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .f-nav    { gap: 20px; }
  .f-legal li a { padding: 3px 8px; font-size: 11px; }
  .f-copy   { font-size: 11px; }
}

