/*======================================
        RIMONT SPA
        estilos.css
======================================*/

/*========== VARIABLES ==========*/

:root{

    --rojo:#E30613;
    --rojoOscuro:#b30010;
    --negro:#111111;
    --gris:#f5f5f5;
    --grisOscuro:#555;
    --blanco:#ffffff;
    --sombra:0 10px 30px rgba(0,0,0,.15);
    --radio:12px;
    --transicion:.35s;

}

/*========== RESET ==========*/

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:var(--gris);
    color:#222;
    overflow-x:hidden;

}

img{

    width:100%;
    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

/*========== SCROLL ==========*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:var(--rojo);

}

::-webkit-scrollbar-track{

    background:#ddd;

}

/*========== TITULOS ==========*/

.titulo{

    text-align:center;
    margin-bottom:60px;

}

.titulo span{

    color:var(--rojo);
    font-weight:700;
    letter-spacing:2px;
    font-size:15px;

}

.titulo h2{

    font-size:45px;
    margin-top:10px;
    color:var(--negro);

}

/*======================================
            HEADER
======================================*/

header{

    position:fixed;
    top:0;
    left:0;
    width:100%;

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

    padding:15px 8%;

    background:rgba(17,17,17,.92);

    backdrop-filter:blur(10px);

    z-index:1000;

    transition:.4s;

}

.logo img{

    width:180px;

}

nav{

    display:flex;
    align-items:center;
    gap:35px;

}

nav a{

    color:white;
    font-weight:600;
    transition:var(--transicion);

}

nav a:hover{

    color:var(--rojo);

}

.menu{

    display:none;
    color:white;
    font-size:28px;
    cursor:pointer;

}

/*======================================
            HERO
======================================*/

.hero{

    width:100%;
    height:100vh;

    background:

            linear-gradient(rgba(0,0,0,.70),
            rgba(0,0,0,.70)),

            url("img/portada.jpg");

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

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

    text-align:center;

    padding:0 10%;

}

.hero-contenido{

    max-width:850px;

}

.hero h1{

    color:var(--rojo);

    font-size:90px;

    font-weight:800;

    letter-spacing:2px;

}

.hero h2{

    color:white;

    font-size:45px;

    margin-top:10px;

    font-weight:500;

}

.hero p{

    color:white;

    margin-top:30px;

    font-size:20px;

    line-height:35px;

}

/*======================================
            BOTONES
======================================*/

.botones{

    margin-top:45px;

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.btn{

    padding:16px 38px;

    border-radius:50px;

    font-size:17px;

    font-weight:600;

    transition:var(--transicion);

}

.rojo{

    background:var(--rojo);

    color:white;

}

.rojo:hover{

    background:var(--rojoOscuro);

    transform:translateY(-5px);

}

.negro{

    background:white;

    color:var(--negro);

}

.negro:hover{

    background:#ddd;

    transform:translateY(-5px);

}

/*======================================
        SECCIONES
======================================*/

section{

    padding:100px 8%;

}

/*======================================
    EFECTOS GENERALES
======================================*/

.servicio,
.imagen img,
button,
.btn{

    transition:.35s;

}

button{

    cursor:pointer;

    border:none;

}

input,
textarea,
select{

    font-family:'Poppins',sans-serif;

}

input:focus,
textarea:focus,
select:focus{

    outline:none;

    border:2px solid var(--rojo);

}

/*======================================
    SOMBRAS
======================================*/

.servicio,
form,
.datos-contacto div{

    box-shadow:var(--sombra);

}
/*======================================
            NOSOTROS
======================================*/

.nosotros{

    background:white;

}

.contenido-nosotros{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.imagen{

    overflow:hidden;

    border-radius:15px;

    box-shadow:0 15px 35px rgba(0,0,0,.20);

}

.imagen img{

    height:500px;

    object-fit:cover;

}

.imagen:hover img{

    transform:scale(1.08);

}

.texto p{

    font-size:18px;

    line-height:34px;

    color:#444;

    margin-bottom:25px;

}

.datos{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

    margin-top:35px;

}

.datos div{

    background:var(--rojo);

    color:white;

    text-align:center;

    padding:25px;

    border-radius:10px;

    transition:.35s;

}

.datos div:hover{

    transform:translateY(-8px);

    background:var(--negro);

}

.datos h3{

    font-size:20px;

}


/*======================================
            SERVICIOS
======================================*/

.servicios{

    background:var(--gris);

}

.contenedor-servicios{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.servicio{

    background:white;

    padding:40px 30px;

    border-radius:15px;

    text-align:center;

    border-top:5px solid var(--rojo);

}

.servicio:hover{

    transform:translateY(-12px);

}

.servicio i{

    font-size:55px;

    color:var(--rojo);

    margin-bottom:25px;

}

.servicio h3{

    margin-bottom:18px;

    font-size:25px;

    color:var(--negro);

}

.servicio p{

    color:#666;

    line-height:30px;

    font-size:17px;

}


/*======================================
            GALERÍA
======================================*/

.galeria{

    background:white;

}

.imagenes{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}

.imagenes img{

    height:320px;

    object-fit:cover;

    border-radius:15px;

    cursor:pointer;

    transition:.45s;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

.imagenes img:hover{

    transform:scale(1.05);

    box-shadow:0 20px 40px rgba(0,0,0,.25);

}


/*======================================
        ESTADÍSTICAS
======================================*/

.estadisticas{

    background:

            linear-gradient(rgba(0,0,0,.80),

            rgba(0,0,0,.80)),

            url("img/portada.jpg");

    background-size:cover;

    background-position:center;

    background-attachment:fixed;

    padding:80px 8%;

}

.contenedor-estadisticas{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.numero{

    text-align:center;

    color:white;

}

.numero h2{

    font-size:60px;

    color:var(--rojo);

}

.numero p{

    margin-top:10px;

    font-size:18px;

    letter-spacing:1px;

}


/*======================================
        POR QUÉ ELEGIRNOS
======================================*/

.elegirnos{

    background:#f8f8f8;

}

.contenedor-elegir{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.item{

    background:white;

    padding:35px;

    border-radius:15px;

    text-align:center;

    transition:.35s;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

}

.item:hover{

    transform:translateY(-10px);

}

.item i{

    font-size:45px;

    color:var(--rojo);

    margin-bottom:20px;

}

.item h3{

    margin-bottom:15px;

    color:var(--negro);

}

.item p{

    color:#666;

    line-height:28px;

}
/*======================================
            CITAS
======================================*/

.citas{

    background:#111;
    color:white;

}

.citas .titulo h2{

    color:white;

}

form{

    max-width:900px;
    margin:auto;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}

form input,
form select,
form textarea{

    padding:16px;

    border:none;

    border-radius:10px;

    font-size:16px;

}

form textarea{

    grid-column:1/3;

    resize:none;

    height:170px;

}

form button{

    grid-column:1/3;

    background:var(--rojo);

    color:white;

    padding:18px;

    font-size:18px;

    border-radius:10px;

    transition:.35s;

}

form button:hover{

    background:var(--rojoOscuro);

    transform:translateY(-5px);

}

/*======================================
            CONTACTO
======================================*/

.contacto{

    background:white;

}

.datos-contacto{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.datos-contacto div{

    background:white;

    border-radius:15px;

    text-align:center;

    padding:40px 25px;

    transition:.35s;

}

.datos-contacto div:hover{

    transform:translateY(-10px);

}

.datos-contacto i{

    font-size:50px;

    color:var(--rojo);

    margin-bottom:20px;

}

.datos-contacto h3{

    margin-bottom:15px;

    font-size:24px;

}

.datos-contacto p{

    color:#666;

    line-height:30px;

}

/*======================================
            FOOTER
======================================*/

footer{

    background:#111;

    color:white;

    text-align:center;

    padding:60px 20px;

}

footer img{

    width:180px;

    margin:auto;

    margin-bottom:20px;

}

footer h2{

    color:var(--rojo);

    margin-bottom:10px;

}

footer p{

    margin-top:10px;

    color:#ddd;

}

/*======================================
        BOTÓN WHATSAPP
======================================*/

.whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;

    width:70px;

    height:70px;

    background:#25D366;

    color:white;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:36px;

    box-shadow:0 10px 25px rgba(0,0,0,.3);

    z-index:999;

    transition:.35s;

}

.whatsapp:hover{

    transform:scale(1.12);

}

/*======================================
        BOTÓN SUBIR
======================================*/

.subir{

    position:fixed;

    left:25px;

    bottom:25px;

    width:60px;

    height:60px;

    background:var(--rojo);

    color:white;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

    transition:.35s;

    z-index:999;

}

.subir:hover{

    background:var(--negro);

}

/*======================================
            RESPONSIVE
======================================*/

@media(max-width:1100px){

    .contenido-nosotros{

        grid-template-columns:1fr;

    }

    .imagenes{

        grid-template-columns:repeat(2,1fr);

    }

    .datos-contacto{

        grid-template-columns:1fr;

    }

    .contenedor-estadisticas{

        grid-template-columns:repeat(2,1fr);

    }

    .contenedor-elegir{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:850px){

    header{

        padding:15px 5%;

    }

    nav{

        display:none;

    }

    .menu{

        display:block;

    }

    .hero h1{

        font-size:60px;

    }

    .hero h2{

        font-size:30px;

    }

    .hero p{

        font-size:17px;

        line-height:30px;

    }

    .titulo h2{

        font-size:35px;

    }

    .imagen img{

        height:350px;

    }

    .datos{

        grid-template-columns:1fr;

    }

    .imagenes{

        grid-template-columns:1fr;

    }

    form{

        grid-template-columns:1fr;

    }

    form textarea{

        grid-column:1;

    }

    form button{

        grid-column:1;

    }

}

@media(max-width:500px){

    .hero{

        padding:0 6%;

    }

    .hero h1{

        font-size:45px;

    }

    .hero h2{

        font-size:24px;

    }

    .hero p{

        font-size:15px;

    }

    .logo img{

        width:140px;

    }

    .whatsapp{

        width:60px;

        height:60px;

        font-size:30px;

    }

    .subir{

        width:55px;

        height:55px;

    }

    section{

        padding:80px 6%;

    }

}
/*=========================
LIGHTBOX
=========================*/

#lightbox{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.95);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

#lightbox img{

    max-width:90%;

    max-height:90%;

    border-radius:15px;

}

#cerrar{

    position:absolute;

    top:30px;

    right:40px;

    font-size:60px;

    color:white;

    cursor:pointer;

}

/*=========================
PRELOADER
=========================*/

#loader{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:#111;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:999999;

    transition:.5s;

}

.loader-logo img{

    width:250px;

    animation:girar 2s infinite;

}

@keyframes girar{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.1);

    }

    100%{

        transform:scale(1);

    }

}

/*=========================
MENU ACTIVO
=========================*/

nav a.activo{

    color:#E30613;

}