html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
button{
    cursor: pointer;
}

a {
    text-decoration: none;
}

p {
    font-family: sans-serif;
    font-size: 16px;
    color: #596373;
    line-height: 24px;
}
h2 {
    font-weight: 600;
    font-family: sans-serif;
    font-size: 20px;
    margin: 0 0 10px 0;
    color: #333333;
    margin-bottom: 16px;
}
.col2 {
    padding: 80px 0;
    background-color: #FFFFFF;
}
.col2 .top {
    width: 1280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 64px;
}
.col2 .bottom {
    padding-top: 40px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.col2 .bottom p {
    font-size: 14px;
}
.col2 .container .services-block {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.col2 .container .services-block .service-card:last-child {
    margin-left: auto;
    margin-right: auto;
}
.col2 .container .service-card {
    width: 31%;
    background-color: #ffffff;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    border: 1px solid #086cbc1a;
    justify-content: space-around;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    filter: blur(8px);
    transition:
            opacity 0.8s ease-out,
            transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
            filter 0.8s ease-out;
}

.col2 .container .service-card.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.col2 .container .card-image {
    position: relative;
}
.col2 .container .card-image img {
    width: 100%;
    height: 192px;
    object-fit: cover;
}
.col2 .container .card-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 56px;
    height: 56px;
    border-radius: 19px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: white;
}
.col2 .container .card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.col2 .container .card-title {
    font-size: 1.25em;
    color: #333;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 16px;
    /* font-weight: 100; */
}
.col2 .container .card-description {
    font-size: 16px;
    color: #555;
    line-height: 1.4;
    margin: 0 0 26px;
}
.col2 .container .card-price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 0.9em;
    font-size: 14px;
    font-family: sans-serif;
}
.col2 .container .price-value {
    font-size: 1.2em;
    color: #086cbc;

}
.col2 .container .service-card {
    transition: transform 1s ease, box-shadow 1s ease;
    cursor: pointer;
}
.col2 .container .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.col2 .container .card-image {
    position: relative;
    overflow: hidden;
}
.col2 .container .card-image img {
    width: 100%;
    transition: transform 1s ease;
}
.col2 .container .service-card:hover .card-image img {
    transform: scale(1.09);
}
.col2 .container .card-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    /* // transition: transform 0.5s ease; */
    transform-origin: center;
}
@keyframes shake {
    0%,
    100% {
        transform: scale(1.18) rotate(0deg);
    }
    20% {
        transform: scale(1.18) rotate(3deg);
    }
    40% {
        transform: scale(1.18) rotate(-3deg);
    }
    60% {
        transform: scale(1.18) rotate(2deg);
    }
    80% {
        transform: scale(1.18) rotate(-2deg);
    }
}
.col2 .container .card-icon:hover {
    animation: shake 0.4s ease-in-out infinite;
    transform: scale(1.18);
}
h2 {
    font-size: 30px;
    color: #333;
    margin-bottom: 16px;
    font-weight: 500;
}
.pop-up{
    position: fixed;
    width: 358px;
    max-width: 90vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    display: none;
    z-index: 1000;
    background-color: #FFFFFF;
    border-radius: 12px;
    /* box-shadow: 0 8px 25px rgba(21, 93, 252, 0.3); */
    color: #162959;
    border: 1px solid #7a9fbc82;
}
.pop-up form{
    text-align: center;
    width: 100%;

}
.pop-up form input{
    display: block;
    margin-bottom: 20px;
    background-color: #ffffff;
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    outline: none;
}
.pop-up .title{
    text-align: center;
    color: white;
    font-family: sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #4c5a78;
    margin-bottom: 20px;
    text-align: center;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 998;
    display: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.overlay.active {
    display: block;
    opacity: 1;
}
.close{
    background-color: #FF5722;
}

@media (max-width: 500px) {
    .btn-menu-mob {
        display: none;
    }
}




/* Плавная прокрутка для всех якорей */
html {
    scroll-behavior: smooth;
}

/* Делаем так, чтобы целевой элемент центрировался */
:target {
    scroll-margin-top: 50vh;   /* отступ сверху = половина высоты экрана */
    scroll-margin-bottom: 50vh; /* и снизу тоже, чтобы элемент был по центру */
}

