section.contacts.section {
    margin-top: 40px !important;
}

.contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 68px;
    align-items: center;
    padding: 60px;
    border-radius: 10px;
    background: linear-gradient(110deg, #0196BB 0%, #76CFE5 100%);
    color: #fff;
}

.contacts__title {
    margin-bottom: 24px;
    color: #fff;
    font-size: 48px;
    font-weight: 600;
}

.contacts__schedule {
    display: flex;
    flex-direction: column;
    width: fit-content;
    padding: 10px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 9px;
    background: #41b3cf;
    color: #CEE0E5;
    font-size: 12px;
}

.contacts__schedule strong {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}

.contacts__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contacts__item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: #fff;
    text-decoration: none;
}

.contacts__item:hover {
    color: #fff;
    text-decoration: none;
}

.contacts__item svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contacts__item span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contacts__item small {
    color: #C0D8DF;
    font-size: 12px;
}

.contacts__item strong {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
}

/* Ссылки только на email и телефон */

.contacts__item > span > strong > a {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacts__item > span > strong > a:hover {
    color: #C0D8DF;
    text-decoration: none;
}


/* =========================
   Социальные сети
========================= */

.contacts .social-main__content,
.pulse-ds .social-main__content {
    margin-top: 10px;
    border: 1px solid #0196BB;
    background: none;
}

.contacts .social-main__info h2,
.pulse-ds .social-main__info h2 {
    color: #0196BB;
}

.contacts .social-main__info p,
.pulse-ds .social-main__info p {
    color: #99AEB4;
}

.contacts .social-main-link:hover,
.pulse-ds .social-main-link:hover {
    background: #c7f3ff;
}


/* =========================
   Fluent Forms — форма № 22
========================= */

.contacts .contacts__form-wrap .fluentform {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.contacts .contacts__form-wrap .fluentform form.frm-fluent-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 0;
}

/* Первая строка: имя и телефон */

.contacts #fluentform_22 .ff-cn-container,
.contacts #fluentform_22 .ff-t-container {
    min-width: 0;
}

.contacts #fluentform_22 > .ff-t-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    margin: 0;
}

.contacts #fluentform_22 > .ff-t-container > .ff-t-cell {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: initial !important;
    margin: 0 !important;
}

.contacts #fluentform_22 .ff-t-cell .ff-t-container {
    display: block;
    width: 100%;
    margin: 0;
}

.contacts #fluentform_22 .ff-t-cell .ff-t-cell {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.contacts #fluentform_22 .ff-t-cell.ff-t-column-0,
.contacts #fluentform_22 .ff-t-cell.ff-t-column-1 {
    padding: 0 !important;
}

/* Поля формы */

.contacts #fluentform_22 .ff-el-group {
    min-width: 0;
    margin: 0;
}

.contacts #fluentform_22 .ff-el-input--label {
    display: none !important;
}

.contacts #fluentform_22 .ff-el-input--content {
    width: 100%;
    margin: 0;
}

.contacts #fluentform_22 input.ff-el-form-control,
.contacts #fluentform_22 textarea.ff-el-form-control {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
    outline: none;
    background: #EFF5F6 !important;
    color: #4E7079 !important;
    font-family: inherit;
    font-size: 16px !important;
    font-weight: 400;
    box-shadow: none !important;
}

.contacts #fluentform_22 input.ff-el-form-control {
    height: 58px !important;
    padding: 0 15px !important;
}

.contacts #fluentform_22 textarea.ff-el-form-control {
    height: 144px !important;
    min-height: 144px !important;
    padding: 17px 15px !important;
    resize: vertical;
}

.contacts #fluentform_22 input.ff-el-form-control::placeholder,
.contacts #fluentform_22 textarea.ff-el-form-control::placeholder {
    color: #597783 !important;
    opacity: 1;
}

/* Поле сообщения на всю ширину */

.contacts #fluentform_22 > .ff-el-group:has(textarea) {
    width: 100%;
    margin: 0;
}

/* Согласие на обработку данных */

.contacts #fluentform_22 .ff-custom_html {
    width: 100%;
    margin: 8px 0 0 !important;
}

.contacts #fluentform_22 .ff-custom_html p {
    margin: 0;
    padding: 0;
}

.contacts #fluentform_22 .contacts__consent {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.95);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    cursor: pointer;
}

.contacts #fluentform_22 .contacts__consent input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: relative;
    display: block;
    flex: 0 0 25px;
    width: 25px !important;
    height: 25px !important;
    min-width: 25px;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    border: 1px solid #fff !important;
    border-radius: 5px !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
}

.contacts #fluentform_22 .contacts__consent input[type="checkbox"]:checked {
    background: #0196B6 !important;
}

.contacts #fluentform_22 .contacts__consent input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 7px;
    width: 7px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contacts #fluentform_22 .contacts__consent a {
    color: inherit;
    text-decoration: underline;
}

/* Кнопка отправки */

.contacts #fluentform_22 .ff_submit_btn_wrapper {
    width: 100%;
    margin: 0 !important;
    padding: 0;
}

.contacts #fluentform_22 .contacts__submit,
.contacts #fluentform_22 button.ff-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.31);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contacts #fluentform_22 .contacts__submit:hover,
.contacts #fluentform_22 button.ff-btn-submit:hover {
    border-color: #fff !important;
    background-color: #fff !important;
    color: #116C83 !important;
}

.contacts .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 0px;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 12px;
}

.contacts .form-checkbox a {
    color: #fff;
    border-bottom: 1px solid #fff;
}

.contacts .form-checkbox a:hover {
    text-decoration: none;
}

.contacts .form-checkbox input[type="checkbox"] {
    background: none;
    border-color: #fff;
}

@media (max-width: 968px) {
    .contacts__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px;
    }

    .contacts__title {
        margin-bottom: 24px;
        font-size: 30px;
    }

    .contacts__schedule {
        width: 100%;
        max-width: 100%;
        padding: 10px 15px;
        font-size: 12px;
    }

    .contacts__schedule strong {
        font-size: 16px;
    }

    .contacts #fluentform_22 > .ff-t-container {
        gap: 10px;
    }

    .contacts #fluentform_22 input.ff-el-form-control {
        height: 50px !important;
    }

    .contacts #fluentform_22 textarea.ff-el-form-control {
        height: 125px !important;
        min-height: 125px !important;
    }

    .contacts #fluentform_22 .contacts__submit,
    .contacts #fluentform_22 button.ff-btn-submit {
        min-height: 52px;
        font-size: 16px !important;
    }

    .contacts #fluentform_22 .contacts__consent {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .contacts {
        padding: 0 12px;
    }

    .contacts__inner {
        gap: 24px;
        padding: 20px;
        border-radius: 9px;
    }

    .contacts__title {
        margin-bottom: 20px;
        font-size: 29px;
    }

    .contacts__schedule {
        padding: 10px 15px;
        margin-bottom: 20px;
    }

    .contacts__schedule strong {
        line-height: 1.4;
    }

    .contacts__item {
        align-items: flex-start;
        gap: 8px;
    }

    .contacts__item svg {
        margin-top: 4px;
    }

    .contacts__item strong {
        font-size: 16px;
        line-height: 1.4;
    }

    .contacts #fluentform_22 > .ff-t-container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px;
    }

    .contacts #fluentform_22 input.ff-el-form-control {
        height: 45px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    .contacts #fluentform_22 textarea.ff-el-form-control {
        height: 83px !important;
        min-height: 83px !important;
        padding: 12px !important;
        font-size: 13px !important;
    }

    .contacts #fluentform_22 .contacts__submit,
    .contacts #fluentform_22 button.ff-btn-submit {
        min-height: 45px;
        padding: 10px !important;
        font-size: 14px !important;
    }

    .contacts #fluentform_22 .contacts__consent {
        gap: 8px;
        font-size: 11px;
        line-height: 1.35;
    }

    .contacts #fluentform_22 .contacts__consent input[type="checkbox"] {
        flex-basis: 20px;
        width: 20px !important;
        height: 20px !important;
        min-width: 20px;
    }
}
