/**
 * Homepage hero split — classic left, compact 3-project mosaic right
 */
.hero.hero--split26 {
    position: relative;
    overflow: hidden;
    padding: clamp(5.25rem, 9vw, 7rem) 0 clamp(2.75rem, 5vw, 4rem);
    background: var(--bg-dark, #0a0a0f) !important;
    min-height: unset;
    display: block;
}

.hero.hero--split26 .hs26-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 45% at 12% 20%, rgba(107, 184, 50, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 88% 70%, rgba(107, 184, 50, 0.05) 0%, transparent 50%);
}

.hero.hero--split26 .hs26-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding-left: clamp(1.25rem, 3vw, 2.5rem);
    padding-right: clamp(1.25rem, 3vw, 2.5rem);
    position: relative;
    z-index: 1;
}

.hs26-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 2.75rem);
    align-items: center;
}

.hs26-copy {
    min-width: 0;
}

.hero.hero--split26 .hero-badge {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(143, 191, 90, 0.45);
    color: #8fbf5a;
    background: rgba(107, 184, 50, 0.08);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.hero.hero--split26 .hs26-title {
    margin: 0 0 1rem;
    font-size: clamp(1.9rem, 4vw, 2.85rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-light, #F5F1E6);
}

.hero.hero--split26 .highlight-green {
    color: #8fbf5a !important;
    background: none !important;
    -webkit-text-fill-color: #8fbf5a !important;
}

.hero.hero--split26 .hs26-lead {
    margin: 0 0 1.4rem;
    max-width: 34rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(245, 241, 230, 0.78);
    text-align: left !important;
}

.hero.hero--split26 .hs26-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.hero.hero--split26 .hs26-actions .btn-primary {
    background: #6bb832 !important;
    color: #0a0a0f !important;
    border: 1px solid rgba(107, 184, 50, 0.4);
    box-shadow: 0 8px 22px rgba(107, 184, 50, 0.18);
}

.hero.hero--split26 .hs26-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1.5px solid rgba(143, 191, 90, 0.35) !important;
    color: #F5F1E6 !important;
}

.hs26-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.35rem;
}

.hs26-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(245, 241, 230, 0.72);
    font-size: 0.9rem;
}

.hs26-feature svg {
    color: #8fbf5a;
    flex-shrink: 0;
}

/* RIGHT — stacked mosaic (~half page width) */
.hs26-visual {
    position: relative;
    min-width: 0;
    width: 100%;
    max-width: none;
    margin: 0;
}

.hs26-mosaic {
    position: relative;
    height: clamp(320px, 38vw, 460px);
    perspective: 1100px;
    overflow: hidden;
    isolation: isolate;
}

.hs26-card {
    position: absolute;
    left: 6%;
    right: 6%;
    top: 5%;
    bottom: 10%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(245, 241, 230, 0.14);
    background: #12141a;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    text-decoration: none !important;
    color: inherit;
    transform-origin: 50% 80%;
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.3s ease,
        z-index 0s;
    will-change: transform, opacity;
}

/* Depth stack defaults */
.hs26-card[data-hs26-card="0"] {
    z-index: 3;
    transform: translate3d(0, 0, 0) rotate(-1.5deg) scale(1);
    opacity: 1;
}

.hs26-card[data-hs26-card="1"] {
    z-index: 2;
    transform: translate3d(8%, -4%, 0) rotate(3.5deg) scale(0.9);
    opacity: 0.88;
}

.hs26-card[data-hs26-card="2"] {
    z-index: 1;
    transform: translate3d(-7%, 4%, 0) rotate(-4.5deg) scale(0.84);
    opacity: 0.72;
}

.hs26-card.is-focus {
    z-index: 5 !important;
    opacity: 1 !important;
    border-color: rgba(143, 191, 90, 0.45);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(107, 184, 50, 0.12);
    transform: translate3d(0, -2%, 0) rotate(0deg) scale(1.02) !important;
}

.hs26-card.is-back-a {
    z-index: 2;
    opacity: 0.85;
    transform: translate3d(9%, -3%, 0) rotate(4deg) scale(0.88);
}

.hs26-card.is-back-b {
    z-index: 1;
    opacity: 0.7;
    transform: translate3d(-8%, 5%, 0) rotate(-5deg) scale(0.82);
}

.hs26-card:hover.is-focus {
    transform: translate3d(0, -3%, 0) rotate(0deg) scale(1.03) !important;
}

.hs26-card__chrome {
    display: flex;
    gap: 5px;
    padding: 0.5rem 0.7rem;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(245, 241, 230, 0.08);
}

.hs26-card__chrome span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(245, 241, 230, 0.22);
}

.hs26-card__chrome span:first-child { background: rgba(255, 95, 87, 0.75); }
.hs26-card__chrome span:nth-child(2) { background: rgba(255, 189, 46, 0.75); }
.hs26-card__chrome span:nth-child(3) { background: rgba(40, 200, 64, 0.75); }

.hs26-card__media {
    flex: 1 1 auto;
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
    background: #0a0a0f;
}

.hs26-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.7s ease;
}

.hs26-card.is-focus .hs26-card__media img {
    transform: scale(1.03);
}

.hs26-card__meta {
    display: grid;
    gap: 0.2rem;
    flex: 0 0 auto;
    padding: 0.7rem 0.9rem 0.8rem;
    background: linear-gradient(180deg, rgba(18, 20, 26, 0.95), rgba(10, 10, 15, 0.98));
}

.hs26-card__meta em {
    font-style: normal;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8fbf5a;
}

.hs26-card__meta strong {
    font-size: 0.98rem;
    font-weight: 700;
    color: #F5F1E6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hs26-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
    position: relative;
    z-index: 6;
}

.hs26-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(245, 241, 230, 0.25);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hs26-dot.is-active {
    width: 22px;
    background: #8fbf5a;
}

.hs26-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    position: relative;
    z-index: 6;
    width: 100%;
    margin-top: 0.65rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #8fbf5a;
    text-decoration: none;
}

.hs26-more:hover {
    color: #a5d06f;
    text-decoration: underline;
}

/* Gentle float on the whole stack */
@keyframes hs26Float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.hs26-mosaic {
    animation: hs26Float 6s ease-in-out infinite;
}

@media (max-width: 968px) {
    .hs26-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .hs26-visual {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .hs26-mosaic {
        height: clamp(260px, 55vw, 340px);
    }
}

@media (max-width: 560px) {
    .hero.hero--split26 {
        padding-top: 5rem;
    }

    .hs26-visual {
        max-width: 100%;
    }

    .hs26-mosaic {
        height: clamp(230px, 62vw, 280px);
    }
}

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

    .hs26-card,
    .hs26-card__media img,
    .hs26-dot {
        transition: none;
    }
}
