@charset "UTF-8";
/* ============================================================
   CTA BOTTOM — две формы рядом
   ============================================================ */

.cta-bottom {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-top: -1px;
    width: 100%;
}

/* ── Блок ── */
.cta-bottom__block {
    flex: 1;
    border: 1px solid var(--linii);
    padding: 70px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    position: relative;
    box-sizing: border-box;
}

.cta-bottom__block--right {
    margin-left: -1px;
}

/* ── Шапка ── */
.cta-bottom__head {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
    align-self: stretch;
}

.cta-bottom__title {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-bebas);
    font-size: 38px;
    line-height: 41px;
    font-weight: 700;
    align-self: stretch;
    margin: 0;
}

.cta-bottom__subtitle {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-myriad);
    font-size: 18px;
    line-height: 21px;
    font-weight: 400;
    align-self: stretch;
    margin: 0;
}

/* ── Форма ── */
.cta-bottom__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: stretch;
}

.cta-bottom__field {
    align-self: stretch;
    position: relative;
}

/* Поля ввода */
.cta-bottom__input {
    width: 100%;
    background: #151515;
    border-radius: 11px;
    border: 1px solid #323232;
    padding: 0 19px;
    height: 54px;
    color: rgba(255,255,255,.8);
    font-family: var(--font-myriad);
    font-size: 18px;
    line-height: 21px;
    font-weight: 400;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s;
}

.cta-bottom__input::placeholder {
    color: rgba(255,255,255,.5);
}

.cta-bottom__input:focus {
    border-color: rgba(255,219,115,.5);
    color: #FFDB73;
}

.cta-bottom__input:hover {

    background: #282828 url('/wp-content/uploads/2026/05/input-hover.png') left center / 100% auto no-repeat;
}


.cta-bottom__input.is-error {
    border-color: #e74c3c;
    animation: cta-bottom-shake .4s ease;
}

/* Поле загрузки файла */
.cta-bottom__file-label {
    width: 100%;
    height: 54px;
    background: #151515;
    border-radius: 11px;
    border: 1px solid #323232;
    padding: 0 19px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color .2s;
}

.cta-bottom__file-label:hover {
    border-color: rgba(255,219,115,.3);
}

.cta-bottom__file-text {
    color: rgba(255,255,255,.5);
    font-family: var(--font-myriad);
    font-size: 18px;
    line-height: 21px;
    font-weight: 400;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cta-bottom__file-text.has-file {
    color: rgba(255,255,255,.8);
}

.cta-bottom__file-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: rgba(255,255,255,.4);
}

.cta-bottom__file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* ── Кнопка ── */
.cta-bottom__bottom {
    align-self: stretch;
    margin-top: 8px;
}

.cta-bottom__btn {
    background: var(--gradient-zheltyj);
    border-radius: 5px;
    padding: 20px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-family: var(--font-bebas);
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    color: var(--color-black);
    -webkit-text-fill-color: var(--color-black);
    position: relative;
    overflow: hidden;
    transition: transform .15s;
}



.cta-bottom__btn:hover {  background: linear-gradient(180deg, #C7A21B 0%, #FFDB73 100%); }


/* Сообщение */
.cta-bottom__message {
    padding: 10px 14px;
    border-radius: 6px;
    font-family: var(--font-myriad);
    font-size: 15px;
    line-height: 1.4;
}

.cta-bottom__message[hidden] { display: none; }

.cta-bottom__message--success {
    background: rgba(53,191,74,.15);
    border: 1px solid rgba(53,191,74,.4);
    color: #35bf4a;
    -webkit-text-fill-color: #35bf4a;
}

.cta-bottom__message--error {
    background: rgba(231,76,60,.15);
    border: 1px solid rgba(231,76,60,.4);
    color: #e74c3c;
    -webkit-text-fill-color: #e74c3c;
}

@keyframes cta-bottom-shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-6px); }
    40%       { transform: translateX(6px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}

/* ── Адаптив ── */
@media (max-width: 1024px) {
    .cta-bottom__block {
        padding: 40px 20px;
    }

    .cta-bottom__title {
        font-size: clamp(28px, 3vw, 38px);
    }
}

@media (max-width: 767px) {
    .cta-bottom {
        flex-direction: column;
    }

    .cta-bottom__block--right {
        margin-left: 0;
        margin-top: -1px;
    }
}

@media (max-width: 479px) {
    .cta-bottom__block {
        padding: 30px 20px;
    }

   
}