/* ══════════════════════════════════════════════
   CHE'JUM — Nosotros Page Styles
   ══════════════════════════════════════════════ */

/* ── Somos Section ── */
.somos-section {
    padding-top: 120px;
    padding-bottom: 100px;
    background: var(--bg-primary);
    overflow: hidden;
}

.somos-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}


.somos-image-wrapper {
    position: relative;
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.somos-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.somos-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.somos-image-wrapper:hover .somos-img {
    transform: scale(1.03);
}


.somos-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--red-accent);
    margin-bottom: 24px;
}

.somos-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--grey-300);
    font-weight: 300;
    line-height: 1.9;
    letter-spacing: 0.2px;
    margin-bottom: 20px;
}

.somos-text:last-child {
    margin-bottom: 0;
}

.somos-char {
    display: inline-block;
    will-change: transform, opacity;
}

.somos-word {
    display: inline-block;
    will-change: transform, opacity;
}

/* ── Nosotros Image Cards ── */
.nosotros-cards-section {
    padding: 60px 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.nosotros-cards-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.nosotros-card {
    background: var(--bg-card, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.nosotros-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(192, 57, 43, 0.25);
}

.nosotros-card-img-wrap {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.nosotros-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nosotros-card:hover .nosotros-card-img-wrap img {
    transform: scale(1.05);
}

/* ── Nosotros Sections ── */
.nosotros-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.nosotros-section--alt {
    background: var(--bg-secondary);
}

.nosotros-block {
    max-width: 780px;
    margin: 0 auto;
}

.nosotros-block-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 20px;
}

.nosotros-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red-accent);
    letter-spacing: 2px;
}

.nosotros-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.3px;
    perspective: 800px;
}

.nosotros-title .n-char {
    display: inline-block;
    will-change: transform, opacity;
}

.nosotros-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--red-accent), transparent);
    margin-bottom: 32px;
    border-radius: 2px;
}

.nosotros-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--grey-300);
    font-weight: 300;
    line-height: 1.9;
    letter-spacing: 0.2px;
}

.nosotros-text .n-word {
    display: inline-block;
    will-change: transform, opacity;
}

/* ── Valores Grid ── */
.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 8px;
}

.valor-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 36px 24px;
    text-align: center;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.valor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(192, 57, 43, 0.25);
}

.valor-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    color: var(--red-accent);
    transition: transform var(--transition-smooth);
}

.valor-card:hover .valor-icon {
    transform: scale(1.1);
}

.valor-icon svg {
    width: 100%;
    height: 100%;
}

.valor-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.valor-desc {
    font-size: 0.88rem;
    color: var(--grey-300);
    line-height: 1.7;
    font-weight: 300;
}

/* ── CTA animations ── */
.nosotros-section .cta-title .n-char {
    display: inline-block;
    will-change: transform, opacity;
}

/* ── Nav active state ── */
.nav-link.active {
    color: var(--red-accent);
}

.nav-link.active::after {
    width: 100%;
    background: var(--red-accent);
}



/* ── Responsive ── */
@media (max-width: 992px) {
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .somos-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .somos-text {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .nosotros-cards-container {
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .somos-section {
        padding-top: 100px;
        padding-bottom: 70px;
    }

    .nosotros-block-header {
        flex-direction: column;
        gap: 8px;
    }

    .nosotros-section {
        padding: 70px 0;
    }

    .nosotros-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}