/* VEDI TOUR GROUP поверх шаблону Tripvana: шрифти, кольори, фото. Підключається після CSS шаблону.
   Джерело кольорів і шрифтів — code/brand/tokens.css, fonts.css (брендбук). */
@font-face { font-family: "VT DIN"; src: url("fonts/din-next-w1g-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "VT DIN"; src: url("fonts/din-next-w1g-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "VT DIN"; src: url("fonts/din-next-w1g-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "VT DIN"; src: url("fonts/din-next-w1g-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "VT Helvetica"; src: url("fonts/helvetica-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "VT Helvetica"; src: url("fonts/helvetica-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "VT Helvetica"; src: url("fonts/helvetica-oblique.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* кольори шаблону → бренд */
  /* кольори (Настя, 2026-11-27): фони, плашки, кнопки — синій щита з брендбуку; тексти — темно-синій.
     Тексти шаблону перефарбовує згенерований text-color.css (tools/text_color_css.py) */
  --091733: #0054a6;   /* темно-синій шаблону → синій щита: фони, плашки, кнопки */
  --122242: #00468b;   /* темні картки на синьому фоні → темніший відтінок синього */
  --vt-text: #174579;  /* тексти й заголовки — темно-синій бренду */
  /* заокруглення (Настя, 2026-11-27: менші по всьому сайту; було 25 / 20 / 15 px). Шаблон — через radius.css */
  --vt-r-panel: 20px;  /* великі панелі: сині секції, футер */
  --vt-r-card: 12px;   /* картки й фото карток */
  --vt-r-inner: 8px;   /* фото всередині карток */
  --a0f751: #08ade8;   /* лаймовий акцент → блакитний бренду */
  /* шрифт тексту → Helvetica */
  --inter-tight: "VT Helvetica", Arial, sans-serif;
  --_typography---font-family--inter-tight: "VT Helvetica", Arial, sans-serif;
}

/* заголовки, меню, кнопки, підписи — DIN (шрифт логотипа) */
h1, h2, h3, h4, h5, h6,
.nav-link, .nav-dropdown-toggle, .nav-dropdown-link,
.button-text, .button-text-02, .button-2-text, .button-3_content-wrap,
.subtitle-text, .rating-num, .price, .package-item-name, .package-item-price,
.activities-tab-link, .pages-title, .booking-open, .blog-date, .pixooadvisor-box {
  font-family: "VT DIN", "VT Helvetica", Arial, sans-serif;
}
/* великі заголовки — DIN Light, як у брендбуку */
h1, h2 { font-weight: 300; }

/* ---------- перший екран: відео-фон ---------- */
.home-hero-section { background-image: url("video/hero-poster.jpg"); overflow: hidden; }
.vt-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .vt-hero-video { display: none; } }
/* затемнення, щоб білий заголовок і картки читались на відео */
.home-hero-section::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .44) 45%, rgba(0, 0, 0, .38) 65%, rgba(0, 0, 0, .56) 100%); }
.hero-container { position: relative; z-index: 2; }
.hero-bottom-content { z-index: 2; }

/* заголовок — DIN Regular, як «VEDI» у логотипі; капсом, щільніше */
.home-hero-section h1.home { font-weight: 400; text-transform: uppercase; letter-spacing: -.015em;
  font-size: clamp(34px, 4.6vw, 68px); line-height: 1.04; text-wrap: balance; margin: 0; }
.hero-top-content { max-width: 1120px; }
.vt-hero-cta { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-top: -14px; }
.vt-hero-sub { margin: 0; max-width: 680px; color: rgba(255, 255, 255, .92); text-align: center;
  font-family: "VT Helvetica", Arial, sans-serif; font-size: 19px; line-height: 1.5; text-shadow: 0 1px 12px rgba(5, 18, 38, .55); }

/* кнопка «Пошук туру»: стрілка як на Nika Farm, на блакитному — все біле */
.button_arrow-icon { width: 24px; height: 24px; }
.vt-arrow { transform: rotate(-45deg); width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.button-2 .button-3_content-wrap { transition: color .35s ease; }
.button-2:hover .button-3_content-wrap { color: #fff; }

/* картки готелів на всю ширину першого екрана */
/* стрічка на всю ширину вікна: картки виходять за межі контейнера, перша стоїть по лівому краю контенту */
.vt-hotels { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); }
.vt-hotels::-webkit-scrollbar { display: none; }
.vt-hotel-card { flex: 0 0 calc((100% - 48px) / 4); height: auto; scroll-snap-align: start; }
/* пагінація стрічки готелів */
.vt-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.vt-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.vt-dot:hover { background: #fff; }
.vt-dot.is-active { width: 28px; background: var(--a0f751); }
.vt-hotel-img { position: relative; overflow: hidden; border-radius: var(--vt-r-inner); }
.vt-hotel-img .home-hero-slider-image { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.vt-hotel-card:hover .home-hero-slider-image { transform: scale(1.05); }
.vt-hotel-card .home-hero-slider-flex { padding: 0 8px; }
.vt-hotel-card .button-icon-block { flex-shrink: 0; }

@media screen and (min-width: 992px) {
  .hero-wrapper { min-height: 100vh; padding-top: 200px; padding-bottom: 420px; justify-content: center; }
  .hero-bottom-content { padding-bottom: 32px; }
}
@media screen and (max-width: 991px) {
  .hero-wrapper { height: auto; padding-top: 190px; padding-bottom: 40px; }
  .hero-bottom-content { position: relative; inset: auto; margin: 0; padding-bottom: 40px; }
  .vt-hotels { gap: 12px; }
  .vt-hotel-card { flex-basis: 44%; }
}
@media screen and (max-width: 767px) {
  .hero-wrapper { padding-top: 170px; }
  .vt-hero-sub { font-size: 16px; }
  .vt-hero-cta { margin-top: 0; gap: 24px; }
  .vt-hotel-card { flex-basis: 78%; }
}

/* ---------- шапка ---------- */
/* шапку не ховаємо (анімація шаблону ховала її при скролі вниз); при скролі вниз зсуваємо вгору лише смужку курсу */
.navbar.transparent-navbar { transform: none !important; transition: transform .35s ease; }
html.vt-bar-hidden .navbar.transparent-navbar { transform: translateY(calc(-1 * var(--vt-topbar-h, 38px))) !important; }
/* шаблон при скролі вгору ставить шапці темну плашку rgb(9,23,51) — прибираємо: лише смужка курсу і розмиття під кнопками */
.navbar.transparent-navbar { background-color: transparent !important; padding-top: 0; padding-bottom: 14px; }
/* логотип — текстовий напис брендбуку без плашки: білий над першим екраном, синій над світлими блоками */
.tripvana-logo.vt-wordmark { display: block; width: auto; height: 30px; color: #fff; transition: color .3s ease; }
html.vt-on-light .tripvana-logo.vt-wordmark { color: var(--vt-text); }
.navbar-brand { width: auto; }
.footer-logo { width: auto; height: 56px; }

/* верхня смужка: курс оператора, телефон, кабінет — на темно-синьому бренду */
.vt-topbar { position: relative; z-index: 2; margin-bottom: 22px; background: var(--091733); color: #fff;
  font-family: "VT DIN", "VT Helvetica", Arial, sans-serif; font-size: 14px; }
.vt-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.vt-topbar a { color: #fff; text-decoration: none; transition: color .2s; }
.vt-rates { display: flex; gap: 16px; }
.vt-rates > span { font-weight: 700; }
.vt-topbar-links { display: flex; gap: 24px; align-items: center; }
.vt-topbar-phone { display: inline-flex; align-items: center; gap: 7px; }
.vt-phone-ico { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* «Кабінет агента» — підкреслення, щоб було видно, що це посилання */
.vt-topbar a.vt-topbar-cabinet { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* меню по центру сторінки: логотип і кнопка займають рівні боки */
@media screen and (min-width: 992px) {
  .navbar-wrapper { gap: 16px; }
  .navbar-brand, .nav-buttons-block { flex: 1 1 0; min-width: 0; }
  .nav-buttons-block { display: flex; justify-content: flex-end; }
  .nav-menu-wrapper { flex: 0 0 auto; width: auto; margin: 0; }
}
/* після скролу — над білими блоками кнопки на напівпрозорому синьому з розмиттям */
.nav-menu.transparent-nav-menu, .button-01.transparent { transition: background-color .3s ease, border-color .3s ease; }
html.vt-scrolled .nav-menu.transparent-nav-menu,
html.vt-scrolled .nav-buttons-block .button-01.transparent { background-color: rgba(0, 84, 166, .8); border-color: rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }

/* дропдауни: стрілка справа замість крапки */
.nav-dropdown-toggle { display: flex; align-items: center; gap: 6px; }
.vt-chevron { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.w-dropdown-toggle.w--open .vt-chevron { transform: rotate(180deg); }
/* фірмова стрілка: у кружечках кнопок і біля зовнішніх посилань меню — під кутом ↗ */
.vt-arrow-ico { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-45deg); }
.button-icon-block { color: var(--091733); }
.button-arrow-block .vt-arrow-ico { width: 16px; height: 16px; }
.vt-ext { display: inline-block; width: 13px; height: 13px; margin-left: 7px; vertical-align: -1px; opacity: .8; }
.vt-dd-title { font-family: "VT Helvetica", Arial, sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--a0f751); margin-bottom: 6px; }
.vt-mega-cover { display: none; }

@media screen and (min-width: 992px) {
  /* панель — під центром меню, суцільна синя, з тінню; сторінка під нею затемнюється */
  .nav-dropdown { position: static; }
  .nav-menu .nav-dropdown-list.shadow-three.mobile-shadow-hide.w--open { inset: 100% auto auto 50% !important; transform: translateX(-50%);
    margin-top: 0; padding-top: 14px; width: max-content; min-width: 0; }
  .nav-menu .nav-dropdown-list.shadow-three.mobile-shadow-hide.vt-dd-agents.w--open { width: 400px; }
  .nav-dropdown-list .pages-all-items.transparent { gap: 36px; padding: 18px; justify-content: flex-start; align-items: stretch;
    border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 60px rgba(5, 18, 38, .45); }
  .vt-dd-agents .pages-all-items.transparent { padding: 26px 28px; }
  .nav-dropdown-list .pages-flex { gap: 12px; padding-top: 8px; min-width: 120px; }
  .vt-dd-countries .pages-flex.last { padding-right: 18px; }
  .nav-dropdown-list .nav-dropdown-link.transparent { font-size: 17px; color: #fff; }
  .vt-mega-cover { display: block; position: relative; flex: 0 0 270px; min-height: 200px; border-radius: 12px; overflow: hidden; text-decoration: none; color: #fff; }
  .vt-mega-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
  .vt-mega-cover:hover img { transform: scale(1.05); }
  .vt-mega-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 55, 0) 35%, rgba(10, 30, 55, .85) 100%); }
  .vt-mega-cover-text { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 4px;
    font-family: "VT Helvetica", Arial, sans-serif; font-size: 13px; white-space: nowrap; }
  .vt-mega-cover-title { font-family: "VT DIN", "VT Helvetica", Arial, sans-serif; font-size: 22px; }
  .vt-dim { position: fixed; inset: 0; z-index: 999; background: rgba(8, 22, 44, .5); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
  body:has(.nav-menu .w-dropdown-list.w--open) .vt-dim { opacity: 1; }
}
@media screen and (max-width: 991px) {
  .vt-dim { display: none; }
  .tripvana-logo.vt-wordmark { height: 26px; }
  .vt-dd-title.is-empty { display: none; }
}
@media screen and (max-width: 767px) {
  .vt-topbar { font-size: 12px; margin-bottom: 10px; }
  .vt-phone-num { display: none; }  /* на телефоні — лише значок, натискання дзвонить */
  .vt-phone-ico { width: 16px; height: 16px; }
  .vt-rates { gap: 10px; }
}

/* ---------- зовнішні посилання в дропдаунах — підкреслені, як «Кабінет агента» ---------- */
.nav-dropdown-link.vt-dd-ext { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- стрічка готелів: перетягування мишкою ---------- */
.vt-hotels { cursor: grab; }
.vt-hotels.is-drag { cursor: grabbing; }
.vt-hotels.is-drag .vt-hotel-card { pointer-events: none; }
.vt-hotels img { -webkit-user-drag: none; user-select: none; }

/* ---------- соцмережі: справа посередині (десктоп), кнопка в кутку (телефон) ---------- */
.vt-social { position: fixed; z-index: 998; }
.vt-social-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; transition: color .2s, background-color .2s; }
.vt-social-link:hover { background: rgba(255, 255, 255, .14); }
.vt-social-ico { width: 18px; height: 18px; }
.vt-social-toggle { display: none; }
@media screen and (min-width: 992px) {
  .vt-social { right: 16px; top: 50%; transform: translateY(-50%); }
  .vt-social-list { display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 300px;
    background: rgba(0, 84, 166, .8); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    box-shadow: 0 8px 30px rgba(5, 18, 38, .25); }
}
@media screen and (max-width: 991px) {
  .vt-social { right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .vt-social-list { display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s; }
  .vt-social.is-open .vt-social-list { opacity: 1; transform: none; pointer-events: auto; }
  .vt-social-list .vt-social-link { width: 44px; height: 44px; background: var(--091733); box-shadow: 0 6px 18px rgba(5, 18, 38, .3); }
  .vt-social-toggle { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
    background: var(--a0f751); color: #fff; box-shadow: 0 8px 24px rgba(5, 18, 38, .35); cursor: pointer; }
  .vt-social-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .vt-social-close, .vt-social.is-open .vt-social-open { display: none; }
  .vt-social.is-open .vt-social-close { display: block; }
}

/* ---------- прапорці країн у дропдауні ---------- */
.nav-dropdown-link .vt-flag { display: inline-block; width: 20px; height: 15px; margin-right: 10px; vertical-align: -2px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }

/* ---------- заголовки розділів — капсом, DIN Regular (як заголовок першого екрана) ---------- */
h2.center-align { text-transform: uppercase; font-weight: 400; letter-spacing: -.01em; }
h2.center-align:not(.white-text) { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.08; }
/* ширший контейнер заголовка — менше рядків */
.tour-activities-top { max-width: 1040px; }

/* ---------- блок «Напрямки»: замість ліній шаблону — декоративний елемент брендбуку (с. 17) ---------- */
.tour-activities-section { position: relative; overflow: hidden; background-image: none; }
.tour-activities-section > .wrapper { position: relative; z-index: 1; }
.tabs-content-activities { position: relative; overflow: visible; }
.tabs-content-activities > .w-tab-pane { position: relative; z-index: 1; }
/* промені «вилазять» з-за карток: центр зірки схований за картками, над ними видно верхню половину */
.vt-decor { position: absolute; z-index: 0; top: -238px; height: 676px; pointer-events: none; user-select: none; opacity: .08; }
.vt-decor img { display: block; height: 100%; width: auto; }
.vt-decor-right { right: 0; }
.vt-decor-left { left: 0; background: radial-gradient(ellipse 80% 55% at 0% 50%, #d5dde6 0%, rgba(213, 221, 230, 0) 75%); }
@media screen and (max-width: 991px) {
  .vt-decor { height: 507px; top: -183px; }
  /* шаблон резервував місце під старий низ першого екрана — у нас картки вже в потоці */
  .wrapper.update-activities-wrapper { padding-top: 80px; }
}
@media screen and (max-width: 767px) {
  .vt-decor { height: 372px; top: -131px; }
}

/* ---------- картки країн у стрічці ---------- */
.activities-image.vt-country { position: relative; display: block; flex: none; overflow: hidden; text-decoration: none; color: #fff; }
.vt-country-img { display: block; width: 100%; height: auto; aspect-ratio: 330 / 480; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.vt-country:hover .vt-country-img { transform: scale(1.05); }
.vt-country::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 55, 0) 50%, rgba(10, 30, 55, .8) 100%); pointer-events: none; }
.vt-country-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.vt-country-name { display: flex; align-items: center; font-family: "VT DIN", "VT Helvetica", Arial, sans-serif; font-size: 20px; line-height: 1.1; }
.vt-country-name .vt-flag { width: 20px; height: 15px; margin-right: 8px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.vt-country-sub { font-family: "VT Helvetica", Arial, sans-serif; font-size: 13px; line-height: 1.3; opacity: .9; }
@media screen and (max-width: 767px) {
  .vt-country-name { font-size: 16px; }
  .vt-country-sub { font-size: 11px; }
  .vt-country-cap { left: 10px; right: 10px; bottom: 10px; }
}

/* «хвиля» як у шаблоні: кожна позиція в стрічці має свою висоту (пропорції фото шаблону 330 × 397…480) */
.vt-country._02 .vt-country-img { aspect-ratio: 330 / 428; }
.vt-country._03 .vt-country-img { aspect-ratio: 330 / 435; }
.vt-country._04 .vt-country-img { aspect-ratio: 330 / 397; }
.vt-country._05 .vt-country-img { aspect-ratio: 330 / 444; }
.vt-country._07 .vt-country-img { aspect-ratio: 330 / 429; }
.vt-country._08 .vt-country-img { aspect-ratio: 330 / 427; }

/* лічильник країн у вкладці */
.activities-tab-link > div { display: inline-flex; align-items: center; gap: 8px; }
.vt-tab-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: rgba(0, 84, 166, .1); color: var(--091733); font-size: 12px; line-height: 1; }
.activities-tab-link.w--current .vt-tab-count { background: rgba(255, 255, 255, .22); color: #fff; }

/* тематична лінійна іконка в плашках-підписах розділів */
.subtitle-icon-block.vt-sub-icon { color: var(--091733); }
.subtitle-icon-block.vt-sub-icon .vt-sub-svg { display: block; width: 17px; height: 17px; }
.review-section .subtitle-icon-block.vt-sub-icon { color: #fff; }

/* стрічка країн: однакова швидкість у всіх вкладках (~46 px/с на десктопі, як у «Усі країни» шаблону) —
   замість анімації шаблону, яка гортала кожну вкладку за той самий час незалежно від кількості карток */
.activities-marquees .activities-marquee-items { animation: vt-marquee calc(var(--n, 8) * 5s) linear infinite; }
@keyframes vt-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .activities-marquees .activities-marquee-items { animation-play-state: paused; } }

/* ---------- «Як почати співпрацю»: своя стрічка замість слайдера Webflow ---------- */
.booking-process-slider.vt-steps { position: relative; }
/* стрічка виходить до обох країв вікна (видно сусідні картки зліва й справа); зупиняється, коли 4-та картка дійшла до краю контенту */
.booking-process-mask.vt-steps-track { display: flex; gap: 24px; width: auto; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-left: calc(50% - 50vw); padding-left: calc(50vw - 50%);
  margin-right: calc(50% - 50vw); padding-right: calc(50vw - 50%); cursor: grab; }
.vt-steps-track::-webkit-scrollbar { display: none; }
.vt-steps-track.is-drag { cursor: grabbing; }
.vt-steps-track.is-drag .booking-process-slide { pointer-events: none; }
.vt-steps-track img { -webkit-user-drag: none; user-select: none; }
/* ширина контенту стрічки = ширина контейнера (від'ємний відступ і такий самий padding праворуч), тож 2 картки на екран */
.vt-steps-track .booking-process-slide { flex: 0 0 calc((100% - 24px) / 2); width: auto; margin-right: 0; scroll-snap-align: start; }
@media screen and (max-width: 991px) {
  .vt-steps-track .booking-process-slide { flex-basis: 100%; }
}
/* стрілки — фірмові, як у шапці */
.vt-steps .booking-left-arrow, .vt-steps .booking-right-arrow { position: absolute; padding: 0; cursor: pointer; font: inherit; }
.vt-steps .vt-arrow-ico.vt-flat { width: 20px; height: 20px; transform: none; }
.vt-steps .booking-left-arrow .vt-arrow-ico.vt-flat { transform: rotate(180deg); }
.vt-steps .booking-left-arrow:disabled, .vt-steps .booking-right-arrow:disabled { opacity: .35; cursor: default; pointer-events: none; }
.booking-line-animation { transition: transform .3s ease, width .3s ease; }
/* посилання в картках кроків — підкреслені, як «Кабінет агента» */
.vt-step-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; }
.vt-step-link { color: var(--vt-text); font-family: "VT DIN", "VT Helvetica", Arial, sans-serif; font-size: 16px; text-decoration: underline;
  text-underline-offset: 4px; text-decoration-thickness: 1px; }
.vt-step-link:hover { color: var(--a0f751); }

/* ---------- «Події та навчання»: 4 картки замість 3 країн ---------- */
.collection-list-packages.vt-events { grid-template-columns: repeat(4, 1fr); }
.vt-events .packages-item-image { aspect-ratio: 4 / 5; object-fit: cover; height: auto; }
/* лінії шаблону на фоні не з брендбуку — прибираємо, як у блоці «Країни» */
.packages-section { background-image: none; }
/* картка на всю висоту: підпис завжди під назвою, кнопка внизу — кнопки в один ряд */
.vt-events .w-dyn-item, .vt-events .packages-item-link { height: 100%; }
.vt-events .package-item-detaik { flex: 1 1 auto; }
.vt-events .package-item-top { flex-direction: column; align-items: flex-start; row-gap: 10px; }
.vt-events .package-item-name { font-size: 22px; }
.vt-events .package-short-desp { flex: 1 1 auto; }
@media screen and (max-width: 991px) {
  .collection-list-packages.vt-events { grid-template-columns: 1fr 1fr; }
}
@media screen and (max-width: 767px) {
  .collection-list-packages.vt-events { grid-template-columns: 1fr; }
  .vt-events .packages-item-image { aspect-ratio: 4 / 3; }
}
/* плашка на фото при наведенні — фірмовий синій замість чорного шаблону */
.vt-events .booking-open { background-color: rgba(0, 84, 166, .88); }
/* підпис під назвою — простий текст з підкресленням, не «кнопка» */
.vt-events .package-item-price { border: 0; background: none; padding: 0; border-radius: 0; font-size: 15px;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: rgba(18, 72, 123, .45); }
/* кнопка «Детальніше» — як «Пошук туру» в шапці: обводка + стрілка в кружечку */
.vt-card-btn { display: inline-flex; align-items: center; gap: 14px; padding: 5px 5px 5px 22px; border: 1px solid var(--091733); border-radius: 300px;
  color: var(--091733); font-size: 16px; line-height: 24px; font-weight: 500; transition: background-color .25s ease, color .25s ease; }
.vt-card-btn-ico { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background-color: var(--091733); color: #fff; transition: background-color .25s ease, color .25s ease; }
.vt-card-btn-ico .vt-arrow-ico { width: 16px; height: 16px; transition: transform .25s ease; }
.packages-item-link:hover .vt-card-btn { background-color: var(--091733); color: #fff; }
.packages-item-link:hover .vt-card-btn-ico { background-color: #fff; color: var(--091733); }
.packages-item-link:hover .vt-card-btn-ico .vt-arrow-ico { transform: rotate(0deg); }

/* менший відступ від заголовка до карток («Як почати співпрацю», «Події та навчання») */
.wrapper.booking-process-wrapper, .wrapper.packages-wrapper { grid-row-gap: 48px; row-gap: 48px; }
@media screen and (max-width: 991px) {
  .wrapper.booking-process-wrapper, .wrapper.packages-wrapper { grid-row-gap: 32px; row-gap: 32px; }
}

/* ---------- сітка: вужчі поля зліва й справа (шаблон: контент 1 241 px, поля по 100 px на 1440; у нас 56–64 px).
   Плашка соцмереж справа — 40 px завширшки на відступі 6 px, тож вміщається в поле й не налазить на контент ---------- */
@media screen and (min-width: 992px) {
  .container { max-width: 1440px; padding-left: clamp(56px, 4vw, 64px); padding-right: clamp(56px, 4vw, 64px); }
}
@media screen and (min-width: 992px) {
  .vt-social { right: 6px; }
  .vt-social-list { padding: 4px !important; }
  .vt-social-list .vt-social-link { width: 32px; height: 32px; }
  .vt-social-list .vt-social-ico { width: 16px; height: 16px; }
}

/* ---------- «Чому Веді Тур»: ліва картка (блакитна) стоїть, праворуч стрічка переваг з іконками — варіант 2 ---------- */
.review-section { overflow: hidden; }
.wrapper.review-wrapper { overflow: visible; grid-row-gap: 48px; row-gap: 48px; padding-bottom: 80px; }
.review-section h2.center-align { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.08; }
.vt-why { width: 100%; }
.vt-why-row { display: flex; gap: 24px; align-items: stretch; }
.vt-why-lead { flex: 0 0 calc((100% - 48px) / 3); display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  min-height: 420px; padding: 32px; border-radius: var(--vt-r-card); background: #fff; color: var(--091733); position: relative; z-index: 2; }
.vt-why-year { font-family: "VT DIN", sans-serif; font-weight: 300; font-size: 88px; line-height: .95; letter-spacing: -.02em; color: #08ade8; }
.vt-why-lead-text { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: inherit; }
.vt-why-altu { margin: 0 0 18px; font-size: 14px; line-height: 1.45; opacity: .75; }

.vt-why-track { flex: 1 1 auto; min-width: 0; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.vt-why-track::-webkit-scrollbar { display: none; }
.vt-why-track.is-drag { cursor: grabbing; }
.vt-why-track.is-drag .vt-why-card { pointer-events: none; }
.vt-why-card { flex: 0 0 calc((100% - 24px) / 2); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px;
  min-height: 420px; padding: 32px; border-radius: var(--vt-r-card); background: var(--122242); color: #fff; user-select: none; }
.vt-why-mark { margin-bottom: auto; padding-bottom: 40px; }
.vt-why-title { margin: 0; font-family: "VT DIN", sans-serif; font-weight: 400; font-size: 26px; line-height: 1.2; color: #fff; }
.vt-why-text { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .78); max-width: 420px; }

.vt-why-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; }
.vt-why-line { position: relative; width: 300px; height: 1px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.vt-why-line-fill { position: absolute; left: 0; top: 0; height: 100%; background: #fff; transition: transform .3s ease, width .3s ease; }
.vt-why-arrows { display: flex; gap: 10px; }
.vt-why-prev, .vt-why-next { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--091733); padding: 12px; cursor: pointer; transition: opacity .2s; }
.vt-why-prev .vt-arrow-ico { transform: rotate(180deg); }
.vt-why-next .vt-arrow-ico { transform: none; }
.vt-why-prev:disabled, .vt-why-next:disabled { opacity: .35; cursor: default; }

/* варіант 2 — лінійні іконки в кружечку; ліва картка блакитна */
.vt-why-v2 .vt-why-ico { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.vt-why-ico-svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media screen and (max-width: 991px) {
  .vt-why-row { flex-direction: column; }
  .vt-why-lead { flex-basis: auto; min-height: 0; }
  .vt-why-card { min-height: 340px; }
}
@media screen and (max-width: 767px) {
  .vt-why-card { flex-basis: 85%; padding: 24px; min-height: 300px; }
  .vt-why-lead { padding: 24px; }
  .vt-why-year { font-size: 64px; }
  .vt-why-line { width: 140px; }
}
.tour-activities-top.review { max-width: 1040px; }
@media screen and (min-width: 992px) { .vt-why-lead, .vt-why-card { min-height: 380px; } }


/* правки 2026-11-27: ліва картка біла з гербом; іконки переваг білі; посилання в кроках і підписи подій — синім */
.vt-why-lead { color: var(--vt-text); }
.vt-why-logo { display: block; width: 96px; height: auto; }
.vt-why-lead-text { margin-top: 24px; font-size: 18px; }
.vt-why-altu { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding-top: 20px; border-top: 1px solid rgba(0, 84, 166, .15);
  font-size: 14px; line-height: 1.4; color: var(--grey, #616161); opacity: 1; }
.vt-why-altu span { flex: 0 0 auto; padding: 6px 10px; border: 1px solid rgba(0, 84, 166, .3); border-radius: 300px;
  font-family: "VT DIN", sans-serif; font-size: 13px; letter-spacing: .06em; color: var(--091733); }
.vt-step-link { color: var(--091733); text-decoration-color: rgba(0, 84, 166, .45); }
.vt-events .package-item-price { color: var(--091733); text-decoration-color: rgba(0, 84, 166, .45); }
@media screen and (max-width: 767px) { .vt-why-logo { width: 80px; } }
.vt-why-lead-bottom .vt-why-lead-text { margin: 0 0 20px; }
.vt-why-lead-bottom .vt-why-altu { margin-bottom: 0; }
/* герб трохи вищий за іконки переваг (60 px); опис переваги — 4 рядки в усіх картках */
.vt-why-logo { width: auto; height: 72px; }
.vt-why-text { min-height: calc(1.55em * 4); }
@media screen and (max-width: 767px) { .vt-why-logo { width: auto; height: 64px; } .vt-why-text { min-height: 0; } }
.vt-why-logo { align-self: flex-start; }
/* ліва картка — фото команди з затемненням (як вуаль на відео першого екрана), білий текст */
.vt-why-lead { background: #0b1a2e url("img/why-lead.jpg") center / cover no-repeat; color: #fff; overflow: hidden; isolation: isolate; }
.vt-why-lead::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .5) 40%, rgba(0, 0, 0, .86) 72%, rgba(0, 0, 0, .9) 100%); }
.vt-why-lead .vt-why-lead-text { color: #fff; }
.vt-why-lead .vt-why-altu { color: rgba(255, 255, 255, .85); border-top-color: rgba(255, 255, 255, .25); }
.vt-why-lead .vt-why-altu span { color: #fff; border-color: rgba(255, 255, 255, .45); }
.vt-why-title { font-size: clamp(20px, 1.68vw, 26px); }

/* ---------- «Новини» ---------- */
.vt-br-desk { display: none; }
@media screen and (min-width: 992px) { .vt-br-desk { display: inline; } }
/* картки різної ширини: назва завжди в 2 рядки, опис у 3 — кнопки «Читати» в один ряд */
.blog-section .w-dyn-item, .blog-section .packages-item-link { height: 100%; }
.blog-section .package-item-detaik { flex: 1 1 auto; gap: 12px; }
.blog-section .package-item-name { min-height: calc(1.5em * 2); }
.blog-section .package-short-desp { flex: 1 1 auto; min-height: calc(1.6em * 3); margin-bottom: 8px; }
/* дата й час читання — на темно-синіх плашках замість чорної */
.blog-section .blog-date { background-color: var(--vt-text); color: #fff; }
.blog-section .blog-reading-time { padding: 8px 14px; border-radius: 300px; background: rgba(23, 69, 121, .55); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vt-news-all { text-decoration: none; }
.vt-news-all:hover { background-color: var(--091733); color: #fff; }
.vt-news-all:hover .vt-card-btn-ico { background-color: #fff; color: var(--091733); }
.vt-news-all:hover .vt-arrow-ico { transform: rotate(0deg); }
/* назва й опис новини — рівно по 2 рядки (довше — обрізаємо трикрапкою) */
.blog-section .package-item-name, .blog-section .package-short-desp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.blog-section .package-short-desp { min-height: calc(1.6em * 2); flex: 0 0 auto; }
.blog-section .package-item-detaik { justify-content: flex-start; }
.blog-section .vt-card-btn { margin-top: auto; }
/* фото «Події та навчання» — тієї ж висоти, що фото «Новини» (шаблон: 302 px, на планшеті 250 px) */
@media screen and (min-width: 768px) { .vt-events .packages-item-image { aspect-ratio: auto; height: 302px; } }
@media screen and (min-width: 768px) and (max-width: 991px) { .vt-events .packages-item-image { height: 250px; } }

/* ---------- футер (Настя, 2026-12-01): герб, білий текст з блакитним наведенням, соцмережі рядком під описом ---------- */
.footer .footer-para, .footer .page-link, .footer .copyright-text, .footer .ghost-button { color: #fff; }
.footer .page-link.w--current { color: #fff; }
.footer-left { gap: 24px; grid-row-gap: 24px; }
.footer-social-links { flex-direction: row; gap: 10px; }
.footer-social-link .social-icon-block { background-color: rgba(255, 255, 255, .12); transition: background-color .25s, color .25s; }
.footer-social-link:hover .social-icon-block { background-color: #fff; color: #0054a6; }
@media screen and (min-width: 992px) { .wrapper.footer-wrapper { grid-row-gap: 64px; row-gap: 64px; } }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); }

/* ---------- 2026-12-01 (Настя): герб у шапці, текстовий логотип у футері; наведення на білий текст — лінія знизу ---------- */
.tripvana-logo.vt-shield-logo { display: block; width: auto; height: 60px; }
@media screen and (max-width: 991px) { .tripvana-logo.vt-shield-logo { height: 48px; } }
.footer-logo.vt-footer-wordmark { width: auto; height: 34px; }
.footer-left { max-width: 360px; }
/* білий текст на синьому (футер, дропдауни шапки, смужка з курсом): колір не міняється, знизу «виростає» лінія */
.footer .page-link, .nav-dropdown-list .nav-dropdown-link.transparent:not(.vt-dd-ext), .vt-topbar a:not(.vt-topbar-cabinet) {
  width: fit-content; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
  background-position: 0 100%; background-size: 0 1px; transition: background-size .3s ease; padding-bottom: 2px; }
.footer .page-link:hover, .nav-dropdown-list .nav-dropdown-link.transparent:not(.vt-dd-ext):hover, .vt-topbar a:not(.vt-topbar-cabinet):hover { background-size: 100% 1px; }
.footer .page-link.vt-contact { background-position: 30px 100%; }
.footer .page-link.vt-contact:hover { background-size: calc(100% - 30px) 1px; }
/* вже підкреслені посилання (кабінет агента, зовнішні в дропдаунах): підкреслення товщає, колір той самий */
.vt-topbar a.vt-topbar-cabinet, .nav-dropdown-link.vt-dd-ext { transition: text-decoration-thickness .2s ease; }
.vt-topbar a.vt-topbar-cabinet:hover, .nav-dropdown-link.vt-dd-ext:hover { text-decoration-thickness: 2px; }
/* контакти у футері з іконками */
.footer .page-link.vt-contact { display: inline-flex; align-items: center; gap: 10px; }
.vt-contact-ico { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
/* герб у шапці — тонкий білий контур, щоб нижня синя частина щита не зливалась із синіми блоками */
.tripvana-logo.vt-shield-logo { height: 64px;
  filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff); }
@media screen and (max-width: 991px) { .tripvana-logo.vt-shield-logo { height: 50px; } }
@media screen and (max-width: 991px) { .tripvana-logo.vt-shield-logo { height: 42px; } }
