/* 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;
}

/*
 * Match reference art: one heavy white headline (Montserratarm Black) + lighter subline
 * (Medium, softer white, wider tracking). Same system on every hero slide.
 */
.hero-slider-root .hero-slide-inner h2 {
    font-family: "Montserratarm", sans-serif;
    font-size:70px;
    font-weight: 800; /* Black.otf — same as “CONSTRUCTION MATERIALS” in mockups */
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    /*letter-spacing: 0.03em;*/
    /*text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);*/
}

.hero-slider-root .hero-slide-inner h3 {
    font-family: "Montserratarm", sans-serif;
    font-weight: 500; /* Medium.otf — secondary line under main headline */
    color: #fff;
    font-size:52px;
    margin: 0.3em 0 0;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    /*letter-spacing: 0.1em;*/
    /*text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);*/
}

/* Type scale — same headline/subhead ratio on construction + natural; together is headline-only */
.hero-slide--construction h2 {
    font-size: clamp(1.15rem, 5.4vw, 4.5rem);
}

.hero-slide--construction h3 {
    font-size: clamp(0.65rem, 2.4vw, 1.4rem);
}

.hero-slide--natural h2 {
    font-size: clamp(1.15rem, 5.4vw, 3.8rem);
}

.hero-slide--natural h3 {
    font-size: clamp(0.65rem, 2.4vw, 1.35rem);
}

.hero-slide--together h2 {
    font-size: clamp(1rem, 4.2vw, 2.8rem);
}

/*
 * Hero backgrounds from static/img/hero/sav/. Headlines are {% trans %} in templates
 * so they always match the active language (PNG artwork was often mis-labeled by locale).
 */
.hero-slide--construction {
    background-image: url("../img/hero/sav/bg-construction.png");
}

.hero-slide--natural {
    background-image: url("../img/hero/sav/bg-natural.png");
    background-position: center center;
}

.hero-slide--natural .hero-slide-inner {
    /* Keep natural-stone artwork visible without dark gradient overlay. */
    background: transparent;
}

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

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

    .hero-slide--natural {
        background-image: url("../img/hero/mobile/natural-alt-11.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--natural {
        background-image: url("../img/hero/mobile/natural-alt-10.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 already includes text, so hide template headings. */
    .hero-slide--construction .hero-slide-inner h2,
    .hero-slide--construction .hero-slide-inner h3,
    .hero-slide--natural .hero-slide-inner h2,
    .hero-slide--natural .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;
    }
}

.hero-slider-root .hero-slide .hero-slide-inner {
    position: relative;
    z-index: 0;
}

.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: 80vh;
    }

    .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;
}



/*nor*/
@media screen and (max-width: 1024px){
    .hero-slider-root .hero-slide-inner h2 {
        font-size: 50px;
    }
    .hero-slider-root .hero-slide-inner h3{
        font-size: 40px;
    }

}
@media screen and (max-width: 991px){
        .hero-slide, .hero-slide-inner {
            min-height: 60vh;
        }
         .hero-slider-root .hero-slide-inner h2 {
            font-size: 40px;
        }
        .hero-slider-root .hero-slide-inner h3{
            font-size: 30px;
        }
}

@media screen and (max-width: 767px){
    .hero-slide-inner{
        display:none;
    }
    .hero-slide--construction {
        background-size: contain;
    }
    .hero-slide {
        min-height: 42vh;
    }

}



