#texto-info-7 {
    width: 100%;
    padding: 40px 5%;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 60px;
    background: linear-gradient(to bottom, var(--light-gray) 0%, var(--white) 100%);
}

.texto-info-7-cont {
    width: 45%;
    max-width: 500px;
    padding: 50px 40px;
    box-sizing: border-box;
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(26, 75, 140, 0.15);
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 10;
}

.texto-info-7-cont:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(26, 75, 140, 0.25);
}

.texto-info-7-cont::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--medical-green) 100%);
}

.texto-info-7-cont h3 {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    font-size: 1.6rem;
    margin: 0 auto 30px auto;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
}

.texto-info-7-cont h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--medical-green);
    margin: 15px auto 0;
    border-radius: 2px;
}

.texto-info-7-cont p {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-family: 'Open Sans', sans-serif;
    margin-top: 25px;
    font-weight: 400;
}

/* Media Queries */
@media (max-width: 1100px) {
    #texto-info-7 {
        gap: 40px;
    }
    
    .texto-info-7-cont {
        padding: 40px 30px;
    }
    
    .texto-info-7-cont h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 900px) {
    #texto-info-7 {
        flex-direction: column;
        align-items: center;
        padding: 30px 5% 20px;
        gap: 40px;
    }
    
    .texto-info-7-cont {
        width: 90%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .texto-info-7-cont h3 {
        font-size: 1.4rem;
    }
    
    .texto-info-7-cont p {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .texto-info-7-cont {
        width: 95%;
        padding: 35px 25px;
    }
    
    .texto-info-7-cont h3 {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .texto-info-7-cont h3::after {
        width: 50px;
        margin-top: 12px;
    }
    
    .texto-info-7-cont p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    #texto-info-7 {
        padding: 20px 5% 10px;
        gap: 30px;
    }
    
    .texto-info-7-cont {
        width: 100%;
        padding: 30px 20px;
    }
    
    .texto-info-7-cont h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .texto-info-7-cont h3::after {
        width: 40px;
        height: 2px;
        margin-top: 10px;
    }
    
    .texto-info-7-cont p {
        font-size: 0.95rem;
        margin-top: 20px;
    }
}