* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lato", serif;
    scroll-behavior: smooth;
    color: white;
}

img {
    width: 50%;
}

p {
    
    font-weight: 300;

}

h1 {
    font-weight: 700;
    font-size: 24px;
    padding-bottom: 5%;
}

h3 {
    padding-top: 5%;
}

header {
    position: relative;
    width: 100%;
    height: 20vh;
    background-image: linear-gradient(to top, #101623, rgba(16, 22, 35, 0)); /* Degradado */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

header > div {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

header > div > img {
    position: relative;
    object-fit: cover;
    width: 100%;
}

header > a {
    display: flex;
    justify-content: center;
    z-index: 2;
}

#logo {
    width: 30%;
}

/**/

/* Sección Hero */
#hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 2%;
    background-color: #131620;
}

.hero-container {
    display: flex;
    flex-direction: row;
    width: 95%;
    max-width: 1800px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    height: auto;
}

/* Carrusel de imágenes */
.hero-slider {
    flex: 2;
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Texto */
.hero-text {
    flex: 1;
    width: 50%;
    padding: 40px;
    color: white;
    text-align: left;
    overflow-y: auto;
    max-height: 700px;
}

.hero-text h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 15px;
}

/* RESPONSIVE */
@media (max-width: 800px) {
    .hero-container {
        flex-direction: column;
    }

    .hero-slider {
        width: 100%;
        height: 300px;
    }

    .hero-text {
        width: 100%;
        max-height: none;
        text-align: center;
    }
}


/**/

h2 {
    padding: 2% 0;
}

section {
    width: 100%;
    height: 100%;
    padding: 5% 14%;
    text-align: left;
    background-color: #101623;
    color: white;
    display: flex;
}

section > div {
    display: flex;
}

#Entradilla {
    flex-direction: column;
    /* padding: 5% 30%; */
}

#Entradilla p {
    padding-right: 15%;
}

#Entradilla, #Voces, #Legado p {
    font-size: 25px;
}

#Entradilla-vieja {
    flex-direction: column;
    justify-content: center;
}

#Voces > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#Voces > div > div {
    padding-left: 10%;
}

#Banner {
    justify-content: center;
    align-items: center;
    background-color: #101e6b;
}

#Banner h1 {
    font-size: 100px;
}

#Banner > div {
    flex-direction: column;
    padding: 0% 5%;
}

#Banner > div > ul > li {
    padding: 2% 0%;
}

#Banner > div > ul > li > p {
    font-weight: 300;
    font-size: 22px;
}

#Legado {
    background-color: #101623;
    flex-direction: column;
}


#Contacto {
    width: 100%;
    height: 100%;
    padding: 8% 2% 2% 2%;
    background-color: #101623;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#Contacto > a {
    background-color: #101e6b;
    border-radius: 6px;
    padding: 2% 6%;
    text-decoration: none;
    color: black;
}

#Contacto > a:hover {
    background-color: #0080FE;
    transition: ease-in-out .3s;
}

#slider {
    padding: 0% 14%;
}

/*CARRUSEL*/

.card-list .card-item {
    color: #fff;
    width: 100%;
    max-width: 400px;
    height: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    backdrop-filter: blur(30px);
    background-color: #1b1f30;
    text-align: center;
    box-sizing: border-box;
}

.card-list .card-item .user-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
}

.card-list .card-item .user-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
    max-height: 84px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-list .card-item .user-profession {
    font-size: 1rem;
    color: #e3e3e3;
    font-weight: 500;
    margin: 0 10px 20px;
    text-align:center;
    line-height: 1.4;
    flex-grow: 1;
    max-height: 64px;
    overflow: hidden;
}

/* Swiper */
.slider-wrapper {
    overflow: hidden;
    max-width: 1500px;
    margin: 0 55px 55px;
}

.slider-wrapper .swiper-pagination-bullet {
    background: #fff;
    height: 10px;
    width: 10px;
}

.slider-wrapper .swiper-slide-button {
    color: #fff;
    margin-top: -50px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .card-list .card-item {
        max-width: 350px;  
    }
}

@media (max-width: 800px) {
    .card-list .card-item {
        max-width: 90%; 
    }
}

@media (max-width: 600px) {
    .card-list .card-item {
        max-width: 100%; 
    }
}


/*CARRUSEL*/

.carousel-container {
    overflow: hidden;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    position: relative;

    /* Gradiente en los bordes */
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0));
}

.carousel-track {
    display: flex;
    transition: none;
}

.carousel-item {
    flex: 0 0 auto;
    width: 150px;
    text-align: center;
    margin: 0 10px;
}

.carousel-item img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.carousel-item h3 {
    font-size: 1rem;
    color: white;
}

/* Estilos para el footer */
footer {
    width: 100%;
    background-color: #101623;
    padding: 0px 10% 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    width: 20%;
    height: auto;
}

.footer-text {
    font-size: 1.2rem;
    color: white;
    text-align: right;
    margin: 0;
}

@media (max-width: 2200px) {
    #logo {
        width: 35%;
    }
}

@media (max-width: 1750px) {

    #logo {
        width: 35%;
    }
    
    #Banner {
        padding: 6% 10%;
    }
}

@media (max-width: 1550px) {

    .hero-text {
        max-height: 534px;
    }

    #logo {
        width: 45%;
    }

    #Banner {
        flex-direction: column;
    }

    #slider {
        padding: 0% 8%;
    }

    #Banner h1 {
        font-size: 85px;
    }
    
}

@media (max-width: 1300px) {
    #logo {
        width: 45%;
    }

    #Banner h1 {
        font-size: 75px;
    }

}

@media (max-width: 960px) {

    .hero-text {
        max-height: 372px;
    }

    #logo {
        width: 55%;
    }

    #Banner h1 {
        font-size: 75px;
    }

    #Voces > div {
        flex-direction: column;
    }

    #Voces > div > img {
        width: 100%;
    }

    #Voces > div > div {
        padding-left: 0;
    }

    #Banner {
        justify-content: center;
        align-items: center;
        background-color: #101e6b;
    }

    #Contacto {
        padding: 10% 2% 2% 2%;
    }

    #Contacto a {
        padding: 8% 6%;    
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-content img {
        width: 60%;
    }

    .footer-content p {
        padding-top: 5%;
    }

}

@media (max-width: 760px) {
    #logo {
        width: 65%;
    }
}

@media (max-width: 550px) {

    .hero-text h1 {
        font-size: 1.3rem;
    }
    
    section {
        padding: 5% 10%;
    }

    #slider {
        padding: 0% 2%;
    }

    header {
        height: 14vh;
    }

    h1 {
        font-size: 30px;
    }
    h3 {
        padding-top: 20%;
        padding-bottom: 10%;
    }

    #Contacto {
        padding-top: 25%;
        padding-bottom: 25%;
    }

    #Contacto h2 {
        padding: 5% 0%;
    }

    p {
        font-size: 24px;
    }

    header a {
        display:flex;
        justify-content: center;
    }

    #Entradilla h1 {
        padding-top: 5%;
        padding-bottom: 15%;
    }

    #Entradilla p {
        padding-right: 0;
    }

    #Voces h1 {
        padding-top: 15%;
    }

    #Voces p {
        padding-top: 10%;
        padding-bottom: 10%;
    }

    #Legado p {
        padding-top: 10%;
        padding-bottom: 10%;
    }

    #Voces > div > img {
        width: 100%;
    }

    #Voces > div > div {
        padding-left: 0;
    }

    #Banner {
        padding: 15% 7%;
    }

    #Banner h1 {
        font-size: 70px;
    }

    #logo {
        width: 80%;
    }

    footer {
        padding: 0px 10% 15%;
    }

}