/* Home hero: Slick carousel, full-width slides with background images */

.hero-section.hero-slider-root {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    background: #0a1628;
    background-image: none;
    min-height: 0;
    box-sizing: border-box;
}

.hero-slider-root .hero-slider {
    width: 100%;
    margin: 0;
}

.hero-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 55vh;
    background-color: #0a1628;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    outline: none;
    color: white;
}

.hero-slide-inner h2 {

    /* font-size: clamp(1.35rem, 3.5vw, 70px);
    font-weight: 800;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    margin: 0; */
    font-family: "Montserratarm", sans-serif;
    font-weight: 800;
    margin: 0;


}

.hero-slide-inner h3 {
    /* font-family: "Montserratarm", sans-serif;
    font-size: clamp(1.35rem, 3.5vw, 52px);
    font-weight: 500;
    margin: 0 0 12px;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); */
    font-family: "Montserratarm", sans-serif;
    font-weight: 500;
    margin: 0;
}



/* Typography — slide order: construction → natural stone → together */
.hero-slide--construction h2 {
    font-size: clamp(1rem, 5.2vw, 4.5rem);
}

.hero-slide--construction h3 {
    font-size: clamp(0.75rem, 3.9vw, 2rem);
}

.hero-slide--natural h2 {
    font-size: clamp(1.4rem, 7.8vw, 4rem);
}

.hero-slide--natural h3 {
    font-size: clamp(1.2rem, 6.5vw, 3rem);
}

.hero-slide--together h2 {
    font-size: clamp(1rem, 5.2vw, 70px);
}

.hero-slide--together h3 {
    font-size: clamp(0.75rem, 3.9vw, 48px);
}

/*
 * Backgrounds — static/img/hero/ (PC + mobile from Figma exports).
 * Mobile composites from AG Impex packs: EN/RU alternates in hero/mobile/, HY in hero/.
 * PC: wide photos + {% trans %} headlines for EN/RU/HY.
 * Mobile (≤767px): construction + together use square images with baked text per locale.
 * Natural-stone mobile keeps existing translated overlay text.
 */
.hero-slide--construction {
    background-image: url("../img/hero/pc-construction.png");
}

.hero-slide--natural {
    background-image: url("../img/hero/pc-natural-stone.png");
}

.hero-slide--together {
    background-image: url("../img/hero/pc-together.png");
}

@media (min-width: 768px) {
    .hero-slide--together {
        background-image: url("../img/hero/pc-together.png");
    }
}

@media (max-width: 767px) {
    .hero-slide--construction {
        background-image: url("../img/hero/mobile/construction-alt-07.png");
    }

    .hero-slide--together {
        background-image: url("../img/hero/mobile/together-alt-09.png");
    }

    html[lang="ru"] .hero-slide--construction {
        background-image: url("../img/hero/mobile/construction-alt-06.png");
    }

    html[lang="ru"] .hero-slide--together {
        background-image: url("../img/hero/mobile/together-alt-08.png");
    }

    html[lang="hy"] .hero-slide--construction {
        background-image: url("../img/hero/hy-mobile-construction.png");
    }

    html[lang="hy"] .hero-slide--natural {
        background-image: url("../img/hero/hy-mobile-natural-stone.png");
    }

    html[lang="hy"] .hero-slide--together {
        background-image: url("../img/hero/hy-mobile-together.png");
    }

    /* Mobile artwork includes baked text for construction + together in all locales */
    .hero-slide--construction .hero-slide-inner,
    .hero-slide--together .hero-slide-inner {
        background: none;
    }

    .hero-slide--construction .hero-slide-inner h2,
    .hero-slide--construction .hero-slide-inner h3,
    .hero-slide--together .hero-slide-inner h2,
    .hero-slide--together .hero-slide-inner h3 {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

@media (min-width: 960px) {
    html[lang="hy"] .hero-slide .hero-slide-inner {
        background: none;
    }

    html[lang="hy"] .hero-slide .hero-slide-inner h2,
    html[lang="hy"] .hero-slide .hero-slide-inner h3 {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    html[lang="hy"] .hero-slide .hero-slide-inner::after {
        content: "";
        display: block;
        width: min(78vw, 1200px);
        margin-top: 18px;
        background-repeat: no-repeat;
        background-position: top center;
        background-size: contain;
    }

    html[lang="hy"] .hero-slide--construction .hero-slide-inner::after {
        width: min(74vw, 1157px);
        aspect-ratio: 1157 / 122;
        background-image: url("../img/hero/text-construction-hy.png");
    }

    html[lang="hy"] .hero-slide--natural .hero-slide-inner::after {
        width: min(44vw, 687px);
        aspect-ratio: 687 / 127;
        background-image: url("../img/hero/text-natural-hy.png");
    }

    html[lang="hy"] .hero-slide--together .hero-slide-inner::after {
        width: min(74vw, 1146px);
        aspect-ratio: 1146 / 56;
        background-image: url("../img/hero/text-together-hy.png");
    }
}

.hero-slide-inner {
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 48px 24px 100px;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.45) 0%,
        rgba(10, 22, 40, 0.15) 40%,
        rgba(10, 22, 40, 0.35) 100%
    );
}

.hero-slide-inner .hero-text-box {
    /* max-width: 920px; */
}



/* .hero-text-box h2 {
    font-family: Montserrat arm;
    font-weight: 800;
    font-size: clamp(1.2rem, 2.2vw, 1000px);
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    margin: 0;
}

.hero-text-box h3 {
    font-family: Montserrat arm;
    font-weight: 500;
    font-size: clamp(1rem, 2.2vw, 52px);
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    margin: 0;
} */

/* .hero-slide-inner .hero-slide-tagline {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    font-weight: 600;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
} */

/* .hero-slide-inner h3 {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 600;
    margin: 10px 0 0;
    line-height: 1.35;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
} */

@media screen and (min-width: 760px) {
    .hero-slide,
    .hero-slide-inner {
        min-height: 72vh;
    }

    .hero-slide-inner {
        padding-top: 64px;
        padding-bottom: 120px;
    }
}

/* Arrows */
.hero-slider-root .hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: opacity 0.2s ease;
}

.hero-slider-root .hero-slider-arrow:hover {
    opacity: 0.85;
}

.hero-slider-root .hero-slider-arrow:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.hero-slider-root .hero-slider-arrow--prev {
    left: 8px;
}

.hero-slider-root .hero-slider-arrow--next {
    right: 8px;
}

.hero-slider-root .hero-slider-arrow span {
    display: block;
    width: 14px;
    height: 14px;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(135deg);
    margin-left: 6px;
}

.hero-slider-root .hero-slider-arrow--next span {
    transform: rotate(-45deg);
    margin-left: 0;
    margin-right: 6px;
}

@media screen and (min-width: 760px) {
    .hero-slider-root .hero-slider-arrow--prev {
        left: 20px;
    }

    .hero-slider-root .hero-slider-arrow--next {
        right: 20px;
    }
}

/* Dots */
.hero-slider-dots-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 4;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.hero-slider-dots-wrap .hero-slider-dots {
    pointer-events: auto;
}

.hero-slider-root .hero-slider-dots ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: center;
}

.hero-slider-root .hero-slider-dots li {
    margin: 0;
    padding: 0;
}

.hero-slider-root .hero-slider-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slider-root .hero-slider-dots .slick-active button {
    background: #fff;
    transform: scale(1.15);
}

.hero-slider-root .slick-dotted.slick-slider {
    margin-bottom: 0;
}
