/* BerninaTickets.com — style.css */

:root {
    --c-brand:        #C8102E;
    --c-brand-dark:   #9A0C24;
    --c-brand-soft:   #FCEAEC;
    --c-cta:          #2E8B57;
    --c-cta-dark:     #1F6840;
    --c-glacier:      #5B7C99;
    --c-ink:          #111418;
    --c-ink-soft:     #444B53;
    --c-paper:        #FFFFFF;
    --c-cream:        #FAF6EE;
    --c-line:         #E4E7EB;

    --s-1: 8px;  --s-2: 16px; --s-3: 24px;
    --s-4: 32px; --s-5: 48px; --s-6: 64px;

    --radius:    12px;
    --radius-sm: 6px;
    --shadow-card: 0 6px 16px -4px rgba(17,20,24,.12);

    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --maxw: 1180px;

    --stickybar-h: 68px;
    --header-h: 76px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--c-ink);
    background: var(--c-paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(var(--stickybar-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 1000px) { body { padding-bottom: 0; } }

img, picture, svg { max-width: 100%; display: block; }
a { color: var(--c-brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.bt-container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-3); }
.bt-skip { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: var(--s-2); }
.bt-skip:focus { left: 0; z-index: 1000; }

.bt-section { padding: var(--s-6) 0; }
.bt-section--cream { background: var(--c-cream); }
.bt-section--brand { background: var(--c-brand-soft); }
.bt-section__h2 {
    margin: 0 0 var(--s-3);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.2;
    color: var(--c-ink);
    position: relative;
    padding-bottom: var(--s-2);
}
.bt-section__h2::after {
    content: "";
    display: block;
    width: 56px; height: 4px;
    background: var(--c-brand);
    border-radius: 2px;
    margin-top: var(--s-2);
}

/* ─── Header / Nav ─────────────────────────────────────────────────────── */
.bt-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--c-line);
}
@media (min-width: 1000px) {
    /* backdrop-filter creates a new containing block for position:fixed
       children. That breaks the mobile drawer (the <nav> ends up
       positioned inside the header instead of the viewport). Enable it
       only on desktop, where the nav is position:static and unaffected. */
    .bt-header {
        backdrop-filter: saturate(140%) blur(8px);
        -webkit-backdrop-filter: saturate(140%) blur(8px);
    }
}
.bt-header__inner {
    display: flex; align-items: center; gap: var(--s-2);
    height: var(--header-h);
}
.bt-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.bt-logo:hover { text-decoration: none; }
.bt-logo__img { height: 48px; width: auto; display: block; }
@media (min-width: 1000px) { .bt-logo__img { height: 54px; } }

.bt-hamburger {
    margin-left: auto;
    display: inline-flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 40px; height: 40px;
    background: transparent; border: 1px solid var(--c-line);
    border-radius: var(--radius-sm); cursor: pointer; padding: 0 8px;
}
.bt-hamburger span {
    display: block; width: 22px; height: 2px; background: var(--c-ink); border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.bt-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bt-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bt-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer: hidden off-canvas by default, slides in when is-open. */
.bt-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--c-paper); padding: var(--s-3);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%); transition: transform .25s ease;
    z-index: 99;
}
.bt-nav.is-open {
    transform: translateX(0);
    box-shadow: -8px 0 24px -8px rgba(17,20,24,.18);
}
.bt-nav__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: var(--s-1);
}
.bt-nav__item {
    border-bottom: 1px solid var(--c-line);
    display: block;
}
.bt-nav__link {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: var(--s-2) 0;
    color: var(--c-ink); font-weight: 600; font-size: 1.05rem;
    background: transparent; border: none; cursor: pointer;
    text-align: left; font-family: var(--font);
    text-decoration: none;
}
.bt-nav__item.is-active > .bt-nav__link { color: var(--c-brand); }
.bt-nav__link:hover { color: var(--c-brand); text-decoration: none; }
.bt-nav__caret { font-size: .85em; color: var(--c-ink-soft); transition: transform .15s; }
.bt-nav__item--has-dropdown[data-open="true"] .bt-nav__caret { transform: rotate(180deg); }

.bt-megamenu {
    display: none; padding: 0 0 var(--s-2) var(--s-2);
}
.bt-nav__item--has-dropdown[data-open="true"] .bt-megamenu { display: block; }
.bt-megamenu__list { list-style: none; margin: 0; padding: 0; }
.bt-megamenu__link {
    display: block; padding: 8px 0;
    color: var(--c-ink-soft); font-weight: 500; font-size: .95rem;
    text-decoration: none;
}
.bt-megamenu__link:hover { color: var(--c-brand); }

.bt-langswitch {
    display: inline-flex; align-items: center;
    border: 1px solid var(--c-line); border-radius: var(--radius-sm);
    background: var(--c-paper); padding: 0 8px; height: 36px;
    position: relative;
}
.bt-langswitch__current {
    font-size: .85rem; font-weight: 700; color: var(--c-ink);
    padding-right: 6px; pointer-events: none;
}
.bt-langswitch__select {
    appearance: none; -webkit-appearance: none;
    font-family: var(--font); font-size: .9rem;
    border: none; background: transparent;
    color: var(--c-ink); cursor: pointer;
    padding: 0 18px 0 0; height: 100%;
    position: absolute; inset: 0;
    opacity: 0;
}
.bt-langswitch::after {
    content: "▾"; color: var(--c-ink-soft);
    font-size: .8rem; pointer-events: none;
    padding-right: 8px;
}

@media (min-width: 1000px) {
    .bt-hamburger { display: none; }
    .bt-nav {
        position: static; transform: none; padding: 0;
        background: transparent; overflow: visible;
        margin-left: auto;
        box-shadow: none;
    }
    .bt-nav__list {
        flex-direction: row;
        gap: var(--s-2);
        align-items: center;
    }
    .bt-nav__item {
        border-bottom: none;
        position: relative;
        display: flex;
        align-items: center;
    }
    .bt-nav__link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 8px 10px;
        font-size: .95rem; font-weight: 500;
        width: auto;
        line-height: 1.2;
        justify-content: flex-start;
    }
    .bt-nav__caret {
        display: inline-block;
        line-height: 1;
        position: relative;
        top: 1px;
    }
    .bt-nav__item--has-dropdown:hover > .bt-megamenu,
    .bt-nav__item--has-dropdown:focus-within > .bt-megamenu {
        display: block;
    }
    .bt-megamenu {
        position: absolute; top: 100%; left: 0;
        min-width: 240px;
        background: var(--c-paper);
        border: 1px solid var(--c-line);
        border-top: 3px solid var(--c-brand);
        border-radius: 0 0 var(--radius) var(--radius);
        box-shadow: 0 12px 28px -8px rgba(17,20,24,.18);
        padding: var(--s-1) var(--s-2);
    }
    .bt-megamenu__link { padding: 10px 8px; font-size: .92rem; border-radius: var(--radius-sm); }
    .bt-megamenu__link:hover { background: var(--c-brand-soft); color: var(--c-brand); text-decoration: none; }
    .bt-langswitch { margin-left: var(--s-2); }
}

/* ─── Hero (split layout, no overlay) ─────────────────────────────────── */
.bt-herox {
    background: linear-gradient(180deg, #FFF7F2 0%, #FBEEEE 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--c-line);
}
.bt-herox__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-4);
    padding-top: var(--s-5);
    padding-bottom: var(--s-5);
    align-items: center;
}
@media (min-width: 900px) {
    .bt-herox__container {
        grid-template-columns: 1.05fr 1fr;
        gap: var(--s-6);
        padding-top: var(--s-6);
        padding-bottom: var(--s-6);
    }
}
.bt-herox__text { max-width: 56ch; }
.bt-herox__eyebrow {
    display: inline-block;
    background: var(--c-brand);
    color: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: var(--s-3);
}
.bt-herox__h1 {
    color: var(--c-ink);
    font-size: clamp(1.9rem, 4vw, 2.85rem);
    line-height: 1.08;
    font-weight: 800;
    margin: 0 0 var(--s-2);
    letter-spacing: -.01em;
}
.bt-herox__sub {
    color: var(--c-ink-soft);
    font-size: clamp(1rem, 1.4vw, 1.13rem);
    line-height: 1.55;
    margin: 0 0 var(--s-4);
}
.bt-herox__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-2);
    margin: 0 0 var(--s-3);
    padding: var(--s-2) 0;
    border-top: 1px solid rgba(200,16,46,.18);
    border-bottom: 1px solid rgba(200,16,46,.18);
}
.bt-fact-mini__value {
    color: var(--c-brand);
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.1;
}
.bt-fact-mini__label {
    color: var(--c-ink-soft);
    font-size: .78rem;
    margin-top: 2px;
    line-height: 1.25;
}

.bt-herox__ctas {
    display: flex; flex-wrap: wrap; gap: var(--s-2);
    margin-bottom: var(--s-3);
}
.bt-herox__trust {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: var(--s-3);
    color: var(--c-ink-soft); font-size: .9rem;
}
.bt-herox__trust li { display: inline-flex; align-items: center; gap: 6px; }
.bt-herox__trust span { color: var(--c-cta); font-weight: 800; }

.bt-herox__media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 40px -16px rgba(17,20,24,.25);
    aspect-ratio: 4 / 5;
    background: #1c1f24;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
}
.bt-herox__media img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 35%;
}
@media (min-width: 900px) {
    .bt-herox__media { aspect-ratio: 4 / 5; max-width: 100%; }
}

/* Sticky-header anchor offset */
:target,
#routes, #tickets, #timetable, #faq {
    scroll-margin-top: calc(var(--header-h) + var(--s-2));
}

/* ─── Hero (legacy bright overlay — used on route pages) ──────────────── */
.bt-hero {
    position: relative;
    background: #1c1f24;
    overflow: hidden;
}
.bt-hero__media-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 55%;
}
.bt-hero__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0) 50%, rgba(17,20,24,.42) 100%),
        linear-gradient(90deg, rgba(17,20,24,.38) 0%, rgba(17,20,24,0) 55%);
}
.bt-hero__container {
    position: relative;
    padding: var(--s-6) var(--s-3);
    min-height: 520px;
    display: flex; flex-direction: column; justify-content: flex-end;
    max-width: var(--maxw); margin: 0 auto;
}
@media (min-width: 1000px) {
    .bt-hero__container { min-height: 600px; }
}
.bt-hero__eyebrow {
    color: #fff;
    background: var(--c-brand);
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    width: fit-content;
    margin-bottom: var(--s-2);
    box-shadow: 0 4px 12px -4px rgba(200,16,46,.5);
}
.bt-hero__h1 {
    color: #fff;
    font-size: clamp(2rem, 4.8vw, 3.2rem);
    line-height: 1.08;
    margin: 0 0 var(--s-2);
    text-shadow: 0 2px 14px rgba(0,0,0,.55);
    max-width: 16ch;
    font-weight: 800;
}
.bt-hero__sub {
    color: #f3f3f3;
    font-size: clamp(1rem, 1.7vw, 1.18rem);
    margin: 0 0 var(--s-4);
    max-width: 58ch;
    text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.bt-hero__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-2);
}
@media (min-width: 700px) {
    .bt-hero__facts { grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
}
.bt-fact {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(6px);
    border-radius: var(--radius);
    padding: var(--s-2);
}
.bt-fact__value { color: #fff; font-size: 1.15rem; font-weight: 800; line-height: 1.1; }
.bt-fact__label { color: #e6e6e6; font-size: .8rem; margin-top: 2px; }

/* ─── Trust Bar ────────────────────────────────────────────────────────── */
.bt-trustbar { background: var(--c-brand); color: #fff; }
.bt-trustbar__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-2);
    padding: 14px 0;
    align-items: center;
}
@media (min-width: 800px) { .bt-trustbar__grid { grid-template-columns: repeat(4, 1fr); padding: 12px 0; } }
.bt-trustbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bt-trustbar__icon {
    width: 18px; height: 18px;
    flex: 0 0 auto;
    color: #fff;
    opacity: .95;
}
.bt-trustbar__text { color: #fff; }

/* ─── Compare cards ────────────────────────────────────────────────────── */
.bt-compare__head { text-align: left; margin-bottom: var(--s-4); }
.bt-compare__intro { color: var(--c-ink-soft); max-width: 65ch; margin: 0; font-size: 1.02rem; }
.bt-compare__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 800px) { .bt-compare__grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); } }

.bt-card {
    position: relative;
    background: var(--c-paper);
    color: var(--c-ink);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: var(--s-4);
    box-shadow: var(--shadow-card);
    display: flex; flex-direction: column;
    overflow: hidden;
}
.bt-card::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0;
    height: 6px; background: var(--c-brand);
}
.bt-card--bex::before { background: linear-gradient(90deg, var(--c-brand) 0%, var(--c-glacier) 100%); }

.bt-card__badge {
    position: absolute; top: var(--s-2); right: var(--s-2);
    background: var(--c-brand-soft); color: var(--c-brand);
    padding: 4px 10px; font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
    border-radius: 999px;
}
.bt-card__title { font-size: 1.4rem; line-height: 1.2; margin: 8px 0 4px; color: var(--c-ink); font-weight: 800; }
.bt-card__subtitle { color: var(--c-ink-soft); font-size: .95rem; margin: 0 0 var(--s-3); }
.bt-card__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: var(--s-1); color: var(--c-ink); }
.bt-card__price-from { font-size: .85rem; color: var(--c-ink-soft); }
.bt-card__price-value { font-size: 2.1rem; font-weight: 800; color: var(--c-brand); line-height: 1; }
.bt-card__price-meta { font-size: .85rem; color: var(--c-ink-soft); }
.bt-card__rating { color: var(--c-ink-soft); font-size: .9rem; margin-bottom: var(--s-3); }
.bt-card__rating-stars { color: #E8A100; font-weight: 700; }
.bt-card__features { list-style: none; margin: 0 0 var(--s-3); padding: 0; flex: 1 1 auto; }
.bt-card__feature {
    display: flex; gap: var(--s-1);
    padding: 8px 0; border-bottom: 1px solid var(--c-line);
    color: var(--c-ink); font-size: .95rem;
}
.bt-card__feature:last-child { border-bottom: none; }
.bt-card__feature::before { content: "✓"; color: var(--c-brand); font-weight: 700; flex: 0 0 auto; }
.bt-card--bex .bt-card__feature::before { color: var(--c-glacier); }
.bt-card__cta-group { display: flex; flex-direction: column; gap: var(--s-1); margin-bottom: var(--s-2); }
.bt-card__footer {
    margin-top: auto;
    display: flex; flex-direction: column;
    gap: 10px;
}
.bt-card__note {
    color: var(--c-ink-soft);
    font-size: .82rem;
    margin: 0;
    min-height: 2.6em;
    line-height: 1.4;
}
.bt-cta--block { width: 100%; }

/* Secondary alternative link inside a card (small, dimmed). */
/* min-height ensures Red-Train and BEX card footers align even when only one has an alt link. */
.bt-card__alt-link {
    display: block;
    text-align: center;
    color: var(--c-ink-soft);
    font-size: .82rem;
    text-decoration: underline;
    min-height: 1.2em;
    line-height: 1.2;
}
.bt-card__alt-link:hover { color: var(--c-brand); text-decoration: underline; }
.bt-card__alt-link--spacer {
    visibility: hidden;
    pointer-events: none;
}

/* Booking callout (used when a single product dominates — e.g. RhB direct) */
.bt-callout {
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    border-top: 6px solid var(--c-brand);
    border-radius: var(--radius);
    padding: var(--s-4);
    box-shadow: var(--shadow-card);
    margin-bottom: var(--s-4);
}
.bt-callout__head { margin-bottom: var(--s-2); }
.bt-callout__badge {
    display: inline-block;
    background: var(--c-brand-soft);
    color: var(--c-brand);
    padding: 4px 10px; font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
    border-radius: 999px;
    margin-bottom: var(--s-1);
}
.bt-callout__title { font-size: 1.4rem; margin: 0; font-weight: 800; color: var(--c-ink); }
.bt-callout__cta-wrap { margin-top: var(--s-2); }

.bt-altopt {
    background: var(--c-cream);
    border-left: 4px solid var(--c-glacier);
    padding: var(--s-3);
    border-radius: var(--radius-sm);
    color: var(--c-ink-soft);
    font-size: .95rem;
}
.bt-altopt p { margin: 0; }
.bt-altopt strong { color: var(--c-ink); }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.bt-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 14px var(--s-3);
    font-family: var(--font); font-size: 1rem; font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: 2px solid transparent; cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, transform .1s;
    text-align: center;
}
.bt-cta:active { transform: scale(.98); }
.bt-cta--primary { background: var(--c-brand); color: #fff; }
.bt-cta--primary:hover { background: var(--c-brand-dark); color: #fff; text-decoration: none; }
.bt-cta--secondary { background: transparent; color: var(--c-brand); border-color: var(--c-brand); }
.bt-cta--secondary:hover { background: var(--c-brand); color: #fff; text-decoration: none; }
.bt-cta--ghost { background: transparent; color: var(--c-ink); padding: 8px 0; font-weight: 600; }
.bt-cta--ghost::after { content: " →"; }

/* ─── Image band ───────────────────────────────────────────────────────── */
.bt-imgband {
    display: grid; grid-template-columns: 1fr; gap: 4px;
}
@media (min-width: 700px) { .bt-imgband { grid-template-columns: repeat(3, 1fr); } }
.bt-imgband__cell {
    aspect-ratio: 3 / 2; overflow: hidden; background: #eee;
}
.bt-imgband__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bt-imgband__cell:hover img { transform: scale(1.04); }

/* ─── Map ──────────────────────────────────────────────────────────────── */
.bt-map {
    margin: 0 auto;
    max-width: 820px;
    padding: var(--s-2);
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    position: relative;
}
.bt-map img,
.bt-map__svg {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
    border-radius: var(--radius-sm);
    transition: transform .15s ease;
}
.bt-map:hover img { transform: scale(1.005); }
.bt-map::before {
    content: "⤢ Click to enlarge";
    position: absolute;
    top: calc(var(--s-2) + 8px);
    right: calc(var(--s-2) + 8px);
    background: rgba(17,20,24,.78);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s ease;
    z-index: 1;
}
.bt-map:hover::before { opacity: 1; }
.bt-map__caption {
    color: var(--c-ink-soft);
    font-size: .9rem;
    margin: var(--s-2) 0 0;
    text-align: center;
}

/* Lightbox */
.bt-lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(10,12,16,.92);
    display: flex; align-items: center; justify-content: center;
    padding: var(--s-3);
    cursor: zoom-out;
    opacity: 0;
    transition: opacity .15s ease;
}
.bt-lightbox.is-open { opacity: 1; }
.bt-lightbox img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    display: block;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px -10px rgba(0,0,0,.5);
}
.bt-lightbox__close {
    position: absolute; top: var(--s-2); right: var(--s-2);
    width: 44px; height: 44px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: 1.6rem; line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font);
}
.bt-lightbox__close:hover { background: rgba(255,255,255,.22); }

/* ─── Highlights ───────────────────────────────────────────────────────── */
.bt-highlights__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 700px) { .bt-highlights__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bt-highlights__grid { grid-template-columns: repeat(3, 1fr); } }
.bt-highlight {
    background: var(--c-paper);
    border: 1px solid var(--c-line); border-radius: var(--radius);
    padding: var(--s-3);
    border-left: 4px solid var(--c-brand);
    border-radius: var(--radius);
}
.bt-highlight__title { color: var(--c-ink); margin: 0 0 var(--s-1); font-size: 1.05rem; font-weight: 700; }
.bt-highlight__body { color: var(--c-ink-soft); margin: 0; font-size: .95rem; }

/* ─── Timetable ────────────────────────────────────────────────────────── */
.bt-tt-block { margin-bottom: var(--s-4); }
.bt-tt-block__h3 { font-size: 1.15rem; margin: 0 0 var(--s-2); color: var(--c-ink); }
.bt-tt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--c-line); border-radius: var(--radius); }
.bt-tt-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.bt-tt-table th, .bt-tt-table td { padding: 12px 14px; border-bottom: 1px solid var(--c-line); text-align: left; color: var(--c-ink); }
.bt-tt-table th { background: var(--c-brand-soft); font-weight: 700; color: var(--c-brand); }
.bt-tt-table tbody tr:last-child td { border-bottom: none; }
.bt-tt-table tr:hover td { background: rgba(200,16,46,.04); }
.bt-tt-note { color: var(--c-ink-soft); font-size: .85rem; margin-top: var(--s-2); }

/* ─── Tips ─────────────────────────────────────────────────────────────── */
.bt-tips__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 700px) { .bt-tips__grid { grid-template-columns: 1fr 1fr; } }
.bt-tip {
    background: var(--c-paper); border-radius: var(--radius);
    padding: var(--s-3); border: 1px solid var(--c-line);
    color: var(--c-ink); position: relative;
}
.bt-tip__num {
    position: absolute; top: var(--s-2); right: var(--s-2);
    color: var(--c-brand); font-weight: 800; font-size: 2rem; opacity: .18;
    line-height: 1;
}
.bt-tip__title { margin: 0 0 var(--s-1); color: var(--c-ink); font-size: 1.05rem; font-weight: 700; }
.bt-tip__body { color: var(--c-ink-soft); margin: 0; font-size: .95rem; }

/* ─── FAQ ──────────────────────────────────────────────────────────────── */
.bt-faq__list { border-top: 1px solid var(--c-line); }
.bt-faq-item { border-bottom: 1px solid var(--c-line); padding: var(--s-2) 0; }
.bt-faq-item__q {
    font-weight: 700; color: var(--c-ink);
    cursor: pointer; list-style: none;
    position: relative; padding-right: 30px; font-size: 1rem;
}
.bt-faq-item__q::-webkit-details-marker { display: none; }
.bt-faq-item__q::after {
    content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    color: var(--c-brand); font-size: 1.6rem; font-weight: 400; line-height: 1;
}
.bt-faq-item[open] .bt-faq-item__q::after { content: "−"; }
.bt-faq-item__a { color: var(--c-ink-soft); padding: var(--s-2) 0 0; max-width: 70ch; }

/* ─── Internal links ───────────────────────────────────────────────────── */
.bt-links__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-2); }
@media (min-width: 700px) { .bt-links__grid { grid-template-columns: 1fr 1fr; } }
.bt-link-card {
    display: block; padding: var(--s-3);
    border: 1px solid var(--c-line); border-radius: var(--radius);
    background: var(--c-paper); color: var(--c-ink);
    text-decoration: none;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.bt-link-card:hover {
    border-color: var(--c-brand); text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}
.bt-link-card__title { color: var(--c-ink); font-weight: 700; }
.bt-link-card__meta { color: var(--c-ink-soft); font-size: .85rem; margin-top: 4px; }

/* ─── Closing CTA banner ───────────────────────────────────────────────── */
.bt-closing {
    position: relative; background: #1c1f24; color: #fff; overflow: hidden;
}
.bt-closing__media { position: absolute; inset: 0; background-size: cover; background-position: center 60%; }
.bt-closing__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,.35) 0%, rgba(10,12,16,.65) 100%); }
.bt-closing__inner { position: relative; padding: var(--s-6) var(--s-3); max-width: var(--maxw); margin: 0 auto; text-align: center; }
.bt-closing__h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 var(--s-2); font-weight: 800; }
.bt-closing__body { color: #f3f3f3; max-width: 60ch; margin: 0 auto var(--s-4); }
.bt-closing__ctas { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; }

/* ─── Sticky bar (mobile) ──────────────────────────────────────────────── */
.bt-stickybar {
    position: fixed; left: 0; right: 0; bottom: 0;
    background: var(--c-paper);
    border-top: 1px solid var(--c-line);
    box-shadow: 0 -4px 16px -4px rgba(17,20,24,.12);
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap;
    align-items: center; gap: var(--s-2);
    padding: var(--s-2);
    padding-bottom: calc(var(--s-2) + env(safe-area-inset-bottom, 0px));
    z-index: 90;
}
.bt-stickybar__info { flex: 1 1 auto; min-width: 0; }
.bt-stickybar__label { color: var(--c-ink); font-size: .85rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-stickybar__price { color: var(--c-ink-soft); font-size: .8rem; }
.bt-stickybar__cta { flex: 0 0 auto; padding: 12px var(--s-3); font-size: .95rem; }
@media (min-width: 1000px) { .bt-stickybar { display: none !important; } }

/* ─── Footer ───────────────────────────────────────────────────────────── */
.bt-footer { background: #181b20; color: #cfd2d6; padding: var(--s-6) 0 var(--s-4); }
.bt-footer__cols { display: grid; grid-template-columns: 1fr; gap: var(--s-4); margin-bottom: var(--s-4); }
@media (min-width: 700px) { .bt-footer__cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.bt-footer__heading { color: #fff; font-size: .95rem; margin: 0 0 var(--s-1); text-transform: uppercase; letter-spacing: .04em; }
.bt-footer__disclaimer { font-size: .85rem; line-height: 1.6; color: #a4a8ae; }
.bt-footer__list { list-style: none; margin: 0; padding: 0; }
.bt-footer__list li { padding: 3px 0; }
.bt-footer__link { color: #cfd2d6; font-size: .9rem; }
.bt-footer__link:hover { color: #fff; text-decoration: underline; }

/* ─── Tour Card (Milan day-trip hub + future tour hubs) ────────────────── */
.bt-tourgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-4);
    margin-top: var(--s-3);
}
@media (min-width: 900px) {
    .bt-tourgrid { grid-template-columns: 1fr 1fr; }
}

.bt-tourcard {
    display: flex;
    flex-direction: column;
    background: var(--c-paper);
    color: var(--c-ink);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}
.bt-tourcard:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(17,20,24,.18); }

.bt-tourcard__media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #e7eaee;
}
.bt-tourcard__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}
.bt-tourcard__badge {
    position: absolute; top: var(--s-2); left: var(--s-2);
    background: var(--c-brand);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(17,20,24,.18);
}

.bt-tourcard__body {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    padding: var(--s-3);
    color: var(--c-ink);
    flex: 1 1 auto; /* let body fill card height so footer aligns across cards */
}
.bt-tourcard__title {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--c-ink);
    /* normalise title block to 2 lines so meta blocks align side by side */
    min-height: calc(2 * 1.3em);
}
.bt-tourcard__subtitle {
    margin: 0;
    color: var(--c-ink-soft);
    font-size: .95rem;
    line-height: 1.5;
    /* normalise subtitle block to 2 lines on tablet+ for card symmetry */
}
@media (min-width: 700px) {
    .bt-tourcard__subtitle { min-height: calc(2 * 1.5em); }
}

.bt-tourcard__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-1);
    padding: var(--s-2) 0;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
}
.bt-tourcard__meta-item { display: flex; flex-direction: column; gap: 2px; }
.bt-tourcard__meta-label {
    font-size: .72rem;
    color: var(--c-ink-soft);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.bt-tourcard__meta-value {
    font-size: .9rem;
    color: var(--c-ink);
    font-weight: 600;
}

.bt-tourcard__highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto; /* push footer to bottom so price/CTA align across cards */
}
.bt-tourcard__highlight {
    position: relative;
    padding-left: 22px;
    font-size: .9rem;
    line-height: 1.45;
    color: var(--c-ink);
}
.bt-tourcard__highlight::before {
    content: "";
    position: absolute;
    left: 0; top: 7px;
    width: 14px; height: 8px;
    border-left: 2px solid var(--c-cta);
    border-bottom: 2px solid var(--c-cta);
    transform: rotate(-45deg);
}

.bt-tourcard__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    padding-top: var(--s-2);
    border-top: 1px solid var(--c-line);
}
.bt-tourcard__price-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--s-2);
    flex-wrap: wrap;
}
.bt-tourcard__price {
    display: flex; align-items: baseline; gap: 6px;
    color: var(--c-ink);
}
.bt-tourcard__price-from { font-size: .8rem; color: var(--c-ink-soft); }
.bt-tourcard__price-value { font-size: 1.6rem; font-weight: 800; color: var(--c-ink); }
.bt-tourcard__price-meta { font-size: .8rem; color: var(--c-ink-soft); }
.bt-tourcard__rating {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: .9rem;
    color: var(--c-ink);
}
.bt-tourcard__rating-star { color: #E0A800; font-size: 1rem; }
.bt-tourcard__rating-sep { color: var(--c-ink-soft); }
.bt-tourcard__rating-suffix { color: var(--c-ink-soft); font-size: .85rem; }

.bt-tourcard__ctas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}
.bt-tourcard__details-link {
    text-align: center;
    font-size: .9rem;
    color: var(--c-brand);
    font-weight: 600;
}
.bt-tourcard__details-link:hover { color: var(--c-brand-dark); }

/* ─── Pick Section ("Which tour fits you?") ────────────────────────────── */
.bt-pickgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-2);
    margin-top: var(--s-3);
}
@media (min-width: 700px) { .bt-pickgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .bt-pickgrid { grid-template-columns: repeat(5, 1fr); } }

.bt-pickcard {
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
    padding: var(--s-3);
    background: var(--c-paper);
    color: var(--c-ink);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.bt-pickcard:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    border-color: var(--c-brand);
    text-decoration: none;
}
.bt-pickcard--top {
    border-color: var(--c-brand);
    border-width: 2px;
    background: var(--c-brand-soft);
}
.bt-pickcard__title {
    margin: 0;
    font-size: 1rem;
    color: var(--c-brand);
    font-weight: 700;
}
.bt-pickcard__body {
    margin: 0;
    color: var(--c-ink);
    font-size: .9rem;
    line-height: 1.5;
    flex: 1 1 auto;
}
.bt-pickcard__cta {
    margin-top: var(--s-1);
    color: var(--c-brand);
    font-size: .85rem;
    font-weight: 600;
}
.bt-pickcard:hover .bt-pickcard__cta { color: var(--c-brand-dark); }

/* ─── Day Timeline ─────────────────────────────────────────────────────── */
.bt-timeline {
    margin-top: var(--s-3);
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}
.bt-timeline__row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--s-3);
    padding: var(--s-3) 0;
    border-bottom: 1px solid var(--c-line);
    align-items: start;
}
.bt-timeline__row:last-child { border-bottom: none; }
.bt-timeline__time {
    color: var(--c-brand);
    font-weight: 700;
    font-size: .95rem;
    white-space: nowrap;
}
.bt-timeline__body {
    color: var(--c-ink);
    font-size: 1rem;
    line-height: 1.55;
}
.bt-timeline__note {
    margin-top: var(--s-3);
    padding: var(--s-2) var(--s-3);
    background: var(--c-cream);
    border-left: 4px solid var(--c-brand);
    border-radius: var(--radius-sm);
    color: var(--c-ink);
    font-size: .9rem;
}

/* ─── Included / Not included split block ──────────────────────────────── */
.bt-included {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-3);
    margin-top: var(--s-3);
}
@media (min-width: 700px) {
    .bt-included { grid-template-columns: 1fr 1fr; }
}
.bt-included__col {
    background: var(--c-paper);
    color: var(--c-ink);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: var(--s-3);
}
.bt-included__col--in { border-left: 4px solid var(--c-cta); }
.bt-included__col--out { border-left: 4px solid #B0B5BC; }
.bt-included__h3 {
    margin: 0 0 var(--s-2);
    font-size: 1rem;
    color: var(--c-ink);
}
.bt-included__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bt-included__item {
    position: relative;
    padding-left: 24px;
    color: var(--c-ink);
    font-size: .92rem;
    line-height: 1.5;
}
.bt-included__col--in .bt-included__item::before {
    content: "";
    position: absolute; left: 4px; top: 6px;
    width: 12px; height: 7px;
    border-left: 2px solid var(--c-cta);
    border-bottom: 2px solid var(--c-cta);
    transform: rotate(-45deg);
}
.bt-included__col--out .bt-included__item::before {
    content: "×";
    position: absolute; left: 4px; top: -2px;
    color: #95989F;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ─── Heads-up block (on detail pages) ─────────────────────────────────── */
.bt-headsup {
    margin-top: var(--s-3);
    padding: var(--s-3);
    background: var(--c-cream);
    border: 1px dashed var(--c-brand);
    border-radius: var(--radius);
    color: var(--c-ink);
}
.bt-headsup__h3 {
    margin: 0 0 var(--s-2);
    font-size: 1.05rem;
    color: var(--c-ink);
}
.bt-headsup__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bt-headsup__item {
    position: relative;
    padding-left: 20px;
    color: var(--c-ink);
    font-size: .95rem;
    line-height: 1.5;
}
.bt-headsup__item::before {
    content: "!";
    position: absolute; left: 4px; top: 0;
    color: var(--c-brand);
    font-weight: 800;
}

/* ─── Hero variant for hub pages (text-only, image right) ──────────────── */
.bt-herox--milan .bt-herox__container { gap: var(--s-5); }
/* ─── Detail-page long-form prose + factbox ────────────────────────────── */
.bt-detail-prose {
    max-width: 800px;
}
.bt-detail-prose p {
    color: var(--c-ink);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 var(--s-3);
}
.bt-factbox {
    margin-top: var(--s-4);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-2);
    padding: var(--s-3);
    background: var(--c-cream);
    border-left: 4px solid var(--c-brand);
    border-radius: var(--radius-sm);
}
@media (min-width: 700px) {
    .bt-factbox { grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-4); }
}
.bt-factbox__label {
    color: var(--c-ink-soft);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
    margin-bottom: 2px;
}
.bt-factbox__value {
    color: var(--c-ink);
    font-size: .95rem;
    line-height: 1.45;
}

/* Hub hero: keep trust-row single-line on tablet+ to match route pages.   */
@media (min-width: 700px) {
    .bt-herox--milan .bt-herox__trust { flex-wrap: nowrap; gap: var(--s-4); }
    .bt-herox--milan .bt-herox__trust li { white-space: nowrap; }
}
/* Detail page hero: same single-line trust row, kept short so it doesn't
   collide with the image when content + image sit side by side.          */
@media (min-width: 900px) {
    .bt-herox--milan .bt-herox__trust { gap: var(--s-3); font-size: .85rem; }
}

.bt-footer__legal { border-top: 1px solid #2a2d33; padding-top: var(--s-2); color: #888c92; font-size: .8rem; margin: 0; }

/* ─── Legal pages (imprint, privacy) — long-form readable text ─────────── */
.bt-legal h1 { font-size: 2rem; margin: 0 0 var(--s-3); }
.bt-legal h2 { font-size: 1.4rem; margin: var(--s-5) 0 var(--s-2); color: var(--c-ink); }
.bt-legal h3 { font-size: 1.1rem; margin: var(--s-4) 0 var(--s-1); color: var(--c-ink); }
.bt-legal h4 { font-size: .98rem; margin: var(--s-3) 0 var(--s-1); color: var(--c-ink-soft); font-weight: 700; }
.bt-legal p, .bt-legal li { font-size: .95rem; line-height: 1.6; color: var(--c-ink-soft); }
.bt-legal p { margin: 0 0 var(--s-2); }
.bt-legal ul { margin: 0 0 var(--s-3) var(--s-3); padding: 0; }
.bt-legal li { margin-bottom: 6px; }
.bt-legal a { color: var(--c-brand); }
.bt-legal a:hover { color: var(--c-brand-dark); }
