/* ============================================
   InnovationLand® — Hero Slider (Advanced Layout)
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    min-height: 85vh;
    background-color: var(--color-off-white);
    overflow: hidden;
    display: flex;
}

.hero__slider {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero__track {
    display: flex;
    height: 100%;
    transition: transform 0.7s var(--ease-in-out);
    will-change: transform;
}

.hero__slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    min-height: 85vh;
    display: grid;
    /* 
       4-Column Master Grid: 
       [1] Left Margin (flexible) 
       [2] Left Content (up to 640px) 
       [3] Right Content (up to 640px) 
       [4] Right Margin + Bleed (flexible)
    */
    grid-template-columns:
        minmax(var(--space-6), 1fr) minmax(0, calc(var(--container-max) / 2)) minmax(0, calc(var(--container-max) / 2)) minmax(var(--space-6), 1fr);
    align-items: stretch;
}

.hero__content {
    grid-column: 2;
    /* Aligns with the left half of the container */
    padding: var(--space-20) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.hero__image {
    grid-column: 3 / 5;
    /* Spans from the center point to the right edge of the screen */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
}

.hero__image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-black) 0%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}

.hero__title {
    font-size: var(--fs-5xl);
    font-weight: var(--fw-bold);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--color-black);
}

.hero__title em {
    font-style: normal;
    color: var(--color-accent);
}

.hero__desc {
    font-size: var(--fs-md);
    color: var(--color-dark-gray);
    line-height: var(--lh-loose);
    margin-bottom: var(--space-8);
    max-width: 520px;
}

.hero__actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero__graphic {
    width: 80%;
    height: 60%;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(217, 38, 38, 0.2) 0%, rgba(217, 38, 38, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero__graphic::before {
    content: '';
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0.3;
    animation: pulse 3s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.15;
    }
}

/* ── Slider Controls ──────────────────────── */
.hero__controls {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--container-max);
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    pointer-events: none;
    z-index: 10;
}

.hero__dots,
.hero__progress {
    pointer-events: auto;
}

.hero__dots {
    display: flex;
    gap: var(--space-2);
}

.hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-mid-gray);
    border: none;
    cursor: pointer;
    transition: all var(--duration-fast);
    padding: 0;
}

.hero__dot.is-active {
    background: var(--color-accent);
    width: 32px;
    border-radius: var(--radius-full);
}

.hero__progress {
    width: 120px;
    height: 3px;
    background: var(--color-light-gray);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.hero__progress-bar {
    height: 100%;
    width: 0%;
    background: var(--color-accent);
    border-radius: var(--radius-full);
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1200px) {
    .hero__title {
        font-size: var(--fs-4xl);
    }
}

@media (max-width: 1024px) {
    .hero {
        min-height: auto;
    }

    .hero__slide {
        display: flex;
        flex-direction: column;
        min-height: auto;
        padding-bottom: var(--space-16);
    }

    .hero__content {
        padding: var(--space-20) var(--space-6) var(--space-8);
        text-align: center;
        align-items: center;
    }

    .hero__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__image {
        width: 100%;
        min-height: 300px;
        padding: 0 var(--space-6);
    }

    .hero__image-wrapper {
        height: 300px;
        border-radius: var(--radius-lg);
    }

    .hero__controls {
        bottom: var(--space-6);
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: var(--fs-2xl);
    }

    .hero__desc {
        font-size: var(--fs-sm);
    }

    .hero__image {
        min-height: 220px;
    }

    .hero__image-wrapper {
        height: 220px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 300px;
    }
}