/* ═══════════════════════════════════════════════════
   FLOATING NAV + SIDE NAVIGATION
   Shared across all pages
   ═══════════════════════════════════════════════════ */

/* ═══ HIDE HEADER & MOBILE NAV ═══ */
.header { display: none !important; }
.nav-mobile { display: none !important; }

/* ═══ FLOATING BUTTONS ═══ */
.float-menu-btn {
  position: fixed;
  top: 1.75rem;
  left: 2rem;
  z-index: 1000;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.3s ease;
}
.float-menu-btn__icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.float-menu-btn__icon span {
  display: block;
  height: 2px;
  background: #0D3862;
  border-radius: 1px;
  transition: all 0.3s ease;
}
.float-menu-btn__icon span:nth-child(1) { width: 28px; }
.float-menu-btn__icon span:nth-child(2) { width: 20px; }
.float-menu-btn__icon span:nth-child(3) { width: 24px; }
.float-menu-btn:hover .float-menu-btn__icon span { width: 28px; }
.float-menu-btn__label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0D3862;
  transition: color 0.3s ease;
}
.float-menu-btn:hover .float-menu-btn__label { color: #C4122F; }

.float-search-btn {
  position: fixed;
  top: 1.75rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #0D3862;
  padding: 0;
  transition: color 0.3s ease;
}
.float-search-btn:hover { color: #C4122F; }
.float-search-btn__label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* On dark sections — switch to white */
.float-menu-btn.on-dark .float-menu-btn__icon span { background: #fff; }
.float-menu-btn.on-dark .float-menu-btn__label { color: #fff; }
.float-menu-btn.on-dark:hover .float-menu-btn__label { color: #C4122F; }
.float-search-btn.on-dark { color: #fff; }
.float-search-btn.on-dark:hover { color: #C4122F; }
.float-search-btn.on-dark .float-search-btn__label { color: #fff; }

/* ═══ SIDE NAVIGATION ═══ */
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  pointer-events: none;
}
.side-nav--open { pointer-events: auto; }

.side-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 56, 98, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.side-nav--open .side-nav__backdrop { opacity: 1; pointer-events: auto; }

.side-nav__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 1100px;
  height: 100%;
  background: #FBF3DF;
  box-shadow: 30px 0 80px rgba(0,0,0,0.15);
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 2.5rem 4rem 2rem;
  z-index: 10;
  pointer-events: auto;
}
.side-nav__header a img { margin-left: -2px; }
.side-nav--open .side-nav__panel { transform: translateX(0); }
.side-nav--peek .side-nav__panel { transform: translateX(calc(-100% + 10px)); }

.side-nav__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.side-nav__close {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #0D3862; transition: color 0.2s;
  padding: 0.5rem 0;
}
.side-nav__close:hover { color: #C4122F; }

.side-nav__body {
  flex: 1;
  display: flex;
  gap: 4rem;
  align-items: center;
  min-height: 0;
}
.side-nav__col-pages { flex: 1; }
.side-nav__col-pillars { flex: 1; }

.side-nav__subtitle {
  font-family: var(--font-mono, var(--font-sans)); font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: #C4122F; margin-bottom: 1.5rem; display: block;
}

.side-nav__list {
  list-style: none; padding: 0; margin: 0;
}
.side-nav__item {
  margin-bottom: 0.4rem;
  opacity: 0; transform: translateX(-20px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.side-nav--open .side-nav__item { opacity: 1; transform: translateX(0); }
.side-nav--open .side-nav__item:nth-child(1) { transition-delay: 0.08s; }
.side-nav--open .side-nav__item:nth-child(2) { transition-delay: 0.12s; }
.side-nav--open .side-nav__item:nth-child(3) { transition-delay: 0.16s; }
.side-nav--open .side-nav__item:nth-child(4) { transition-delay: 0.20s; }
.side-nav--open .side-nav__item:nth-child(5) { transition-delay: 0.24s; }
.side-nav--open .side-nav__item:nth-child(6) { transition-delay: 0.28s; }
.side-nav--open .side-nav__item:nth-child(7) { transition-delay: 0.32s; }
.side-nav--open .side-nav__item:nth-child(8) { transition-delay: 0.36s; }
.side-nav--open .side-nav__item:nth-child(9) { transition-delay: 0.40s; }

.side-nav__link {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  color: #0D3862 !important;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
  line-height: 1.3;
}
.side-nav__link:hover { color: #C4122F !important; padding-left: 6px; }
.side-nav__link--active { color: #C4122F !important; }

.side-nav__pill-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.side-nav__pill-card {
  display: flex; align-items: center; gap: 1rem;
  text-decoration: none;
  background: #fff;
  border: 1px solid #E8E0D0;
  border-left: 4px solid var(--pill-color, #C9D4DB);
  border-radius: 4px;
  padding: 0.9rem 1.25rem;
  transition: all 0.25s ease;
}
.side-nav__pill-card:hover {
  border-left-width: 6px;
  box-shadow: 0 4px 12px rgba(13,56,98,0.08);
  transform: translateX(4px);
}
.side-nav__pill-icon {
  width: 32px; height: 32px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.side-nav__pill-icon svg { width: 18px; height: 18px; }
.side-nav__pill-icon img { width: 22px; height: 22px; object-fit: contain; }
.side-nav__pill-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 400;
  color: #0D3862 !important;
  line-height: 1.2;
}
.side-nav__pill-card:hover .side-nav__pill-name { color: #C4122F !important; }

.side-nav__footer {
  flex-shrink: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(13,56,98,0.1);
}
.side-nav__contact {
  font-size: 0.8rem; color: #6D7F89; line-height: 1.6;
  font-family: var(--font-sans);
}
.side-nav__contact a { color: #0D3862; text-decoration: none; }
.side-nav__contact a:hover { color: #C4122F; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Tablet & Phone
   ═══════════════════════════════════════════════════ */

/* Tablet (≤1024px) — wider panel, tighter padding, stack columns vertically */
@media (max-width: 1024px) {
  .side-nav__panel {
    width: 92%;
    padding: 2rem 2.5rem 1.5rem;
  }
  .side-nav__body {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
    overflow-y: auto;
  }
  .side-nav__col-pages,
  .side-nav__col-pillars { flex: none; }
}

/* Phone (≤768px) — full-width panel, smaller padding, font scaling */
@media (max-width: 768px) {
  .float-menu-btn {
    top: 1rem;
    left: 1rem;
  }
  .float-search-btn {
    top: 1rem;
    right: 1rem;
  }
  .float-menu-btn__label,
  .float-search-btn__label {
    display: none;
  }
  .side-nav__panel {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 1.5rem 1rem;
  }
  .side-nav__header a img {
    height: 64px !important;
    margin-left: 0 !important;
  }
  .side-nav__link {
    font-size: 1.25rem !important;
  }
  .side-nav__subtitle {
    margin-bottom: 1rem;
  }
  .side-nav__body {
    gap: 1.5rem;
  }
  .side-nav__pill-name {
    font-size: 0.95rem;
  }
  .side-nav__contact {
    font-size: 0.75rem;
  }
}

/* Tiny phones (≤380px) */
@media (max-width: 380px) {
  .side-nav__panel {
    padding: 1.25rem 1rem 1rem;
  }
}
