/* ===== ИСПРАВЛЕНИЕ МОБИЛЬНОЙ ВЕРСИИ ===== */
@media screen and (max-width: 768px) {

/* Исправление контейнеров */
.t-container,
.t-container_100,
.t-section__container,
.t-col,
[class*="wrapper"] {
padding-left: 15px !important;
padding-right: 15px !important;
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
}

/* Исправление колонок */
.t-row,
.t-col,
[class*="col"] {
flex-direction: column !important;
width: 100% !important;
max-width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
display: block !important;
}

/* Текст */
body, p, div, span, a, li, .tn-atom, .t-text, .t-descr {
font-size: 16px !important;
line-height: 1.5 !important;
word-wrap: break-word !important;
}

/* Заголовки */
h1, .t-title, .t-name, [class*="title"] {
font-size: 28px !important;
line-height: 1.2 !important;
}

h2 {
font-size: 24px !important;
}

h3 {
font-size: 20px !important;
}

/* Кнопки - ВАЖНО для ваших стилей */
.t-submit,
.tn-form__submit .t-submit,
.bt1 .tn-atom,
button,
[class*="btn"],
[class*="button"] {
width: 100% !important;
max-width: 100% !important;
padding: 16px 20px !important;
height: auto !important;
min-height: auto !important;
white-space: normal !important;
word-wrap: break-word !important;
display: block !important;
margin-left: auto !important;
margin-right: auto !important;
text-align: center !important;
box-sizing: border-box !important;
}

/* Формы */
.t-form,
.t-form__inputsbox,
.tn-form__submit {
width: 100% !important;
max-width: 100% !important;
padding: 0 !important;
}

/* Поля ввода */
.t-input,
.t-input-phonemask,
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
width: 100% !important;
max-width: 100% !important;
padding: 14px 16px !important;
font-size: 16px !important;
box-sizing: border-box !important;
margin-bottom: 10px !important;
}

/* Изображения */
img,
.t-img,
.t-bgimg {
max-width: 100% !important;
height: auto !important;
object-fit: cover !important;
}

/* Отступы */
.t-section,
.t-block,
[class*="margin"] {
margin-top: 20px !important;
margin-bottom: 20px !important;
}

/* Исправление флексов */
[class*="flex"],
.t-flex,
.t-row {
flex-direction: column !important;
gap: 15px !important;
}

/* Скрываем лишнее на мобилках (если нужно) */
.hide-mobile {
display: none !important;
}
}

/* Для очень маленьких телефонов */
@media screen and (max-width: 480px) {
h1, .t-title {
font-size: 24px !important;
}

h2 {
font-size: 20px !important;
}

h3 {
font-size: 18px !important;
}

.t-container,
.t-container_100 {
padding-left: 10px !important;
padding-right: 10px !important;
}
}

/* Исправление вашей формы (дополнительно) */
@media screen and (max-width: 768px) {
.consent-container {
flex-wrap: wrap !important;
gap: 5px !important;
}

.consent-container label {
font-size: 14px !important;
width: calc(100% - 30px) !important;
}

.footer-links {
flex-wrap: wrap !important;
gap: 15px !important;
}

.footer-links a {
font-size: 13px !important;
white-space: normal !important;
text-align: center !important;
}
}