/* Nosotros Section Styles */
.nosotros-section {
    padding-top: 110px;
    padding-bottom: 90px;
}

.nosotros-container {
    max-width: 900px;
}

.nosotros-title {
    font-size: clamp(30px, 4.6vw, 54px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.nosotros-text {
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.75;
    max-width: 820px;
    margin: 0 auto 4rem auto;
    color: #454e7a; /* Default apagado */
}

/* Javascript injects spans inside .nosotros-text */
.nosotros-text span {
    transition: color 0.35s ease;
}

.nosotros-text span.active {
    color: #9aa3c7;
}

.nosotros-text span.active.keyword {
    color: #f4f6ff;
    font-weight: 600; /* Leve destaque visual además del color */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Tres Ideas Clave Grid */
.nosotros-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 800px) {
    .nosotros-grid {
        grid-template-columns: 1fr;
    }
}

.n-card {
    text-align: left;
    position: relative;
    padding-top: 24px;
}

.n-line {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: #1d2547;
    transition: background 0.4s ease;
}

.n-card:hover .n-line {
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}

.n-icon {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.n-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.n-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
}
