/* ==================================================
   San Francisco Cancun v3
   style.css completo
   Reemplaza totalmente el style.css anterior
================================================== */

:root{
    --primary:#c9a646;
    --primary-dark:#9f7f2f;
    --dark:#111111;
    --text:#252525;
    --muted:#666666;
    --light:#ffffff;
    --soft:#f7f5f0;
    --shadow:0 20px 50px rgba(0,0,0,.12);
    --shadow-soft:0 12px 30px rgba(0,0,0,.08);
    --radius:18px;
    --radius-sm:12px;
    --transition:.32s ease;
    --container:min(1180px,92vw);
}

*,*::before,*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{scroll-behavior:smooth;}

body{
    font-family:Arial,Helvetica,sans-serif;
    color:var(--text);
    background:#fff;
    line-height:1.6;
    overflow-x:hidden;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

a{
    color:inherit;
    text-decoration:none;
}

button{font:inherit;}

.container{
    width:var(--container);
    margin-inline:auto;
}

.section{
    padding:100px 0;
}

.section-heading{
    max-width:760px;
    margin:0 auto 46px;
    text-align:center;
}

.section-label{
    display:inline-block;
    margin-bottom:14px;
    color:var(--primary-dark);
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.16em;
    text-transform:uppercase;
}

h1,h2,h3{
    line-height:1.15;
    font-weight:800;
    color:var(--dark);
}

h1{
    font-size:clamp(2.8rem,7vw,5.8rem);
    letter-spacing:-.04em;
}

h2{
    font-size:clamp(2rem,4vw,3.4rem);
    letter-spacing:-.03em;
}

h3{font-size:1.25rem;}

p{
    color:var(--muted);
    margin:16px 0;
}

.lead{
    font-size:1.15rem;
    color:#4b4b4b;
}

.text-center{text-align:center;}
.mt-1{margin-top:1rem;}
.mt-2{margin-top:2rem;}
.mt-3{margin-top:3rem;}
.mb-1{margin-bottom:1rem;}
.mb-2{margin-bottom:2rem;}
.mb-3{margin-bottom:3rem;}
.rounded{border-radius:var(--radius);}
.shadow{box-shadow:var(--shadow);}

.btn-book,
.btn-primary,
.btn-secondary,
.card-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:13px 25px;
    border-radius:999px;
    font-weight:800;
    letter-spacing:.02em;
    transition:var(--transition);
    cursor:pointer;
    border:none;
    white-space:nowrap;
}

.btn-book,
.btn-primary,
.card-button{
    background:var(--primary);
    color:#fff;
    box-shadow:0 10px 28px rgba(201,166,70,.28);
}

.btn-book:hover,
.btn-primary:hover,
.card-button:hover{
    background:var(--primary-dark);
    transform:translateY(-2px);
}

.btn-secondary{
    color:#fff;
    border:1px solid rgba(255,255,255,.75);
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(8px);
}

.btn-secondary:hover{
    background:#fff;
    color:#111;
}

/* Header */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:84px;
    padding:0 5vw;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    z-index:1000;
    background:rgba(0,0,0,.24);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(255,255,255,.10);
    transition:var(--transition);
}

.header.scrolled{
    height:76px;
    background:rgba(17,17,17,.96);
    box-shadow:0 12px 35px rgba(0,0,0,.22);
}

.logo{
    display:flex;
    align-items:center;
    flex:0 0 auto;
}

.logo img{
    width:auto;
    height:auto;
    max-width:126px;
    max-height:60px;
    object-fit:contain;
}

.menu{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:26px;
    flex:1 1 auto;
}

.menu a{
    color:#fff;
    font-size:.94rem;
    font-weight:700;
    opacity:.92;
    transition:var(--transition);
}

.menu a:hover{
    color:var(--primary);
    opacity:1;
}

.header .btn-book{
    flex:0 0 auto;
    padding:11px 22px;
    font-size:.9rem;
}

.menu-toggle{
    display:none;
    width:44px;
    height:44px;
    border:0;
    background:transparent;
    cursor:pointer;
    flex:0 0 auto;
    z-index:1002;
}

.menu-toggle span{
    display:block;
    width:28px;
    height:2px;
    margin:6px auto;
    background:#fff;
    border-radius:20px;
    transition:var(--transition);
}

/* Hero */

.hero{
    position:relative;

    min-height:100vh;
    min-height:100svh;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;

    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;

    opacity:1;

    transition:
        opacity .8s ease,
        background-image 1.8s ease;

    animation:heroZoom 18s ease-in-out infinite alternate;

    isolation:isolate;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(rgba(0,0,0,.14),rgba(0,0,0,.26));
}

.overlay{
    width:min(900px,92vw);
    padding:120px 0 60px;
    text-align:center;
    color:#fff;
}

.overlay h1{
    color:#fff;
    text-shadow:0 8px 30px rgba(0,0,0,.25);
}

.overlay p{
    max-width:680px;
    margin:24px auto 32px;
    color:rgba(255,255,255,.92);
    font-size:clamp(1rem,2vw,1.25rem);
}

.hero-buttons{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
}

/* Welcome */

.welcome-section{background:#fff;}

.welcome-grid,
#welcome .container{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:64px;
    align-items:center;
}

.welcome-text{max-width:620px;}

.welcome-image img{
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
}

/* Why */

.why-section{background:var(--soft);}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.feature-card{
    min-height:210px;
    padding:30px;
    background:#fff;
    border:1px solid rgba(0,0,0,.06);
    border-radius:var(--radius);
    box-shadow:var(--shadow-soft);
    transition:var(--transition);
}

.feature-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow);
}

.feature-card h3{margin-bottom:12px;}

/* Apartments */

.apartments-section,
#apartments{
    background:#fff;
}

.apartment-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:30px;
    margin-top:44px;
}

.apartment-card{
    overflow:hidden;
    background:#fff;
    border-radius:var(--radius);
    border:1px solid rgba(0,0,0,.06);
    box-shadow:var(--shadow-soft);
    transition:var(--transition);
}

.apartment-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow);
}

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

.apartment-content{
    padding:30px;
}

.apartment-info{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:16px 0 18px;
}

.apartment-info span{
    display:inline-flex;
    align-items:center;
    padding:7px 11px;
    border-radius:999px;
    background:var(--soft);
    color:#4a4a4a;
    font-size:.86rem;
    font-weight:700;
}

.card-button{margin-top:6px;}

/* Optional amenities */

.amenities-section{background:var(--soft);}

.amenity-list{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

.amenity{
    background:#fff;
    border-radius:var(--radius-sm);
    padding:26px;
    border:1px solid rgba(0,0,0,.06);
}

.amenity-photo-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:26px;
}

.amenity-photo-card{
    overflow:hidden;
    border-radius:var(--radius);
    background:#fff;
    box-shadow:var(--shadow-soft);
}

.amenity-photo-card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.amenity-photo-card div{padding:24px;}

/* Gallery */

.gallery-section,
#gallery{
    background:var(--soft);
}

.gallery{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    margin-top:34px;
}

.gallery img{
    width:100%;
    height:285px;
    object-fit:cover;
    border-radius:var(--radius-sm);
    cursor:pointer;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:var(--transition);
}

.gallery img:hover{
    transform:scale(1.025);
    filter:brightness(1.06);
    box-shadow:var(--shadow);
}

/* Reviews */

.reviews-section{background:#fff;}

.reviews-section .feature-card p:nth-of-type(1){
    color:var(--primary-dark);
    letter-spacing:.12em;
    font-weight:800;
}

/* Location */

.location-section{background:var(--soft);}

.map-card{
    overflow:hidden;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    border:1px solid rgba(0,0,0,.06);
    background:#fff;
}

.map-card iframe{display:block;}

/* CTA */

.final-cta{
    position:relative;
    background:
        linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.65)),
        url("../images/ATARDECER.JPEG") center/cover no-repeat;
    color:#fff;
}

.final-cta h2{color:#fff;}
.final-cta p{color:rgba(255,255,255,.86);}
.final-cta .section-label{color:var(--primary);}

/* Footer */

footer{
    background:#101010;
    color:#fff;
    padding:76px 5vw 32px;
}

.footer-grid{
    width:var(--container);
    margin-inline:auto;
    display:grid;
    grid-template-columns:1.6fr 1fr 1fr;
    gap:52px;
}

footer h3{
    color:#fff;
    margin-bottom:14px;
}

footer p{color:rgba(255,255,255,.72);}

footer a{
    display:block;
    margin:10px 0;
    color:rgba(255,255,255,.76);
    transition:var(--transition);
}

footer a:hover{color:var(--primary);}

.copyright{
    width:var(--container);
    margin:46px auto 0;
    padding-top:24px;
    border-top:1px solid rgba(255,255,255,.12);
    color:rgba(255,255,255,.55);
    text-align:center;
    font-size:.9rem;
}

/* Floating */

.whatsapp{
    position:fixed;
    right:22px;
    bottom:22px;
    width:60px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#25D366;
    box-shadow:0 14px 34px rgba(0,0,0,.25);
    z-index:999;
    transition:var(--transition);
}

.whatsapp:hover{
    transform:translateY(-4px) scale(1.04);
}

.back-top{
    position:fixed;
    left:22px;
    bottom:22px;
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    font-weight:800;
    box-shadow:0 14px 34px rgba(0,0,0,.22);
    opacity:0;
    visibility:hidden;
    z-index:998;
    transition:var(--transition);
}

.back-top.show{
    opacity:1;
    visibility:visible;
}

/* Reveal */

.reveal{
    opacity:0;
    transform:translateY(34px);
    transition:opacity .75s ease, transform .75s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* Desktop large */

@media(min-width:1500px){
    :root{--container:min(1320px,88vw);}
    .gallery img{height:330px;}
    .apartment-card img{height:360px;}
}

/* Tablet */

@media(max-width:1100px){
    .menu{gap:18px;}
    .menu a{font-size:.88rem;}
    .feature-grid{grid-template-columns:repeat(2,1fr);}
    .amenity-list{grid-template-columns:repeat(2,1fr);}
    .gallery{grid-template-columns:repeat(2,1fr);}
}

/* Mobile header */

@media(max-width:900px){

    .header{
        height:74px;
        padding:0 16px;
        gap:10px;
        flex-direction:row;
    }

    .header.scrolled{height:74px;}

    .logo img{
        max-width:96px;
        max-height:48px;
    }

    .menu-toggle{
        display:block;
        order:3;
    }

    .header .btn-book{
        order:2;
        margin-left:auto;
        margin-right:8px;
        width:auto;
        min-height:40px;
        padding:9px 15px;
        font-size:.78rem;
    }

    .menu{
        position:absolute;
        top:74px;
        left:0;
        width:100%;
        display:none;
        flex-direction:column;
        align-items:center;
        justify-content:flex-start;
        gap:0;
        background:rgba(17,17,17,.98);
        border-top:1px solid rgba(255,255,255,.08);
        padding:16px 20px 22px;
        box-shadow:0 18px 36px rgba(0,0,0,.22);
    }

    .menu.mobile-open{display:flex;}

    .menu a{
        width:100%;
        padding:14px 0;
        text-align:center;
        border-bottom:1px solid rgba(255,255,255,.08);
        font-size:1rem;
    }

    .menu a:last-child{border-bottom:none;}

    .welcome-grid,
    #welcome .container{
        grid-template-columns:1fr;
        gap:34px;
    }

    .welcome-image{order:-1;}

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

    .footer-grid{
        grid-template-columns:1fr;
        gap:34px;
    }
}

/* Small mobile */

@media(max-width:600px){

    .section{padding:74px 0;}
    .container{width:90vw;}

    h1{font-size:2.45rem;}
    h2{font-size:2rem;}

    .overlay{padding-top:95px;}

    .overlay p{
        font-size:1rem;
        margin-bottom:24px;
    }

    .hero-buttons{
        flex-direction:column;
        width:100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary{
        width:100%;
    }

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

    .header .btn-book{
        width:auto;
        padding:8px 13px;
        font-size:.72rem;
    }

    .logo img{
        max-width:82px;
        max-height:42px;
    }

    .feature-grid,
    .amenity-list,
    .amenity-photo-grid,
    .gallery{
        grid-template-columns:1fr;
    }

    .feature-card{
        min-height:auto;
        padding:24px;
    }

    .apartment-card img{height:250px;}

    .apartment-content{padding:24px;}

    .gallery img{height:250px;}

    .map-card iframe{height:360px;}

    footer{padding-top:58px;}

    .whatsapp{
        right:16px;
        bottom:16px;
        width:56px;
        height:56px;
    }

    .back-top{
        left:16px;
        bottom:16px;
        width:48px;
        height:48px;
    }
}

@media(max-width:390px){

    .header .btn-book{
        padding:7px 10px;
        font-size:.68rem;
    }

    .logo img{max-width:76px;}

    .menu-toggle{width:38px;}

    .menu-toggle span{width:24px;}
}
/* ==========================
LANGUAGE SWITCH
========================== */

.language-switch{

    display:flex;
    align-items:center;
    gap:8px;
    margin-right:18px;

}

.language-switch a{

    color:#ffffff;
    font-weight:700;
    font-size:.9rem;
    opacity:.75;
    transition:.3s;

}

.language-switch a:hover{

    opacity:1;
    color:var(--primary);

}

.language-switch a.active{

    opacity:1;
    color:var(--primary);

}

.language-switch span{

    color:rgba(255,255,255,.45);

}
/* ==========================
   HERO FADE SLIDER
========================== */

.hero{
    overflow:hidden;
}

.hero-slide{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    opacity:0;
    transform:scale(1.04);
    transition:
        opacity 1.4s ease,
        transform 6s ease;
    z-index:-2;
}

.hero-slide.active{
    opacity:1;
    transform:scale(1);
}
<meta name="robots" content="index,follow">

<meta name="author" content="San Francisco Cancun">
