/* ============================================================
   Homepage — clean split hero with wave
   ============================================================ */

.pub-site--home .pub-header__shell {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.pub-site--home .pub-header.is-scrolled .pub-header__shell {
    background: rgba(255, 255, 255, 0.97);
}

/* ── Hero ── */
.pub-hero--premium {
    position: relative;
    min-height: calc(100vh - var(--pub-topbar-h));
    background: linear-gradient(135deg, #121d33 0%, #1a2744 50%, #243560 100%);
    overflow: hidden;
}

.pub-hero--premium .swiper,
.pub-hero--premium .swiper-wrapper,
.pub-hero--premium .swiper-slide {
    min-height: calc(100vh - var(--pub-topbar-h));
}

.pub-hero__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.pub-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.pub-hero__blob--1 {
    width: 360px;
    height: 360px;
    background: rgba(7, 191, 85, 0.3);
    top: 10%;
    right: -5%;
}

.pub-hero__blob--2 {
    width: 300px;
    height: 300px;
    background: rgba(76, 101, 173, 0.35);
    bottom: 20%;
    left: -5%;
}

.pub-hero--premium .pub-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.24;
    filter: blur(1px);
    transform: scale(1.04);
    animation: none;
}

.pub-hero--premium .pub-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(18, 29, 51, 0.86) 0%,
        rgba(26, 39, 68, 0.82) 50%,
        rgba(36, 53, 96, 0.86) 100%
    );
}

.pub-hero--premium .pub-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
    min-height: calc(100vh - var(--pub-topbar-h));
    padding-top: calc(var(--pub-topbar-h) + var(--pub-header-h) + 1.5rem);
    padding-bottom: 6rem;
}

.pub-hero--premium .pub-hero__content {
    max-width: 560px;
}

.pub-hero--premium .pub-hero__title {
    font-size: clamp(1.85rem, 4.2vw, 2.85rem);
    line-height: 1.35;
    margin: 0 0 1rem;
    font-weight: 700;
}

.pub-hero--premium .pub-gradient-text {
    display: block;
    margin-top: 0.25rem;
    background: linear-gradient(135deg, #a8c4ff 0%, #07bf55 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pub-hero--premium .pub-hero__subtitle {
    font-size: 1.02rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.75rem;
    max-width: 480px;
}

.pub-hero--premium .pub-hero__actions {
    margin-bottom: 1.5rem;
}

/* Highlights row — tidy stat pills */
.pub-hero__highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.pub-hero__highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 0.9rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    text-align: start;
}

.pub-hero__highlight-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(7, 191, 85, 0.15);
    color: var(--pub-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.pub-hero__highlight-body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.pub-hero__highlight-stat {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--pub-green);
    line-height: 1.2;
}

.pub-hero__highlight-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.pub-hero__highlight-body small {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

.pub-hero--premium .pub-hero__trust {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Visual — single clean image */
.pub-hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pub-hero__visual-frame {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1.05;
}

.pub-hero__visual-frame::before {
    content: '';
    position: absolute;
    inset: -8px -8px 8px 8px;
    border: 2px solid rgba(7, 191, 85, 0.35);
    border-radius: 2rem 2rem 2rem 5rem;
    z-index: 0;
}

.pub-hero__visual-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 2rem 2rem 2rem 5rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

/* Controls */
.pub-hero--premium .pub-hero__controls {
    position: absolute;
    bottom: 4.5rem;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 1.25rem;
}

.pub-hero--premium .pub-hero-pagination {
    position: static !important;
    width: auto !important;
}

.pub-hero--premium .swiper-pagination-bullet-active {
    background: var(--pub-green);
}

/* Wave */
.pub-hero__waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    line-height: 0;
    pointer-events: none;
}

.pub-hero__wave--front {
    display: block;
    width: 100%;
    height: 64px;
}

/* ── Quick cards ── */
.pub-hero-quick--float {
    margin-top: -2rem;
    position: relative;
    z-index: 20;
    padding-bottom: 1rem;
}

.pub-hero-quick--float .pub-hero-quick__card {
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 12px 40px rgba(26, 39, 68, 0.08);
    border: 1px solid var(--pub-border);
}

.pub-hero-quick--float .pub-hero-quick__icon {
    background: linear-gradient(135deg, var(--pub-blue), var(--pub-blue-dark));
    border-radius: 14px;
}

/* ── Stats ── */
.pub-stats-band--home {
    padding-top: 1.5rem;
    background: #fff;
}

.pub-stats-band--home .pub-stat {
    border-radius: 1rem;
    transition: transform 0.25s, box-shadow 0.25s;
}

.pub-stats-band--home .pub-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--pub-shadow);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .pub-hero--premium .pub-hero__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: start;
        padding-bottom: 5rem;
    }

    .pub-hero--premium .pub-hero__content {
        max-width: none;
    }

    .pub-hero--premium .pub-hero__subtitle {
        margin-inline: 0;
        max-width: none;
    }

    .pub-hero--premium .pub-hero__actions {
        justify-content: flex-start;
    }

    .pub-hero--premium .pub-hero__trust {
        justify-content: flex-start;
    }

    .pub-hero__highlights {
        grid-template-columns: repeat(3, 1fr);
        max-width: none;
    }

    .pub-hero__visual-frame {
        max-width: 340px;
        margin-inline: auto;
    }
}

@media (max-width: 767px) {
    .pub-site--home .pub-header {
        top: 0;
    }

    .pub-hero--premium,
    .pub-hero--premium .swiper,
    .pub-hero--premium .swiper-slide,
    .pub-hero--premium .pub-hero__grid {
        min-height: auto !important;
    }

    .pub-hero--premium .pub-hero__grid {
        padding-top: calc(var(--pub-header-h) + 0.85rem);
        padding-bottom: 3.75rem;
        gap: 0;
    }

    .pub-hero--premium .pub-hero__title {
        font-size: clamp(1.45rem, 6vw, 1.85rem);
        line-height: 1.4;
    }

    .pub-hero--premium .pub-hero__subtitle {
        font-size: 0.92rem;
        line-height: 1.75;
        margin-bottom: 1.25rem;
    }

    .pub-hero--premium .pub-hero__badge {
        font-size: 0.78rem;
        padding: 0.4rem 0.85rem;
    }

    .pub-hero__visual {
        display: none;
    }

    .pub-hero__highlights {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0.65rem;
        margin-inline: -1rem;
        padding-inline: 1rem;
        scrollbar-width: none;
        margin-bottom: 1.25rem;
    }

    .pub-hero__highlights::-webkit-scrollbar {
        display: none;
    }

    .pub-hero__highlight {
        flex: 0 0 min(72%, 220px);
        scroll-snap-align: start;
        padding: 0.75rem 0.8rem;
    }

    .pub-hero__highlight-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .pub-hero__highlight-stat {
        font-size: 1rem;
    }

    .pub-hero__highlight-title {
        font-size: 0.78rem;
    }

    .pub-hero__highlight-body small {
        font-size: 0.68rem;
    }

    .pub-hero--premium .pub-hero__actions {
        flex-direction: column;
        width: 100%;
        margin-bottom: 1.25rem;
    }

    .pub-hero--premium .pub-hero__actions .pub-btn {
        width: 100%;
    }

    .pub-hero--premium .pub-hero__trust {
        padding-top: 0.75rem;
        font-size: 0.85rem;
    }

    .pub-hero--premium .pub-hero__controls {
        bottom: 2.25rem;
        gap: 0.85rem;
    }

    .pub-hero__wave--front {
        height: 32px;
    }

    .pub-hero-quick--float {
        margin-top: 0;
        padding-top: 0.25rem;
    }
}

@media (max-width: 380px) {
    .pub-hero--premium .pub-hero__badge {
        font-size: 0.72rem;
    }

    .pub-hero__highlight {
        flex-basis: min(82%, 200px);
    }
}
