/* ==========================================================================
   Section 6 — ลดต้นทุน / เพิ่ม productivity คือหนึ่งทางรอด (.bp-section-6)
   3 beats stacked vertically:
     Beat 1 — McKinsey quote (left) + money-bag columns (right)
     Beat 2 — BCG stat (left) + pie chart with callout (right)
     Beat 3 — conclusion + glass CTA (centered)
   ========================================================================== */

.bp-section-6 .bp-section-6__inner {
    width: 100%;
    max-width: 1320px;
    padding: 80px 48px;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

/* --- Shared beat text ----------------------------------------------------- */
.bp-section-6__beat { color: #ffffff; }
.bp-section-6__text {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
}

/* --- Beat 1 & 2: 2-column grid (text left, visual right) ----------------- */
.bp-section-6__beat--1,
.bp-section-6__beat--2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
}

/* --- Money-bag columns ---------------------------------------------------- */
.bp-section-6__bags {
    display: flex;
    align-items: stretch;
    gap: 24px;
}
.bp-section-6__bag-col {
    display: flex;
    flex-direction: column;
    text-align: center;
    color: #ffffff;
}
.bp-section-6__bag-label {
    display: block;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 14px;
    color: #ffffff;
}
.bp-section-6__bag-col .bp-section-6__bag-grid { margin-top: auto; }
.bp-section-6__accent-red   { color: #F85457; font-weight: 700; }
.bp-section-6__accent-green { color: #4CAF50; font-weight: 700; }

.bp-section-6__bag-grid {
    display: grid;
    gap: 6px 10px;
    justify-content: center;
}
.bp-section-6__bag-grid--four { grid-template-columns: repeat(2, auto); }
.bp-section-6__bag-grid--six  { grid-template-columns: repeat(2, auto); } /* 2 cols × 3 rows */

.bp-section-6__bag {
    width: 44px;
    height: auto;
    object-fit: contain;
    display: block;
}

.bp-section-6__bag-divider {
    width: 1px;
    align-self: stretch;
    background: #FFFFFF;
    margin: 24px 4px 0;
}

/* --- Pie (self-contained SVG with leader line + label) ------------------- */
.bp-section-6__pie {
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
    margin-left: auto;
}

/* --- Beat 3: conclusion --------------------------------------------------- */
.bp-section-6__beat--3 {
    text-align: center;
    margin-top: 16px;
}
.bp-section-6__intro {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.5;
}
.bp-section-6__hl {
    color: #E01C24;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.3;
}
.bp-section-6__outro {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 0 32px;
    line-height: 1.5;
}
.bp-section-6__cta {
    min-width: 220px;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 14px 40px;
}

/* --- Tablet --------------------------------------------------------------- */
@media (max-width: 1024px) {
    .bp-section-6 .bp-section-6__inner { padding: 64px 32px; gap: 44px; }
    .bp-section-6__pie { max-width: 380px; }
    .bp-section-6__intro { font-size: 1.25rem; }
    .bp-section-6__hl { font-size: 1.8rem; }
    .bp-section-6__outro { font-size: 1.1rem; }
}

/* --- Mobile: stack each beat vertically, text on top ---------------------- */
@media (max-width: 768px) {
    .bp-section-6 .bp-section-6__inner { padding: 40px 20px; gap: 28px; }
    .bp-section-6__text { font-size: 0.82rem; text-align: center; }
    /* Beat 3 moves to .bp-section-6b on mobile */
    .bp-section-6__beat--3 { display: none; }

    .bp-section-6__beat--1,
    .bp-section-6__beat--2 {
        grid-template-columns: 1fr;
        gap: 28px;
        justify-items: center;
    }
    .bp-section-6__beat--1 { gap: 14px; }
    .bp-section-6__beat--2 { gap: 16px; }

    .bp-section-6__bags { justify-content: center; }
    .bp-section-6__bag { width: 36px; }
    .bp-section-6__bag-label { font-size: 0.8rem; margin-bottom: 8px; }

    .bp-section-6__pie { max-width: 240px; margin: 0 auto; }

    .bp-section-6__intro { font-size: 1.05rem; }
    .bp-section-6__hl { font-size: 1.35rem; }
    .bp-section-6__outro { font-size: 1rem; margin-bottom: 24px; }
    .bp-section-6__cta { min-width: 180px; font-size: 1.05rem; padding: 12px 28px; }
}
