/**
 * despre-noi.css — Self-contained CSS for /despre-noi
 * 
 * Depends only on: design-tokens.css (variables)
 * All .bb-dn-* classes defined in this file
 * Animations: site.js observes .animate-on-scroll → adds .is-visible
 * Pattern: matches servicii.css architecture
 */


/* ═══════════════════════════════════════════════════
   LAYOUT & CONTAINER
   ═══════════════════════════════════════════════════ */

.bb-dn-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.bb-dn-narrow {
    max-width: 960px;
}

.bb-dn-section {
    padding: 80px 0;
}

.bb-dn-bg-white { background: #FFFFFF; }
.bb-dn-bg-cream { background: #FAF9F7; }
.bb-dn-bg-warm  { background: #F5F3F0; }


/* ═══════════════════════════════════════════════════
   EYEBROW BADGE — CENTRAT PE TOATE BREAKPOINT-URILE
   ═══════════════════════════════════════════════════ */

.bb-dn-eyebrow {
    display: block;
    width: fit-content;
    margin: 0 auto 20px auto;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(200, 164, 78, 0.15);
    color: var(--color-gold, #C8A44E);
    border: 1px solid rgba(200, 164, 78, 0.3);
}

.bb-dn-eyebrow-dark {
    background: rgba(200, 164, 78, 0.10);
    color: var(--color-gold-dark, #A8882E);
    border: 1px solid rgba(200, 164, 78, 0.2);
}


/* ═══════════════════════════════════════════════════
   S1: HERO
   ═══════════════════════════════════════════════════ */

.bb-dn-hero {
    background: linear-gradient(180deg, #0A0A0A 0%, #1E1E1E 60%, #2D2D2D 100%);
    padding: 120px 0 80px 0;
    text-align: center;
}

.bb-dn-hero-h1 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0 auto 24px auto;
    max-width: 900px;
}

.bb-dn-hero-sub {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 720px;
    margin: 0 auto;
}


/* ═══════════════════════════════════════════════════
   SECTION HEADINGS
   ═══════════════════════════════════════════════════ */

.bb-dn-section-h2 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--color-black, #0A0A0A);
    margin: 0 0 16px 0;
    text-align: center;
}

.bb-dn-section-sub {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-muted, #64748B);
    max-width: 700px;
    margin: 0 auto 48px auto;
    text-align: center;
}


/* ═══════════════════════════════════════════════════
   S2: STORY BLOCKS
   ═══════════════════════════════════════════════════ */

.bb-dn-story {
    margin-top: 40px;
}

.bb-dn-story-block {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border, #E2E8F0);
}

.bb-dn-story-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.bb-dn-story-h3 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-gold, #C8A44E);
    margin: 0 0 16px 0;
}

.bb-dn-story-text {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--color-text, #1E293B);
    margin: 0 0 16px 0;
}

.bb-dn-story-text:last-child {
    margin-bottom: 0;
}


/* ═══════════════════════════════════════════════════
   S3: PROBLEMS GRID
   ═══════════════════════════════════════════════════ */

.bb-dn-problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.bb-dn-problem-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border, #E2E8F0);
    border-radius: 12px;
    padding: 28px 24px;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.bb-dn-problem-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--color-gold, #C8A44E);
}

.bb-dn-problem-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(200, 164, 78, 0.10);
    color: var(--color-gold, #C8A44E);
    margin-bottom: 16px;
}

.bb-dn-problem-title {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-black, #0A0A0A);
    margin: 0 0 10px 0;
}

.bb-dn-problem-desc {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-muted, #64748B);
    margin: 0;
}


/* ═══════════════════════════════════════════════════
   S4: INSIGHTS
   ═══════════════════════════════════════════════════ */

.bb-dn-insights {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.bb-dn-insight {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    background: #FAF9F7;
    border-radius: 12px;
    border: 1px solid var(--color-border, #E2E8F0);
    border-left: 3px solid var(--color-gold, #C8A44E);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.bb-dn-insight:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.bb-dn-insight-number {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--color-gold, #C8A44E);
    line-height: 1;
    min-width: 50px;
    opacity: 0.6;
}

.bb-dn-insight-content {
    flex: 1;
}

.bb-dn-insight-title {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-black, #0A0A0A);
    margin: 0 0 10px 0;
}

.bb-dn-insight-text {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text, #1E293B);
    margin: 0;
}


/* ═══════════════════════════════════════════════════
   S6: PRINCIPLES GRID
   ═══════════════════════════════════════════════════ */

.bb-dn-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.bb-dn-principle-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border, #E2E8F0);
    border-radius: 12px;
    padding: 28px 24px;
    transition: transform 200ms ease, box-shadow 200ms ease, border-left-color 200ms ease;
}

.bb-dn-principle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 3px solid var(--color-gold, #C8A44E);
}

.bb-dn-principle-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--color-gold, #C8A44E);
}

.bb-dn-principle-title {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-black, #0A0A0A);
    margin: 0 0 10px 0;
}

.bb-dn-principle-desc {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-muted, #64748B);
    margin: 0;
}


/* ═══════════════════════════════════════════════════
   S7: CTA FINAL
   ═══════════════════════════════════════════════════ */

.bb-dn-cta {
    background: linear-gradient(180deg, #0A0A0A 0%, #1E1E1E 60%, #2D2D2D 100%);
    padding: 80px 0;
    text-align: center;
}

.bb-dn-cta-h2 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.3;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0 0 16px 0;
}

.bb-dn-cta-sub {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto 32px auto;
    max-width: 500px;
}

.bb-dn-cta-btn {
    display: inline-block;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #FFFFFF;
    color: #0A0A0A;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.bb-dn-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.bb-dn-cta-micro {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    margin: 20px 0 0 0;
}

.bb-dn-cta-link {
    color: var(--color-gold, #C8A44E);
    text-decoration: none;
    transition: color 150ms ease;
}

.bb-dn-cta-link:hover {
    color: var(--color-gold-light, #D4B86A);
}


/* ═══════════════════════════════════════════════════
   ANIMATIONS
   site.js: .animate-on-scroll → adds .is-visible
   ═══════════════════════════════════════════════════ */

.bb-dn-problem-card.animate-on-scroll,
.bb-dn-principle-card.animate-on-scroll,
.bb-dn-insight.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.bb-dn-problem-card.is-visible,
.bb-dn-principle-card.is-visible,
.bb-dn-insight.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger — problems */
.bb-dn-problems-grid .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.bb-dn-problems-grid .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.bb-dn-problems-grid .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.bb-dn-problems-grid .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }
.bb-dn-problems-grid .animate-on-scroll:nth-child(5) { transition-delay: 320ms; }
.bb-dn-problems-grid .animate-on-scroll:nth-child(6) { transition-delay: 400ms; }

/* Stagger — principles */
.bb-dn-principles-grid .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.bb-dn-principles-grid .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.bb-dn-principles-grid .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.bb-dn-principles-grid .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }
.bb-dn-principles-grid .animate-on-scroll:nth-child(5) { transition-delay: 320ms; }
.bb-dn-principles-grid .animate-on-scroll:nth-child(6) { transition-delay: 400ms; }

/* Stagger — insights */
.bb-dn-insights .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.bb-dn-insights .animate-on-scroll:nth-child(2) { transition-delay: 120ms; }
.bb-dn-insights .animate-on-scroll:nth-child(3) { transition-delay: 240ms; }
.bb-dn-insights .animate-on-scroll:nth-child(4) { transition-delay: 360ms; }


/* ═══════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .bb-dn-problem-card.animate-on-scroll,
    .bb-dn-principle-card.animate-on-scroll,
    .bb-dn-insight.animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .bb-dn-problem-card,
    .bb-dn-principle-card,
    .bb-dn-insight,
    .bb-dn-cta-btn {
        transition: none;
    }
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET (768px – 1199px)
   ═══════════════════════════════════════════════════ */

@media (max-width: 1199px) {

    .bb-dn-container { padding: 0 32px; }
    .bb-dn-section { padding: 64px 0; }
    .bb-dn-hero { padding: 100px 0 64px 0; }
    .bb-dn-hero-h1 { font-size: 32px; }
    .bb-dn-section-h2 { font-size: 24px; }
    .bb-dn-cta-h2 { font-size: 24px; }

    .bb-dn-problems-grid { grid-template-columns: repeat(2, 1fr); }
    .bb-dn-principles-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE (< 768px)
   ═══════════════════════════════════════════════════ */

@media (max-width: 767px) {

    .bb-dn-container { padding: 0 20px; }
    .bb-dn-section { padding: 48px 0; }

    .bb-dn-hero { padding: 90px 0 48px 0; }
    .bb-dn-hero-h1 { font-size: 24px; line-height: 1.3; }
    .bb-dn-hero-sub { font-size: 15px; }

    .bb-dn-section-h2 { font-size: 22px; }
    .bb-dn-section-sub { font-size: 15px; margin-bottom: 32px; }

    .bb-dn-story-block { margin-bottom: 28px; padding-bottom: 28px; }
    .bb-dn-story-text { font-size: 15px; }

    .bb-dn-problems-grid { grid-template-columns: 1fr; gap: 16px; }
    .bb-dn-problem-card {
        padding: 24px 20px;
        border-left: 3px solid var(--color-gold, #C8A44E);
    }

    .bb-dn-insight { flex-direction: column; gap: 12px; padding: 24px 20px; }
    .bb-dn-insight-number { font-size: 24px; min-width: auto; }

    .bb-dn-principles-grid { grid-template-columns: 1fr; gap: 16px; }
    .bb-dn-principle-card {
        padding: 24px 20px;
        border-left: 3px solid var(--color-gold, #C8A44E);
    }

    .bb-dn-cta { padding: 48px 0; }
    .bb-dn-cta-h2 { font-size: 22px; }
    .bb-dn-cta-btn { padding: 14px 32px; font-size: 13px; }
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (< 480px)
   ═══════════════════════════════════════════════════ */

@media (max-width: 479px) {
    .bb-dn-hero-h1 { font-size: 21px; }
    .bb-dn-section-h2 { font-size: 20px; }
    .bb-dn-cta-h2 { font-size: 20px; }
    .bb-dn-cta-btn { display: block; text-align: center; }
}