

/* CONTENEDOR DE SECCIONES */
.section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    gap: 30px;
    opacity: 0; /* para animación */
    transform: translateY(50px);
    transition: all 0.8s ease;
}

/* SECCIÓN ACTIVADA */
.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* IMAGEN */
.section .image_somos {
    flex: 1;
    text-align: center;
}

.section .image_somos img {
    max-width: 100%;
    height: 70vh;
    border-radius: 10px;
}

.section .image_somos .red1{
    max-width: 50px;
    height: 50px;
    border-radius: 10px;
}

/* DESCRIPCIÓN */
.section .description {
    flex: 1;
}

.section .description h2 {
    margin-bottom: 15px;
    color: #006666;
}

.section .description p {
    color: #006666;
	font-size:2.5vh;
}

/* EFECTOS DE ENTRADA DIFERENTE */
.section:nth-child(odd) .image_somos {
    transform: translateX(-50px);
}

.section:nth-child(odd).visible .image_somos {
    transform: translateX(0);
}

.section:nth-child(odd) .description {
    transform: translateX(50px);
}

.section:nth-child(odd).visible .description {
    transform: translateX(0);
}

.section:nth-child(even) .image_somos {
    transform: translateX(50px);
}

.section:nth-child(even).visible .image_somos {
    transform: translateX(0);
}

.section:nth-child(even) .description {
    transform: translateX(-50px);
}

.section:nth-child(even).visible .description {
    transform: translateX(0);
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .section {
        flex-direction: column;
        text-align: center;
    }

.section .image_somos img { height: 40vh;}
.section .description p {font-size:1.8vh;}
.section .description table {width:95%;}

    .section .description {
        margin-top: 20px;
    }

    .section .image_somos, .section .description {
        transform: translateY(50px);
        opacity: 0;
    }

    .section.visible .image_somos,
    .section.visible .description {
        transform: translateY(0);
        opacity: 1;
    }
}