@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 100 900;
    src: url("//static.tourvisor.ru/fonts/Montserrat/Montserrat-Variable-Cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 100 900;
    src: url("//static.tourvisor.ru/fonts/Montserrat/Montserrat-Variable-Latin-ext.woff2") format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
        U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 100 900;
    src: url("//static.tourvisor.ru/fonts/Montserrat/Montserrat-Variable-Latin.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
        U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

:root {
    --trvtmplButtonsColor: #3e86f6;
    --trvtmplTemplateColor: #e5effe;
    --trvtmplContainerPadding: 20px;
    --trvtmplContainerMaxWidth: 1160px;
    --trvtmplLinksTransition: opacity 0.3s;
    --trvtmplLinksHoverOpacity: 0.8;
    --trvtmplFontColorDark: #314152;
}

body {
    margin: 0;
    padding: 0;
    min-width: 360px;
    background-color: #f7f7f9;
}

img {
    max-width: 100%;
    height: auto;
}

h2 {
    color: var(--trvtmplFontColorDark);
    font-style: normal;
    font-weight: 500;
    font-size: 38px;
    line-height: 46px;
    letter-spacing: -0.02em;
}

/* SHORTS */
.trvtmpl-mt-m {
    margin-top: 61px;
}
/* SHORTS END */

/* CONTAINER */
.trvtmpl-container {
    padding-left: var(--trvtmplContainerPadding);
    padding-right: var(--trvtmplContainerPadding);
    max-width: var(--trvtmplContainerMaxWidth);
    margin-left: auto;
    margin-right: auto;
}
/* CONTAINER END */

/* SOCIALS */
.trvtmpl-socials {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 10px;
}
.trvtmpl-socials__item > a {
    display: flex;
    transition: var(--trvtmplLinksTransition);
}
.trvtmpl-socials__item > a:hover {
    opacity: var(--trvtmplLinksHoverOpacity);
}
.trvtmpl-socials__item .trvtmpl-socials-path--bg {
    fill: #5c6672;
}
/* SOCIALS END */

/* PHONE */
.trvtmpl-phone__link {
    text-decoration: none;
    color: currentColor;
    transition: var(--trvtmplLinksTransition);
}
.trvtmpl-phone__link:hover {
    opacity: var(--trvtmplLinksHoverOpacity);
}
/* PHONE END */

/* MAIL */
.trvtmpl-mail__link {
    text-decoration: none;
    color: currentColor;
    transition: var(--trvtmplLinksTransition);
}
.trvtmpl-mail__link:hover {
    opacity: var(--trvtmplLinksHoverOpacity);
}
/* MAIL END */

/* MAP */
#map {
    border-radius: 20px;
    box-shadow: 0 15px 15px 0 rgba(2, 0, 101, 0.02);
    height: 500px;
    overflow: hidden;
}
#map .ymaps-2-1-79-ground-pane {
    filter: grayscale(1);
    -ms-filter: grayscale(1);
    -webkit-filter: grayscale(1);
    -moz-filter: grayscale(1);
    -o-filter: grayscale(1);
}
/* MAP END */

/* TV MODULES */
.TVResultPanel .TVSearchButton,
.TVButtonForm .TVButtonWaiter,
.TVMobilePanel .TVButtonColor {
    background-color: var(--trvtmplButtonsColor) !important;
}
.TVButtonWaiter.TVColorGreen500 {
    border-color: var(--trvtmplButtonsColor) !important;
}
body:not(.trvtmpl-body--main-page) .tv-search-form .TVMainForm,
.tv-hot-tours .TVMinPFilterWrap,
.TVModalContainer .TVMainColor,
.tv-country .TVCountryFilter,
.TVMainColor,
.TVCalMainColor,
.TVResultPanel .TVMainForm {
    --tv-main-color: var(--trvtmplTemplateColor) !important;
    --tv-main-text-color: var(--trvtmplFontColorDark) !important;

    background-color: var(--trvtmplTemplateColor) !important;
    color: var(--trvtmplFontColorDark) !important;
}
.TVResultPanel .TVSearchModeControl .TVInputRadioContent {
    color: rgb(68, 68, 68);
}
/* TV MODULES END */

/* TV REQUEST BUTTON */
.trvtmpl-header__request .tv-free-button .TVBButtonCaption,
.trvtmpl-header__request .tv-free-button .TVBButtonCaption:after {
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 16px !important;
    letter-spacing: -0.3px !important;

    color: #ffffff !important;
}
.trvtmpl-header__request .tv-free-button .TVBButtonCaption:after {
    content: "Заявка на тур" !important;
}
.trvtmpl-header__request .tv-free-button .TVBColor {
    background-color: var(--trvtmplButtonsColor) !important;
}
.trvtmpl-header__request .tv-free-button .TVBButton {
    border-radius: 6px !important;
}
.trvtmpl-header__request .tv-free-button .TVBButton > div {
    padding: 15px 20px !important;
}
.trvtmpl-header__request .tv-free-button .TVBButton .TVBGradient {
    background-image: none !important;
}
/* TV REQUEST BUTTON END */

/* TV SEARCH */
.trvtmpl-search:has(.tv-search-form.tv-loaded) .tv-search-form {
    padding: 14px 13px 13px !important;
    background-color: #ffffff !important;
    border-radius: 20px !important;
}
.trvtmpl-search .tv-search-form .TVMainForm {
    background-color: transparent !important;
    position: relative;
    z-index: 1;
}
.trvtmpl-search .tv-search-form .TVMainForm::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--trvtmplTemplateColor);
    opacity: 1;
    z-index: -1;
}
.trvtmpl-search .tv-search-form .TVFilterForm {
    background-color: #ffffff !important;
}
.trvtmpl-search .tv-search-form .TVSearchButton {
    background-color: var(--trvtmplButtonsColor) !important;
}
.trvtmpl-search .tv-search-form .TVSearchModeControl .TVInputRadioContent {
    color: rgb(68, 68, 68);
}
/* TV SEARCH END */

/* HEADER */
.trvtmpl-header {
    padding: 52px 0 48px;
}
.trvtmpl-header__inner-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 60px;
}
.trvtmpl-header__logo {
    color: var(--trvtmplFontColorDark);
    leading-trim: both;
    text-edge: cap;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.52px;

    display: flex;
}
.trvtmpl-header__left-col {
    max-width: 20%;
}
.trvtmpl-header__right-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 37px;
    max-width: 80%;
    flex: 1 1 auto;
}
.trvtmpl-header__socials {
    display: flex;
    max-width: 50%;
}
.trvtmpl-header__socials .trvtmpl-socials {
    justify-content: flex-end;
}
.trvtmpl-header__phone .trvtmpl-phone__icon {
    display: none;
}
.trvtmpl-header__contacts {
    text-align: right;

    display: flex;
    flex-direction: column;
    row-gap: 7px;
    max-width: 35%;
}
.trvtmpl-header__phone {
    color: var(--trvtmplFontColorDark);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.36px;
    white-space: nowrap;
}
.trvtmpl-header__address {
    color: var(--trvtmplFontColorDark);
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.3px;

    opacity: 0.6;
}
.trvtmpl-header__request {
    flex-shrink: 0;
}
/* HEADER END */

/* TEAM */
.trvtmpl-team__header h2 {
    margin: 0;
}
.trvtmpl-team__header {
    margin-bottom: 28px;
}
.trvtmpl-team__items {
    display: flex;
    flex-wrap: wrap;
    column-gap: 36px;
    row-gap: 39px;

    padding-left: var(--trvtmplContainerPadding);
    padding-right: var(--trvtmplContainerPadding);
    max-width: var(--trvtmplContainerMaxWidth);
    margin-left: auto;
    margin-right: auto;
}
.trvtmpl-team__item {
    text-decoration: none;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #eaebec;
    box-shadow: 0 6px 45px 0 rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    overflow: hidden;
    flex: 0 0 calc(50% - 18px);
}
.trvtmpl-team__item-image {
    width: 216px;
    height: 208px;
    display: flex;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
}
.trvtmpl-team__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trvtmpl-team__item-desc {
    width: 100%;
    padding: 32px 26px;
}
.trvtmpl-team__item-title {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #02033b;
}
.trvtmpl-team__item-position {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #02033b;
    margin-top: 9px;
}
.trvtmpl-team__item-about {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    color: var(--trvtmplFontColorDark);

    opacity: 0.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-top: 16px;
}
.trvtmpl-team__item-about pre {
    margin-top: 0;
    margin-bottom: 0;
}
/* TEAM END */

/* ABOUT */
.trvtmpl-about__header {
    margin-bottom: 28px;
}
.trvtmpl-about__header h2 {
    margin: 0;
}
.trvtmpl-about__body {
    display: flex;
    align-items: center;
    column-gap: 50px;
}
.trvtmpl-about__image {
    flex: 0 0 540px;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}
.trvtmpl-about__image::before {
    content: "";
    display: block;
    padding-bottom: calc(364 / 540 * 100%);
}
.trvtmpl-about__image-inner-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.trvtmpl-about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trvtmpl-about__text {
    padding-top: 4px;
}
.trvtmpl-about__text p {
    color: #242424;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.35px;

    margin: 22px 0;
}
.trvtmpl-about__text p:first-child {
    margin-top: 0;
}
.trvtmpl-about__text p:last-child {
    margin-bottom: 0;
}
/* ABOUT END */

/* CONTACTS BLOCK */
.trvtmpl-contacts-block__items {
    background-color: #ffffff;
    border-radius: 20px;
    filter: drop-shadow(0 15px 15px rgba(2, 0, 101, 0.02));
    padding: 33px 40px;
    display: flex;
    column-gap: 60px;
}
.trvtmpl-contacts-block__item {
    display: flex;
    align-items: center;
    position: relative;
    flex: 0 1 auto;
    column-gap: 13px;
}
.trvtmpl-contacts-block__item-text {
    padding: 6px 0;
}
.trvtmpl-contacts-block__item.trvtmpl-contacts-block__item--phone,
.trvtmpl-contacts-block__item.trvtmpl-contacts-block__item--mail {
    flex-shrink: 0;
}
.trvtmpl-contacts-block__item-value {
    color: var(--trvtmplFontColorDark);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.32px;
}
.trvtmpl-contacts-block__item--phone .trvtmpl-contacts-block__item-value {
    white-space: nowrap;
}
.trvtmpl-contacts-block__item-desc {
    color: var(--trvtmplFontColorDark);
    opacity: 0.6;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.3px;
}
.trvtmpl-contacts-block__item-icon-bg {
    background: #5c6672;
    display: flex;
    border-radius: 50%;
    width: 44px;
    height: 44px;
}
.trvtmpl-contacts-block__item-icon {
    padding: 8px;
    position: relative;
    border: 1px solid #707881;
    border-radius: 50%;
}
.trvtmpl-contacts-block__item-icon svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.trvtmpl-contacts-block__map {
    margin-top: 40px;
}
/* CONTACTS BLOCK END */

/* FOOTER */
.trvtrmpl-footer__inner-wrapper {
    display: grid;
    justify-content: space-between;
    grid-template-columns: 160px 236px 469px;
    column-gap: 45px;
    padding-top: 10px;
    padding-bottom: 50px;
}
.trvtrmpl-footer__logo {
    color: var(--trvtmplFontColorDark);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px;

    grid-column: 1;
}
.trvtrmpl-footer__contacts {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    grid-column: 2;
}
.trvtmpl-footer__main-contacts {
    color: var(--trvtmplFontColorDark);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.28px;

    display: flex;
    flex-direction: column;
    row-gap: 8px;
}
.trvtrmpl-footer__info {
    color: rgba(49, 65, 82, 0.4);
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.26px;

    display: flex;
    flex-direction: column;
    row-gap: 9px;
    grid-column: 3;
}
.trvtrmpl-footer__info a {
    text-decoration: none;
    color: currentColor;
    transition: var(--trvtmplLinksTransition);
}
.trvtrmpl-footer__info a:hover {
    opacity: var(--trvtmplLinksHoverOpacity);
}
.trvtmpl-footer__popd p {
    margin: 7px 0;
}
.trvtmpl-footer__popd p:first-child {
    margin-top: 0;
}
.trvtmpl-footer__popd p:last-child {
    margin-bottom: 0;
}
.trvtmpl-footer__policy {
    cursor: pointer;
    transition: var(--trvtmplLinksTransition);
}
.trvtmpl-footer__policy:hover {
    opacity: var(--trvtmplLinksHoverOpacity);
}
/* FOOTER END */

/* ERROR */
body:has(.trvtrmpl-main-error) {
    margin: 0;
    padding: 0;
    min-width: 360px;
    background-color: #f7f7f9;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

main.trvtrmpl-main-error {
    --padding-horizontal: 20px;

    max-width: calc(498px + var(--padding-horizontal) * 2);
    width: 100%;
    padding: 0 var(--padding-horizontal);
}

.trvtrmpl-main-error h1 {
    color: #314152;
    leading-trim: both;
    text-edge: cap;
    font-size: 38px;
    font-style: normal;
    font-weight: 500;
    line-height: 46px;
    letter-spacing: -0.76px;

    margin-top: 0;
    margin-bottom: 31px;
}

.trvtrmpl-main-error p {
    color: #242424;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.3px;

    margin: 0;
}

@media screen and (max-width: 1000px) {
    main.trvtrmpl-main-error {
        max-width: calc(320px + var(--padding-horizontal) * 2);
        transform: translateY(8px);
    }

    .trvtrmpl-main-error h1 {
        font-size: 24px;
        line-height: 29px;
        letter-spacing: -0.48px;

        margin-bottom: 25px;
    }

    .trvtrmpl-main-error p {
        font-size: 16px;
        line-height: 22px;
        letter-spacing: -0.32px;

        margin: 22px 0;
    }
}

@media screen and (min-height: 500px) and (min-width: 1001px) {
    main.trvtrmpl-main-error {
        transform: translateY(-30px);
    }
}

/* ERROR END */

@media screen and (max-width: 1000px) {
    h2 {
        font-size: 24px;
        line-height: 29px;
        letter-spacing: -0.48px;
    }

    /* SHORTS */
    .trvtmpl-mt-m {
        margin-top: 34px;
    }
    /* SHORTS END */

    /* MAP */
    #map {
        height: 400px;
    }
    /* MAP END */

    /* HEADER */
    .trvtmpl-header {
        padding: 25px 0 40px;
    }
    .trvtmpl-header__logo {
        font-size: 19px;
        font-weight: 800;
        line-height: 12px;
        letter-spacing: -0.375px;
    }
    .trvtmpl-header__logo img {
        width: 75%;
    }
    .trvtmpl-header__left-col {
        max-width: 80%;
    }
    .trvtmpl-header__right-col {
        max-width: 20%;
    }
    .trvtmpl-header__socials,
    .trvtmpl-header__request,
    .trvtmpl-header__address,
    .trvtmpl-header__phone .trvtmpl-phone__content {
        display: none;
    }
    .trvtmpl-header__phone .trvtmpl-phone__icon {
        display: flex;
    }
    .trvtmpl-header__contacts {
        max-width: 100%;
    }
    /* HEADER END */

    /* TV SEARCH */
    .trvtmpl-search .tv-search-form .TVMobileForm .TVFormBody {
        background-color: transparent !important;
        border-radius: 10px !important;
        position: relative;
        z-index: 1;
    }
    .trvtmpl-search .tv-search-form .TVMobileForm .TVFormBody::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--trvtmplTemplateColor);
        opacity: 1;
        z-index: -1;
        border-radius: 10px !important;
    }
    /* TV SEARCH END */

    /* TEAM */
    .trvtmpl-team {
        overflow-x: clip;
    }
    .trvtmpl-team__header {
        margin-bottom: 34px;
    }
    .trvtmpl-team__items {
        padding-top: 40px;
        margin-top: -40px;
        padding-bottom: 40px;
        margin-bottom: -40px;
        flex-wrap: nowrap;
        justify-content: unset;
        column-gap: 20px;
        row-gap: 0;
        overflow-x: auto;
    }
    .trvtmpl-team__items::-webkit-scrollbar {
        display: none;
    }
    .trvtmpl-team__item {
        border-radius: 33px;
        box-shadow: 0 5px 41px 0 rgba(0, 0, 0, 0.06);
        flex-direction: column;
        flex: 0 0 290px;
    }
    .trvtmpl-team__item-image {
        width: 100%;
        height: 280px;
    }
    .trvtmpl-team__item-desc {
        padding: 32px 23px;
    }
    .trvtmpl-team__item-position {
        color: #5c6672;
        margin-top: 9px;
    }
    .trvtmpl-team__item-about {
        letter-spacing: -0.28px;
        line-height: 20px;
    }
    /* TEAM END */

    /* ABOUT */
    .trvtmpl-about__header {
        margin-bottom: 23px;
    }
    .trvtmpl-about__body {
        flex-direction: column;
        align-items: center;
        column-gap: 0;
        row-gap: 30px;
    }
    .trvtmpl-about__image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 540px;
        border-radius: 15px;
    }
    .trvtmpl-about__image::before {
        padding-bottom: calc(200 / 320 * 100%);
    }
    .trvtmpl-about__text {
        padding-top: 0;
    }
    .trvtmpl-about__text p {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: -0.32px;

        margin: 20px 0;
    }
    /* ABOUT END */

    /* CONTACTS BLOCK */
    .trvtmpl-contacts-block {
        padding-top: 22px;
    }
    .trvtmpl-contacts-block__header {
        margin-bottom: 28px;
    }
    .trvtmpl-contacts-block__header h2 {
        margin: 0;
    }
    .trvtmpl-contacts-block__items {
        flex-direction: column;
        column-gap: 0;
        row-gap: 18px;
        padding: 29px 24px 30px;
    }
    .trvtmpl-contacts-block__item {
        align-items: flex-start;
        column-gap: 15px;
    }
    .trvtmpl-contacts-block__item-text {
        padding: 5px 0;
    }
    .trvtmpl-contacts-block__item-value {
        font-size: 15px;
        line-height: 21px;
        letter-spacing: -0.3px;
    }
    .trvtmpl-contacts-block__item-desc {
        opacity: 0.6;
        font-size: 14px;
        line-height: 18px;
        letter-spacing: -0.28px;

        margin-top: 5px;
    }
    .trvtmpl-contacts-block__item-icon-bg {
        width: 38px;
        height: 38px;
    }
    .trvtmpl-contacts-block__item-icon {
        align-self: baseline;
        padding: 7px;
    }
    .trvtmpl-contacts-block__map {
        margin-top: 35px;
    }
    /* CONTACTS BLOCK END */

    /* FOOTER */
    .trvtrmpl-footer__inner-wrapper {
        display: flex;
        flex-direction: column;
        row-gap: 30px;
        padding-top: 1px;
        padding-bottom: 30px;
    }
    .trvtrmpl-footer__logo,
    .trvtrmpl-footer__contacts,
    .trvtrmpl-footer__info {
        flex: unset;
    }
    .trvtrmpl-footer__logo {
        max-width: 160px;
    }
    .trvtrmpl-footer__logo img {
        width: 75%;
    }
    .trvtrmpl-footer__info {
        row-gap: 7px;
    }
    .trvtmpl-footer__main-contacts {
        row-gap: 8px;
    }
    /* FOOTER END */
}
