/* ============================================================
   ND Premium — Color Section
   /assets/css/nd-premium/color.css
   ============================================================ */

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

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

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

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

.ndp-color .section-header__decor--img {
    width: 743px;
    margin-bottom: -100px;
    margin-left: -111px;
}


.ndp-color  .section-header__aside { width: 100%;}
.ndp-color  .container-aside { max-width: 580px;}


/* ── Фрейм: фото + кнопка-баннер ── */
.ndp-color__frame {
    position: relative;
    width: 100%;
    max-width: 1280px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
  z-index:2;
}

/* Фото */
.ndp-color__photo {
    width: 100%;
    aspect-ratio: 1200 / 706;
    overflow: hidden;
    background: #2a2a2a;
    position: relative;
}

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

/* Кнопка-баннер — заезжает поверх фото */
.ndp-color__btn {
    height: 70px;
    margin-top: -30px;
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 21px;

    text-decoration: none;
    transition: background 0.2s ease;
    cursor: pointer;
}

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

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

.ndp-color__btn-arrow {
    flex-shrink: 0;
    width: 29px;
    height: 20px;
}

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1640px){

.ndp-color .section-header__title {
    max-width: 830px;
}
}

@media (max-width: 1366px){

.ndp-color .section-header__title {
    max-width:716px;
}
}

@media (max-width: 1200px){


 .ndp-color .section-header__decor--img {
    width: 461px;
    margin-bottom: -83px;
    margin-left: -44px;
}
}



@media (max-width: 900px) {
    .ndp-color__btn { height: 56px; margin-top: -20px; gap: 14px; }
    .ndp-color__btn-text { font-size: 16px; }
     .ndp-color  .container-aside {  max-width: 380px;}
}

@media (max-width: 600px) {
    .ndp-color__block {  padding-bottom: 60px; }
    .ndp-color__frame { padding: 0; }
    .ndp-color__btn { height: 50px; gap: 10px; }
    .ndp-color__btn-arrow { width: 22px; height: 15px; }

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




@media (max-width: 480px) {

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

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

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


}