* {
    box-sizing: border-box;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header * {
    color:#3E4659;;
}
html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: #F0F4F8;
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

ul {
    padding-inline-start: 0;
}

header {
    max-height: 120px;
    max-width: 1280px;
    position: relative;
    margin: 0 auto;
    margin-bottom: 0;
    background-color: white;
    border-radius: 40px;
    padding: 0 40px;
    display: block;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-wrapper img {
    max-height: 90px;
    width: auto;
}

.menu {
    display: flex;
    gap: 40px;
    font-family: 'Reddit Sans', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #3E4659;
    align-items: center;
}

.menu a {
    color: #3E4659;
    text-decoration: none;
    padding: 0;
    width: 140px;
    height: 50px;
    line-height: 45px;
    border-radius: 18px;
    transition: all 0.3s ease;
    font-weight: 400;
    box-sizing: border-box;
    margin: 0;
    display: inline-block;
    position: relative;
    z-index: 1;
    text-align: center;
}

.menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    border-radius: 18px;
    transition: all 0.3s ease;
    z-index: -1;
}

.menu a:hover {
    color: #2a3441;
    font-weight: 600;
    color: white;
    transform: translateY(-1px);
}

.menu a:hover::before {
    background-color: #4A78C0;
    box-shadow: 0 2px 8px rgba(74, 120, 192, 0.3);
}

.header__button {
    width: 99px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4A78C0;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    border-radius: 18px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.header__button:hover {
    background: #3560a9;
    color: #fff;
    box-shadow: 0 4px 16px rgba(53, 96, 169, 0.18);
    transform: translateY(-2px);
}

.header__contact {
    display: flex;
    align-items: center;
}

.phone-number {
    font-family: 'Reddit Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #3E4659;
    text-decoration: none;
    padding: 8px 25px;
    border-radius: 18px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.phone-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    border-radius: 18px;
    transition: all 0.3s ease;
    z-index: -1;
}

.phone-number:hover {
    color: white;
}

.phone-number:hover::before {
    background-color: #4A78C0;
    box-shadow: 0 2px 8px rgba(74, 120, 192, 0.3);
}

.menu-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.menu-icon img {
    width: 53px;
    height: 38px;
}

main {
    position: relative;
    margin: auto;
    max-width: 1280px;
    z-index: 2;
    padding-top: 0;
}

section {
    margin-top: 24px;
}

main iframe {
    border-radius: 30px;
}

.banner {
    background-color: #F0F4F8;
    background: url("/img/fon.png") no-repeat center top;
    background-size: 100% 100%;
    min-height: 100vh;
    width: 100%;
    height: 125vh;
    position: relative;
    margin: 0;
    padding: 0;
    margin-bottom: 70px;
    border-radius: 0 0 60px 60px;
    padding-top: 40px;
}

.header__content {
    position: relative;
    display: flex;
    height: 120px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-logo {
    display: flex;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    z-index: 10;
}

.header-logo img {
    max-width: 602px;
    height: auto;
    margin-bottom: 30px;
}

.header-text {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.header-text p {
    font-family: 'Marck Script', cursive;
    font-size: 36px;
    font-weight: 400;
    color: white;
    margin: 0;
}

.header-subtitle {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

.header-subtitle p {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 200;
    color: white;
    margin: 0;
    text-align: center;
    max-width: 1200px;
}


.section__title-wrapper {
    width: 1280px;
    height: 780px;
    background-color: #FFFFFF;
    border-radius: 50px;
    margin: auto;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px;
}

.section__title-wrapper-rooms {
    width: 1280px;
    height: 1150px;
    background-color: #FFFFFF;
    border-radius: 50px;
    margin: auto;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px;
}

.section__title-wrapper-gallery {
    width: 1280px;
    height: 900px;
    background-color: #FFFFFF;
    border-radius: 50px;
    margin: auto;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px;
}

/* Контейнер для номеров */
.rooms-container {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 100%;
    justify-content: center;
}

/* Кнопки навигации между карточками */
.nav-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #4A78C0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.nav-button:hover {
    opacity: 0.8;
}

.nav-button img {
    width: 20px;
    height: 20px;
}

/* Контейнер карточек */
.rooms-cards {
    display: block;
    gap: 0;
    width: 500px;
    justify-content: center;
    align-items: center; 
    position: relative;
    overflow: hidden; 
    height: 950px;
    margin: 0 auto;
    opacity: 1;
    top: 0;
    left: 0;
    
    transition: opacity 0.5s ease-in-out; /* Плавное изменение прозрачности за 0.5 секунды */
}

/* Карточка номера */
.room-card {
    width: 500px;
    height: 950px;
    background-color: #F8F9FA;
    border-radius: 20px;
    overflow: hidden;
    opacity: 1;
    position: static;
    z-index: 1;
    display: block;
    transition: none;
    transform: none;
    flex-shrink: 0;
}

.room-card.active {
    width: 550px;
    height: 850px;
}

.room-card.hidden {
    display: none;
    
}

/* Слайдер фотографий */
.room-photos {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.photo-slider {
    position: relative;
    height: 100%;
}

.photo-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s;
}

.photo-slider img.active {
    opacity: 1;
}

/* Навигация по фотографиям */
.photo-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
}

.photo-nav-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-nav-btn img {
    width: 12px;
    height: 12px;
}

.photo-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background-color: white;
}

/* Описание номера */
.room-description {
    padding: 30px;
}

.room-description h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #3E4659;
    margin: 0 0 15px 0;
}

.room-description p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #6C757D;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.room-features span {
    background-color: #4A78C0;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: #3E4659;
    margin: 0;
    text-align: center;
    margin-bottom: 20px;
}

footer {
    max-width: 1280px;
    height: auto;
    min-height: 310px;
    background-color: #3E4659;
    border-radius: 50px;
    margin: auto;
    margin-top: 70px;
    margin-bottom: 40px;
    display: flex;
}

.footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 5px 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    max-width: 270px;
    height: auto;
}

.footer-columns {
    display: flex;
    gap: 80px;
    margin-left: 60px;
    padding: 45px 0px;
}

.footer-column h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: white;
    margin: 0 0 15px 0;
}

.footer-column:first-child h3:nth-child(4) {
    margin-top: 40px;
}

.footer-column {
    max-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 20px;
    height: 20px;
}

.contact-text {
    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.contact-link:hover {
    opacity: 0.8;
}

.contact-info p {
    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0 0 10px 0;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-icon {
    display: flex;
    align-items: center;
}

.social-icon img {
    width: 35px;
    height: 35px;
    transition: opacity 0.3s ease;
}

.social-icon:hover img {
    opacity: 0.7;
}

/* Галерея */
.gallery-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    height: 750px;
}

.gallery-slider {
    position: relative;
    width: 600px;
    height: 700px;
    border-radius: 30px;
    overflow: hidden;
    background: #e9eef6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: 30px;
}

.gallery-photo.active {
    opacity: 1;
    z-index: 2;
}

.gallery-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #4A78C0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 3;
    flex-shrink: 0;
}

.gallery-nav-btn img {
    width: 27px;
    height: 27px;
}

.gallery-nav-btn:hover {
    background: #345a8a;
}

/* FAQ (Частые вопросы) */
.faq-list {
    margin: 40px auto 40px auto;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 28px 36px;
    box-shadow: 0 2px 8px rgba(60,70,89,0.04);
}

.faq-question {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #3E4659;
    margin-bottom: 10px;
}

.faq-answer {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #6C757D;
    line-height: 1.5;
}

.contacts-flex {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto 40px auto;
    max-width: 1280px;
}

.contact-mini-block {
    align-items: center;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 2px 12px rgba(60,70,89,0.07);
    padding: 36px 32px 24px 32px;
    min-width: 320px;
    max-width: 340px;
    min-height: 538px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

.contact-mini-block h3 {
    font-size: 30px;
    font-weight: 600;
    color: #3E4659;
    margin-top: 10px;
    margin-bottom: 35px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.contact-form label {
    font-size: 15px;
    color: #4A78C0;
    margin-bottom: 2px;
}

.contact-form input {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #dbe3ef;
    font-size: 16px;
    color: #3E4659;
    background: #f8f9fa;
    outline: none;
    transition: border 0.2s;
}

.contact-form input:focus {
    border: 1.5px solid #4A78C0;
}

.contact-form button {
    margin-top: 10px;
    padding: 12px 0;
    border-radius: 12px;
    border: none;
    background: #4A78C0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: #345a8a;
}

.contact-address {
    margin-top: 18px;
    text-align: center;
    color: #6C757D;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 24px;
    align-items: center;
    width: 100%;
}

.contact-info-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    font-size: 17px;
    text-align: center;
}

.contact-info-row:has(.contact-info-label:contains('Адрес:')) {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.contact-info-row:has(.contact-info-label:contains('Адрес:')) .contact-info-value {
    margin-left: 0;
    display: block;
}

.contact-info-label {
    color: #4A78C0;
    font-weight: 500;
    font-size: 18px;
}

.contact-info-value {
    color: #3E4659;
    font-weight: 500;
    font-size: 22px;
}

.logo-wrapper-contact {
    display: flex;
    align-items: center;
}

.logo-wrapper-contact img {
    max-height: 120px;
    width: auto;
    margin-bottom: 35px;
}

.lang-switcher-wrapper {
    position: relative;
    display: inline-block;
    vertical-align: top;
}
.language-dropdown {
    max-width: 99px;
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 6px;
    background: #fff;
    color: #3E4659;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(74, 120, 192, 0.15);
    width: max-content;
    z-index: 100;
    padding: 0;
    margin-left: 0;
    list-style: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    display: none;
}
.language-dropdown li {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border-radius: 10px;
}
.language-dropdown li:hover {
    background: #4A78C0;
    color: #fff;
}
.language-dropdown li.active {
    font-weight: bold;
    background: #e6eefb;
}

/* Адаптивность для средних экранов (800-900px) */
@media (max-width: 900px) and (min-width: 768px) {
    .menu {
        display: none;
    }

    .header__content {
        justify-content: space-between;
        gap: 20px;
    }

    .logo-wrapper {
        flex: 1;
    }

    .header__contact {
        flex: 1;
        justify-content: center;
    }

    .header__button {
        flex-shrink: 0;
    }
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .banner {
        background-size: cover;
        background-position: center top;
        min-height: 100vh;
        height: auto;
    }

    header {
        max-width: 95%;
        margin: 0 auto;
        margin-top: 30px;
        margin-bottom: 70px;
        padding: 0 20px;
    }

    .header__content {
        gap: 15px;
    }

    .menu {
        gap: 25px;
        font-size: 20px;
    }

    .menu a {
        width: 110px;
        height: 45px;
        line-height: 45px;
        font-size: 18px;
    }

    .header-logo img {
        max-width: 500px;
    }

    .header-subtitle p {
        font-size: 36px;
        max-width: 800px;
    }

    main {
        max-width: 95%;
        padding: 0 20px;
    }

    .section__title-wrapper {
        width: 100%;
        height: auto;
        min-height: 600px;
        padding: 40px 20px;
    }

    .section__title-wrapper-rooms {
        width: 100%;
        height: auto;
        min-height: 900px;
        padding: 40px 20px;
    }

    .section__title-wrapper-gallery {
        width: 100%;
        height: auto;
        padding: 40px 20px;
    }

    .rooms-cards {
        width: 100%;
        gap: 20px;
        flex-direction: column;
        height: auto;
    }

    .room-card {
        max-width: 900px;
        margin: 0 auto;
    }

    .gallery-container {
        height: 570px;
        width: 600px;
        gap: 20px;
    }

    .gallery-slider {
        width: 70%;
        height: 550px;
    }

    .contacts-flex {
        flex-direction: column;
        gap: 30px;
    }

    iframe {
        width: 100% !important;
        height: 400px !important;
    }

    .contact-mini-block {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .faq-list {
        max-width: 100%;
        padding: 0 20px;
    }

    footer {
        max-width: 95%;
        padding: 0 20px;
    }

    .footer-columns {
        gap: 40px;
        margin-left: 30px;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 767px) {
    .banner {
        background-size: cover;
        background-position: center top;
        min-height: 100vh;
        height: auto;
        background-attachment: scroll;
    }

    header {
        max-width: 100%;
        margin: 20px 10px;
        padding: 0 15px;
        border-radius: 25px;
    }

    .header__content {
        flex-direction: row;
        height: auto;
        gap: 15px;
        padding: 15px 0;
        justify-content: space-between;
        align-items: center;
    }

    .logo-wrapper {
        flex: 1;
    }

    .logo-wrapper img {
        max-height: 60px;
    }

    .menu {
        display: none;
    }

    .header__button {
        width: 60px;
        height: 35px;
        font-size: 14px;
        flex-shrink: 0;
    }

    .header__contact {
        flex: 1;
        justify-content: center;
    }

    .phone-number {
        font-size: 16px;
    }

    .header-logo img {
        max-width: 300px;
    }

    .header-text p {
        font-size: 28px;
    }

    .header-subtitle p {
        font-size: 24px;
        max-width: 100%;
        padding: 0 20px;
    }

    main {
        max-width: 100%;
        padding: 0 10px;
    }

    .section__title-wrapper {
        width: 100%;
        height: auto;
        min-height: 500px;
        padding: 30px 15px;
        border-radius: 30px;
    }

    .section__title-wrapper-rooms {
        min-height: auto !important; /* Было 800px, теперь по контенту */
        height: auto !important;
        padding-bottom: 40px; /* Небольшой отступ снизу */
    }

    .title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .rooms-cards {
        display: flex; /* Включаем флекс, чтобы работало flex-direction */
        flex-direction: column;
        height: auto !important;
        gap: 30px;
    }

    .room-card {
        width: 100% !important;
        height: auto !important; /* Самое важное: убираем растягивание */
        min-height: auto !important;
        margin-bottom: 0;
    }

    .room-photos {
        height: 250px !important;
    }

    .room-description {
        padding: 20px 20px 25px 20px;
    }

    .room-description h3 {
        font-size: 18px;
    }

    .room-description p {
        margin-bottom: 15px;
        font-size: 12px;
    }

    .rooms-container {
        gap: 10px;
    }

    .room-features span {
        background-color: #4A78C0;
        color: white;
        padding: 5px 10px;
        border-radius: 10px;
        font-size: 10px;
    }

    .gallery-container {
        height: 350px;
        width: 350px;
        gap: 15px;
    }

    .gallery-slider {
        width: 90%;
        height: 350px;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
    }

    .gallery-nav-btn img {
        width: 20px;
        height: 20px;
    }

    .contacts-flex {
        flex-direction: column;
        gap: 40px;
    }

    iframe {
        width: 100% !important;
        height: 300px !important;
        border-radius: 20px;
    }

    .contact-mini-block {
        width: 100%;
        max-width: 350px;
        min-height: 400px;
        padding: 25px 20px;
    }

    .contact-info-label {
        font-size: 16px;
    }

    .contact-info-value {
        font-size: 18px;
    }

    .faq-list {
        max-width: 100%;
        padding: 0 10px;
        gap: 20px;
    }

    .faq-item {
        padding: 20px 25px;
    }

    .faq-question {
        font-size: 18px;
    }

    .faq-answer {
        font-size: 14px;
    }

    footer {
        max-width: 100%;
        margin: 40px 10px;
        padding: 0 15px;
        border-radius: 30px;
    }

    .footer-content {
        flex-direction: column;
        padding: 30px 15px;
    }

    .footer-logo img {
        max-width: 200px;
    }

    .footer-columns {
        flex-direction: column;
        gap: 30px;
        margin-left: 0;
        padding: 20px 0;
    }

    .footer-column h3 {
        font-size: 14px;
    }

    .contact-text {
        font-size: 14px;
    }

    .social-icon img {
        width: 30px;
        height: 30px;
    }
}

/* Адаптивность для экранов 570-768px */
@media (min-width: 570px) and (max-width: 768px) {
    .header__button,
    .lang-switcher-wrapper {
        display: flex !important;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
    .banner {
        background-size: cover;
        background-position: center top;
        min-height: 100vh;
        height: auto;
    }

    .menu a {
        width: 90px;
        height: 35px;
        line-height: 35px;
        font-size: 14px;
    }

    .phone-number {
        font-size: 14px;
        padding: 6px 15px;
    }

    .header-logo img {
        max-width: 250px;
    }

    .header-text p {
        font-size: 24px;
    }

    .header-subtitle p {
        font-size: 20px;
    }

    .room-card {
        min-height: 350px;
    }

    /* .room-photos {
        height: 500px;
    } */

    .gallery-slider {
        height: 350px;
    }

    .contact-mini-block {
        min-height: 350px;
    }

    .header__button {
        font-size: 12px;
        height: 20px;
        min-width: 30px;
        padding: 0 8px;
    }
}

/* Адаптивность для экранов меньше 415px */
@media (max-width: 415px) {
    .header__button,
    .lang-switcher-wrapper {
        display: flex !important;
        max-width: 45px;
        max-height: 25px;
    }

    .header__content {
        justify-content: space-between;
        gap: 10px;
    }

    .logo-wrapper {
        flex: 1;
    }

    .header__contact {
        flex: 1;
        justify-content: center;
    }

    .phone-number {
        font-size: 12px;
        padding: 4px 10px;
        white-space: nowrap;
    }

}

/* Адаптивность для экранов меньше 360px */
@media (max-width: 360px) {
    .phone-number {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .header__content {
        gap: 5px;
    }
    
    .logo-wrapper img {
        max-height: 60px;
    }
}

@media (max-width: 700px) {
  .phone-number { font-size: 16px; padding: 6px 10px; }
  .header__button { font-size: 18px; height: 44px; }
  .logo-wrapper img { max-height: 60px; }
  .language-dropdown { font-size: 16px; min-width: 60px; max-width: 80px; }
  .language-dropdown li { padding: 8px 10px; }
}
@media (max-width: 600px) {
  .phone-number { font-size: 14px; padding: 4px 6px; }
  .header__button { font-size: 16px; height: 38px; }
  .logo-wrapper img { max-height: 50px; }
  .language-dropdown { font-size: 14px; min-width: 48px; max-width: 60px; }
  .language-dropdown li { padding: 6px 8px; }
}
@media (max-width: 500px) {
  .phone-number { font-size: 12px; padding: 2px 2px; }
  .header__button { font-size: 14px; height: 32px; }
  .logo-wrapper img { max-height: 45px; }
  .language-dropdown { font-size: 12px; min-width: 36px; max-width: 50px; }
  .language-dropdown li { padding: 4px 6px; }
}
@media (max-width: 480px) {
  .language-dropdown { font-size: 11px; min-width: 30px; max-width: 45px; }
  .language-dropdown li { padding: 2px 4px; }
}
@media (max-width: 700px) { .header__button, .language-dropdown { border-radius: 14px; } }
@media (max-width: 600px) { .header__button, .language-dropdown { border-radius: 12px; } }
@media (max-width: 500px) { .header__button, .language-dropdown { border-radius: 10px; } }
@media (max-width: 480px) { .header__button, .language-dropdown { border-radius: 8px; } }

@media (min-width: 1024px) {
    body {
        /* Это свойство работает как масштаб в браузере */
        zoom: 0.8; 
    }
}