/* ============================================================
   ND Premium — Windowsills Section
   /assets/css/nd-premium/windowsills.css
   ============================================================ */

.ndp-wsill {
    background: #1a1a1a;
    width: 100%;
    overflow: hidden;
margin-top: -1px;
}

.ndp-wsill__block {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    padding-bottom: 100px;
}




.ndp-wsill .section-header{
    max-width: 1280px;
    padding: 0 40px;
    margin-left: 0px;
}


.ndp-wsill .section-header__title {
    padding-left: 0px;
    white-space: wrap;
    max-width:890px;
}


.ndp-wsill .section-header__decor--img {
    width: 643px;
    margin-bottom: -100px;
    margin-left: -120px;
}


.ndp-wsill  .section-header__aside { width: 100%;   padding-right: 105px;}

.ndp-wsill  .container-aside { max-width: 510px;}


/* ============================================================
   Фрейм: левое фото + правый блок

   ============================================================ */
.ndp-wsill__frame {
    display: flex;
    flex-direction: row;
    align-items: flex-end;   /* выравниваем по нижнему краю */
    gap: 50px;
    width: 100%;
    max-width: 1280px;
    padding: 0 40px;
    margin-top: -135px;
}

/* ── Левое фото — 640px, на всю высоту 811px ── */
.ndp-wsill__left {
    flex: 0 0 640px;
    height: 811px;
    background: #3b3b3b;
    overflow: hidden;
    position: relative;
}

.ndp-wsill__left img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    display: block;
}

/* ── Правый блок — 510px, высота 684px (на 127px ниже левого) ── */
.ndp-wsill__right {
    flex: 0 0 510px;
    display: flex;
    flex-direction: column;
    /* Нет padding-top — align-items:flex-end на родителе опускает вниз */
}

/* Правое фото */
.ndp-wsill__right-photo {
    flex: 1 1 auto;
    height: 614px;
    background: #3b3b3b;
    overflow: hidden;
    position: relative;
}

.ndp-wsill__right-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Кнопка-баннер */
.ndp-wsill__btn {
    flex-shrink: 0;
    height: 70px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 21px;
    text-decoration: none;
    transition: background 0.2s ease;
    cursor: pointer;
    margin-top: 20px;
}

.ndp-wsill__btn:hover {
    background: rgba(0, 0, 0, 0.12);
}

.ndp-wsill__btn-text {
    color: #efefef;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(16px, 1.25vw, 24px);
    line-height: 1.1;
    font-weight: 400;
    text-transform: uppercase;
}

/* ============================================================
   Адаптив
   ============================================================ */

@media (max-width: 1640px){

.ndp-wsill .section-header__title {
    max-width: 732px;
}
.ndp-wsill .section-header__aside {
    width: 100%;
    padding-right: 136px;
}

.ndp-wsill .section-header__decor--img {
    width: 500px;
    margin-bottom: -92px;
    margin-left: -82px;
}


}
@media (max-width: 1440px){

.ndp-wsill .section-header__title {
    max-width: 670px;
}

.ndp-wsill__frame {

    margin-top: -115px;
}

}
@media (max-width: 1366px){

.ndp-wsill .section-header__title {
    max-width:626px;
}

.ndp-wsill .section-header__decor--img {
    width: 430px;
    margin-bottom: -78px;
    margin-left: -82px;
}


}

@media (max-width: 1200px){

.ndp-wsill__left {
    flex: 0 0 562px;

}
.ndp-wsill .section-header__aside {
    
    padding-right: 203px;
}
    .ndp-wsill__left  { flex: 0 0 500px; height: 650px; }
    .ndp-wsill__right { flex: 0 0 400px; }
    .ndp-wsill__right-photo { height: 480px; }
}

@media (max-width: 1024px){

.ndp-wsill  .container-aside {
    max-width: 400px;
}

.ndp-wsill .section-header__aside {
    padding-right: 149px;
}
}
@media (max-width: 900px) {
    .ndp-wsill__frame {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
 .ndp-color  .container-aside {  max-width: 380px;   }
.ndp-wsill .section-header__aside {
    padding-right: 0px;
}
    .ndp-wsill__left {
        flex: none;
        width: 100%;
        height: 420px;
       
    }


.ndp-wsill__frame {

    margin-top: 0;
}

.ndp-wsill .section-header__title {
    max-width: 413px;
}

    .ndp-wsill__right {
        flex: none;
        width: 100%;
    }

    .ndp-wsill__right-photo { height: 420px; }
}

@media (max-width: 600px) {
    .ndp-wsill__block {  padding-bottom: 60px; }
    .ndp-wsill__frame { padding: 0; }
    .ndp-wsill__left  { height: 350px; }
    .ndp-wsill__right-photo { height: 350px; }
    .ndp-wsill__btn   { height: 56px; }
    .ndp-wsill__btn-text { font-size: 15px; }

    .ndp-wsill .section-header__decor--img {
    width: 290px;
    margin-bottom: -28px;
    margin-left: -34px;
}

}


@media (max-width: 480px) {

.ndp-wsill .section-header__decor--img {
    width: 250px;
    margin-bottom: -25px;
    margin-left: -34px;
}

.ndp-wsill .section-header{
    padding: 0 24px;
  
}

.ndp-wsill  .container-aside {
    max-width: 270px;
}


}
