:root{
    --color-blanco-campos: hsla(0, 0%, 100%, 0.95);
}

.contenedor-general-slider {
    position: relative;
}

.contenedor-slider {
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
}

#formulario_busqueda {
    position: absolute;
    top: 47.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
}

#formulario_busqueda h1 {
    font-size: 35px;
    color: white;
    font-weight: 550;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 15px;
    letter-spacing: -2px;
}

.titulo-destacados {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    line-height: 24px;
    color: #003366;
    margin: 30px 0;
}

.contenedor_destacados {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 40px;
    margin-bottom: 20px;
}

.destacado {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
    padding: 10px;
}

.destacado h3,
.destacado p {
    font-size: 13px;
    font-weight: 500;
    color: #666666;
    text-align: center;
    margin: 0;
}

.destacado h3 {
    margin: 15px 0 ;
}

.imagen_destacado {
    width: 100%;
    height: 200px;
}

@media screen and (max-width: 1200px) {
    .contenedor_destacados {
        grid-template-columns: repeat(3, 1fr);
    }

    .contenedor_input_busqueda {
        flex-direction: column;
        gap: 2.5px;
    }
}

@media screen and (max-width: 900px) {
    .contenedor_destacados {
        grid-template-columns: repeat(2, 1fr);
    }

    .contenedor_logo img {
        width: 160px;
    }

    #formulario_busqueda h1 {
        font-size: 28px;
    }
}

@media screen and (max-width: 600px) {
    .contenedor_destacados {
        grid-template-columns: 1fr;
    }

    .contenedor_logo img {
        width: 140px;
    }

    #formulario_busqueda h1 {
        font-size: 22px;
    }
}