.page {
    background-color: #150836;
    position: relative;
    padding-bottom: 120px;
    .hero {
        border-bottom: 1px solid #fff;
    }
    .hero__title {
        font-size: 128px;
        line-height: 1.2;
        color: rgb(233, 234, 255);
    }
    @media (max-width: 768px) {
        .hero__title {
            font-size: 72px;
        }
    }
    @media (max-width: 480px) {
        .hero__title {
            font-size: 48px;
        }
    }
    .hero__heading {
        padding: 160px 0 40px;
    }

    @media (max-width: 768px) {
        .hero__heading {
            padding: 120px 0 40px;
        }
    }
    @media (max-width: 480px) {
        .hero__heading {
            padding: 80px 0 40px;
        }
    }
    .page__container-small {
        max-width: 600px;
        margin: auto;
    }
    .page__info p,
    .page__info a,
    .page__info ul li {
        font-size: 16px;
        line-height: 1.4;
        font-weight: 400;
        color: #e9eaff;
    }
    .page__info a {
        text-decoration: underline;
        transition: all 0.3s ease;
    }
    .page__info a:hover {
        color: #fff;
    }
    .page__info p + p {
        margin-top: 20px;
    }
    .page__info ul li + li {
        margin-top: 10px;
    }
    .page__info h2 {
        font-family: 'Manrope', sans-serif;
        font-size: 60px;
        line-height: 1.2;
        letter-spacing: -0.03em;
        font-weight: 400;
        color: #b7b8ff;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .page__info h3 {
        font-family: 'Manrope', sans-serif;
        font-size: 32px;
        line-height: 1.2;
        letter-spacing: -0.03em;
        font-weight: 400;
        color: #b7b8ff;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    @media (max-width: 992px) {
        .page__info h2 {
            font-size: 48px;
        }
    }
    @media (max-width: 768px) {
        .page__info h2 {
            font-size: 34px;
        }
        .page__info h3 {
            font-size: 28px;
        }
    }
    @media (max-width: 480px) {
        .page__info h2 {
            font-size: 28px;
        }
        .page__info h3 {
            font-size: 24px;
        }
    }
    .page__content {
        padding-top: 80px;
    }
    @media (max-width: 768px) {
        .page__content {
            padding-top: 40px;
        }
    }
}
@media (max-width: 480px) {
    .page {
        padding-bottom: 80px;
    }
}
.page:after {
    content: '';
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    width: 100%;
    height: 44px;
    background-color: #150836;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
}

/* =========================================
   СТИЛИ СТАТИЧНОЙ ФОРМЫ (КАК НА CONTACTS)
   ========================================= */
  .page:has(.wpcf7-form) {
    padding-bottom:0;
  } 
 .page:has(.wpcf7-form)::after {
    content:none;
 }
 .page .wpcf7 { 
    padding-bottom:100px;

 }
 .page .wpcf7 br {
    display:none;
 }

/* Контейнер всієї форми */
.wpcf7-form.init {
    background-color: #261A45; /* Колір блоку з contacts.css */
    border: 2px solid #463B60;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
}

/* Рядок з двома інпутами (Full Name та Phone) */
.form__inputs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

/* Обгортка кожного поля */
.form__wrapper {
    flex: 1;
    margin-bottom: 20px;
}

/* Прибираємо зайві відступи від p та br, які генерує WP */
.wpcf7-form p, 
.wpcf7-form br {
    /*! display: none; */ 
}
/* Але показуємо ті p, які мають клас fade show, щоб текст було видно */
.wpcf7-form p.fade.show {
    display: block;
    margin-bottom: 0;
}

/* Підписи полей (Labels) */
.form__wrapper label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 10px;
}

/* Поля вводу та Textarea */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    background-color: #150836 !important; /* Глибокий темний */
    border: 1px solid #463B60 !important;
    border-radius: 8px !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    /* Ефект внутрішнього свічення як у контактах */
    box-shadow: rgb(0, 153, 255) 0px 0px 0px 0px inset, rgba(255, 255, 255, 0.2) 0px 0px 0px 1px inset !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box;
}

/* Фокус на полях (прибираємо фокус-візібл) */
.wpcf7-form-control:focus {
    box-shadow: rgb(0, 153, 255) 0px 0px 0px 2px inset, rgba(255, 255, 255, 0.2) 0px 0px 0px 1px inset !important;
    border-color: #463B60 !important;
    outline: none !important;
}

.wpcf7-textarea {
    min-height: 120px;
}

/* Кнопка відправки */
.wpcf7-submit {
    display: block !important;
    width: 100% !important;
    margin-top: 10px !important;
    padding: 18px 32px !important;
    border-radius: 59px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    background: rgb(21, 8, 54) !important;
    color: #fff !important;
    box-shadow: rgba(255, 255, 255, 0.32) 0px 0px 0px 2px inset !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wpcf7-submit:hover {
    background: rgb(255, 255, 255) !important;
    color: rgb(21, 8, 54) !important;
    box-shadow: rgba(21, 8, 54, 0.32) 0px 0px 0px 2px inset !important;
}

/* Адаптивність */
@media (max-width: 768px) {
    .form__inputs {
        flex-direction: column;
        gap: 0;
    }
    .wpcf7-form.init {
        padding: 25px 20px;
    }
}