.recomendaciones {
    width: 100%;
    background-color: #f8f8f8;
    padding: 60px 0;
    overflow: hidden;
    margin-top: 10px;
    border-radius: 30px 30px 0 0;
}

.contenedor-recomendaciones {
    display: flex;
    flex: 1 1 50%;
    align-items: flex-start;
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 20px;
    min-height: 400px;
}

.titulo {
    max-width: 45%;
    transform: translateY(20px);
    opacity: 1;
    animation: fadeInUp 0.8s ease forwards 0.3s;
    flex: 1 1 50%;
}

.contenido-derecha {
    max-width: 54%;
    display: flex;
    flex-direction: column;
    flex: 1 1 50%;
    padding-left: 150px;
}

.texto {
    /* transform: translateX(-10px); */
    opacity: 1;
    animation: fadeInUp 0.8s ease forwards 0.3s;
    margin-bottom: 20px;
}

.titulo h2 {
    font-size: 3rem;
    margin: 0 0 15px;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    display: inline-block;
}

.titulo h2:hover {
    /* color: #000; */
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.titulo h2 br {
    display: inline-block;
}

.texto p {
    font-size: 1.3rem;
    margin: 0;
    color: #444;
    line-height: 1.6;
    font-family: 'Montserrat';
    transition: all 0.4s ease;
    font-weight: 500;
}

.texto:hover p {
    /* color: #333; */
    letter-spacing: 0.3px;
}

.btn-recomendaciones {
    padding: 12px 28px;
    border: 2px solid #000;
    background-color: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #000;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    opacity: 1;
    animation: fadeIn 0.8s ease forwards 0.9s;
    background: white;
    border: 2px solid;
    border-radius: 25px;
    padding: 12px 15px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    color: #3a5a53;
    transition: all 0.5s ease;
    display: inline-flex;
    align-items: center;
    margin-top: 0;
    width: 100px;
    justify-content: center;
    align-self: flex-end;
}

.btn-recomendaciones:hover {
    background-color: #3a5a53;
    color: #fff;
    transform: translateY(-2px) scale(1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-recomendaciones:active {
    transform: translateY(0) scale(0.98);
}


@media (max-width: 992px) {
    .titulo h2 {
        font-size: 2rem;
    }

    .texto p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .contenedor-recomendaciones {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        min-height: auto;
    }

    .recomendaciones {
        padding: 25px 0;
    }

    .titulo,
    .contenido-derecha {
        max-width: 100%;
        align-items: flex-start;
        padding-left: 0px;
    }

    .texto {
        margin-bottom: -15px;
    }

    .texto p {
        margin-bottom: 25px;
        transform: translateX(0);
        animation: fadeInUp 0.8s ease forwards 0.6s;
        text-align: left;
    }

    .titulo h2 {
        font-size: 1.8rem;
        text-align: left;
    }

    .btn-recomendaciones {
        align-self: center;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .titulo h2 {
        font-size: 1.9rem;
    }

    .btn-recomendaciones {
        padding: 10px 22px;
        font-size: 0.9rem;
    }
}