:root {
    --jd-purple: #320542;
    --jd-purple-accent: #806296;
    --jd-ivory: #F9F7F2;
    --jd-dark: #320542;
    --accent-white: #FFFFFF;
    --jd-gold: #FFDB78;
}

/* --- LOCAL FONTS --- */

/* Recoleta */
@font-face {
    font-family: 'Recoleta';
    src: url('../font-family/Recoleta/Recoleta/Recoleta Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Recoleta';
    src: url('../font-family/Recoleta/Recoleta/Recoleta Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Recoleta';
    src: url('../font-family/Recoleta/Recoleta/Recoleta SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Recoleta';
    src: url('../font-family/Recoleta/Recoleta/Recoleta Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Recoleta';
    src: url('../font-family/Recoleta/Recoleta/Recoleta Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background: var(--accent-white);
    color: var(--jd-dark);
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
.recoleta {
    font-family: 'Recoleta', serif;
    font-weight: 700;
}

p {
    font-weight: 300;
    line-height: 1.6;
}

/* --- S1: HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* 40% opaque glass effect for better background visibility */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s ease, background 0.3s ease;
}

/* Consistent glass effect on scroll with slightly more blur */
header.scrolled {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(18px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* RESTORED: Location and Booking Strip */
.header-top-bar {
    background: #F3EEF7;
    padding: 8px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hide-topbar {
    height: 0 !important;
    opacity: 0 !important;
    padding: 0 !important;
}

.header-strip {
    display: flex;
    align-items: center;
    gap: 10px;
}

.loc {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    color: #000000;
    text-decoration: none;
}

/* Book button — desktop: text only, no icon */
.book-btn {
    border: 1px solid #c9b8d8;
    padding: 6px 16px;
    font-size: 11px;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    color: var(--jd-purple);
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

.book-btn:hover {
    background: var(--jd-purple);
    color: white;
}

.book-btn:hover .book-icon {
    stroke: white;
}

/* Icon hidden on desktop */
.book-icon {
    width: 15px;
    height: 15px;
    stroke: #320542;
    fill: none;
    stroke-width: 1.8;
    flex-shrink: 0;
}


/* Main Navigation Grid: Menu (Left) | Logo (Center) | Icons (Right) */
.header-nav-row {
    padding: 10px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.desktop-nav {
    display: flex;
    gap: 25px;
    justify-content: flex-start;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--jd-dark);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.header-logo-container {
    display: flex;
    justify-content: center;
    padding: 0 30px;
}

.logo-wordmark {
    display: block;
    line-height: 0;
}

.nav-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.nav-icon-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.nav-icon-btn.search {
    width: 32px;
    height: 32px;
}

.nav-icon-btn svg {
    width: 25px;
    height: 25px;
    stroke: #1A1A1A;
    fill: none;
    stroke-width: 1.5;
}

.nav-icon-btn:hover svg {
    stroke: var(--jd-purple);
}

.notif-dot {
    position: absolute;
    top: -4px;
    right: 0;
    width: 16px;
    height: 16px;
    background: var(--jd-purple);
    border-radius: 50%;
    font-size: 9px;
    color: #fff;
    line-height: 2;
}

/* Animated Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2100;
    width: 44px;
    height: 44px;
}

.mobile-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--jd-dark);
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
    background: var(--jd-purple);
}

.mobile-toggle.active span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
    background: var(--jd-purple);
}

/* Mobile Overlay Styling */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2000;
}

.mobile-nav-overlay.open {
    transform: translateY(0);
}

.mobile-nav-overlay a {
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--jd-dark);
    text-transform: uppercase;
    letter-spacing: 3px;
}

@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-nav-row {
        padding: 10px 20px;
    }

    .header-top-bar {
        padding: 8px 20px;
    }
}

@media(max-width: 767px) {

    /* ─── OVERFLOW FIX: Global box model ─── */
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    .header-top-bar {
        padding: 6px 12px;
        justify-content: center;
    }

    .header-nav-row {
        padding: 6px 12px;
    }

    .logo-wordmark svg {
        width: 100px;
        height: auto;
    }

    .header-top-bar {
        padding: 0;
        gap: 0;
        height: 38px;
        overflow: hidden;
    }

    /* Left side: deep purple, contains chips */
    .header-strip {
        overflow: hidden;
        flex: 1;
    }

    /* Wrap all the content in a sliding inner element */
    .header-strip .marquee-inner {
        display: inline-block;
        white-space: nowrap;
        animation: marquee 12s linear infinite;
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    /* Separators hidden — chips replace them */
    .loc-sep {
        display: none;
    }

    /* Each location becomes a ghost chip */
    .loc {
        font-size: 10px;
        letter-spacing: 0.5px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 20px;
        padding: 3px 8px;
        background: rgba(255, 255, 255, 0.08);
        white-space: nowrap;
        flex-shrink: 0;
        transition: background 0.2s ease;
        /* Re-enable link tap */
        -webkit-tap-highlight-color: transparent;
    }

    .loc:hover,
    .loc:active {
        background: rgba(255, 255, 255, 0.18);
    }

    /* Right side: cream, icon + "Book" */
    .book-btn {
        background: #320542;
        border: none;
        border-left: 1px solid rgba(50, 5, 66, 0.15);
        border-radius: 0;
        padding: 0 16px;
        height: 100%;
        color: #fff;
        font-size: 9px;
        letter-spacing: 1.5px;
        gap: 6px;
        position: relative;
        overflow: hidden;
        /* Hover fill effect */
        transition: color 0.25s ease;
    }

    /* Animated fill on tap */
    .book-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: #320542;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.25s ease;
        z-index: 0;
    }

    .book-btn:active::before {
        transform: scaleX(1);
        transform-origin: left;
    }

    .book-btn:active {
        color: white;
    }

    .book-btn:active .book-icon {
        stroke: white;
    }

    .book-btn:active .book-icon circle {
        fill: white;
    }

    /* Icon shown on mobile */
    .book-icon {
        display: block;
        position: relative;
        z-index: 1;
        stroke: #fff;
    }

    /* "Book" shown, "Appointment" hidden */
    .btn-short {
        display: inline;
        position: relative;
        z-index: 1;
    }

    .btn-long {
        display: none;
    }
}

/* --- S2: HERO (BRIGHT VIDEO + PROTECTED TEXT) --- */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* REMOVED brightness(0.85) to restore full video light */
    filter: contrast(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* REFINED GRADIENT: Transparent at the top/center, dark only at the bottom for buttons */
    background: linear-gradient(to bottom, rgba(20, 5, 30, 0.45) 0%, rgba(20, 5, 30, 0.15) 50%, rgba(20, 5, 30, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    color: var(--jd-ivory);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    /* ENHANCED SHADOW: Stronger dark core to handle the brighter video background */
    /*text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 0, 0, 0.6);*/
}

.hero p {
    font-size: 1.15rem;
    margin-top: 15px;
    font-weight: 400;
    letter-spacing: 1.5px;
    /* Heavier shadow for sub-text since the video is now brighter */
    text-shadow: 0 2px 12px rgba(0, 0, 0, 1);
    opacity: 1;
}

.hero-cta-wrap {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* --- AMETHYST GLASS BUTTONS (#32062A) --- */
.ghost-glass {
    padding: 18px 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(50, 5, 66, 0.8);
    /* Increased opacity slightly for the brighter video */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    font-size: 11px;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    mix-blend-mode: normal;
}

.ghost-glass:hover {
    background: rgba(50, 6, 42, 0.95);
    box-shadow: 0 10px 30px rgba(50, 6, 42, 0.6);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
    .hero {
        height: 80vh;
    }

    .hero-video {
        top: 85%;
    }

    .hero-cta-wrap {
        flex-flow: column;
    }

    .hero-content {
        padding: 110px 20px 30px;
        text-align: left;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .hero-cta-wrap {
        flex-direction: column;
        align-items: start;
        gap: 14px;
        margin-top: 28px;
    }

    .ghost-glass {
        width: 100%;
        max-width: 320px;
        padding: 16px 24px;
    }
}

/* --- S3: HERITAGE (2026 EDITORIAL) --- */
.heritage {
    position: relative;
    padding: 120px 0 80px;
    background: var(--accent-white);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Large watermark year */
.heritage-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(160px, 22vw, 280px);
    font-family: 'Recoleta', serif;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(50, 5, 66, 0.06);
    letter-spacing: -10px;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
}

/* Inner wrapper: image + text side by side, centered */
.heritage-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    width: 90%;
    z-index: 2;
}

.heritage-img-wrap {
    position: relative;
    flex: 0 0 48%;
    z-index: 2;
}

.soft-mask {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

.floor-shadow {
    position: absolute;
    bottom: 2%;
    left: 15%;
    width: 70%;
    height: 30px;
    background: rgba(50, 5, 66, 0.08);
    filter: blur(20px);
    border-radius: 50%;
    z-index: -1;
}

.heritage-text {
    flex: 1;
    z-index: 3;
    position: relative;
    text-align: left;
}

.heritage-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.heritage-label span {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--jd-purple-accent);
    font-weight: 600;
}

.heritage-label::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--jd-purple-accent);
}

.heritage-text h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.15;
    margin: 0 0 24px 0;
    color: var(--jd-dark);
}

.heritage-text h2 em {
    font-style: italic;
    color: var(--jd-purple);
}

.heritage-text>p {
    font-size: 1rem;
    color: #000000;
    margin: 0 0 48px 0;
    line-height: 1.8;
    max-width: 420px;
}

/* Stats row */
.heritage-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Recoleta', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--jd-purple);
    line-height: 1;
}

.stat-label {
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #999;
}

.heritage-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--jd-purple);
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: gap 0.3s ease;
}

.heritage-link:hover {
    gap: 18px;
}

.heritage-link::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--jd-purple);
    transition: width 0.3s ease;
}

.heritage-link:hover::after {
    width: 48px;
}

@media (max-width: 767px) {
    .heritage {
        padding: 60px 0 50px;
    }

    .heritage-text>p {
        font-size: 14px;
        margin: 0 0 30px 0;
        max-width: 100%;
    }

    .heritage-inner {
        width: 100%;
        gap: 30px;
        flex-flow: column;
        padding: 0 20px;
    }
}

/* --- S4: NARRATIVE BANDS --- */
.narrative-outer {
    position: relative;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: row;
    padding: 60px 40px;
    gap: 15px;
    background: #fff;
}

.band {
    position: relative;
    width: 100%;
    height: 750px;
    max-height: 85vh;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    overflow: hidden;
    flex: 1;
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.35, 1), transform 0.4s ease;
}

.band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 5, 30, 0.45);
    /* Deep protective overlay */
    z-index: 1;
    transition: opacity 0.5s ease;
}

.band:hover::before {
    opacity: 0.2;
    /* Reveal more of the image on hover while keeping text readable */
}

.band:hover {
    flex: 1.35;
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}


/* bottom gradient for text legibility */
.band::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
    pointer-events: none;
}

.band-content {
    color: white;
    z-index: 2;
    max-width: 100%;
}

.band-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 14px;
}

.band-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

.band h2 {
    font-size: 2.4rem;
    margin: 0 0 16px 0;
    line-height: 1.1;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.band p {
    font-size: 0.95rem;
    margin-bottom: 32px;
    opacity: 1;
    line-height: 1.6;
    max-width: 320px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.mobile-carousel {
    display: none;
}

@media (max-width: 767px) {

    /* Kill desktop bands */
    .narrative-outer>.band {
        display: none !important;
    }

    /* Section is just a normal full-height block — no pinning */
    .narrative-outer {
        height: 100vh;
        position: relative;
        overflow: hidden;
    }

    .mobile-carousel {
        display: block;
        position: absolute;
        inset: 0;
        overflow: hidden;
        touch-action: pan-y;
        /* let vertical scroll pass through to page */
    }

    /* Track: slides laid out horizontally */
    .mc-track {
        display: flex;
        width: 300%;
        height: 100%;
        will-change: transform;
        transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .mc-slide {
        flex: 0 0 33.333%;
        height: 100%;
        position: relative;
        display: flex;
        align-items: flex-end;
        background-size: cover;
        background-position: center;
    }

    .mc-slide::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
        pointer-events: none;
    }

    .mc-content {
        position: relative;
        z-index: 2;
        padding: 0 28px 80px;
        width: 100%;
        color: white;
    }

    .mc-label {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 9px;
        letter-spacing: 4px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.55);
        margin-bottom: 14px;
    }

    .mc-label::before {
        content: '';
        width: 28px;
        height: 1px;
        background: rgba(255, 255, 255, 0.4);
        display: block;
        flex-shrink: 0;
    }

    .mc-content h2 {
        font-size: clamp(1.9rem, 7vw, 2.5rem);
        margin: 0 0 12px;
        line-height: 1.1;
        font-weight: 700;
    }

    .mc-content p {
        font-size: 0.9rem;
        line-height: 1.7;
        opacity: 0.82;
        margin-bottom: 26px;
    }

    /* Dots */
    .mc-dots {
        position: absolute;
        bottom: 28px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        z-index: 10;
    }

    .mc-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        border: none;
        padding: 0;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.35s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mc-dot.active {
        background: white;
        width: 22px;
        border-radius: 3px;
    }

    /* Autoplay timer bar — runs across bottom */
    .mc-timer-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: rgba(255, 255, 255, 0.1);
        z-index: 10;
    }

    .mc-timer-fill {
        height: 100%;
        width: 0%;
        background: rgba(255, 255, 255, 0.6);
        /* animation applied via JS class */
    }

    .mc-timer-fill.running {
        animation: timerProgress 5s linear forwards;
    }

    @keyframes timerProgress {
        from {
            width: 0%;
        }

        to {
            width: 100%;
        }
    }
}

/* SECTION 5: BALANCED STACK */
.custom-design {
    background: var(--jd-ivory);
    padding: 50px 0;
}

.custom-design .destinations-header {
    margin: 0 auto;
}

.custom-design .destinations-header h2 {
    margin: 0 0 10px;
}

.custom-design-btn-block {
    text-align: center;
}

.build-outer {
    height: auto;
    background: transparent;
    overflow: visible;
    display: flex;
    align-items: flex-start;
    padding-bottom: 60px;
}

.stack-container {
    position: relative;
    width: 90vw;
    max-width: 1400px;
    height: auto;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stack-card {
    position: relative;
    width: 100%;
    height: auto;
    background: white;
    border-radius: 4px;
    border: 1px solid rgba(50, 5, 66, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: none !important;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.stack-card:hover {
    transform: translateY(-10px) !important;
    border-color: var(--jd-purple);
    box-shadow: 0 15px 40px rgba(50, 5, 66, 0.12);
}

/* Removed first-child transform for grid layout */

.card-img {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1/1.2;
    overflow: hidden;
    background: #f4f4f4;
    border-bottom: 2px solid var(--jd-purple);
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-text {
    flex: 1;
    padding: 25px 20px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-text h3 {
    color: var(--jd-purple);
    margin: 0 0 8px 0;
    font-size: 1.3rem;
    font-family: 'Recoleta', serif;
}

.card-text p {
    font-size: 0.88rem;
    margin: 0;
    color: #444;
    line-height: 1.6;
}

/* ── TABLET (≤1024px): 2x2 grid instead of pinning ── */
@media (max-width: 1024px) {
    .build-outer {
        height: auto;
        padding: 40px 0;
    }

    .stack-container {
        grid-template-columns: repeat(2, 1fr);
        width: 85vw;
        gap: 25px;
    }

    .stack-card {
        width: 100%;
        transform: none !important;
    }
}


/* ── MOBILE (≤560px): vertical scroll + cinematic slide-in from right ── */
@media (max-width: 560px) {
    .custom-design-btn-block {
        margin-top: 30px;
    }

    .build-outer {
        height: auto;
        overflow-x: hidden;
        overflow-y: visible;
        padding: 25px 0 0px;
        align-items: flex-start;
    }

    .stack-container {
        position: static;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
        box-sizing: border-box;
        margin: 0;
    }

    .stack-card {
        position: relative;
        width: 100%;
        height: auto;
        min-height: unset;
        transform: none;
        opacity: 0;
        /* GSAP will animate this in */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .stack-card:first-child {
        transform: none;
    }

    .card-img {
        flex: 0 0 56vw;
        height: 56vw;
        min-height: 200px;
        overflow: hidden;
    }

    .card-text {
        padding: 16px 14px;
    }

    .card-text h3 {
        font-size: 1rem;
    }

    .card-text p {
        font-size: 0.78rem;
    }
}

/* --- S6: DESTINATIONS --- */
.destinations-section {
    padding: 80px 8%;
}

.destinations-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.destinations-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin: 0 0 20px;
    color: var(--jd-dark);
    line-height: 1.2;
}

.destinations-header p {
    font-size: 1.05rem;
    color: #000;
    line-height: 1.8;
    max-width: 980px;
}

.destinations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.store-card {
    background: white;
    border: 1px solid #f2f2f2;
    overflow: hidden;
    transition: box-shadow 0.3s;
    border-radius: 4px;
}

.store-card:hover {
    box-shadow: 0 12px 40px rgba(50, 5, 66, 0.08);
}

.map-top {
    width: 100%;
    height: 340px;
    background: #e0e0e0;
    object-fit: cover;
}

.address-box {
    padding: 28px;
}

.store-tagline {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--jd-purple-accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.address-box h3 {
    margin: 0 0 12px;
    font-size: 1.4rem;
    color: var(--jd-dark);
}

.address-box .store-address {
    font-size: 14px;
    margin: 0 0 20px;
    color: #000000;
    line-height: 1.6;
    font-weight: 400;
}

/* Icon row */
.store-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid #f2f2f2;
}

.store-action-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 0 4px 0;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #000;
    transition: color 0.3s;
    text-decoration: none
}

.store-action-btn svg {
    width: 16px;
    height: 16px;
    stroke: #666;
    fill: none;
    stroke-width: 1.5;
    transition: stroke 0.3s;
}

.store-action-btn:hover {
    color: var(--jd-purple);
}

.store-action-btn:hover svg {
    stroke: var(--jd-purple);
}

/* Underline sweep on hover */
.store-action-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--jd-purple);
    transition: width 0.3s ease;
    pointer-events: none;
}

.store-action-btn:hover::after {
    width: 100%;
}

.store-divider {
    width: 1px;
    height: 14px;
    background: #e3e3e3;
}


@media (max-width: 767px) {
    .store-tagline {
        letter-spacing: 0;
    }

    .d-none {
        display: none;
    }

    .destinations {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .destinations-header h2 {
        font-size: clamp(1.6rem, 3vw, 2.8rem);
    }

    .destinations-header {
        text-align: left;
        padding: 0 0px;
        margin: 0 auto 20px;
    }

    .destinations-header p {
        font-size: 14px;
        max-width: max-content;
    }

    .destinations-section {
        padding: 50px 20px;
    }

    .custom-design .destinations-header {
        padding: 0 20px;
    }

    .address-box {
        padding: 20px;
    }
}

/* --- S7: REVIEWS VIDEO CAROUSEL --- */
.reviews-section {
    padding: 120px 0 100px;
    background: #F7F5F2;
    overflow: hidden;
}

/* Header */
.reviews-header {
    text-align: center;
    padding: 0 10%;
    margin-bottom: 20px;
}

.reviews-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin: 0 0 16px;
    color: var(--jd-dark);
}

.reviews-subline {
    font-size: 15px;
    color: #000;
    line-height: 1.7;
    margin: 0 auto 32px;
}

/* Hallmark strip */
.reviews-hallmark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--jd-purple-accent);
    font-weight: 600;
    margin-bottom: 70px;
}

.hallmark-stars {
    color: var(--jd-gold);
    font-size: 16px;
    letter-spacing: 3px;
    filter: drop-shadow(0 0 5px rgba(255, 219, 120, 0.7));
}

.hallmark-dot {
    width: 4px;
    height: 4px;
    background: var(--jd-purple-accent);
    border-radius: 50%;
}

/* Custom drag cursor */
.reviews-track-wrap {
    position: relative;
    cursor: none;
}

.drag-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--jd-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    letter-spacing: 2px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.drag-cursor.visible {
    transform: translate(-50%, -50%) scale(1);
}

/* Carousel track */
.review-track {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: none;
    padding: 10px 0;
}

.review-track::-webkit-scrollbar {
    display: none;
}

/* Video cards — default dimmed (cards 1 & 5) */
.review-card {
    flex: 0 0 calc(20vw - 14px);
    scroll-snap-align: center;
    border-radius: 4px;
    overflow: hidden;
    background: #ddd;
    opacity: 0.25;
    filter: blur(2px);
    transform: scale(0.92);
    transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s ease;
    position: relative;
}

/* Adjacent cards 2 & 4 */
.review-card.adjacent {
    opacity: 0.6;
    filter: blur(0);
    transform: scale(0.96);
}

/* Only centre card 3 fully bright */
.review-card.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

/* 16:9 aspect ratio */
.review-video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #c8bcd4 0%, #a898b8 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Customer overlay */
.review-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 18px 16px;
    background: linear-gradient(to top, rgba(50, 5, 66, 0.75) 0%, transparent 100%);
}

.review-customer-name {
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.review-customer-loc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.review-card-stars {
    color: var(--jd-gold);
    font-size: 13px;
    margin-bottom: 6px;
    filter: drop-shadow(0 0 3px rgba(255, 219, 120, 0.5));
}

/* Play button */
.play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid rgba(128, 98, 150, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(128, 98, 150, 0.15);
    backdrop-filter: blur(4px);
    transition: background 0.3s, transform 0.3s;
}

.play-btn svg {
    width: 18px;
    height: 18px;
    fill: rgba(128, 98, 150, 0.8);
    margin-left: 3px;
}

.review-card.active .play-btn:hover {
    background: rgba(128, 98, 150, 0.3);
    transform: scale(1.08);
}

/* Reviews CTA */
.review-btn-block {
    text-align: center;
    margin-top: 56px;
}

.reviews-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--jd-purple);
    color: var(--jd-purple);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 14px 32px;
    transition: background 0.3s, color 0.3s;
}

.reviews-cta:hover {
    background: var(--jd-purple);
    color: white;
}


@media (max-width: 767px) {

    .reviews-hallmark {
        flex-flow: column;
        align-items: start;
        margin-bottom: 0
    }

    .reviews-section {
        padding: 50px 0;
    }

    .review-card {
        flex: 0 0 calc(80vw - 14px) !important;
    }

    .reviews-header h2 {
        font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    }

    .reviews-subline {
        font-size: 14px;
    }

    .reviews-header {
        text-align: left;
    }

    .reviews-header {
        padding: 0 20px;
    }

    .review-btn-block {
        margin-top: 30px;
    }
}

/* --- S8: CLOSING CTA --- */
.cta-final {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    /* This ensures the image starts slightly larger so it doesn't reveal white edges during zoom */
    transform: scale(1);
    transform-origin: center;
}

/* Purple anchor gradient overlay */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

/* Word reveal spans */
.cta-headline {
    font-family: 'Recoleta', serif;
    font-weight: 700;
    font-size: clamp(2.8rem, 6vw, 5rem);
    margin: 0;
    line-height: 1.3;
    color: var(--jd-ivory);
    overflow: hidden;
}

.cta-word {
    display: inline-block;
    margin-right: 0.25em;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(18px);
    transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
}

.cta-word.revealed {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.cta-supporting {
    font-size: 1rem;
    font-weight: 300;
    color: #fff;
    max-width: 700px;
    line-height: 1.8;
    margin: 0 0 12px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

.cta-supporting.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Ghost-glass CTA button with shimmer */
.cta-book-btn {
    position: relative;
    overflow: hidden;
    padding: 18px 42px;
    border: 1px solid rgba(128, 98, 150, 0.4);
    background: var(--jd-purple);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    cursor: pointer;
    border-radius: 2px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s ease 1s, transform 0.8s ease 1s, background 0.3s, box-shadow 0.3s;
}

.cta-book-btn.revealed {
    opacity: 1;
    transform: translateY(0);
}

.cta-book-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Diamond shimmer sweep */
.cta-book-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: shimmer 8s infinite 2s;
}

@keyframes shimmer {
    0% {
        left: -120%;
    }

    15% {
        left: 160%;
    }

    100% {
        left: 160%;
    }
}

/* Slide-out booking drawer */
.booking-drawer {
    position: fixed;
    top: 0;
    right: -480px;
    width: 460px;
    height: 100vh;
    background: rgba(249, 247, 242, 0.96);
    backdrop-filter: blur(20px);
    z-index: 2000;
    padding: 60px 48px;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
    transition: right 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    overflow-y: auto;
    box-sizing: border-box;
}

.booking-drawer.open {
    right: 0;
}

.drawer-close {
    position: absolute;
    top: 24px;
    right: 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: var(--jd-dark);
    line-height: 1;
}

.drawer-title {
    font-family: 'Recoleta', serif;
    font-size: 1.8rem;
    color: var(--jd-dark);
    margin: 0 0 8px;
}

.drawer-sub {
    font-size: 0.85rem;
    color: #888;
    margin: 0 0 36px;
    line-height: 1.6;
}

.drawer-field {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 12px 0;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    background: transparent;
    color: var(--jd-dark);
    margin-bottom: 28px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.drawer-field:focus {
    border-color: var(--jd-purple);
}

.drawer-field::placeholder {
    color: #aaa;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.drawer-submit {
    width: 100%;
    padding: 16px;
    background: var(--jd-purple);
    color: white;
    border: none;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.drawer-submit:hover {
    background: var(--jd-dark);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: all;
}

@media(max-width: 767px) {
    .cta-final {
        height: 50vh
    }

    .cta-content {
        align-items: start;
        text-align: left;
    }

    .cta-book-btn {
        padding: 18px 30px;
    }

    .cta-headline {
        font-size: clamp(1.6rem, 6vw, 5rem);
    }

    .cta-supporting {
        font-size: 14px;
    }
}

@media(max-width: 500px) {
    .booking-drawer.open {
        width: 100%;
    }

    .cta-final {
        height: 75vh;
    }
}

/* --- FOOTER --- */
footer {
    background: var(--jd-dark);
    color: white;
    padding: 60px 8% 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Logo col */
.footer-logo-col {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.footer-wordmark {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 5px;
    color: white;
    text-decoration: none;
    display: block;
}

.footer-tagline {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 1px;
    line-height: 1.7;
    font-weight: 300;
}

/* Join Inner Circle text link */
.footer-inner-circle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--jd-gold);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.footer-inner-circle:hover {
    opacity: 0.7;
}

.footer-inner-circle::before {
    content: '✦';
    font-size: 8px;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.social-icon {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: border-color 0.3s, color 0.3s;
}

.social-icon:hover {
    border-color: var(--jd-gold);
    color: var(--jd-gold);
}

.social-icon svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

/* Menu columns */
.footer-col h4 {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    margin: 0 0 18px;
    font-family: 'Montserrat', sans-serif;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    letter-spacing: 1px;
}

.footer-policy-links {
    display: flex;
    gap: 20px;
}

.footer-policy-links a {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-policy-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 991px) {

    /* ── Outer footer padding ── */
    footer {
        padding: 0 0 0;
    }

    /* ── Grid → single column stack ── */
    .footer-inner {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    /* ════════════════════════════════
           LOGO COLUMN
        ════════════════════════════════ */
    .footer-logo-col {
        padding: 36px 24px 20px;
        gap: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-wordmark {
        font-size: 22px;
        letter-spacing: 6px;
    }

    /* Tagline — visible per user preference */
    .footer-tagline {
        display: block;
        font-size: 10px;
        line-height: 1.8;
        color: rgba(255, 255, 255, 0.45);
    }

    .footer-inner-circle {
        font-size: 9px;
        letter-spacing: 2px;
    }

    /* Social row — stays below tagline + inner circle */
    .footer-social {
        gap: 10px;
        margin-top: 6px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon svg {
        width: 14px;
        height: 14px;
    }

    /* ════════════════════════════════
           ACCORDION COLUMNS
           Each .footer-col gets a tappable
           header and a collapsible body.
        ════════════════════════════════ */
    .footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* The <h4> becomes the accordion trigger */
    .footer-col h4 {
        margin: 0;
        padding: 16px 24px;
        font-size: 10px;
        letter-spacing: 3px;
        color: rgba(255, 255, 255, 0.6);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.25s;
    }

    .footer-col h4:active {
        color: rgba(255, 255, 255, 0.9);
    }

    /* Chevron arrow — CSS only, injected via ::after */
    .footer-col h4::after {
        content: '';
        display: block;
        width: 8px;
        height: 8px;
        border-right: 1.5px solid rgba(255, 255, 255, 0.35);
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.35);
        transform: rotate(45deg) translateY(-3px);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s;
        flex-shrink: 0;
    }

    /* Open state — chevron flips up */
    .footer-col.is-open h4::after {
        transform: rotate(-135deg) translateY(-3px);
        border-color: var(--jd-gold, #c9a84c);
    }

    .footer-col.is-open h4 {
        color: white;
    }

    /* Link list — collapsed by default */
    .footer-col ul {
        max-height: 0;
        overflow: hidden;
        padding: 0 24px;
        gap: 0;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    }

    /* Open state — expands smoothly */
    .footer-col.is-open ul {
        max-height: 240px;
        /* tall enough for longest list */
        padding: 0 24px 18px;
        gap: 11px;
    }

    .footer-col ul li a {
        font-size: 12px;
        letter-spacing: 0.5px;
        color: rgba(255, 255, 255, 0.6);
        display: block;
        padding: 1px 0;
        transition: color 0.2s, padding-left 0.2s;
    }

    .footer-col ul li a:active {
        color: white;
        padding-left: 4px;
    }

    /* Gold accent line on tap */
    .footer-col ul li a::before {
        content: '';
        display: inline-block;
        width: 0;
        height: 1px;
        background: var(--jd-gold, #c9a84c);
        vertical-align: middle;
        margin-right: 0;
        transition: width 0.2s, margin-right 0.2s;
    }

    .footer-col ul li a:focus-visible::before,
    .footer-col ul li a:hover::before {
        width: 10px;
        margin-right: 7px;
    }

    .footer-col ul li a:hover {
        color: white;
    }

    /* ════════════════════════════════
           BOTTOM BAR
        ════════════════════════════════ */
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px 32px;
        gap: 10px;
    }

    .footer-copyright {
        font-size: 9px;
        letter-spacing: 0.8px;
    }

    .footer-policy-links {
        gap: 16px;
        flex-wrap: wrap;
    }

    .footer-policy-links a {
        font-size: 9px;
        letter-spacing: 0.8px;
    }
}

/* end @media (max-width: 991px) */

@media(max-width: 767px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}