/* ── Scenarios Page — scenarios.css ─────────────────────────────── */

/* ── Hero ────────────────────────────────────────────────────────── */
.scenarios-hero {
    background: linear-gradient(135deg, var(--cn-navy, #092c40) 0%, #0d4060 100%);
    padding: 64px 0 56px;
    text-align: center;
}
.scenarios-hero h1 {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px;
    letter-spacing: -.5px;
}
.scenarios-hero p {
    font-size: 16px;
    color: rgba(255,255,255,.72);
    margin: 0;
}

/* ── Cards section ───────────────────────────────────────────────── */
.sc-section {
    background: #f7f9fc;
    padding: 56px 0 80px;
}
.sc-grid {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

/* ── Card ────────────────────────────────────────────────────────── */
.sc-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(9,44,64,.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.sc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(9,44,64,.15);
}

/* ── Image area (top half) ───────────────────────────────────────── */
.sc-card__img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #0d3d56;
    flex-shrink: 0;
}
/* Background photo */
.sc-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--sc-bg, none);
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform .55s ease;
}
.sc-card:hover .sc-card__img::after {
    transform: scale(1.08);
}
/* Gradient overlay for readability */
.sc-card__img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(9,44,64,.15) 0%,
        rgba(9,44,64,.55) 100%
    );
    z-index: 1;
}
/* Icon — top-left of image */
.sc-card__icon {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
}
.sc-card__icon img {
    max-width: 48px;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,.5));
    transition: transform .3s ease;
}
.sc-card:hover .sc-card__icon img {
    transform: scale(1.1);
}

/* ── Text area (bottom half) ─────────────────────────────────────── */
.sc-card__body {
    padding: 24px 26px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.sc-card__title {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8edf2;
}
.sc-card__title--green  { color: #1ca865; }
.sc-card__title--blue   { color: var(--cn-blue, #00a1e9); }
.sc-card__title--silver { color: #6b8292; }

.sc-card__body p {
    font-size: 14px;
    line-height: 1.85;
    color: #4a5568;
    margin: 0 0 18px;
    flex: 1;
}

/* ── Button ──────────────────────────────────────────────────────── */
.sc-btn {
    display: inline-block;
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--cn-blue, #00a1e9) 0%, #0070a8 100%);
    border-radius: 6px;
    text-decoration: none;
    align-self: flex-start;
    transition: box-shadow .2s ease, transform .15s ease;
    box-shadow: 0 2px 8px rgba(0,161,233,.3);
}
.sc-btn:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,161,233,.45);
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .sc-grid { gap: 20px; }
}
@media (max-width: 768px) {
    .scenarios-hero    { padding: 48px 0 40px; }
    .scenarios-hero h1 { font-size: 28px; }
    .scenarios-hero p  { font-size: 14px; }
    .sc-section        { padding: 36px 0 56px; }
    .sc-grid           { grid-template-columns: 1fr; gap: 20px; }
    .sc-card__img      { height: 200px; }
}
@media (max-width: 480px) {
    .scenarios-hero h1  { font-size: 22px; }
    .sc-card__img       { height: 170px; }
    .sc-card__title     { font-size: 17px; }
    .sc-card__body p    { font-size: 13px; }
    .sc-card__body      { padding: 20px 20px 22px; }
}
