:root{
    --bg:#08090b;
    --panel:#111318;
    --text:#f4f4f5;
    --muted:#a8a9af;
    --gold:#d4af37;
    --line:rgba(255,255,255,.10);
}

*{box-sizing:border-box}

body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:'Nunito',sans-serif;
}

.db-wrap{
    width:min(1180px,calc(100% - 32px));
    margin:auto;
}

.tours-hero{
    padding:80px 0 50px;
    background:
        radial-gradient(circle at 20% 0%,rgba(212,175,55,.14),transparent 35%),
        linear-gradient(#0d0e12,#08090b);
}

.tours-hero h1{
    font-family:'Poppins',sans-serif;
    font-size:clamp(2.5rem,6vw,5rem);
    line-height:1.05;
    margin:10px 0 15px;
}

.tours-hero p{
    max-width:760px;
    color:var(--muted);
    line-height:1.7;
    font-size:1.05rem;
}

.eyebrow{
    color:var(--gold);
    font-weight:900;
    letter-spacing:.14em;
    text-transform:uppercase;
    font-size:.76rem;
}

.tours-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
    padding:45px 0 80px;
}

.tour-card{
    display:flex;
    flex-direction:column;
    color:inherit;
    text-decoration:none;
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:20px;
    overflow:hidden;
    transition:.25s;
}

.tour-card:hover{
    transform:translateY(-5px);
    border-color:rgba(212,175,55,.5);
}

.tour-card img{
    width:100%;
    height:225px;
    object-fit:cover;
}

.card-body{
    padding:20px;
}

.card-body h2,
.card-body h3{
    font-family:'Poppins',sans-serif;
    line-height:1.25;
}

.card-body p{
    color:var(--muted);
    line-height:1.55;
}

.gold{
    color:var(--gold);
}

.facts{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.fact{
    padding:7px 10px;
    border-radius:999px;
    border:1px solid var(--line);
    font-size:.78rem;
    font-weight:800;
}

.detail-hero{
    position:relative;
    min-height:72vh;
    display:flex;
    align-items:end;
    overflow:hidden;
    background:#050506;
}

.detail-hero>img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.detail-hero:after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        transparent 15%,
        rgba(0,0,0,.92)
    );
}

.detail-inner{
    position:relative;
    z-index:2;
    width:100%;
    padding:70px 0 45px;
}

.detail-inner h1{
    max-width:950px;
    font-family:'Poppins',sans-serif;
    font-size:clamp(2.3rem,5vw,5rem);
    line-height:1.05;
    margin:10px 0 15px;
}

.detail-inner .summary{
    max-width:800px;
    line-height:1.7;
    font-size:1.08rem;
}

.two-col{
    display:grid;
    grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);
    gap:40px;
    padding:55px 0;
}

.copy h2,
.gallery-title,
.related-title{
    font-family:'Poppins',sans-serif;
}

.copy p{
    color:#c4c5ca;
    line-height:1.85;
    font-size:1.03rem;
}

.booking{
    position:sticky;
    top:95px;
    padding:24px;
    border-radius:20px;
    background:#111318;
    border:1px solid rgba(212,175,55,.3);
}

.booking-price{
    color:var(--gold);
    font-size:1.4rem;
    font-weight:900;
}

.book-btn,
.book-off{
    display:block;
    margin-top:17px;
    padding:14px;
    text-align:center;
    border-radius:12px;
    font-weight:900;
}

.book-btn{
    background:var(--gold);
    color:#08090b;
    text-decoration:none;
}

.book-off{
    background:#25272d;
    color:#999;
}

.gallery{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    padding-bottom:70px;
}

.gallery img{
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    border-radius:14px;
}

.related{
    border-top:1px solid var(--line);
    padding:40px 0 80px;
}

.related-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.back{
    color:#fff;
    text-decoration:none;
    font-weight:900;
}

@media(max-width:900px){
    .tours-grid,
    .related-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .two-col{
        grid-template-columns:1fr;
    }

    .booking{
        position:static;
    }
}

@media(max-width:580px){
    .db-wrap{
        width:calc(100% - 24px);
    }

    .tours-grid,
    .related-grid{
        grid-template-columns:1fr;
    }

    .gallery{
        grid-template-columns:1fr 1fr;
    }

    .detail-hero{
        min-height:78svh;
    }
}

/* === DELIVERY_BACALAR_TOURS_PREVIEW_PRIVADO_2026 === */

.db-preview-banner {
    position: relative;
    z-index: 99999;
    width: 100%;
    padding: 8px 14px;
    background: #d4af37;
    color: #08090b;
    font-family: 'Nunito', sans-serif;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-align: center;
}

/* === DELIVERY_BACALAR_TOUR_DETAILS_UI_2026 === */

.tour-detail-sections{
    margin-top:42px;
    padding-top:34px;
    border-top:1px solid var(--line);
}

.tour-detail-sections-title{
    margin:0 0 20px;
    font-family:'Poppins',sans-serif;
    font-size:clamp(1.45rem,2.5vw,2rem);
    line-height:1.2;
}

.tour-detail-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.tour-detail-card{
    min-width:0;
    padding:20px;
    border:1px solid var(--line);
    border-radius:18px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.012)
        ),
        var(--panel);
}

.tour-detail-card--meeting{
    grid-column:1 / -1;
}

.tour-detail-card-head{
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:15px;
}

.tour-detail-icon{
    display:inline-flex;
    flex:0 0 32px;
    width:32px;
    height:32px;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(212,175,55,.38);
    border-radius:50%;
    color:var(--gold);
    font-size:1rem;
    font-weight:900;
    line-height:1;
}

.tour-detail-card h3{
    margin:0;
    font-family:'Poppins',sans-serif;
    font-size:1.02rem;
    line-height:1.3;
}

.tour-detail-card ul{
    display:grid;
    gap:10px;
    margin:0;
    padding:0;
    list-style:none;
}

.tour-detail-card li{
    position:relative;
    padding-left:18px;
    color:#c4c5ca;
    font-size:.96rem;
    line-height:1.55;
}

.tour-detail-card li::before{
    content:'';
    position:absolute;
    top:.68em;
    left:0;
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--gold);
}

.tour-detail-card--meeting li{
    font-size:.98rem;
}

@media(max-width:720px){

    .tour-detail-sections{
        margin-top:34px;
        padding-top:28px;
    }

    .tour-detail-grid{
        grid-template-columns:1fr;
    }

    .tour-detail-card--meeting{
        grid-column:auto;
    }

    .tour-detail-card{
        padding:18px;
        border-radius:16px;
    }

}


/* === DELIVERY_BACALAR_BOKUN_WIDGET_PILOT_2026 === */

.bokun-booking-intro{
    margin-top:17px;
    padding-top:17px;
    border-top:1px solid var(--line);
}

.bokun-booking-intro strong{
    display:block;
    color:var(--text);
    font-family:'Poppins',sans-serif;
    font-size:1rem;
    line-height:1.4;
}

.bokun-booking-intro p{
    margin:7px 0 16px;
    color:var(--muted);
    font-size:.9rem;
    line-height:1.55;
}

.booking .bokunWidget{
    width:100%;
    min-height:480px;
    overflow:hidden;
    border-radius:14px;
}

.bokun-noscript{
    margin:14px 0 0;
    color:var(--muted);
    font-size:.86rem;
    line-height:1.5;
}

@media(max-width:900px){

    .booking .bokunWidget{
        min-height:520px;
    }

}


/* === DELIVERY_BACALAR_TOURS_EMPTY_HUB_2026 === */

.tours-empty{
    width:min(900px,calc(100% - 36px));
    margin:25px auto 65px;
    padding:24px 26px;
    border:1px solid var(--line);
    border-radius:18px;
    background:rgba(255,255,255,.04);
}

.tours-empty p{
    margin:0;
    color:var(--muted);
    line-height:1.7;
}


/* ==========================================================
   DELIVERY_BACALAR_TOURS_HUB_EDITORIAL_2026
   ========================================================== */

.tour-hub-intro{
    padding:58px 0 20px;
    max-width:850px;
}

.tour-hub-intro h2,
.tour-choice-copy h2,
.tour-category-header h2{
    font-family:'Poppins',sans-serif;
    letter-spacing:-.025em;
}

.tour-hub-intro h2{
    margin:8px 0 14px;
    font-size:clamp(1.8rem,4vw,2.7rem);
}

.tour-hub-intro p{
    max-width:760px;
    margin:0;
    color:var(--muted);
    line-height:1.75;
}


.tour-category-nav{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:12px 0 28px;
    scrollbar-width:none;
}

.tour-category-nav::-webkit-scrollbar{
    display:none;
}

.tour-category-chip{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:10px;
    padding:11px 16px;
    border:1px solid var(--line);
    border-radius:999px;
    background:rgba(255,255,255,.035);
    color:inherit;
    text-decoration:none;
    font-weight:800;
    transition:
        transform .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.tour-category-chip:hover{
    transform:translateY(-2px);
    border-color:rgba(212,175,55,.55);
    color:var(--gold);
}

.tour-category-chip small{
    min-width:23px;
    height:23px;
    padding:0 6px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:rgba(212,175,55,.14);
    color:var(--gold);
    font-size:.72rem;
}


.tour-choice-guide{
    margin:45px 0 75px;
    padding:32px;
    border:1px solid var(--line);
    border-radius:24px;
    background:
        linear-gradient(
            145deg,
            rgba(212,175,55,.07),
            rgba(255,255,255,.025)
        );
}

.tour-choice-copy{
    max-width:800px;
}

.tour-choice-copy h2{
    margin:8px 0 13px;
    font-size:clamp(1.65rem,4vw,2.4rem);
}

.tour-choice-copy > p{
    margin:0;
    color:var(--muted);
    line-height:1.75;
}

.tour-choice-grid{
    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap:15px;
    margin-top:26px;
}

.tour-choice-card{
    padding:22px;
    border:1px solid var(--line);
    border-radius:17px;
    background:rgba(0,0,0,.16);
}

.tour-choice-number{
    display:block;
    margin-bottom:13px;
    color:var(--gold);
    font-size:.76rem;
    font-weight:900;
    letter-spacing:.13em;
}

.tour-choice-card h3{
    margin:0 0 9px;
    font-family:'Poppins',sans-serif;
    font-size:1.02rem;
}

.tour-choice-card p{
    margin:0;
    color:var(--muted);
    line-height:1.65;
    font-size:.94rem;
}


.tour-category-sections{
    padding-bottom:70px;
}

.tour-category-section{
    scroll-margin-top:90px;
    padding:38px 0 20px;
    border-top:1px solid var(--line);
}

.tour-category-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:25px;
}

.tour-category-header > div:first-child{
    max-width:760px;
}

.tour-category-header h2{
    margin:7px 0 10px;
    font-size:clamp(1.65rem,4vw,2.35rem);
}

.tour-category-header p{
    margin:0;
    color:var(--muted);
    line-height:1.7;
}

.tour-category-count{
    flex:0 0 auto;
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(212,175,55,.35);
    border-radius:50%;
    background:rgba(212,175,55,.08);
    color:var(--gold);
    font-weight:900;
}


.tour-category-section .tours-grid{
    padding:28px 0 25px;
}


.tour-card h3{
    margin:10px 0;
    font-family:'Poppins',sans-serif;
    font-size:1.2rem;
    line-height:1.3;
}


.tours-empty{
    margin-top:20px;
    margin-bottom:35px;
}

.tours-empty .eyebrow{
    margin-bottom:9px;
}


@media(max-width:900px){

    .tour-choice-grid{
        grid-template-columns:1fr;
    }

}


@media(max-width:650px){

    .tour-hub-intro{
        padding-top:42px;
    }

    .tour-choice-guide{
        padding:23px;
        margin:32px 0 55px;
    }

    .tour-category-header{
        align-items:flex-start;
    }

    .tour-category-count{
        width:40px;
        height:40px;
    }

}
