/* /nosotros-v2 — header v2, barra categorías, migas, hero, historia, proceso y compromisos */

.content_all.nosotros-page-v2 {
    overflow: visible;
}

.nosotros-page-v2 .page-v2-title.nosotros-page-v2__title {
    margin-bottom: 1.75rem;
}

.nosotros-v2 {
    --nosotros-green: #51fe2b;
    --nosotros-gray: #f3f3f3;
    --nosotros-line: #d8d8d8;
    --nosotros-text: #020202;
    --nosotros-muted: #6b6b6b;
    width: 100%;
    padding-bottom: 4rem;
    color: var(--nosotros-text);
}

.nosotros-v2__mark {
    display: inline;
    padding: 0.05em 0.2em;
    background: var(--nosotros-green);
    color: var(--nosotros-text);
}

/* Hero */
.nosotros-v2__hero {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.nosotros-v2__hero-title {
    margin: 0 0 1.1rem;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.nosotros-v2__hero-text {
    margin: 0 0 1.5rem;
    max-width: 32rem;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--nosotros-text);
}

.nosotros-v2__stats {
    display: flex;
    gap: 3rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--nosotros-line);
}

.nosotros-v2__stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nosotros-v2__stat-value {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1;
}

.nosotros-v2__stat-label {
    font-size: 0.9rem;
    color: var(--nosotros-muted);
}

.nosotros-v2__hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nosotros-v2__hero-img {
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
    object-fit: contain;
}

/* Story + timeline */
.nosotros-v2__story {
    width: 100%;
    background: var(--nosotros-gray);
    padding: 3.25rem 0 3.5rem;
}

.nosotros-v2__story-inner {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2.75rem;
    align-items: start;
}

.nosotros-v2__story-title {
    margin: 0 0 1.5rem;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    line-height: 1.2;
}

.nosotros-v2__story-img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
}

.nosotros-v2__timeline {
    margin: 0;
    padding: 0.35rem 0 0;
    list-style: none;
}

.nosotros-v2__timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1.35rem minmax(0, 1fr);
    gap: 1.15rem;
    padding-bottom: 1.85rem;
}

.nosotros-v2__timeline-item:last-child {
    padding-bottom: 0;
}

.nosotros-v2__timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 1.1rem;
    left: 0.6rem;
    width: 1px;
    bottom: 0;
    background: #cfcfcf;
}

.nosotros-v2__timeline-icon {
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.2rem;
    border: 2px solid var(--nosotros-green);
    border-radius: 50%;
    background: transparent;
    box-sizing: border-box;
}

.nosotros-v2__timeline-content {
    min-width: 0;
}

.nosotros-v2__timeline-year {
    margin: 0 0 0.2rem;
    font-size: 0.9rem;
    line-height: 1.3;
    color: #8d8d8d;
}

.nosotros-v2__timeline-heading {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    line-height: 1.3;
    color: var(--nosotros-text);
}

.nosotros-v2__timeline-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--nosotros-muted);
}

/* Quote */
.nosotros-v2__quote {
    width: 90%;
    max-width: 820px;
    margin: 3.25rem auto 3rem;
    padding: 0;
    border: 0;
    text-align: center;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-style: italic;
    line-height: 1.45;
    color: var(--nosotros-text);
}

/* Shared badge titles */
.nosotros-v2__badge-title {
    margin: 0 0 2rem;
    text-align: center;
    font-size: 0;
}

.nosotros-v2__badge {
    display: inline-block;
    padding: 0.45rem 1rem;
    background: var(--nosotros-green);
    color: var(--nosotros-text);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    line-height: 1.2;
}

/* Step icons */
.nosotros-v2__icon-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-sizing: border-box;
}

.nosotros-v2__icon-slot--step {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0.85rem auto 0;
}

.nosotros-v2__step-icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nosotros-v2__commitment-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.75rem;
    height: 4.75rem;
    margin: 0 auto 1rem;
}

.nosotros-v2__commitment-icon {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Process */
.nosotros-v2__process {
    width: 100%;
    background: var(--nosotros-gray);
    padding: 2.75rem 0 3rem;
}

.nosotros-v2__process-inner {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}

.nosotros-v2__steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nosotros-v2__steps::before {
    content: '';
    position: absolute;
    top: 1.05rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: #cfcfcf;
}

.nosotros-v2__step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.nosotros-v2__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    background: var(--nosotros-green);
    color: var(--nosotros-text);
    font-size: 1rem;
    line-height: 1;
}

.nosotros-v2__step-text {
    margin: 0;
    min-height: 3rem;
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--nosotros-text);
}

.nosotros-v2__step-text strong {
    display: block;
    font-weight: 700;
}

/* Commitments */
.nosotros-v2__commitments {
    width: 90%;
    max-width: 1180px;
    margin: 3.25rem auto 0;
}

.nosotros-v2__commitments-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nosotros-v2__commitment {
    text-align: center;
}

.nosotros-v2__commitment-title {
    margin: 0 0 0.55rem;
    font-size: 1rem;
    line-height: 1.25;
}

.nosotros-v2__commitment-text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--nosotros-muted);
}

/* CTA */
.nosotros-v2__cta {
    width: 90%;
    max-width: 1180px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--nosotros-line);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nosotros-v2__cta-text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
}

.nosotros-v2__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 10rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    background: var(--nosotros-green);
    color: var(--nosotros-text);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
    transition: filter 0.15s ease;
}

.nosotros-v2__cta-btn:hover {
    filter: brightness(0.96);
    color: var(--nosotros-text);
}

@media (max-width: 980px) {
    .nosotros-v2__hero,
    .nosotros-v2__story-inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .nosotros-v2__hero-media {
        order: -1;
    }

    .nosotros-v2__story-img {
        max-width: 320px;
        margin: 0 auto;
    }

    .nosotros-v2__steps,
    .nosotros-v2__commitments-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 2rem;
    }

    .nosotros-v2__steps::before {
        display: none;
    }

    .nosotros-v2__step-text {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .nosotros-v2__stats {
        gap: 1.75rem;
    }

    .nosotros-v2__steps,
    .nosotros-v2__commitments-list {
        grid-template-columns: 1fr;
    }

    .nosotros-v2__cta {
        flex-direction: column;
        text-align: center;
    }
}
