* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Montserrat Alternates", sans-serif;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    transition: background 75ms ease;
}

body {
    background: #F6F7F9;
}

a {
    text-decoration: none;
}

button,
input {
    background: unset;
    border: unset;
    cursor: pointer;
    outline: unset;
}

svg {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    pointer-events: none;
}

/* Header */

.header {
    height: 80px;
}

.header__inside {
    height: 100%;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    width: 150px;
    height: 50px;
    background: center / 100% no-repeat url(images/logo_shyrdak.svg);
}

.header__left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.burger__menu {
    min-width: 50px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
    z-index: 100;
    padding-left: 16px;
    padding-bottom: 8px;
    padding-top: 8px;
}

.burger__menu span {
    height: 3px;
    width: 100%;
    background: #191D30;
    border-radius: 2px;
    transition: 0.3s;
}

.burger__menu.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger__menu.active span:nth-child(2) {
    opacity: 0;
}

.burger__menu.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.header__right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header__right__link {
    font-size: 16px;
    font-weight: 500;
    color: #1D1D1F;
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
    transition: 0.2s;
}

.header__right__link:hover {
    color: #FFDB5D;
}

.header__right__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 3px;
    background: #FFDB5D;
    width: 0;
    transition: 0.2s;
}

.header__right__link:hover::after {
    content: '';
    position: absolute;
    bottom: 0px;
    height: 3px;
    width: 100%;
    right: unset;
    left: 0;
    transition: 200ms;
    height: 3px;
    background: #FFDB5D;
}


@media (max-width: 960px) {
    .header__inside {
        padding: 0 24px;
        gap: 16px;
    }

    .header__right {
        gap: 16px;
        overflow: auto;
        width: fit-content
    }

    .header__right__link {
        font-size: 14px;
        width: 100%;
    }

}

/* desktop: hide burger */
@media (min-width: 769px) {
    .burger__menu {
        display: none;
    }
}

/* mobile */
@media (max-width: 768px) {
    .header__inside {
        padding: 0 16px;
    }

    .header__left {
        width: 100%;
    }

    .header__right {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px;
        gap: 16px;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
        z-index: 99;
        align-items: flex-start;
        width: 100%;
    }

    .header__right.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.14);
    }
}


/* Block one */

.block__one {
    display: flex;
    height: 700px;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 60px;
    gap: 32px;
}

.block__one__left,
.block__one__right {
    flex-basis: 50%;
}

.block__one__left {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
}

.block__one__left__title {
    font-size: 96px;
    font-weight: 700;
    line-height: 1;
    text-align: justify;
    color: #191D30;
}

.block__one_left__desc__btn {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.block__one_left__desc {
    font-size: 18px;
    font-weight: 500;
    color: #191D30;
}

.block__one_left__link {
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    color: #fff;
    background: #191D30;
    border-radius: 8px;
    transition: 200ms;
    width: fit-content;
}

.block__one_left__link:active {
    transform: scale(0.95);
}

.block__one__right {
    padding: 32px 0;
}

.block__one__right__bg {
    background: #FFC700;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
}

.block__one__right__img {
    background: url(images/block_one_right.png) no-repeat bottom;
    background-size: auto 100%;
    height: 100%;
    width: 100%;
}



/* ≤1320px */
@media (max-width: 1320px) {
    .block__one {
        height: 550px;
        padding: 0 32px;
    }

    .block__one__left__title {
        font-size: 64px;
    }
}

/* ≤960px */
@media (max-width: 960px) {
    .block__one {
        height: 450px;
        padding: 0 24px;
        gap: 24px;
    }

    .block__one__left {
        padding: 32px 0;
    }

    .block__one__left__title {
        font-size: 42px;
    }

    .block__one_left__desc {
        font-size: 16px;
    }

    .block__one_left__link {
        padding: 0 16px;
        font-size: 14px;
    }

    .block__one__right {
        padding: 16px 0;
    }

    .block__one__right__img {
        background-size: auto 100%
    }
}

/* ≤768px — мобильная адаптация */
@media (max-width: 768px) {
    .block__one {
        flex-direction: column-reverse;
        height: auto;
        gap: 0;
        padding: 0 16px;
    }

    .block__one__left {
        padding: 24px 0;
        gap: 24px;
    }

    .block__one__left__title {
        font-size: 36px;
        text-align: center;
    }

    .block__one_left__desc {
        font-size: 15px;
        text-align: center;
    }

    .block__one_left__desc__btn {
        align-items: center;
        gap: 16px;
    }

    .block__one__right {
        width: 100%;
        padding: 0;
        aspect-ratio: 16 / 9;
    }

    .block__one__right__bg {
        border-radius: 16px;
    }
}



.block__video {
    overflow: hidden;
    padding: 60px 0;
}

.block__video__box {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.block__video iframe {
    border: solid 10px #fff;
    border-radius: 22px;
    width: 100%;
    max-height: 100vh;
    aspect-ratio: 16 / 9;
}

@media (max-width: 768px) {
    .block__video {
        padding: 16px 0;
    }

    .block__video iframe {
        aspect-ratio: 16 / 9;
    }
}



/* Block two */

.block__two {
    background: url(images/block_two_bg.png) no-repeat top 30px center;
    background-size: auto 100%;
    padding: 480px 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block__two__box {
    max-width: 768px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
}

.block__two__text_one {
    font-size: 18px;
    font-weight: 600;
    color: #191D30;
}

.block__two__text_two {
    font-size: 58px;
    letter-spacing: -0.17rem;
    font-weight: 600;
    line-height: 1;
    color: #191D30;
}

.block__two__text_three {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    color: #191D30;
}

/* ≤960px */
@media (max-width: 960px) {
    .block__two {
        padding: 400px 0 150px;
    }

    .block__two__box {
        max-width: 650px;
    }

    .block__two__text_two {
        font-size: 58px;
    }

    .block__two__text_three {
        font-size: 16px;
    }
}

/* ≤768px — мобильная адаптация */
@media (max-width: 768px) {
    .block__two {
        padding: 172px 16px 32px;
        background-size: 633px;
    }

    .block__two__box {
        max-width: 280px;
        gap: 12px;
    }

    .block__two__text_one {
        font-size: 14px;
    }

    .block__two__text_two {
        font-size: 21px;
        letter-spacing: 0;
    }

    .block__two__text_three {
        font-size: 12px;
    }
}



/* Block three */

.block__three {
    padding: 60px;
    max-width: 1680px;
    margin: 0 auto;
}

.block__three__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: #fff;
    border-radius: 32px;
}

.block__three-accordion {
    width: 100%;
    padding: 32px 60px;
    max-width: 580px;
}

.block__three-title {
    font-size: 28px;
    font-weight: 500;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #191D30;
}

.block__three-arrow {
    width: 18px;
    height: 18px;
    border-right: 3px solid #191D30;
    border-bottom: 3px solid #191D30;
    transform: rotate(45deg);
    transition: transform 0.4s ease;
}

.block__three-item--active .block__three-arrow {
    transform: rotate(-135deg);
}

.block__three-content {
    font-size: 17px;
    line-height: 1.5;
    color: #191D30;
    overflow: hidden;
    padding-bottom: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s ease;
}

.block__three-item--active .block__three-content {
    max-height: 1000px;
}

.block__three-inner {
    padding-bottom: 24px;
}

.block__three-slider {
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.block__three-image {
    position: absolute;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.7s ease;
}

.block__three-image--active {
    opacity: 1;
    position: relative;
}

/* ≤1320px */
@media (max-width: 1320px) {
    .block__three {
        padding: 32px;
    }

    .block__three-title {
        font-size: 24px;
    }
}

/* ≤960px */
@media (max-width: 960px) {
    .block__three {
        padding: 24px;
    }

    .block__three-accordion {
        padding: 32px;
    }

    .block__three-title {
        font-size: 17px;
    }

    .block__three-content {
        font-size: 14px;
    }
}

/* ≤768px — моб. адаптация */
@media (max-width: 768px) {
    .block__three {
        padding: 16px;
    }

    .block__three__box {
        flex-direction: column-reverse;
        gap: 0;
    }

    .block__three-accordion {
        padding: 24px;
    }

    .block__three-arrow {
        width: 12px;
        height: 12px;
        border-right: 2px solid #191D30;
        border-bottom: 2px solid #191D30;
    }
}


/* Block four */

.block__four {
    background: #fff;
}

.block__four__inside {
    max-width: 1690px;
    margin: 0 auto;
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.block__four-title {
    font-size: 72px;
    font-weight: 600;
    color: #191D30;
}

.block__four-title span {
    color: #F35A7B;
}

.block__four-desc {
    font-size: 22px;
    color: #191D30;
}

.block__four-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.block__four-card {
    flex: 1 1 330px;
    padding-top: 330px;
}

.block__four-card__text {
    max-width: 390px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.147px;
    color: #191D30;
}

/* ≤960px */
@media (max-width: 960px) {
    .block__four__inside {
        padding: 24px 16px;
        gap: 16px;
    }

    .block__four-title {
        font-size: 64px;
    }

    .block__four-desc {
        font-size: 19px;
    }

    .block__four-grid {
        gap: 24px;
    }
}

/* ≤768px */
@media (max-width: 768px) {
    .block__four__inside {
        gap: 12px;
    }

    .block__four-title {
        font-size: 27px;
    }

    .block__four-desc {
        font-size: 15px;
    }

    .block__four-grid {
        gap: 16px;
    }

    .block__four-card {
        padding-top: 280px;
    }

    .block__four-card__text {
        font-size: 15px;
        line-height: normal;
    }
}


/* Block five */

.block__five__container {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.block__five__title {
    font-size: 36px;
    color: #191D30;
    text-align: center;
    font-weight: 600;
}

.block__five__slider {
    display: flex;
    gap: 24px;
    overflow: scroll;
    padding: 24px 60px 60px 60px;
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    scroll-snap-type: x mandatory;
}

.block__five__slider::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.block__five__card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    padding: 24px;
    border-radius: 18px;
    max-width: 350px;
    min-width: 350px;
    width: 100%;
    box-shadow: 2px 4px 16px 0px rgba(0, 0, 0, 0.14);
    scroll-snap-align: center;
}

.block__five__card-top {
    display: flex;
    gap: 24px;
}

.block__five__avatar {
    width: 70px;
    height: 70px;
}

.block__five__avatar img {
    width: 100%;
    height: 100%;
}

.block__five__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    color: #191D30;
}

.block__five__name {
    font-size: 18px;
    font-weight: 500;
}

.block__five__position {
    font-size: 12px;
}

.block__five__text {
    font-size: 16px;
    letter-spacing: 0.014em;
    line-height: 130%;
    font-weight: 400;
    color: #191D30;
}


.block__five__controls {
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.block__five__btn {
    width: 72px;
    height: 44px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.14);
    font-size: 15px;
    font-weight: 500;
    transition: 200ms;
    color: #191D30;
}

.block__five__btn:hover {
    transform: scale(1.1);
}

.block__five__btn.is-disabled {
    background: #191D3044;
    color: #fff;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
    box-shadow: unset;
}

@media (max-width: 960px) {
    .block__five__container {
        padding: 32px 0;
        gap: 18px;
    }

    .block__five__title {
        font-size: 28px;
        font-weight: 500;
    }

    .block__five__controls {
        padding: 0 24px;
    }

    .block__five__slider {
        padding: 16px 24px 32px;
        gap: 20px;
    }

    .block__five__card {
        min-width: 330px;
        max-width: 330px;
    }

    .block__five__card-top {
        gap: 16px;
    }

    .block__five__text {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .block__five__container {
        padding: 32px 0;
        gap: 0px;
    }

    .block__five__title {
        font-size: 24px;
        font-weight: 500;
    }

    .block__five__controls {
        padding: 0 24px;
        margin-top: 32px;
    }

    .block__five__slider {
        gap: 16px;
        padding: 16px 24px 32px;
    }

    .block__five__card {
        width: 100%;
        max-width: 350px;
        min-width: 300px;
        padding: 16px;
    }

    .block__five__card-top {
        gap: 16px;
    }

    .block__five__text {
        font-size: 14px;
    }
}

/* Block six */

.block__six {
    background: #fff;
}

.block__six__inside {
    padding: 60px 0;
}

.block__five__partners {
    width: 100%;
    overflow: hidden;
    margin-top: 32px;
}

.block__five__partners-track {
    display: flex;
    gap: 60px;
    height: 80px;
    animation: scroll-left 30s linear infinite;
}

.block__five__partners-track img {
    height: 100%;
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .block__six__inside {
        padding: 32px 0;
    }

    .block__five__partners-track {
        height: 45px;
        gap: 24px;
    }
}

/* Block seven */

.block__seven__inside {
    padding: 32px 60px;
    display: flex;
    gap: 60px;
    max-width: 1680px;
    margin: 0 auto;
}

.block__seven-left {
    width: 100%;
    overflow: hidden;
    border-radius: 32px;
}

.block__seven-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block__seven-right {
    max-width: 550px;
    width: 100%;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.block__seven-right-title {
    font-size: 28px;
    font-weight: 500;
    color: #191D30;
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.request-form-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-radius: 16px;
    overflow: auto;
    position: relative;
}

.input-field {
    background: #fff;
    font-size: 16px;
    color: #191D30;
    padding: 0 24px;
    height: 70px;
    font-weight: 500;
    transition: 200ms;
}

.input-field:focus {
    padding-left: 32px;
}

.phone-group {
    display: flex;
    align-items: center;
    padding: 0 24px;
    background: #fff;
}

.phone-select {

    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
}

.phone-select img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 6px;
    border-radius: 50%;
}

.input-phone {
    width: 100%;
}

.flag-dropdown {
    position: absolute;
    background: #ffffff;
    overflow-y: auto;
    display: none;
    z-index: 9999;
    border-radius: 0;
    padding: 24px;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    max-height: 50vh;
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.14);
    animation: TopFadeIn 200ms ease-in-out;

}

@keyframes TopFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
        visibility: hidden;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
}

.flag-item {
    height: 45px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    border-radius: 8px;
    padding: 0 8px;
    justify-content: space-between;
}

.flag-item:hover {
    background: #f0f0f0;
}

.flag-item img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
    vertical-align: middle;
}

.flag-checkmark {
    font-size: 18px;
    color: green;
    visibility: hidden;
    /* по умолчанию скрыта */
}

.flag-item.selected .flag-checkmark {
    visibility: visible;
    /* видна для выбранного */
}

.submit-button {
    height: 55px;
    background: #191D30;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: 200ms;
}

.submit-button:active {
    transform: scale(0.98);
}

.submit-button:hover {
    background: #299D30;
}

.status-message {
    padding: 10px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    display: none;
}

.address__box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.address__box__card {
    display: flex;
    gap: 16px;
    font-weight: 500;
    height: 100%;
}

.address__box__card-icon {
    display: flex;
    align-items: center;
}

.address__box__card-text {
    font-size: 16px;
    display: flex;
    align-items: center;
    color: #191D30;
}

@media (max-width: 960px) {
    .block__seven__inside {
        gap: 32px;
        padding: 24px 32px;
    }
}

@media (max-width: 768px) {
    .block__seven__inside {
        flex-direction: column;
        padding: 32px 16px;
        gap: 24px;
    }

    .block__seven-left {
        border-radius: 16px;
        aspect-ratio: 16/9;
    }

    .block__seven-left img {
        transform: scale(1.1);
    }

    .block__seven-right {
        padding-top: unset;
        gap: 16px;
        max-width: unset;
    }

    .block__seven-right-title {
        font-size: 22px;
    }

    .input-field {
        height: 65px;
        font-size: 15px
    }

    .submit-button {
        height: 50px;
    }

    .address__box__card {
        gap: 12px;
    }

    .address__box__card-text {
        font-size: 15px;
    }

    .flag-dropdown {
        position: absolute;
        background: #ffffff;
        overflow-y: auto;
        display: none;
        z-index: 9999;
        border-radius: 22px 22px 0 0;
        padding: 24px;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.14);
    }

}


.block__eight {
    padding: 20px;
    background: #f8f9fa;
}

.block__eight__inside {
    max-width: 800px;
    margin: 0 auto;
}

.block__eight h2 {
    text-align: center;
    font-size: 16px;
    margin-bottom: 16px;
    color: #2c3e50;
    font-weight: 600;
}

.privacy-content h3 {
    color: #34495e;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.privacy-content p {
    margin-bottom: 15px;
    color: #555;
    font-size: 12px;
}

.privacy-date {
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    font-style: italic;
    color: #777;
}

@media (max-width: 768px) {
    .block__eight {
        padding: 40px 15px;
    }
    
    .block__eight h2 {
        font-size: 2rem;
    }
}

/* Footer */

.footer {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.footer__links-link {
    font-size: 14px;
    color: #191D30;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}



.footer__links-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 1.5px;
    background: #191D30;
    width: 0;
    right: 0;
    transition: 200ms;
}

.footer__links-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0px;
    height: 1.5px;
    background: #191D30;
    width: 100%;
    left: 0;
    transition: 200ms;
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: #191D30;
    font-weight: 400;
}

@media (max-width: 768px) {
    .footer {
        padding: 32px 16px;
    }

    .footer__links {
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer__links-link {
        padding: 0 4px 4px;
    }

    .copyright {
        font-size: 11px;
    }
}