:root{
    --bg:#081311;
    --panel:#10201d;
    --panel2:#142824;
    --text:#f5f1e8;
    --muted:#b8c4bf;
    --gold:#d5b66f;
    --line:rgba(255,255,255,.10);
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:
        radial-gradient(
            circle at top,
            #16332d 0,
            #081311 42%,
            #050b0a 100%
        );
    color:var(--text);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.home-wrap{
    width:min(1180px,calc(100% - 36px));
    margin:0 auto;
}

.home-hero{
    padding:105px 0 72px;
}

.home-eyebrow{
    margin-bottom:14px;
    color:var(--gold);
    font-weight:800;
    font-size:.82rem;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.home-hero h1{
    max-width:900px;
    margin:0;
    font-size:clamp(2.5rem,7vw,5.6rem);
    line-height:.98;
    letter-spacing:-.045em;
}

.home-intro{
    max-width:760px;
    margin:25px 0 0;
    color:var(--muted);
    font-size:clamp(1.05rem,2.1vw,1.35rem);
    line-height:1.7;
}

.home-explore{
    padding:20px 0 100px;
}

.home-explore h2{
    margin:0 0 28px;
    font-size:clamp(1.7rem,4vw,2.5rem);
}

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

.home-card{
    min-height:250px;
    padding:27px;
    border:1px solid var(--line);
    border-radius:22px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.065),
            rgba(255,255,255,.025)
        );
    display:flex;
    gap:18px;
    transition:
        transform .2s ease,
        border-color .2s ease;
}

.home-card:hover{
    transform:translateY(-3px);
    border-color:rgba(213,182,111,.48);
}

.home-card-icon{
    flex:0 0 auto;
    font-size:2rem;
}

.home-card h3{
    margin:0 0 10px;
    font-size:1.22rem;
}

.home-card p{
    margin:0 0 20px;
    color:var(--muted);
    line-height:1.65;
}

.home-card a{
    color:var(--gold);
    font-weight:800;
    text-decoration:none;
}

.home-card a:hover{
    text-decoration:underline;
}

.home-footer{
    padding:30px 0 40px;
    border-top:1px solid var(--line);
    color:var(--muted);
    font-size:.9rem;
}


@media(max-width:900px){

    .home-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

}


@media(max-width:620px){

    .home-hero{
        padding:72px 0 48px;
    }

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

    .home-card{
        min-height:auto;
    }

}


/* =========================================================
   DELIVERY_BACALAR_HOME_FOOD_FIRST_2026
   ========================================================= */

.home-hero-food{
    padding:72px 0 52px;
    min-height:auto;
}

.home-hero-food .home-eyebrow{
    font-size:.9rem;
    letter-spacing:.17em;
}

.home-hero-food h1{
    max-width:920px;
    font-size:clamp(3rem,7vw,6.1rem);
    line-height:.95;
}

.home-hero-food .home-intro{
    max-width:690px;
    margin-top:22px;
    font-size:clamp(1.08rem,2vw,1.35rem);
}

.home-actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:13px;
    margin-top:30px;
}

.home-cta-primary,
.home-cta-secondary{
    min-height:56px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:0 24px;
    border-radius:14px;
    font-weight:900;
    text-decoration:none;
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.home-cta-primary{
    background:var(--gold);
    color:#10100d;
    box-shadow:
        0 12px 35px
        rgba(213,182,111,.18);
}

.home-cta-primary:hover{
    transform:translateY(-2px);
}

.home-cta-secondary{
    border:1px solid var(--line);
    background:rgba(255,255,255,.04);
    color:var(--text);
}

.home-cta-secondary:hover{
    transform:translateY(-2px);
    border-color:rgba(213,182,111,.5);
}

.home-micro{
    margin-top:17px;
    color:var(--muted);
    font-size:.9rem;
    font-weight:700;
}

#explorar-bacalar{
    scroll-margin-top:90px;
}


@media(max-width:620px){

    .home-hero-food{
        padding:50px 0 42px;
    }

    .home-hero-food h1{
        font-size:clamp(2.8rem,14vw,4.5rem);
    }

    .home-actions{
        align-items:stretch;
        flex-direction:column;
    }

    .home-cta-primary,
    .home-cta-secondary{
        width:100%;
    }

}


/* ==========================================================
   DELIVERY_BACALAR_HOME_RESTAURANTS_FIRST_2026
   ========================================================== */

.home-hero-food{
    padding:38px 0 22px;
}

.home-hero-food h1{
    font-size:clamp(2.2rem,5vw,4.3rem);
    max-width:800px;
}

.home-hero-food .home-intro{
    margin-top:14px;
}

.home-hero-food .home-actions{
    margin-top:20px;
}

.home-hero-food .home-micro{
    margin-top:12px;
}


.home-restaurants-first{
    padding:18px 0 58px;
}

.restaurants-first-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:25px;
    margin-bottom:22px;
}

.restaurants-first-head h2{
    margin:7px 0 7px;
    font-size:clamp(1.8rem,4vw,2.8rem);
    line-height:1.05;
}

.restaurants-first-head p{
    margin:0;
    color:var(--muted);
}


.restaurants-first-grid{
    display:grid;
    grid-template-columns:
        repeat(4,minmax(0,1fr));
    gap:14px;
}


.restaurant-first-card{
    min-width:0;
    border:1px solid var(--line);
    border-radius:18px;
    overflow:hidden;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );
    transition:
        transform .18s ease,
        border-color .18s ease;
}

.restaurant-first-card:hover{
    transform:translateY(-3px);
    border-color:rgba(213,182,111,.55);
}


.restaurant-first-main{
    display:block;
    height:100%;
    color:inherit;
    text-decoration:none;
}


.restaurant-first-logo{
    height:145px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
    background:rgba(255,255,255,.035);
}

.restaurant-first-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.restaurant-first-logo span{
    font-size:3rem;
}


.restaurant-first-info{
    padding:17px;
}


.restaurant-first-status{
    display:inline-flex;
    align-items:center;
    margin-bottom:9px;
    color:#a9e7bd;
    font-size:.72rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.07em;
}

.restaurant-first-status::before{
    content:"";
    width:7px;
    height:7px;
    margin-right:7px;
    border-radius:50%;
    background:currentColor;
}

.restaurant-first-status.is-closed{
    color:#eaa3a3;
}


.restaurant-first-info h3{
    margin:0 0 6px;
    font-size:1.04rem;
    line-height:1.25;
}

.restaurant-first-info p{
    margin:0 0 14px;
    color:var(--muted);
    font-size:.85rem;
    line-height:1.4;
}


.restaurant-first-cta{
    color:var(--gold);
    font-size:.88rem;
    font-weight:900;
}


.restaurants-first-more{
    margin-top:20px;
    display:flex;
    justify-content:center;
}


.home-explore{
    padding-top:45px;
    border-top:1px solid var(--line);
}


@media(max-width:1000px){

    .restaurants-first-grid{
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

}


@media(max-width:760px){

    .restaurants-first-grid{
        display:flex;
        overflow-x:auto;
        gap:12px;
        padding-bottom:12px;
        scroll-snap-type:x mandatory;
        scrollbar-width:none;
    }

    .restaurants-first-grid::-webkit-scrollbar{
        display:none;
    }

    .restaurant-first-card{
        flex:0 0 72%;
        scroll-snap-align:start;
    }

    .restaurant-first-logo{
        height:130px;
    }

}


@media(max-width:520px){

    .home-hero-food{
        padding:28px 0 15px;
    }

    .home-hero-food h1{
        font-size:2.4rem;
    }

    .home-restaurants-first{
        padding-top:10px;
    }

    .restaurant-first-card{
        flex-basis:78%;
    }

}


/* ==========================================================
   DELIVERY_BACALAR_MOBILE_CONVERSION_2026
   ========================================================== */

.home-hero-food{
    padding:32px 0 14px;
}

.home-restaurants-first{
    padding:4px 0 48px;
}

.restaurants-first-head{
    margin-bottom:16px;
}


@media(max-width:760px){

    .home-wrap{
        width:calc(100% - 28px);
    }

    .home-hero-food{
        padding:24px 0 12px;
    }

    .home-hero-food .home-eyebrow{
        margin-bottom:9px;
        font-size:.72rem;
        letter-spacing:.14em;
    }

    .home-hero-food h1{
        margin:0;
        max-width:none;
        font-size:clamp(
            2rem,
            10vw,
            2.75rem
        );
        line-height:1;
        letter-spacing:-.035em;
    }

    .home-hero-food .home-intro{
        margin:10px 0 0;
        font-size:.96rem;
        line-height:1.5;
    }


    .home-restaurants-first{
        padding:12px 0 38px;
    }

    .restaurants-first-head{
        margin-bottom:13px;
    }

    .restaurants-first-head h2{
        margin:0 0 5px;
        font-size:1.32rem;
        line-height:1.12;
    }

    .restaurants-first-head p{
        max-width:300px;
        font-size:.83rem;
        line-height:1.45;
    }


    .restaurants-first-grid{
        gap:10px;
        padding-bottom:8px;
    }

    .restaurant-first-card{
        flex:0 0 68%;
        max-width:220px;
        border-radius:15px;
    }

    .restaurant-first-logo{
        height:92px;
        padding:10px;
    }

    .restaurant-first-info{
        padding:12px;
    }

    .restaurant-first-status{
        margin-bottom:6px;
        font-size:.63rem;
    }

    .restaurant-first-info h3{
        margin-bottom:4px;
        font-size:.92rem;
        line-height:1.2;
    }

    .restaurant-first-info p{
        margin-bottom:9px;
        font-size:.74rem;
        line-height:1.35;

        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .restaurant-first-cta{
        font-size:.78rem;
    }

    .restaurants-first-more{
        margin-top:13px;
    }

    .restaurants-first-more .home-cta-primary{
        width:100%;
        min-height:46px;
        padding:0 16px;
        border-radius:12px;
        font-size:.88rem;
    }

    .home-explore{
        padding-top:34px;
    }

}


@media(max-width:420px){

    .restaurant-first-card{
        flex-basis:66%;
        max-width:205px;
    }

    .restaurant-first-logo{
        height:86px;
    }

}


/* ==========================================================
   DELIVERY_BACALAR_HOME_FINAL_CONVERSION_2026
   ========================================================== */

body{
    background:
        radial-gradient(
            circle at 50% -15%,
            #15181a 0,
            #0b0d0e 38%,
            #070809 100%
        );
}


.home-hero-food{
    padding:34px 0 9px;
}


.home-hero-food h1{
    margin:0;
    max-width:760px;
    font-size:clamp(
        2.5rem,
        5.5vw,
        4.8rem
    );
    line-height:.97;
}


.home-food-search{
    width:min(650px,100%);
    height:54px;

    display:flex;
    align-items:center;

    gap:10px;

    margin-top:22px;

    padding:0 17px;

    border:1px solid
        rgba(255,255,255,.12);

    border-radius:14px;

    background:
        rgba(255,255,255,.055);

    transition:
        border-color .18s ease,
        background .18s ease;
}


.home-food-search:focus-within{
    border-color:
        rgba(213,182,111,.58);

    background:
        rgba(255,255,255,.075);
}


.home-food-search-icon{
    flex:0 0 auto;
    font-size:1rem;
}


.home-food-search input{
    width:100%;

    border:0;
    outline:0;

    background:transparent;

    color:var(--text);

    font:inherit;

    font-size:.96rem;
}


.home-food-search input::placeholder{
    color:
        rgba(245,241,232,.50);
}


.home-restaurants-first{
    padding-top:24px;
}


.restaurants-first-head{
    margin-bottom:15px;
}


.restaurants-first-head h2{
    margin:0;
    font-size:clamp(
        1.45rem,
        3vw,
        2.15rem
    );
}


.restaurant-first-card{
    background:#111516;
    border-color:
        rgba(255,255,255,.09);
}


.restaurant-first-logo{
    background:#181d1e;
}


.restaurant-first-info{
    background:#101415;
}


.restaurants-search-empty{
    margin:16px 0 0;

    padding:16px;

    border:1px solid var(--line);

    border-radius:12px;

    color:var(--muted);

    text-align:center;

    font-size:.9rem;
}


.restaurants-first-more .home-cta-primary{
    background:var(--gold);
    color:#111;
}


.home-explore{
    background:#080a0b;
}


@media(max-width:760px){

    .home-hero-food{
        padding:22px 0 5px;
    }

    .home-hero-food h1{
        font-size:clamp(
            2rem,
            10vw,
            2.65rem
        );
        line-height:.98;
    }

    .home-food-search{
        height:47px;

        margin-top:15px;

        padding:0 13px;

        border-radius:12px;
    }

    .home-food-search input{
        font-size:.87rem;
    }

    .home-restaurants-first{
        padding-top:20px;
    }

    .restaurants-first-head{
        margin-bottom:11px;
    }

    .restaurants-first-head h2{
        font-size:1.22rem;
    }

    .restaurant-first-card{
        flex-basis:63%;
        max-width:195px;
    }

    .restaurant-first-logo{
        height:82px;
        padding:8px;
    }

    .restaurant-first-info{
        padding:10px;
    }

    .restaurants-first-more{
        margin-top:10px;
    }

}


@media(max-width:390px){

    .restaurant-first-card{
        flex-basis:61%;
        max-width:185px;
    }

}
