/* === safety-core.css === */

.sc-section {
    background: linear-gradient(180deg, #597887 0%, #1b4056 100%);
    width: 100%;
    height: 800px;
    overflow: hidden;
    position: relative;
}

/* ── Text content ────────────────────────────────────────── */
.sc-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 40px 0;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.sc-heading {
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
    line-height: 60px;
    margin: 0 0 28px;
}

.sc-body {
    font-size: 20px;
    line-height: 28px;
    color: #f2f2f2;
    margin: 0 0 36px;
    max-width: 1150px;
    text-align: center;
}

/* ── Know More button ────────────────────────────────────── */
.sc-btn {
    display: inline-block;
    background: #0a2e38;
    color: #f2f2f2;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 16px 48px;
    border-radius: 40px;
    text-decoration: none;
    border: none;
    transition:
        background 0.25s,
        transform 0.2s;
}

.sc-btn:hover {
    background: #e8521a;
    transform: translateY(-2px);
}

/* ── Line-art GIF ────────────────────────────────────────── */
.sc-illustration {
    position: absolute;
    left: 1.8055555556%;
    top: 283px;
    width: 86.7605251736%;
    height: 678.4617px;
    max-width: none;
    padding: 0;
    margin: 0;
    line-height: 0;
    z-index: 2;
}

.sc-illustration img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    /* multiply removes the dark/black background from GIF —
       black pixels become transparent on the teal bg */
    mix-blend-mode: lighten;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 767px) {
    /* fit the section to its content and drop the line-art into flow at the bottom so it
       meets the next section instead of leaving an empty teal band below it */
    .sc-section {
        height: auto;
    }
    .sc-content {
        padding: 50px 28px 20px;
    }
    .sc-heading {
        font-size: 1.3rem;
    }
    .sc-body {
        font-size: 0.9rem;
    }
    .sc-illustration {
        position: relative;
        left: 0;
        top: auto;
        width: 100%;
        height: auto;
        margin-top: 8px;
    }
}

.svg-wrapper {
    width: 100%;
    height: 100%;
}

.svg-wrapper .sc-diagram {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    mix-blend-mode: lighten;
}

/* Past the 16" cap the section background bleeds full-width,
   but the line-art fills its %-width box (object-fit:fill), so it would stretch.
   Pin it back to its 16" size and position (86.76% × 1.8% of the 1440 design) so
   it stays exactly as on a normal screen while the gradient still fills. */
@media (min-width: 1729px) {
    .sc-section {
        width: var(--bleed-w);
        margin-left: var(--bleed-left);
        margin-right: 0;
    }
    .sc-illustration {
        left: calc(var(--bleed-shift) + 26px);
        width: 1249px;
    }
}
