/* =====================================================================
   TripMy, Design System v2 (Editorial Atlas)
   Load after: css/main.css
   Location  : /trip/css/tripmy.css
   ===================================================================== */

:root {
    /* Palette ---------------------------------------------------------- */
    --ukblue: #22334e;
    --ukred: #bb3c36;
    --ukoffwhite: #fcfcfc;
    --ukpaper: #f3f1ec;
    --ukink: #0e1a2e;
    --ukmuted: #6b7a90;
    --ukrule: rgba(34, 51, 78, 0.10);

    /* Destination-aware accent (identical for both by default;
       uncomment the html[data-destination="swiss"] block below
       to enable a subtle Swiss-flag tint). */
    --accent: var(--ukred);
    --accent-soft: rgba(187, 60, 54, 0.10);

    /* Typography ------------------------------------------------------- */
    --tracking-mega: -0.055em;
    --tracking-display: -0.04em;
    --tracking-h2: -0.03em;
    --tracking-h3: -0.022em;
    --tracking-body: -0.005em;
    --tracking-eyebrow: 0.28em;

    /* Radii ------------------------------------------------------------- */
    /* === RADIUS SCALE (calibrated to business card aesthetic, ~14px = card) === */
    --radius-sm: 6px;       /* tiny details: scrollbar thumbs, small badges */
    --radius-md: 10px;      /* inputs, fields, select dropdowns */
    --radius-lg: 14px;      /* CARDS (matches business card 6mm radius) */
    --radius-xl: 18px;      /* large containers, modal shells */
    --radius-2xl: 24px;     /* very large editorial blocks (rare) */
    --radius-pill: 999px;   /* CTAs, chips, tags */

    /* Shadows ----------------------------------------------------------- */
    --shadow-soft: 0 30px 60px -30px rgba(34, 51, 78, 0.18), 0 10px 24px -14px rgba(34, 51, 78, 0.10);
    --shadow-lift: 0 40px 80px -30px rgba(34, 51, 78, 0.28), 0 14px 28px -14px rgba(34, 51, 78, 0.14);
    --shadow-deep: 0 50px 100px -40px rgba(14, 26, 46, 0.45);
}

/* Optional subtle Swiss accent shift, uncomment to enable
html[data-destination="swiss"] {
    --accent: #d52b1e;
    --accent-soft: rgba(213, 43, 30, 0.10);
}
*/

html, body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: var(--tracking-body);
    color: var(--ukink);
    background: var(--ukoffwhite);
}

/* ===== Typography primitives ========================================= */
.type-eyebrow {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
}
.type-mega {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: var(--tracking-mega);
    line-height: 0.92;
}
.type-display {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: var(--tracking-display);
    line-height: 0.96;
}
.type-h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: var(--tracking-h3);
    line-height: 1.1;
}
.type-italic {
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.015em;
}

/* ===== Destination switcher (top of hero) ============================ */
.dest-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 40px -18px rgba(14, 26, 46, 0.45);
    isolation: isolate;
}
.dest-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem 0.55rem 0.8rem;
    font: inherit;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: -0.005em;
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    z-index: 2;
    transition: color 0.35s;
}
.dest-option .dest-flag {
    font-size: 1rem;
    line-height: 1;
    filter: saturate(1.1);
}
.dest-option[aria-pressed="true"] {
    color: var(--ukink);
}
.dest-indicator {
    position: absolute;
    top: 5px;
    bottom: 5px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 12px -2px rgba(14, 26, 46, 0.25);
    transition: left 0.5s cubic-bezier(.2, .8, .2, 1), width 0.5s cubic-bezier(.2, .8, .2, 1);
    z-index: 1;
}

/* ===== Hero ========================================================== */
.hero-shell {
    min-height: 100svh;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Mobile safety net: short viewports (iPhone SE / Mini) — let hero extend
   beyond viewport rather than clip title behind fixed header */
@media (max-width: 640px) {
    .hero-shell {
        min-height: auto;
        padding-top: 4.5rem;          /* clear the 64px fixed header (h-16) */
        padding-bottom: 5rem;          /* room for hero-rail */
        align-items: flex-start;       /* override flex items-end on small screens */
    }
    .hero-shell .relative.z-10 {
        padding-top: 0 !important;     /* override Tailwind pt-* on inner content */
    }
    /* Push hero-rail labels to single line, smaller */
    .hero-rail {
        padding: 0.85rem 1.25rem;
        font-size: 0.62rem;
        letter-spacing: 0.14em;
        gap: 0.75rem;
    }
    .hero-rail span strong,
    .hero-rail em {
        font-size: 0.78rem;
    }
}
.hero-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.035 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    mix-blend-mode: multiply;
    opacity: 0.55;
    z-index: 3;
}
.hero-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(14, 26, 46, 0.05) 0%, rgba(14, 26, 46, 0.20) 40%, rgba(14, 26, 46, 0.70) 100%),
        linear-gradient(90deg, rgba(14, 26, 46, 0.55) 0%, rgba(14, 26, 46, 0.05) 60%);
    z-index: 1;
}

.hero-rail {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 4;
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(to bottom, rgba(14, 26, 46, 0) 0%, rgba(14, 26, 46, 0.55) 100%);
    backdrop-filter: blur(2px);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.hero-rail span strong {
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
    font-size: 0.95rem;
    margin-left: 0.4rem;
}
.hero-rail em {
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    letter-spacing: -0.005em;
    font-size: 0.95rem;
    opacity: 0.85;
}

/* ===== Buttons ======================================================= */
.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: -0.01em;
    font-size: 0.95rem;
    line-height: 1;
    background: var(--ukblue);
    color: #fff;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .3s, box-shadow .3s;
    box-shadow: 0 14px 30px -14px rgba(34, 51, 78, 0.55);
}
.btn-pill:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 22px 40px -16px rgba(187, 60, 54, 0.45);
}
.btn-pill .arrow { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.btn-pill:hover .arrow { transform: translateX(4px); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 1.05rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-weight: 500;
    letter-spacing: -0.005em;
    font-size: 0.92rem;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.06);
    transition: background .3s, border-color .3s;
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-pill-light {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: -0.01em;
    font-size: 0.95rem;
    background: #fff;
    color: var(--ukblue);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .3s, color .3s;
}
.btn-pill-light:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.section-rule {
    width: 48px;
    height: 1px;
    background: currentColor;
    opacity: 0.3;
    display: inline-block;
    vertical-align: middle;
    margin-right: 1rem;
}

/* ===== Stats strip =================================================== */
.stats-strip {
    border-top: 1px solid var(--ukrule);
    border-bottom: 1px solid var(--ukrule);
}
.stat-item {
    position: relative;
    padding: 2.25rem 1.5rem;
    text-align: center;
}
.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 30%; right: 0;
    height: 40%;
    width: 1px;
    background: var(--ukrule);
}
.stat-item .stat-num {
    display: block;
    font-weight: 700;
    font-size: clamp(2.75rem, 5vw, 4rem);
    letter-spacing: -0.04em;
    color: var(--ukblue);
    line-height: 1;
    font-variant-numeric: lining-nums;
}
.stat-item .stat-num em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}
.stat-item .stat-label {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ukmuted);
    font-weight: 600;
}

/* ===== About : postcard ============================================== */
.postcard {
    position: relative;
    background: var(--ukpaper);
    border-radius: var(--radius-xl);
    padding: 2.75rem 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--ukrule);
    overflow: hidden;
}
.postcard::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: repeating-linear-gradient(
        -45deg,
        var(--accent) 0 12px,
        var(--ukoffwhite) 12px 24px,
        var(--ukblue) 24px 36px,
        var(--ukoffwhite) 36px 48px
    );
    opacity: 0.9;
}
.postcard-stamp {
    position: absolute;
    top: 1.75rem;
    right: 1.75rem;
    width: 70px;
    height: 70px;
    border: 1.5px dashed rgba(34, 51, 78, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--ukmuted);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    transform: rotate(-8deg);
}
.postcard-stat {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px dashed rgba(34, 51, 78, 0.15);
}
.postcard-stat:last-child { border-bottom: none; }
.postcard-stat .big {
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: -0.03em;
    color: var(--accent);
    font-feature-settings: "ss01";
    min-width: 3.25rem;
}
.postcard-stat .big em { font-style: italic; font-weight: 400; }
.postcard-stat p {
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--ukink);
    letter-spacing: -0.005em;
}

/* ===== Benefits grid (Why TripMy) ==================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(4, 1fr); } }

.benefit-card {
    position: relative;
    padding: 2rem 1.75rem 2.25rem;
    background: var(--ukblue);
    color: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    isolation: isolate;
}
.benefit-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(255,255,255,0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}
.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lift);
}
.benefit-card .benefit-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
    position: relative;
    z-index: 1;
}
.benefit-card:hover .benefit-icon { transform: translateY(-4px) scale(1.05); }
.benefit-card h4 {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-top: 1.25rem;
    color: #fff;
    position: relative; z-index: 1;
}
.benefit-card p {
    margin-top: 0.65rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: -0.005em;
    position: relative; z-index: 1;
}
.benefit-card .benefit-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -40px;
    width: 180px;
    height: 180px;
    opacity: 0.05;
    transition: opacity .6s, transform .6s;
    z-index: 0;
}
.benefit-card:hover .benefit-bg-icon {
    opacity: 0.11;
    transform: translateY(-12px);
}

/* ===== Process cards ================================================= */
.process-card {
    position: relative;
    padding: 2rem 1.75rem 2.25rem;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--ukrule);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, border-color .4s;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.process-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(187, 60, 54, 0.35);
}
.process-card .numeral {
    font-style: italic;
    font-weight: 400;
    font-size: 3.75rem;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--accent);
    font-variant-numeric: lining-nums;
}
.process-card .step-title {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ukblue);
    margin-top: 1.25rem;
}
.process-card .step-desc {
    color: var(--ukmuted);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.55;
    letter-spacing: -0.005em;
    margin-top: 0.75rem;
}
.process-card .ghost-num {
    position: absolute;
    right: -0.5rem;
    bottom: -3.25rem;
    font-weight: 700;
    font-size: 13rem;
    letter-spacing: -0.06em;
    color: rgba(34, 51, 78, 0.04);
    line-height: 1;
    pointer-events: none;
    transition: color .6s;
}
.process-card:hover .ghost-num { color: rgba(187, 60, 54, 0.08); }

/* ===== Experiences : flip cards ====================================== */
.flip-card { perspective: 1400px; height: 480px; }
.flip-card-inner {
    position: relative;
    width: 100%; height: 100%;
    transition: transform .9s cubic-bezier(.2, .8, .2, 1);
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.flip-card-front { background: var(--ukblue); }
.flip-card-front img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}
.flip-card:hover .flip-card-front img { transform: scale(1.06); }
.flip-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(155deg, #1a2740 0%, var(--ukblue) 60%, #2c4066 100%);
    color: #fff;
    padding: 1.75rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    overflow-y: auto;
}
.flip-card-back .pull {
    font-style: italic;
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: rgba(255, 255, 255, 0.95);
}
.flip-card-back .pull-sub {
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: -0.005em;
    margin: 0;
}
.flip-card-back .pull-tag {
    font-size: 0.65rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent);
}
.flip-card-back .pull-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.flip-card-back .pull-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: -0.005em;
    line-height: 1.4;
}
.flip-card-back .pull-list li::before {
    content: "";
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 0.55rem;
}

/* ===== Inspiration tiles ============================================= */
.place-tile {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0e1a2e;
    display: block;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.place-tile img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.4s cubic-bezier(.2, .8, .2, 1), filter .8s;
    filter: saturate(0.9) contrast(1.02);
}
.place-tile:hover { transform: translateY(-8px); }
.place-tile:hover img { transform: scale(1.07); filter: saturate(1.1); }
.place-tile .tile-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.5rem 1.75rem;
    color: #fff;
    z-index: 2;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}
.place-tile .tile-caption::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 26, 46, 0.85) 0%, rgba(14, 26, 46, 0) 100%);
    z-index: -1;
}
.place-tile .tile-name {
    font-style: italic;
    font-weight: 400;
    font-size: 2rem;
    letter-spacing: -0.03em;
    line-height: 1;
}
.place-tile .tile-idx {
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    opacity: 0.75;
}

.companion-pin {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: 2rem 1.5rem 2.25rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1),
                background .4s, border-color .4s;
    text-align: center;
    cursor: default;
}
.companion-pin:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.companion-pin .pin-photo {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1),
                border-color .4s, box-shadow .4s;
    margin-bottom: 0.4rem;
    filter: saturate(0.92);
}
.companion-pin:hover .pin-photo {
    transform: translateY(-3px) scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
    filter: saturate(1.05);
}

/* Legacy SVG pin-icon (kept for backward compat in other contexts) */
.companion-pin .pin-icon {
    width: 36px;
    height: 36px;
    color: rgba(255, 255, 255, 0.55);
    transition: color .4s, transform .4s cubic-bezier(.2, .8, .2, 1);
}
.companion-pin:hover .pin-icon {
    color: var(--accent);
    transform: translateY(-2px) scale(1.05);
}

.companion-pin .pin-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}
.companion-pin .pin-name {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    transition: color .3s;
}
.companion-pin:hover .pin-name { color: var(--accent); }

.companion-pin .pin-sub {
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
}

.companion-pin .pin-access {
    display: block;
    padding-top: 0.85rem;
    width: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    white-space: nowrap;
    width: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.companion-pin .pin-tagline {
    font-style: italic;
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: -0.005em;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    max-width: 26ch;
    margin-top: 0.25rem;
}

/* ===== Big CTA callout (pre-trust, editorial style) ================== */
.cta-callout {
    position: relative;
    border-radius: var(--radius-2xl);
    padding: 4rem 2rem;
    background:
        radial-gradient(ellipse 80% 60% at 20% 20%, rgba(187, 60, 54, 0.14), transparent 60%),
        radial-gradient(ellipse 70% 50% at 90% 80%, rgba(70, 100, 150, 0.18), transparent 60%),
        linear-gradient(160deg, #141b35 0%, var(--ukblue) 55%, #1a2845 100%);
    color: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    isolation: isolate;
    text-align: center;
}
.cta-callout::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.06) 1px, transparent 1.5px);
    background-size: 48px 48px;
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}
.cta-callout .cta-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.25rem;
}
.cta-callout .cta-title {
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.04em;
    line-height: 1;
    max-width: 18ch;
    margin: 0 auto 1rem;
}
.cta-callout .cta-title em {
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}
.cta-callout .cta-desc {
    max-width: 38ch;
    margin: 0 auto 2.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.55;
    letter-spacing: -0.005em;
}
@media (min-width: 768px) {
    .cta-callout { padding: 6rem 4rem; }
}

/* ===== Form ========================================================== */
.field {
    width: 100%;
    padding: 1.15rem 1.4rem;
    background: #fff;
    border: 1px solid var(--ukrule);
    border-radius: var(--radius-xl);
    font-family: inherit;
    font-size: 1rem;
    letter-spacing: -0.005em;
    color: var(--ukink);
    transition: border-color .3s, box-shadow .3s, background .3s;
}
.field:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}
.field::placeholder {
    color: rgba(34, 51, 78, 0.45);
    font-weight: 400;
}

/* ===== Reveal animation ============================================== */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1);
}
.reveal.is-in, .reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: .08s; }
.delay-200 { transition-delay: .16s; }
.delay-300 { transition-delay: .24s; }
.delay-400 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    .hero-zoom { animation: none; }
}

/* ===== Trust strip =================================================== */
.trust-strip {
    border-top: 1px solid var(--ukrule);
    border-bottom: 1px solid var(--ukrule);
    background: var(--ukpaper);
}

/* =====================================================================
   NEW V3 COMPONENTS, Case studies, testimonials, designer, FAQ, form
   ===================================================================== */

/* ===== B2B Assets cards (navy section) =============================== */
.b2b-card {
    position: relative;
    padding: 2.25rem 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(6px);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1),
                background .4s, border-color .4s;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.b2b-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
}
.b2b-num {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    font-variant-numeric: lining-nums;
}
.b2b-icon {
    width: 36px;
    height: 36px;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.b2b-card:hover .b2b-icon {
    transform: translateY(-2px) scale(1.05);
}
.b2b-title {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: #fff;
}
.b2b-title em {
    font-weight: 400;
}
.b2b-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    letter-spacing: -0.005em;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    flex: 1;
}

/* ===== "The World is your oyster" tagline ============================ */
.oyster-tagline {
    font-weight: 700;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: #fff;
    margin: 0;
}
.oyster-tagline em {
    font-weight: 400;
    color: var(--accent);
}

/* ===== Brand logo (header image, swaps per destination) =============== */
.logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0; /* removes extra space below inline img */
    transition: opacity .3s ease;
}
.logo-link:hover {
    opacity: 0.8;
}
.brand-logo {
    height: 44px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    /* Smooth crossfade when src swaps between destinations */
    transition: opacity .4s ease;
}
@media (min-width: 768px) {
    .brand-logo {
        height: 52px;
        max-width: 220px;
    }
}
/* Optional fade during swap (triggered by JS) */
.brand-logo.is-swapping {
    opacity: 0;
}

/* ===== Hero phone CTA (B2B priority) ================================== */
.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.55rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 1rem;
    transition: opacity .3s;
}
.hero-phone:hover { opacity: 0.85; }
.hero-phone-label {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}
.hero-phone-num {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: #fff;
    padding-left: 0.85rem;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    white-space: nowrap;
}
.hero-phone-num svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Portrait mobile: stack label above number to keep the phone number
   on a single readable line instead of wrapping awkwardly. */
@media (max-width: 480px) {
    .hero-phone {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
    }
    .hero-phone-num {
        padding-left: 0;
        border-left: none;
        font-size: 1.05rem;
    }
}

/* ===== Pillar editorial cards (replaces flip-cards) ==================== */
.pillar-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--ukrule);
    box-shadow: var(--shadow-soft);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
    display: flex;
    flex-direction: column;
}
.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
}
.pillar-media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
}
.pillar-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}
.pillar-card:hover .pillar-media img { transform: scale(1.05); }
.pillar-index {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: var(--ukblue);
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}
.pillar-body {
    padding: 2rem 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}
.pillar-tag {
    font-size: 0.68rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent);
}
.pillar-title {
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: -0.028em;
    line-height: 1.05;
    color: var(--ukblue);
}
.pillar-title em {
    font-weight: 400;
}
.pillar-sub {
    color: var(--ukmuted);
    font-size: 0.98rem;
    line-height: 1.55;
    letter-spacing: -0.005em;
}
.pillar-examples {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--ukrule);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.pillar-examples li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: var(--ukink);
    letter-spacing: -0.005em;
    line-height: 1.4;
}
.pillar-examples li::before {
    content: "";
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* ===== Case study cards =============================================== */
.case-card {
    display: flex;
    flex-direction: column;
    background: var(--ukpaper);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--ukrule);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
}
.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
}
.case-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}
.case-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.4s cubic-bezier(.2, .8, .2, 1);
    filter: saturate(0.95);
}
.case-card:hover .case-media img {
    transform: scale(1.04);
    filter: saturate(1.05);
}
.case-chapter {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 0.65rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    padding: 0.35rem 0.85rem;
    background: rgba(14, 26, 46, 0.55);
    backdrop-filter: blur(8px);
    border-radius: 999px;
}
.case-body {
    padding: 1.75rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}
.case-meta {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent);
}
.case-title {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.028em;
    line-height: 1.05;
    color: var(--ukblue);
}
.case-title em { font-weight: 400; }
.case-desc {
    color: var(--ukmuted);
    font-size: 0.92rem;
    line-height: 1.55;
    letter-spacing: -0.005em;
    flex: 1;
}
.case-route {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--ukink);
    font-weight: 500;
    padding-top: 1rem;
    border-top: 1px dashed rgba(34, 51, 78, 0.15);
    margin: 0;
}

/* ===== Testimonial carousel =========================================== */
.testimonial-stage {
    position: relative;
    padding: 2rem 0;
    text-align: center;
}
.testimonial-mark {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 56px; height: 56px;
    color: var(--accent);
    opacity: 0.25;
}
.testimonial-track {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
}
.testimonial-slide {
    grid-row: 1;
    grid-column: 1;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s cubic-bezier(.2, .8, .2, 1),
                transform .6s cubic-bezier(.2, .8, .2, 1);
    pointer-events: none;
    margin: 0;
    padding: 3rem 1rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.25rem;
}
.testimonial-slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.testimonial-quote {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    letter-spacing: -0.025em;
    line-height: 1.35;
    color: var(--ukblue);
    max-width: 38ch;
    margin: 0;
}
.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
}
.testimonial-name {
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ukblue);
}
.testimonial-role {
    font-style: italic;
    font-weight: 400;
    font-size: 0.88rem;
    color: var(--ukmuted);
    letter-spacing: -0.005em;
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}
.testimonial-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(34, 51, 78, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .3s, transform .3s;
}
.testimonial-dot:hover { background: rgba(34, 51, 78, 0.35); }
.testimonial-dot.is-active {
    background: var(--accent);
    transform: scale(1.3);
}

/* ===== Designer module ================================================ */
.designer-module {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 768px) {
    .designer-module {
        grid-template-columns: 320px 1fr;
        gap: 3.5rem;
    }
}
@media (min-width: 1024px) {
    .designer-module {
        grid-template-columns: 400px 1fr;
        gap: 5rem;
    }
}

.designer-portrait {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
}
.designer-portrait img {
    width: 100%; height: 100%; object-fit: cover;
    filter: saturate(0.92) contrast(1.02);
}
.designer-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}
.designer-body {
    padding: 1rem 0;
}
.designer-quote {
    font-style: italic;
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    line-height: 1.55;
    color: var(--ukink);
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
    border-left: 2px solid var(--accent);
}
.designer-bio {
    font-size: 0.98rem;
    line-height: 1.7;
    letter-spacing: -0.005em;
    color: var(--ukmuted);
    margin: 0 0 2rem;
    max-width: 52ch;
}
.designer-bio em {
    font-style: italic;
    color: var(--ukink);
    font-weight: 400;
}
.designer-bio strong {
    font-weight: 600;
    color: var(--ukblue);
}
.designer-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-top: 1px solid var(--ukrule);
    border-bottom: 1px solid var(--ukrule);
    margin-bottom: 2rem;
}
.designer-facts dt {
    font-size: 0.65rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ukmuted);
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.designer-facts dd {
    font-size: 0.95rem;
    color: var(--ukblue);
    font-weight: 600;
    letter-spacing: -0.005em;
    margin: 0;
}
.designer-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    border: 1px solid var(--ukblue);
    color: var(--ukblue);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: -0.005em;
    transition: background .3s, color .3s, transform .3s;
}
.designer-cta:hover {
    background: var(--ukblue);
    color: #fff;
    transform: translateY(-2px);
}
.designer-cta svg { color: var(--accent); transition: color .3s; }
.designer-cta:hover svg { color: #fff; }

/* ===== FAQ accordion ================================================== */
.faq-list {
    border-top: 1px solid var(--ukrule);
}
.faq-item {
    border-bottom: 1px solid var(--ukrule);
}
.faq-item summary {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0.5rem 1.5rem 0;
    cursor: pointer;
    list-style: none;
    transition: background .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(255, 255, 255, 0.3); }
.faq-num {
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    color: var(--accent);
    min-width: 2.5rem;
    font-variant-numeric: lining-nums;
}
.faq-q {
    flex: 1;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ukblue);
    letter-spacing: -0.015em;
    line-height: 1.3;
}
.faq-toggle {
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ukpaper);
    color: var(--ukblue);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), background .3s;
    flex-shrink: 0;
}
.faq-toggle svg { width: 14px; height: 14px; }
.faq-item[open] .faq-toggle {
    transform: rotate(180deg);
    background: var(--accent);
    color: #fff;
}
.faq-a {
    padding: 0 2.5rem 1.75rem 4rem;
    color: var(--ukmuted);
    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: -0.005em;
    max-width: 60ch;
}

/* ===== Form enhancements ============================================== */
.form-fieldset {
    border: none;
    padding: 0;
    margin: 0;
}
.form-legend {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ukmuted);
    margin-bottom: 0.85rem;
    padding: 0;
}
.form-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.form-pill {
    cursor: pointer;
}
.form-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.form-pill span {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--ukrule);
    border-radius: 999px;
    background: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ukink);
    letter-spacing: -0.005em;
    transition: all .3s;
}
.form-pill:hover span {
    border-color: var(--accent);
    color: var(--accent);
}
.form-pill input[type="radio"]:checked + span {
    background: var(--ukblue);
    border-color: var(--ukblue);
    color: #fff;
}
.form-pill input[type="radio"]:focus-visible + span {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.field-select-wrap {
    position: relative;
}
.field-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 3rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--ukink);
}
.field-select:invalid,
.field-select option:disabled {
    color: rgba(34, 51, 78, 0.45);
}
.field-select-arrow {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 16px;
    color: var(--ukmuted);
    pointer-events: none;
}

/* ===== Destination transition ========================================
   View Transitions API (native, Chrome/Safari/Edge). Older browsers get
   a basic CSS opacity fade via .trip-fading on <body>.
   ================================================================= */

/* View Transitions API */
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.55s;
    animation-timing-function: cubic-bezier(.2, .8, .2, 1);
}
::view-transition-old(root) {
    animation-name: trip-fade-out;
}
::view-transition-new(root) {
    animation-name: trip-fade-in;
}
@keyframes trip-fade-out {
    to { opacity: 0; transform: translateY(-4px) scale(0.998); }
}
@keyframes trip-fade-in {
    from { opacity: 0; transform: translateY(6px) scale(1.005); }
}

/* CSS fallback for older browsers (Firefox pré-137) */
body.trip-fading main, body.trip-fading section:not(.hero-shell) {
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .35s ease, transform .35s ease;
}
body.trip-fading .hero-shell [data-trip] {
    opacity: 0;
    transition: opacity .3s ease;
}

/* ===== Responsive tweaks ============================================= */
@media (max-width: 640px) {
    .postcard { padding: 2rem 1.5rem; }
    .flip-card { height: 380px; }
    .flip-card-back { padding: 2rem 1.5rem; }
    .flip-card-back .pull { font-size: 1.85rem; }
    .process-card .ghost-num { font-size: 10rem; }
    .dest-option .dest-label { display: none; }
    .dest-option { padding: 0.55rem 0.65rem; }
}

/* ===== Extended responsive + cross-browser tweaks (v4.1) ============= */

/* Mobile B2B cards: tighten padding */
@media (max-width: 640px) {
    .b2b-card {
        padding: 1.75rem 1.4rem 1.5rem;
        gap: 0.85rem;
    }
    .b2b-num {
        top: 1.1rem;
        right: 1.4rem;
        font-size: 0.6rem;
    }
    .b2b-icon { width: 32px; height: 32px; }
    .b2b-title { font-size: 1.25rem; }
    .b2b-desc { font-size: 0.88rem; }

    /* Oyster tagline scales with clamp() but ensure mobile readability */
    .oyster-tagline { font-size: 1.65rem; letter-spacing: -0.025em; }

    /* Flip cards on mobile: shrink slightly + reduce inner padding */
    .flip-card { height: 420px; }
    .flip-card-back { padding: 1.4rem 1.25rem; gap: 0.75rem; }
    .flip-card-back .pull { font-size: 1.3rem; }
    .flip-card-back .pull-list li { font-size: 0.75rem; }
}

/* Tablet (medium): keep 2-up B2B grid, slightly looser pillar grid */
@media (min-width: 641px) and (max-width: 1023px) {
    .flip-card { height: 460px; }
}

/* ===== Touch device support for flip-cards ============================
   Hover doesn't exist on touch screens; provide tap-to-flip via :focus-within
   ===================================================================== */
.flip-card { cursor: pointer; }
.flip-card:focus-within .flip-card-inner,
.flip-card.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
}
@media (hover: none) {
    /* On touch, prefer click-toggle over forced flip on hover */
    .flip-card:hover .flip-card-inner { transform: none; }
    .flip-card.is-flipped .flip-card-inner { transform: rotateY(180deg); }
}

/* ===== Cross-browser fixes =========================================== */
/* Safari: backdrop-filter prefix */
.b2b-card {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/* Safari + iOS: smooth scroll touch behavior on testimonial-track */
.testimonial-track,
.flip-card-back {
    -webkit-overflow-scrolling: touch;
}

/* Firefox: respect color-scheme for form elements */
input, textarea, select {
    color-scheme: light;
}

/* Reduced motion: disable flip animation for accessibility */
@media (prefers-reduced-motion: reduce) {
    .flip-card-inner,
    .flip-card-front img,
    .b2b-card,
    .testimonial-slide,
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== Back-to-top button (v4.1) ===================================== */
.back-to-top {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 50;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ukblue);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-deep, 0 12px 40px rgba(14, 26, 46, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .35s ease,
                transform .35s cubic-bezier(.2, .8, .2, 1),
                background .25s ease;
    transform: translateY(0);
}
.back-to-top svg {
    width: 18px;
    height: 18px;
}
.back-to-top:hover {
    background: var(--ukred);
    transform: translateY(-3px);
}
.back-to-top:focus-visible {
    outline: 2px solid var(--ukred);
    outline-offset: 3px;
}
.back-to-top.opacity-0 {
    opacity: 0;
    transform: translateY(8px);
}
.back-to-top.pointer-events-none {
    pointer-events: none;
}
@media (max-width: 640px) {
    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 42px;
        height: 42px;
    }
}

/* =====================================================================
   v5.0 NEW SECTIONS, full refonte B2B
   ===================================================================== */

/* ===== B2B card stat badge (bottom of each card) ===================== */
.b2b-stat {
    display: inline-block;
    margin-top: auto;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(187, 60, 54, 0.35);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(187, 60, 54, 0.05);
    align-self: flex-start;
}

/* ===== Sample Journeys cards ========================================== */
.journey-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(14, 26, 46, 0.06);
    border: 1px solid rgba(14, 26, 46, 0.06);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1),
                box-shadow .4s, border-color .4s;
}
.journey-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(14, 26, 46, 0.12);
    border-color: rgba(187, 60, 54, 0.18);
}
.journey-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ukpaper);
}
.journey-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}
.journey-card:hover .journey-thumb img {
    transform: scale(1.05);
}
.journey-tag {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--ukblue);
    color: #fff;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.journey-body {
    padding: 1.5rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}
.journey-title {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--ukblue);
    margin: 0;
}
.journey-title em {
    font-weight: 400;
}
.journey-meta {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
    font-size: 0.85rem;
    color: var(--ukmuted);
    border-top: 1px solid rgba(14, 26, 46, 0.08);
    border-bottom: 1px solid rgba(14, 26, 46, 0.08);
    padding: 0.7rem 0;
}
.journey-meta li {
    display: flex;
    align-items: center;
}
.journey-meta strong {
    color: var(--ukblue);
    font-weight: 700;
}
.journey-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--ukmuted);
    letter-spacing: -0.005em;
    margin: 0;
}
.journey-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
}
.journey-pillars span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0.3rem 0.65rem;
    border: 1px solid rgba(187, 60, 54, 0.25);
    border-radius: var(--radius-lg);
}

/* ===== Regional Reach (map) =========================================== */
.reach-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    justify-items: center;
}
/* Tablet & laptop: side-by-side, balanced */
@media (min-width: 900px) {
    .reach-grid {
        grid-template-columns: 1.5fr 0.85fr;
        gap: 3rem;
        align-items: center;
        justify-items: stretch;
    }
}
/* Wide desktop: slightly more map space */
@media (min-width: 1280px) {
    .reach-grid {
        grid-template-columns: 1.6fr 0.8fr;
        gap: 4rem;
    }
}
.reach-map {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
}
.reach-map-svg {
    width: 100%;
    height: auto;
    max-height: 75vh;
    display: block;
    margin: 0 auto;
}
.reach-dot circle:first-child {
    transition: r .4s ease;
    transform-origin: center;
    transform-box: fill-box;
}
.reach-dot:hover circle:first-child {
    fill: rgba(187, 60, 54, 0.35);
}
.reach-dot text {
    pointer-events: none;
}

.reach-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}
.reach-number {
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    padding-left: 1.1rem;
}
.reach-number-val {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    margin-bottom: 0.4rem;
}
.reach-number-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
}
.reach-disclosure {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
}

.btn-pill-on-dark {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: #fff;
    color: var(--ukblue);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: -0.005em;
    transition: transform .35s, background .3s, color .3s;
    text-decoration: none;
    align-self: flex-start;
}
.btn-pill-on-dark:hover {
    transform: translateY(-2px);
    background: var(--accent);
    color: #fff;
}
.btn-pill-on-dark .arrow {
    transition: transform .3s;
}
.btn-pill-on-dark:hover .arrow {
    transform: translateX(3px);
}

/* ===== Designer multi-CTA stack ====================================== */
.designer-cta-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.25rem;
}
.designer-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.95rem 1.5rem;
    background: var(--ukblue);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: -0.005em;
    transition: background .3s, transform .35s;
    text-decoration: none;
    align-self: flex-start;
}
.designer-cta-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
}
.designer-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.designer-cta-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.95rem;
    background: transparent;
    border: 1px solid rgba(14, 26, 46, 0.18);
    color: var(--ukblue);
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: -0.005em;
    transition: border-color .3s, color .3s, background .3s;
    text-decoration: none;
}
.designer-cta-mini:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(187, 60, 54, 0.04);
}

/* ===== FAQ tabs ====================================================== */
.faq-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.faq-tab {
    padding: 0.7rem 1.4rem;
    background: transparent;
    border: 1px solid rgba(14, 26, 46, 0.18);
    color: var(--ukblue);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: background .3s, color .3s, border-color .3s;
}
.faq-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.faq-tab.is-active {
    background: var(--ukblue);
    color: #fff;
    border-color: var(--ukblue);
}
.faq-tab.is-active:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ===== Partner CTA scarcity ========================================== */
.cta-availability {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1rem;
    background: rgba(187, 60, 54, 0.08);
    border: 1px solid rgba(187, 60, 54, 0.25);
    border-radius: 999px;
    font-size: 0.78rem;
    color: var(--accent);
    letter-spacing: -0.005em;
    margin-bottom: 1.5rem;
}
.cta-availability strong {
    font-weight: 700;
}
.cta-availability-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(187, 60, 54, 0.5);
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(187, 60, 54, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(187, 60, 54, 0); }
    100% { box-shadow: 0 0 0 0 rgba(187, 60, 54, 0); }
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: center;
    margin-top: 1.5rem;
}
.btn-link-light {
    color: var(--ukmuted);
    font-size: 0.92rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color .3s;
}
.btn-link-light:hover {
    color: var(--accent);
}

/* ===== Mobile tweaks ================================================= */
@media (max-width: 640px) {
    .b2b-stat { font-size: 0.62rem; padding: 0.35rem 0.7rem; }
    .journey-meta { font-size: 0.78rem; gap: 0.4rem 0.9rem; }
    .journey-title { font-size: 1.2rem; }
    .reach-numbers { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
    .reach-number-val { font-size: 1.85rem; }
    .reach-number-label { font-size: 0.7rem; }
    .designer-cta-row { gap: 0.35rem; }
    .designer-cta-mini { font-size: 0.72rem; padding: 0.45rem 0.75rem; }
    .faq-tabs { gap: 0.35rem; }
    .faq-tab { font-size: 0.78rem; padding: 0.55rem 1rem; }
    .cta-availability { font-size: 0.72rem; padding: 0.4rem 0.85rem; }
}

/* ===== v5.1 Regional Reach: 3 destination-specific maps ============== */
[data-dest-only] {
    display: none;
}
:root[data-destination="england"] [data-dest-only="england"],
:root[data-destination="swiss"]   [data-dest-only="swiss"],
:root[data-destination="france"]  [data-dest-only="france"] {
    display: block;
}

/* ===== v5.1 Journey price blur (gated reveal) ======================== */
.journey-price {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: help;
}
.journey-price-value {
    filter: blur(6px);
    user-select: none;
    transition: filter .35s cubic-bezier(.2, .8, .2, 1);
}
.journey-price:hover .journey-price-value {
    filter: blur(2.5px);
}
.journey-price::after {
    content: "🔒";
    font-size: 0.7rem;
    opacity: 0.55;
    margin-left: 0.15rem;
}
.journey-price-hint {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ukmuted);
    opacity: 0.65;
    margin-left: 0.4rem;
    font-weight: 600;
}

/* ===== v5.2 Real cantonal/regional maps (UK · CH · FR) =============== */
.ch-real-map .ch-cantons path,
.gb-real-map .ch-cantons path,
.fr-real-map .ch-cantons path {
    fill: rgba(255, 255, 255, 0.05);
    stroke: rgba(255, 255, 255, 0.22);
    stroke-width: 0.7;
    stroke-linejoin: round;
    transition: fill .4s ease;
}
.ch-real-map .ch-cantons path:hover,
.gb-real-map .ch-cantons path:hover,
.fr-real-map .ch-cantons path:hover {
    fill: rgba(187, 60, 54, 0.08);
}

/* Smaller text on real maps (different viewBox scale) */
.ch-real-map .reach-dot text,
.gb-real-map .reach-dot text,
.fr-real-map .reach-dot text {
    font-family: 'Inter', sans-serif;
}

/* ===== v5.10 Map legend (under the country SVG) ====================== */
.reach-legend {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.reach-legend-title {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}
.reach-legend-scale {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.5rem;
    align-items: center;
}
.reach-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: -0.005em;
}
.reach-legend-dot {
    border-radius: 50%;
    background: #bb3c36;
    box-shadow: 0 0 0 4px rgba(187, 60, 54, 0.15);
    flex-shrink: 0;
}
.reach-legend-dot--sm { width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(187, 60, 54, 0.15); }
.reach-legend-dot--md { width: 12px; height: 12px; box-shadow: 0 0 0 5px rgba(187, 60, 54, 0.15); }
.reach-legend-dot--lg { width: 16px; height: 16px; box-shadow: 0 0 0 7px rgba(187, 60, 54, 0.18); }

@media (max-width: 640px) {
    .reach-legend { margin-top: 1rem; }
    .reach-legend-title { font-size: 0.62rem; }
    .reach-legend-scale { gap: 0.3rem 1rem; }
    .reach-legend-item { font-size: 0.7rem; }
}

/* =====================================================================
   B2C REFONTE — additions (v6.0)
   - About: inline testimonials voices (right column) + commitments tags
   - Contact modal + advisor toggle
   ===================================================================== */

/* ===== About: Travellers' voices column ============================== */
.about-voices {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(34, 51, 78, 0.06);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.25rem 1.85rem;
    box-shadow:
        0 1px 2px rgba(14, 26, 46, 0.04),
        0 24px 48px -28px rgba(14, 26, 46, 0.18);
}
.about-voices-eyebrow {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--ukred);
    margin-bottom: 0.25rem;
}

/* Override testimonial-stage for inline About context */
.about-voices-stage {
    padding: 0.75rem 0 0.5rem;
    text-align: left;
    min-height: 340px;
}
.about-voices-stage .testimonial-mark {
    top: 0.25rem;
    left: 0;
    transform: none;
    width: 28px; height: 28px;
    opacity: 0.14;
}
.about-voices-stage .testimonial-slide {
    padding: 2rem 0 0.75rem;
    align-items: flex-start;
    gap: 1.5rem;
}
.about-voices-stage .testimonial-quote {
    font-size: clamp(1.02rem, 1.4vw, 1.15rem);
    line-height: 1.55;
    max-width: 42ch;
    letter-spacing: -0.012em;
    text-align: left;
    font-style: italic;
    font-weight: 300;
}
.about-voices-stage .testimonial-author {
    align-items: flex-start;
    gap: 0.25rem;
}
.about-voices-stage .testimonial-name {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
}
.about-voices-stage .testimonial-role {
    font-size: 0.8rem;
}
.about-voices-stage .testimonial-dots {
    justify-content: flex-start;
    margin-top: 0.5rem;
}

/* ===== About: Commitments strip (replaces full B2B section) ========== */
.commitments-strip {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(34, 51, 78, 0.08);
}
/* Variant when placed inside About (cream bg): chips need stronger contrast */
.about-commitments .commitment-tag {
    background: #ffffff;
    border-color: rgba(34, 51, 78, 0.12);
}
.commitments-label {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ukred);
    margin-bottom: 1.5rem;
}
.commitments-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 0.7rem;
}
.commitment-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    background: rgba(34, 51, 78, 0.04);
    border: 1px solid rgba(34, 51, 78, 0.1);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ukblue);
    letter-spacing: -0.005em;
    transition: background .3s, border-color .3s, color .3s, transform .3s;
}
.commitment-tag:hover {
    background: rgba(187, 60, 54, 0.06);
    border-color: rgba(187, 60, 54, 0.25);
    color: var(--accent);
    transform: translateY(-1px);
}

/* ===== Designer: subtle advisor hint (post-fusion with contact) ====== */
.designer-advisor-hint {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(34, 51, 78, 0.12);
    font-size: 0.78rem;
    font-style: italic;
    color: var(--ukmuted);
    letter-spacing: -0.005em;
}

/* ===== Inspiration: poetic bridge between places & companions ======== */
.atlas-bridge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 760px;
    margin: 4.5rem auto 3.5rem;
}
.atlas-bridge-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0.22) 100%);
}
.atlas-bridge-rule:last-child {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
}
.atlas-bridge-text {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    letter-spacing: -0.005em;
    white-space: nowrap;
}
.atlas-bridge-text em {
    font-style: italic;
    font-weight: 400;
}
.atlas-bridge-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .atlas-bridge {
        margin: 3rem auto 2.5rem;
        gap: 1rem;
        flex-direction: column;
    }
    .atlas-bridge-rule {
        width: 80px;
        flex: 0 0 auto;
    }
    .atlas-bridge-text {
        font-size: 0.88rem;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .about-voices { padding: 1.5rem 1.25rem 1.25rem; }
    .about-voices-stage { min-height: 240px; }
    .commitments-strip { margin-top: 3rem; padding-top: 2rem; }
    .commitment-tag { font-size: 0.78rem; padding: 0.5rem 0.85rem; }
}

/* ===== Modal (contact form) ========================================= */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s;
}
.modal[hidden] {
    /* Hidden state explicit (no display:none, so transitions still work) */
    display: flex;
    pointer-events: none;
}
.modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0s;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 26, 46, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.modal-shell {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: min(1080px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    overflow: hidden;                  /* shell doesn't scroll, form column does */
    padding: 0;                         /* padding moved into columns */
    box-shadow: 0 50px 100px -30px rgba(14, 26, 46, 0.55);
    transform: translateY(20px) scale(0.98);
    transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.modal.is-open .modal-shell {
    transform: translateY(0) scale(1);
}

/* ===== Landscape 2-column grid (visual | form) =================== */
.modal-grid {
    display: grid;
    grid-template-columns: 4fr 8fr;     /* ~33% visual / ~67% form */
    max-height: calc(100vh - 2rem);
    min-height: 0;
}

/* LEFT column: editorial visual */
.modal-visual {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    background: var(--ukblue);          /* fallback while img loads */
}
.modal-visual-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.modal-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(14, 26, 46, 0.30) 0%, rgba(14, 26, 46, 0.86) 100%),
        linear-gradient(90deg, rgba(14, 26, 46, 0.45) 0%, rgba(14, 26, 46, 0.05) 65%);
    z-index: 1;
}
.modal-visual-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 2.5rem 2.25rem;
    color: #fff;
}
.modal-visual-eyebrow {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
}
.modal-visual-rule {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, 0.65);
    margin-right: 0.85rem;
}
.modal-visual-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    line-height: 1.0;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
    color: #fff;
    max-width: 14ch;
}
.modal-visual-title .type-italic { font-weight: 400; }
.modal-visual-sub {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 28ch;
    line-height: 1.45;
    margin: 0;
}
.modal-visual-foot {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: -0.005em;
}
.modal-visual-foot strong {
    color: #fff;
    font-weight: 600;
}
.modal-visual-pulse {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #4ade80;            /* green pulse for "available" */
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
    animation: modalPulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes modalPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
    50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

/* RIGHT column: form */
.modal-formcol {
    background: #ffffff;
    padding: 2.75rem 2.5rem 2.25rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(34, 51, 78, 0.25) transparent;
    -webkit-overflow-scrolling: touch;
}
.modal-formcol::-webkit-scrollbar { width: 6px; }
.modal-formcol::-webkit-scrollbar-thumb { background: rgba(34, 51, 78, 0.2); border-radius: 3px; }

/* Responsive: under 900px collapse to stacked layout */
@media (max-width: 899px) {
    .modal-shell {
        width: min(560px, calc(100vw - 2rem));
        border-radius: var(--radius-md);
    }
    .modal-grid {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 2rem);
    }
    .modal-visual {
        min-height: 220px;
        max-height: 38vh;
        aspect-ratio: 16 / 9;          /* keeps a clean cinematic ratio on phones */
    }
    .modal-visual-img {
        object-position: center 35%;   /* lift Big Ben / Westminster into view */
    }
    .modal-visual-content {
        padding: 1.5rem 1.5rem 1.25rem;
    }
    .modal-visual-eyebrow {
        margin-bottom: 0.85rem;        /* tighter than desktop's 1.5rem */
    }
    .modal-visual-title {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
        max-width: 20ch;               /* slightly wider so title can breathe to 2 lines instead of 3 */
        margin-bottom: 0.6rem;
    }
    .modal-visual-sub {
        font-size: 0.85rem;
    }
    .modal-visual-foot {
        font-size: 0.7rem;
        padding-top: 0.85rem;
    }
    .modal-formcol {
        padding: 1.75rem 1.5rem 1.5rem;
    }
}

/* Very short viewport: ensure title stays visible */
@media (max-height: 700px) and (min-width: 900px) {
    .modal-visual { min-height: 0; }
    .modal-visual-content { padding: 2rem 2rem 1.75rem; }
    .modal-visual-title { font-size: 1.85rem; }
}

/* =====================================================================
   MODAL · DOCUMENT VARIANT (legal text · GDPR · Terms · Notices)
   Simpler than landscape: single column, scrollable text body.
   ===================================================================== */
.modal-document .modal-shell {
    width: min(720px, calc(100vw - 2rem));
    max-height: calc(100vh - 4rem);
    border-radius: var(--radius-md);
    background: #ffffff;
    overflow: hidden;
    position: relative;
}
.modal-document-body {
    padding: 3rem 3rem 2.25rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.modal-document-body::-webkit-scrollbar { width: 6px; }
.modal-document-body::-webkit-scrollbar-thumb {
    background: rgba(34, 51, 78, 0.2);
    border-radius: 3px;
}
.modal-document-head {
    margin-bottom: 2.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(34, 51, 78, 0.08);
}
.modal-document-eyebrow {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--ukred);
    margin-bottom: 0.85rem;
}
.modal-document-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    color: var(--ukblue);
    letter-spacing: -0.02em;
}
.modal-document-title .type-italic {
    font-style: italic;
    color: var(--ukred);
    font-weight: 400;
}
.modal-document-title-sep {
    color: rgba(34, 51, 78, 0.25);
    font-weight: 300;
    margin: 0 0.15em;
}
.modal-document-section {
    margin-bottom: 2.25rem;
}
.modal-document-section:last-of-type {
    margin-bottom: 0;
}
.modal-document-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-weight: 600;
    color: var(--ukred);
    margin: 0 0 1rem;
}
.modal-document-section p {
    font-size: 0.86rem;
    line-height: 1.7;
    color: var(--ukblue);
    margin: 0 0 0.85rem;
    letter-spacing: -0.005em;
}
.modal-document-section p:last-child {
    margin-bottom: 0;
}
.modal-document-section a {
    color: var(--ukred);
    text-decoration: none;
    border-bottom: 1px solid rgba(187, 60, 54, 0.3);
    transition: border-color .2s;
    word-break: break-word;
}
.modal-document-section a:hover {
    border-bottom-color: var(--ukred);
}
.modal-document-section strong {
    color: var(--ukblue);
    font-weight: 600;
}
.modal-document-section em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
}
/* Placeholder block ("En cours d'édition") */
.modal-document-placeholder {
    padding: 2.5rem 2rem;
    background: var(--ukpaper);
    border-radius: var(--radius-md);
    text-align: center;
}
.modal-document-placeholder-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 1rem;
    color: var(--ukmuted);
    opacity: 0.6;
}
.modal-document-placeholder p {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--ukmuted);
    margin: 0;
}
/* Footer CTA close button */
.modal-document-foot {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(34, 51, 78, 0.08);
    display: flex;
    justify-content: flex-end;
}
.modal-document-cta {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ukblue);
    background: transparent;
    border: 1px solid rgba(34, 51, 78, 0.18);
    border-radius: 999px;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s;
}
.modal-document-cta:hover {
    background: var(--ukblue);
    color: #fff;
    border-color: var(--ukblue);
}
/* Footer legal nav button reset (so <button> looks like the <a> links) */
.legal-link-btn {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}
.legal-link-btn:focus-visible {
    outline: 2px solid var(--ukred);
    outline-offset: 4px;
    border-radius: 2px;
}

@media (max-width: 640px) {
    .modal-document-body {
        padding: 2.25rem 1.5rem 1.75rem;
    }
    .modal-document-title {
        font-size: 1.7rem;
    }
    .modal-document-head {
        margin-bottom: 1.75rem;
        padding-bottom: 1.25rem;
    }
    .modal-document-section {
        margin-bottom: 1.75rem;
    }
    .modal-document-section p {
        font-size: 0.82rem;
        line-height: 1.6;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px; height: 38px;
    border: 1px solid rgba(34, 51, 78, 0.12);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ukblue);
    transition: background .25s, color .25s, border-color .25s, transform .25s;
    z-index: 10;                      /* above grid columns */
    box-shadow: 0 4px 16px -4px rgba(14, 26, 46, 0.2);
}
.modal-close:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: rotate(90deg);
}
.modal-close svg { width: 16px; height: 16px; }
.modal-header {
    margin-bottom: 1.75rem;
    padding-right: 2.5rem;
}
.modal-form .field { background: rgba(34, 51, 78, 0.025); }

/* ===== Advisor toggle (single checkbox, B2B re-routing) ============= */
.advisor-toggle {
    padding: 0.85rem 1rem;
    background: rgba(34, 51, 78, 0.03);
    border: 1px solid rgba(34, 51, 78, 0.08);
    border-radius: var(--radius-lg);
    transition: background .25s, border-color .25s;
}
.advisor-toggle:has(.advisor-toggle-input:checked) {
    background: rgba(187, 60, 54, 0.06);
    border-color: rgba(187, 60, 54, 0.25);
}
.advisor-toggle-label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    margin: 0;
}
.advisor-toggle-input {
    width: 16px; height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}
.advisor-toggle-text {
    font-size: 0.85rem;
    color: var(--ukblue);
    letter-spacing: -0.005em;
    line-height: 1.4;
}
.advisor-toggle-text strong {
    font-weight: 600;
}

/* Body lock when modal is open (set by JS) */
body.modal-locked {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

@media (max-width: 640px) {
    .modal-shell {
        width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
        padding: 2.5rem 1.25rem 1.5rem;
        border-radius: var(--radius-sm);
    }
    .modal-close { top: 0.65rem; right: 0.65rem; width: 34px; height: 34px; }
    .modal-header { margin-bottom: 1.25rem; }
}

/* Honour prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .modal, .modal-shell, .modal-close, .commitment-tag { transition: none !important; }
    .modal-shell { transform: none !important; }
}


/* =====================================================================
   HEADER & FOOTER (v6.3 — aligned with B2C refactor)
   ===================================================================== */

/* ===== Site Header =================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(34, 51, 78, 0.06);
    transition: background .35s, box-shadow .35s, padding .25s;
}
.site-header.shadow-md {
    background: #ffffff;
    box-shadow: 0 4px 20px -10px rgba(14, 26, 46, 0.15);
}
.site-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.site-header.py-2 .site-header-inner { padding-top: 0.6rem; padding-bottom: 0.6rem; }

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ukblue);
    letter-spacing: -0.02em;
    text-decoration: none;
}
.site-logo {
    height: 26px;
    width: auto;
    display: block;
}
.site-brand-text { white-space: nowrap; }
.site-brand-text .type-italic {
    font-weight: 400;
    letter-spacing: -0.01em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.site-nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ukblue);
    text-decoration: none;
    letter-spacing: -0.005em;
    position: relative;
    padding: 0.25rem 0;
    transition: color .25s;
}
.site-nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.site-nav-link:hover { color: var(--accent); }
.site-nav-link:hover::after { transform: scaleX(1); }

.site-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.site-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.2rem;
    background: var(--ukblue);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: background .25s, transform .25s;
}
.site-cta:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

.site-burger {
    display: none;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid rgba(34, 51, 78, 0.15);
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 0;
}
.site-burger span {
    width: 16px;
    height: 1.5px;
    background: var(--ukblue);
    transition: transform .3s, opacity .25s;
}
.site-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}
.site-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.site-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

.site-mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.75rem;
    background: #fff;
    border-top: 1px solid rgba(34, 51, 78, 0.06);
    gap: 0.5rem;
}
.site-mobile-nav[hidden] { display: none !important; }
.site-mobile-nav.is-open { display: flex; }
.site-mobile-link {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ukblue);
    border-bottom: 1px solid rgba(34, 51, 78, 0.06);
    text-decoration: none;
}
.site-mobile-link:last-of-type { border-bottom: none; }
.site-mobile-cta {
    margin-top: 1rem;
    padding: 0.95rem 1.5rem;
    background: var(--ukblue);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

@media (max-width: 900px) {
    .site-nav { display: none; }
    .site-cta { display: none; }
    .site-burger { display: inline-flex; }
}

/* ===== Site Footer =================================================== */
.site-footer {
    background: var(--ukink);
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0 2rem;
    font-size: 0.88rem;
    letter-spacing: -0.005em;
    position: relative;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 30%, rgba(255,255,255,0.12) 70%, transparent 100%);
}
.site-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-block .footer-brand-mark {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: -0.025em;
    margin-bottom: 0.85rem;
}
.footer-brand-mark .type-italic { font-weight: 400; }
.footer-tagline {
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 32ch;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.55);
}
.footer-address {
    font-style: normal;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.38);
    letter-spacing: 0;
}

.footer-col-title {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.25rem;
}
.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-list a,
.footer-list .footer-link-button {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color .25s;
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: inherit;
}
.footer-list a:hover,
.footer-link-button:hover {
    color: #fff;
}
.footer-link-strong {
    font-weight: 600;
    color: #fff !important;
    letter-spacing: -0.01em;
}
.footer-dest-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}
.footer-flag { font-size: 1rem; line-height: 1; }

/* B2B advisor strip */
.footer-advisor-strip {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}
.footer-advisor-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.55rem 1.25rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-style: italic;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: border-color .25s, color .25s, background .25s;
}
.footer-advisor-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
}
.footer-advisor-link svg { opacity: 0.7; }

/* Bottom: legal + social */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-legal-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 0.78rem;
}
.footer-copy {
    color: rgba(255, 255, 255, 0.35);
}
.footer-legal-nav {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}
.footer-legal-nav a,
.footer-legal-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.78rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color .25s;
}
.footer-legal-nav a:hover,
.footer-legal-link:hover { color: #fff; }

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}
.footer-social a {
    color: rgba(255, 255, 255, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    transition: color .25s, border-color .25s;
}
.footer-social a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-brand-block { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .site-footer { padding: 3rem 0 1.75rem; }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        padding-bottom: 2.25rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
}


/* =====================================================================
   HEADER editorial — glass effect + scroll states (v6.5)
   ===================================================================== */
.glass-header {
    background: rgba(252, 252, 252, 0.78);
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    border-bottom: 1px solid rgba(34, 51, 78, 0.05);
}
.glass-header.scrolled {
    background: rgba(252, 252, 252, 0.95);
    border-bottom-color: rgba(34, 51, 78, 0.08);
    box-shadow: 0 6px 24px -16px rgba(14, 26, 46, 0.18);
}

/* Body offset so fixed header doesn't cover hero - only if needed */
/* (kept commented; hero-shell uses min-height: 100svh and absolute positioning,
   so a fixed header overlaying the top of hero is intentional and desired) */

/* Burger animations when menu open */
.burger-line.is-open-1 { transform: translateY(6.5px) rotate(45deg); }
.burger-line.is-open-2 { opacity: 0; }
.burger-line.is-open-3 { transform: translateY(-6.5px) rotate(-45deg); }

/* =====================================================================
   REGION / LANGUAGE PICKER (combined dropdown, v6.6 luxe style)
   ===================================================================== */
.region-picker {
    position: relative;
    display: inline-block;
}

/* Trigger button — sober pill, fits beside nav */
.region-picker-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem 0.4rem 0.6rem;
    background: transparent;
    border: 1px solid rgba(34, 51, 78, 0.12);
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ukblue);
    cursor: pointer;
    transition: background .25s, border-color .25s, color .25s;
    line-height: 1;
}
.region-picker-trigger:hover {
    background: rgba(34, 51, 78, 0.04);
    border-color: rgba(34, 51, 78, 0.22);
}
.region-picker-trigger[aria-expanded="true"] {
    background: rgba(34, 51, 78, 0.06);
    border-color: var(--ukblue);
}
.region-picker-flag {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    margin-right: 0.05rem;
}
.region-picker-flag svg {
    display: block;
    border-radius: 1px;
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08);
}
.region-picker-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.14em;
}
.region-picker-sep {
    color: rgba(34, 51, 78, 0.3);
    font-weight: 400;
}
.region-picker-caret {
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
    color: var(--ukblue);
    opacity: 0.6;
    margin-left: 0.1rem;
}
.region-picker-trigger[aria-expanded="true"] .region-picker-caret {
    transform: rotate(180deg);
    opacity: 1;
}

/* Panel — luxury dropdown */
.region-picker-panel {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    width: 280px;
    background: #ffffff;
    border: 1px solid rgba(34, 51, 78, 0.06);
    border-radius: var(--radius-lg);
    box-shadow:
        0 4px 16px -8px rgba(14, 26, 46, 0.12),
        0 28px 60px -24px rgba(14, 26, 46, 0.25);
    padding: 1.25rem 0.85rem 1rem;
    z-index: 60;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .25s, transform .25s;
    pointer-events: none;
}
.region-picker-panel:not([hidden]) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.region-picker-panel[hidden] {
    display: block !important;     /* override [hidden] default */
    visibility: hidden;
}

.region-picker-section + .region-picker-section { margin-top: 0.5rem; }
.region-picker-eyebrow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--ukred);
    padding: 0 0.65rem;
    margin-bottom: 0.5rem;
}

.region-picker-divider {
    height: 1px;
    background: rgba(34, 51, 78, 0.06);
    margin: 0.75rem 0.65rem;
}

.region-picker-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.region-picker-list button {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.55rem 0.65rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--ukblue);
    letter-spacing: -0.005em;
    text-align: left;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.region-picker-list button:hover,
.region-picker-list button:focus-visible {
    background: rgba(34, 51, 78, 0.04);
    outline: none;
}
.picker-check {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(34, 51, 78, 0.2);
    flex-shrink: 0;
    transition: background .2s, border-color .2s;
}
.region-picker-list button[aria-checked="true"] .picker-check {
    background: var(--ukred);
    border-color: var(--ukred);
    box-shadow: 0 0 0 3px rgba(187, 60, 54, 0.12);
}
.region-picker-list button[aria-checked="true"] {
    color: var(--ukblue);
    font-weight: 600;
}
.picker-flag {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    flex-shrink: 0;
}
.picker-flag svg {
    display: block;
    border-radius: 1px;
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08);
}
.picker-name {
    flex: 1;
}

/* Mobile drawer version: inline chips, no dropdown */
.mobile-picker-block {
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    border-top: 1px solid rgba(34, 51, 78, 0.08);
}
.mobile-picker-section + .mobile-picker-section { margin-top: 1rem; }
.mobile-picker-eyebrow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--ukred);
    margin-bottom: 0.55rem;
}
.mobile-picker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.mobile-picker-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    background: rgba(34, 51, 78, 0.04);
    border: 1px solid rgba(34, 51, 78, 0.1);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ukblue);
    cursor: pointer;
    transition: background .25s, border-color .25s, color .25s;
}
.mobile-picker-chip:hover {
    background: rgba(34, 51, 78, 0.08);
}
.mobile-picker-chip[aria-checked="true"] {
    background: var(--ukblue);
    border-color: var(--ukblue);
    color: #fff;
}
.mobile-picker-chip[aria-checked="true"] .picker-flag {
    filter: none;
}
.mobile-picker-chip-text {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

/* Hide desktop picker on mobile, show mobile picker only in drawer */
@media (max-width: 1023px) {
    #regionPicker { display: none; }
}

/* Small screens: panel becomes near-full width */
@media (max-width: 460px) {
    .region-picker-panel {
        width: calc(100vw - 2rem);
        right: -0.5rem;
    }
}


/* =====================================================================
   PICKER MICRO-LABEL + Phone icon (v6.8 — header refinements)
   ===================================================================== */

/* Wrapper that stacks the eyebrow above the picker pill.
   The hint is positioned absolutely so the wrapper takes only the
   height of the picker itself — keeps phone icon + Inquire button
   horizontally aligned on the picker's mid-line. */
.picker-with-hint {
    position: relative;
    display: inline-block;
    line-height: 1;
}

/* Editorial italic hint above picker — Playfair, subtle but visible */
.picker-hint {
    position: absolute;
    bottom: calc(100% + 4px);
    left: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.68rem;
    font-style: italic;
    font-weight: 400;
    color: var(--ukmuted);
    letter-spacing: 0.005em;
    padding-left: 0.85rem;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    pointer-events: none;
}
.picker-hint-arrow {
    display: inline-block;
    font-size: 0.6rem;
    color: var(--ukred);
    transform: translateY(1px);
    animation: pickerHintNudge 2.4s ease-in-out infinite;
}

/* Subtle attention-getter: arrow nudges down once per cycle */
@keyframes pickerHintNudge {
    0%, 60%, 100% { transform: translateY(1px); opacity: 0.7; }
    30% { transform: translateY(4px); opacity: 1; }
}

/* Honour reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .picker-hint-arrow { animation: none; }
}

/* Phone icon-only button */
.phone-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(34, 51, 78, 0.12);
    background: transparent;
    transition: background .25s, border-color .25s, color .25s;
}
.phone-icon-btn:hover {
    background: rgba(34, 51, 78, 0.04);
    border-color: rgba(34, 51, 78, 0.22);
}


/* =====================================================================
   PILLAR CARDS (v7.0 — replaces flip-cards & Sample Journey cards)
   Static, editorial, no flip. 4-pillar grid replacing Signature Journeys.
   ===================================================================== */

.pillar-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
}
.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -24px rgba(14, 26, 46, 0.18);
}

/* ===== Image block (top of card) ===================================== */
.pillar-card-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}
/* 3 stacked <img class="pillar-slide"> — only .is-active visible */
.pillar-card-image .pillar-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.4s cubic-bezier(.4, 0, .2, 1),
                transform 6s cubic-bezier(.2, .8, .2, 1);
    will-change: opacity;
    z-index: 0;
}
.pillar-card-image .pillar-slide.is-active {
    opacity: 1;
    z-index: 1;
    /* Slow Ken Burns zoom while slide is visible */
    transform: scale(1.04);
}
/* Hover affords subtle lift on top of the active slide */
.pillar-card:hover .pillar-card-image .pillar-slide.is-active {
    transform: scale(1.07);
}
/* Reduce motion: respect user preference, no Ken Burns, instant swap */
@media (prefers-reduced-motion: reduce) {
    .pillar-card-image .pillar-slide {
        transition: opacity 0.3s linear;
        transform: none !important;
    }
}
.pillar-card-image::after {
    /* Soft gradient from bottom for the number overlay readability */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(14, 26, 46, 0.35) 100%);
    pointer-events: none;
    z-index: 2;
}
.pillar-card-num {
    position: absolute;
    bottom: 1rem;
    left: 1.25rem;
    z-index: 3;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.1rem;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(14, 26, 46, 0.5);
}

/* ===== Body block (below the image) =================================== */
.pillar-card-body {
    padding: 1.75rem 1.5rem 1.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
    background: #ffffff;
    border-top: 1px solid rgba(34, 51, 78, 0.04);
}
.pillar-card-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.85rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--ukblue);
    margin: 0;
}
.pillar-card-name .type-italic {
    font-weight: 400;
}

/* Pull quote: serif, gold accent on italic word */
.pillar-card-pull {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.0rem;
    line-height: 1.35;
    color: var(--ukblue);
    margin: 0;
    letter-spacing: -0.01em;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(187, 60, 54, 0.18);
}
.pillar-card-pull em {
    font-style: italic;
    font-weight: 400;
    color: var(--ukred);
}

/* Description: clean sans-serif */
.pillar-card-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--ukmuted);
    margin: 0;
    letter-spacing: -0.005em;
}

/* Responsive: keep cards readable on narrow screens */
@media (max-width: 1023px) and (min-width: 640px) {
    .pillar-card-image { aspect-ratio: 16 / 10; }
}
@media (max-width: 639px) {
    .pillar-card-image { aspect-ratio: 16 / 9; }
    .pillar-card-body { padding: 1.5rem 1.25rem 1.65rem; }
    .pillar-card-name { font-size: 1.65rem; }
}

/* Reveal animation honour reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .pillar-card { transition: none; }
    .pillar-card-image img { transition: none; }
}


/* =====================================================================
   TRUST STRIP (v7.6) — aligned to max-w-7xl, bigger logos
   ===================================================================== */

.trust-strip {
    border-top: 1px solid var(--ukrule);
    border-bottom: 1px solid var(--ukrule);
    background: var(--ukpaper);
    padding: 3rem 0;
    overflow: hidden;
}

/* Aligned with all other sections (max-w-7xl = 80rem = 1280px + px-6) */
.trust-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Fixed left label */
.trust-label {
    flex-shrink: 0;
    width: 200px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--ukmuted);
    letter-spacing: -0.005em;
    margin: 0;
}
.trust-label em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: var(--ukblue);
    font-weight: 400;
    font-size: 1.05rem;
}

/* Marquee container with edge fade masks */
.trust-marquee {
    flex: 1;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

/* The scrolling track */
.trust-marquee-track {
    display: flex;
    align-items: center;
    gap: 5rem;
    width: max-content;
    animation: trustScroll 52s linear infinite;
    will-change: transform;
}

@keyframes trustScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Pause on hover/focus so users can click logos */
.trust-marquee:hover .trust-marquee-track,
.trust-marquee:focus-within .trust-marquee-track {
    animation-play-state: paused;
}

/* Individual logo links — BIGGER (56px instead of 36px) */
.trust-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    text-decoration: none;
}

.trust-logo-img {
    height: 100%;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: opacity(0.65);
    transition: filter .35s, transform .35s;
}

.trust-logo:hover .trust-logo-img {
    filter: opacity(1);
    transform: scale(1.05);
}
.trust-logo:focus-visible {
    outline: 2px solid var(--ukred);
    outline-offset: 6px;
    border-radius: var(--radius-sm);
}

/* Mobile: stack the layout */
@media (max-width: 768px) {
    .trust-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .trust-label {
        width: auto;
        max-width: 320px;
    }
    .trust-marquee {
        width: 100%;
    }
    .trust-marquee-track {
        gap: 3.5rem;
        animation-duration: 40s;
    }
    .trust-logo { height: 42px; }
    .trust-logo-img { max-width: 140px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .trust-marquee-track { animation: none; }
    .trust-marquee { overflow-x: auto; scrollbar-width: thin; }
}

/* Print: hide marquee */
@media print {
    .trust-strip { display: none; }
}

/* =====================================================================
   NEWSLETTER BAND (footer, between main grid and bottom legal strip)
   ===================================================================== */
.newsletter-band {
    background: rgba(255, 255, 255, 0.02);
}
.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: end;
}
@media (min-width: 768px) {
    .newsletter-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 2.5rem;
    }
}
.newsletter-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--ukred);
    margin-bottom: 0.7rem;
}
.newsletter-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1;
    margin: 0 0 0.6rem;
    color: #fff;
    letter-spacing: -0.02em;
}
.newsletter-title .type-italic { font-style: italic; }
@media (min-width: 768px) {
    .newsletter-title { font-size: 1.95rem; }
}
.newsletter-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    line-height: 1.55;
    margin: 0;
    max-width: 42ch;
    letter-spacing: -0.005em;
}
.newsletter-form {
    width: 100%;
    max-width: 480px;
    margin-left: auto;
}
@media (max-width: 767px) {
    .newsletter-form { margin-left: 0; }
}
.newsletter-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.35rem 0.35rem 0.35rem 1.5rem;
    transition: border-color .25s, background .25s;
}
.newsletter-input-wrap:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.07);
}
.newsletter-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: #fff;
    font-family: inherit;
    font-size: 0.88rem;
    padding: 0.65rem 0.5rem;
    letter-spacing: -0.005em;
}
.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.newsletter-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--ukred);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    cursor: pointer;
    transition: background .25s, transform .25s, opacity .25s;
    flex-shrink: 0;
}
.newsletter-submit:hover:not(:disabled) {
    background: #d24f49;
    transform: translateX(2px);
}
.newsletter-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.newsletter-meta {
    margin: 0.7rem 0 0;
    padding: 0 1.5rem;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: -0.005em;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.newsletter-status {
    min-height: 1.2em;
    font-style: italic;
    transition: color .25s;
}
.newsletter-status.is-success { color: #6dba95; }
.newsletter-status.is-error { color: var(--ukred); }
.newsletter-promise { font-size: 0.62rem; opacity: 0.7; }
.newsletter-gdpr-link {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.newsletter-gdpr-link:hover { color: var(--ukred); }
.newsletter-form.is-submitted .newsletter-input-wrap {
    opacity: 0.5;
    pointer-events: none;
}

/* =====================================================================
   MODAL · BOOKING VARIANT (YouCanBookMe embed, v8.3)
   ---------------------------------------------------------------------
   Wider than .modal-document to give the YCBM scheduler room to breathe.
   Skeleton shimmer on .booking-iframe-wrap is removed via .is-loaded
   class once the iframe fires its load event.
   ===================================================================== */
.modal-booking .modal-shell {
    width: min(940px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    border-radius: var(--radius-lg);
    background: #ffffff;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}
.modal-booking-body {
    padding: 2.25rem 2.25rem 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.modal-booking-head {
    margin-bottom: 1.5rem;
    padding-right: 3rem;  /* clear of the close button */
}
.modal-booking-eyebrow {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--ukred);
    margin-bottom: 0.75rem;
}
.modal-booking-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.85rem;
    font-weight: 400;
    line-height: 1.05;
    margin: 0 0 0.5rem;
    color: var(--ukblue);
    letter-spacing: -0.02em;
}
.modal-booking-title .type-italic {
    font-style: italic;
    color: var(--ukred);
    font-weight: 400;
}
.modal-booking-sub {
    font-size: 0.85rem;
    color: var(--ukmuted);
    margin: 0;
    letter-spacing: -0.005em;
    line-height: 1.45;
}
.modal-booking-sub strong { color: var(--ukblue); font-weight: 600; }

.booking-iframe-wrap {
    position: relative;
    flex: 1;
    min-height: 560px;
    overflow: hidden;
    border-top: 1px solid rgba(34, 51, 78, 0.06);
    background: var(--ukpaper);
}
/* Shimmer skeleton (visible only until iframe fires onload) */
.booking-iframe-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%) 0 0 / 200% 100% no-repeat,
        var(--ukpaper);
    animation: bookingSkeleton 1.6s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}
.booking-iframe-wrap.is-loaded::before {
    opacity: 0;
    animation: none;
    transition: opacity .35s ease;
}
.booking-iframe {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 560px;
    border: 0;
    display: block;
    background: transparent;
}
@keyframes bookingSkeleton {
    to { background-position: -200% 0, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
    .booking-iframe-wrap::before { animation: none; }
}

@media (max-width: 640px) {
    .modal-booking .modal-shell {
        width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
        border-radius: var(--radius-sm);
    }
    .modal-booking-body { padding: 1.75rem 1.25rem 0; }
    .modal-booking-head { margin-bottom: 1rem; }
    .modal-booking-title { font-size: 1.4rem; }
    .modal-booking-sub { font-size: 0.8rem; }
    .booking-iframe-wrap,
    .booking-iframe { min-height: 620px; }
}

/* Make .designer-cta-primary safe to use on a <button> element
   (was originally only used on <a>; now drives the YCBM booking modal). */
.designer-cta-primary {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}
/* ============================================================
   FLAG IMG — used inside .region-picker-flag and .picker-flag
   spans, replacing the inline SVG approach (cleaner caching,
   sharper rendering at all sizes).
   ============================================================ */
.flag-img {
    display: block;
    border-radius: 1.5px;
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    vertical-align: middle;
}
.region-picker-flag .flag-img,
.picker-flag .flag-img {
    width: 18px;
    height: 13px;
}
.mobile-picker-chip .flag-img {
    width: 18px;
    height: 13px;
}

/* ═══════════════════════════════════════════════════════════════════
   intl-tel-input — TripMy theme override
   Matches our --ukblue / --ukred / --ukpaper tokens & Inter typography.
   ═══════════════════════════════════════════════════════════════════ */

/* Container takes full width of its column */
.iti {
    width: 100%;
}

/* Selected dial code (+33, +44, etc.) shown to the left of the input */
.iti--separate-dial-code .iti__country-container {
    background-color: rgba(34, 51, 78, 0.03);
    border-right: 1px solid rgba(34, 51, 78, 0.08);
    border-radius: 12px 0 0 12px;
    padding: 0 10px 0 14px;
}
.iti--separate-dial-code .iti__selected-dial-code {
    color: var(--ukblue);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: -0.005em;
    margin-left: 6px;
}
.iti__country-container:hover {
    background-color: rgba(34, 51, 78, 0.06);
}

/* Dropdown panel */
.iti__country-list {
    background: var(--ukoffwhite);
    border: 1px solid rgba(34, 51, 78, 0.1);
    border-radius: 8px;
    box-shadow: 0 14px 36px -10px rgba(34, 51, 78, 0.18);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    max-height: 280px;
    overflow-y: auto;
    padding: 6px 0;
}
.iti__country {
    padding: 8px 14px;
    line-height: 1.4;
    transition: background-color 0.15s ease;
}
.iti__country:hover,
.iti__country.iti__highlight {
    background-color: rgba(34, 51, 78, 0.06);
}
.iti__country-name {
    color: var(--ukblue);
    font-weight: 500;
}
.iti__dial-code {
    color: var(--ukmuted);
    font-weight: 400;
    margin-left: 6px;
    font-size: 0.78rem;
}
.iti__divider {
    border-bottom: 1px solid rgba(34, 51, 78, 0.08);
    margin: 4px 0;
}

/* Search input inside the dropdown */
.iti__search-input {
    border: none;
    border-bottom: 1px solid rgba(34, 51, 78, 0.1);
    padding: 0.7rem 0.9rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--ukblue);
    background: transparent;
    width: 100%;
    outline: none;
}
.iti__search-input:focus {
    border-bottom-color: var(--accent);
}
.iti__search-input::placeholder {
    color: var(--ukmuted);
    font-style: italic;
}

/* Make sure the phone input inside .iti has consistent height with our .field */
.iti .iti__tel-input {
    padding-left: 92px !important;
}

/* iti search — make room for the loupe icon on the left */
.iti__search-input { padding-left: 2.4rem !important; }

/* ═══════════════════════════════════════════════════════════════════
   Tarteaucitron — TripMy theme override
   Backdrop-blur banner that blends into the editorial design
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Main banner (bottom) ─── */
#tarteaucitronRoot #tarteaucitronAlertBig {
    background: rgba(252, 252, 252, 0.93) !important;
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    color: var(--ukblue) !important;
    font-family: 'Inter', sans-serif !important;
    border-top: 1px solid rgba(34, 51, 78, 0.08) !important;
    box-shadow: 0 -8px 32px rgba(34, 51, 78, 0.07) !important;
    padding: 22px 32px !important;
    border-radius: 0 !important;
    left: 0 !important; right: 0 !important; bottom: 0 !important;
    max-width: 100% !important;
    transform: none !important;
}

/* Disclaimer text */
#tarteaucitronRoot #tarteaucitronDisclaimerAlert,
#tarteaucitronRoot #tarteaucitronAlertBigInline {
    color: var(--ukblue) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    letter-spacing: -0.005em !important;
}

/* ─── Buttons (Allow / Customize) ─── */
#tarteaucitronRoot #tarteaucitronPersonalize2,
#tarteaucitronRoot #tarteaucitronAllAllowed,
#tarteaucitronRoot #tarteaucitronCloseAlert,
#tarteaucitronRoot .tarteaucitronCTAButton {
    background: var(--ukblue) !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.4rem !important;
    border-radius: 999px !important;
    border: none !important;
    margin: 4px 6px !important;
    cursor: pointer;
    transition: all 0.25s ease !important;
}

/* Deny button = subtle outline */
#tarteaucitronRoot #tarteaucitronAllDenied,
#tarteaucitronRoot .tarteaucitronDeny {
    background: transparent !important;
    border: 1px solid rgba(34, 51, 78, 0.22) !important;
    color: var(--ukblue) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    padding: 0.75rem 1.4rem !important;
    border-radius: 999px !important;
    margin: 4px 6px !important;
}

#tarteaucitronRoot #tarteaucitronPersonalize2:hover,
#tarteaucitronRoot #tarteaucitronAllAllowed:hover,
#tarteaucitronRoot .tarteaucitronCTAButton:hover {
    background: var(--ukred) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(34, 51, 78, 0.2) !important;
}
#tarteaucitronRoot #tarteaucitronAllDenied:hover {
    background: rgba(34, 51, 78, 0.04) !important;
    border-color: var(--ukblue) !important;
}

/* ─── Floating cookie icon (bottom-right, persistent) ─── */
#tarteaucitronIcon {
    background: var(--ukblue) !important;
    border-radius: 50% !important;
    width: 42px !important;
    height: 42px !important;
    box-shadow: 0 6px 18px rgba(34, 51, 78, 0.22) !important;
    transition: all 0.25s ease !important;
}
#tarteaucitronIcon:hover {
    background: var(--ukred) !important;
    transform: scale(1.06);
}
#tarteaucitronIcon img {
    filter: brightness(0) invert(1);
    width: 22px !important;
    height: 22px !important;
}

/* ─── "Manage preferences" modal (full overlay) ─── */
#tarteaucitron {
    background: rgba(34, 51, 78, 0.55) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-family: 'Inter', sans-serif !important;
}

#tarteaucitron #tarteaucitronServices {
    background: var(--ukoffwhite) !important;
    border-radius: 10px !important;
    box-shadow: 0 20px 60px rgba(34, 51, 78, 0.25) !important;
    border: 1px solid rgba(34, 51, 78, 0.05) !important;
}

#tarteaucitron h1, #tarteaucitron h2, #tarteaucitron h3 {
    color: var(--ukblue) !important;
    font-family: 'Georgia', serif !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em !important;
}

#tarteaucitron .tarteaucitronTitle button,
#tarteaucitronInfo {
    color: var(--ukblue) !important;
    font-family: 'Inter', sans-serif !important;
}

/* ─── Mobile responsive ─── */
@media (max-width: 640px) {
    #tarteaucitronRoot #tarteaucitronAlertBig {
        padding: 14px 16px !important;
        font-size: 0.78rem !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
    }
    /* Boutons inline-horizontal, compacts, jamais pleine largeur */
    #tarteaucitronRoot #tarteaucitronPersonalize2,
    #tarteaucitronRoot #tarteaucitronAllAllowed,
    #tarteaucitronRoot #tarteaucitronAllDenied {
        font-size: 0.66rem !important;
        padding: 0.55rem 0.95rem !important;
        margin: 2px 3px !important;
        letter-spacing: 0.06em !important;
        width: auto !important;
    }
    #tarteaucitronIcon {
        width: 38px !important;
        height: 38px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Mobile contact modal — minimalist editorial
   Photo hidden, just an editorial header on paper background, then form
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* Stack vertical — header text + form */
    .modal-landscape .modal-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto 1fr !important;
        height: auto !important;
    }

    /* Visual aside becomes a clean editorial header on paper, no photo */
    .modal-landscape .modal-visual {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        background: var(--ukoffwhite) !important;
        padding: 38px 24px 18px !important;
        position: static !important;
        border-bottom: 1px solid rgba(34, 51, 78, 0.06);
    }

    /* Hide the photo + overlay + the "designer replies" pulse */
    .modal-landscape .modal-visual-img,
    .modal-landscape .modal-visual-overlay,
    .modal-landscape .modal-visual-foot {
        display: none !important;
    }

    /* Restyle the editorial text block for the paper background */
    .modal-landscape .modal-visual-content {
        position: static !important;
        padding: 0 !important;
        height: auto !important;
        background: transparent !important;
        display: block !important;
    }

    /* Eyebrow: red rule + tiny caps */
    .modal-landscape .modal-visual-eyebrow {
        color: var(--ukred) !important;
        font-family: 'Inter', sans-serif !important;
        font-size: 0.62rem !important;
        letter-spacing: 0.22em !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        margin-bottom: 0.7rem !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.55rem !important;
        white-space: nowrap !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    .modal-landscape .modal-visual-rule {
        background: var(--ukred) !important;
        height: 1px !important;
        width: 22px !important;
        display: inline-block;
    }

    /* Title: dark blue Playfair italic, sober size */
    .modal-landscape .modal-visual-title {
        color: var(--ukblue) !important;
        font-family: 'Playfair Display', Georgia, serif !important;
        font-size: 1.55rem !important;
        line-height: 1.18 !important;
        font-weight: 400 !important;
        font-style: italic !important;
        letter-spacing: -0.012em !important;
        margin: 0 0 0.45rem 0 !important;
        max-width: 22ch;
    }

    /* Subtitle: muted, smaller */
    .modal-landscape .modal-visual-sub {
        color: var(--ukmuted) !important;
        font-family: 'Inter', sans-serif !important;
        font-size: 0.82rem !important;
        line-height: 1.5 !important;
        margin: 0 !important;
        font-style: normal !important;
        max-width: 38ch;
    }

    /* Form: padding compact since the header is now slim */
    .modal-landscape .modal-formcol {
        padding: 22px 22px 30px !important;
        max-height: none !important;
        overflow-y: visible !important;
    }

    /* Whole modal scrolls naturally */
    .modal-landscape .modal-shell {
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Compact further on small screens (iPhone SE etc.) */
@media (max-width: 480px) {
    .modal-landscape .modal-visual {
        padding: 32px 20px 16px !important;
    }
    .modal-landscape .modal-visual-title {
        font-size: 1.35rem !important;
    }
    .modal-landscape .modal-visual-sub {
        font-size: 0.78rem !important;
    }
    .modal-landscape .modal-formcol {
        padding: 20px 18px 26px !important;
    }
}

/* ─── Force visibility of close button and texts on the paper-bg modal ─── */
@media (max-width: 768px) {

    /* Close X — visible sur fond paper */
    .modal-landscape .modal-close {
        color: var(--ukblue) !important;
        background: var(--ukoffwhite) !important;
        border: 1px solid rgba(34, 51, 78, 0.12) !important;
        box-shadow: 0 4px 12px rgba(34, 51, 78, 0.08) !important;
        z-index: 10 !important;
    }
    .modal-landscape .modal-close:hover {
        color: var(--ukred) !important;
        border-color: var(--ukred) !important;
    }
    .modal-landscape .modal-close svg {
        stroke: currentColor !important;
    }

    /* Force text colors with double-specificity selectors to win over any white override */
    body .modal-landscape .modal-visual .modal-visual-eyebrow,
    body .modal-landscape .modal-visual .modal-visual-eyebrow * {
        color: var(--ukred) !important;
    }
    body .modal-landscape .modal-visual .modal-visual-title {
        color: var(--ukblue) !important;
    }
    body .modal-landscape .modal-visual .modal-visual-sub {
        color: var(--ukmuted) !important;
    }
    body .modal-landscape .modal-visual .modal-visual-rule {
        background: var(--ukred) !important;
    }
}


/* ─── Mobile contact modal — top safety fix ─── */
@media (max-width: 768px) {

    /* La modale prend tout l'écran iOS, y compris notch */
    .modal-landscape .modal-shell {
        max-height: 100vh !important;
        height: 100% !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-top: env(safe-area-inset-top, 0) !important;
        position: relative !important;
    }

    /* Padding top du header éditorial — laisse de la place au-dessus de PLAN YOUR JOURNEY */
    .modal-landscape .modal-visual {
        padding-top: 54px !important;   /* assez pour passer sous la close X */
        padding-bottom: 22px !important;
    }

    /* Croix de fermeture toujours visible et au-dessus de tout */
    .modal-landscape .modal-close {
        position: absolute !important;
        top: calc(env(safe-area-inset-top, 0) + 16px) !important;
        right: 16px !important;
        z-index: 100 !important;
        width: 38px !important;
        height: 38px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: var(--ukoffwhite) !important;
        color: var(--ukblue) !important;
        border: 1px solid rgba(34, 51, 78, 0.15) !important;
        border-radius: 50% !important;
        box-shadow: 0 4px 14px rgba(34, 51, 78, 0.12) !important;
    }
    .modal-landscape .modal-close svg {
        width: 18px !important;
        height: 18px !important;
        stroke: currentColor !important;
    }
    .modal-landscape .modal-close:hover {
        color: var(--ukred) !important;
        border-color: var(--ukred) !important;
    }
}

/* ─── Mobile : modale en fullscreen sheet (style iOS) ─── */
@media (max-width: 768px) {

    /* La shell occupe tout l'écran, plus de marges, plus de border-radius */
    .modal.is-open .modal-shell,
    .modal-shell {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        margin: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        padding-top: env(safe-area-inset-top, 0) !important;
        padding-bottom: env(safe-area-inset-bottom, 0) !important;
    }

    /* Close button — position FIXED pour rester visible au scroll */
    .modal-landscape .modal-close,
    .modal .modal-close {
        position: fixed !important;
        top: calc(env(safe-area-inset-top, 0) + 52px) !important;
        right: 12px !important;
        z-index: 9999 !important;
        width: 40px !important;
        height: 40px !important;
        background: #ffffff !important;
        color: var(--ukblue) !important;
        border: 1px solid rgba(34, 51, 78, 0.15) !important;
        border-radius: 50% !important;
        box-shadow: 0 4px 14px rgba(34, 51, 78, 0.12) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 0 !important;
        cursor: pointer;
    }
    .modal-landscape .modal-close svg {
        width: 18px !important;
        height: 18px !important;
        stroke: currentColor !important;
    }
    .modal-landscape .modal-close:hover {
        background: var(--ukred) !important;
        color: #ffffff !important;
        border-color: var(--ukred) !important;
        transform: rotate(90deg) !important;
    }

    /* Visual header padding-top assez généreux pour passer SOUS la close X */
    .modal-landscape .modal-visual {
        padding-top: 66px !important;
        padding-bottom: 22px !important;
    }
}

/* ─── Force hidden modal to be truly hidden (safety net) ─── */
.modal[hidden] {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   Mobile drawer — retire la "double barre" entre FAQ et Destination
   Le dernier <a> du menu (FAQ) a un border-b Tailwind, et le
   .mobile-picker-block ajoutait un border-top redondant. On garde
   l'espacement (padding/margin) mais on supprime la barre dupliquée.
   ═══════════════════════════════════════════════════════════════════ */
.mobile-picker-block {
    border-top: none !important;
}

/* ─── Liens (a) en chip : pas d'underline ─── */
a.mobile-picker-chip { text-decoration: none; }

/* Hero phone — number turns UKRED on hover */
.hero-phone .hero-phone-num { transition: color 0.3s ease; }
.hero-phone:hover .hero-phone-num { color: var(--ukred); }

/* Drawer mobile — numéro de téléphone en pied, affichage design */
.mobile-picker-phone {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(34, 51, 78, 0.1);
    text-align: center;
}
.mobile-picker-phone a {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--ukmuted);
    text-decoration: none;
    transition: color 0.25s ease;
}
.mobile-picker-phone a:active,
.mobile-picker-phone a:hover {
    color: var(--ukred);
}

/* ════════════════════════════════════════════════════════════
   Modale contact mobile — scroll unifié + dates iOS + From/To empilés
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Seule .modal-shell scrolle (déjà en 100dvh via le bloc fullscreen) */
    #contactModal .modal-grid {
        display: block !important;
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
    }
    #contactModal .modal-formcol {
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Inputs date iOS : empêche l'étirement vertical absurde */
    #contactModal input[type="date"].field {
        height: auto !important;
        min-height: calc(1.15rem * 2 + 1.5rem) !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        line-height: normal !important;
        display: block !important;
        width: 100% !important;
    }

    /* From / To empilés 1 par ligne */
    #contactModal .grid.sm\:grid-cols-2:has(#travelFromInput) {
        display: block !important;
    }
    #contactModal .grid.sm\:grid-cols-2:has(#travelFromInput) > .flex {
        margin-bottom: 1rem;
    }
}

/* iOS : empêche le scroll de se bloquer à scrollTop:0 (rubber-band) */
@media (max-width: 768px) {
    #contactModal .modal-shell {
        overscroll-behavior-y: contain !important;
        touch-action: pan-y !important;
    }
}


/* ─── Téléphone header desktop : icône + texte totalement figés au survol ─── */
.phone-cta {
    align-items: center !important;
}
.phone-cta,
.phone-cta * {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}
.phone-cta svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
    margin: 0 !important;
    vertical-align: middle !important;
}
.phone-cta span {
    font-weight: 600 !important;
    letter-spacing: normal !important;
}

/* Pages légales : pas de conteneur scrollable interne (évite le double scroll) */
.legal-document-body {
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
}
.legal-page {
    overflow: visible !important;
}

/* ─── Pages légales : flux normal, pas de scroll interne ─── */
.legal-document-body {
    max-width: 100%;
    color: var(--ukblue);
    font-size: 0.95rem;
    line-height: 1.7;
}
.legal-document-body .modal-document-head { margin-bottom: 2rem; }
.legal-document-body .modal-document-section { margin-bottom: 2.5rem; }
.legal-document-body p { margin-bottom: 1rem; }
.legal-document-body ul,
.legal-document-body ol { margin: 0 0 1rem 1.25rem; }
.legal-document-body li { margin-bottom: 0.4rem; }

/* ─── Pages légales : flux normal, pas de scroll interne ─── */
.legal-document-body {
    max-width: 100%;
    color: var(--ukblue);
    font-size: 0.95rem;
    line-height: 1.7;
}
.legal-document-body .modal-document-head { margin-bottom: 2rem; }
.legal-document-body .modal-document-section { margin-bottom: 2.5rem; }
.legal-document-body p { margin-bottom: 1rem; }
.legal-document-body ul,
.legal-document-body ol { margin: 0 0 1rem 1.25rem; }
.legal-document-body li { margin-bottom: 0.4rem; }

/* Pages légales : aucun scroll interne, toute la page défile d'un bloc */
.legal-page,
.legal-page * {
    overflow: visible !important;
    max-height: none !important;
}
.legal-page {
    height: auto !important;
}

/* ─── Hero Ken Burns : zoom doux en boucle aller-retour ─── */
@keyframes heroKenBurns {
    0%   { transform: scale(1); }
    100% { transform: scale(1.09); }
}
.hero-zoom {
    transform-origin: center center;
    animation: heroKenBurns 18s ease-in-out infinite alternate;
    will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
    .hero-zoom { animation: none; }
}

/* Inputs date : hauteur fixe identique aux autres champs, ne bouge pas à la saisie */
input[type="date"].field {
    width: 100% !important;
    box-sizing: border-box !important;
    -webkit-appearance: none;
    appearance: none;
    min-height: calc(1.15rem * 2 + 1.5rem);  /* padding + line-height = même hauteur que .field */
    line-height: 1.5;
    display: block;
}
input[type="date"].field::-webkit-date-and-time-value {
    text-align: left;
}
