.hv2-hero {
    position: relative;
    padding: 30px 0 18px;
}

.hv2-hero__swiper {
    overflow: hidden;
    padding: 0;
}

.hv2-hero__swiper .swiper-slide {
    /* контейнер для cqw — сам слайд НЕ может кверить себя */
    container-type: inline-size;
    container-name: hv2-slide;
    width: 860px;
    max-width: min(860px, 86vw);
    height: auto;
}

/* Figma 860×380 — 100cqw = ширина .swiper-slide */
.hv2-hero__slide {
    --hv2-u: calc(100cqw / 860);
    /* локальный DIN Condensed слишком широкий vs Figma → сжимаем до метрик макета */
    --hv2-condense: 0.75;
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    /*aspect-ratio: 860 / 380;*/
    border-radius: calc(50 * var(--hv2-u));
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

.hv2-hero__img {
    position: relative;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hv2-hero__shade {
    display: none;
}

.hv2-hero__slide.has_content .hv2-hero__shade {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(61.52deg, #222D75 1.13%, rgba(34, 45, 117, 0) 67.58%);
    border-radius: inherit;
    pointer-events: none;
}

/* Figma Group: left 60, top 62, 480×274; sub bottom ≈ 44 от низа */
.hv2-hero__content {
    position: absolute;
    left: calc(60 * var(--hv2-u));
    /*top: calc(62 * var(--hv2-u));*/
    top: auto;
    bottom: calc(44 * var(--hv2-u));
    width: calc(480 * var(--hv2-u));
    max-width: calc(100% - 120 * var(--hv2-u));
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: calc(18 * var(--hv2-u));
    z-index: 1;
    pointer-events: none;
}

.hv2-hero__title {
    display: block;
    margin: 0;
    width: calc(100% / var(--hv2-condense));
    max-width: none;
    max-height: none;
    font-family: var(--pv2-font-display);
    font-style: normal;
    font-weight: normal;
    font-size: calc(54 * var(--hv2-u));
    line-height: 100%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #FFFFFF;
    transform: scaleX(var(--hv2-condense));
    transform-origin: left top;
}

.hv2-hero__title p,
.hv2-hero__title div {
    margin: 0;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
}

.hv2-hero__sub {
    display: block;
    margin: auto 0 0;
    width: 100%;
    flex-shrink: 0;
    font-family: var(--pv2-font-body);
    font-style: normal;
    font-weight: 500;
    font-size: calc(18 * var(--hv2-u));
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #E1AF87;
}

.hv2-hero__sub p,
.hv2-hero__sub div {
    margin: 0;
    font: inherit;
    letter-spacing: inherit;
    color: inherit;
}

.hv2-hero__swiper .swiper-slide:not(.swiper-slide-active) .hv2-hero__slide {
    opacity: 0.6;
}

.hv2-hero__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 60px;
    height: 60px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 35px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M11 7l7 7-7 7' stroke='%23222D75' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/28px no-repeat;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(34, 45, 117, 0.12);
    transform: translateY(-50%);
}

.hv2-hero__nav--prev {
    left: max(12px, calc(50% - 460px));
    transform: translateY(-50%) scaleX(-1);
}

.hv2-hero__nav--next {
    right: max(12px, calc(50% - 460px));
}

.hv2-hero__pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 18px;
}

.hv2-hero__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: transparent;
    border: 1px solid var(--pv2-accent);
    opacity: 1;
}

.hv2-hero__pagination .swiper-pagination-bullet-active {
    background: var(--pv2-accent);
}

@media (max-width: 1100px) {
    .hv2-hero__nav--prev { left: 8px; }
    .hv2-hero__nav--next { right: 8px; }
}

@media (max-width: 760px) {
    .hv2-hero { padding: 16px 0 10px; }
    .hv2-hero__swiper .swiper-slide { width: min(860px, 92vw); }
    .hv2-hero__nav { width: 44px; height: 44px; background-size: 20px; }
    .hv2-hero__sub {
        font-size: calc(36 * var(--hv2-u));
    }
}