/* BANNER */
.black {
    background: linear-gradient(to bottom right, #16191c, #2e3136);
    padding: 70px 0 50px 0;
    font-family: "Orbitron", sans-serif;
    font-weight: 800;
    font-size: 2rem;
    margin: 0px;
    text-align: center;
    color: #fff;

    position: relative;
}
/* Pseudo-elemento para el reflejo */
.black::before {
    content: "";
    position: absolute;
    bottom: -50px;
    right: 0;
    width: 300px;
    aspect-ratio: 3.38 / 1;
    background: url(../IMG/cuadros4.png);
    background-size: cover;
    z-index: 100;
}
.black .container2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.black .image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    max-width: 900px; /* Ajusta según tu diseño */
}

.black .image-container img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.black .line {
    width: 2px;
    height: 50px;
    background: white;
    margin: 10px 0;
}

.black .text {
    font-size: 1.3rem;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    color: #fff;
    margin: 0;
    line-height: 1.5em;
}
.black h2 {
    font-size: 2rem;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    color: #a39e9e;
    margin: 5px 0;
    line-height: 1.5em;
}
.black .highlight {
    color: #7eda40; /* Verde neón */
}

.black .contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 50px 0;
}

.black .texto {
    flex: 1;
    text-align: left;
}

.black .texto h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.8rem;
    color: #7bda46; /* Verde */
}

.black .texto p {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1.6;
}

.black .boton {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.5rem;
    margin: 50px auto;
    display: block;
    background: rgb(129, 223, 55);
    background: linear-gradient(90deg, rgba(129, 223, 55, 1) 0%, rgba(85, 218, 25, 1) 100%);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    width: 350px;
    max-width: 90%;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 8px 10px rgba(255, 255, 255, 0.3),
                inset 0 -5px 10px rgba(0, 0, 0, 0.2);
}

/* Pseudo-elemento para el reflejo */
.black .boton::before {
    content: "";
    position: absolute;
    top: -211%;
    left: -50%;
    width: 150%;
    height: 300%;
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.6) 100%);
    transform: rotate(350deg);
    border-radius: 50%;
    transition: all 0.5s ease-in-out;
    /* Transición suave */
}
.black .boton:hover::before {
    top: -190%;
    /* Ajuste en la posición */
    left: 19%;
    transform: rotate(367deg) scale(1.1);
    /* Ligero escalado */
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.2) 100%, rgba(255, 255, 255, 0.6) 0%);
}

.black .imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.black .container h1{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.8rem;
    color: #dfdfdf;
    margin: 5px 0;
}
.black .container h1 span{
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    color: #7eda40;
}
.black .container h2+.Servicio{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
    color: #dfdfdf;
    margin: 0;
}

.black .valores-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 30px;
}
.black .valores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
    text-align: center;
}

.black .valor {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.black .valor p{
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 1.5rem;
    margin: 0;
}

.black .valor img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}


.slider-section {
    background: url('../IMG/BackGreen.png');
    background-position: top center;
    background-size: cover;
    text-align: center;
    padding: 70px 20px;
    color: #fff;
}

.slider-section h2{
    font-family: "Orbitron", sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 1.8rem;
    margin: 5px 0;
}

.slider-section p{
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    color: #fff;
    font-size: 1.4rem;
    margin: 5px 0;
}

.slider-section h2 span {
    color: #2e3136; /* Ajusta según tu diseño */
    font-weight: bold;
}

.slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.profile {
    padding: 15px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-container {
    position: relative;
    text-align: center;
}
#profile-img {
    transition: opacity 0.2s ease-in-out;
}

#profile-name {
    transition: opacity 0.2s ease-in-out;
}

.profile img {
    width: 200px;
    max-width: 100%;
}

.profile p {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 1.2em;
    margin-top: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16191c;
}
.prev, .next{
    max-width: 50px;
}

.profile p::before,
.profile p::after {
    content: "";
    display: inline-block;
    width: 10px;  /* Ajusta el tamaño según la imagen */
    height: 50px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.profile p::before {
    background-image: url('../IMG/CORCHIZ.png');
    margin-right: 5px;
}

.profile p::after {
    background-image: url('../IMG/CORCDER.png');
    margin-left: 5px;
}

.cta {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.2rem;
    margin: 50px auto;
    display: block;
    background: rgb(129, 223, 55);
    background: linear-gradient(90deg, rgba(129, 223, 55, 1) 0%, rgba(85, 218, 25, 1) 100%);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    width: 350px;
    max-width: 90%;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 8px 10px rgba(255, 255, 255, 0.3),
                inset 0 -5px 10px rgba(0, 0, 0, 0.2);
}

/* Pseudo-elemento para el reflejo */
.cta::before {
    content: "";
    position: absolute;
    top: -211%;
    left: -50%;
    width: 150%;
    height: 300%;
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.6) 100%);
    transform: rotate(350deg);
    border-radius: 50%;
    transition: all 0.5s ease-in-out;
    /* Transición suave */
}
.cta:hover::before {
    top: -190%;
    /* Ajuste en la posición */
    left: 19%;
    transform: rotate(367deg) scale(1.1);
    /* Ligero escalado */
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.2) 100%, rgba(255, 255, 255, 0.6) 0%);
}
/* Móviles */
@media only screen and (max-width: 800px) {
    /* Pseudo-elemento para el reflejo */
    .black::before {
        content: "";
        position: absolute;
        bottom: -30px;
        right: 0;
        width: 150px;
    }
    .black .contenido {
        flex-direction: column;
        text-align: center;
        padding: 50px 0;
    }
    .black .texto {
        width: 100%;
    }   
    .black .imagen img {
        max-width: 80%;
    }
    .black .valores-grid {
        grid-template-columns: 1fr;
    }

    .black .valor img {
        width: 60px;
    }
    .slider {
        gap: 0;
    }
    .prev, .next{
        max-width: 20px;
    }
}