/* ════════════════════════════════════════════
   Hero Header V2 — Cinematic Split — scw-hh2
   ════════════════════════════════════════════ */

.scw-hh2 {
    position: relative;
    background: linear-gradient(
        var(--scw-hh2-bg-angle, 135deg),
        var(--scw-hh2-bg-start, #0A0A0F),
        var(--scw-hh2-bg-end, #12121A)
    );
    padding: 0 0 100px;
    overflow: hidden;
    font-family: var(--scw-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

/* ── Inner layout: two-column split ── */
.scw-hh2__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 85vh;
    align-items: center;
}

/* Full-width centered when no images */
.scw-hh2--no-images .scw-hh2__inner {
    grid-template-columns: 1fr;
    max-width: 800px;
    text-align: center;
    min-height: 60vh;
    padding: 80px 40px;
}

/* ── Left column: text content ── */
.scw-hh2__content {
    display: flex;
    flex-direction: column;
    padding: 80px 60px 80px 80px;
    position: relative;
    z-index: 2;
}

.scw-hh2--no-images .scw-hh2__content {
    align-items: center;
    padding: 0;
}

/* Tagline */
.scw-hh2__tagline {
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--scw-hh2-tagline-color, #FF3B6E);
    margin-bottom: 24px;
    font-weight: 600;
}

/* Title */
.scw-hh2__title {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--scw-hh2-heading-color, #F5F5F7);
    margin: 0 0 24px;
}

.scw-hh2__accent {
    color: var(--scw-hh2-accent, #FF3B6E);
}

/* Description */
.scw-hh2__desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--scw-hh2-desc-color, #8A8A9A);
    margin: 0 0 40px;
    max-width: 440px;
}

/* ── CTA row ── */
.scw-hh2__cta-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.scw-hh2--no-images .scw-hh2__cta-row {
    justify-content: center;
}

/* Primary CTA button */
.scw-hh2__cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: var(--scw-hh2-cta-bg, #FF3B6E);
    color: var(--scw-hh2-cta-color, #ffffff);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.scw-hh2__cta-primary:hover {
    background: var(--scw-hh2-cta-hover, #E0245E);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 59, 110, 0.35);
}

.scw-hh2__cta-primary:active {
    transform: translateY(0);
}

/* Secondary CTA link */
.scw-hh2__cta-secondary {
    color: var(--scw-hh2-secondary-color, #8A8A9A);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.scw-hh2__cta-secondary:hover {
    color: var(--scw-hh2-secondary-hover, #F5F5F7);
}

/* ── Stats row ── */
.scw-hh2__stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--scw-hh2-stats-border, rgba(255, 255, 255, 0.06));
    flex-wrap: wrap;
}

.scw-hh2--no-images .scw-hh2__stats {
    justify-content: center;
}

.scw-hh2__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.scw-hh2__stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--scw-hh2-stat-num-color, #FF3B6E);
    letter-spacing: -0.02em;
    line-height: 1;
}

.scw-hh2__stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--scw-hh2-stat-lbl-color, #8A8A9A);
}

/* ── Right column: image grid ── */
.scw-hh2__media {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: stretch;
}

/* Gradient bleed from left panel over right */
.scw-hh2__media::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 160px;
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--scw-hh2-bg-start, #0A0A0F),
        transparent
    );
    z-index: 4;
    pointer-events: none;
}

/* ── Image grid — 3×2 mosaic ── */
.scw-hh2__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    padding: 6px;
    width: 100%;
}

.scw-hh2__img-cell {
    position: relative;
    overflow: hidden;
    border-radius: var(--scw-hh2-img-radius, 8px);
}

.scw-hh2__img-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    will-change: transform;
}

.scw-hh2__img-cell:hover img {
    transform: scale(1.05);
}

/* Gradient overlay on each cell */
.scw-hh2__img-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 15, 0.5) 100%);
    pointer-events: none;
}

/* ── Live badge ── */
.scw-hh2__live-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
    color: #F5F5F7;
}

.scw-hh2__live-dot {
    width: 7px;
    height: 7px;
    background: #22C55E;
    border-radius: 50%;
    animation: scwHh2LivePulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes scwHh2LivePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* ── Bottom curve SVG ── */
.scw-hh2__curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
    pointer-events: none;
    z-index: 5;
}

.scw-hh2__curve svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ── Fade-in animations ── */
@keyframes scwHh2FadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.scw-hh2__tagline  { animation: scwHh2FadeInUp 0.7s ease both 0.1s; }
.scw-hh2__title    { animation: scwHh2FadeInUp 0.7s ease both 0.2s; }
.scw-hh2__desc     { animation: scwHh2FadeInUp 0.7s ease both 0.35s; }
.scw-hh2__cta-row  { animation: scwHh2FadeInUp 0.7s ease both 0.5s; }
.scw-hh2__stats    { animation: scwHh2FadeInUp 0.7s ease both 0.65s; }

/* ════════════════════════════════════════════
   Responsive — Tablet (≤ 1024px)
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .scw-hh2__inner {
        min-height: 70vh;
    }

    .scw-hh2__content {
        padding: 60px 40px 60px 48px;
    }

    .scw-hh2__title {
        font-size: clamp(34px, 4.5vw, 52px);
    }

    .scw-hh2__desc {
        font-size: 16px;
    }

    .scw-hh2__stats {
        gap: 32px;
    }

    .scw-hh2__stat-num {
        font-size: 24px;
    }

    .scw-hh2__media::before {
        width: 100px;
    }
}

/* ════════════════════════════════════════════
   Responsive — Mobile (≤ 768px)
   ════════════════════════════════════════════ */
@media (max-width: 768px) {
    .scw-hh2 {
        padding: 0 0 80px;
    }

    .scw-hh2__inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .scw-hh2__content {
        padding: 48px 24px 36px;
        text-align: center;
        align-items: center;
    }

    .scw-hh2__desc {
        max-width: 100%;
    }

    .scw-hh2__cta-row {
        justify-content: center;
    }

    .scw-hh2__stats {
        justify-content: center;
        gap: 28px;
    }

    .scw-hh2__stat {
        align-items: center;
    }

    /* Media panel stacks below */
    .scw-hh2__media {
        min-height: auto;
        aspect-ratio: 3 / 2;
    }

    .scw-hh2__media::before {
        display: none;
    }

    /* Add top gradient bleed on mobile instead */
    .scw-hh2__media::after {
        content: '';
        position: absolute;
        top: -1px;
        left: 0;
        right: 0;
        height: 80px;
        background: linear-gradient(
            180deg,
            var(--scw-hh2-bg-end, #12121A),
            transparent
        );
        z-index: 4;
        pointer-events: none;
    }

    .scw-hh2__grid {
        height: 100%;
    }

    .scw-hh2__curve svg {
        height: 50px;
    }
}

/* ════════════════════════════════════════════
   Responsive — Small mobile (≤ 480px)
   ════════════════════════════════════════════ */
@media (max-width: 480px) {
    .scw-hh2 {
        padding: 0 0 64px;
    }

    .scw-hh2__content {
        padding: 36px 16px 28px;
    }

    .scw-hh2__tagline {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .scw-hh2__title {
        font-size: 32px;
    }

    .scw-hh2__desc {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .scw-hh2__cta-row {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .scw-hh2__cta-primary {
        width: 100%;
        padding: 16px 32px;
        font-size: 14px;
    }

    .scw-hh2__stats {
        gap: 20px;
        margin-top: 36px;
        padding-top: 28px;
    }

    .scw-hh2__stat-num {
        font-size: 22px;
    }

    .scw-hh2__stat-label {
        font-size: 12px;
    }

    .scw-hh2__media {
        aspect-ratio: 4 / 3;
    }

    .scw-hh2__grid {
        gap: 4px;
        padding: 4px;
    }

    .scw-hh2__live-badge {
        padding: 4px 8px;
        font-size: 10px;
        bottom: 8px;
        left: 8px;
    }

    .scw-hh2__live-dot {
        width: 5px;
        height: 5px;
    }

    .scw-hh2__curve svg {
        height: 36px;
    }
}
