/* ============================================================
   ND Premium — CTA Measure Section
   /assets/css/nd-premium/cta-measure.css
   ============================================================ */

.ndp-cta {
    position: relative;
    width: 100%;
     display: flex;
    flex-direction: column;

    align-items: center;
    overflow: hidden;
    background: #1a1a1a;
margin-top: -1px;

    /* Фон через CSS переменную — меняется на мобайле */
    --ndp-cta-bg: none;
}


/* ── Декоративный скрипт "Request a call" ── */
.ndp-cta__decor {
    margin-left: -310px;
    margin-bottom: -50px;
    z-index: 0;
}



/* ── Основной фрейм ── */
.ndp-cta__frame {
    position: relative;
    z-index: 2;
  
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0;

  background: var(--ndp-cta-bg) center/cover no-repeat;
   
		width:100%;

    
}

/* ── Левая колонка: заголовок + описание ── */
.ndp-cta__left {
    width: 640px;
    flex-shrink: 0;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 60px 50px 60px 35px;
}

.ndp-cta__title {
    font-family: 'Manrope', sans-serif;
    font-size:72px;
    line-height: 1.1;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0 0 auto;
    display: flex;
    flex-direction: column;
}

.ndp-cta__title-bold {
    color: #473109;
    font-weight: 800;
    display: block;
}

.ndp-cta__title-white {
    color: #ffffff;
    font-weight: 700;
    display: block;
}

.ndp-cta__desc {
    color: #473109;
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 400;
    margin: 40px 0 72px;
    
}



/* ── CF7 форма — уникальные классы ndp-cf7 ── */
.ndp-cta__form .ndp-cf7,
.ndp-cta__form .wpcf7-form {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
    width: 100%;
}

/* CF7: скрываем стандартные параграфы */
.ndp-cta__form .wpcf7-form p {
    margin: 0;
}

/* Инпуты */
.ndp-cf7__input,
.ndp-cta__form .wpcf7-form input[type="text"],
.ndp-cta__form .wpcf7-form input[type="tel"],
.ndp-cta__form .wpcf7-form input[type="email"] {
    width: 256px;
    height: 58px;
    background: #ffffff;
    border: none;
    outline: none;
    padding: 0 20px;

    color: #1a1a1a;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 400;

    appearance: none;
    -webkit-appearance: none;
}

.ndp-cf7__input::placeholder,
.ndp-cta__form .wpcf7-form input::placeholder {
    color: #cecece;
}

/* Кнопка submit */
.ndp-cf7__submit,
.ndp-cta__form .wpcf7-form input[type="submit"],
.ndp-cta__form .wpcf7-form .wpcf7-submit {
    width: 349px;
    height: 58px;
    background: #473109;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0 20px;

    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 400;

    box-shadow: 0 10px 15px 0 rgba(70, 37, 4, 0.2);
    transition: opacity 0.2s ease;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
}

.ndp-cf7__submit:hover,
.ndp-cta__form .wpcf7-form input[type="submit"]:hover {
    opacity: 0.88;
}

/* CF7 spinner и сообщения */
.ndp-cta__form .wpcf7-spinner {
    display: none;
}

.ndp-cta__form .wpcf7-response-output {
    margin: 8px 0 0;
    padding: 8px 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #efefef;
    border: none;
    background: rgba(0,0,0,0.3);
}



/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1280px) {
	.ndp-cta__frame{ max-width: calc(100% - 80px); }

 .ndp-cta__decor {
    margin-left: -386px;
    margin-bottom: -40px;
    width: 70%;
}
}

@media (max-width: 1024px) {

  
.ndp-cta__left {  width: 50%;}

    .ndp-cta__title { font-size: clamp(28px, 8vw, 48px); }

.ndp-cta__desc {
   
    font-size: 20px;

}

.ndp-cf7__input,
.ndp-cta__form .wpcf7-form input[type="text"],
.ndp-cta__form .wpcf7-form input[type="tel"],
.ndp-cta__form .wpcf7-form input[type="email"] {
    width: 220px;
    height: 46px;
    font-size: 16px;

}
/* Кнопка submit */
.ndp-cf7__submit,
.ndp-cta__form .wpcf7-form input[type="submit"],
.ndp-cta__form .wpcf7-form .wpcf7-submit {
    width: 300px;
    height: 46px;
    font-size: 20px;


}
    .ndp-cta__form .ndp-cf7,
    .ndp-cta__form .wpcf7-form {
   
        gap: 8px;
    }
.ndp-cta__decor {
    margin-left: -350px;
    margin-bottom: -34px;
   
}

}

@media (max-width: 768px) {

.ndp-cta__frame { background: var(--ndp-cta-bg) 20% /cover no-repeat;}

.ndp-cta__form .ndp-cf7, .ndp-cta__form .wpcf7-form {   flex-wrap: wrap;}
.ndp-cta__left {  width: 85%;}
.ndp-cf7__submit,
.ndp-cta__form .wpcf7-form input[type="submit"],
.ndp-cta__form .wpcf7-form .wpcf7-submit {
    width:100%;
}

}

@media (max-width: 480px) {

.ndp-cta__form .ndp-cf7, .ndp-cta__form .wpcf7-form {   flex-wrap: wrap;}
.ndp-cta__left {  width: 100%;}
.ndp-cf7__submit,
.ndp-cta__form .wpcf7-form input[type="submit"],
.ndp-cta__form .wpcf7-form .wpcf7-submit {
    width:100%;
}

.ndp-cf7__input,
.ndp-cta__form .wpcf7-form input[type="text"],
.ndp-cta__form .wpcf7-form input[type="tel"],
.ndp-cta__form .wpcf7-form input[type="email"] {
    width: 100%;

}


.ndp-cta__form .ndp-cf7, .ndp-cta__form .wpcf7-form {
    gap: 0px;
}
.ndp-cta__frame{ max-width:100%;  background: var(--ndp-cta-bg) 35% /cover no-repeat; }


  .ndp-cta__title { font-size: 26px; }

.ndp-cta__desc { font-size: 16px; margin: 20px 0 40px;}
.ndp-cta__left {  padding: 40px 24px; width: 80%;}
	.ndp-cf7__row { width:100%;}

}