/* ========== ОСНОВНЫЕ СТИЛИ (без медиа-запросов) ========== */
.t-menu-base__maincontainer_100-40 {
    padding-right: 20px;
    padding-left: 20px;
}
/* Базовые стили для T668 */
#rec2003626261 .t668,
body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t550 {
    display: flex;
    align-items: start;
}

/* Стили для T786 */
.t786__content {
    position: relative;
}

.t786__textwrapper {
    position: absolute;
    bottom: 10px;
    z-index: 10;
    margin-left: 25px;
}

.t786__price-wrapper {
    margin-top: 0;
}

.t786__price-item {
    display: block;
}

/* Стили для T422 */
.t422 .t-container {
    max-width: 991px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.t422__wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-right: 0px;
    margin-left: 0px;
}

.t422__col_6 {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.t-width_12 {
    width: 100%;
    max-width: 100%;
}

.t422__col {
    box-sizing: border-box;
}

/* Специальные стили */
#rec2033692341 .t-section__title {
    margin-bottom: 45px !important;
}

.t786__container_indent.t786__container_clgap-20px {
    padding: 0 15px;
}

#rec2003626261 .t-section__descr,
body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t550 .t-section__descr {
    max-width: unset;
}

.tn-elem__20108037611773173403198 iframe {
    height: stretch;
    width: stretch;
}

/* Стили для третьей колонки T668 */
#rec2003626261 .t668__col:nth-child(3) .t668__textwrapper {
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
}

#rec2003626261 .t668__col:nth-child(3) .t668__textwrapper img {
    width: 40%;
    object-fit: cover;
}

/* Стили для контейнеров */
#rec2057678091 .t-container,
#rec2057822371 .t-container,
body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t758 .t-container{
    max-width: 1900px;
}

#rec2057678091 .t795__title {
    margin-bottom: 20px;
}
 body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t550__title{
    margin-top: 7px;
} 
/* ========== МЕДИА-ЗАПРОСЫ ========== */

/* Большие экраны (1901px и выше) */
@media all and (min-width: 1901px) {
    .t979__container_indent {
        padding: 0 18px;
    }
    
    .service-section {
        margin-left: 25px;
        margin-right: 20px;
    }
    
    #rec2057678091 .t-container,
    #rec2057822371 .t-container {
        margin-left: unset !important;
        margin-right: unset !important;
    }
    
    #rec2003626261 .t668 .t-section__container .t-col,
    body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t550 .t-section__container .t-col {
        margin-left: 23px;
    }
    
    #rec2033692341 .t-container .t-col,
    #rec2057678091 .t-container .t-col,
    #rec2057822371 .t-container .t-col
    {
        margin-left: 25px !important;
    }
    
    #rec2033692341 .t786 .t-container {
        margin-left: unset !important;
    }
    
    .t422 .t-container {
        max-width: 1900px;
    }
      body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t550 > div:nth-of-type(2) .t-col{
       max-width: 80%;
    }
      body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t550 > .t-container:nth-of-type(2) {
        display: flex;
    flex-direction: column;
    align-items: end;
    }
}

/* Экраны до 1900px (ноутбуки, планшеты) */
@media (max-width: 1900px) {
    #rec2003626261 .t668,
    body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t550{
        flex-wrap: wrap;
    }
    
    .t-section__container,
    #rec2057678091 .t-container,
    #rec2057822371 .t-container,
    body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t758 .t-container{
        max-width: 991px;
    }
    
    #rec2003626261 .t668 > div:nth-of-type(2),
    body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t550 > div:nth-of-type(2) {
        max-width: 991px;
    }
    
    #rec2003626261 .t-col,
    .service-section,
    #rec2057678091 .t-container .t-col,
    #rec2057822371 .t-container .t-col,
    body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t758 .t-container .t-col,
    body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t550 .t-col {
        margin-right: 15.5px;
        margin-left: 15.5px;
    }
    
    .t-section__title,
    .t795__title {
        font-size: 40px !important;
        margin: 0px auto 20px;
    }
    
    #rec2033692341 .t786__price {
        font-size: 22px !important;
    }
    
    #rec2033692341 .t786__content .t786__title {
        font-size: 26px !important;
    }
    
    .t422 .t-container {
        max-width: 991px;
    }
}

/* Экраны до 960px (планшеты) */
@media (max-width: 960px) {
    /* Навигация */
    #nav1986760151 .t-menu-base__right_descr p {
        text-align: center !important;
    }
    
    #nav1986760151 .t-menu-base__right_descr p:first-of-type span {
        font-size: 14px !important;
    }
    
    #nav1986760151 .t-menu-base__maincontainer {
        gap: unset;
    }
    
    #nav1986760151 .t-menu-base__right_descr p a {
        font-size: 18px !important;
    }
    
    /* Контейнеры */
    .t-section__container,
    #rec2057678091 .t-container,
    #rec2057822371 .t-container,
    body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t758 .t-container{
        max-width: 641px;
    }
    
    #rec2003626261 .t668 > div:nth-of-type(2),
    body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t550 > div:nth-of-type(2) {
        max-width: 641px;
    }
    
    /* Заголовки */
    .t-section__title,
    .t795__title {
        font-size: 30px !important;
        text-align: center;
    }
    
    #rec2033692341 .t-section__title {
        margin-bottom: 24px !important;
    }
    
    /* Цены и тексты */
    #rec2033692341 .t786__price {
        font-size: 18px !important;
    }
    
    #rec2033692341 .t786__content .t786__title {
        font-size: 22px !important;
    }
    
    /* Отступы колонок */
    #rec2003626261 .t-col,
    .service-section,
    #rec2057678091 .t-container .t-col,
    #rec2057822371 .t-container .t-col,
    body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t758 .t-container .t-col,
    body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t550 .t-col {
        margin-right: 10.5px;
        margin-left: 10.5px;
    }
    
    #rec2003626261 .t-col,
    body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t550 .t-col {
        padding-left: 0px;
        padding-right: 0px;
    }
    
    /* T422 адаптация */
    .t422__col_6 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .t422__img {
        height: auto !important;
        min-height: 250px;
    }
    
    .t422__textwrapper {
        padding: 25px;
    }
    
    .t422 .t-container {
        max-width: 641px;
    }
    
    .t422 .t-container {
        padding: 0px;
    }
}

/* Экраны до 640px (мобильные) */
@media (max-width: 640px) {
    .t-section__title,
    .t795__title {
        font-size: 24px !important;
        text-align: center;
    }
    
    .t422 .t-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .t422__img {
        height: auto !important;
        min-height: 200px;
    }
    
    .t422__textwrapper {
        padding: 20px;
    }
    
    .t422__title {
        font-size: 24px !important;
        text-align: center;
    }
    
    .t422__descr {
        font-size: 16px !important;
        text-align: center;
    }
}

/* Экраны до 480px (очень маленькие) */
@media (max-width: 480px) {
    .t-section__title,
    .t795__title {
        font-size: 21px !important;
        text-align: center;
        zoom: 1.328;
    }
    
    .t422 .t-container {
        padding: 0 20px;
    }
    
    .t422__title {
        font-size: 21px !important;
    }
    
    .t422__descr {
        font-size: 14px !important;
    }
    #rec2003626261 .t668__col:nth-child(3) .t668__textwrapper {
        flex-direction: column;
        gap:0px;
    }
    #rec2003626261 .t668__col:nth-child(3) .t668__textwrapper img {
    width: 100%;
    height: 150px;
    margin-bottom: 0px;
    }
        #rec2003626261 .t-section__descr,
        body.t-body div#allrecords[data-tilda-page-alias*="uslugi"] .t550 .t-section__descr {
       zoom: 1.328;
    }
}