.sobre_nosotros {
    text-align: center;
    width: 95%;
    border-radius: var(--radio_pequeno) var(--radio_pequeno) var(--radio_grande) var(--radio_grande);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.titulo-nosotros {
    font-family: "Nunito", sans-serif;
    font-size: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    align-self: flex-start;
    width: 100%;
    letter-spacing: -0.01em;
    font-weight: 600;
}

/* ==================== HERO ==================== */
.nosotros-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 3rem calc(4rem + var(--solape));
    --c: #fcfcfd;
}

.img-bessie {
    flex-shrink: 0;
    width: 100%;
    max-width: 22rem;
    height: auto;
    object-fit: contain;
}

/* ==================== PILA DE TARJETAS ==================== */
.nosotros-pila {
    --solape: 2.6rem;
    --r: 2.8rem;
    display: flex;
    flex-direction: column;
    max-width: 900px;
    width: 100%;
    margin-bottom: 2.5rem;
}

.nosotros-item,
.nosotros-aviso {
    --c: #e2dcfb;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2.6rem 2.8rem calc(2.6rem + var(--solape));
    text-align: left;
}

.nosotros-pila > * + * {
    margin-top: calc(var(--solape) * -1);
}

.nosotros-pila > :last-child {
    padding-bottom: 2.6rem;
}

.nosotros-item--origen  { --c: linear-gradient(90deg, #ffe9a6 0%, #fff0d4 100%); }
.nosotros-item--hacemos { --c: linear-gradient(90deg, #d4e4f5 0%, #e8f0fa 100%); }
.nosotros-item--mision  { --c: linear-gradient(90deg, #d4ede5 0%, #e8f5f0 100%); }
.nosotros-aviso         { --c: linear-gradient(90deg, #e2d9f0 0%, #f0ecf8 100%); }

.nosotros-pila > * {
    position: relative;
    isolation: isolate;
}

.nosotros-pila > *::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--c);
    border-radius: var(--r);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.05);
}

.nosotros-pila > :nth-child(odd)::before  { rotate: -1.2deg; }
.nosotros-pila > :nth-child(even)::before { rotate: 1.2deg; }

.nosotros-item__titulo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--negro);
}

.nosotros-item__desc {
    font-size: 1.55rem;
    line-height: 1.6;
    color: var(--negro_claro);
    margin: 0;
    max-width: 60ch;
}

.nosotros-item__etiquetas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-top: 0.4rem;
}

.nosotros-etiqueta {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(32px) saturate(180%) brightness(1.04);
    -webkit-backdrop-filter: blur(32px) saturate(180%) brightness(1.04);
    color: var(--negro);
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.80), 0 4px 16px rgba(0, 0, 0, 0.06);
    font-size: 1.3rem;
    font-weight: 600;
}

/* ==================== CTA ==================== */
.nosotros-cta-wrap {
    margin-bottom: 4rem;
}

.nosotros-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.4rem;
    border-radius: 50px;
    background: var(--negro);
    color: var(--blanco);
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transicion);
}

.nosotros-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 750px) {
    .nosotros-pila {
        --solape: 2rem;
        --r: 2rem;
    }

    .nosotros-pila > :nth-child(odd)::before  { rotate: -0.8deg; }
    .nosotros-pila > :nth-child(even)::before { rotate: 0.8deg; }

    .nosotros-hero {
        padding: 3rem 2rem calc(3rem + var(--solape));
    }

    .img-bessie {
        max-width: 19rem;
    }

    .nosotros-item,
    .nosotros-aviso {
        padding: 2.2rem 2rem calc(2.2rem + var(--solape));
    }

    .nosotros-pila > :last-child {
        padding-bottom: 2.2rem;
    }

    .nosotros-item__desc {
        font-size: 1.5rem;
    }

    .section_nosotros {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .nosotros-cta {
        font-size: 1.4rem;
        padding: 0.9rem 2rem;
    }
}

@media (max-width: 480px) {
    .nosotros-hero {
        padding: 2.5rem 1.5rem calc(2.5rem + var(--solape));
    }

    .img-bessie {
        max-width: 17rem;
    }

    .nosotros-item,
    .nosotros-aviso {
        padding: 2rem 1.6rem calc(2rem + var(--solape));
    }

    .nosotros-pila > :last-child {
        padding-bottom: 2rem;
    }

    .nosotros-item__titulo {
        font-size: 1.7rem;
    }

    .nosotros-item__desc {
        font-size: 1.4rem;
    }

    .nosotros-cta {
        font-size: 1.3rem;
        padding: 0.8rem 1.6rem;
    }
}

@media (max-width: 380px) {
    .img-bessie {
        max-width: 15rem;
    }

    .nosotros-item,
    .nosotros-aviso {
        padding: 1.8rem 1.4rem calc(1.8rem + var(--solape));
    }

    .nosotros-pila > :last-child {
        padding-bottom: 1.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
