/* Inner page banner — full width premium */

.inner-banner {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: clamp(340px, 48vh, 460px);
    margin: 0;
    padding: calc(var(--header-height) + 40px) clamp(20px, 4vw, 48px) clamp(28px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    background: #f8f9fc;
    overflow: hidden;
    box-sizing: border-box;
}

.inner-banner__media {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    isolation: isolate;
}

.inner-banner__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 0;
}

.inner-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

.inner-banner__blobs {
    display: none;
}

.inner-banner__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.5;
    animation: innerBannerBlob 12s ease-in-out infinite;
}

.inner-banner__blob--1 {
    width: min(420px, 50vw);
    height: min(420px, 50vw);
    top: -20%;
    right: 10%;
    background: rgba(48, 67, 143, 0.18);
}

.inner-banner__blob--2 {
    width: min(320px, 40vw);
    height: min(320px, 40vw);
    bottom: -25%;
    left: -5%;
    background: rgba(232, 81, 38, 0.2);
    animation-delay: -4s;
}

@keyframes innerBannerBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-16px, 12px) scale(1.05); }
}

.inner-banner__wrap {
    position: relative;
    z-index: 5;
    isolation: isolate;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    min-height: clamp(240px, 32vh, 320px);
}

.inner-banner__center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(16px, 3vw, 32px) 0;
}

.inner-banner__title {
    position: relative;
    z-index: 2;
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 16px;
    opacity: 1;
    filter: none;
}

.inner-banner__title span {
    color: #ffffff;
}

.inner-banner .reveal-up {
    opacity: 1;
    transform: none;
    filter: none;
}

.inner-banner__subtitle {
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
}

.inner-banner__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 12px 22px 12px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #152347;
    background: #ffffff;
    border: 1px solid rgba(21, 35, 71, 0.14);
    border-radius: 100px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.inner-banner__back svg {
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.inner-banner__back:hover {
    transform: translateY(-3px);
    background: #ffffff;
    color: #0f1a36;
    border-color: rgba(232, 81, 38, 0.45);
    box-shadow:
        0 8px 28px rgba(232, 81, 38, 0.15),
        0 12px 32px rgba(0, 0, 0, 0.08);
}

.inner-banner__back:hover svg {
    transform: translateX(-4px);
}

/* Tablet & mobile */
@media (max-width: 991.98px) {
    .inner-banner {
        min-height: clamp(260px, 38vh, 360px);
        padding:
            calc(var(--header-height) + 18px)
            max(16px, env(safe-area-inset-right))
            22px
            max(16px, env(safe-area-inset-left));
    }

    .inner-banner__wrap {
        min-height: clamp(180px, 24vh, 260px);
        gap: 14px;
    }

    .inner-banner__center {
        padding: 10px 0;
    }

    .inner-banner__title {
        font-size: clamp(2rem, 7.5vw, 2.85rem);
        margin-bottom: 10px;
    }

    .inner-banner__img {
        object-position: center 35%;
    }
}

@media (max-width: 575.98px) {
    .inner-banner {
        min-height: clamp(230px, 42vh, 300px);
        padding:
            calc(var(--header-height) + 12px)
            max(14px, env(safe-area-inset-right))
            16px
            max(14px, env(safe-area-inset-left));
    }

    .inner-banner__wrap {
        min-height: 0;
        gap: 10px;
        justify-content: space-between;
    }

    .inner-banner__center {
        padding: 8px 0;
        flex: 1;
    }

    .inner-banner__title {
        font-size: clamp(1.75rem, 8.5vw, 2.15rem);
        letter-spacing: -0.03em;
        line-height: 1.1;
        margin-bottom: 0;
    }

    .inner-banner__back {
        align-self: flex-start;
        margin-top: auto;
        padding: 11px 18px 11px 14px;
        font-size: 0.8125rem;
        min-height: 44px;
        gap: 8px;
        white-space: nowrap;
        -webkit-tap-highlight-color: transparent;
    }

    .inner-banner__back svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 374.98px) {
    .inner-banner__title {
        font-size: 35px;;
    }

    .inner-banner__back {
        padding: 10px 14px 10px 12px;
        font-size: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inner-banner__blob {
        animation: none;
    }

    .inner-banner__back:hover {
        transform: none;
    }
}
