@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

.titulo {
    text-align: center;
    color: #7CFC98;
    font-size: 48px;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 50px;
    letter-spacing: 1px;
    text-shadow: 0 0 30px rgba(124,252,152,0.3);
    position: relative;
    display: inline-block;
    width: 100%;
}
.titulo::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #7CFC98;
    border-radius: 2px;
    margin: 12px auto 0;
}

.nosotros {
    width: 90%;
    margin: auto;
    padding-bottom: 60px;
}

.bloque {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    background: rgba(10,26,15,0.75);
    border-radius: 20px;
    padding: 36px;
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(124,252,152,0.2);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    animation: fadeInLeft 0.7s ease both;
}
.bloque.invertido {
    flex-direction: row-reverse;
    animation: fadeInRight 0.7s ease both;
}
.bloque:hover {
    border-color: rgba(124,252,152,0.45);
    box-shadow: 0 12px 40px rgba(124,252,152,0.08);
    transform: translateY(-4px);
}

.texto { flex: 1; }
.texto h2 {
    color: #7CFC98;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 12px;
}
.texto h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 50px; height: 3px;
    background: rgba(124,252,152,0.4);
    border-radius: 2px;
}
.texto p {
    color: #d4f5e0;
    font-size: 16px;
    line-height: 1.85;
}

.imagen { flex: 1; }
.imagen img {
    width: 100%;
    border-radius: 16px;
    display: block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.imagen img:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 40px rgba(124,252,152,0.15);
}