/* ==========================================================================
   Banner 2026 — homepage hero (2026-07 redesign)
   Light two-column hero card: static marketing copy on the left, the
   dynamic banner_home() swiper carousel on the right, matching the new
   homepage mockup. Scoped under body.site2026 .hero2026-card so it never
   touches any other page.
   ========================================================================== */

body.site2026 .hero2026-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(120deg, #F0F9FF 0%, #EFF6FF 55%, #EEF2FF 100%);
    border: 1px solid #E0F2FE;
    padding: 28px;
    margin: 20px 0 32px;
}

html[data-theme="dark"] body.site2026 .hero2026-card {
    background: linear-gradient(120deg, #101a30 0%, #131b33 100%);
    border-color: var(--n-line-dark);
}

body.site2026 .hero2026-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}

@media (min-width: 768px) {
    body.site2026 .hero2026-grid {
        grid-template-columns: 7fr 5fr;
        gap: 32px;
    }
}

/* -------- Left: copy -------- */
body.site2026 .hero2026-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: color-mix(in srgb, var(--white) 80%, transparent);
    border: 1px solid color-mix(in srgb, var(--yellow-primary) 35%, transparent);
    color: var(--yellow-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 100px;
    box-shadow: 0 2px 6px color-mix(in srgb, var(--yellow-primary) 15%, transparent);
}

html[data-theme="dark"] body.site2026 .hero2026-badge {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--n-line-dark);
    color: color-mix(in srgb, var(--yellow-primary) 70%, white);
}

body.site2026 .hero2026-badge i {
    color: #F59E0B;
}

body.site2026 .hero2026-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: clamp(26px, 4.4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #0F172A;
    margin: 16px 0 12px;
}

html[data-theme="dark"] body.site2026 .hero2026-title {
    color: #fff;
}

body.site2026 .hero2026-title-grad {
    background: linear-gradient(90deg, var(--yellow-primary), color-mix(in srgb, var(--yellow-primary) 60%, #4F46E5));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.site2026 .hero2026-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
    max-width: 520px;
    margin: 0 0 22px;
}

html[data-theme="dark"] body.site2026 .hero2026-desc {
    color: rgba(255, 255, 255, 0.65);
}

body.site2026 .hero2026-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body.site2026 .hero2026-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

body.site2026 .hero2026-btn-solid {
    color: #fff;
    background: linear-gradient(90deg, var(--yellow-primary), color-mix(in srgb, var(--yellow-primary) 65%, #2563EB));
    box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--yellow-primary) 70%, transparent);
}

body.site2026 .hero2026-btn-solid:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -10px color-mix(in srgb, var(--yellow-primary) 80%, transparent);
}

body.site2026 .hero2026-btn-ghost {
    color: #334155;
    background: var(--white);
    border: 1px solid #E2E8F0;
}

html[data-theme="dark"] body.site2026 .hero2026-btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--n-line-dark);
}

body.site2026 .hero2026-btn-ghost:hover {
    color: #334155;
    background: #F8FAFC;
    transform: translateY(-2px);
}

/* -------- Right: carousel -------- */
body.site2026 .hero2026-carousel {
    position: relative;
}

body.site2026 .hero2026-carousel .swiperBanner {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px -18px rgba(2, 44, 87, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

body.site2026 .hero2026-carousel .swiper-slide.banner {
    width: 100% !important;
    height: 100%;
    opacity: 1 !important;
    filter: none !important;
}

body.site2026 .hero2026-carousel .banner-img,
body.site2026 .hero2026-carousel .swiper-slide.banner {
    width: 100%;
    height: 100%;
}

body.site2026 .hero2026-carousel .banner-img img,
body.site2026 .hero2026-carousel .swiper-slide.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.site2026 .hero2026-carousel .swiperBanner-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

body.site2026 .hero2026-carousel .swiperBanner-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
    transition: width 0.2s ease, background 0.2s ease;
}

body.site2026 .hero2026-carousel .swiperBanner-pagination .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 6px;
    background: #fff;
}

body.site2026 .hero2026-carousel .swiperBanner-next,
body.site2026 .hero2026-carousel .swiperBanner-prev {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: #0F172A;
    font-size: 13px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

body.site2026 .hero2026-carousel:hover .swiperBanner-next,
body.site2026 .hero2026-carousel:hover .swiperBanner-prev {
    opacity: 1;
}

body.site2026 .hero2026-carousel .swiperBanner-next:hover,
body.site2026 .hero2026-carousel .swiperBanner-prev:hover {
    background: #fff;
}

body.site2026 .hero2026-carousel .swiperBanner-next.swiper-button-disabled,
body.site2026 .hero2026-carousel .swiperBanner-prev.swiper-button-disabled {
    opacity: 0 !important;
    pointer-events: none;
}

body.site2026 .hero2026-carousel .swiperBanner-next { right: 10px; }
body.site2026 .hero2026-carousel .swiperBanner-prev { left: 10px; }

@media (max-width: 767.98px) {
    body.site2026 .hero2026-card { padding: 20px; border-radius: 20px; }
    body.site2026 .hero2026-carousel .swiperBanner-next,
    body.site2026 .hero2026-carousel .swiperBanner-prev {
        display: none;
    }
}