

/* Start:/travel-group/css/travel-group.css?179620990110174*/
/* =========================================================
   /travel-group/ — Групповые поездки для B2B
   Использует переменные и компоненты шаблона fadin:
   --color-dark-teal, --color-brave-pink, --color-lime, --font-cofo-kak,
   .site-header__btn, .account-demo-form*
   ========================================================= */

.tg-page {
    --tg-teal: var(--color-dark-teal, #124559);
    --tg-teal-text: #004650;
    --tg-mint: #dff0eb;
    --tg-pink: var(--color-brave-pink, #ff467c);
    --tg-lime: var(--color-lime, #f1f44f);
    --tg-radius: 24px;
    --tg-pad-x: 56px;
}

.tg-page *,
.tg-page *::before,
.tg-page *::after { box-sizing: border-box; }

/* Аккуратные переносы: заголовки выравниваются по строкам, в абзацах не остаётся одно слово в последней строке */
.tg-page h1, .tg-page h2, .tg-page h3 { text-wrap: balance; }
.tg-page p, .tg-page .account-demo-form__agree span { text-wrap: pretty; }

.tg-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: var(--tg-pad-x);
    padding-right: var(--tg-pad-x);
}

.tg-h2 {
    margin: 0;
    font-family: var(--font-cofo-kak, var(--font-cofo));
    font-weight: 900;
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: #fff;
}
.tg-h2--dark { color: var(--tg-teal-text); }

/* Страница заезжает под sticky-хедер (как .wrapper.business-travel / .referral-hero на других страницах),
   высота хедера пробрасывается в --tg-header-h скриптом в index.php */
.tg-page { margin-top: calc(-1 * var(--tg-header-h, 104px)); }

/* ---------- Первый экран (размеры и скругление — как .referral-hero) ---------- */
.tg-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: 780px;
    background: var(--tg-teal);
    border-radius: 0 0 64px 64px;
    color: #fff;
}
.tg-hero__bg {
    position: absolute;
    inset: 0;
    background: url("/travel-group/img/hero.webp") center top / cover no-repeat;
}
.tg-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* как в оригинале на Tilda */
}
.tg-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: end;
    gap: 48px;
    padding-top: calc(var(--tg-header-h, 104px) + 48px);
    padding-bottom: 80px;
}
.tg-hero__title {
    margin: 0;
    font-family: var(--font-cofo-kak);
    font-weight: 900;
    font-size: 64px;
    line-height: 1.15;
    letter-spacing: 2.56px;
    color: #fff;
}
.tg-hero__lead {
    max-width: 728px;
    margin: 24px 0 0;
    font-family: var(--font-inter);
    font-size: 24px;
    line-height: 1.5;
    color: #fff;
}
.tg-hero__form { padding: 28px; }
.tg-hero__form .account-demo-form__agree { margin-top: 12px; }

/* ---------- Что такое групповые поездки ---------- */
.tg-benefits {
    padding: 100px 0;
    background: #fff;
}
.tg-benefits__title { text-align: center; }
.tg-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 64px;
    max-width: 1080px;
    margin: 56px auto 0;
}
.tg-benefit {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.tg-benefit__icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin-top: 4px;
}
.tg-benefit__title {
    margin: 0;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 500;
    color: var(--tg-teal-text);
}
.tg-benefit__text {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.4;
    color: var(--tg-teal-text);
}

/* ---------- Блоки с фото и формой ---------- */
.tg-split {
    padding: 0; /* сбрасываем глобальное section + section { padding: 80px 56px } шаблона */
    position: relative;
    overflow: hidden;
    background: var(--tg-teal);
    color: #fff;
}
.tg-split__bg {
    position: absolute;
    inset: 0;
    background-position: center top; /* обрезаем снизу, головы остаются */
    background-size: cover;
    background-repeat: no-repeat;
}
.tg-split--easy .tg-split__bg { background-image: url("/travel-group/img/easy.webp"); }
.tg-split--cta  .tg-split__bg { background-image: url("/travel-group/img/cta.webp"); }
.tg-split__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* как в оригинале на Tilda */
}
.tg-split__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    align-items: center;
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 56px;
}
.tg-split__text {
    max-width: 520px;
    margin: 20px 0 0;
    font-size: 20px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
}

/* Карточка формы: форма account-demo-form на полупрозрачной темной подложке */
.tg-form-card {
    width: 100%;
    padding: 32px;
    border-radius: var(--tg-radius);
    background: rgba(18, 69, 89, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.tg-form.account-demo-form { max-width: none; }
.tg-form__grid { gap: 12px; }
.tg-form__field--full { grid-column: 1 / -1; }
.tg-form__trips {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}
/* Плашки «Командировок в месяц» — всегда в одну строку, текст внутри плашки не переносится */
.tg-form__trips .account-demo-form__trips-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
}
.tg-form__trips .account-demo-form__radio {
    flex: 1 1 auto;
    min-width: 0;
}
.tg-form__trips .account-demo-form__radio span {
    width: 100%;
    min-width: 0;
    padding: 5px 12px;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .tg-form__trips .account-demo-form__trips-list { gap: 6px; }
    .tg-form__trips .account-demo-form__radio span {
        padding: 5px 8px;
        font-size: 14px;
    }
}

@media (max-width: 359px) {
    .tg-form__trips .account-demo-form__trips-list { gap: 4px; }
    .tg-form__trips .account-demo-form__radio span {
        padding: 5px 4px;
        font-size: 13px;
    }
}
.tg-form .tg-form__submit {
    min-height: 60px;
    margin-top: 20px;
    background: var(--tg-pink);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}
.tg-form .tg-form__submit:hover { background: #ff2f6d; }
.tg-form .account-demo-form__agree { margin-top: 16px; }

/* ---------- Как это работает ---------- */
.tg-steps {
    padding: 100px 0;
    background: var(--tg-mint);
}
.tg-steps__title { text-align: center; }
.tg-steps__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 48px auto 0;
    padding: 0;
    list-style: none;
}
.tg-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 32px;
    border-radius: var(--tg-radius);
    background: var(--tg-teal);
    color: var(--tg-mint);
}
.tg-step__badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--tg-pink);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}
.tg-step__title {
    margin: 0;
    font-family: var(--font-cofo-kak, var(--font-cofo));
    font-weight: 900;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: 0.02em;
}
.tg-step__text {
    margin: 8px 0 0;
    font-size: 18px;
    line-height: 1.4;
}
.tg-step--lime { background: var(--tg-lime); color: var(--tg-teal-text); }
.tg-step--lime .tg-step__badge { background: var(--tg-teal-text); color: var(--tg-lime); }
.tg-step--pink { background: var(--tg-pink); color: #fff; }
.tg-step--pink .tg-step__badge { background: var(--tg-mint); color: var(--tg-pink); }

/* ---------- Адаптив ---------- */
@media (min-width: 1200px) and (max-width: 1390px) {
    .tg-hero__title { font-size: 56px; }
}

@media (max-width: 1199px) {
    .tg-hero { min-height: 640px; border-radius: 0 0 40px 40px; }
    .tg-hero__inner { padding-bottom: 56px; }
    .tg-hero__title { font-size: clamp(32px, 7vw, 48px); letter-spacing: 1.5px; }
    .tg-hero__lead { font-size: 18px; }
}

@media (max-width: 640px) {
    .tg-hero { min-height: 560px; }
    .tg-hero__inner { padding-bottom: 40px; }
    .tg-hero__title { font-size: clamp(26px, 8vw, 34px); }
    .tg-hero__lead { font-size: 16px; margin-top: 16px; }
    .tg-hero__form { padding: 20px 16px; }
}

@media (max-width: 1200px) {
    .tg-page { --tg-pad-x: 40px; }
    .tg-split__inner { grid-template-columns: minmax(0, 1fr) 420px; }
}

@media (max-width: 1023px) {
    .tg-hero__inner { grid-template-columns: 1fr; align-items: start; gap: 32px; }
    .tg-hero__form { max-width: 560px; }
    .tg-h2 { font-size: 36px; }
    .tg-benefits,
    .tg-steps { padding: 72px 0; }
    .tg-benefits__grid { gap: 32px; }
    .tg-benefit__title { font-size: 22px; }
    .tg-split__inner {
        grid-template-columns: 1fr;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .tg-form-card { max-width: 560px; }
}

@media (max-width: 767px) {
    .tg-page { --tg-pad-x: 16px; --tg-radius: 16px; }
    .tg-h2 { font-size: 28px; }
    .tg-benefits,
    .tg-steps { padding: 56px 0; }
    .tg-benefits__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }
    .tg-benefit__title { font-size: 20px; }
    .tg-benefit__text { font-size: 14px; }
    .tg-split__text { font-size: 16px; text-align: center; }
    .tg-form-card { padding: 20px 16px; }
    .tg-step {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }
    .tg-step__title { font-size: 20px; }
    .tg-step__text { font-size: 15px; }
}
/* End */
/* /travel-group/css/travel-group.css?179620990110174 */
