/* ============================================================
   milford-sound-tours.com — style.css
   Component classes listed in /components.md — do not add ad-hoc.
   ============================================================ */

:root {
    /* Colours — deep fjord teal, warm sand accent */
    --c-ink: #0c2027;
    --c-ink-soft: #3a4a52;
    --c-bg: #ffffff;
    --c-primary: #0e6d6e;
    --c-primary-dark: #084d4e;
    --c-primary-soft: #d6ebeb;
    --c-warm: #f2eadb;
    --c-warm-dark: #e8dbbb;
    --c-muted: #f6f8f8;
    --c-border: #e2e8ea;
    --c-star: #d97706;
    --c-danger: #b91c1c;
    --c-success: #047857;

    /* Spacing scale */
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 16px;
    --s-4: 24px;
    --s-5: 40px;
    --s-6: 64px;
    --s-7: 96px;

    /* Radii */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 22px;

    /* Typography */
    --f-serif: 'Fraunces', Georgia, serif;
    --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

    /* Layout */
    --page-max: 1200px;
}

/* — Reset ————————————————————————————————— */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--c-primary-dark); }

/* — Base ————————————————————————————————— */
.mst-body {
    font-family: var(--f-sans);
    color: var(--c-ink);
    background: var(--c-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--f-serif); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 var(--s-3); }

.mst-container { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--s-4); }
.mst-container--narrow { max-width: 900px; }

.mst-skip {
    position: absolute; left: -9999px; top: 0;
    background: var(--c-ink); color: #fff; padding: var(--s-2) var(--s-3);
    z-index: 999;
}
.mst-skip:focus { left: var(--s-2); top: var(--s-2); }

.mst-only-desktop { display: initial; }
.mst-only-mobile { display: none; }
@media (max-width: 899px) {
    .mst-only-desktop { display: none !important; }
    .mst-only-mobile { display: initial; }
}
.mst-visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.mst-center { text-align: center; }

/* — Header ————————————————————————————————— */
.mst-header {
    background: rgba(255,255,255,0.94);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--c-border);
    position: sticky; top: 0; z-index: 40;
}
.mst-header .mst-container {
    display: flex; align-items: center; gap: var(--s-4);
    padding-top: var(--s-3); padding-bottom: var(--s-3);
}
.mst-brand {
    display: inline-flex; align-items: center; gap: var(--s-2);
    color: var(--c-ink); text-decoration: none; font-weight: 700;
    font-family: var(--f-serif); font-size: 1.15rem;
}
.mst-brand__mark { color: var(--c-primary); font-size: 1.25rem; }
.mst-nav--desktop {
    display: flex; gap: var(--s-4); margin-left: auto;
}
.mst-nav__item {
    position: relative; padding: var(--s-3) 0;
}
.mst-nav__link {
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--c-ink-soft); text-decoration: none; font-weight: 500;
    padding: var(--s-1) 0;
}
.mst-nav__link:hover, .mst-nav__item:hover .mst-nav__link { color: var(--c-primary); }
.mst-nav__link--noref { cursor: default; }
.mst-nav__caret { font-size: 0.7em; color: var(--c-ink-soft); transition: transform .15s; }
.mst-nav__item:hover .mst-nav__caret { transform: rotate(-180deg); color: var(--c-primary); }

.mst-nav__dropdown {
    position: absolute; top: 100%; left: 0;
    min-width: 260px;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md);
    box-shadow: 0 12px 32px rgba(12,32,39,0.12);
    padding: var(--s-2) 0;
    opacity: 0; transform: translateY(6px); pointer-events: none;
    transition: opacity .15s, transform .15s;
    z-index: 50;
}
.mst-nav__item:hover .mst-nav__dropdown,
.mst-nav__item:focus-within .mst-nav__dropdown {
    opacity: 1; transform: translateY(0); pointer-events: auto;
}
.mst-nav__dropdown a {
    display: block; padding: 10px var(--s-3);
    color: var(--c-ink); text-decoration: none; font-weight: 500; font-size: 0.95rem;
    border-left: 3px solid transparent;
}
.mst-nav__dropdown a:hover {
    background: var(--c-primary-soft); color: var(--c-primary-dark);
    border-left-color: var(--c-primary);
}
.mst-nav__dropdown-lead {
    color: var(--c-primary-dark) !important; font-weight: 700 !important;
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 4px; padding-bottom: 10px !important;
}

/* Burger button (mobile only) */
.mst-burger {
    display: none;
    background: transparent; border: 0; padding: 8px;
    cursor: pointer; margin-left: auto;
    width: 44px; height: 44px;
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.mst-burger__bar {
    display: block; width: 24px; height: 2px;
    background: var(--c-ink); border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.mst-burger[aria-expanded="true"] .mst-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mst-burger[aria-expanded="true"] .mst-burger__bar:nth-child(2) { opacity: 0; }
.mst-burger[aria-expanded="true"] .mst-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel (revealed by burger) */
.mst-mobile-nav-wrap { display: none; }
.mst-mobile-nav-wrap.is-open { display: block; }
.mst-nav--mobile { display: flex; flex-direction: column; width: 100%; gap: 0; }
.mst-nav__mobile-group { border-bottom: 1px solid var(--c-border); }
.mst-nav__mobile-group summary {
    padding: var(--s-3) 0; cursor: pointer; user-select: none;
    font-weight: 600; color: var(--c-ink);
    display: flex; justify-content: space-between; align-items: center;
    list-style: none;
}
.mst-nav__mobile-group summary::-webkit-details-marker { display: none; }
.mst-nav__mobile-group[open] summary { color: var(--c-primary-dark); }
.mst-nav__mobile-group[open] summary span { transform: rotate(-180deg); display: inline-block; transition: transform .15s; }
.mst-nav__mobile-group a {
    display: block; padding: var(--s-2) 0 var(--s-2) var(--s-3);
    color: var(--c-ink-soft); text-decoration: none; font-size: 0.95rem;
}
.mst-nav__mobile-group a:hover { color: var(--c-primary); }

/* Language-switcher visibility per viewport */
.mst-langswitch-slot--mobile { display: none; }
.mst-langswitch-slot--mobile .mst-langswitch { margin: var(--s-3) 0 var(--s-2); }
.mst-langswitch-slot--mobile .mst-langswitch__menu { position: static; box-shadow: none; border: 0; padding: var(--s-2) 0 0; margin-top: 0; min-width: 0; }
.mst-langswitch-slot--mobile .mst-langswitch__link { padding: 10px var(--s-2); }

@media (max-width: 899px) {
    .mst-nav--desktop { display: none !important; }
    .mst-burger { display: flex; }
    .mst-header .mst-container { flex-wrap: wrap; gap: var(--s-2); align-items: center; }
    .mst-brand { margin-right: auto; }
    .mst-langswitch-slot--desktop { display: none; }
    .mst-langswitch-slot--mobile { display: block; }
    .mst-mobile-nav-wrap { flex-basis: 100%; }
    .mst-mobile-nav-wrap.is-open { display: block; border-top: 1px solid var(--c-border); padding-top: var(--s-2); }
}
.mst-langswitch { margin-left: var(--s-3); position: relative; }
.mst-langswitch__dropdown { position: relative; }
.mst-langswitch__dropdown summary {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 10px; border-radius: var(--r-sm);
    background: var(--c-muted); border: 1px solid var(--c-border);
    color: var(--c-ink); font-weight: 600; font-size: 0.85rem;
    cursor: pointer; list-style: none; user-select: none;
    transition: background .15s, border-color .15s;
}
.mst-langswitch__dropdown summary::-webkit-details-marker { display: none; }
.mst-langswitch__dropdown summary:hover { background: var(--c-primary-soft); border-color: var(--c-primary); color: var(--c-primary-dark); }
.mst-langswitch__dropdown[open] summary { background: var(--c-primary-soft); border-color: var(--c-primary); color: var(--c-primary-dark); }

.mst-langswitch__menu {
    position: absolute; top: 100%; right: 0; margin-top: 4px;
    min-width: 180px;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md);
    box-shadow: 0 12px 32px rgba(12,32,39,0.12);
    padding: 6px 0; z-index: 50;
}
.mst-langswitch__link {
    display: flex; align-items: center; gap: var(--s-3);
    padding: 8px var(--s-3);
    color: var(--c-ink); text-decoration: none; font-size: 0.9rem;
    border-left: 3px solid transparent;
}
.mst-langswitch__link .mst-langswitch__code {
    font-weight: 700; font-size: 0.75rem;
    color: var(--c-ink-soft); letter-spacing: 0.05em;
    min-width: 24px;
}
.mst-langswitch__link .mst-langswitch__label { flex: 1; }
.mst-langswitch__link:hover, .mst-langswitch__link.is-active {
    background: var(--c-primary-soft);
    color: var(--c-primary-dark);
    border-left-color: var(--c-primary);
}
.mst-langswitch__link.is-active .mst-langswitch__code { color: var(--c-primary); }

/* — Hero ————————————————————————————————— */
.mst-hero {
    position: relative; color: #fff;
    background: linear-gradient(180deg, rgba(12,32,39,0.15), rgba(12,32,39,0.6)),
                url('/assets/img/home-hero.webp') center/cover no-repeat;
    padding: clamp(64px, 12vw, 140px) 0;
    min-height: 68vh;
    display: flex; align-items: center;
}
.mst-hero--home { }
.mst-hero__inner { max-width: 780px; }
.mst-hero__title { color: #fff; margin-bottom: var(--s-3); }
.mst-hero__sub { color: rgba(255,255,255,0.95); font-size: 1.15rem; max-width: 640px; margin-bottom: var(--s-4); }
.mst-hero__ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.mst-trustline {
    display: inline-flex; align-items: center; gap: var(--s-2);
    margin-top: var(--s-4);
    color: rgba(255,255,255,0.9); font-size: 0.95rem;
    padding: 8px 14px; background: rgba(12,32,39,0.35); border-radius: 999px;
    backdrop-filter: blur(6px);
}
.mst-hero__stats {
    display: flex; gap: var(--s-5); margin-top: var(--s-5);
    padding-top: var(--s-4); border-top: 1px solid rgba(255,255,255,0.25);
    color: #fff;
}
.mst-hero__stat { font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.mst-hero__stat strong { display: block; font-family: var(--f-serif); font-size: 1.9rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 4px; letter-spacing: -0.02em; }
@media (max-width: 899px) {
    .mst-hero {
        background-image: linear-gradient(180deg, rgba(12,32,39,0.15), rgba(12,32,39,0.6)),
                          url('/assets/img/home-hero-mobile.webp');
        min-height: 56vh;
    }
}

/* — Buttons ————————————————————————————————— */
.mst-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--s-2); text-decoration: none; font-weight: 600;
    padding: 12px 22px; border-radius: var(--r-md);
    border: 1px solid transparent; transition: transform .08s, background .15s, color .15s;
    color: var(--c-ink);
}
.mst-btn:active { transform: translateY(1px); }
.mst-btn--primary { background: var(--c-primary); color: #fff; }
.mst-btn--primary:hover { background: var(--c-primary-dark); color: #fff; }
.mst-btn--secondary { background: #fff; color: var(--c-primary-dark); border-color: rgba(255,255,255,0.7); }
.mst-btn--secondary:hover { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.mst-btn--ghost { background: transparent; color: var(--c-primary-dark); border-color: var(--c-border); }
.mst-btn--ghost:hover { background: var(--c-muted); }
.mst-btn--dark { background: var(--c-ink); color: #fff; }
.mst-btn--large { padding: 14px 28px; font-size: 1.05rem; }
.mst-btn--block { width: 100%; }

.mst-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
    background: var(--c-warm); color: var(--c-ink);
}
.mst-chip--live { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.mst-chip--warn { background: #fef3c7; color: #92400e; }

/* — Trust bar ————————————————————————————————— */
.mst-trustbar {
    background: var(--c-warm); border-bottom: 1px solid var(--c-warm-dark);
}
.mst-trustbar .mst-container {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3);
    padding-top: var(--s-4); padding-bottom: var(--s-4);
}
.mst-trustbar__item {
    display: flex; gap: var(--s-2); align-items: flex-start;
    font-size: 0.95rem; color: var(--c-ink);
}
.mst-trustbar__item::before {
    content: '✓'; color: var(--c-primary); font-weight: 700; flex-shrink: 0;
}
@media (max-width: 899px) {
    .mst-trustbar .mst-container { grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-3); }
}

/* — Sections ————————————————————————————————— */
.mst-section { padding: var(--s-6) 0; }
.mst-section--muted { background: var(--c-muted); }
.mst-section--dark { background: var(--c-ink); color: #fff; }
.mst-section--tight { padding: var(--s-5) 0; }
.mst-section__title { margin-bottom: var(--s-2); }
.mst-section__sub { color: var(--c-ink-soft); margin-bottom: var(--s-5); font-size: 1.05rem; }
.mst-section--dark .mst-section__sub { color: rgba(255,255,255,0.8); }
.mst-section--dark h2 { color: #fff; }

/* — Grids ————————————————————————————————— */
.mst-grid { display: grid; gap: var(--s-4); }
.mst-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mst-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mst-grid--4 { grid-template-columns: repeat(4, 1fr); }
.mst-grid--6 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 900px) { .mst-grid--6 { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 899px) {
    .mst-grid--3, .mst-grid--4, .mst-grid--6 { grid-template-columns: 1fr 1fr; }
    .mst-grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
    .mst-grid--2, .mst-grid--3, .mst-grid--4, .mst-grid--6 { grid-template-columns: 1fr; }
}

/* — Cards ————————————————————————————————— */
.mst-card {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    overflow: hidden; color: var(--c-ink); text-decoration: none;
    display: flex; flex-direction: column;
    transition: transform .15s, box-shadow .15s;
}
.mst-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(12,32,39,0.08); }
.mst-card__img { aspect-ratio: 4/3; object-fit: cover; width: 100%; background: var(--c-muted); }
.mst-card__body { padding: var(--s-3) var(--s-3) var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.mst-card__title { font-family: var(--f-serif); font-size: 1.15rem; font-weight: 700; color: var(--c-ink); }
.mst-card__usp { color: var(--c-ink-soft); font-size: 0.95rem; }
.mst-card__meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; padding-top: var(--s-2); border-top: 1px solid var(--c-border); }
.mst-card__price { font-weight: 700; font-size: 1.1rem; color: var(--c-ink); }
.mst-card__price-note { display: block; font-weight: 400; font-size: 0.8rem; color: var(--c-ink-soft); margin-top: 2px; }
.mst-card__rating { color: var(--c-ink-soft); font-size: 0.9rem; }
.mst-card__rating strong { color: var(--c-star); }
.mst-card__cta { margin-top: var(--s-2); align-self: flex-start; }

/* — Legal pages (legal notice, privacy policy) — */
.mst-legal { max-width: 780px; margin: 0 auto; color: var(--c-ink); }
.mst-legal h1 { font-family: var(--f-serif); font-size: 2rem; font-weight: 700; margin: 0 0 var(--s-4); line-height: 1.2; }
.mst-legal h2 { font-family: var(--f-serif); font-size: 1.35rem; font-weight: 700; margin: var(--s-5) 0 var(--s-2); color: var(--c-ink); border-bottom: 1px solid var(--c-border); padding-bottom: var(--s-2); }
.mst-legal h3 { font-family: var(--f-serif); font-size: 1.1rem; font-weight: 700; margin: var(--s-4) 0 var(--s-2); color: var(--c-primary-dark); }
.mst-legal h4 { font-size: 1rem; font-weight: 700; margin: var(--s-3) 0 var(--s-2); color: var(--c-ink); }
.mst-legal p { margin: 0 0 var(--s-3); line-height: 1.7; color: var(--c-ink); font-size: 0.96rem; }
.mst-legal ul { margin: 0 0 var(--s-3); padding-left: 1.2em; }
.mst-legal li { line-height: 1.6; margin-bottom: var(--s-1); color: var(--c-ink); }
.mst-legal a { color: var(--c-primary-dark); word-break: break-word; }
.mst-legal-addr {
    padding: var(--s-3) var(--s-4); background: var(--c-muted);
    border-left: 3px solid var(--c-primary); border-radius: var(--r-sm);
    font-family: var(--f-sans); line-height: 1.5;
}

/* — Trip Planning pages — content components — */
.mst-planning { max-width: 820px; margin: 0 auto; }
.mst-planning h2 {
    font-family: var(--f-serif); font-size: 1.7rem; font-weight: 700;
    color: var(--c-ink); margin: var(--s-6) 0 var(--s-3);
    line-height: 1.2; letter-spacing: -0.01em;
}
.mst-planning h2:first-child { margin-top: 0; }
.mst-planning h2::before {
    content: '';
    display: inline-block; width: 8px; height: 24px;
    background: var(--c-primary); border-radius: 2px;
    margin-right: var(--s-2); vertical-align: -4px;
}
.mst-planning h3 {
    font-family: var(--f-serif); font-size: 1.15rem; font-weight: 700;
    color: var(--c-primary-dark); margin: var(--s-4) 0 var(--s-2);
}
.mst-planning p { margin-bottom: var(--s-3); line-height: 1.7; color: var(--c-ink); font-size: 1rem; }
.mst-planning ul, .mst-planning ol { margin: 0 0 var(--s-4); padding-left: 0; list-style: none; }
.mst-planning li {
    position: relative; padding-left: 1.8em;
    margin-bottom: var(--s-2);
    line-height: 1.6; color: var(--c-ink);
}
.mst-planning li::before {
    content: '◆'; position: absolute; left: 0.4em;
    color: var(--c-primary); font-size: 0.75em; top: 0.35em;
}
.mst-planning strong { color: var(--c-ink); font-weight: 700; }

.mst-planning-lead {
    font-size: 1.2rem; line-height: 1.6; color: var(--c-ink);
    padding: var(--s-4) 0 var(--s-5);
    border-bottom: 1px solid var(--c-border);
    margin-bottom: var(--s-5);
    font-family: var(--f-serif); font-weight: 500;
}

/* Callout — highlighted takeaway box */
.mst-callout {
    display: flex; gap: var(--s-3); align-items: flex-start;
    padding: var(--s-4);
    border-radius: var(--r-lg);
    margin: var(--s-4) 0;
    background: var(--c-warm);
    border-left: 4px solid var(--c-warm-dark);
}
.mst-callout__icon {
    flex-shrink: 0; width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.7); border-radius: 50%;
    font-size: 1.1rem; font-weight: 700;
}
.mst-callout__body { flex: 1; }
.mst-callout__body p:last-child { margin-bottom: 0; }
.mst-callout__body strong { display: block; margin-bottom: 4px; font-family: var(--f-serif); font-size: 1.05rem; }
.mst-callout--tip { background: var(--c-primary-soft); border-left-color: var(--c-primary); }
.mst-callout--warn { background: #fef3c7; border-left-color: #d97706; }
.mst-callout--info { background: var(--c-muted); border-left-color: var(--c-ink-soft); }

/* Fact box — big number + short label */
.mst-factgrid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--s-3); margin: var(--s-4) 0 var(--s-5);
}
.mst-fact {
    padding: var(--s-3) var(--s-4);
    background: #fff;
    border: 1px solid var(--c-border); border-radius: var(--r-md);
    border-top: 4px solid var(--c-primary);
}
.mst-fact__num {
    display: block; font-family: var(--f-serif); font-size: 2rem; font-weight: 700;
    color: var(--c-ink); line-height: 1; letter-spacing: -0.02em; margin-bottom: 4px;
}
.mst-fact__label { font-size: 0.9rem; color: var(--c-ink-soft); line-height: 1.4; }

/* Two-column compare inside planning body (e.g. QT vs Te Anau) */
.mst-versus {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4);
    margin: var(--s-4) 0 var(--s-5);
}
@media (max-width: 599px) { .mst-versus { grid-template-columns: 1fr; } }
.mst-versus__col {
    padding: var(--s-4);
    background: #fff;
    border: 1px solid var(--c-border); border-radius: var(--r-lg);
}
.mst-versus__col h3 {
    margin-top: 0 !important; padding-bottom: var(--s-2);
    border-bottom: 2px solid var(--c-primary);
}
.mst-versus__col ul { margin-bottom: 0; }

/* Season strip for best-time page */
.mst-seasonrow {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4);
    margin: var(--s-4) 0 var(--s-5);
}
@media (max-width: 899px) { .mst-seasonrow { grid-template-columns: 1fr; } }
.mst-season {
    padding: var(--s-4);
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    border-top: 4px solid var(--c-primary);
}
.mst-season--summer { border-top-color: #f59e0b; }
.mst-season--autumn { border-top-color: #d97706; }
.mst-season--winter { border-top-color: #38bdf8; }
.mst-season--spring { border-top-color: #10b981; }
.mst-season h3 { margin-top: 0 !important; font-family: var(--f-serif); font-size: 1.2rem; }
.mst-season__tag {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    color: var(--c-ink-soft); text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.mst-season p:last-child { margin-bottom: 0; }
.mst-season em { color: var(--c-primary-dark); font-style: normal; font-weight: 600; }

/* "For whom X" — good/bad fit block on operator pages */
.mst-fit-h2 { margin-top: var(--s-6) !important; margin-bottom: var(--s-4) !important; }
.mst-fit-grid { gap: var(--s-5) !important; margin-bottom: var(--s-5) !important; }
.mst-fit-title {
    font-family: var(--f-serif); font-size: 1.15rem; font-weight: 700;
    margin: 0 0 var(--s-3);
    padding-bottom: var(--s-2);
    border-bottom: 1px solid var(--c-border);
}
.mst-fit-title--good { color: var(--c-primary); }
.mst-fit-title--bad { color: var(--c-danger); }
.mst-fit-grid ul { margin-top: 0; padding-left: 1.1em; color: var(--c-ink-soft); line-height: 1.6; }
.mst-fit-grid ul li { margin-bottom: var(--s-2); }

.mst-card__imglink { display: block; }
.mst-card__titlelink { color: inherit; text-decoration: none; }
.mst-card__titlelink:hover { color: var(--c-primary); }
.mst-card__actions { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-3); }

.mst-card--pain .mst-card__title { font-size: 1.05rem; }
.mst-card--pain .mst-card__body { min-height: 200px; display: flex; flex-direction: column; }
.mst-card--pain .mst-card__usp { flex: 1; }
.mst-card--pain .mst-card__cta { margin-top: auto; align-self: flex-start; }

.mst-card--overnight .mst-card__body { padding-bottom: var(--s-4); }

/* Tour-type card — home page primary orientation.
   Uniform height across all six cards: image, then body flex-column so
   every element lines up regardless of USP text length. */
.mst-card--tourtype .mst-card__img { aspect-ratio: 16/10; }
.mst-card--tourtype .mst-card__title { font-size: 1.2rem; }
.mst-card--tourtype .mst-card__usp { font-size: 0.95rem; min-height: 4.2em; flex: 1; }
.mst-card--tourtype .mst-card__stats {
    display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
    padding: var(--s-2) 0; margin-top: var(--s-2);
    border-top: 1px solid var(--c-border);
    font-size: 0.9rem; color: var(--c-ink-soft);
    white-space: nowrap;
}
.mst-card--tourtype .mst-card__stat--price { color: var(--c-ink); font-weight: 700; font-size: 0.95rem; }
.mst-card--tourtype .mst-card__cta {
    display: inline-block; margin-top: auto; padding-top: var(--s-2);
    color: var(--c-primary-dark); font-weight: 600;
}

/* Operator card — text-only, dezenter Trust-Block ohne Fotos */
.mst-card--operator-text {
    padding: var(--s-4); background: #fff;
    border: 1px solid var(--c-border); border-top: 4px solid var(--c-primary);
    border-radius: var(--r-lg);
    color: var(--c-ink); text-decoration: none;
    display: flex; flex-direction: column; gap: var(--s-2);
    transition: transform .12s, box-shadow .12s, border-top-color .12s;
}
.mst-card--operator-text:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(12,32,39,0.08); border-top-color: var(--c-primary-dark); }
.mst-card--operator-text .mst-card__body { padding: 0; gap: var(--s-2); }
.mst-card--operator-text .mst-card__meta { padding-top: var(--s-2); border-top: 1px solid var(--c-border); }
.mst-card--operator-text .mst-card__cta { display: inline-block; margin-top: auto; padding-top: var(--s-2); color: var(--c-primary-dark); font-weight: 600; font-size: 0.95rem; }
.mst-card--operator-text .mst-card__body { min-height: 190px; display: flex; flex-direction: column; }
.mst-card--operator-text .mst-card__usp { flex: 1; }

/* — Product list (cluster + operator pages: full tour cards + expandable details) — */
.mst-productlist { display: flex; flex-direction: column; gap: var(--s-4); }

.mst-product {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    overflow: hidden; color: var(--c-ink);
    box-shadow: 0 1px 0 var(--c-border);
}
.mst-product__summary {
    display: grid; grid-template-columns: 320px 1fr; gap: 0;
}
.mst-product--nopic .mst-product__summary { grid-template-columns: 1fr; }
.mst-product--nopic .mst-product__img { display: none; }
@media (max-width: 799px) {
    .mst-product__summary { grid-template-columns: 1fr; }
}
.mst-product__img {
    width: 100%; height: 100%; min-height: 220px;
    object-fit: cover; background: var(--c-muted);
    aspect-ratio: 4/3;
}
@media (max-width: 799px) {
    .mst-product__img { aspect-ratio: 16/10; min-height: 0; }
}
.mst-product__body { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); }
.mst-product__title { font-family: var(--f-serif); font-size: 1.3rem; font-weight: 700; color: var(--c-ink); margin: var(--s-1) 0 0; }
.mst-product__usp { color: var(--c-ink-soft); font-size: 0.95rem; margin: 0; }
.mst-product__facts {
    list-style: none; padding: 0; margin: var(--s-2) 0 0;
    display: flex; flex-wrap: wrap; gap: var(--s-3);
    font-size: 0.9rem; color: var(--c-ink-soft);
}
.mst-product__facts li { display: inline-flex; align-items: center; gap: 6px; }
.mst-product__facts strong { color: var(--c-ink); font-weight: 600; margin-right: 4px; }
.mst-product__cancel { color: var(--c-success); font-weight: 500; }
.mst-product__meta {
    display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3);
    padding-top: var(--s-3); margin-top: auto;
    border-top: 1px solid var(--c-border);
    flex-wrap: wrap;
}
.mst-product__price { font-weight: 700; font-size: 1.15rem; color: var(--c-ink); }
.mst-product__rating { color: var(--c-ink-soft); font-size: 0.9rem; }
.mst-product__rating strong { color: var(--c-star); font-weight: 700; }
.mst-product__body .mst-btn { align-self: flex-start; margin-top: var(--s-3); }

/* Expandable details section */
.mst-product__details {
    border-top: 1px solid var(--c-border);
    background: var(--c-muted);
}
.mst-product__details summary {
    padding: var(--s-3) var(--s-4);
    cursor: pointer; user-select: none;
    font-weight: 600; color: var(--c-primary-dark);
    display: flex; justify-content: space-between; align-items: center;
    list-style: none;
}
.mst-product__details summary::-webkit-details-marker { display: none; }
.mst-product__details summary::after { content: '▾'; transition: transform .15s; color: var(--c-primary); }
.mst-product__details[open] summary::after { transform: rotate(180deg); }
.mst-product__details summary:hover { background: rgba(14, 109, 110, 0.06); }

.mst-product__details-inner {
    padding: var(--s-3) var(--s-4) var(--s-5);
    border-top: 1px dashed var(--c-border);
    background: #fff;
}
.mst-product__block { margin-bottom: var(--s-4); }
.mst-product__block:last-child { margin-bottom: 0; }
.mst-product__block h4 {
    font-family: var(--f-serif); font-size: 1.05rem; font-weight: 700; color: var(--c-ink);
    margin: 0 0 var(--s-2); letter-spacing: -0.01em;
}
.mst-product__block p { margin: 0 0 var(--s-2); color: var(--c-ink-soft); font-size: 0.95rem; line-height: 1.6; }
.mst-product__block ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.mst-product__block li { color: var(--c-ink-soft); font-size: 0.93rem; line-height: 1.5; padding-left: 1.2em; text-indent: -1.2em; }
.mst-product__block li::before { content: '•'; color: var(--c-primary); font-weight: 700; margin-right: 8px; }
.mst-product__include li::before { content: '✓'; color: var(--c-success); }
.mst-product__exclude li::before { content: '✗'; color: var(--c-danger); }
.mst-product__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 599px) { .mst-product__grid2 { grid-template-columns: 1fr; } }
.mst-product__source {
    margin-top: var(--s-4); padding-top: var(--s-3);
    border-top: 1px solid var(--c-border);
    font-size: 0.8rem; color: var(--c-ink-soft); font-style: italic;
}

/* — Comparison table ————————————————————————————————— */
.mst-compare { overflow-x: auto; margin: 0 calc(-1 * var(--s-4)); padding: 0 var(--s-4); }
@media (max-width: 699px) { .mst-compare { overflow-x: visible; } }
.mst-compare__table { width: 100%; border-collapse: collapse; min-width: 780px; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 1px 0 var(--c-border); }
.mst-compare__table th, .mst-compare__table td { padding: var(--s-3); text-align: left; border-bottom: 1px solid var(--c-border); font-size: 0.95rem; color: var(--c-ink); }
.mst-compare__table th { background: var(--c-muted); font-weight: 600; color: var(--c-ink-soft); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }
.mst-compare__table tbody tr:hover { background: var(--c-primary-soft); }
.mst-compare__cell--price { font-weight: 700; }
.mst-compare__cell--price small { display: block; color: var(--c-ink-soft); font-weight: 400; font-size: 0.75rem; margin-top: 2px; }
.mst-compare__fee-badge { display: inline-block; margin-top: 4px; font-size: 0.75rem; padding: 2px 6px; border-radius: var(--r-sm); background: var(--c-warm); color: var(--c-ink); }
.mst-compare__cta { text-align: right; white-space: nowrap; }
.mst-compare__cta .mst-btn { padding: 6px 12px; font-size: 0.9rem; }
.mst-compare__terminal { color: var(--c-ink-soft); }
.mst-compare__note { margin-top: var(--s-3); color: var(--c-ink-soft); font-size: 0.9rem; }

/* Mobile card layout for compare table */
@media (max-width: 699px) {
    .mst-compare__table {
        min-width: 0; display: block; background: transparent; box-shadow: none; border-radius: 0;
    }
    .mst-compare__table thead { display: none; }
    .mst-compare__table tbody { display: block; }
    .mst-compare__table tr {
        display: block; background: #fff;
        border: 1px solid var(--c-border); border-radius: var(--r-lg);
        padding: var(--s-3); margin-bottom: var(--s-3);
        box-shadow: 0 1px 0 var(--c-border);
    }
    .mst-compare__table tr:hover { background: #fff; }
    .mst-compare__table td {
        display: flex; justify-content: space-between; align-items: baseline;
        gap: var(--s-3); padding: 8px 0; border-bottom: 1px dashed var(--c-border);
        font-size: 0.95rem; text-align: right;
    }
    .mst-compare__table td:last-child { border-bottom: 0; padding-top: var(--s-3); }
    .mst-compare__table td::before {
        content: attr(data-label);
        font-weight: 600; color: var(--c-ink-soft); font-size: 0.8rem;
        text-transform: uppercase; letter-spacing: 0.03em;
        flex-shrink: 0; text-align: left;
    }
    .mst-compare__table td:first-child::before { display: none; }
    .mst-compare__table td:first-child {
        justify-content: flex-start; text-align: left;
        border-bottom: 1px solid var(--c-border); padding: 0 0 var(--s-3);
        margin-bottom: var(--s-2);
    }
    .mst-compare__cta { text-align: center; }
    .mst-compare__cta .mst-btn { display: block; width: 100%; padding: 12px 16px; font-size: 1rem; }
}

/* — Selector ————————————————————————————————— */
.mst-selector { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--c-border); padding: var(--s-5); }
.mst-selector__step { display: none; }
.mst-selector__step.is-active { display: block; }
.mst-selector__q { font-family: var(--f-serif); font-size: 1.4rem; font-weight: 700; margin-bottom: var(--s-3); }
.mst-selector__options { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); margin-bottom: var(--s-3); }
@media (max-width: 599px) { .mst-selector__options { grid-template-columns: 1fr; } }
.mst-selector__option {
    display: flex; align-items: center; gap: var(--s-3);
    padding: var(--s-3); border: 1px solid var(--c-border); border-radius: var(--r-md);
    background: #fff; text-align: left; font-size: 0.95rem;
    transition: border-color .12s, background .12s;
    color: var(--c-ink);
}
.mst-selector__option:hover { border-color: var(--c-primary); background: var(--c-primary-soft); }
.mst-selector__option.is-selected { border-color: var(--c-primary); background: var(--c-primary-soft); }
.mst-selector__progress { display: flex; gap: 6px; margin-bottom: var(--s-4); }
.mst-selector__dot { width: 22px; height: 6px; border-radius: 999px; background: var(--c-border); }
.mst-selector__dot.is-active { background: var(--c-primary); }
.mst-selector__result { display: none; padding-top: var(--s-3); border-top: 1px solid var(--c-border); }
.mst-selector__result.is-active { display: block; }
.mst-selector__result h3 { margin-bottom: var(--s-2); }

/* — Pain-solver cards row ————————————————————————————————— */
.mst-painrow { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-3); }
@media (max-width: 1000px) { .mst-painrow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 599px) { .mst-painrow { grid-template-columns: 1fr; } }

/* — Overnight block ————————————————————————————————— */
.mst-overnight-block { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: var(--s-4); align-items: center; }
@media (max-width: 899px) { .mst-overnight-block { grid-template-columns: 1fr; } }
.mst-overnight-block h2 { margin-bottom: var(--s-3); }
.mst-overnight-block__intro p { color: rgba(255,255,255,0.85); }

/* — FAQ ————————————————————————————————— */
.mst-faq { display: flex; flex-direction: column; gap: var(--s-2); max-width: 820px; margin: 0 auto; }
.mst-faq__item {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md);
    padding: var(--s-3) var(--s-4);
}
.mst-faq__item summary {
    cursor: pointer; font-family: var(--f-serif); font-size: 1.1rem; font-weight: 600;
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3);
}
.mst-faq__item summary::after { content: '+'; font-size: 1.5rem; color: var(--c-primary); flex-shrink: 0; }
.mst-faq__item[open] summary::after { content: '−'; }
.mst-faq__item p { margin-top: var(--s-3); color: var(--c-ink-soft); }

/* — Closing / sticky bar ————————————————————————————————— */
.mst-closing {
    background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary));
    color: #fff; text-align: center; padding: var(--s-6) 0;
}
.mst-closing h2 { color: #fff; margin-bottom: var(--s-2); }
.mst-closing p { color: rgba(255,255,255,0.9); margin-bottom: var(--s-4); }

.mst-stickybar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
    background: var(--c-ink); color: #fff;
    padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom, 0px));
    display: none !important; flex-direction: row !important; flex-wrap: nowrap;
    align-items: center; gap: var(--s-3); box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
}
@media (max-width: 899px) {
    .mst-stickybar { display: flex !important; }
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
.mst-stickybar__label { font-size: 0.85rem; flex: 1; color: rgba(255,255,255,0.9); }
.mst-stickybar__cta { flex-shrink: 0; }

/* — Footer ————————————————————————————————— */
.mst-footer { background: var(--c-ink); color: rgba(255,255,255,0.85); padding: var(--s-6) 0 var(--s-4); margin-top: var(--s-6); }
.mst-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: var(--s-5);
    margin-bottom: var(--s-5);
    align-items: start;
}
@media (max-width: 999px) { .mst-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .mst-footer__grid { grid-template-columns: 1fr; gap: var(--s-4); } }

.mst-footer__brand-mark { display: flex; align-items: center; gap: var(--s-2); }
.mst-footer__brand-mark .mst-brand__mark { color: var(--c-primary); font-size: 1.4rem; }
.mst-footer__brand strong { color: #fff; font-family: var(--f-serif); font-size: 1.1rem; }
.mst-footer__tagline { margin-top: var(--s-3); font-size: 0.9rem; color: rgba(255,255,255,0.7); max-width: 320px; line-height: 1.55; }

.mst-footer__heading {
    color: #fff; font-family: var(--f-serif); font-size: 0.95rem; font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 var(--s-3); padding-bottom: var(--s-2);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.mst-footer__heading--sub { margin-top: var(--s-4); }

.mst-footer__col ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: var(--s-1);
}
.mst-footer__col li { line-height: 1.5; }
.mst-footer__col a {
    color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.9rem;
    display: block; padding: 3px 0;
    transition: color .12s, transform .12s;
}
.mst-footer__col a:hover { color: #fff; transform: translateX(2px); }

.mst-footer__meta {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: var(--s-4);
    text-align: center;
}
.mst-footer__affiliate { font-size: 0.85rem; color: rgba(255,255,255,0.6); max-width: 700px; margin: 0 auto var(--s-2); line-height: 1.55; }
.mst-footer__copy { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin: 0; }
