/* Общие стили */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    transition: background 200ms;
}

body {
    background: var(--color-body);
}

a {
    text-decoration: none;
}

:root {
    --color-body: #fff;
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 10;
    border-bottom: solid 1px #eee;
}

.header_in {
    max-width: 1280px;
    height: 80px;
    margin: auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo_main {
    background-image: url(images/logo.svg);
    background-repeat: no-repeat;
    width: 44px;
    height: 60px;
    min-width: 44px;
}

.header_right {
    display: flex;
    align-items: center;
}

.header_links {
    display: flex;
    align-items: center;
    margin-right: 16px;
    gap: 12px;
}

.header_links a {
    padding: 8px;
    font-size: 18px;
    color: #000;
    letter-spacing: 0.3px;
    font-weight: 500;
    transition: color 200ms;
    position: relative;
    user-select: none;
}

.header_link:hover {
    color: #2FADE4;
}
.header_link::before{
    content: '';
    position: absolute;
    bottom: -5px;
    height: 2px;
    background: #2FADE4;
    width: 0;
    left: 0;
    transition: 200ms;
}
.header_link:hover::after{
    content: '';
    position: absolute;
    bottom: -5px;
    height: 2px;
    background: #2FADE4;
    width: 100%;
    left: 0;
    transition: 200ms;
}
.header_link::after{
    content: '';
    position: absolute;
    bottom: -5px;
    height: 2px;
    background: #2FADE4;
    width: 0;
    right: 0;
    transition: 200ms;
}
.language-switcher {
    position: relative;
    display: inline-block;
}

#language-selector {
    appearance: none;
    padding: 8px 30px 8px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    color: #000;
    letter-spacing: 0.3px;
    font-weight: 500;
    transition: all 200ms;
}
#selected-flag{
    position: absolute;
    right: 7px;
    top: 0px;
}
.language-switcher svg {
    position: absolute;
    right: 3px;
    top: 13px;
    pointer-events: none;
    stroke: #000;
}

.close-btn {
    display: none;
}

.hamburger {
    display: none;
    width: 80px;
    height: 80px;
    color: #000;
}

/* Основной контент */
main {
    margin-top: 80px;
}

.mbi_bg {
    background-image: url(images/pattern.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}

.main_box {
    position: relative;
    overflow: hidden;
}

.main_box_inside {
    max-width: 1280px;
    padding: 36px 16px;
    margin: 0 auto;
    position: relative;
}

.mbi_flex {
    display: flex;
    justify-content: space-between;
    gap: 90px;
}

.mbi_left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 750px;
}

.title_main {
    font-size: 52px;
    font-weight: bold;
    color: #1499D3;
    margin-bottom: 32px;
}

.text_main {
    font-size: 24px;
    font-weight: 500;
    color: #1499D3;
}

.text_main span {
    color: #6C71B4;
}

.img_qr_links {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.img_qr {
    width: 155px;
    height: 155px;
}

.link_store {
    display: flex;
    gap: 16px;
}

.link_store a {
    display: flex;
    align-items: flex-end;
    width: 150px;
}

.link_store a img {
    width: 100%;
}

.img_mobile {
    padding-right: 64px;
}

.img_mobile img {
    height: 110%;
}

.link_store a:hover {
    opacity: 0.7;
}

.main_text {
    font-size: 64px;
    font-weight: bold;
    color: #1499D3;
    height: 100%;
    display: flex;
    align-items: center;
}

.main_bg {
    background-image: url(images/bg_main.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.main_height {
    height: 500px;
}

.flex_services {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.flex_services_box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px 24px;
    border: 3px solid #1499D3;
    border-radius: 22px;
    flex: 1 1 350px;
    color: #1499D3;
    transition: 200ms;
}

.flex_services-icon {
    display: grid;
    place-items: center;
}

.flex_services-icon img {
    width: 120px;
}

.flex_services-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
}

.flex_services-desc {
    font-size: 18px;
    text-align: center;
}

.mbi_flex_one{
    display: flex;
    justify-content: center;
}
.mbi_flex_one img {
    max-width: 500px;
    aspect-ratio: 1/1;
    width: 100%;
}

.mbi_flex_two {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    gap: 16px;
    max-width: 650px;
}

.mbi_flex_two p {
    font-size: 24px;
    font-weight: bold;
    color: #1499D3;
}

.ta_right p {
    text-align: right;
}

.item_bg{
    background: #1499d312;
    border-radius: 22px;
    padding: 16px;
}

.grid_partners{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.grid_partners_box{
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 200px;
}
.grid_partners_box img{
    max-height: 90px;
}

.blue_bg{
    background-color: #2FADE4;
}

.block_one{
    max-width: 650px;
    font-size: 24px;
    color: #fff;
}
.block_two{
    width: 100%;
}
.form-container {
    width: 100%;
    padding: 16px;
    background: #fff;
    border-radius: 16px;
    text-align: center;
}
.request-form{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.form-description {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}

.input-field {
    width: 100%;
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 12px;
    font-size: 16px;
    height: 56px;
    outline: none;
    font-weight: 500;
}
.input-field:focus {
    border-color: #1499D3;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background-color: #2fade4;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
    height: 56px;
    font-weight: 500;
}

.submit-button:hover {
    background-color: #2587b1;
}

.status-message {
    font-size: 16px;
    color: #333;
    padding: 16px;
    display: none;
}

.footer_flex{
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer_box{
   color: #fff;
   display: flex;
   flex-direction: column;
   flex: 1 1 300px;
}
.footer_box a, .footer_box p, .footer_box h4{
    color: #fff;
    padding: 8px;
    display: inline-block;
}
.footer_box a{
    border-radius: 6px;
}
.footer_box a:hover{
    background: #fff3;
}
.logo_footer{
    max-width: 120px;
    overflow: hidden;
}
.logo_footer img{
    width: 100%;
    height: 100%;
}
.footer_content{
    margin: 24px 0 16px 0;
}
.footer_content p{
    text-align: center;
    color: #fff;
}
/* Медиа-запросы */
@media (max-width: 360px) {
    .grid_box {
        grid-template-columns: 1fr;
    }
}