.home-hero {
    height: 740px;
    position: relative;
    color: var(--ivory);
    overflow: hidden;
    background: var(--blue)
}

.home-hero .hero-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%
}

.home-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0d132df5, #0d132dc9 28%, #0d132d22 65%, transparent)
}

.home-hero-content {
    position: relative;
    padding: 65px 6% 100px
}

.home-hero .eyebrow {
    color: #d1b895;
    font-size: 11px;
    letter-spacing: 2.6px
}

.home-hero .hero-title {
    font: 500 clamp(48px, 5.4vw, 80px)/1.12 Manrope, Arial, sans-serif;
    letter-spacing: -.055em;
    margin: 30px 0 23px
}

.home-hero .hero-title em {
    font-weight: 400;
    font-style: normal;
    color: #e0c9a5
}

.home-hero p {
    font-size: 15px;
    line-height: 1.9;
    color: #d2d0d5
}

.home-hero .light-button {
    margin-top: 30px;
    width: 245px;
    font-size: 14px
}

.home-hero-foot {
    position: absolute;
    bottom: 0;
    left: 6%;
    right: 6%;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ffffff36;
    padding: 22px 0;
    font-size: 11px;
    letter-spacing: 1.4px
}

.home-hero-foot>span {
    color: #d1b895
}

.home-intro {
    padding: 80px 8% 60px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5%
}

.home-intro .eyebrow {
    color: var(--bronze);
    font-size: 11px;
    line-height: 1.9;
    padding-top: 11px
}

.home-intro h2 {
    font-size: clamp(30px, 3.1vw, 46px);
    line-height: 1.25;
    letter-spacing: -.045em;
    margin: 0 0 25px
}

.home-intro h2 em {
    font-style: normal;
    color: #8c7458
}

.home-intro p {
    font-size: 15px;
    line-height: 1.9;
    color: #6a6b76;
    max-width: 575px
}

.collection-showcase {
    padding: 0 6% 75px
}

.home-section-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 28px
}

.home-section-top h2 {
    font-size: 30px;
    letter-spacing: -1px;
    margin: 0
}

.home-section-top>a {
    font-size: 13px;
    border-bottom: 1px solid var(--bronze);
    padding-bottom: 6px
}

.collection-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px
}

.collection-stage {
    height: 400px;
    background: #e7e1d5;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.collection-card:nth-child(2) .collection-stage {
    background: #dad6cb
}

.collection-card:nth-child(3) .collection-stage {
    background: #d8d3c8
}

.collection-stage>span {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 11px;
    letter-spacing: 1.6px;
    color: #7b6b55
}

.collection-stage img {
    height: 80%;
    max-width: 70%;
    object-fit: contain;
    filter: drop-shadow(12px 12px 8px #0d132d22);
    transition: transform .35s
}

.collection-card:hover img {
    transform: scale(1.04)
}

.collection-text {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    padding-top: 20px
}

.collection-text h3 {
    font-size: 26px;
    margin: 0 0 8px
}

.collection-text p {
    font-size: 12px;
    color: var(--blue-60);
    margin: 0
}

.collection-text>span {
    font-size: 22px;
    color: var(--bronze)
}

.home-detail {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: var(--blue);
    color: var(--ivory)
}

.home-detail-photo {
    min-height: 650px;
    position: relative
}

.home-detail-photo img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 35% center
}

.home-detail-photo>span {
    position: absolute;
    bottom: 22px;
    left: 25px;
    font-size: 11px;
    background: #f5f1e8e8;
    color: var(--blue);
    padding: 10px 14px
}

.home-detail-copy {
    padding: 65px 12%
}

.home-detail-copy .eyebrow {
    color: #c9ac87;
    font-size: 11px
}

.home-detail-copy h2 {
    font-size: clamp(38px, 4vw, 59px);
    line-height: 1.12;
    letter-spacing: -2px;
    margin: 28px 0
}

.home-detail-copy h2 em {
    font-style: normal;
    font-weight: 400;
    color: #d4bf9b
}

.home-detail-copy p {
    font-size: 14px;
    line-height: 1.9;
    color: #c2c0ca;
    max-width: 340px
}

.home-detail-copy>a,
.home-brand a {
    display: inline-block;
    font-size: 13px;
    border-bottom: 1px solid var(--bronze);
    padding-bottom: 8px;
    margin-top: 20px
}

.detail-principles {
    display: grid;
    gap: 16px;
    border-top: 1px solid #ffffff26;
    margin-top: 35px;
    padding-top: 25px
}

.detail-principles span {
    font-size: 11px;
    color: #c9ac87
}

.detail-principles b {
    font-size: 13px;
    color: #d8d5dc;
    font-weight: 400;
    margin-left: 15px
}

.home-brand {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 6%;
    background: var(--pearl)
}

.home-brand>div {
    padding: 55px 12%
}

.home-brand .eyebrow {
    font-size: 11px;
    color: #8d6c48
}

.home-brand h2 {
    font-size: 45px;
    letter-spacing: -1.8px;
    line-height: 1.16;
    margin: 25px 0
}

.home-brand h2 em {
    font-style: normal;
    color: #8d6c48
}

.home-brand p {
    font-size: 14px;
    line-height: 1.9;
    color: #686970
}

.home-brand img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    object-position: 34% center
}

.home-paths {
    padding: 70px 6%
}

.home-paths .eyebrow {
    font-size: 11px;
    color: #94744f
}

.home-path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px
}

.home-path-grid>a>img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover
}

.home-path-grid>a>div {
    padding: 22px 0
}

.home-path-grid h3 {
    font-size: 27px;
    letter-spacing: -.8px;
    margin: 12px 0
}

.home-path-grid h3 span {
    float: right;
    color: var(--bronze)
}

.home-path-grid p {
    font-size: 13px;
    color: var(--blue-60)
}

@media(max-width:1000px) {
    .home-hero {
        height: 700px
    }

    .home-hero .hero-title {
        font-size: 65px
    }

    .collection-stage {
        height: 330px
    }

    .home-detail-photo {
        min-height: 620px
    }

    .home-detail-copy {
        padding: 50px 9%
    }

    .home-brand h2 {
        font-size: 38px
    }
}

@media(max-width:700px) {
    .home-hero {
        height: 660px
    }

    .home-hero .hero-img {
        object-position: 63% center
    }

    .home-shade {
        background: linear-gradient(90deg, #0d132de6, #0d132d66), linear-gradient(0deg, #0d132d99, transparent 60%)
    }

    .home-hero-content {
        padding: 45px 6% 90px
    }

    .home-hero .hero-title {
        font-size: 49px;
        letter-spacing: -2.5px
    }

    .home-hero p {
        font-size: 14px
    }

    .home-hero-foot {
        gap: 20px;
        font-size: 10px;
        line-height: 1.8
    }

    .home-hero-foot>a {
        text-align: right
    }

    .home-intro {
        grid-template-columns: 1fr;
        padding: 45px 6% 30px;
        gap: 20px
    }

    .home-intro h2 {
        font-size: 31px
    }

    .home-intro p {
        font-size: 14px
    }

    .collection-showcase {
        padding-bottom: 45px
    }

    .home-section-top {
        gap: 15px;
        align-items: flex-start
    }

    .home-section-top h2 {
        font-size: 25px
    }

    .home-section-top>a {
        font-size: 12px;
        white-space: nowrap;
        margin-top: 6px
    }

    .collection-cards {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .collection-stage {
        height: 380px
    }

    .collection-stage img {
        height: 82%
    }

    .collection-text {
        padding-top: 15px
    }

    .collection-text h3 {
        font-size: 26px
    }

    .home-detail {
        grid-template-columns: 1fr
    }

    .home-detail-photo {
        min-height: 360px
    }

    .home-detail-copy {
        padding: 40px 6%
    }

    .home-detail-copy h2 {
        font-size: 43px
    }

    .home-brand {
        grid-template-columns: 1fr
    }

    .home-brand>div {
        padding: 35px 7%
    }

    .home-brand h2 {
        font-size: 38px
    }

    .home-brand img {
        min-height: 300px;
        height: 300px
    }

    .home-paths {
        padding: 45px 6% 25px
    }

    .home-path-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .home-path-grid>a>img {
        height: 260px
    }

    .home-path-grid h3 {
        font-size: 26px
    }
}

@media(prefers-reduced-motion:reduce) {
    .collection-stage img {
        transition: none
    }
}

/* ===== Слайдер главной (MIGX «hero_slides», js/hero.js) ===== */
.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible
}

.hero-slide .hero-img {
    transform: scale(1.05);
    transition: transform 8s ease-out
}

.hero-slide.is-active .hero-img {
    transform: scale(1)
}

.hero-slide .home-hero-content>* {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease
}

.hero-slide.is-active .home-hero-content>* {
    opacity: 1;
    transform: none
}

.hero-slide.is-active .home-hero-content>*:nth-child(2) {
    transition-delay: .15s
}

.hero-slide.is-active .home-hero-content>*:nth-child(3) {
    transition-delay: .3s
}

.hero-slide.is-active .home-hero-content>*:nth-child(4) {
    transition-delay: .45s
}

.hero-nav {
    position: absolute;
    right: 6%;
    bottom: 78px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ivory)
}

.hero-count {
    font-size: 13px;
    letter-spacing: 1.5px;
    color: #c9c7cf;
    margin-right: 10px
}

.hero-count b {
    font-weight: 600;
    color: var(--ivory)
}

.hero-dots {
    display: flex;
    gap: 8px;
    margin-right: 10px
}

.hero-dots button {
    width: 46px;
    height: 20px;
    padding: 0;
    border: 0;
    background: none;
    display: flex;
    align-items: center
}

.hero-dots i {
    display: block;
    width: 100%;
    height: 1px;
    background: #f5f1e855;
    position: relative;
    overflow: hidden
}

.hero-dots i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bronze);
    transform: scaleX(0);
    transform-origin: left
}

.hero-dots [aria-current] i::after {
    transform: scaleX(1)
}

.home-hero.is-running .hero-dots [aria-current] i::after {
    animation: hero-progress var(--hero-delay, 7s) linear
}

@keyframes hero-progress {
    from {
        transform: scaleX(0)
    }

    to {
        transform: scaleX(1)
    }
}

.hero-arrow {
    width: 46px;
    height: 46px;
    border: 1px solid #f5f1e866;
    background: none;
    color: var(--ivory);
    font-size: 18px;
    transition: background .2s, border-color .2s
}

.hero-arrow:hover {
    background: var(--ivory);
    border-color: var(--ivory);
    color: var(--blue)
}

@media(max-width:700px) {
    .hero-nav {
        right: 6%;
        left: 6%;
        bottom: 66px;
        gap: 10px
    }

    .hero-count {
        margin-right: auto
    }

    .hero-dots {
        display: none
    }

    .hero-arrow {
        width: 38px;
        height: 38px;
        font-size: 16px
    }
}

@media(prefers-reduced-motion:reduce) {

    .hero-slide,
    .hero-slide .hero-img,
    .hero-slide .home-hero-content>* {
        transition: none
    }
}

/* Слайдер 1920×800 на десктопе — высота от ширины */
@media (min-width: 701px) {
    .home-hero[data-hero] {
        /* 1920×800: высота от ширины экрана, но не ниже 620px.
           aspect-ratio + min-height раздувал блок шире экрана — поэтому через vw */
        height: max(620px, 41.667vw)
    }
}

/* На десктопе кадр по верхнему краю: верх двери не срезается, лишнее уходит снизу */
@media (min-width: 701px) {
    .home-hero[data-hero] .hero-img {
        object-position: center top
    }
}

/* Затемнение слайдов: ровный чёрный 20% вместо синего градиента макета (и на телефоне) */
.home-hero[data-hero] .home-shade {
    background: rgba(0, 0, 0, .2)
}

/* Затемнение на телефоне сильнее — белый текст поверх светлых кадров */
@media (max-width: 700px) {
    .home-hero[data-hero] .home-shade {
        background: rgba(0, 0, 0, .4)
    }
}

/* ===== Каталог на главной из товаров miniShop2: вкладок коллекций теперь девять ===== */
.tabs {
    flex-wrap: wrap
}

@media (max-width: 700px) {
    .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none
    }

    .tabs button {
        flex-shrink: 0
    }
}

/* Слайдер на главной: затемнение слева под текстом + снизу (просьба владельца 23.11.2026 — «чтобы текст читался») */
.home-hero[data-hero] .home-shade {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .45) 30%, rgba(0, 0, 0, .15) 60%, rgba(0, 0, 0, .08) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .45) 0%, transparent 28%)
}
@media (max-width: 700px) {
    .home-hero[data-hero] .home-shade {
        background: linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .45))
    }
}
