/* Importa la fuente Montserrat desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

/* ============================================ */
/* NAVBAR                                       */
/* ============================================ */
.navbar {
    background: #232329;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container{
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo {
    background-image: linear-gradient(to top, #dddddd 0%, rgba(49, 49, 49, 0.067) 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 2px;
    font-weight: 700;
}

.fa-gem {
    margin-right: 0.5px;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item{
    height: 80px;
}

.navbar__links {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0rem 1rem;
    height: 100%;
}

.navbar__btn{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    border: none;
    outline: none;
    border-radius: 30px;
    background: #696969;
    color: #ffffff;
}

.button:hover{
    background: #ffffff;
    color: #161d3f;
    transition: all 0.3s ease;
}

.navbar__links:hover{
    color: #616161;
    transition: all 0.3s ease;
}

/* Navbar responsive */
@media screen and (max-width: 960px) {
    .navbar__container{
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        height: 50vh;
        position: absolute;
        top: -500px;
        opacity: 0;
        transition: all 0.5s ease;
        z-index: -1;
        background: #242222;
    }

    .navbar__menu.active {
        background: #242222;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 80vh;
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar{
        width: 25px;
        height: 3px;
        background: #fff;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
    }

    .navbar__item{
        width: 100%;
    }

    .navbar__links{
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu{
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__btn{
        padding-bottom: 2rem;
    }

    .button{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
        border-radius: 60px;
    }

    .navbar__toggle .bar{
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2){
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ============================================ */
/* HERO PRINCIPAL - DESKTOP                     */
/* ============================================ */
.main {
    background-color: #f1f1ff;
    width: 100%;
    overflow: hidden;
}

.main__container {
    display: grid;
    grid-template-columns: 1fr 3.5fr;     /* Sin cambio */
    align-items: center;
    margin: 0 auto;
    height: 90vh;
    background-color: #f1f1ff;
    z-index: 1;
    width: 100%;
    max-width: 1600px;
    padding-left: 15px;                   /* ⬅️ ANTES: 110px → AHORA: 60px (-50px) */
    padding-right: 0;
    gap: 28px;
    position: relative;
}
.main__content h1,
.main__content h2 {
    font-size: 1.7rem;
    background-color: #01001a;
    background-image: linear-gradient(to top, #8b8b8b 0%, #000 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1.3;
}

.main__content p {
    font-size: 1.1rem;
    line-height: 1.5;
    background-color: #000000;
    background-image: linear-gradient(to top, #3b3b3b 0%, rgba(0, 0, 0, 0.067) 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.main__btn{
    font-size: 1.1rem;
    background-image: linear-gradient(to top, #3b3b3b 0%, #000000 100%);
    padding: 14px 35px;
    border: none;
    border-radius: 30px;
    color: #ffffff;
    margin-top: 1.5rem;
    cursor: pointer;
    position: relative;
    transition: all 0.35s ease;
    outline: none;
}

.main__btn a {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-decoration: none;
}

.main__btn:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #000000;
    z-index: 1;
    transition: all 0.35s ease;
    border-radius: 30px;
}

.main__btn:hover{
    color: #161d3f;
}

.main__btn:hover:after{
    width: 100%;
}

.main__img--container {
    display: flex;
    justify-content: flex-end;
    align-items: center;                  /* ⬅️ ANTES: stretch → AHORA: center */
    height: 100%;
    width: 100%;
    margin: 0;
    overflow: hidden;
    position: relative;
}



.main__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ============================================ */
/* HERO RESPONSIVE - TABLET Y MÓVIL             */
/* ============================================ */
@media screen and (max-width: 768px) {
    .main__container{
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        justify-self: center;
        margin: 0 auto;
        height: 90vh;
        width: 100%;
        padding-left: 0;
        gap: 0;
    }

    .main__content{
        text-align: center;
        margin-bottom: 4rem;
        padding: 0 1rem;
    }

    .main__content h1{
        font-size: 2.1rem;
        margin-top: 2rem;
    }

    .main__content h2{
        font-size: 2.1rem;
    }

    .main__content p{
        margin-top: 1rem;
        font-size: 1.2rem;
    }

    .main__btn{
        font-size: 1.2rem;
        padding: 14px 35px;
    }
}

@media screen and (max-width: 480px) {
    .main__content h1,
    .main__content h2 {
        font-size: 1.5rem;
        margin: 1rem 0;
    }

    .main__content p {
        margin: 0.5rem 0;
        font-size: 0.9rem;
    }

    .main__btn {
        padding: 10px 24px;
        margin: 0.8rem 0;
    }
}

/* ============================================ */
/* CARRUSEL DE IMÁGENES DEL HERO                */
/* ============================================ */
.main__slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f1f1ff;
}

.main__slider .main__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.main__slider .main__img.active {
    opacity: 1;
}

/* ============================================ */
/* IMAGEN HASTA EL BORDE DE LA PANTALLA         */
/* ============================================ */
.main__img--container {
    margin-right: calc(-1 * (100vw - 100%) / 2);
    width: calc(100% + ((100vw - 100%) / 2));
}