/* ==========================================================================
   MSA AUTOMOTRIZ — QUIÉNES SOMOS / NOSOTROS (ESTILO MITSUI: ROJO, NEGRO Y BLANCO)
   ========================================================================== */

/* ── 1. HERO SPLIT: PRESENTACIÓN + FOTO COMPLETA DEL EQUIPO ── */
.nosotros-hero {
    position: relative;
    background: radial-gradient(circle at 80% 20%, #1f1f1f 0%, #0d0d0d 100%);
    border-bottom: 4px solid var(--color-primary, #d90429);
    padding: 56px 32px 64px;
    overflow: hidden;
}

.nosotros-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.01) 10px, rgba(255, 255, 255, 0.01) 20px);
    pointer-events: none;
}

.nosotros-hero__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.nosotros-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nosotros-hero__badge {
    display: inline-block;
    background: var(--color-primary, #d90429);
    color: var(--color-white, #ffffff);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--radius-sm, 6px);
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(217, 4, 41, 0.4);
}

.nosotros-hero__title {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: #ffffff;
    line-height: 1.1;
    margin: 0 0 16px 0;
}

.nosotros-hero__desc {
    font-size: 1.05rem;
    color: #e5e7eb;
    line-height: 1.65;
    margin-bottom: 26px;
    max-width: 520px;
}

.nosotros-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nosotros-hero__feat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 14px;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.nosotros-hero__feat svg {
    color: var(--color-primary, #d90429);
}

/* ── Imagen Completa del Equipo ── */
.nosotros-hero__media {
    position: relative;
    width: 100%;
}

.nosotros-hero__img-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.16);
    background: #111111;
}

.nosotros-hero__img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nosotros-hero__img-container:hover .nosotros-hero__img {
    transform: scale(1.02);
}

.nosotros-hero__caption {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    background: rgba(17, 17, 17, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    padding: 8px 14px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.nosotros-hero__caption svg {
    color: var(--color-primary, #d90429);
}

/* ── 2. SECCIÓN HISTORIA Y TRAYECTORIA ── */
.nosotros-historia {
    padding: 64px 24px;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.nosotros-historia__label {
    display: inline-block;
    background: var(--color-primary, #d90429);
    color: var(--color-white, #ffffff);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-sm, 6px);
    margin-bottom: 12px;
    box-shadow: var(--shadow-red, 0 4px 14px rgba(217, 4, 41, 0.3));
}

.nosotros-historia__title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--color-black, #111111);
    line-height: 1.15;
    margin-bottom: 20px;
}

.nosotros-historia__title span {
    color: var(--color-primary, #d90429);
}

.nosotros-historia__text {
    font-size: 0.96rem;
    color: var(--color-text-secondary, #4a4a4a);
    line-height: 1.7;
    margin-bottom: 14px;
}

.nosotros-historia__img-wrap {
    position: relative;
    border-radius: var(--radius-md, 10px);
    overflow: hidden;
    box-shadow: var(--shadow-card, 0 4px 14px rgba(0, 0, 0, 0.05));
    border: 1px solid var(--color-border, #e5e7eb);
}

.nosotros-historia__img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.nosotros-historia__img-wrap:hover .nosotros-historia__img {
    transform: scale(1.04);
}

.nosotros-historia__badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(17, 17, 17, 0.88);
    backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.74rem;
    font-weight: 700;
    border-left: 3px solid var(--color-primary, #d90429);
}

/* ── 3. ESTADÍSTICAS ── */
.nosotros-stats {
    background: var(--color-black, #111111);
    padding: 56px 24px;
    border-top: 4px solid var(--color-primary, #d90429);
    border-bottom: 1px solid #222222;
}

.nosotros-stats__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item__number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--color-primary, #d90429);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item__label {
    font-size: 0.82rem;
    color: #ced4da;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

/* ── 4. MISIÓN Y VISIÓN ── */
.nosotros-mv {
    max-width: 1400px;
    margin: 64px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.nosotros-mv__item {
    background: #ffffff;
    border: 1px solid var(--color-border, #e5e7eb);
    border-top: 4px solid var(--color-primary, #d90429);
    border-radius: var(--radius-md, 10px);
    padding: 36px 32px;
    box-shadow: var(--shadow-subtle, 0 1px 4px rgba(0, 0, 0, 0.04));
    transition: all var(--transition-fast, 0.18s ease);
}

.nosotros-mv__item:hover {
    box-shadow: var(--shadow-card, 0 4px 14px rgba(0, 0, 0, 0.05));
    transform: translateY(-3px);
}

.nosotros-mv__icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(217, 4, 41, 0.08);
    color: var(--color-primary, #d90429);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.nosotros-mv__title {
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--color-black, #111111);
    margin-bottom: 12px;
}

.nosotros-mv__text {
    font-size: 0.94rem;
    color: var(--color-text-secondary, #4a4a4a);
    line-height: 1.7;
    margin: 0;
}

/* ── 5. VALORES ── */
.nosotros-valores {
    background: #f8f9fa;
    padding: 72px 24px;
    border-top: 1px solid #e9ecef;
}

.nosotros-valores__inner {
    max-width: 1400px;
    margin: 0 auto;
}

.nosotros-valores__header {
    text-align: center;
    margin-bottom: 48px;
}

.nosotros-valores__title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--color-black, #111111);
    margin: 0 0 10px 0;
}

.nosotros-valores__sub {
    font-size: 0.95rem;
    color: var(--color-text-muted, #737373);
    margin: 0;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.valor-card {
    background: #ffffff;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: var(--radius-md, 10px);
    padding: 28px 24px;
    box-shadow: var(--shadow-subtle, 0 1px 4px rgba(0, 0, 0, 0.04));
    transition: all var(--transition-base, 0.28s ease);
}

.valor-card:hover {
    border-color: var(--color-primary, #d90429);
    box-shadow: var(--shadow-hover, 0 10px 24px rgba(0, 0, 0, 0.08));
    transform: translateY(-4px);
}

.valor-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(217, 4, 41, 0.08);
    color: var(--color-primary, #d90429);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.valor-card__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-black, #111111);
    margin-bottom: 8px;
}

.valor-card__desc {
    font-size: 0.85rem;
    color: var(--color-text-muted, #737373);
    line-height: 1.55;
    margin: 0;
}

/* ── 6. BANNER CTA ── */
.nosotros-cta {
    background: var(--color-black, #111111);
    padding: 72px 24px;
    text-align: center;
    border-top: 4px solid var(--color-primary, #d90429);
}

.nosotros-cta__title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.nosotros-cta__sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 28px;
}

.nosotros-cta__btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.nosotros-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-sm, 6px);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all var(--transition-fast, 0.18s ease);
    min-height: 44px;
}

.nosotros-cta__btn--white {
    background-color: var(--color-primary, #d90429);
    color: #ffffff;
    box-shadow: var(--shadow-red, 0 4px 14px rgba(217, 4, 41, 0.3));
}

.nosotros-cta__btn--white:hover {
    background-color: var(--color-primary-hover, #b90222);
    transform: translateY(-2px);
}

.nosotros-cta__btn--outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.nosotros-cta__btn--outline:hover {
    background-color: #ffffff;
    color: #111111;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* ── 7. RESPONSIVE ── */
@media (max-width: 1024px) {
    .nosotros-hero__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .nosotros-historia {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .nosotros-mv {
        grid-template-columns: 1fr;
    }
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nosotros-stats__inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nosotros-hero {
        padding: 36px 16px 44px;
    }
    .nosotros-historia {
        padding: 36px 16px;
    }
    .nosotros-historia__img {
        height: 240px;
    }
    .nosotros-stats {
        padding: 36px 16px;
    }
    .nosotros-mv {
        padding: 0 16px;
        margin: 36px auto;
        gap: 18px;
    }
    .nosotros-valores {
        padding: 40px 16px;
    }
    .valores-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .nosotros-cta__btns {
        flex-direction: column;
    }
    .nosotros-cta__btn {
        width: 100%;
    }
}
