/* hrws360 — هيدرا: أبواب كاملة بدون قص + وضوح أعلى */
.nebras-hydra-stage {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    background:
        radial-gradient(ellipse 80% 60% at 50% 20%, rgba(28, 58, 92, 0.45), transparent 70%),
        linear-gradient(180deg, #0b1522 0%, #061018 55%, #040a12 100%);
    overflow: hidden;
}

.nebras-hydra-stage-doors {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(10px, 1.2vw, 18px);
    align-items: stretch;
    padding: clamp(14px, 2.4vw, 28px) clamp(14px, 2.6vw, 32px) 6px;
    min-height: 0;
    height: 100%;
}

.nebras-hydra-stage-door {
    margin: 0;
    position: relative;
    height: 100%;
    min-height: clamp(220px, 36vw, 460px);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(19, 37, 54, 0.35) 0%, rgba(10, 21, 32, 0.55) 100%);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
}

.nebras-hydra-stage-door img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
    filter: contrast(1.06) saturate(1.05) brightness(1.02);
    transition: transform 0.45s ease, filter 0.45s ease;
    transform-origin: bottom center;
}

.nebras-hydra-stage-door:hover img {
    transform: scale(1.04);
    filter: contrast(1.08) saturate(1.07) brightness(1.03);
}

.nebras-hydra-stage-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px 16px;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(4, 10, 18, 0.72));
}

.nebras-hydra-brand {
    margin: 0;
    font-family: "Cairo", "Tajawal", sans-serif;
    font-weight: 800;
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    letter-spacing: 0.04em;
    color: #f4f7fb;
}

.nebras-hydra-line {
    margin: 0;
    font-family: "Cairo", "Tajawal", sans-serif;
    font-size: clamp(0.82rem, 1.5vw, 1.05rem);
    color: rgba(220, 230, 240, 0.88);
    max-width: 36rem;
}

.hero-slide--hydra-stage {
    background: #061018;
}

.hero.hero-real.hero--hydra-stage {
    min-height: clamp(360px, 50vw, 540px);
    height: clamp(360px, 50vw, 540px);
}

body.nebras-hero-hydra-stage .hero-copy,
body.nebras-hero-hydra-stage .hero-mobile-panel {
    opacity: 0.18;
    pointer-events: none;
}

body.nebras-hero-hydra-stage .hero-dynamic-headline-wrap {
    opacity: 0;
}

body.nebras-hero-hydra-stage .hero.hero-real.hero--hydra-stage::before {
    opacity: 0.1;
}

/* هيدرا قديمة (كولاج مربع) — غطِّ العرض بدل فراغ contain */
.hero-slide--hydra-full .hero-slide-img {
    object-fit: cover !important;
    object-position: center center !important;
    padding: 0 !important;
}

.hero.hero-real.hero--hydra-full {
    min-height: clamp(380px, calc(100dvh - var(--nebras-chrome-h, 420px)), 720px);
    height: clamp(380px, calc(100dvh - var(--nebras-chrome-h, 420px)), 720px);
}

@media (max-width: 900px) {
    .nebras-hydra-stage-doors {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .nebras-hydra-stage-door:nth-child(n + 4) {
        display: none;
    }
    .nebras-hydra-stage-door {
        min-height: clamp(220px, 52vw, 380px);
    }
    .hero.hero-real.hero--hydra-stage {
        min-height: clamp(340px, 82vw, 500px);
        height: clamp(340px, 82vw, 500px);
    }
}

@media (max-width: 520px) {
    .nebras-hydra-stage-doors {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .nebras-hydra-stage-door:nth-child(n + 3) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nebras-hydra-stage-door img,
    .nebras-hydra-stage-door:hover img {
        transition: none;
        transform: none;
    }
}
