.tg-content-page {
    --tg-blue: #0772ba;
    --tg-blue-dark: #045f9a;
    --tg-yellow: #fedd19;
    --tg-text: #263642;
    --tg-muted: #526774;
    --tg-soft: #eef5f8;
    --tg-border: #d7e4eb;
    --tg-radius: 22px;
    --tg-card-radius: 18px;
    --tg-hero-item-gap: 28px;
    color: var(--tg-text);
    font-size: 16px;
    line-height: 1.55;
    padding: 24px 0 64px;
}

.tg-content-page * { box-sizing: border-box; }
.tg-content-page__container,
.tg-content-page__admin { margin: 0 auto; max-width: 1240px; padding: 0 24px; }
.tg-content-page__admin { margin-bottom: 12px; }
.tg-content-page .tg-hero { background: linear-gradient(125deg, var(--tg-blue-dark), var(--tg-blue)); border-radius: var(--tg-radius); display: grid; grid-template-columns: 44% 56%; height: 520px; overflow: hidden; }
.tg-content-page .tg-hero__content { align-items: flex-start; color: #fff; display: flex; flex-direction: column; gap: var(--tg-hero-item-gap); justify-content: center; min-height: 0; padding: 28px clamp(36px, 4vw, 56px); }
.tg-content-page .tg-eyebrow { background: var(--tg-yellow); border-radius: 999px; color: var(--tg-text); display: inline-flex; font-size: 13px; font-weight: 700; line-height: 18px; margin-bottom: 20px; min-height: 34px; padding: 8px 14px; }
.tg-content-page .tg-hero__title { color: #fff; font-size: clamp(38px, 4.2vw, 62px); font-weight: 800; letter-spacing: -.035em; line-height: 1.03; margin: 0; }
.tg-content-page .tg-hero__text { color: #fff; font-size: 17px; font-weight: 400; line-height: 1.55; margin: 0; }
.tg-content-page .tg-hero .tg-eyebrow { margin-bottom: 0; }
.tg-content-page .tg-hero__media { min-height: 100%; }
.tg-content-page .tg-hero__media img { display: block; height: 100%; object-fit: cover; width: 100%; }
.tg-content-page .tg-hero__placeholder { background: linear-gradient(145deg, #dcecf5, #89b9d5); display: block; height: 100%; width: 100%; }
.tg-content-page .tg-button { align-items: center; background: var(--tg-yellow); border-radius: 999px; color: #000; display: inline-flex; font-size: 13px; font-weight: 800; justify-content: center; min-height: 52px; padding: 12px 26px; text-decoration: none; text-transform: uppercase; transition: background .2s, transform .2s; }
.tg-content-page .tg-button:hover,
.tg-content-page .tg-button:focus { background: #ffe85d; color: #000; transform: translateY(-1px); }
.tg-content-page .tg-section { padding: 72px 0; }
.tg-content-page .tg-section + .tg-section { border-top: 8px solid #f5f6f7; }
.tg-content-page .tg-section--soft { background: var(--tg-soft); border: 0; border-radius: var(--tg-radius); padding: 64px 48px; }
.tg-content-page .tg-section h2 { color: #344b5a; font-size: clamp(30px, 3vw, 44px); font-weight: 800; line-height: 1.15; margin: 0 0 28px; }
.tg-content-page.tg-content-page--about .tg-section h2,
.tg-content-page.tg-content-page--about .tg-card h3,
.tg-content-page.tg-content-page--services .tg-section h2,
.tg-content-page.tg-content-page--services .tg-service__toggle,
.tg-content-page.tg-content-page--services .tg-service__number { color: #344b5a; }
.tg-content-page .tg-prose { font-size: 17px; line-height: 1.65; max-width: 900px; }
.tg-content-page .tg-prose p { margin: 0 0 18px; }
.tg-content-page .tg-section__lead { color: #5a6d7b; font-size: 17px; margin: -14px 0 30px; }
.tg-content-page .tg-benefits { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 42px; }
.tg-content-page .tg-card { border: 1px solid var(--tg-border); border-radius: var(--tg-card-radius); min-width: 0; padding: 28px; }
.tg-content-page .tg-card__icon { align-items: center; background: linear-gradient(145deg, #eef9ff, #d8effc); border: 1px solid #cce7f7; border-radius: 14px; box-shadow: 0 8px 20px rgba(7, 114, 186, .12); color: var(--tg-blue); display: flex; height: 50px; justify-content: center; width: 50px; }
.tg-content-page .tg-card__icon svg { height: 25px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 25px; }
.tg-content-page .tg-card h3 { color: var(--tg-blue); font-size: 21px; font-weight: 800; margin: 20px 0 10px; }
.tg-content-page .tg-card p { line-height: 1.55; margin: 0; }
.tg-content-page .tg-story { align-items: stretch; display: grid; gap: 28px; grid-template-columns: 1.25fr .9fr; }
.tg-content-page--about .tg-section--soft {
    box-shadow: none;
    filter: none;
}
.tg-content-page--about .tg-section--soft + .tg-section { border-top: 0; }
.tg-content-page .tg-story__main,
.tg-content-page .tg-story__aside { border-radius: var(--tg-card-radius); padding: 32px; }
.tg-content-page .tg-story__main { background: #fff; border: 1px solid var(--tg-border); line-height: 1.6; }
.tg-content-page .tg-story__main p:first-child { margin-top: 0; }
.tg-content-page .tg-story__main p:last-child { margin-bottom: 0; }
.tg-content-page .tg-story__aside { align-items: flex-start; background: var(--tg-blue); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.tg-content-page .tg-story__aside h3,
.tg-content-page .tg-request h3 { color: #fff; font-size: 25px; font-weight: 800; margin: 0 0 14px; }
.tg-content-page .tg-story__aside p,
.tg-content-page .tg-request p { color: #fff; font-weight: 400; line-height: 1.55; margin: 0; }
.tg-content-page .tg-checklist { display: grid; gap: 16px 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.tg-content-page .tg-checklist li { padding: 12px 0 12px 35px; position: relative; }
.tg-content-page .tg-checklist li::before { border: 2px solid #58b4e8; border-radius: 50%; color: var(--tg-blue); content: '✓'; font-size: 11px; font-weight: 800; left: 0; line-height: 20px; position: absolute; text-align: center; top: 10px; width: 24px; }
.tg-content-page .tg-final { align-items: center; background: linear-gradient(125deg, var(--tg-blue-dark), var(--tg-blue)); border-radius: var(--tg-radius); color: #fff; display: flex; gap: 40px; justify-content: space-between; margin-top: 8px; padding: 40px 48px; }
.tg-content-page .tg-final h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.15; margin: 0 0 10px; }
.tg-content-page .tg-final p { color: #fff; font-weight: 400; margin: 0; }
.tg-content-page .tg-final .tg-button { flex: 0 0 auto; }
.tg-content-page .tg-services { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tg-content-page .tg-service { border: 1px solid var(--tg-border); border-radius: var(--tg-card-radius); overflow: hidden; }
.tg-content-page .tg-service__toggle { align-items: center; background: #fff; border: 0; color: var(--tg-blue); cursor: default; display: grid; font-size: 17px; font-weight: 800; gap: 14px; grid-template-columns: 42px 1fr auto; min-height: 72px; padding: 14px 20px; text-align: left; width: 100%; }
.tg-content-page .tg-service__number { align-items: center; background: #e8f6ff; border-radius: 11px; color: var(--tg-blue); display: flex; font-size: 13px; height: 42px; justify-content: center; }
.tg-content-page .tg-service__arrow { display: none; }
.tg-content-page .tg-service__description { display: block; padding: 0 22px 22px 76px; }
.tg-content-page .tg-service__description p { color: #526774; line-height: 1.55; margin: 0; }
.tg-content-page .tg-request { align-items: center; background: linear-gradient(125deg, var(--tg-blue-dark), var(--tg-blue)); border-radius: var(--tg-card-radius); display: flex; justify-content: space-between; margin-top: 24px; padding: 28px 34px; }
.tg-content-page .tg-stats { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 38px; }
.tg-content-page .tg-stats div { background: #fff; border: 1px solid var(--tg-border); border-radius: var(--tg-card-radius); padding: 24px; }
.tg-content-page .tg-stats strong { color: var(--tg-blue); display: block; font-size: 36px; margin-bottom: 8px; }
.tg-content-page .tg-stats span { line-height: 1.4; }

/* Страница обслуживания мероприятий */
.tg-content-page--events .tg-event-hero { background: linear-gradient(125deg, var(--tg-blue-dark), var(--tg-blue)); border-radius: var(--tg-radius) var(--tg-radius) 0 0; color: #fff; display: flex; flex-direction: column; height: 520px; justify-content: center; padding: 28px clamp(36px, 4vw, 56px); }
.tg-content-page--events .tg-event-hero__content { align-items: flex-start; display: flex; flex-direction: column; gap: var(--tg-hero-item-gap); }
.tg-content-page--events .tg-section + .tg-section { border-top: 0; }
.tg-content-page--events .tg-section--soft { border: 0; box-shadow: none; filter: none; }
.tg-content-page--events .tg-event-hero--with-image { display: grid; grid-template-columns: 44% 56%; overflow: hidden; padding: 0; }
.tg-content-page--events .tg-event-hero--with-image .tg-event-hero__content { align-items: flex-start; display: flex; flex-direction: column; gap: var(--tg-hero-item-gap); justify-content: center; padding: 28px clamp(36px, 4vw, 56px); }
.tg-event-hero__media { height: 520px; min-height: 0; }
.tg-event-hero__media img { display: block; height: 100%; object-fit: cover; width: 100%; }
.tg-content-page--events .tg-event-hero h1 { color: #fff; font-size: clamp(38px, 4.2vw, 62px); font-weight: 800; letter-spacing: -.035em; line-height: 1.03; margin: 0; max-width: 850px; }
.tg-content-page--events .tg-event-hero p { color: #fff; font-size: 17px; line-height: 1.55; margin: 0; max-width: 780px; }
.tg-event-actions { align-items: flex-start; display: flex; flex-direction: column; gap: 12px; }
.tg-event-quick-benefits { background: linear-gradient(125deg, var(--tg-blue-dark), var(--tg-blue)); border-radius: 0 0 var(--tg-card-radius) var(--tg-card-radius); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 0; overflow: hidden; }
.tg-event-quick-benefits:focus-visible { outline: 3px solid var(--tg-yellow); outline-offset: 4px; }
.tg-event-quick-benefits > div { align-items: center; color: #fff; display: flex; font-size: 14px; font-weight: 700; gap: 10px; line-height: 1.35; min-width: 0; padding: 22px 18px; }
.tg-event-quick-benefits > div + div { border-left: 1px solid rgba(255,255,255,.18); }
.tg-event-quick-benefits span { align-items: center; background: var(--tg-yellow); border-radius: 50%; color: var(--tg-text); display: inline-flex; flex: 0 0 28px; font-size: 17px; height: 28px; justify-content: center; }
.tg-content-page .tg-button--outline { background: transparent; border: 2px solid rgba(255,255,255,.8); color: #fff; }
.tg-content-page .tg-button--outline:hover { background: #fff; color: var(--tg-blue-dark); }
.tg-event-intro { align-items: end; display: grid; gap: 60px; grid-template-columns: 1fr 1fr; }
.tg-event-intro h2, .tg-event-heading h2 { margin-bottom: 0 !important; }
.tg-event-card-track { display: grid; gap: 18px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tg-event-card-track:focus-visible { outline: 3px solid var(--tg-yellow); outline-offset: 5px; }
.tg-event-card-track article { border: 1px solid var(--tg-border); border-radius: var(--tg-card-radius); min-width: 0; padding: 28px; }
.tg-event-card-track article > span { color: var(--tg-blue); font-size: 13px; font-weight: 800; }
.tg-event-card-track h3 { color: #344b5a; font-size: 20px; margin: 28px 0 10px; }
.tg-event-card-track p { color: #526774; line-height: 1.55; margin: 0; }
.tg-event-features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tg-event-features article { border: 1px solid #d7e4eb; border-radius: 20px; padding: 28px; }
.tg-event-features article > span { color: var(--tg-blue); font-size: 13px; font-weight: 800; }
.tg-event-features h3 { color: #344b5a; font-size: 20px; margin: 28px 0 10px; }
.tg-event-features p { color: #526774; line-height: 1.55; margin: 0; }
.tg-event-heading { align-items: end; display: flex; gap: 40px; justify-content: space-between; margin-bottom: 32px; }
.tg-event-heading > p { line-height: 1.55; margin: 0; max-width: 470px; }
.tg-event-management { background: linear-gradient(125deg, var(--tg-blue-dark), var(--tg-blue)); border-radius: var(--tg-radius); color: #fff; padding: 64px 48px !important; }
.tg-event-management__intro { align-items: end; display: grid; gap: 48px; grid-template-columns: 1.15fr .85fr; margin-bottom: 36px; }
.tg-event-management h2 { color: #fff !important; margin-bottom: 0 !important; }
.tg-event-management__intro > p { color: #fff; font-size: 18px; line-height: 1.6; margin: 0; }
.tg-event-management .tg-event-features article { background: #fff; }
.tg-event-fleet { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tg-event-fleet__card { border: 1px solid var(--tg-border); border-radius: var(--tg-card-radius); min-width: 0; overflow: hidden; }
.tg-event-fleet__media { aspect-ratio: 16 / 9; background: var(--tg-soft); }
.tg-event-fleet__media img { display: block; height: 100%; object-fit: contain; width: 100%; }
.tg-event-fleet__placeholder { align-items: center; color: #647986; display: flex; height: 100%; justify-content: center; padding: 24px; text-align: center; }
.tg-event-fleet__body { padding: 28px; }
.tg-event-fleet__body h3 { color: #344b5a; font-size: 25px; margin: 0 0 12px; }
.tg-event-fleet__body p { line-height: 1.55; margin: 0 0 24px; }
.tg-event-types { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.tg-event-types span { background: #fff; border: 1px solid var(--tg-border); border-radius: var(--tg-card-radius); font-weight: 700; padding: 22px; }
.tg-event-steps { counter-reset: steps; display: grid; gap: 18px; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0; padding: 0; }
.tg-event-steps:focus-visible { outline: 3px solid var(--tg-yellow); outline-offset: 5px; }
.tg-event-steps li { border-top: 3px solid var(--tg-yellow); display: flex; flex-direction: column; gap: 10px; padding: 24px 8px 0; }
.tg-event-steps strong { color: #344b5a; font-size: 19px; }
.tg-event-steps span { color: #526774; line-height: 1.5; }
.tg-event-bottom-photo { aspect-ratio: 16 / 6; border-radius: 22px; margin: 0 0 72px; overflow: hidden; }
.tg-event-bottom-photo img { display: block; height: 100%; object-fit: cover; width: 100%; }
.tg-event-risks { background: var(--tg-soft); border-radius: var(--tg-radius); padding: 64px 48px !important; }
.tg-event-risks__eyebrow { color: var(--tg-blue); display: block; font-size: 13px; font-weight: 800; letter-spacing: .16em; margin-bottom: 16px; text-transform: uppercase; }
.tg-event-risks > h2 { color: #263642 !important; font-size: clamp(36px, 4vw, 56px) !important; }
.tg-event-risks__cards { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 20px; }
.tg-event-risks__cards article { align-items: flex-start; background: #fff; border: 1px solid var(--tg-border); border-radius: var(--tg-card-radius); display: flex; gap: 20px; min-width: 0; padding: 28px; }
.tg-event-risks__cards article > span { align-items: center; background: #e7f2ff; border-radius: 14px; color: var(--tg-blue); display: flex; flex: 0 0 56px; font-size: 25px; height: 56px; justify-content: center; }
.tg-event-risks__cards h3 { color: #263642; font-size: 19px; line-height: 1.25; margin: 0 0 8px; }
.tg-event-risks__cards p { color: #526774; line-height: 1.5; margin: 0; }
.tg-event-risks__change { align-items: center; background: linear-gradient(125deg, var(--tg-blue-dark), var(--tg-blue)); border-radius: var(--tg-card-radius); color: #fff; display: grid; gap: 22px; grid-template-columns: auto 1fr auto; padding: 28px 30px; }
.tg-event-risks__change-icon { font-size: 44px; line-height: 1; }
.tg-event-risks__change h3 { color: #fff; font-size: 27px; margin: 0 0 6px; }
.tg-event-risks__change p { color: #fff; line-height: 1.5; margin: 0; }
.tg-event-risks__change .tg-button { background: var(--tg-yellow); color: #000; gap: 18px; white-space: nowrap; }
.tg-event-contact { align-items: center; background: linear-gradient(125deg, var(--tg-blue-dark), var(--tg-blue)); border-radius: var(--tg-radius); color: #fff; display: grid; gap: 50px; grid-template-columns: 1.25fr .75fr; padding: 48px; }
.tg-event-contact h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; margin: 0 0 10px; }
.tg-event-contact p { color: #fff; line-height: 1.55; }
.tg-event-contact > div > p { margin: 0 0 26px; max-width: 650px; }
.tg-event-contact aside { background: #fff; border-radius: 18px; color: var(--tg-text); display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.tg-event-contact aside > a { color: var(--tg-blue-dark); font-size: 17px; font-weight: 700; }
.tg-event-contact .tg-event-contact__phone { font-size: 25px; }
.tg-event-contact aside p { color: var(--tg-text); margin: 2px 0 10px; }
.tg-event-messengers { display: flex; flex-wrap: wrap; gap: 8px; }
.tg-event-messengers a { align-items: center; border: 1px solid #cbdce6; border-radius: 999px; color: var(--tg-text); display: inline-flex; font-size: 13px; font-weight: 700; gap: 7px; padding: 8px 11px; text-decoration: none; }
.tg-event-messengers span { align-items: center; background: var(--tg-blue); border-radius: 50%; color: #fff; display: inline-flex; font-size: 8px; height: 24px; justify-content: center; width: 24px; }

/* Страница контактов */
.tg-content-page--contacts .tg-section + .tg-section { border-top: 0; }
.tg-contacts-hero { align-items: stretch; background: linear-gradient(125deg,var(--tg-blue-dark),var(--tg-blue)); border-radius: var(--tg-radius); color: #fff; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); height: 520px; overflow: hidden; }
.tg-contacts-hero__content { align-items: flex-start; display: flex; flex-direction: column; gap: var(--tg-hero-item-gap); justify-content: center; padding: 56px; }
.tg-contacts-hero__content .tg-eyebrow { margin-bottom: 0; }
.tg-contacts-hero h1 { color: #fff; font-size: clamp(42px,5vw,64px); font-weight: 800; letter-spacing: -.035em; line-height: 1.03; margin: 0; }
.tg-contacts-hero__content > p { color: #fff; font-size: 18px; line-height: 1.6; margin: 0; max-width: 600px; }
.tg-contacts-hero__side { min-height: 0; min-width: 0; }
.tg-contacts-hero__side > img,.tg-contacts-hero__placeholder { display: block; height: 100%; object-fit: cover; width: 100%; }
.tg-contacts-hero__placeholder { background: linear-gradient(145deg,#dcecf5,#89b9d5); }
.tg-contact-cards { display: grid; gap: 20px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.tg-contact-cards article { border: 1px solid var(--tg-border); border-radius: var(--tg-card-radius); min-width: 0; padding: 30px; }
.tg-contact-cards__icon { align-items: center; background: #e7f4fc; border-radius: 14px; color: var(--tg-blue); display: flex; font-size: 22px; font-weight: 800; height: 52px; justify-content: center; width: 52px; }
.tg-contact-cards__icon--max { font-size: 11px; }
.tg-contact-cards h3 { color: #344b5a; font-size: 21px; margin: 22px 0 12px; }
.tg-contact-cards a { color: var(--tg-blue-dark); display: inline-block; font-size: 19px; font-weight: 800; max-width: 100%; overflow-wrap: anywhere; text-decoration: none; }
.tg-contact-cards p { color: var(--tg-muted); margin: 9px 0 0; }
.tg-contacts-split { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; padding: 0 0 72px; }
.tg-contacts-panel { border: 1px solid var(--tg-border); border-radius: var(--tg-radius); min-width: 0; padding: 42px; }
.tg-contacts-panel--blue { background: linear-gradient(125deg,var(--tg-blue-dark),var(--tg-blue)); border: 0; color: #fff; }
.tg-contacts-panel h2 { color: #344b5a; font-size: clamp(27px,2.6vw,36px); line-height: 1.18; margin: 0 0 18px; }
.tg-contacts-panel--blue h2,.tg-contacts-panel--blue p { color: #fff; }
.tg-contacts-panel p { line-height: 1.55; margin: 0 0 26px; }
.tg-contacts-panel .tg-button { max-width: 100%; text-align: center; }
.tg-contacts-panel__label { color: var(--tg-blue); display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; margin-bottom: 18px; text-transform: uppercase; }
.tg-contacts-panel dl { margin: 0 0 26px; }
.tg-contacts-panel dt { color: var(--tg-muted); font-size: 13px; margin-top: 14px; }
.tg-contacts-panel dd { font-size: 17px; font-weight: 700; margin: 3px 0 0; }
.tg-contacts-link { color: var(--tg-blue-dark); font-weight: 800; text-decoration: none; }
.tg-contacts-link span { margin-left: 7px; }

@media (max-width: 767px) {
    .tg-content-page { margin-top: 64px; padding: 16px 0 40px; }
    .tg-content-page__container,
    .tg-content-page__admin { padding: 0 12px; }
    .tg-content-page .tg-hero { display: flex; flex-direction: column; height: auto; min-height: 0; }
    .tg-content-page .tg-hero__media { height: 230px; order: -1; }
    .tg-content-page .tg-hero__content { padding: 30px 22px 34px; }
    .tg-content-page .tg-eyebrow { margin-bottom: 16px; }
    .tg-content-page .tg-hero__title { font-size: clamp(34px, 10vw, 44px); }
    .tg-content-page .tg-hero__text { font-size: 15px; }
    .tg-content-page .tg-hero .tg-button { width: 100%; }
    .tg-content-page .tg-section { padding: 46px 0; }
    .tg-content-page .tg-section--soft { border-radius: 18px; padding: 42px 18px; }
    .tg-content-page .tg-section h2 { font-size: 29px; }
    .tg-content-page .tg-benefits { display: flex; gap: 12px; margin-left: -12px; margin-right: -12px; overflow-x: auto; padding: 0 12px 12px; scroll-snap-type: x mandatory; }
    .tg-content-page .tg-card { flex: 0 0 82vw; scroll-snap-align: start; }
    .tg-content-page .tg-story { grid-template-columns: 1fr; }
    .tg-content-page .tg-story__main,
    .tg-content-page .tg-story__aside { padding: 24px 20px; }
    .tg-content-page .tg-checklist { grid-template-columns: 1fr; }
    .tg-content-page .tg-final { align-items: stretch; flex-direction: column; padding: 32px 22px; }
    .tg-content-page .tg-final .tg-button { width: 100%; }
    .tg-content-page .tg-services { grid-template-columns: 1fr; }
    .tg-content-page .tg-service__toggle { cursor: pointer; font-size: 15px; grid-template-columns: 38px 1fr auto; min-height: 56px; padding: 9px 12px; }
    .tg-content-page .tg-service__number { height: 38px; }
    .tg-content-page .tg-service__arrow { background: #e8f6ff; border: 1px solid #cde8f7; border-radius: 50%; display: block; height: 32px; position: relative; transition: background .2s, transform .25s ease; width: 32px; }
    .tg-content-page .tg-service__arrow::before { border-bottom: 2px solid var(--tg-blue); border-right: 2px solid var(--tg-blue); content: ''; height: 7px; left: 10px; position: absolute; top: 9px; transform: rotate(45deg); width: 7px; }
    .tg-content-page .tg-service__toggle[aria-expanded="true"] .tg-service__arrow { background: var(--tg-blue); transform: rotate(180deg); }
    .tg-content-page .tg-service__toggle[aria-expanded="true"] .tg-service__arrow::before { border-color: #fff; }
    .tg-content-page .tg-service__description { display: none; padding: 4px 16px 20px 64px; }
    .tg-content-page .tg-service__toggle[aria-expanded="true"] + .tg-service__description { display: block; }
    .tg-content-page .tg-request { align-items: stretch; flex-direction: column; gap: 22px; padding: 26px 20px; }
    .tg-content-page .tg-request .tg-button { width: 100%; }
    .tg-content-page .tg-stats { grid-template-columns: 1fr; }
    .tg-content-page--events .tg-event-hero { height: auto; padding: 38px 22px 30px; }
    .tg-content-page--events .tg-event-hero--with-image { display: flex; flex-direction: column; padding: 0; }
    .tg-content-page--events .tg-event-hero--with-image .tg-event-hero__content { padding: 32px 22px 38px; }
    .tg-event-hero__media { height: 230px; min-height: 0; order: -1; }
    .tg-content-page--events .tg-event-hero h1 { font-size: 39px; }
    .tg-event-actions, .tg-event-actions .tg-button { width: 100%; }
    .tg-event-quick-benefits { display: flex; overflow-x: auto; overscroll-behavior-inline: contain; padding: 0 12px; scroll-padding-left: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
    .tg-event-quick-benefits > div { flex: 0 0 calc(100vw - 72px); min-height: 82px; padding: 18px; scroll-snap-align: start; }
    .tg-event-quick-benefits > div + div { border-left: 0; }
    .tg-event-contact, .tg-event-management__intro { grid-template-columns: 1fr; gap: 26px; }
    .tg-event-fleet, .tg-event-types { grid-template-columns: 1fr; }
    .tg-event-card-track { display: flex; gap: 12px; margin-left: -12px; margin-right: -12px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 0 12px 14px; scroll-padding-left: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
    .tg-event-card-track article { flex: 0 0 calc(100vw - 58px); scroll-snap-align: start; }
    .tg-event-management { border-radius: 18px; padding: 42px 18px !important; }
    .tg-event-management .tg-event-card-track { margin-left: 0; margin-right: 0; padding-left: 0; scroll-padding-left: 0; }
    .tg-event-management .tg-event-card-track article { flex-basis: calc(100vw - 82px); }
    .tg-event-steps { display: flex; gap: 12px; margin-left: -12px; margin-right: -12px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 0 12px 14px; scroll-padding-left: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
    .tg-event-steps li { background: #fff; border: 1px solid #d7e4eb; border-top: 3px solid var(--tg-yellow); border-radius: 0 0 16px 16px; flex: 0 0 calc(100vw - 58px); min-height: 180px; padding: 24px; scroll-snap-align: start; }
    .tg-event-heading { align-items: flex-start; flex-direction: column; }
    .tg-event-fleet__body { padding: 22px; }
    .tg-event-fleet__body .tg-button { width: 100%; }
    .tg-event-bottom-photo { aspect-ratio: 16 / 9; margin-bottom: 46px; }
    .tg-event-risks { padding: 42px 18px !important; }
    .tg-event-risks__cards { grid-template-columns: 1fr; }
    .tg-event-risks__cards article { gap: 14px; padding: 22px 18px; }
    .tg-event-risks__cards article > span { flex-basis: 48px; height: 48px; }
    .tg-event-risks__change { grid-template-columns: auto 1fr; padding: 26px 20px; }
    .tg-event-risks__change-icon { font-size: 34px; }
    .tg-event-risks__change h3 { font-size: 23px; }
    .tg-event-risks__change .tg-button { grid-column: 1 / -1; width: 100%; }
    .tg-event-contact { padding: 32px 22px; }
    .tg-event-contact > div > .tg-button { width: 100%; }
    .tg-event-messengers { flex-wrap: nowrap; }
    .tg-event-messengers a { flex: 1 1 0; font-size: 0; justify-content: center; min-width: 0; padding-left: 6px; padding-right: 6px; }
    .tg-event-messengers span { flex: 0 0 24px; font-size: 8px; }
    .tg-contacts-hero { display: flex; flex-direction: column; height: auto; min-height: 0; }
    .tg-contacts-hero__content { padding: 34px 22px; }
    .tg-contacts-hero h1 { font-size: 42px; }
    .tg-contacts-hero__content > p { font-size: 16px; }
    .tg-contacts-hero__content,.tg-contacts-hero .tg-button { width: 100%; }
    .tg-contacts-hero__side { min-height: 230px; order: -1; width: 100%; }
    .tg-contacts-hero__side > img,.tg-contacts-hero__placeholder { height: 230px; }
    .tg-contact-cards,.tg-contacts-split { grid-template-columns: 1fr; }
    .tg-contact-cards article { padding: 24px 20px; }
    .tg-contacts-split { padding-bottom: 46px; }
    .tg-contacts-panel { padding: 32px 22px; }
    .tg-contacts-panel .tg-button { font-size: 12px; overflow-wrap: anywhere; width: 100%; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .tg-content-page .tg-hero { grid-template-columns: 1fr 1fr; }
    .tg-content-page .tg-hero__content { padding: 38px; }
    .tg-content-page .tg-hero__title { font-size: 43px; }
    .tg-contacts-hero__content { padding: 40px; }
    .tg-contact-cards { gap: 14px; }
    .tg-contact-cards article { padding: 22px; }
    .tg-contact-cards a { font-size: 16px; }
    .tg-contacts-panel { padding: 32px; }
}

@media (max-width: 360px) {
    .tg-content-page .tg-hero__media { height: 200px; }
    .tg-content-page .tg-hero__content { padding-left: 18px; padding-right: 18px; }
    .tg-content-page .tg-card { flex-basis: 87vw; }
}

/* B2B: страница для юридических лиц */
.tg-content-page--b2b .tg-section + .tg-section { border-top: 0; }
.tg-content-page--b2b .tg-section { padding-bottom: 64px; padding-top: 64px; }
.tg-content-page--b2b .tg-hero__title { font-size: clamp(36px,3.35vw,48px); white-space: nowrap; }
.tg-content-page--b2b .tg-hero__text { margin-bottom: 16px; }
.tg-b2b-cards { display: grid; gap: 18px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.tg-b2b-cards article,.tg-b2b-terms article,.tg-b2b-steps article { border: 1px solid var(--tg-border); border-radius: var(--tg-card-radius); min-width: 0; padding: 28px; }
.tg-b2b-cards article>span,.tg-b2b-steps article>span { color: var(--tg-blue); font-size: 13px; font-weight: 800; }
.tg-b2b-cards h3,.tg-b2b-terms h3,.tg-b2b-steps h3,.tg-b2b-fleet h3 { color: #344b5a; font-size: 20px; line-height: 1.25; margin: 24px 0 10px; }
.tg-b2b-cards p,.tg-b2b-terms p,.tg-b2b-steps p { color: #526774; margin: 0; }
.tg-b2b-terms { display: grid; gap: 18px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.tg-b2b-terms article { background: #fff; }
.tg-b2b-terms h3 { margin-top: 0; }
.tg-b2b-management { background: linear-gradient(125deg,var(--tg-blue-dark),var(--tg-blue)); border-radius: var(--tg-radius); color: #fff; padding: 64px 48px!important; }
.tg-b2b-heading { align-items: end; display: grid; gap: 48px; grid-template-columns: 1.15fr .85fr; margin-bottom: 36px; }
.tg-content-page--b2b .tg-b2b-management h2,.tg-b2b-heading>p { color: #fff; margin-bottom: 0; }
.tg-b2b-management .tg-b2b-cards article { background: #fff; }
.tg-b2b-fleet__heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 28px; }
.tg-b2b-fleet__heading h2 { margin-bottom: 0!important; max-width: 850px; }
.tg-b2b-fleet__arrows { display: flex; gap: 10px; }
.tg-b2b-fleet__arrows button { align-items: center; background: #fff; border: 1px solid var(--tg-border); border-radius: 50%; color: var(--tg-blue); cursor: pointer; display: flex; font-size: 0; height: 48px; justify-content: center; padding: 0; width: 48px; }
.tg-b2b-fleet__arrows button::before { background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath d='M19 7H1M7 1 1 7l6 6' fill='none' stroke='%230772ba' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); content: ''; display: block; height: 14px; width: 20px; }
.tg-b2b-fleet__arrows button[data-fleet-next]::before { transform: rotate(180deg); }
.tg-b2b-fleet__slider { display: flex; gap: 18px; margin: 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tg-b2b-fleet__slider.slick-initialized { display: block; margin: 0; overflow: hidden; }
.tg-b2b-fleet__slider .slick-list { overflow: hidden; }
.tg-b2b-fleet__slider .slick-track { display: flex; }
.tg-b2b-fleet__slider article { border: 1px solid var(--tg-border); border-radius: var(--tg-card-radius); flex: 0 0 calc((100% - 36px)/3); min-width: 0; overflow: hidden; scroll-snap-align: start; }
.tg-b2b-fleet__slider.slick-initialized article { flex-basis: auto; margin: 0; }
.tg-b2b-fleet__media { align-items: center; aspect-ratio: 4/3; background: var(--tg-soft); display: flex; justify-content: center; overflow: hidden; }
.tg-b2b-fleet__media img { display: block; height: 100%; object-fit: contain; width: 100%; }
.tg-b2b-fleet__media>span { color: #647986; padding: 20px; text-align: center; }
.tg-b2b-fleet__body { padding: 22px 24px 26px; }
.tg-b2b-fleet__body>span { color: var(--tg-blue); font-size: 13px; font-weight: 800; }
.tg-b2b-fleet__body h3 { margin: 8px 0 0; }
.tg-b2b-steps { display: grid; gap: 18px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.tg-b2b-steps article { border-top: 3px solid var(--tg-yellow); }
.tg-b2b-fleet + .tg-section { padding-top: 0; }
.tg-b2b-process-photo { aspect-ratio: 16/9; border-radius: var(--tg-radius); margin: 0 0 72px; overflow: hidden; }
.tg-b2b-process-photo img { display: block; height: 100%; object-fit: cover; width: 100%; }
.tg-content-page--b2b .tg-event-contact { scroll-margin-top: 20px; }
@media(max-width:767px){
 .tg-content-page--b2b .tg-section { padding-bottom:46px; padding-top:46px; }
 .tg-content-page--b2b .tg-hero__title { font-size:clamp(28px,8.2vw,36px); white-space:nowrap; }
 .tg-b2b-cards,.tg-b2b-steps { display:flex; gap:12px; margin-left:-12px; margin-right:-12px; overflow-x:auto; padding:0 12px 14px; scroll-snap-type:x mandatory; }
 .tg-b2b-cards article,.tg-b2b-steps article { flex:0 0 calc(100vw - 58px); scroll-snap-align:start; }
 .tg-b2b-terms { grid-template-columns:1fr; }
 .tg-b2b-management { padding:42px 18px!important; }
 .tg-b2b-heading { align-items:start; grid-template-columns:1fr; gap:18px; }
 .tg-b2b-management .tg-b2b-cards { margin-left:0;margin-right:0;padding-left:0; }
 .tg-b2b-management .tg-b2b-cards article { flex-basis:calc(100vw - 82px); }
 .tg-b2b-fleet__heading { align-items:flex-start; flex-direction:column; gap:20px; }
 .tg-b2b-fleet__arrows { align-self:flex-end; }
 .tg-b2b-fleet__slider article { flex-basis:100%; }
 .tg-b2b-process-photo { margin-bottom:46px; }
}
@media(min-width:768px) and (max-width:1024px){.tg-b2b-fleet__slider article{flex-basis:calc((100% - 18px)/2)}}

/* Страница «Агентам»: дополнения изолированы модификатором страницы. */
.tg-content-page--agents { overflow-x: clip; }
.tg-content-page--agents .tg-hero { border-radius: var(--tg-radius) var(--tg-radius) 0 0; }
.tg-content-page--agents .tg-section,
.tg-content-page--agents .tg-section + .tg-section { border-top: 0; padding-bottom: 72px; padding-top: 72px; }
.tg-content-page--agents .tg-hero__title { font-size: clamp(36px, 3.6vw, 52px); }
.tg-content-page--agents .tg-agents-quick { border-radius: 0 0 var(--tg-card-radius) var(--tg-card-radius); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tg-content-page--agents .tg-agents-quick strong { color: #fff; line-height: 1.35; }
.tg-content-page--agents .tg-b2b-management h2 { color: #fff; }
.tg-content-page--agents .tg-b2b-management .tg-b2b-heading { align-items: start; }
.tg-content-page--agents .tg-agents-management__intro { padding-top: 4px; }
.tg-content-page--agents .tg-agents-management__intro strong { color: var(--tg-yellow); display: block; font-size: 13px; letter-spacing: .08em; margin-bottom: 14px; text-transform: uppercase; }
.tg-content-page--agents .tg-agents-management__intro p { color: #fff; font-size: 18px; line-height: 1.6; margin: 0; }
.tg-content-page--agents .tg-b2b-cards h3 { margin-top: 0; }
.tg-content-page--agents .tg-b2b-management .tg-b2b-cards h3 { margin-top: 0; }
.tg-content-page--agents .tg-b2b-fleet__body p { color: var(--tg-muted); line-height: 1.5; margin: 10px 0 0; }
.tg-content-page--agents .tg-agents-fleet-link { color: var(--tg-blue-dark); display: inline-flex; font-weight: 800; margin-top: 26px; text-decoration: none; }
.tg-content-page--agents .tg-event-contact { margin-top: 0; }
.tg-content-page--agents .tg-b2b-fleet { padding-top: 0; }

@media(max-width:767px) {
 .tg-content-page--agents .tg-section { padding-bottom: 46px; padding-top: 46px; }
 .tg-content-page--agents .tg-hero__title { font-size: clamp(32px, 10vw, 42px); overflow-wrap: anywhere; }
 .tg-content-page--agents .tg-agents-quick { display: flex; grid-template-columns: none; }
 .tg-content-page--agents .tg-agents-management__intro { padding-top: 0; }
 .tg-content-page--agents .tg-b2b-fleet__slider:not(.slick-initialized) article { flex-basis: 86%; }
 .tg-content-page--agents .tg-agents-fleet-link { margin-top: 20px; }
}

/* Страница «Стать перевозчиком». */
.tg-content-page--carrier { overflow-x: clip; }
.tg-content-page--carrier .tg-section,
.tg-content-page--carrier .tg-section + .tg-section { border-top: 0; padding-bottom: 64px; padding-top: 64px; }
.tg-content-page--carrier .tg-hero__title { font-size: clamp(36px,3.35vw,48px); }
.tg-content-page--carrier .tg-hero__media picture { display: block; height: 100%; }
.tg-carrier-tools { display: grid; gap: 18px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.tg-carrier-tools .tg-card { display: flex; flex-direction: column; min-height: 250px; }
.tg-carrier-tools .tg-card p { color: var(--tg-muted); }
.tg-card__icon--bell::before { content: '●'; font-size: 18px; }
.tg-card__icon--route::before { content: '↗'; font-size: 25px; font-weight: 800; }
.tg-card__icon--car::before { content: '◆'; font-size: 17px; }
.tg-carrier-steps { display: grid; gap: 18px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.tg-carrier-steps article { background: #fff; border: 1px solid var(--tg-border); border-top: 3px solid var(--tg-yellow); border-radius: var(--tg-card-radius); min-height: 150px; padding: 28px; }
.tg-carrier-steps article > span { color: var(--tg-blue); font-size: 13px; font-weight: 800; }
.tg-carrier-steps h3 { color: #344b5a; font-size: 20px; line-height: 1.25; margin: 28px 0 0; }
.tg-carrier-requirements { counter-reset: carrier-requirement; display: grid; grid-auto-flow: column; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(5,auto); gap: 0 48px; list-style: none; margin: 0; padding: 0; }
.tg-carrier-requirements li { align-items: flex-start; border-bottom: 1px solid var(--tg-border); display: flex; font-weight: 700; gap: 16px; line-height: 1.45; min-width: 0; padding: 18px 0; }
.tg-carrier-requirements li::before { align-items: center; background: #e8f6ff; border-radius: 50%; color: var(--tg-blue); content: counter(carrier-requirement); counter-increment: carrier-requirement; display: inline-flex; flex: 0 0 32px; font-size: 12px; font-weight: 800; height: 32px; justify-content: center; }
.tg-carrier-contact { align-items: stretch; background: linear-gradient(125deg,var(--tg-blue-dark),var(--tg-blue)); border-radius: var(--tg-radius); color: #fff; display: grid; gap: 48px; grid-template-columns: 1.15fr .85fr; padding: 48px; scroll-margin-top: 20px; }
.tg-carrier-contact h2 { color: #fff; font-size: clamp(28px,3vw,40px); line-height: 1.15; margin: 0 0 16px; }
.tg-carrier-contact p { color: #fff; line-height: 1.55; margin: 0 0 26px; }
.tg-carrier-contact .tg-button { cursor: pointer; position: relative; z-index: 1; }
.tg-carrier-contact__email { color: #fff; display: inline-block; font-weight: 700; margin-left: 18px; text-decoration: underline; }
.tg-carrier-contact aside { background: #fff; border-radius: var(--tg-card-radius); color: var(--tg-text); padding: 30px; }
.tg-carrier-contact aside h3 { color: #344b5a; font-size: 22px; margin: 0 0 18px; }
.tg-carrier-contact aside ul { list-style: none; margin: 0; padding: 0; }
.tg-carrier-contact aside li { font-weight: 700; padding: 9px 0 9px 25px; position: relative; }
.tg-carrier-contact aside li::before { color: var(--tg-blue); content: '✓'; font-weight: 800; left: 0; position: absolute; }
.tg-carrier-email-dialog { border: 0; border-radius: var(--tg-card-radius); box-shadow: 0 24px 70px rgba(17,45,62,.3); color: var(--tg-text); max-width: 520px; padding: 36px; width: calc(100% - 32px); }
.tg-carrier-email-dialog::backdrop { background: rgba(20,42,55,.58); }
.tg-carrier-email-dialog h2 { color: #344b5a; font-size: 30px; margin: 0 36px 12px 0; }
.tg-carrier-email-dialog p { color: var(--tg-muted); margin: 0 0 24px; }
.tg-carrier-email-dialog__close { background: transparent; border: 0; color: var(--tg-muted); cursor: pointer; font-size: 32px; line-height: 1; padding: 4px; position: absolute; right: 18px; top: 14px; }
.tg-carrier-email-dialog__actions { display: grid; gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.tg-carrier-email-dialog__actions a { align-items: center; border: 1px solid var(--tg-border); border-radius: 999px; color: var(--tg-blue-dark); display: flex; font-size: 14px; font-weight: 800; justify-content: center; min-height: 48px; padding: 10px 16px; text-align: center; text-decoration: none; }
.tg-carrier-email-dialog__actions a:hover,.tg-carrier-email-dialog__actions a:focus { background: var(--tg-soft); color: var(--tg-blue-dark); }

@media(max-width:767px) {
 .tg-content-page--carrier .tg-section { padding-bottom:46px; padding-top:46px; }
 .tg-content-page--carrier .tg-hero__title { font-size:clamp(32px,10vw,42px); overflow-wrap:anywhere; }
 .tg-carrier-tools { grid-template-columns:1fr; }
 .tg-carrier-tools .tg-card { min-height:0; }
 .tg-carrier-steps { grid-template-columns:1fr; }
 .tg-carrier-steps article { min-height:0; }
 .tg-carrier-requirements { display:block; }
 .tg-carrier-requirements li { padding:16px 0; }
 .tg-carrier-contact { gap:26px; grid-template-columns:1fr; padding:32px 22px; }
 .tg-carrier-contact .tg-button { width:100%; }
 .tg-carrier-contact__email { display:block; margin:16px 0 0; text-align:center; overflow-wrap:anywhere; }
 .tg-carrier-contact aside { padding:24px 20px; }
 .tg-carrier-email-dialog__actions { grid-template-columns:1fr; }
}

/* Единая композиция первого экрана для всех новых страниц меню. */
@media (min-width: 768px) {
 .tg-content-page .tg-hero__content,
 .tg-content-page--events .tg-event-hero__content,
 .tg-contacts-hero__content { justify-content: space-between; padding-bottom: 40px; padding-top: 40px; }

 .tg-content-page .tg-hero__title,
 .tg-content-page--events .tg-event-hero h1,
 .tg-contacts-hero h1 { font-family: inherit; font-size: clamp(40px,3.35vw,48px); font-weight: 800; line-height: 1.03; }
}

.tg-content-page .tg-hero .tg-eyebrow,
.tg-content-page--events .tg-event-hero .tg-eyebrow,
.tg-contacts-hero__content .tg-eyebrow {
 background: #e8f6ff;
 border: 1px solid rgba(255,255,255,.72);
 color: var(--tg-blue-dark);
 margin-bottom: 0;
}

.tg-content-page--b2b .tg-hero__text { margin-bottom: 0; }

@media (max-width: 767px) {
 .tg-content-page { --tg-hero-item-gap: 20px; }
 .tg-content-page .tg-hero .tg-eyebrow,
 .tg-content-page--events .tg-event-hero .tg-eyebrow,
 .tg-contacts-hero__content .tg-eyebrow { margin-bottom: 0; }
 .tg-content-page .tg-hero__title,
 .tg-content-page--events .tg-event-hero h1,
 .tg-contacts-hero h1,
 .tg-content-page--b2b .tg-hero__title,
 .tg-content-page--agents .tg-hero__title,
 .tg-content-page--carrier .tg-hero__title { font-family: inherit; font-size: clamp(32px,10vw,40px); font-weight: 800; line-height: 1.03; }
}

/* Единый шаблон простых текстовых страниц */
.tg-content-page--text {
    background: #fff;
    min-width: 0;
}
.tg-content-page--text .tg-text-page {
    background: var(--tg-soft);
    border-radius: var(--tg-radius);
    overflow: hidden;
}
.tg-content-page--text .tg-text-page__header {
    background: linear-gradient(125deg, #055488, var(--tg-blue));
    padding: 52px 48px;
}
.tg-content-page--text .tg-text-page__header h1 {
    color: #fff;
    font-size: clamp(36px, 4.2vw, 56px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
    margin: 0;
    max-width: 960px;
    overflow-wrap: anywhere;
}
.tg-content-page--text .tg-text-page__body {
    background: #fff;
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-card-radius);
    font-size: 17px;
    line-height: 1.65;
    margin: 32px;
    max-width: 920px;
    overflow-wrap: anywhere;
    padding: 42px 48px;
}
.tg-content-page--text .tg-text-page__body > :first-child { margin-top: 0; }
.tg-content-page--text .tg-text-page__body > :last-child { margin-bottom: 0; }
.tg-content-page--text .tg-text-page__body h2,
.tg-content-page--text .tg-text-page__body h3,
.tg-content-page--text .tg-text-page__body h4,
.tg-content-page--text .tg-text-page__body h5,
.tg-content-page--text .tg-text-page__body h6 {
    color: #344b5a;
    font-weight: 800;
    line-height: 1.2;
}
.tg-content-page--text .tg-text-page__body h2 { font-size: clamp(27px, 3vw, 38px); margin: 48px 0 20px; }
.tg-content-page--text .tg-text-page__body h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 36px 0 16px; }
.tg-content-page--text .tg-text-page__body h4,
.tg-content-page--text .tg-text-page__body h5,
.tg-content-page--text .tg-text-page__body h6 { font-size: 19px; margin: 28px 0 12px; }
.tg-content-page--text .tg-text-page__body p { margin: 0 0 20px; }
.tg-content-page--text .tg-text-page__body ul,
.tg-content-page--text .tg-text-page__body ol { margin: 0 0 24px; padding-left: 28px; }
.tg-content-page--text .tg-text-page__body li { margin: 9px 0; padding-left: 5px; }
.tg-content-page--text .tg-text-page__body li::marker { color: var(--tg-blue); font-weight: 800; }
.tg-content-page--text .tg-text-page__body a { color: var(--tg-blue-dark); font-weight: 700; text-decoration-color: rgba(5, 84, 136, .35); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.tg-content-page--text .tg-text-page__body a:hover,
.tg-content-page--text .tg-text-page__body a:focus { color: var(--tg-blue); text-decoration-color: currentColor; }
.tg-content-page--text .tg-text-page__body img { height: auto; max-width: 100%; }
.tg-content-page--text .tg-text-page__body blockquote {
    background: #edf7fc;
    border-left: 4px solid var(--tg-blue);
    border-radius: 0 var(--tg-card-radius) var(--tg-card-radius) 0;
    margin: 28px 0;
    padding: 22px 26px;
}
.tg-content-page--text .tg-text-page__body hr { border: 0; border-top: 1px solid var(--tg-border); margin: 36px 0; }
.tg-content-page--text .tg-text-page__body table { border-collapse: separate; border-spacing: 0; display: block; margin: 28px 0; max-width: 100%; overflow-x: auto; width: max-content; }
.tg-content-page--text .tg-text-page__body th,
.tg-content-page--text .tg-text-page__body td { border-bottom: 1px solid var(--tg-border); min-width: 140px; padding: 14px 16px; text-align: left; vertical-align: top; }
.tg-content-page--text .tg-text-page__body th { background: #e7f4fc; color: #344b5a; font-weight: 800; }
.tg-content-page--text .tg-text-page__body button,
.tg-content-page--text .tg-text-page__body input[type="button"],
.tg-content-page--text .tg-text-page__body input[type="submit"],
.tg-content-page--text .tg-text-page__body .button {
    background: var(--tg-yellow);
    border: 0;
    border-radius: 999px;
    color: #000;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    min-height: 48px;
    padding: 14px 24px;
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.tg-content-page--text .tg-text-page__body button:hover,
.tg-content-page--text .tg-text-page__body input[type="button"]:hover,
.tg-content-page--text .tg-text-page__body input[type="submit"]:hover,
.tg-content-page--text .tg-text-page__body .button:hover { background: #ffe85d; color: #000; transform: translateY(-1px); }
.tg-content-page--text .tg-text-page__body input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.tg-content-page--text .tg-text-page__body select,
.tg-content-page--text .tg-text-page__body textarea {
    border: 1px solid #bfd2dd;
    border-radius: 12px;
    font: inherit;
    max-width: 100%;
    min-height: 48px;
    padding: 10px 14px;
}
.tg-content-page--text .tg-text-page__body details { border: 1px solid var(--tg-border); border-radius: var(--tg-card-radius); margin: 12px 0; padding: 0 22px; }
.tg-content-page--text .tg-text-page__body summary { color: #344b5a; cursor: pointer; font-weight: 800; padding: 20px 30px 20px 0; }

/* Города используют тот же контейнер и типографику, сохраняя фильтр и ссылки. */
.tg-content-page--text .cities { margin-bottom: 36px; }
.tg-content-page--text .cities-page .cities .head { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; height: auto; justify-content: flex-start; margin: 0 0 24px; }
.tg-content-page--text .cities-page .cities .head > div { align-items: center; background: #e7f4fc; border: 1px solid #cde5f2; border-radius: 10px; color: var(--tg-blue-dark); cursor: pointer; display: flex; flex: 0 0 42px; font-weight: 800; height: 42px; justify-content: center; margin: 0; transition: background .2s, color .2s; width: 42px; }
.tg-content-page--text .cities-page .cities .head > div:hover,
.tg-content-page--text .cities-page .cities .head > div.active { background: var(--tg-blue); color: #fff; }
.tg-content-page--text .cities-page .cities .body { display: grid; gap: 10px 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.tg-content-page--text .cities-page .cities .body a { background: #f5f9fb; border-radius: 10px; box-sizing: border-box; display: block; margin: 0; min-width: 0; overflow-wrap: anywhere; padding: 11px 14px; width: 100%; }
.tg-content-page--text .cities-page .content { margin-top: 36px; }

@media (max-width: 767px) {
    .tg-content-page--text .tg-text-page { border-radius: 18px; }
    .tg-content-page--text .tg-text-page__header { padding: 34px 22px; }
    .tg-content-page--text .tg-text-page__header h1 { font-size: clamp(32px, 10vw, 42px); }
    .tg-content-page--text .tg-text-page__body { font-size: 16px; margin: 12px; padding: 28px 18px; }
    .tg-content-page--text .tg-text-page__body h2 { margin-top: 38px; }
    .tg-content-page--text .tg-text-page__body h3 { margin-top: 30px; }
    .tg-content-page--text .tg-text-page__body button,
    .tg-content-page--text .tg-text-page__body input[type="button"],
    .tg-content-page--text .tg-text-page__body input[type="submit"],
    .tg-content-page--text .tg-text-page__body .button { min-height: 48px; width: 100%; }
    .tg-content-page--text .cities-page .cities .body { grid-template-columns: 1fr; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .tg-content-page--text .tg-text-page__header { padding: 46px 40px; }
    .tg-content-page--text .tg-text-page__body { margin: 24px; padding: 36px 40px; }
    .tg-content-page--text .cities-page .cities .body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
