html, body{
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.hero-static{
    min-height: 100vh;
    background: linear-gradient(
        90deg,
        #f6f1ea 0%,
        #ffffff 60%
    );
    padding: 80px 5%;
}

.hero-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.hero-text{
    max-width: 520px;
    margin-top: 10px;
}

.hero-text h1{
    font-size: 3rem;
    color: #f59300;
    line-height: 1.1;
}

.hero-text h1 span{
    color: #0f5f3d;
}

.hero-text p{
    margin: 20px 0;
    font-size: 1.05rem;
    color: #444;
}

.hero-image img{
    max-width: 400px;
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}
.gallery{
    position: relative;
    margin-top: -40px; /* 👈 baja toda la sección */
}
.gallery-header{
    text-align: center;
    margin: 0; /* 👈 importante */
}

.gallery-header img{
    width: 170px;        /* 🔥 más chico */
    max-width: 80%;
    height: auto;
    transform: translateY(50px); /* 🔥 menos empuje */
}
.gallery-desktop{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1230px;
    margin: 80px auto;
    padding: 0 5%;
}

.carousel{
    height: 600px;              /* 👈 controla aquí el tamaño */
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    background: #000;
    transform: translateY(-20px);
}

.gallery-mobile{
    display: none;
    height: 420px;
    margin: 40px 5%;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}
.swiper{
    width: 100%;
    height: 100%;
}

.swiper-wrapper{
    width: 100%;
    height: 100%;
}

.swiper-slide{
    width: 100%;
    height: 100%;
}

.swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.decor-persona{
    position: absolute;
    top: 300px;
    height: 320px;        /* 🔒 tamaño único */
    width: auto;
    z-index: 10;
    pointer-events: none;
}

/* IZQUIERDA */
.decor-left{
    left: 10px;
}


@media (max-width: 768px){

    .hero-content{
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text h1{
        font-size: 2.2rem;
    }

    .hero-image img{
        max-width: 270px;
    }

    .gallery-desktop{
        display: none;
    }

    .gallery-mobile{
        margin-top: 90px;
        height: 500px;
        display: block;
    }
    .decor-persona{
        display: none;
    }
}
