.ex__item{
    display: flex;
    flex-direction: column;
}
.ex__item__label{
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.70);
    text-align: center;
    font-family: "Inter Tight";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 16px */
    letter-spacing: -0.32px;
}

.main__body__ex .sub_title {
    max-width: 590px;
}
.main__body__ex{
    width: 100%;
}

/* Общая разметка */


.zs-intro__grid{
    margin-top: 40px;
}

.zs-heading-line {
    display: block;
}


/* Первый блок */

.zs-intro__title,
.zs-journey__title {
    margin: 0 0 28px;
}

.zs-intro__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.zs-intro__item {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.zs-intro__image {
    display: block;
    width: 100%;
    aspect-ratio: 502 / 262;
    object-fit: cover;
}

.zs-intro__text {
    margin-top: 19px;
    color: #1E1816;
    font-family: "Inter Tight";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 16px */
    letter-spacing: -0.32px;
    max-width: 600px;
}


/* Этапы путешествия */

.zs-journey__panel {
    position: relative;
    isolation: isolate;
    min-height: 474px;
    padding: 70px 0 40px;
    background-image: var(--zs-journey-bg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.zs-journey__panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
}

.zs-journey__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.zs-journey__step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding-inline: 24px;
}

.zs-journey__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 27px;
    left: calc(50% + 44px);
    width: calc(100% - 88px);
    border-top: 2px dashed rgba(255, 255, 255, 0.5);
}

.zs-journey__number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.24);
    color: #FFF;
    text-align: center;
    font-family: "Inter Tight";
    font-size: 30px;
    font-style: normal;
    font-weight: 200;
    line-height: 100%; /* 30px */
    letter-spacing: -0.6px;
}

.zs-journey__step-title {
    gap: 5px;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    text-align: center;
    font-family: Oswald;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 20px */
    letter-spacing: -1px;
    text-transform: uppercase;
}

.zs-journey__text {
    width: 100%;
    max-width: 240px;
    margin: 0;
    color: #FFF;
    text-align: center;
    font-family: "Inter Tight";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 14px */
    letter-spacing: -0.28px;
}


/* Заголовок маршрутов */

.zs-routes__head {
    margin-bottom: 36px;
}

.zs-routes__label {
    margin-bottom: 10px;
}

.zs-routes__title,
.zs-routes__description {
    margin: 0;
}

.zs-routes__description{
    color: #1E1816;
    font-family: "Inter Tight";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 16px */
    letter-spacing: -0.32px;
}

/* Карточки маршрутов */

.zs-routes__list {
    display: grid;
    gap: 40px;
}

.zs-route {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 60px;
}

.zs-route__media,
.zs-route__content {
    min-width: 0;
}

.zs-route__image {
    display: block;
    width: 100%;
    aspect-ratio: 502 / 425;
    object-fit: cover;
}

.zs-route--reverse .zs-route__media {
    grid-column: 2;
    grid-row: 1;
}

.zs-route--reverse .zs-route__content {
    grid-column: 1;
    grid-row: 1;
}

.zs-route__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 11px;
}

.zs-route__title {
    min-width: 0;
    margin: 0;
    color: #1E1816;
    font-family: Oswald;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 32px */
    letter-spacing: -1.6px;
    text-transform: uppercase;
}

.zs-route__duration {
    flex-shrink: 0;
    color: rgba(30, 24, 22, 0.40);
    font-family: Oswald;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 22px */
    letter-spacing: -1.1px;
    text-transform: uppercase;
}

.zs-route__path {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.zs-route__path span{
    color: rgba(30, 24, 22, 0.40);
    font-family: Oswald;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 12px */
    letter-spacing: -0.6px;
    text-transform: uppercase;
}
.zs-route__path-icon {
    display: flex;
    flex: 0 0 14px;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-top: 2px;
}

.zs-route__path-icon svg,
.zs-route__price-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.zs-routes__label{
    color: #3E3937;
    font-family: Oswald;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 90%; /* 16.2px */
    letter-spacing: -0.18px;
    margin-bottom: 15px;
}
/* Аккордеоны */

.zs-route__days {
    display: grid;
    gap: 14px;
}

.zs-day {
    min-width: 0;
    background: #fff;
    padding: 15px;
}

.zs-day__head {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 24px;
    list-style: none;
    cursor: pointer;
}

.zs-day__head::-webkit-details-marker {
    display: none;
}

.zs-day__head::marker {
    content: "";
}

.zs-day__image {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: cover;
}

.zs-day__title {
    min-width: 0;
    color: #1E1816;
    font-family: Oswald;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -1px;
    text-transform: uppercase;
}
.zs-day__title strong{
    color: #1E1816;
    font-family: Oswald;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 20px */
    letter-spacing: -1px;
    text-transform: uppercase;
}
.zs-day__arrow {
    justify-self: center;
    width: 9px;
    height: 9px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.zs-day[open] .zs-day__arrow {
    transform: translateY(3px) rotate(225deg);
}


.zs-day__body {
    color: #1E1816;
    font-family: "Inter Tight";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 14px */
    letter-spacing: -0.28px;
    margin-top: 15px;
}
.zs-day__body p {
    margin: 0;
}

.zs-day__body p + p {
    margin-top: 15px;
}


/* Проживание и цена */

.zs-route__stay {
    color: #1E1816;
    font-family: "Inter Tight";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -0.32px;
    margin-top: 15px;
    margin-bottom: 30px;
}
.zs-route__stay strong{
    color: #1E1816;
    font-family: "Inter Tight";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 16px */
    letter-spacing: -0.32px;
}

.zs-route__price {
    display: flex;
    flex-wrap: wrap;
    align-items: self-end;
    gap: 10px 16px;
    min-height: 68px;
    padding: 15px;
    border: 1px solid #B48A5A;
    background: #FAF9F5;
}

.zs-route__price-icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 9px;
    background: rgba(180, 138, 90, 0.20);
}

.zs-route__price-value,
.zs-route__price-note {
    min-width: 0;
}

.zs-route__price-value{
    color: #000;
    font-family: Oswald;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 20px */
    letter-spacing: -1px;
    text-transform: uppercase;
}
.zs-route__price-value strong{
    color: #000;
    font-family: Oswald;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -1.6px;
    text-transform: uppercase;
}
.zs-route__price-note{
    color: rgba(0, 0, 0, 0.40);
    font-family: Oswald;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 14px */
    letter-spacing: -0.7px;
    text-transform: uppercase;
}



.safari-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}

/* Фото и продолжительность */

.safari-card__media {
    position: relative;
    flex-shrink: 0;
}

.safari-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 494 / 300;
    object-fit: cover;
}

.safari-card__duration {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: #FFF;
    font-family: Oswald;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 14px */
    letter-spacing: -0.7px;
    text-transform: uppercase;
}

/* Содержимое */

.safari-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    padding: 20px 30px 30px 30px;
}

.safari-card__route {
    margin-bottom: 15px;
    color: rgba(30, 24, 22, 0.40);
    font-family: Oswald;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 12px */
    letter-spacing: -0.6px;
    text-transform: uppercase;
}

.safari-card__title {
    margin: 0 0 10px;
    color: #1E1816;
    font-family: Oswald;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 20px */
    letter-spacing: -1px;
    text-transform: uppercase;
}

.safari-card__description {
    margin: 0 0 20px;
    color: #1E1816;
    font-family: "Inter Tight";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 14px */
    letter-spacing: -0.28px;
}

/* Цена */

.safari-card__price {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 4px;
    min-width: 0;
    margin-top: auto;
    padding: 21px 15px 15px 15px;
    border: 1px solid rgba(180, 138, 90, 0.40);
}
.safari-card__wrapper{
    display: flex;
    align-items: baseline;
}
.safari-card__price-caption {
    flex-shrink: 0;
}

.safari-card__price-note {
    margin-bottom: 4px;
    color: rgba(30, 24, 22, 0.40);
    font-family: "Inter Tight";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 12px */
    letter-spacing: -0.24px;
}
.safari-card__price-label{
    color: #000;
    font-family: Oswald;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 20px */
    letter-spacing: -1px;
    text-transform: uppercase;
}
.safari-card__price-line {
    flex: 1;
    min-width: 12px;
    margin-bottom: 4px;
}

.safari-card__price-value {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    color: #000;
    font-family: Oswald;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 24px */
    letter-spacing: -1.2px;
    text-transform: uppercase;
}
.safari-card__price-unit{
    color: #000;
    font-family: Oswald;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 24px */
    letter-spacing: -1.2px;
    text-transform: uppercase;
}
/* Кнопка */

.safari-card__button {
    display: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 36px;
    padding: 12px 16px;
    border: 1px solid #000;
    color: #1E1816;
    font-family: Oswald;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%; /* 17.6px */
    letter-spacing: -0.8px;
    text-transform: uppercase;
}

.safari-card__media__over{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.00) 56.2%);
}
.callback__btns{
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
}
.callback.callback__left .callback__btn{
    max-width: 256px;
    width: 100%;
}
.callback__btn__white{
    background: #FFF;
    color: #1E1816;
}
/* Адаптив */

@media (min-width: 1441px) and (max-width: 3840px) {
    .ex__item__label {
        margin-bottom: 0.347222vw;
        font-size: 1.111111vw;
        letter-spacing: -0.022222vw;
    }

    .main__body__ex .sub_title {
        max-width: 40.972222vw;
    }

    .zs-intro__grid {
        margin-top: 2.777778vw;
    }

    .zs-intro__title,
    .zs-journey__title {
        margin: 0 0 1.944444vw;
    }

    .zs-intro__grid {
        gap: 1.388889vw;
    }

    .zs-intro__text {
        margin-top: 1.319444vw;
        font-size: 1.111111vw;
        letter-spacing: -0.022222vw;
        max-width: 41.666667vw;
    }

    .zs-journey__panel {
        min-height: 32.916667vw;
        padding: 4.861111vw 0 2.777778vw;
    }

    .zs-journey__step {
        padding-inline: 1.666667vw;
    }

    .zs-journey__step:not(:last-child)::after {
        top: 1.875vw;
        left: calc(50% + 3.055556vw);
        width: calc(100% - 6.111111vw);
        border-top: 0.138889vw dashed rgba(255, 255, 255, 0.5);
    }

    .zs-journey__number {
        width: 3.888889vw;
        height: 3.888889vw;
        margin-bottom: 1.527778vw;
        font-size: 2.083333vw;
        letter-spacing: -0.041667vw;
    }

    .zs-journey__step-title {
        margin: 0 0 0.972222vw;
        font-size: 1.388889vw;
        letter-spacing: -0.069444vw;
    }

    .zs-journey__text {
        max-width: 16.666667vw;
        font-size: 0.972222vw;
        letter-spacing: -0.019444vw;
    }

    .zs-routes__head {
        margin-bottom: 2.5vw;
    }

    .zs-routes__label {
        margin-bottom: 0.694444vw;
    }

    .zs-routes__description {
        font-size: 1.111111vw;
        letter-spacing: -0.022222vw;
    }

    .zs-routes__list {
        gap: 2.777778vw;
    }

    .zs-route {
        gap: 4.166667vw;
    }

    .zs-route__heading {
        gap: 0.555556vw 1.388889vw;
        margin-bottom: 0.763889vw;
    }

    .zs-route__title {
        font-size: 2.222222vw;
        letter-spacing: -0.111111vw;
    }

    .zs-route__duration {
        font-size: 1.527778vw;
        letter-spacing: -0.076389vw;
    }

    .zs-route__path {
        gap: 0.555556vw;
        margin-bottom: 1.388889vw;
    }

    .zs-route__path span {
        font-size: 0.833333vw;
        letter-spacing: -0.041667vw;
    }

    .zs-route__path-icon {
        flex: 0 0 0.972222vw;
        width: 0.972222vw;
        height: 0.972222vw;
        margin-top: 0.138889vw;
    }

    .zs-routes__label {
        font-size: 1.25vw;
        letter-spacing: -0.0125vw;
        margin-bottom: 1.041667vw;
    }

    .zs-route__days {
        gap: 0.972222vw;
    }

    .zs-day {
        padding: 1.041667vw;
    }

    .zs-day__head {
        grid-template-columns: 2.638889vw minmax(0, 1fr) 0.972222vw;
        gap: 1.666667vw;
    }

    .zs-day__image {
        width: 2.638889vw;
        height: 2.638889vw;
    }

    .zs-day__title {
        font-size: 1.388889vw;
        letter-spacing: -0.069444vw;
    }

    .zs-day__title strong {
        font-size: 1.388889vw;
        letter-spacing: -0.069444vw;
    }

    .zs-day__arrow {
        width: 0.625vw;
        height: 0.625vw;
        border-right: 0.069444vw solid currentColor;
        border-bottom: 0.069444vw solid currentColor;
        transform: translateY(-0.138889vw) rotate(45deg);
    }

    .zs-day[open] .zs-day__arrow {
        transform: translateY(0.208333vw) rotate(225deg);
    }

    .zs-day__body {
        font-size: 0.972222vw;
        letter-spacing: -0.019444vw;
        margin-top: 1.041667vw;
    }

    .zs-day__body p + p {
        margin-top: 1.041667vw;
    }

    .zs-route__stay {
        font-size: 1.111111vw;
        letter-spacing: -0.022222vw;
        margin-top: 1.041667vw;
        margin-bottom: 2.083333vw;
    }

    .zs-route__stay strong {
        font-size: 1.111111vw;
        letter-spacing: -0.022222vw;
    }

    .zs-route__price {
        gap: 0.694444vw 1.111111vw;
        min-height: 4.722222vw;
        padding: 1.041667vw;
        border: 0.069444vw solid #B48A5A;
    }

    .zs-route__price-icon {
        flex: 0 0 2.638889vw;
        width: 2.638889vw;
        height: 2.638889vw;
        padding: 0.625vw;
    }

    .zs-route__price-value {
        font-size: 1.388889vw;
        letter-spacing: -0.069444vw;
    }

    .zs-route__price-value strong {
        font-size: 2.222222vw;
        letter-spacing: -0.111111vw;
    }

    .zs-route__price-note {
        font-size: 0.972222vw;
        letter-spacing: -0.048611vw;
    }

    .safari-card__duration {
        top: 1.666667vw;
        right: 1.666667vw;
        padding: 0.833333vw;
        font-size: 0.972222vw;
        letter-spacing: -0.048611vw;
    }

    .safari-card__body {
        padding: 1.388889vw 2.083333vw 2.083333vw 2.083333vw;
    }

    .safari-card__route {
        margin-bottom: 1.041667vw;
        font-size: 0.833333vw;
        letter-spacing: -0.041667vw;
    }

    .safari-card__title {
        margin: 0 0 0.694444vw;
        font-size: 1.388889vw;
        letter-spacing: -0.069444vw;
    }

    .safari-card__description {
        margin: 0 0 1.388889vw;
        font-size: 0.972222vw;
        letter-spacing: -0.019444vw;
    }

    .safari-card__price {
        gap: 0.277778vw;
        padding: 1.458333vw 1.041667vw 1.041667vw 1.041667vw;
        border: 0.069444vw solid rgba(180, 138, 90, 0.40);
    }

    .safari-card__price-note {
        margin-bottom: 0.277778vw;
        font-size: 0.833333vw;
        letter-spacing: -0.016667vw;
    }

    .safari-card__price-label {
        font-size: 1.388889vw;
        letter-spacing: -0.069444vw;
    }

    .safari-card__price-line {
        min-width: 0.833333vw;
        margin-bottom: 0.277778vw;
    }

    .safari-card__price-value {
        gap: 0.277778vw;
        font-size: 1.666667vw;
        letter-spacing: -0.083333vw;
    }

    .safari-card__price-unit {
        font-size: 1.666667vw;
        letter-spacing: -0.083333vw;
    }

    .safari-card__button {
        min-height: 3.611111vw;
        margin-top: 2.5vw;
        padding: 0.833333vw 1.111111vw;
        border: 0.069444vw solid #000;
        font-size: 1.111111vw;
        letter-spacing: -0.055556vw;
    }

    .callback__btns {
        gap: 1.388889vw;
    }

    .callback.callback__left .callback__btn {
        max-width: 17.777778vw;
    }

    /* Desktop overrides explicitly present in the source; highest priority. */
    .main__body__ex .sub_title {
        font-size: 0.944444vw;
        letter-spacing: -0.018889vw;
        max-width: 38.298611vw;
    }
}

@media (max-width: 575px) {
    .safari-card__duration {
        top: 16px;
        right: 16px;
        padding: 10px;
    }

    .safari-card__body {
        padding: 24px 20px;
    }

    .safari-card__price {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px;
    }

    .safari-card__price-value {
        margin-left: auto;
    }

    .safari-card__button {
        margin-top: 24px;
    }
}

/* Планшеты */

@media (max-width: 1100px) {
    .zs-route {
        gap: 30px;
    }

    .zs-journey__step {
        padding-inline: 16px;
    }

    .zs-day__head {
        gap: 16px;
    }
}

@media (max-width: 991px) {

    .zs-routes__head {
        gap: 24px;
    }

    .zs-route {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .zs-route--reverse .zs-route__media,
    .zs-route--reverse .zs-route__content {
        grid-column: auto;
        grid-row: auto;
    }

    .zs-route__image {
        aspect-ratio: 16 / 10;
    }

    .zs-routes__list {
        gap: 48px;
    }

    .zs-journey__panel {
        padding: 40px 20px;
    }

    .zs-journey__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 0;
    }

    .zs-journey__step:nth-child(2)::after {
        display: none;
    }
}


/* Телефоны */

@media (max-width: 575px) {



    .zs-intro__title,
    .zs-journey__title {
        margin-bottom: 22px;
    }

    .zs-intro__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .zs-intro__text {
        margin-top: 14px;
    }

    .zs-journey__panel {
        padding: 30px 20px;
    }

    .zs-journey__steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .zs-journey__step {
        padding-inline: 0;
    }

    .zs-journey__step::after {
        display: none;
    }

    .zs-journey__number {
        margin-bottom: 16px;
    }

    .zs-journey__text {
        max-width: 280px;
    }

    .zs-routes__head {
        margin-bottom: 24px;
    }

    .zs-route__image {
        aspect-ratio: 4 / 3;
    }

    .zs-route__heading {
        gap: 8px 16px;
    }

    .zs-day__head {
        grid-template-columns: 34px minmax(0, 1fr) 12px;
        gap: 12px;
        padding: 12px;
    }

    .zs-day__image {
        width: 34px;
        height: 34px;
    }

    .zs-day__body {
        padding: 0 12px 14px;
    }

    .zs-route__stay {
        margin-bottom: 20px;
    }

    .zs-route__price {
        gap: 10px;
        padding: 12px;
    }
}

@media (min-width: 1441px) and (max-width: 3840px) {
    .main__body__ex .sub_title {
        font-size: 0.944444vw;
        letter-spacing: -0.018889vw;
        max-width: 38.298611vw;
    }
}