@media (max-width: 1180px) {
    .site-container,
    .site-nav {
        padding-left: 24px;
        padding-right: 24px;
    }

    .site-menu {
        gap: 16px;
    }

    .site-tools {
        gap: 8px;
    }

    .site-search {
        display: none;
    }

    .home-hero__inner {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

@media (max-width: 960px) {
    .site-nav {
        flex-wrap: wrap;
        height: auto;
        min-height: 72px;
        padding-bottom: 12px;
        padding-top: 12px;
        position: relative;
    }

    .site-burger {
        display: flex;
        margin-left: auto;
    }

    .site-menu,
    .site-tools {
        display: none;
        flex-basis: 100%;
    }

    .site-nav.is-open .site-menu,
    .site-nav.is-open .site-tools {
        display: flex;
    }

    .site-menu {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding-top: 12px;
    }

    .site-menu a {
        border-bottom: 1px solid var(--line);
        padding: 14px 0;
    }

    .site-tools {
        align-items: stretch;
        flex-wrap: wrap;
        padding-top: 12px;
    }

    .site-search {
        display: flex;
    }

    .site-search input {
        max-width: none;
        width: 150px;
    }

    .site-consult {
        flex: 1 1 180px;
    }

    .home-hero,
    .site-hero {
        min-height: 660px;
    }

    .site-hero--compact {
        min-height: 460px;
    }

    .home-hero__inner,
    .site-hero__inner {
        padding-top: 112px;
    }

    .home-hero__inner {
        grid-template-columns: 1fr;
    }

    .hot-tours {
        display: none;
    }

    .tour-grid,
    .tour-filters,
    .journey-links__head,
    .region-shape-card,
    .country-cards,
    .craft-grid,
    .feature-grid,
    .reviews-grid,
    .timeline-cards,
    .achievement-grid,
    .service-icons,
    .service-overview,
    .service-tree,
    .culture-service-grid,
    .mini-routes,
    .image-tiles,
    .yurt-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .country-preview,
    .about-strip__grid,
    .country-map-section,
    .contact-grid,
    .site-footer__inner,
    .booking-summary {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .price-panel {
        padding: 0 12%;
    }

    .booking-grid,
    .booking-grid--2 {
        grid-template-columns: 1fr;
    }

    .journey-links__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journey-link,
    .journey-link:nth-child(1),
    .journey-link:nth-child(2) {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    html,
    body,
    .ulush-page {
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
        width: 100%;
    }

    .site-container,
    .site-nav {
        padding-left: 16px;
        padding-right: 16px;
        width: 100%;
    }

    .site-header {
        width: 100%;
    }

    .site-nav {
        justify-content: space-between;
        max-width: 100%;
        width: 100%;
    }

    .site-burger {
        margin-left: auto;
    }

    .site-menu,
    .site-tools {
        max-width: 100%;
        min-width: 0;
    }

    .site-tools {
        gap: 8px;
    }

    .site-search {
        flex: 1 1 100%;
    }

    .site-search input {
        width: 100%;
    }

    .site-logo__img {
        width: 116px;
    }

    .home-hero,
    .site-hero {
        min-height: 590px;
    }

    .site-hero--compact {
        min-height: 380px;
    }

    .home-hero__inner,
    .site-hero__inner {
        padding-bottom: 48px;
        padding-top: 104px;
        width: 100%;
    }

    .home-hero__content,
    .site-hero__inner {
        max-width: 100%;
        overflow: hidden;
    }

    .home-hero h1,
    .site-hero h1 {
        font-size: 40px;
    }

    .home-hero h2,
    .site-hero__subtitle {
        font-size: 18px;
    }

    .home-hero p,
    .site-hero p {
        font-size: 16px;
        overflow-wrap: anywhere;
    }

    .section-title {
        font-size: 30px;
        margin-top: 56px;
    }

    .tour-grid,
    .tour-filters,
    .journey-links__head,
    .region-shape-card,
    .country-cards,
    .craft-grid,
    .feature-grid,
    .reviews-grid,
    .timeline-cards,
    .achievement-grid,
    .service-icons,
    .service-overview,
    .service-tree,
    .culture-service-grid,
    .mini-routes,
    .image-tiles,
    .yurt-buttons,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .visual-tabs a,
    .visual-tabs button {
        flex-basis: 210px;
    }

    .tour-grid,
    .tour-card,
    .tour-card__body {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    .tour-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        overflow: hidden;
    }

    .tour-card {
        display: block;
        overflow: hidden;
    }

    .tour-card__image,
    .tour-card__body,
    .tour-card h3,
    .tour-card h3 a,
    .tour-card p,
    .tour-card__foot {
        max-width: 100%;
        min-width: 0;
    }

    .tour-card h3 a,
    .tour-card p {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .tour-card__image {
        height: 230px;
    }

    .tour-card__body {
        min-height: 0;
        padding: 20px;
    }

    .tour-card h3 {
        font-size: 22px;
    }

    .tour-filters {
        padding: 18px;
    }

    .tour-filters__actions {
        flex-direction: column;
    }

    .tour-filters__actions .site-btn {
        width: 100%;
    }

    .service-overview a,
    .service-group__body {
        padding: 22px;
    }

    .service-group {
        grid-template-columns: 1fr;
    }

    .service-group__media {
        min-height: 220px;
    }

    .tour-card__foot,
    .tour-card__actions,
    .home-hero__actions,
    .cta-actions,
    .booking-submit {
        align-items: stretch;
        flex-direction: column;
    }

    .tour-card__foot .site-btn,
    .tour-card__actions .site-btn,
    .home-hero__actions .site-btn {
        width: 100%;
    }

    .journey-links {
        margin-top: 48px;
        padding: 22px;
    }

    .journey-links__grid {
        grid-template-columns: 1fr;
    }

    .region-shape-card {
        padding: 22px;
    }

    .country-card {
        min-height: 320px;
    }

    .country-card span {
        margin-top: 180px;
    }

    .country-cards--small .country-card span {
        margin-top: 120px;
    }

    .country-preview img,
    .wide-photo,
    .gallery-grid img,
    .gallery-grid__item--0,
    .gallery-grid__item--3 {
        height: 240px;
    }

    .cta-card {
        min-height: 300px;
        padding: 34px 24px;
    }

    .blue-form,
    .contact-form {
        padding: 24px;
    }

    .price-panel {
        padding: 0;
    }

    .price-panel > div {
        min-height: 260px;
        padding: 36px 22px;
    }

    .partners-strip {
        grid-template-columns: repeat(2, 1fr);
        margin-left: 0;
        margin-right: 0;
    }

    .site-footer__inner {
        gap: 28px;
    }

    .site-footer__bottom {
        display: grid;
        gap: 10px;
    }

    .booking-dialog {
        border-radius: 16px;
        padding: 26px 18px;
        width: calc(100vw - 18px);
    }

    .booking-dialog__head {
        display: block;
        padding-right: 34px;
    }

    .booking-dialog__head h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .booking-step {
        padding: 18px;
    }

    .booking-step > b {
        left: 18px;
        top: 18px;
    }

    .booking-step h3 {
        font-size: 18px;
        margin-left: 52px;
    }
}
