/*====================================
            HERO
====================================*/

.hero{
    position: relative;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background: url("../img/hero4.jpg") center center/cover no-repeat;
}

/*====================================
            OVERLAY
====================================*/

.overlay{

    position:absolute;
    inset:0;

    background:
    linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.35)
    );

}

/*====================================
        HERO CONTENT
====================================*/

.hero-content{
    position: relative;
    z-index: 2;

    text-align: center;
    color: #fff;

    margin-top: 120px; /* Solo baja el contenido */
}

/*====================================
        SUBTITULO
====================================*/

.subtitle{

    display:block;

    margin-bottom:25px;

    font-family:'Playfair Display',serif;

    font-size:28px;
    font-weight:400;

    letter-spacing:1px;

    opacity:.95;

}

/*====================================
            TITULO
====================================*/

.hero h1{

    color:#fff;

    font-family:'Playfair Display',serif;

    font-size:4.3rem;

    line-height:1.15;

    font-weight:500;

    max-width:900px;

    margin:0 auto 50px;

}


/*====================================
            BOTON
====================================*/

.hero-btn{

    display:inline-flex;

    align-items:center;
    justify-content:center;

    width:180px;
    height:65px;

    border:1px solid rgba(255,255,255,.7);

    border-radius:60px;

    color:#fff;

    font-family:'Inter',sans-serif;

    font-size:14px;
    font-weight:600;

    letter-spacing:3px;
    text-transform:uppercase;

    transition:.4s;

}

.hero-btn:hover{

    background:#fff;
    color:#111;

    transform:translateY(-4px);

}

/*====================================
        EFECTO DE FONDO
====================================*/

.hero::after{

    content:"";

    position:absolute;

    bottom:-120px;
    left:-120px;

    width:500px;
    height:500px;

    background:rgba(166,138,100,.35);

    filter:blur(140px);

    border-radius:50%;

}

/*====================================
        SCROLL INDICATOR
====================================*/

.scroll-indicator{

    position:absolute;

    bottom:45px;
    left:50%;

    transform:translateX(-50%);

    width:90px;
    height:90px;

    border:1px solid rgba(255,255,255,.5);

    border-radius:50px;

    display:flex;
    justify-content:center;
    align-items:center;

    color:#fff;

    font-size:26px;

    z-index:2;

    animation:float 2.5s infinite;

}

/*====================================
        ANIMACIONES
====================================*/

@keyframes float{

    0%{

        transform:translateX(-50%) translateY(0);

    }

    50%{

        transform:translateX(-50%) translateY(12px);

    }

    100%{

        transform:translateX(-50%) translateY(0);

    }

}

/*====================================
        SERVICIOS
====================================*/

.servicios{

    padding:140px 0;

    background:#F8F4EE;

}

.servicios .container{

    width:min(1280px,92%);

    margin:auto;

}



/*====================================
        BLOQUE
====================================*/

.servicio{

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:90px;

    margin-bottom:130px;

}

.servicio:last-child{

    margin-bottom:0;

}



/*====================================
        INVERTIR
====================================*/

.servicio.reverse .servicio-info{

    order:2;

}

.servicio.reverse .servicio-img{

    order:1;

}



/*====================================
        INFORMACIÓN
====================================*/

.servicio-info{

    max-width:560px;

}

.subtitle{

    display:inline-block;

    color:#B58B45;

    font-size:13px;

    letter-spacing:4px;

    text-transform:uppercase;

    font-weight:700;

    margin-bottom:18px;

}

.servicio-info h2{

    font-family:'Playfair Display',serif;

    font-size:68px;

    font-weight:500;

    color:#1F1F1F;

    margin-bottom:30px;

    line-height:1;

}

.servicio-info h3{

    font-family:'Playfair Display',serif;

    font-size:38px;

    color:#2E2E2E;

    font-weight:500;

    margin-bottom:22px;

}

.servicio-info p{

    font-size:17px;

    line-height:1.9;

    color:#6A6A6A;

    margin-bottom:40px;

}



/*====================================
        IMAGEN
====================================*/

.servicio-img{

    position:relative;

    overflow:hidden;

    border-radius:32px;

    height:620px;

    box-shadow:0 30px 70px rgba(0,0,0,.12);

}

.servicio-img img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.8s;

    display:block;

}



/*====================================
        EFECTOS
====================================*/

.servicio:hover .servicio-img img{

    transform:scale(1.08);

}

.servicio-img::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(

        to top,

        rgba(0,0,0,.45),

        rgba(0,0,0,.08),

        transparent

    );

    z-index:1;

}

/*====================================
        LISTA
====================================*/

.servicio-info ul{

    list-style:none;

    padding:0;

    margin:0;

    display:flex;

    flex-direction:column;

    gap:18px;

}

.servicio-info ul li{

    position:relative;

    padding-left:52px;

    color:#444;

    font-size:17px;

    line-height:1.7;

    font-weight:500;

}



/*====================================
        ICONOS
====================================*/

.servicio-info ul li::before{

    content:"✓";

    position:absolute;

    left:0;

    top:2px;

    width:30px;

    height:30px;

    border-radius:50%;

    background:#B58B45;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:14px;

    font-weight:bold;

    box-shadow:0 8px 20px rgba(181,139,69,.30);

}



/*====================================
        LÍNEA DECORATIVA
====================================*/

.servicio-info::after{

    content:"";

    display:block;

    width:110px;

    height:3px;

    margin-top:40px;

    border-radius:50px;

    background:linear-gradient(90deg,#B58B45,#D8BC7A);

}



/*====================================
        TARJETA FLOTANTE
====================================*/

.servicio-img::after{

    content:"HOTEL ABBA";

    position:absolute;

    left:35px;

    bottom:35px;

    padding:14px 24px;

    background:rgba(255,255,255,.93);

    backdrop-filter:blur(12px);

    border-radius:60px;

    color:#B58B45;

    font-size:12px;

    font-weight:700;

    letter-spacing:3px;

    z-index:5;

}



/*====================================
        EFECTOS
====================================*/

.servicio{

    transition:.45s;

}

.servicio:hover{

    transform:translateY(-10px);

}

.servicio:hover .servicio-info h2{

    color:#B58B45;

}

.servicio:hover .servicio-info h3{

    transform:translateX(8px);

}

.servicio-info h3{

    transition:.35s;

}

.servicio:hover .subtitle{

    letter-spacing:6px;

}

.subtitle{

    transition:.35s;

}



/*====================================
        SOMBRA SUAVE
====================================*/

.servicio-img{

    border:1px solid rgba(181,139,69,.12);

}

.servicio-info{

    position:relative;

}

.servicio-info::before{

    content:"";

    position:absolute;

    left:-30px;

    top:0;

    width:2px;

    height:100%;

    background:linear-gradient(

        to bottom,

        transparent,

        rgba(181,139,69,.25),

        transparent

    );

}

/*====================================
        BOTÓN
====================================*/

.servicio-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:190px;

    height:56px;

    margin-top:45px;

    border:2px solid #B58B45;

    border-radius:60px;

    background:transparent;

    color:#B58B45;

    font-size:13px;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

    text-decoration:none;

    transition:.4s;

}

.servicio-btn:hover{

    background:#B58B45;

    color:#fff;

    transform:translateY(-4px);

    box-shadow:0 18px 35px rgba(181,139,69,.28);

}



/*====================================
        DETALLES
====================================*/

.servicio{

    position:relative;

}

.servicio::before{

    content:"";

    position:absolute;

    width:180px;

    height:180px;

    border-radius:50%;

    background:rgba(181,139,69,.05);

    top:-40px;

    right:-50px;

    z-index:-1;

}

.servicio.reverse::before{

    left:-50px;

    right:auto;

}



/*====================================
        IMAGEN
====================================*/

.servicio-img img{

    filter:brightness(.95);

}

.servicio:hover .servicio-img img{

    filter:brightness(1);

}


/*====================================
        RESPONSIVE
====================================*/

/*====================================
        TABLET
====================================*/

@media (max-width:992px){

    /* HERO */

    .hero{
        height:85vh;
    }

    .hero-content{
        margin-top:90px;
        padding:0 30px;
    }

    .hero h1{
        font-size:3.6rem;
        line-height:1.15;
    }

    .hero-btn{
        width:180px;
        height:55px;
    }

    /* SERVICIOS */

    .servicio{
        grid-template-columns:1fr;
        gap:60px;
        margin-bottom:90px;
    }

    .servicio.reverse .servicio-info,
    .servicio.reverse .servicio-img{
        order:initial;
    }

    .servicio-info{
        max-width:100%;
    }

    .servicio-info h2{
        font-size:56px;
    }

    .servicio-info h3{
        font-size:34px;
    }

    .servicio-img{
        height:500px;
    }

    .servicio-info::before{
        display:none;
    }

}

/*====================================
        CELULAR
====================================*/

@media (max-width:768px){

    /* HEADER */

    .top-bar{
        padding:20px;
    }

    .logo{
        font-size:2rem;
    }

    .year,
    .stars,
    .navbar{
        display:none;
    }

    /* HERO */

    .hero{
        height:75vh;
    }

    .hero-content{
        margin-top:70px;
        padding:0 25px;
    }

    .hero h1{
        font-size:2.6rem;
        line-height:1.2;
    }

    .hero-btn{
        width:170px;
        height:52px;
    }

    /* SERVICIOS */

    .servicios{
        padding:80px 20px;
    }

    .servicio{
        grid-template-columns:1fr;
        gap:40px;
        margin-bottom:70px;
    }

    .servicio-info{
        max-width:100%;
    }

    .servicio-info h2{
        font-size:2.2rem;
        line-height:1.2;
    }

    .servicio-info h3{
        font-size:1.8rem;
    }

    .servicio-info p{
        font-size:15px;
        line-height:1.8;
    }

    .servicio-info ul li{
        font-size:15px;
        padding-left:45px;
    }

    .servicio-info ul li::before{
        width:26px;
        height:26px;
        font-size:12px;
    }

    .servicio-info::before{
        display:none;
    }

    .servicio-info::after{
        margin-top:30px;
    }

    .servicio-img{
        height:340px;
        border-radius:20px;
    }

    .servicio-img::after{
        left:20px;
        bottom:20px;
        padding:10px 18px;
        font-size:11px;
        letter-spacing:2px;
    }

    .servicio::before{
        display:none;
    }

    .servicio-btn{
        width:180px;
        height:52px;
        margin-top:35px;
        font-size:12px;
    }

}
