footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 640px) {
  footer .container { padding: 0 20px; }
}
/* ═══════════════════════════════════════════════════════════════
   FJT FOOTER — shared CSS for pages that don't load index.css
   (package pages, journal pages, legal pages, etc.)
   Extracted from index.css so every page gets consistent footer
   styling without loading the entire homepage stylesheet.
   ═══════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════
   CONTACT FORM — consent checkboxes + privacy note
   ═══════════════════════════════════════════ */
.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 14px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.contact-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: var(--gold);
  cursor: pointer;
}
.contact-consent .req { color: rgba(212,175,55,0.85); }
.google-privacy-note a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,175,55,0.3);
}
.google-privacy-note a:hover { border-bottom-color: var(--gold); }
body.light-mode .contact-consent { color: #1a1a1a; }
body.light-mode .google-privacy-note { color: #1a1a1a; }

/* ═══════════════════════════════════════════
   DESTINATION DEEP-LINK GLOW (footer -> homepage)
   ═══════════════════════════════════════════ */
@keyframes destCellGlow {
  0%   { box-shadow: 0 0 0 0 rgba(212,175,55,0); border-color: var(--border); }
  15%  { box-shadow: 0 0 32px 6px rgba(212,175,55,0.55); border-color: var(--gold); }
  70%  { box-shadow: 0 0 32px 6px rgba(212,175,55,0.55); border-color: var(--gold); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); border-color: var(--border); }
}
.dest-cell-glow {
  animation: destCellGlow 2.6s ease;
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════
   FOOTER — full rebuild (dropdowns, socials, legal)
   ═══════════════════════════════════════════ */
footer { background: var(--black); border-top: 1px solid var(--border); padding: 64px 0 max(24px, env(safe-area-inset-bottom)); padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
.footer-main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand { max-width: 280px; }
.footer-logo { height: 48px; width: auto; opacity: 0.9; filter: drop-shadow(0 0 10px rgba(212,175,55,0.3)); margin-bottom: 16px; }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 15px; color: var(--muted); line-height: 1.7; }
.footer-columns { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { min-width: 160px; }
.footer-col-toggle {
  display: flex;
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0 0 16px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
}
.footer-col-arrow { color: var(--gold); font-size: 16px; font-weight: 400; transition: transform 0.3s ease; }
.footer-col.open .footer-col-arrow { transform: rotate(45deg); }
.footer-col-list { display: none; flex-direction: column; gap: 14px; padding-bottom: 4px; }
.footer-col.open .footer-col-list { display: flex; }
.footer-col-list a {
  font-family: 'Jost', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: #cfc9bf;
  text-decoration: none;
  cursor: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-col-list a:hover { color: var(--gold); padding-left: 4px; }

.footer-socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  flex-wrap: nowrap;
  overflow-x: auto;
}
.footer-social-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfc9bf;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  cursor: none;
}
.footer-social-icon svg { width: 16px; height: 16px; }
.footer-social-icon:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-copyright { font-size: 12px; font-weight: 500; color: #cfc9bf; letter-spacing: 0.3px; }
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a {
  font-size: 12px;
  font-weight: 500;
  color: #cfc9bf;
  text-decoration: none;
  letter-spacing: 0.3px;
  cursor: none;
  transition: color 0.3s ease;
}
.footer-legal-links a:hover { color: var(--gold); }

body.light-mode footer { background: #e4e4e2; border-top-color: rgba(0,0,0,0.1); }
body.light-mode .footer-tagline { color: #1a1a1a; }
body.light-mode .footer-col-toggle { color: #0a0a0a; }
body.light-mode .footer-col-list a { color: #1a1a1a; }
body.light-mode .footer-col-list a:hover { color: #7a4f00; }
body.light-mode .footer-socials { border-top-color: rgba(0,0,0,0.1); }
body.light-mode .footer-social-icon { color: #1a1a1a; border-color: rgba(0,0,0,0.15); }
body.light-mode .footer-social-icon:hover { color: #7a4f00; border-color: #7a4f00; }
body.light-mode .footer-bottom { border-top-color: rgba(0,0,0,0.1); }
body.light-mode .footer-copyright { color: #1a1a1a; }
body.light-mode .footer-legal-links a { color: #1a1a1a; }
body.light-mode .footer-legal-links a:hover { color: #7a4f00; }

@media (max-width: 768px) {
  .footer-col-toggle { display: flex; }
  .footer-col-list { display: none; padding-bottom: 14px; }
  .footer-col.open .footer-col-list { display: flex; }
  .footer-main { gap: 32px; }
  .footer-columns { flex-direction: column; gap: 8px; width: 100%; }
  .footer-col { border-bottom: 1px solid var(--border); padding: 14px 0; }
  .footer-socials { gap: 14px; justify-content: center; padding: 24px 4px; flex-wrap: wrap; }
  .footer-social-icon { width: 34px; height: 34px; }
  .footer-social-icon svg { width: 15px; height: 15px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════
   FOOTER — legibility fix (light mode) + desktop compaction
   ═══════════════════════════════════════════ */
body.light-mode .footer-tagline { color: #0a0a0a !important; font-weight: 600 !important; }
body.light-mode .footer-col-toggle { color: #000 !important; font-weight: 800 !important; }
body.light-mode .footer-col-arrow { color: #4a3000 !important; font-weight: 700 !important; }
body.light-mode .footer-col-list a { color: #0a0a0a !important; font-weight: 700 !important; }
body.light-mode .footer-col-list a:hover { color: #4a3000 !important; }
body.light-mode .footer-social-icon { color: #0a0a0a !important; border-color: rgba(0,0,0,0.3) !important; }
body.light-mode .footer-social-icon:hover { color: #4a3000 !important; border-color: #4a3000 !important; }
body.light-mode .footer-copyright { color: #0a0a0a !important; font-weight: 700 !important; }
body.light-mode .footer-legal-links a { color: #0a0a0a !important; font-weight: 700 !important; }
body.light-mode .footer-legal-links a:hover { color: #4a3000 !important; }
body.light-mode .google-privacy-note { color: #0a0a0a !important; font-weight: 600 !important; }
body.light-mode .google-privacy-note a { color: #4a3000 !important; font-weight: 700 !important; }

/* Desktop-only: shrink footer to roughly 30% of its current vertical size */
@media (min-width: 769px) {
  footer { padding: 20px 0 0; }
  .footer-main {
    padding-bottom: 14px;
    gap: 24px;
    align-items: center;
  }
  .footer-brand { max-width: 240px; }
  .footer-logo { height: 30px; margin-bottom: 4px; }
  .footer-tagline { font-size: 14px; }
  .footer-columns { gap: 32px; }
  .footer-col-toggle { padding: 0 0 8px; font-size: 12px; }
  .footer-col-list a { font-size: 14px; }
  .footer-col-list { gap: 8px; padding-bottom: 4px; }
  .footer-socials { padding: 10px 0; gap: 12px; }
  .footer-social-icon { width: 40px; height: 40px; }
  .footer-social-icon svg { width: 18px; height: 18px; }
  .footer-bottom { padding: 10px 0 14px; }
  .footer-copyright { font-size: 13px; }
  .footer-legal-links a { font-size: 13px; }
}
