/* Layout stability — reduce CLS from images, fonts, form, header */

img {
    max-width: 100%;
    height: auto;
}

.header-img,
.footer-img {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
}

.review-avatars {
    width: 120px;
    height: 44px;
    object-fit: contain;
}

.review-stars,
.feedback-stars {
    width: 88px;
    height: 16px;
    display: block;
}

.flags-img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.partners-img {
    height: 32px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.service-card-img,
.advantage-card-img,
.feedback-card-img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.techno-line img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.faq-icon img {
    width: 24px;
    height: 24px;
}

.places-counter {
    display: inline-block;
    min-width: 1.5ch;
    text-align: center;
}

.hero-form {
    min-height: 380px;
}

form.js-lead-form input[type="tel"],
.lead-form-wrap input[type="tel"],
.register-form input[type="tel"] {
    min-height: 52px;
    padding-left: 56px !important;
}

@media (min-width: 800px) {
    .header {
        position: sticky;
        top: 0;
    }
}

@media (max-width: 1023px) {
    body {
        padding-top: 32px;
    }

    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    .header {
        margin-top: 0;
    }
}
