/**
 * NEOXWEB — Premium hero (home + ALL pages)
 * Text left · bg image right (large) · particles bottom→top
 */

.neoxweb-site .hero-section--premium,
.neoxweb-site .hero-section--premium-home,
.neoxweb-site .web-hero.hero-section--premium {
    position: relative;
    min-height: min(88vh, 820px);
    display: flex;
    align-items: stretch;
    padding: 0 !important;
    margin: 0;
    background: #050806 !important;
    overflow: hidden;
}

.neoxweb-site .hero-section--premium .hero-tech-bg,
.neoxweb-site .hero-section--premium-home .hero-tech-bg,
.neoxweb-site .web-hero.hero-section--premium .hero-tech-bg {
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    background: #050806;
}

/* Large background image — right side (original home style) */
.neoxweb-site .hero-section--premium .hero-tech-bg img,
.neoxweb-site .hero-section--premium-home .hero-tech-bg img,
.neoxweb-site .web-hero.hero-section--premium .hero-tech-bg img {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    min-width: 108%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: top right;
    transform: scale(1.04);
    transform-origin: top right;
    display: block;
}

.neoxweb-site .hero-section--premium .hero-bg-overlay,
.neoxweb-site .hero-section--premium-home .hero-bg-overlay,
.neoxweb-site .web-hero.hero-section--premium .hero-bg-overlay {
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.72) 36%, rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0.08) 72%, transparent 85%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 45%, rgba(0, 0, 0, 0.45) 100%);
}

.neoxweb-site .hero-section--premium .hero-particles-canvas,
.neoxweb-site .hero-section--premium-home .hero-particles-canvas,
.neoxweb-site .web-hero.hero-section--premium .hero-particles-canvas {
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.78;
}

.neoxweb-site .hero-section--premium .svc-banner-hero__bg,
.neoxweb-site .hero-section--premium .svc-banner-hero__overlay {
    display: none !important;
}

.neoxweb-site .hero-section--premium .hero-globe-orbit,
.neoxweb-site .hero-section--premium .nx-page-hero__particles,
.neoxweb-site .hero-section--premium-home .hero-globe-orbit {
    display: none !important;
}

/* Content grid — text left */
.neoxweb-site .hero-section--premium .hero-grid--bg,
.neoxweb-site .hero-section--premium-home .hero-grid--bg,
.neoxweb-site .hero-section--premium .nx-page-hero__inner,
.neoxweb-site .hero-section--premium .cs-container.nx-page-hero__inner,
.neoxweb-site .hero-section--premium .contact-hero-premium__inner,
.neoxweb-site .hero-section--premium .svc-banner-hero__inner,
.neoxweb-site .hero-section--premium .svc-banner-hero__inner.hero-grid--bg,
.neoxweb-site .web-hero.hero-section--premium .web-hero-grid,
.neoxweb-site .web-hero.hero-section--premium .container {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: start;
    width: 100%;
    max-width: min(1280px, 100%);
    margin: 0 auto;
    padding: calc(var(--nav-h, 72px) + clamp(2rem, 5vw, 3.25rem)) clamp(1.25rem, 4vw, 2rem) clamp(2.25rem, 5vw, 3.5rem);
    min-height: min(88vh, 820px);
    text-align: left;
}

.neoxweb-site .hero-section--premium .hero-copy,
.neoxweb-site .hero-section--premium-home .hero-copy,
.neoxweb-site .hero-section--premium .nx-page-hero__inner > .hero-copy,
.neoxweb-site .hero-section--premium .contact-hero-premium__inner > .hero-copy,
.neoxweb-site .web-hero.hero-section--premium .web-hero-copy {
    max-width: min(580px, 92vw);
    text-align: left;
}

.neoxweb-site .hero-section--premium .hero-title,
.neoxweb-site .hero-section--premium-home .hero-title,
.neoxweb-site .hero-section--premium .nx-page-hero__inner h1,
.neoxweb-site .hero-section--premium .contact-hero-premium__inner h1,
.neoxweb-site .web-hero.hero-section--premium .web-hero-copy h1 {
    font-size: clamp(1.85rem, 4.5vw, 3.35rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
    text-align: left;
}

.neoxweb-site .hero-section--premium .hero-title-accent,
.neoxweb-site .hero-section--premium-home .hero-title-accent,
.neoxweb-site .hero-section--premium .nx-gradient-text,
.neoxweb-site .hero-section--premium .text-neox-green {
    color: #4ade80;
}

.neoxweb-site .hero-section--premium .hero-text,
.neoxweb-site .hero-section--premium-home .hero-text,
.neoxweb-site .hero-section--premium .nx-page-hero__lead,
.neoxweb-site .hero-section--premium .contact-hero-lead,
.neoxweb-site .hero-section--premium .web-hero-lead,
.neoxweb-site .hero-section--premium .svc-banner-hero__lead {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
    max-width: 34rem;
    margin: 1.15rem 0 0;
    text-align: left;
}

.neoxweb-site .hero-section--premium .section-tag,
.neoxweb-site .hero-section--premium-home .section-tag {
    margin-bottom: 0.75rem;
}

.neoxweb-site .hero-section--premium .hero-actions,
.neoxweb-site .hero-section--premium-home .hero-actions,
.neoxweb-site .hero-section--premium .web-hero-actions,
.neoxweb-site .hero-section--premium .svc-banner-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
    justify-content: flex-start;
}

/* Hide old side-image row inside premium hero */
.neoxweb-site .hero-section--premium .contact-hero-row__media,
.neoxweb-site .hero-section--premium .nx-page-hero-row .nx-portfolio-row__media,
.neoxweb-site .hero-section--premium .web-hero-visual {
    display: none !important;
}

.neoxweb-site .hero-section--premium.contact-page-hero,
.neoxweb-site .hero-section--premium.contact-page-hero.section-padding {
    padding: 0 !important;
}

@media (min-width: 1024px) {
    .neoxweb-site .hero-section--premium .hero-tech-bg img,
    .neoxweb-site .hero-section--premium-home .hero-tech-bg img {
        min-width: 105%;
        height: 100%;
        top: 0;
        object-position: top right;
    }
}

@media (max-width: 900px) {
    .neoxweb-site .hero-section--premium,
    .neoxweb-site .hero-section--premium-home,
    .neoxweb-site .web-hero.hero-section--premium {
        min-height: min(82vh, 720px);
    }

    .neoxweb-site .hero-section--premium .hero-tech-bg img,
    .neoxweb-site .hero-section--premium-home .hero-tech-bg img,
    .neoxweb-site .web-hero.hero-section--premium .hero-tech-bg img {
        min-width: 112%;
        object-position: top right;
        opacity: 0.65;
        transform: scale(1.02);
    }

    .neoxweb-site .hero-section--premium .hero-bg-overlay,
    .neoxweb-site .hero-section--premium-home .hero-bg-overlay {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.45) 100%);
    }

    .neoxweb-site .hero-section--premium .hero-grid--bg,
    .neoxweb-site .hero-section--premium-home .hero-grid--bg,
    .neoxweb-site .hero-section--premium .nx-page-hero__inner {
        min-height: min(82vh, 720px);
        align-items: end;
        padding-bottom: clamp(2rem, 5vw, 3rem);
    }
}

@media (max-width: 480px) {
    .neoxweb-site .hero-section--premium .hero-particles-canvas,
    .neoxweb-site .hero-section--premium-home .hero-particles-canvas {
        opacity: 0.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    .neoxweb-site .hero-section--premium .hero-particles-canvas,
    .neoxweb-site .hero-section--premium-home .hero-particles-canvas {
        opacity: 0.35;
    }
}
