:root {
    --light-yellow: #fdf7ec;
    --primery: #3f67f3;
    --dark-black: #181a22;
    --dark-greay: #9599ab;
    --black: #000000;
    --text-white: #ffffff;
    --bg-white: #ffffff;
}

/* ----------- Desktop Enhancements (min-width) ----------- */
@media screen and (min-width: 768px) {
    .site-header__menu {
        width: min(360px, calc(100vw - 64px));
    }
}

@media screen and (min-width: 992px) {
    .site-header__bar > .site-header__language {
        display: inline-flex;
      }
      .site-header__item--languages {
        display: none;
      }

    .site-header__bar {
        display: grid;
        grid-template-columns: auto auto 1fr auto;
        align-items: center;
        gap: 20px;
    }

    .site-header__toggle {
        margin-left: 0;
        justify-self: start;
        order: 1;
    }

    .site-header__language {
        display: flex;
        align-items: center;
        justify-self: start;
        order: 2;
    }

    .site-header__logo {
        justify-self: center;
        order: 3;
        margin-right: 0;
    }

    .site-header__download {
        display: block;
        justify-self: end;
        width: auto;
        order: 4;
    }

    .site-header__download .btn_block {
        width: auto;
    }

    .site-header__menu {
        left: 10px;
        right: auto;
        width: 280px;
    }

    .site-header__item--download {
        display: none;
    }
}

@media screen and (min-width: 1280px) {
    .site-header__menu {
        width: 320px;
    }
}

/* ------Media-Query-Start--------- */
@media screen and (max-width:1600px) {
    .youtube-video .modal-dialog {
        max-width: 1040px !important;
    }
}

@media screen and (max-width:1300px) {
    .banner_section::before {
        width: 100%;
    }

    .section_title h2 {
        font-size: 45px;
    }
}

@media screen and (max-width:1200px) {
    .container {
        max-width: 1170px;
    }

    .row_am {
        padding: 50px 0;
    }

    .about_section.row_am {
        padding-top: 80px;
    }

    /* navigation bar section */
    .navbar-expand-lg .navbar-nav .nav-link.dark_btn {
        padding: 9px 30px;
    }

    header .container {
        max-width: 100% !important;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        font-size: 16px;
    }

    .banner_section .banner_slider .right_icon {
        right: -30px;
    }

    .key_innner .owl-nav button.owl-prev {
        left: -15px;
    }

    .key_innner .owl-nav button.owl-next {
        right: -15px;
    }

    .banner_section .banner_text {
        padding-right: 50px;
    }

    .banner_section .app_btn li a img {
        height: 30px;
    }

    .youtube-video .modal-dialog {
        max-width: 940px !important;
    }

    .interface_section .screen_slider {
        min-height: 530px;
    }

    .key_innner .owl-nav button.owl-next {
        right: -15px;
    }

    .key_innner .owl-nav button.owl-prev {
        left: -15px;
    }

    .key_innner {
        overflow: hidden;
    }

    .go_top {
        right: 16px;
        bottom: 16px;
    }

    .go_top:hover {
        bottom: 21px;
    }

    .text_block span {
        font-size: 40px;
    }

    .text_list_section .owl-stage,
    .text_list_section .owl-stage-outer {
        height: 45px;
    }

    footer {
        background-position: -170% 0%;
    }

    .feature_card {
        padding: 28px 24px;
    }
}

@media screen and (max-width:992px) {
 /* языки в шапке скрываем */
 .site-header__bar > .site-header__language {
    display: none;
  }

  /* пункт с языками под Download */
  .site-header__item--languages {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-top: 18px;
    padding-bottom: 12px;
    border-top: 1px solid rgba(24, 26, 34, 0.08);
  }

  .site-header__item--languages .site-header__language {
    display: block;
    width: auto;
  }

  /* убираем десктопный вид свичера внутри меню */
  .site-header__item--languages .site-header__language-toggle,
  .site-header__item--languages .site-header__language-item--current,
  .site-header__item--languages .site-header__language-icon,
  .site-header__item--languages .site-header__language-current-icon {
    display: none !important;
  }

  /* убираем вертикальные бордеры между пунктами внутри капсулы */
  .site-header__item--languages .site-header__language-item + .site-header__language-item {
    border-top: none;
  }

  /* сама капсула */
  .site-header__item--languages .site-header__language-list {
    position: static;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 12px;

    padding: 10px 16px;
    border-radius: 999px;
    background: #fffdf6;
    border: 1px solid rgba(137, 178, 34, 0.28);
    box-shadow: 0 14px 30px rgba(24, 26, 34, 0.10);

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* игнорируем hidden от JS */
  .site-header__item--languages .site-header__language-list[hidden] {
    display: flex !important;
    opacity: 1;
    visibility: visible;
  }

  /* таблетки-языки – крупнее */
  .site-header__item--languages .site-header__language-option {
    min-width: 48px;
    height: 40px;
    padding: 0 14px;

    border-radius: 999px;
    border: none;
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--green);
    cursor: pointer;

    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  }

  /* активный язык – заметная зелёная «кнопка» */
  .site-header__item--languages .site-header__language-option[aria-selected="true"] {
    background: var(--green);
    color: #fff;
    box-shadow: 0 5px 12px rgba(137, 178, 34, 0.4);
  }

  /* hover / focus */
  .site-header__item--languages .site-header__language-option:hover,
  .site-header__item--languages .site-header__language-option:focus-visible {
    background: rgba(137, 178, 34, 0.10);
    outline: none;
  }

    /* Header */
    .navbar {
        padding: 0 20px;
    }

    header {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-toggler-icon {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        color: var(--body-text-purple);
    }

    .navbar-toggler {
        padding-right: 0;
        line-height: 1.7;
    }

    .navbar-expand-lg .navbar-nav {
        align-items: flex-start;
        padding: 20px 15px;
        background-color: var(--bg-white);
        border-radius: 15px;
        box-shadow: 0 4px 10px #e9e9e9;
    }

    .navbar-expand-lg .navbar-nav .nav-item:not(:last-child) {
        width: 100%;
    }

    .navbar-expand-lg .navbar-nav .nav-item .btn_block {
        margin: 15px 0 0 15px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        width: 100%;
        display: block;
        padding: 5px 10px;
        text-align: left;
    }

    .navbar-expand-lg .navbar-nav .nav-link.dark_btn {
        margin: 0;
    }

    .site-header__toggle-label {
        display: none;
    }

    .site-header__menu {
        right: 3px;
    }

    .site-header__menu::before {
        left: auto;
        right: 21px;
    }

    .site-header__list {
        gap: 0;
    }

    .site-header__logo img {
        width: 110px;
    }

    .site-header__item + .site-header__item:not(.site-header__item--download) {
        border-top: 1px solid rgba(24, 26, 34, 0.08);
    }

    .site-header__link {
        padding: 16px 18px;
    }

    .site-header__link:hover,
    .site-header__link:focus-visible {
        background-color: transparent;
        color: var(--green);
    }

    .site-header__link.is-active::after {
        display: none;
    }

    /* Typography */
    .section_title h2 {
        font-size: 35px;
    }

    .title_badge {
        font-size: 14px;
    }

    header.fix_style {
        padding: 5px 0;
    }

    /* Banner */
    .banner_section {
        text-align: center;
    }

    .banner_section .used_app ul,
    .banner_section .app_btn {
        justify-content: center;
    }

    .banner_section .banner_text {
        margin-top: 0;
        padding: 0 50px;
    }

    .banner_section .banner_text h1 {
        font-size: 40px;
    }

    .banner_section .banner_slider {
        margin-top: 50px;
    }

    .banner_section .banner_slider .left_icon {
        left: 0;
    }

    .banner_section .banner_slider .right_icon {
        right: 0;
    }

    /* Interface section */
    .section_title h2 img {
        height: 30px;
        margin: 0 5px;
    }

    .interface_section .screen_slider {
        min-height: 550px;
    }

    /* About section */
    .about_section .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .about_section .row > div {
        width: 100%;
        max-width: 540px;
    }

    .about_section .app_statstic {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
        width: 100%;
    }

    .about_section .app_statstic li {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .about_section .app_statstic li .text {
        width: 100%;
        height: auto;
        padding: 14px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 45px;
        border: 1px solid var(--primery);
        background-color: var(--bg-white);
        gap: 12px;
        box-shadow: 0 6px 18px rgba(24, 26, 34, 0.06);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .about_section .app_statstic li .text:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(24, 26, 34, 0.12);
    }

    .about_section .app_statstic li .text p {
        font-size: 16px;
        margin: 0;
    }

    .about_section .app_statstic li .text p span {
        font-size: 26px;
        margin-right: 12px;
        color: var(--primery);
        font-weight: 700;
    }

    .about_section .abtImg {
        margin: 0 auto 24px;
        max-width: 420px;
    }

    .about_section .abtImg img {
        width: 90%;
        height: auto;
        min-height:100px;
    }

    .about_section .row > .col-lg-4:last-child {
        text-align: left;
    }

    .about_section .row > .col-lg-4:last-child .feature-text {
        max-width: 100%;
        padding: 0;
    }

    /* Reviews section */
    .review_section .review_side .review_block {
        padding: 30px 20px;
    }

    .review_section .coustomer_info .avtar {
        width: calc(100% - 50px);
    }

    .review_section .coustomer_info .avtar img {
        width: 40px;
    }

    .review_section .coustomer_info .avtar .text h3 {
        font-size: 16px;
    }

    .review_section .coustomer_info .avtar .text span {
        font-size: 12px;
    }

    /* Footer */
    .footer_bottom .ft_inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    footer {
        background-position: 70% 0%;
        padding: 50px 0;
    }
}

@media screen and (max-width:767px) {
    body {
        text-align: center;
    }

    /* В секции правил отключаем центрирование текста на мобильных */
    .rules_section {
        text-align: left;
    }

    .rules_section p,
    .rules_section ul,
    .rules_section li {
        text-align: left;
    }

    .row_am {
        padding: 30px 0;
    }

    .about_section.row_am {
        padding-top: 60px;
    }

    .about_section .row > .col-lg-4:last-child {
        padding-left: 20px;
    }

    .about_section .row > .col-lg-4:last-child .feature-text {
        max-width: 100%;
        padding: 0 10px;
        font-size: 16px;
    }

    .feature_grid {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .feature_column {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .feature_column--narrow {
        flex: 1 1 auto;
    }

    .feature_card {
        padding: 24px 20px;
    }

    .section_title p br {
        display: none;
    }

    .section_title h2 {
        letter-spacing: -1px;
        font-size: 35px;
    }

    .section_title h2 br {
        display: none;
    }

    /* navbar section */
    .navbar {
        padding: 0 20px;
    }

    .site-header__menu {
        position: fixed;
        inset: 0;
        margin: 0;
        width: 100%;
        max-width: none;
        height: 100vh;
        border: none;
        border-radius: 0;
        padding: calc(92px + env(safe-area-inset-top)) 24px 32px;
        background: var(--light-yellow);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        z-index: 9998;
        margin-right: 0;
    }

    .site-header__menu::before {
        display: none;
    }

    .site-header__list {
        width: 100%;
        gap: 0;
    }

    .site-header__item + .site-header__item:not(.site-header__item--download) {
        border-top: 1px solid rgba(24, 26, 34, 0.08);
    }

    .site-header__link {
        font-size: 18px;
        padding: 20px;
        text-align: left;
    }

    .site-header__item--download {
        margin-top: 0;
        border-top: 1px solid rgba(24, 26, 34, 0.08);
        padding-top: 24px;
    }

    .site-header__menu.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .toggle-wrap {
        padding-right: 0;
    }

    /* banner section */
    .banner_section {
        margin-top: 100px;
    }

    .banner_section .banner_text h1 {
        font-size: 35px;
    }

    .banner_section .app_btn,
    .banner_section .used_app {
        justify-content: center;
    }

    .banner_section .app_btn li:last-child {
        margin-left: 0;
    }

    .banner_section .app_btn li {
        margin: 0 15px;
    }

    .banner_section .app_btn li a {
        padding: 10px 20px;
    }

    .banner_section .app_btn li a img {
        height: 25px;
    }

    .banner_section .banner_slider .left_icon {
        left: 0;
    }

    .banner_section .banner_slider .right_icon {
        right: 0px;
        z-index: 1000;
    }

    .banner_section .banner_slider::before {
        width: 300px;
        height: 300px;
    }

    .banner_section .banner_slider .hero_img img {
        width: 100%;
    }

    /* interface section */
    .interface_section .screen_slider {
        min-height: auto;
    }

    .interface_section .owl-item .screen_frame_img img {
        transform: scale(1);
    }

    .interface_section .owl-dots {
        margin-top: 30px;
    }

    /* go top button section */
    .go_top {
        right: 16px;
        bottom: 16px;
        z-index: 998;
    }

    .go_top:hover {
        bottom: 21px;
    }

    .about_section::before,
    .about_section::after {
        height: 500px;
    }

    .text_list_section .down_fix {
        bottom: -15px;
    }

    .text_block span {
        font-size: 30px;
    }

    .text_list_section .owl-stage,
    .text_list_section .owl-stage-outer {
        height: 35px;
    }

    .section_title h2 img {
        height: 30px;
    }

    .about_section::before,
    .about_section::after {
        bottom: -230px;
    }

    .key_feature_section {
        margin-top: 50px;
    }

    .key_innner {
        padding: 50px 0;
    }

    .key_innner .owl-nav button.owl-prev {
        left: -15px;
    }

    .key_innner .owl-nav button.owl-next {
        right: -15px;
    }

    .key_innner {
        overflow: hidden;
    }

    .positive_inner .section_title br {
        display: block;
    }

    .review_section .review_side .review_block:last-child {
        margin-bottom: 0;
    }

    .review_section .positive_inner {
        padding: 50px 0 60px 0;
    }

    .review_section .positive_inner .sticky-top {
        position: relative !important;
    }

    .review_section .positive_inner .sidebar_text .section_title {
        text-align: center !important;
    }

    .review_section .google_rating {
        justify-content: center;
    }

    .review_section .user_review {
        margin-bottom: 30px;
    }

    .review_section .review_side {
        margin-top: 70px;
    }

    .review_section .coustomer_info .avtar .text h3,
    .review_section .coustomer_info .avtar .text span {
        text-align: left;
        display: block;
    }

    .review_section .review_block p {
        text-align: left;
    }

    footer {
        margin-top: 0;
        padding: 50px 0;
        background-position: 50% 0%;
    }
    
    .footer_nav {
        margin-top: 30px;
    }

    .footer_nav__list {
        flex-direction: column;
        gap: 16px;
    }

    .downaload_section .center_screen {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        padding: 0 20px;
    }

    .downaload_section .center_screen .img img {
        width: 300px;
    }

    .downaload_section .app_btn {
        flex-direction: column;
        gap: 10px;
        width: 80%;
        max-width: 100%;
        margin: 0 auto;
    }

    .downaload_section .app_btn li {
        width: 100%;
        max-width: 100%;
    }

    .downaload_section .app_btn li a {
        width: 100%;
        max-width: 100%;
        padding: 12px 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .downaload_section .app_btn li a img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .downaload_section .app_btn li:last-child {
        margin: 0;
    }

    .downaload_section .yellow_dotes img {
        max-width: 500px;
    }

    .downaload_section .background_slider {
        padding: 120px 0;
    }

    .banner_section .banner_slider .right_icon {
        right: 0;
    }

    .banner_section::before {
        width: 100% !important;
    }

    .downaload_section .yellow_dotes img {
        max-width: 100% !important;
    }

    .text_list_section {
        overflow: hidden;
    }


    .downaload_section .container {
        padding: 0 15px;
    }

    .key_innner .owl-nav button.owl-prev,
    .key_innner .owl-nav button.owl-next {
        display: none;
    }

    .feature_card {
        padding: 24px 20px;
    }

    .download_section {
        padding: 60px 0;
    }

    .download_section__buttons .app_btn {
        gap: 18px;
    }

    .newsletter_section {
        padding: 60px 0;
    }

    .newsletter_section__title {
        font-size: 36px;
    }

    .newsletter_section__subtitle {
        font-size: 18px;
    }
}

@media screen and (max-width:767px) {
    .feature_grid {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .feature_column {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .feature_column--narrow {
        flex: 1 1 auto;
    }

    .feature_card {
        padding: 24px 20px;
    }

    .download_section {
        padding: 48px 0;
    }

    .download_section__buttons .app_btn {
        flex-direction: column;
        gap: 12px;
    }

    .download_section__buttons .app_btn li a {
        width: 100%;
        justify-content: center;
    }

    .newsletter_section {
        padding: 48px 0;
    }

    .newsletter_section__title {
        font-size: 30px;
    }

    .newsletter_section__subtitle {
        font-size: 17px;
    }

    .newsletter_form__field {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .newsletter_form__button {
        width: 100%;
        padding: 12px 0;
    }
}

@media screen and (max-width:576px) {
    .section_title h2 {
        font-size: 30px;
    }

    /* navbar section */
    .navbar {
        padding: 0 10px;
    }

    .banner_section .banner_text h1 {
        font-size: 30px;
    }

    .banner_section .banner_text {
        padding: 0 20px;
    }

    .section_title h2 img {
        height: 22px;
    }
}
