// ============================================
// Hero shortcut tabs — sits directly under the hero.
// Two side-by-side buttons that smooth-scroll to the matching
// section. Both sections (#itineraries, #catalog) stay visible
// at all times.
// ============================================
function HeroTabs() {
const { useMS } = window.MS_CTX;
const ctx = useMS();
const lang = ctx.lang || 'no';
const tx = (en, no, fr) => lang === 'no' ? no : lang === 'fr' ? fr : en;
const go = (id) => {
document.getElementById(id)?.scrollIntoView({ behavior: 'smooth', block: 'start' });
};
const Tab = ({ id, label, sub }) => (
);
return (
);
}
window.MS_HeroTabs = HeroTabs;