/*CSS Reset*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}
html {
	min-height:100%;
	box-sizing: border-box;
	scroll-behavior: smooth;
}
*,
*:before,
*:after {
	box-sizing: inherit;
}
body {
	color: #333;
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	line-height:120%;
    font-weight: 400;
    background-color: #F5F7FA;
}
main p{margin-bottom:15px;}
a{text-decoration: none;transition:0.3s}
a:hover{text-decoration: none;}
img{max-width: 100%;height:auto;}
h1,h2,h3{color:#1c436b}
h1{
    font-size:40px;
    line-height: 120%;
    margin-bottom: 40px;
    text-transform: uppercase;
}
h2{
    font-size: 32px;
    line-height: 120%;
    margin-bottom: 40px;
}
h3{
    font-size: 24px;
    line-height: 120%;
}
.stable-padding{
    padding-top:60px;
    padding-bottom: 60px;
}
.row{
    display: flex;
    flex-wrap: wrap;
    width:100%;
    gap:30px;
}
.col-6{
    width:calc((100% - 30px) /2);
}
.col-4{
    width:calc((100% - 60px) / 3)
}
.col-3{
    width:calc((100% - 90px) / 4);
}
.col-5{
    width:calc((5 * 8.33%) - 15px );
}
.col-7{
    width:calc((7 * 8.33%) - 15px );
}
.col-12{
    width:100%;
}
.col-2{
    width:calc((2 * 8.33%) - 30px);
}
strong{
    font-weight: bold;
}
.full-width{
    width:100vw;
    position: relative;
    left:50%;
    transform: translateX(-50%);
}
.wrapper{
    overflow-x: hidden;
}
.font-18{
    font-size:18px;
    line-height: 140%;
}
.mb-40{
    margin-bottom: 40px;
}
/*header*/
header{
    width:100%;
    background-color: #1c436b;
}
.header__container{
    padding:5px 15px;
    display:flex;
    align-items: center;
    justify-content: space-between;
    width:1170px;
    max-width: 100%;
    margin:0 auto;
}
.header__menu ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:20px;
}
.header__menu a{
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    transition: .3s;
    color:#fff;
}
.text-center{
    text-align: center;
}
.btn-center{
    margin-left:auto;
    margin-right:auto;
}
.btn{
    display:inline-block;
    transition: .3s;
    color:#fff;
    cursor: pointer;
    background: #1c436b;
    border-radius: 4px;
    border:0;
    padding: 13px 25px 11px;
    line-height: 100%;
}
.btn:hover{
    background-color: #546475;
}
.btn::before,
.btn::after{
    content: '';
    clear: both;
}
/*main*/
main{
    width:1170px;
    max-width:100%;
    padding-left:15px;
    padding-right:15px;
    margin: 0 auto;
}
main a:not(.btn){
    color: #1c436b;
    text-decoration: underline;
}
main a:not(.btn):hover{
    text-decoration: none;
}
.container{
    margin-bottom: 60px;
}
.hero{
    background-color: #fff;
}
.hero .row{
    align-items: center;
    width:1170px;
    max-width: 100%;
    margin:0 auto;
    padding-left:15px;
    padding-right:15px;
}
.description{
    font-size:24px;
    line-height: 120%;
    margin-bottom: 60px;
}
.services{
    text-align: center;
}
.services figure{
    margin-bottom: 20px;
}
.advantages{
    background-color: #fff;
}
.advantages .row{
    width:1170px;
    max-width: 100%;
    margin:0 auto;
    padding-left:15px;
    padding-right:15px;
}
.cta{
    background: url(../img/buk-bg.jpg) no-repeat center;
    background-size: cover;
}
.notice{
    display:inline-block;
    background-color: #1c436b;
    color:#fff;
    padding:13px 30px 11px;
    line-height: 100%;
    border-radius: 4px;
    float: right;
    margin-bottom: 20px;
}
.notice::before,
.notice::after{
    content: '';
    clear: both;
    display: block;
}
.cta .col-6:last-child .notice{
    float:left;
}
.cta .row{
    width:1170px;
    max-width: 100%;
    margin:0 auto;
    padding-left:15px;
    padding-right:15px;
}
.clients .row{
    align-items: center;
    padding-left:15px;
    padding-right:15px;
}
.clients__list{
    counter-reset: list-item;
    margin-bottom: 40px;
}
.clients__list li{
    counter-increment: list-item;
    position: relative;
    padding-left:60px;
    display: block;
    margin-bottom: 30px;
    font-size:18px;
    font-weight: bold;
    color:#1c436b;
}
.clients__list li:before{
    content: counter(list-item);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: bold;
    background: url(../img/num.svg) no-repeat -1px 3px;
    text-align: center;
    width:40px;
    height: 40px;
    line-height: 40px;
    color:#fff;
    font-weight: bold;
    font-size: 18px;
    background-size: cover;
}
.cost{
    background-color: #fff;
}
.cost form{
    width:480px;
    max-width:100%;
    margin:0 auto;
    padding:0 15px;
}

input{
    height:38px;
    padding:8px 15px;
    border-radius: 4px;
    border:1px solid #333;
    width:100%;
    margin-bottom: 20px;
    outline: none;
}
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    vertical-align: middle;
    background-color: #fff;
    padding: 0;
    color: #36404B;
    border: 1px solid #333;
    border-radius: 50%;
}

input[type="radio"]:checked::after {
    content: ''; 
    display: inline-block;
    width:10px;
    height:10px;
    background: #333;
    border-radius: 50%;
    position: relative;
    left: 3px;
    top: 1px;
}
.cost__radio-buttons{
    border-radius: 4px;
    border:1px solid #333;
    width:100%;
    margin-bottom: 20px;
    padding:15px 15px 0;
}
.cost__radio-buttons label{
    display:flex;
    align-items: center;
    margin-bottom: 15px;
}
.cost__radio-buttons label input{
    margin-bottom: 0;
    position: relative;
    top: -2px;
}
.wi__wrap{
    background-color: #fff;
    border-radius: 10px;
    padding:30px 40px;
    margin-bottom: 30px;
}
.wi__title{
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}
.wi__wrap p{
    margin-bottom: 0;
}
.hww__wrap{
    background-color: #fff;
    border-radius: 0 10px 10px 10px;
    position: relative;
    padding:30px 40px;
    overflow: hidden;
}
.hww__wrap p{
    margin-bottom: 0;
}
.hww__num{
    width: 60px;
    height: 60px;
    background-color: #1c436b;
    border-radius: 50%;
    color: #fff;
    line-height: 57px;
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: -24px;
    top: -23px;
    padding: 12px 0 0 34px;
}
.hww__title{
    font-weight: bold;
    font-size:18px;
    margin-bottom: 15px;
    min-height: 38px;
}
.about{
    background-color: #fff;
    font-size: 18px;
    line-height: 140%;
}
.about .row{
    width:1170px;
    max-width: 100%;
    margin:0 auto;
    align-items: center;
    padding-left:15px;
    padding-right:15px;
}
.faq__wrap {
    margin-bottom: 10px;
    cursor: pointer;
    border-bottom: 1px solid #999;
}
.faq__title {
    padding: 10px 35px 10px 15px;
    font-weight: bold;
    font-size:18px;
    position: relative;
}
.faq__title::after{
    content: '+';
    display: block;
    position: absolute;
    right: 15px;
    top: 9px;
    font-size: 26px;
    font-weight: 300;
}
.faq__wrap.active .faq__title::after{
    content: '\2013';
}
.faq__content {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    padding: 0 15px 0;
    transition: .3s;
    background-color: rgba(255, 255, 255, 0.5);
}
.faq__wrap.active .faq__content {
    height: auto;
    padding: 15px;
    line-height: 120%;
    visibility: visible;
}
textarea{
    width:100%;
    border-radius: 4px;
    border:1px solid #333;
    height:80px;
    margin-bottom: 20px;
    outline: none;
    padding: 15px;
}
input::placeholder,
textarea::placeholder{
    color: #999;
    font-family: "Roboto", sans-serif !important;
}
.contacts{
    background-color: #fff;
}
.contacts .row{
    width:1170px;
    max-width: 100%;
    margin:0 auto;
    align-items: stretch;
    padding-left:15px;
    padding-right:15px;
}
.contacts form{
    width:100%;
    padding:40px 0;
}
.contacts figure{
    height:100%;
    width:100%;
    overflow: hidden;
    display: block;
    position: relative;
}
.contacts figure img{
    width:100%;
    height:100%;
    object-fit: cover;
    position: absolute;
    top:0;
}
footer{
    width:100%;
    background-color: #1c436b;
}
.footer__content{
    width:1170px;
    max-width: 100%;
    margin:0 auto;
    padding:40px 15px;
    color:#fff;
    font-size:14px;
}
.footer__content .row{
    justify-content: space-between;
}
footer a{
    color:#fff;
    display: block;
    margin-bottom: 5px;
}
footer a:hover{
    text-decoration: underline;
}
footer ul{
    padding-top:20px;
}
.footer__content p{
    margin-bottom: 10px;
}
.footer__content .copy{
    color:rgba(255, 255, 255, 0.6)
}
.social__links{
    display: flex;
    flex-wrap: wrap;
    width: calc((24px + 10px) * 3);
    gap: 15px;
    justify-content: center;
    padding-top:20px;
    margin-bottom: 15px;
}
.social__links > a{
    display: block;
    width: 24px;
    height: 24px;
    line-height: 0;
}
@media (max-width: 1024px) {
    .burger{
        display:block;
        width: 24px;
        height: 18px;
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        right:15px;
        top:24px;
    }
    .burger span{
        width:100%;
        height:2px;
        background-color: #fff;
        transition: .3s;
    }
    .burger.active span:nth-child(1){
        transform: rotate(45deg);
        position: absolute;
        top:10px;
    }
    .burger.active span:nth-child(2){
        opacity: 0;
    }
    .burger.active span:nth-child(3){
        transform: rotate(-45deg);
        position: absolute;
        top:10px;
    }
    .header__menu ul{
        position: absolute;
        top:66px;
        right:0;
        width:400px;
        max-width: 100%;
        background-color: #1c436b;
        padding:20px ;
        flex-direction: column;
        align-items: flex-start;
        opacity: 0;
        z-index: -1;
        visibility: hidden;
    }
    .burger.active + ul{
        opacity: 1;
        z-index: 100;
        visibility: visible;
    }
}
@media (max-width:575px){
    h1{
        font-size:32px;
    }
    h2{
        font-size: 24px;
    }
    .description{
        font-size: 18px;
        line-height: 120%;
        margin-bottom: 20px;
    }
    .hero figure{
        padding-bottom: 134%;
    }
    .services img{
        width:80px;
    }
    .services h3{
        font-size: 16px;
    }
    .notice{
        width:100%;
    }
}
/* Контейнер карусели */
.works-carousel {
    padding: 40px 0;
}

.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 0;
}

.carousel-slide {
    flex: 0 0 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px 20px 20px;
    text-align: left;
    pointer-events: none;
}

.slide-caption h4 {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 600;
}

.slide-caption p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: #007bff;
    transform: scale(1.2);
}

@media (min-width: 768px) {
    .carousel-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 992px) {
    .carousel-slide {
        flex: 0 0 33.333%;
    }
    .carousel-slide img {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .carousel-slide img {
        height: 300px;
    }
    .slide-caption h4 {
        font-size: 16px;
    }
    .slide-caption p {
        font-size: 12px;
    }
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}
/* Секция контактов */
.contacts {
    padding: 60px 0;
    background: #f9f9f9;
}

.contact-info {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-info h2 {
    text-align: center;
    margin-bottom: 35px;
    color: #333;
    font-size: 32px;
    position: relative;
}

.contact-info h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #007bff;
    margin: 15px auto 0;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 24px;
    min-width: 40px;
    height: 40px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text a,
.contact-text span {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.4;
}

.contact-text a:hover {
    color: #007bff;
    text-decoration: underline;
}

.contact-note {
    background: #f0f7ff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.contact-note p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-container iframe,
.map-container script {
    width: 100%;
    height: 100%;
    display: block;
}

/* Стиль для маленькой заметки */
.contact-note-small {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 3px;
}

/* Стили для иконки MAX */
.max-icon {
    background: #07F !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.max-icon img {
    filter: brightness(0) invert(1);
    width: 18px;
    height: 18px;
}

/* Стили для увеличивающейся картинки */
.zoomable-img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
}

.zoomable-img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,123,255,0.2);
    border-color: #007bff;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    margin-top: 5%;
    border: 3px solid white;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-size: 18px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #bbb;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Верхняя информационная полоса */
.top-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 0;
    font-size: 14px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.top-bar__container {
    width: 1170px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.top-bar__info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    justify-content: flex-start;
}

.top-bar__item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
    white-space: nowrap;
}

.top-bar__icon {
    font-size: 16px;
    color: #1c436b;
}

.max-icon-small {
    color: #07F;
    font-size: 18px;
    font-weight: bold;
}

.top-bar__item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar__item a:hover {
    color: #1c436b;
    text-decoration: underline;
}

.top-bar__item a[href*="max.ru"]:hover {
    color: #07F;
}

/* Принудительный перенос длинных слов */
body {
    overflow-wrap: break-word;
    word-break: break-word;
}

a {
    overflow-wrap: break-word;
    word-break: break-word;
}

.footer__content .col-6 p:first-of-type {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.3px;
    background: rgba(255, 217, 102, 0.5);
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-block;
    margin: 15px 0;
}

/* ==================== МОБИЛЬНАЯ АДАПТАЦИЯ (до 768px) ==================== */
@media (max-width: 768px) {
    .col-6, .col-4, .col-3, .col-5, .col-7, .col-2 {
        width: 100%;
    }
    
    h1 {
        color: #fff;
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero .col-6:first-child {
        position: absolute;
        padding: 20px 15px;
        top: 0;
        color: #fff;
        z-index: 1;
        align-content: center;
        height: 100%;
        background: rgba(0,0,0,0.6);
        border-radius: 8px;
        width: calc(100% - 30px);
        left: 15px;
    }
    
    .hero .row {
        flex-direction: column-reverse;
        position: relative;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .hero .col-6:last-child {
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero .col-6:last-child:after {
        content: '';
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.5);
    }
    
    .hero figure {
        line-height: 0;
        position: relative;
        width: 100%;
        padding-bottom: 75%;
        overflow: hidden;
    }
    
    .hero figure img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .description {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 30px;
        word-break: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .advantages .col-6:last-child {
        display: none;
    }
    
    .cta .row {
        gap: 0;
    }
    
    .cta p.text-center {
        text-align: left;
        padding: 0 15px;
    }
    
    .notice {
        float: left;
        clear: both;
        width: 100%;
    }
    
    .what-included .row {
        gap: 0;
    }
    
    .what-included br {
        display: none;
    }
    
    .col-4 {
        width: 100%;
    }
    
    .about {
        padding: 40px 0;
    }
    
    .about .row {
        flex-direction: column;
        gap: 20px;
        position: relative;
    }
    
    .about .col-5 {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .about figure {
        position: relative;
        top: auto;
        left: auto;
        width: 130px;
        height: 130px;
        margin: 0 auto;
        border-radius: 12px;
        overflow: hidden;
        border: 3px solid #1c436b;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .about figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .about .col-7 {
        width: 100%;
        padding: 0 15px;
    }
    
    .about h2 {
        text-align: center;
        padding-left: 0;
        margin-bottom: 20px;
        font-size: 24px;
        width: 100%;
    }
    
    .about p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .contacts {
        padding: 40px 0;
    }
    
    .contacts .row {
        flex-direction: column;
        gap: 30px;
    }
    
    .contacts .col-6 {
        width: 100%;
    }
    
    .contacts h2 {
        color: #fff;
    }
    
    .contacts .col-6:last-child {
        height: 100%;
        position: absolute;
        z-index: -1;
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contacts .col-6:last-child:after {
        content: '';
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.5);
    }
    
    .contact-info {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .contact-info h2 {
        font-size: 28px;
        margin-bottom: 25px;
        color: #333;
    }
    
    .contact-item {
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .contact-icon {
        font-size: 20px;
        min-width: 36px;
        height: 36px;
    }
    
    .contact-text a,
    .contact-text span {
        font-size: 16px;
    }
    
    .contact-note-small {
        font-size: 11px;
    }
    
    .map-container {
        min-height: 350px;
    }
    
    .footer__content {
        padding: 30px 15px;
    }
    
    .footer__content .col-2 {
        display: none;
    }
    
    footer {
        margin-top: 0;
        position: relative;
        clear: both;
    }
    
    .top-bar__container {
        padding: 10px 15px;
    }
    
    .top-bar__info {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
    }
    
    .top-bar__item {
        white-space: normal;
        width: 100%;
        justify-content: center;
    }
}

/* ==================== ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ (до 480px) ==================== */
@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    .description {
        font-size: 16px;
    }
    
    .hero figure {
        padding-bottom: 134%;
    }
    
    .services img {
        width: 60px;
    }
    
    .services h3 {
        font-size: 14px;
    }
    
    .top-bar {
        font-size: 12px;
    }
    
    .top-bar__icon {
        font-size: 14px;
    }
    
    .carousel-slide img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    /* ... ваш существующий код ... */
    
    /* Исправление наезжания блока hero на услуги */
    .hero {
        margin-bottom: 0;
        padding-bottom: 20px;
    }
    
    .hero .row {
        margin-bottom: 0;
    }
    
    /* Уменьшаем отступы в блоке hero */
    .hero .col-6:first-child {
        position: relative;
        padding: 30px 15px 20px;
        margin-bottom: 20px;
    }
    
    /* Уменьшаем отступ у description */
    .description {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.4;
    }
    
    /* Увеличиваем отступ между блоками */
    .services {
        margin-top: 20px;
        padding-top: 20px;
    }
}