/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--royal-darker);
  padding: 48px 0 90px;
}
.footer-top { display: flex; align-items: flex-start; gap: 40px; margin-bottom: 32px; }
.footer-accreditation p { font-size: 1.3rem; color: rgba(255,255,255,0.8); line-height: 1.7; margin: 0 0 8px; }
.footer-accreditation p:last-child { margin-bottom: 0; }
.footer-accreditation a { color: #fff; text-decoration: underline; font-weight: 700; }
.footer-accreditation a:hover { text-decoration: none; }
.footer-availability { font-size: 1.2rem; color: rgba(255,255,255,0.8); margin: 8px 0 0; font-style: italic; }
.footer-divider { height: 1px; background: rgba(255,255,255,0.12); margin-bottom: 24px; border: none; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.footer-copyright { font-size: 1.2rem; color: rgba(255,255,255,0.8); margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-left: auto; }
.footer-links a { font-size: 1.2rem; color: #fff; text-decoration: underline; font-weight: 700; }
.footer-links a:hover { text-decoration: none; }

@media (max-width: 700px) {
  .footer-top { flex-direction: column; gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .footer-links { margin-left: 0; justify-content: center; }
}

/* ── Tooltips ────────────────────────────────────────────────── */

/* Shared tooltip bubble — fixed positioning so it works anywhere in the DOM */
.tooltip-bubble {
  position: fixed; z-index: 9999;
  background: var(--ink); color: #fff;
  font-size: 1.25rem; line-height: 1.55;
  font-family: 'Avenir-Light', 'Avenir', Arial, sans-serif;
  font-weight: normal;
  padding: 10px 14px; border-radius: var(--r);
  max-width: 280px; width: max-content;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0; visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.tooltip-bubble::after {
  content: '';
  position: absolute; left: 50%; bottom: 100%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--ink);
}
.tooltip-bubble.above::after {
  top: 100%; bottom: auto;
  border-bottom-color: transparent;
  border-top-color: var(--ink);
}
.tooltip-bubble.show { opacity: 1; visibility: visible; }

/* Pattern 1 — info icon: solid yellow circle with dark blue i */
.tooltip-wrap {
  display: inline-flex; align-items: center;
  vertical-align: middle; margin-left: 5px; cursor: help;
}
.tooltip-icon {
  width: 16px; height: 16px; flex-shrink: 0;
  background: var(--yellow); border-radius: 50%;
  color: var(--royal-darker);
  transition: background var(--ease);
}
.tooltip-wrap:hover .tooltip-icon { background: var(--yellow-dark); }

/* Pattern 2 — dotted-underline term */
.tooltip-term {
  position: relative; cursor: help;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
}
