/* ==========================================================================
   SOBRE NOSOTROS — Historia y valores de Area Capilar
   Hero reutiliza .vt-* de valoracion.css
   ========================================================================== */

/* ==========================================================================
   1. NUESTRA HISTORIA — Timeline
   ========================================================================== */

.ns-story {
    padding: 72px 0;
    background: var(--bg-primary, #fff);
}

.ns-story__intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.ns-story__label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 12px;
}

.ns-story__intro h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--text-primary, #1a1a2e);
    line-height: 1.3;
    margin: 0;
}

/* Timeline */
.ns-timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    padding-left: 48px;
}

.ns-timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border, #e2e8f0);
}

.ns-timeline__item {
    position: relative;
    margin-bottom: 40px;
}

.ns-timeline__item:last-child {
    margin-bottom: 0;
}

.ns-timeline__icon {
    position: absolute;
    left: -48px;
    top: 2px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary, #f5f7f9);
    border: 2px solid var(--border, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.ns-timeline__icon svg {
    width: 18px;
    height: 18px;
    color: var(--text-secondary, #555);
}

.ns-timeline__icon--accent {
    background: var(--accent);
    border-color: var(--accent);
}

.ns-timeline__icon--accent svg {
    color: #fff;
}

.ns-timeline__content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary, #1a1a2e);
    margin: 0 0 8px;
}

.ns-timeline__content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary, #555);
    margin: 0 0 8px;
}

.ns-timeline__content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   2. VALORES / FILOSOFÍA
   ========================================================================== */

.ns-values {
    padding: 72px 0;
    background: var(--bg-secondary, #f5f7f9);
}

.ns-values__intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.ns-values__label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 12px;
}

.ns-values__intro h2 {
    font-size: clamp(1.3rem, 3.5vw, 1.7rem);
    font-weight: 800;
    color: var(--text-primary, #1a1a2e);
    line-height: 1.3;
    margin: 0;
}

.ns-values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.ns-values__card {
    background: var(--bg-primary, #fff);
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid var(--border, #e2e8f0);
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.ns-values__card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.ns-values__card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(13,148,136,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ns-values__card-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.ns-values__card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #1a1a2e);
    margin: 0 0 8px;
}

.ns-values__card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary, #555);
    margin: 0;
}

/* ==========================================================================
   3. CIFRAS / STATS
   ========================================================================== */

.ns-stats {
    padding: 56px 0;
    background: var(--bg-primary, #fff);
    border-top: 1px solid var(--border, #e2e8f0);
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.ns-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.ns-stats__item strong {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.ns-stats__item span {
    display: block;
    font-size: 14px;
    color: var(--text-secondary, #555);
    margin-top: 4px;
}

/* ==========================================================================
   4. CTA FINAL
   ========================================================================== */

.ns-cta-final {
    padding: 64px 0;
    background: var(--bg-secondary, #f5f7f9);
    text-align: center;
}

.ns-cta-final h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--text-primary, #1a1a2e);
}

.ns-cta-final p {
    font-size: 16px;
    color: var(--text-secondary, #555);
    max-width: 540px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.ns-cta-final__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.ns-cta-final__actions .btn-lg {
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ns-cta-final__actions .btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
}

.ns-cta-final__actions .btn-primary:hover {
    background: var(--accent-dark, #0b7f74);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13,148,136,0.35);
}

.ns-cta-final__actions .btn-outline {
    background: transparent;
    color: var(--text-primary, #1a1a2e);
    border: 1.5px solid rgba(0,0,0,0.15);
}

.ns-cta-final__actions .btn-outline:hover {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.3);
}

.ns-cta-final__actions .btn svg { width: 18px; height: 18px; }

/* ==========================================================================
   5. RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
    .ns-values__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ns-story { padding: 48px 0; }
    .ns-values { padding: 48px 0; }
    .ns-stats { padding: 40px 0; }
    .ns-cta-final { padding: 48px 0; }

    .ns-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .ns-timeline {
        padding-left: 40px;
    }

    .ns-timeline::before {
        left: 15px;
    }

    .ns-timeline__icon {
        left: -40px;
        width: 32px;
        height: 32px;
    }

    .ns-timeline__icon svg {
        width: 14px;
        height: 14px;
    }

    .ns-cta-final__actions { flex-direction: column; align-items: center; }
    .ns-cta-final__actions .btn-lg { width: 100%; justify-content: center; max-width: 340px; }
}

@media (max-width: 480px) {
    .ns-values__grid {
        grid-template-columns: 1fr;
    }

    .ns-stats__grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}
