﻿.hero.ipx-main-hero-slider {
    position: relative;
    width: 100%;
    min-height: 620px;
    overflow: hidden;
    background: #111;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 760px;
    overflow: hidden;
}

.hero-image-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

    .hero-image-slides img {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 34%;
        opacity: 0;
        transform: scale(1.04);
        transition: opacity 900ms ease, transform 5000ms ease;
    }

        .hero-image-slides img.is-active {
            opacity: 1;
            transform: scale(1);
        }

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0.78) 100% );
    pointer-events: none;
}

.hero-copy.overlay-copy {
    position: absolute;
    z-index: 2;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 52px;
    transform: translateX(-50%);
    width: min(90%, 820px);
    max-width: 820px;
    color: #fff;
    text-align: center;
}

.hero-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.hero-copy p {
    margin: 0 0 22px;
    max-width: none;
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.hero-copy .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 46px;
    padding: 0 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.hero-copy .btn-dark {
    background: #fff;
    color: #111;
    border: 1px solid #fff;
}

    .hero-copy .btn-dark:hover {
        background: transparent;
        color: #fff;
    }

.hero-image-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 5;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

.hero-image-dot {
    width: 34px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
}

    .hero-image-dot.is-active {
        width: 52px;
        background: #fff;
    }

@media (max-width: 991px) {
    .hero.ipx-main-hero-slider,
    .hero-image {
        min-height: 560px;
        height: 560px;
    }

    .hero-copy.overlay-copy {
        bottom: 82px;
        width: min(88%, 720px);
        max-width: 720px;
    }
}

@media (max-width: 575px) {
    .hero.ipx-main-hero-slider,
    .hero-image {
        min-height: 500px;
        height: 500px;
    }

    .hero-copy.overlay-copy {
        bottom: 72px;
        width: calc(100% - 40px);
    }

    .hero-copy h1 {
        margin-bottom: 12px;
        font-size: clamp(34px, 10vw, 46px);
    }

    .hero-copy p {
        margin-bottom: 18px;
        font-size: 15px;
        line-height: 1.5;
    }

    .hero-image-dots {
        bottom: 20px;
    }
}
