/* ── NAV ────────────────────────────────────────────────────────── */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,240,232,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}
#nav.scrolled {
  border-bottom-color: rgba(107,127,94,.18);
  box-shadow: 0 2px 20px rgba(74,92,63,.09);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  padding: 0;
}
.nav-logo img { height: 42px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-link {
  font-family: var(--font-ui);
  font-size: .92rem;
  font-weight: 400;
  color: var(--bark);
  padding: 6px 16px;
  border-radius: var(--radius);
  letter-spacing: .03em;
  transition: all .18s;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active { color: var(--olive); background: rgba(107,127,94,.11); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.hamburger { display: none; padding: 6px; }

@media (max-width: 860px) {
  .nav-links         { display: none; }
  .hamburger         { display: flex; }
  .nav-book-desktop  { display: none !important; }
}

/* ── MOBILE MENU ────────────────────────────────────────────────── */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--olive);
  flex-direction: column;
  padding: 24px;
  animation: slideRight .3s ease;
}
#mobile-menu.open { display: flex; }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}
.mobile-menu-header img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.mobile-close { color: var(--cream); }

.mobile-nav { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: rgba(245,240,232,.85);
  padding: 10px 0;
  border-bottom: 1px solid rgba(245,240,232,.1);
  text-align: left;
  transition: color .2s;
}
.mobile-nav-link:hover { color: var(--cream); }

/* ── PAGE HEADER ────────────────────────────────────────────────── */
.page-header {
  background: linear-gradient(160deg, var(--olive), #3a4a30);
  min-height: clamp(160px, 20vw, 240px);
  display: flex;
  align-items: flex-start;
  padding-top: clamp(24px, 3.5vw, 44px);
  position: relative;
  overflow: hidden;
}
.page-header__content {
  position: relative;
  width: 100%;
  max-width: var(--max-w-md);
  margin: 0 auto;
  padding: 0 var(--px);
}
.page-header h1 {
  color: var(--cream);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.1;
}
.page-header p {
  font-style: italic;
  color: rgba(245,240,232,.65);
  margin-top: 8px;
  font-size: .95rem;
}
.page-header__branch {
  position: absolute;
  bottom: 12px;
  left: clamp(24px, calc((100% - 1000px) / 2 + 24px), 50%);
  width: clamp(80px, 18vw, 200px);
  line-height: 0;
  opacity: .16;
}

/* ── FOOTER ─────────────────────────────────────────────────────── */
#footer {
  background: var(--olive);
  color: var(--cream);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(245,240,232,.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  border-radius: 50%;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: .75;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-wordmark {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .88;
  display: block;
}
.footer-tagline {
  font-family: var(--font-ui);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245,240,232,.4);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}
.footer-contact-link {
  font-family: var(--font-ui);
  font-size: .86rem;
  color: rgba(245,240,232,.65);
  transition: color .2s;
}
.footer-contact-link:hover { color: var(--cream); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--px);
  text-align: center;
  font-family: var(--font-ui);
  font-size: .72rem;
  color: rgba(245,240,232,.35);
  letter-spacing: .05em;
}
@media (max-width: 768px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-contact { align-items: flex-start; }
  /* Push footer above mobile book bar */
  #footer { margin-bottom: 64px; }
}

/* ── MOBILE BOOK BAR ────────────────────────────────────────────── */
#mobile-book-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--warm-white);
  border-top: 1px solid rgba(107,127,94,.2);
  padding: 10px 16px;
  box-shadow: var(--shadow-up);
}
.mobile-book-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-book-inner p {
  font-style: italic;
  font-size: .9rem;
  color: var(--olive);
}

@media (max-width: 768px) {
  #mobile-book-bar { display: block; }
}
