.contactsForm {
    padding: 48px 0;
    position: relative;
    background: transparent;
    overflow: hidden;

    a{
        text-decoration: underline;
    }
    a:hover{
        text-decoration: none;
    }
}

.contactsForm .container {
    position: relative;
}

.contactsForm__inner {
    position: relative;
    background-image: url("/img/contact_bg.png");
    background-size: cover;
    background-position: center;
    border-radius: 28px;
    padding: 61px 42px;
    z-index: 2;
}

.contactsForm__content {
    flex: 0 0 50%;
    text-align: left;
    padding-right: 35%;
    position: relative;
    margin-bottom: 45px;
}

.contactsForm__title {
    font-size: 28px;
    color: #103340;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: "Etude", sans-serif;
}

.contactsForm__heading {
    font-size: 32px;
    color: #103340;
    font-family: "Etude", sans-serif;
    font-weight: 400;
    line-height: 1;
}

.contactsForm__wrapper {
    flex: 1;
    background: linear-gradient(111.08deg, #a4c520 13.77%, #c4e63b 105.1%);
    border-radius: 16px;
    padding: 24px;
    max-width: 650px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
}

.contactsForm__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contactsForm__group {
    width: 100%;
}

.contactsForm__input,
.contactsForm__textarea,
.contactsForm__select {
    width: 100%;
    padding: 14px 24px;
    border: 2px solid #fff;
    border-radius: 30px;
    font-size: 18px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: #fff;
    box-sizing: border-box;
    color: #103340;
    line-height: 1;
    min-height: 54px;
}

.contactsForm__input::placeholder,
.contactsForm__textarea::placeholder {
    color: #7f949c;
}

.contactsForm__input:focus,
.contactsForm__textarea:focus,
.contactsForm__select:focus {
    outline: none;
    border-color: #fff;
    box-shadow: none;
}

.contactsForm__textarea {
    resize: none;
    min-height: 110px;
    border-radius: 24px;
}

.contactsForm__select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237f949c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
    color: #103340;
}

.contactsForm__select option {
    color: #103340;
}

.contactsForm__select option[disabled] {
    color: #7f949c;
}

.contactsForm__select:focus {
    border-color: #fff;
}

.contactsForm__checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 4px 0 2px;
}

.contactsForm__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
}

.contactsForm__checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.contactsForm__checkbox-custom {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contactsForm__checkbox input:checked + .contactsForm__checkbox-custom {
    background: #fff;
    border-color: #fff;
}

.contactsForm__checkbox input:checked + .contactsForm__checkbox-custom::after {
    content: "✔";
    color: #103340;
    font-size: 14px;
    font-weight: 700;
}

.contactsForm__checkbox-label {
    user-select: none;
    color: #fff;
    font-size: 0.82rem;
    line-height: 1.4;
    font-weight: 500;
}

.contactsForm__btn {
    width: 100%;
    padding: 14px 28px;
    min-height: 54px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contactsForm__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.contactsForm__btn:hover {
    background: #fff;
    color: #103340;
    opacity: 1;
}

.contactsForm__btn:active {
    transform: scale(0.97);
}

@media (max-width: 1281px) {
    .contactsForm__title {
        font-size: 27px;
    }

    .contactsForm__heading {
        font-size: 27px;
        margin-bottom: 30px;
    }
}

@media (max-width: 992px) {
    .contactsForm__inner {
        z-index: 1;
        flex-direction: column;
        gap: 32px;
        padding: 40px 30px;
    }

    .contactsForm__content {
        padding-right: 0;
        flex: 1;
        width: 100%;
    }

    .contactsForm__wrapper {
        padding: 24px;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .contactsForm__inner {
        padding: 24px;
    }

    .contactsForm__title {
        font-size: 22px;
        line-height: 1.2;
        text-align: center;
    }

    .contactsForm__heading {
        font-size: 22px;
        line-height: 1.2;
        text-align: center;
    }
}
