/* home-vitrina.css — новая главная «Витрина» (08.11.2026).
   Подключается только на главной и только когда включён pex_home_vitrina_active() (inc/home-vitrina.php).
   ВСЕ правила живут под .hv (<main class="hv">), поэтому остальные страницы и карточки каталога не меняются.
   Карточки экскурсий: штатная разметка .tp-product-card, здесь только оформление (слайдер, избранное,
   сравнение, гид, значки — работают прежним кодом). */

.hv {
	--hv-ink: #14202e;
	--hv-mute: #5d6b7a;
	--hv-line: #dfe5ec;
	--hv-soft: #f3f6f9;
	--hv-brand: #0b63d1;
	--hv-brand-d: #0950ab;
	--hv-green: #0a7a4d;
	--hv-red: #d6342b;
	background: #fff;
	color: var(--hv-ink);
}
.hv a { text-decoration: none; }
.hv img { max-width: 100%; }

/* ---------- первый экран ---------- */
.hv-hero {
	position: relative;
	z-index: 5; /* выпадающие подсказки города поверх следующей полосы */
	display: flex;
	align-items: flex-end;
	min-height: 580px;
	color: #fff;
	background: #1b2b3d;
}
.hv-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hv-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(8, 16, 28, .35) 0%, rgba(8, 16, 28, .15) 30%, rgba(8, 16, 28, .45) 60%, rgba(8, 16, 28, .88) 100%),
		linear-gradient(90deg, rgba(8, 16, 28, .45), rgba(8, 16, 28, 0) 60%);
}
.hv-hero__in {
	position: relative;
	z-index: 2;
	padding-top: 90px;
	padding-bottom: 34px;
}
.hv-hero__title {
	max-width: 860px;
	margin: 0;
	color: #fff;
	font-size: clamp(2.1rem, 5vw, 4.1rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.03em;
	text-wrap: balance;
}
.hv-find { max-width: 1020px; margin-top: 28px; }
.hv-find__panel[hidden] { display: none; }
.hv .hv-find .tp-find__form {
	display: grid;
	grid-template-columns: 1fr 1.15fr 1fr auto;
	gap: 8px;
	align-items: stretch;
	padding: 8px;
	border-radius: 16px;
	background: #fff;
	color: var(--hv-ink);
}
.hv .hv-find .tp-find__form--words { grid-template-columns: 1fr auto; }
.hv .hv-find .tp-find__field {
	position: relative;
	gap: 2px;
	padding: 8px 16px;
	border-right: 1px solid var(--hv-line);
	justify-content: center;
}
.hv .hv-find .tp-find__field:nth-last-child(2),
.hv .hv-find .tp-find__form--words .tp-find__field { border-right: 0; }
.hv .hv-find .tp-find__label { font-size: 12px; font-weight: 700; color: var(--hv-mute); line-height: 1.2; }
.hv .hv-find .tp-find__input,
.hv .hv-find .tp-find__field .form-select {
	height: auto;
	padding: 0 18px 0 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background-color: transparent;
	font-size: 17px;
	font-weight: 600;
	color: var(--hv-ink);
}
.hv .hv-find .tp-find__input::placeholder { color: #8a97a5; font-weight: 500; }
.hv .hv-find .tp-find__input:focus,
.hv .hv-find .tp-find__field .form-select:focus { box-shadow: none; outline: 0; }
.hv .hv-find .tp-find__sug { top: calc(100% + 12px); left: -8px; right: -8px; z-index: 40; }
.hv-btn,
.hv .hv-find .tp-find__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: auto;
	padding: 0 34px;
	border: 0;
	border-radius: 11px;
	background: var(--hv-brand);
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	cursor: pointer;
}
.hv-btn:hover,
.hv .hv-find .tp-find__submit:hover { background: var(--hv-brand-d); color: #fff; }
.hv-find__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
	margin-top: 16px;
	font-size: 15px;
}
.hv-find__label { opacity: .75; }
.hv-find__foot a,
.hv-find__mode {
	padding: 0;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .5);
	background: none;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.hv-find__mode { margin-left: auto; border-bottom: 0; opacity: .92; }
.hv-find__mode:hover { opacity: 1; text-decoration: underline; }
.hv-find__mode[hidden] { display: none; }

/* ---------- гарантии ---------- */
.hv-trust { border-bottom: 1px solid var(--hv-line); }
.hv-trust__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.hv-trust__in > div {
	padding: 26px 26px 26px 0;
	margin-right: 26px;
	border-right: 1px solid var(--hv-line);
}
.hv-trust__in > div:last-child { margin-right: 0; border-right: 0; }
.hv-trust b { display: block; margin-bottom: 6px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.hv-trust p { margin: 0; font-size: 14.5px; color: var(--hv-mute); }

/* ---------- общее для секций ---------- */
.hv-sec { padding-top: 64px; }
.hv-sec:last-of-type { padding-bottom: 20px; }
.hv-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 20px;
	margin-bottom: 26px;
}
.hv-head h2 {
	margin: 0;
	font-size: clamp(1.65rem, 3vw, 2.25rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.025em;
	color: var(--hv-ink);
}
.hv-head--sub { margin: 56px 0 22px; }
.hv-head--sub h3 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hv-head--sub p { flex-basis: 100%; order: 3; margin: 2px 0 0; color: var(--hv-mute); font-size: 15px; }
.hv-more { font-size: 15.5px; font-weight: 700; color: var(--hv-brand); white-space: nowrap; }
.hv-more:hover { text-decoration: underline; text-underline-offset: 4px; color: var(--hv-brand); }

/* ---------- города ---------- */
.hv-dgrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.hv-dt {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	background: #cfd8e3;
	color: #fff;
}
.hv-dt:hover { color: #fff; }
.hv-dt--big { grid-column: span 2; grid-row: span 2; }
.hv-dt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hv-dt:hover img { transform: scale(1.04); }
.hv-dt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 16, 28, .78)); }
.hv-dt span { position: absolute; left: 18px; right: 18px; bottom: 15px; z-index: 1; }
.hv-dt b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.hv-dt--big b { font-size: 32px; }
.hv-dt i { font-size: 14px; font-style: normal; opacity: .9; }
.hv-dgrid2 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 12px; }
.hv-dgrid2 .hv-dt { height: 150px; }
.hv-dgrid2 .hv-dt b { font-size: 17px; }

/* ---------- страны: фото-плитки с круглым флагом и список ---------- */
.hv-cgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.hv .hv-ct { aspect-ratio: 5 / 4; border-radius: 14px; background: #cfd8e3; }
.hv .hv-ct .tp-country__photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.hv .hv-ct .tp-country__flag { top: 12px; left: 12px; width: 30px; height: 30px; box-shadow: 0 0 0 2px #fff; }
.hv .hv-ct .tp-country__label { padding: 14px; }
.hv .hv-ct .tp-country__name { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.hv .hv-ct .tp-country__count { font-size: 13.5px; opacity: .92; }
.hv-clist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 36px; margin: 20px 0 0; padding: 0; list-style: none; }
.hv-clist a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 0;
	border-bottom: 1px solid var(--hv-line);
	color: var(--hv-ink);
	font-size: 16px;
	font-weight: 600;
}
.hv-clist a:hover { color: var(--hv-brand); }
.hv-clist .tp-flag { width: 24px; height: 24px; flex: none; vertical-align: 0; }
.hv-clist em { margin-left: auto; font-style: normal; font-size: 14.5px; font-weight: 500; color: var(--hv-mute); white-space: nowrap; }

/* ---------- подборки ---------- */
.hv-cl4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hv-co {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 16px;
	background: #cfd8e3;
	color: #fff;
}
.hv-co:hover { color: #fff; }
.hv-co img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hv-co:hover img { transform: scale(1.04); }
.hv-co::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 16, 28, .05) 35%, rgba(8, 16, 28, .85)); }
.hv-co span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.hv-co b { display: block; font-size: 23px; font-weight: 800; line-height: 1.15; letter-spacing: -.015em; }
.hv-co i { display: block; margin-top: 5px; font-size: 14.5px; font-style: normal; font-weight: 600; opacity: .95; }
.hv-co em { display: block; margin-top: 3px; font-size: 13.5px; font-style: normal; opacity: .85; }

/* ---------- витрина: вкладки и карточки ---------- */
.hv-tabs {
	display: flex;
	gap: 30px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--hv-line);
	overflow-x: auto;
	scrollbar-width: none;
}
.hv-tabs::-webkit-scrollbar { display: none; }
.hv-tab {
	margin-bottom: -1px;
	padding: 0 0 13px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: none;
	color: var(--hv-mute);
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
}
.hv-tab:hover { color: var(--hv-ink); }
.hv-tab.is-on { color: var(--hv-ink); border-bottom-color: var(--hv-brand); }
.hv-grid4 { display: none; grid-template-columns: repeat(4, 1fr); gap: 36px 22px; }
.hv-grid4.is-on { display: grid; }
.hv-grid4 > .col { width: auto; min-width: 0; padding: 0; margin: 0; }

/* Карточка: та же разметка, что в каталоге; убираем коробку, перестраиваем порядок. */
.hv .tp-product-card {
	height: auto;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}
.hv .tp-product-card:hover { box-shadow: none; }
.hv .tp-product-card__media { aspect-ratio: 4 / 3; border-radius: 14px; }
.hv .tp-card-body { padding: 13px 0 0; }
.hv .tp-card-meta { order: 1; gap: 2px 14px; margin-bottom: 0; font-size: 13.5px; font-weight: 600; color: var(--hv-mute); }
.hv .tp-card-chips {
	order: 2;
	display: block;
	margin: 7px 0 0;
	-webkit-mask-image: none;
	mask-image: none;
	overflow: visible;
	font-size: 13px;
	line-height: 1.4;
	color: var(--hv-mute);
}
.hv .tp-card-chips .tp-chip {
	display: inline;
	min-height: 0;
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--hv-mute);
	font-size: 13px;
	white-space: normal;
}
.hv .tp-card-chips .tp-chip i { display: none; }
.hv .tp-card-chips .tp-chip::after { content: attr(title); }
.hv .tp-card-chips .tp-chip + .tp-chip::before { content: " · "; white-space: pre; }
.hv .tp-card-chips .tp-chip--free { background: none; color: var(--hv-green); font-weight: 700; }
.hv .tp-card-author { order: 3; margin: 11px 0 0; font-size: 13.5px; font-weight: 600; color: var(--hv-ink); }
.hv .tp-card-author__link { color: var(--hv-ink); }
.hv .tp-card-author__link:hover { color: var(--hv-brand); }
.hv .tp-source-badge--inline { width: auto; height: auto; border: 0; box-shadow: none; background: none; }
.hv .tp-source-badge__img { width: 18px; height: 18px; border-radius: 4px; }
.hv .tp-card-title {
	order: 4;
	min-height: 2.56em;
	margin: 9px 0 0;
	padding: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -.01em;
}
.hv .tp-card-title a { color: var(--hv-ink); }
.hv .tp-card-title a:hover { color: var(--hv-brand); }
.hv .tp-card-desc {
	order: 5;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 7px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: #3c4a5a;
}
.hv .tp-card-body > .d-flex { order: 6; margin: 9px 0 0 !important; font-size: 14px; }
.hv .tp-card-footer { order: 7; margin-top: auto; padding-top: 12px; }
.hv .tp-card-price__amount { font-size: 21px; font-weight: 800; letter-spacing: -.01em; color: var(--hv-ink); }
.hv .tp-card-price__old { font-size: 13.5px; }
.hv .tp-card-cta {
	min-height: 0;
	padding: 10px 18px;
	border: 0;
	border-radius: 10px;
	background: var(--hv-brand);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
}
.hv .tp-card-cta:hover { background: var(--hv-brand-d); color: #fff; }
.hv-center { margin-top: 40px; text-align: center; }
.hv-btn2 {
	display: inline-block;
	padding: 13px 28px;
	border: 1.5px solid var(--hv-ink);
	border-radius: 11px;
	color: var(--hv-ink);
	font-size: 16px;
	font-weight: 800;
}
.hv-btn2:hover { background: var(--hv-ink); color: #fff; }

/* ---------- лента-галерея с рамкой телефона ---------- */
.hv-gal { position: relative; margin-top: 72px; overflow: hidden; background: #0c1826; color: #fff; }
.hv-gal__rib { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .9; }
.hv-gal__row { display: flex; gap: 14px; width: max-content; }
.hv-gal__row--1 { animation: hv-slide 70s linear infinite; }
.hv-gal__row--2 { margin-left: -120px; animation: hv-slide 90s linear infinite reverse; }
.hv-gal__row img { flex: none; width: 250px; height: 170px; border-radius: 12px; object-fit: cover; }
.hv-gal__row--2 img { width: 210px; }
@keyframes hv-slide { to { transform: translateX(-50%); } }
.hv-gal::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(12, 24, 38, .96) 0%, rgba(12, 24, 38, .88) 30%, rgba(12, 24, 38, .2) 62%, rgba(12, 24, 38, .12) 100%);
}
.hv-gal__in {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 60px;
	align-items: center;
	padding-top: 84px;
	padding-bottom: 84px;
}
.hv-gal h2 { max-width: 560px; margin: 0; color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; }
.hv-gal p { max-width: 490px; margin: 18px 0 0; font-size: 19px; line-height: 1.5; color: #d3dde8; }
.hv-gal .hv-btn { margin-top: 26px; padding: 15px 30px; }
.hv-phone {
	position: relative;
	justify-self: center;
	width: 350px;
	aspect-ratio: 9 / 18.6;
	overflow: hidden;
	border: 8px solid #fff;
	border-radius: 46px;
	background: #0a1320;
	box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
}
.hv-phone__slides { position: absolute; inset: 0; }
.hv-phone__slides figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s; }
.hv-phone__slides figure.is-on { opacity: 1; z-index: 1; }
.hv-phone__slides figure a { position: absolute; inset: 0; display: block; }
.hv-phone__slides figure img { width: 100%; height: 100%; object-fit: cover; }
.hv-phone__slides figure::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8, 16, 28, .5) 0%, transparent 22%, transparent 52%, rgba(8, 16, 28, .92) 100%); }
.hv-phone__slides figcaption { position: absolute; left: 18px; right: 18px; bottom: 46px; z-index: 2; pointer-events: none; }
.hv-phone__slides figcaption small { display: block; font-size: 12.5px; font-weight: 700; opacity: .9; }
.hv-phone__slides figcaption b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 18px; font-weight: 800; line-height: 1.25; }
.hv-phone__slides figcaption span { display: inline-block; margin-top: 10px; font-size: 19px; font-weight: 800; color: #fff; }
.hv-phone__slides figcaption em { display: inline-block; margin-left: 10px; padding: 6px 12px; border-radius: 9px; background: #fff; color: var(--hv-ink); font-size: 13px; font-style: normal; font-weight: 800; }
.hv-phone__stat { position: absolute; left: 0; right: 0; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 12px 24px 0; font-size: 12.5px; font-weight: 700; }
.hv-phone__stat i { display: flex; gap: 3px; align-items: flex-end; }
.hv-phone__stat u { display: block; width: 3px; border-radius: 1px; background: #fff; }
.hv-phone__stat u:nth-child(1) { height: 4px; }
.hv-phone__stat u:nth-child(2) { height: 7px; }
.hv-phone__stat u:nth-child(3) { height: 10px; }
.hv-phone__stat s { position: relative; display: block; width: 20px; height: 10px; margin-left: 5px; border: 1.5px solid #fff; border-radius: 3px; }
.hv-phone__stat s::after { content: ""; position: absolute; inset: 1.5px; border-radius: 1px; background: #fff; }
.hv-phone__top { position: absolute; left: 14px; right: 14px; top: 38px; z-index: 5; display: flex; justify-content: space-between; pointer-events: none; }
.hv-phone__top span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.hv-phone__top svg { width: 16px; height: 16px; }
.hv-phone__dots { position: absolute; left: 18px; right: 18px; bottom: 20px; z-index: 5; display: flex; gap: 6px; }
.hv-phone__dots button { position: relative; flex: 1; height: 4px; padding: 0; overflow: hidden; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .35); cursor: pointer; }
.hv-phone__dots button.is-on::after { content: ""; position: absolute; inset: 0; background: #fff; animation: hv-fill 3.6s linear forwards; }
@keyframes hv-fill { from { transform: translateX(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.hv-gal__row { animation: none; }
	.hv-phone__dots button.is-on::after { animation: none; }
}

/* ---------- погода ---------- */
.hv-wx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.hv-wr { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hv-line); color: var(--hv-ink); }
.hv-wr b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.hv-wr small { display: block; margin-top: 2px; font-size: 14px; color: var(--hv-mute); }
.hv-wr span { font-size: 14px; font-weight: 700; color: var(--hv-brand); white-space: nowrap; }
.hv-wr:hover b { color: var(--hv-brand); }

/* ---------- места и маршруты ---------- */
.hv-places { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.hv-st { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: #cfd8e3; color: #fff; }
.hv-st:hover { color: #fff; }
.hv-st img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hv-st:hover img { transform: scale(1.04); }
.hv-st::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 16, 28, .75)); }
.hv-st span { position: absolute; left: 16px; right: 16px; bottom: 13px; z-index: 1; }
.hv-st i { display: block; font-size: 13px; font-style: normal; font-weight: 700; opacity: .9; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.hv-st b { display: block; font-size: 16px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.hv-routes { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; font-size: 16px; font-weight: 700; }
.hv-routes a { color: var(--hv-brand); }
.hv-routes a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- виды экскурсий ---------- */
.hv-tys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.hv-ty { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--hv-line); color: var(--hv-ink); }
.hv-ty img, .hv-ty__ph { flex: none; width: 62px; height: 62px; border-radius: 12px; object-fit: cover; background: #e4e9ef; }
.hv-ty b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.hv-ty small { display: block; margin-top: 1px; font-size: 14px; color: var(--hv-mute); }
.hv-ty:hover b { color: var(--hv-brand); }

/* ---------- город × вид ---------- */
.hv-mx { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 32px; }
.hv-mx h4 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.hv-mx h4 a { color: var(--hv-ink); }
.hv-mx h4 a:hover { color: var(--hv-brand); }
.hv-mx ul { margin: 0; padding: 0; list-style: none; }
.hv-mx li a { display: block; padding: 5px 0; font-size: 15.5px; font-weight: 600; color: #33414f; }
.hv-mx li a:hover { color: var(--hv-brand); }

/* ---------- гиды ---------- */
.hv-gd { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.hv-gd a { display: block; color: var(--hv-ink); }
.hv-gd img { width: 100%; aspect-ratio: 1; border-radius: 16px; object-fit: cover; background: #e4e9ef; transition: transform .4s; }
.hv-gd a:hover img { transform: scale(1.03); }
.hv-gd b { display: block; margin-top: 11px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.hv-gd small { display: block; margin-top: 1px; font-size: 14px; color: var(--hv-mute); }

/* ---------- отзывы ---------- */
.hv-rev { display: grid; grid-template-columns: 230px 1fr; gap: 48px; align-items: start; }
.hv-score b { display: block; font-size: 68px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.hv-score__st { margin: 8px 0; font-size: 21px; letter-spacing: 2px; color: #f2a100; }
.hv-score span { font-size: 14.5px; color: var(--hv-mute); }
.hv-quotes { display: grid; grid-template-columns: repeat(3, 1fr); }
.hv-quotes figure { margin: 0; padding: 0 28px; border-left: 1px solid var(--hv-line); }
.hv-quotes figure:first-child { padding-left: 0; border-left: 0; }
.hv-quotes blockquote { margin: 0; font-size: 16px; line-height: 1.55; }
.hv-quotes figcaption { margin-top: 14px; font-size: 14px; }
.hv-quotes figcaption b { display: block; font-weight: 800; }
.hv-quotes figcaption a,
.hv-quotes figcaption span { color: var(--hv-mute); }
.hv-quotes figcaption a:hover { color: var(--hv-brand); }

/* ---------- журнал ---------- */
.hv-jr a {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 24px;
	padding: 20px 0;
	border-top: 1px solid var(--hv-line);
	color: var(--hv-ink);
	font-size: clamp(1.1rem, 2vw, 1.5rem);
	font-weight: 700;
	letter-spacing: -.015em;
}
.hv-jr a:last-child { border-bottom: 1px solid var(--hv-line); }
.hv-jr a:hover span { color: var(--hv-brand); }
.hv-jr time { font-size: 14px; font-weight: 600; color: var(--hv-mute); white-space: nowrap; }


/* ---------- планшет ---------- */
@media (max-width: 1000px) {
	.hv-grid4 { grid-template-columns: repeat(2, 1fr); }
	.hv-dgrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
	.hv-dgrid2 { grid-template-columns: repeat(2, 1fr); }
	.hv-dgrid2 .hv-dt:last-child { display: none; }
	.hv-cgrid { grid-template-columns: repeat(3, 1fr); }
	.hv-clist { grid-template-columns: repeat(2, 1fr); }
	.hv-cl4 { grid-template-columns: repeat(2, 1fr); }
	.hv-wx, .hv-tys { grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
	.hv-mx { grid-template-columns: repeat(2, 1fr); }
	.hv-gd { grid-template-columns: repeat(3, 1fr); }
	.hv-places { grid-template-columns: repeat(3, 1fr); }
	.hv-trust__in { grid-template-columns: repeat(2, 1fr); }
	.hv-trust__in > div { margin-right: 0; padding-right: 16px; border-right: 0; }
	.hv-trust__in > div:nth-child(1),
	.hv-trust__in > div:nth-child(2) { border-bottom: 1px solid var(--hv-line); }
	.hv-gal__in { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
	.hv-gal::before { background: rgba(12, 24, 38, .86); }
	.hv-gal h2, .hv-gal p { max-width: none; }
	.hv-rev { grid-template-columns: 1fr; gap: 26px; }
	.hv-quotes { grid-template-columns: 1fr; gap: 22px; }
	.hv-quotes figure { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--hv-line); }
	.hv-quotes figure:first-child { padding-top: 0; border-top: 0; }
	.hv .hv-find .tp-find__form { grid-template-columns: 1fr 1fr; }
	.hv .hv-find .tp-find__field:nth-child(2) { border-right: 0; }
	.hv .hv-find .tp-find__submit { grid-column: 1 / -1; padding: 14px; }
	.hv .hv-find .tp-find__form--words { grid-template-columns: 1fr; }
}

/* ---------- телефон ---------- */
@media (max-width: 575.98px) {
	.hv-hero { min-height: 520px; }
	.hv-hero__in { padding-top: 60px; }
	.hv .hv-find .tp-find__form { grid-template-columns: 1fr; padding: 6px; }
	.hv .hv-find .tp-find__field { border-right: 0; border-bottom: 1px solid var(--hv-line); }
	.hv .hv-find .tp-find__field:nth-last-child(2) { border-bottom: 0; }
	.hv-find__foot { gap: 4px 14px; font-size: 14px; }
	.hv-sec { padding-top: 48px; }
	.hv-dt b, .hv-dt--big b { font-size: 17px; }
	.hv-dt--big { grid-column: span 2; grid-row: span 1; }
	.hv-cgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.hv-clist { gap: 0 20px; }
	.hv-co b { font-size: 19px; }
	.hv-co span { left: 14px; right: 14px; bottom: 13px; }
	.hv-grid4 { grid-template-columns: 1fr; gap: 34px; }
	.hv-grid4:not(.is-all) > .col:nth-child(n+5) { display: none; }
	.hv-places { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.hv-st:nth-child(n+7) { display: none; }
	.hv-wx, .hv-tys { grid-template-columns: 1fr; }
	.hv-ty:nth-child(n+9) { display: none; }
	.hv-gd { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.hv-mx { gap: 28px 18px; }
	.hv-gal { margin-top: 60px; }
	.hv-phone { width: 270px; }
}

/* ---------- добавки: остальные города, Петербург по категориям, новые направления, как это работает ---------- */
.hv-head__note { flex-basis: 100%; order: 3; margin: 2px 0 0; color: var(--hv-mute); font-size: 15px; }
.hv-cityrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; margin: 22px 0 0; font-size: 16px; font-weight: 600; }
.hv-cityrow em { font-style: normal; color: var(--hv-mute); font-weight: 600; }
.hv-cityrow a { color: var(--hv-ink); }
.hv-cityrow a:hover { color: var(--hv-brand); }
.hv-cityrow span { margin-left: 2px; font-size: 14px; font-weight: 500; color: var(--hv-mute); }
.hv-mx__feat { margin-bottom: 36px; }
.hv-mx__feat h4 { margin: 0 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -.015em; }
.hv-mx__feat h4 a { color: var(--hv-ink); }
.hv-mx__feat h4 a:hover { color: var(--hv-brand); }
.hv-mx__feat ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.hv-mx__feat li a { display: block; padding: 5px 0; font-size: 15.5px; font-weight: 600; color: #33414f; }
.hv-mx__feat li a:hover { color: var(--hv-brand); }
.hv-mx__feat .hv-mx__slice a { color: var(--hv-brand); }
.hv-how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.hv-how li { padding-top: 18px; border-top: 2px solid var(--hv-ink); }
.hv-how h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.015em; }
.hv-how p { margin: 0; font-size: 15.5px; line-height: 1.55; color: #3c4a5a; }
.hv .hv-how-sec .tp-faq { max-width: none; margin-top: 56px; }
.hv .hv-how-sec .tp-faq__title { margin: 0 0 14px; font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; text-align: left; }
.hv .hv-how-sec .accordion { --bs-accordion-border-width: 0; --bs-accordion-bg: transparent; }
.hv .hv-how-sec .accordion-item { border: 0; border-top: 1px solid var(--hv-line); border-radius: 0; background: transparent; }
.hv .hv-how-sec .accordion-item:last-child { border-bottom: 1px solid var(--hv-line); }
.hv .hv-how-sec .accordion-button { padding: 20px 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--hv-ink); font-size: 18px; font-weight: 700; }
.hv .hv-how-sec .accordion-button:not(.collapsed) { color: var(--hv-brand); background: transparent; }
.hv .hv-how-sec .accordion-body { padding: 0 0 20px; max-width: 820px; color: #3c4a5a; }
@media (max-width: 1000px) {
	.hv-mx__feat ul { grid-template-columns: repeat(2, 1fr); }
	.hv-how { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}
@media (max-width: 575.98px) {
	.hv-how { grid-template-columns: 1fr; }
	.hv-mx__feat h4 { font-size: 20px; }
}

/* ---------- правки по просмотру: круглые флаги, вопросы без рамок, читаемые подписи плиток ---------- */
.hv .hv-ct .tp-country__flag {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 50% !important;
	background: #fff;
}
.hv .hv-ct .tp-country__flag img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hv .hv-ct .tp-country__label { background: linear-gradient(180deg, transparent 30%, rgba(8, 16, 28, .84) 100%); }
.hv .hv-ct .tp-country__name,
.hv .hv-ct .tp-country__count { text-shadow: 0 1px 6px rgba(0, 0, 0, .55); }
.hv .hv-how-sec .accordion-item { border-radius: 0 !important; overflow: visible; margin: 0; }
.hv .hv-how-sec .accordion-item + .accordion-item { margin-top: 0; }
.hv .hv-how-sec .accordion-button:focus { box-shadow: none; border-color: transparent; }


/* ================= стилизация блоков (08.11.2026, второй проход) =================
   Ритм страницы: белое, тёплая полоса (погода), холодная полоса (гиды, как это работает).
   Без плашек-счётчиков, кружков с цифрами и рядов одинаковых пилюль. */
.hv-sec--tint,
.hv-sec--warm { margin-top: 72px; padding-top: 64px; padding-bottom: 64px; }
.hv-sec--tint { background: linear-gradient(180deg, #f2f6fb 0%, #eaf1f9 100%); }
.hv-sec--warm { background: linear-gradient(180deg, #fff8ec 0%, #fdf0d8 100%); }
.hv-sec--tint + .hv-sec,
.hv-sec--warm + .hv-sec { padding-top: 72px; }
.hv-sec:last-of-type.hv-sec--tint { padding-bottom: 64px; }

/* --- гарантии: контурные значки, акцент сверху --- */
.hv-trust { border-bottom: 0; background: linear-gradient(180deg, #fff 0%, #f6f9fd 100%); box-shadow: inset 0 -1px 0 var(--hv-line); }
.hv-trust__in > div { position: relative; padding-top: 30px; padding-bottom: 30px; }
.hv-ic { display: block; width: 34px; height: 34px; margin-bottom: 14px; color: var(--hv-brand); }
.hv-trust b { font-size: 18px; margin-bottom: 7px; }
.hv-trust p { line-height: 1.5; }

/* --- «Ещё города»: обычная строка со ссылками между линиями --- */
.hv-cityrow { margin: 26px 0 0; padding: 16px 0; border-top: 1px solid var(--hv-line); border-bottom: 1px solid var(--hv-line); gap: 8px 26px; }
.hv-cityrow em { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--hv-brand); }
.hv-cityrow a { position: relative; font-weight: 700; }
.hv-cityrow a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--hv-brand); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.hv-cityrow a:hover::after { transform: scaleX(1); }

/* --- погода: крупные градусы --- */
.hv-wx { gap: 14px 24px; }
.hv-wr { align-items: center; gap: 18px; padding: 18px 20px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .78); transition: background .2s, transform .2s; }
.hv-wr:hover { background: #fff; transform: translateY(-2px); }
.hv-wr__t { flex: none; min-width: 82px; font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: #c4730a; font-variant-numeric: tabular-nums; }
.hv-wr > div { flex: 1; min-width: 0; }
.hv-wr > span { align-self: flex-end; font-size: 13.5px; }

/* --- город × вид: Петербург в рамке-панели, заголовки городов с акцентом --- */
.hv-mx__feat { padding: 30px 32px 22px; border-radius: 18px; background: linear-gradient(135deg, #f2f6fb 0%, #e8f0fa 100%); }
.hv-mx__feat h4 { position: relative; padding-bottom: 12px; margin-bottom: 14px; }
.hv-mx__feat h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--hv-brand); }
.hv-mx h4 { position: relative; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--hv-line); }
.hv-mx h4::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 28px; height: 2px; background: var(--hv-brand); }
.hv-mx li a { position: relative; padding-left: 0; transition: padding-left .2s, color .2s; }
.hv-mx li a:hover, .hv-mx__feat li a:hover { padding-left: 6px; }

/* --- гиды: на холодной полосе, фото с подписью-наложением --- */
.hv-gd { gap: 24px; }
.hv-gd a { padding: 0; }
.hv-gd img { border-radius: 18px; box-shadow: 0 10px 28px rgba(20, 32, 46, .12); }
.hv-gd a:hover img { box-shadow: 0 16px 36px rgba(20, 32, 46, .2); }
.hv-gd b { margin-top: 14px; font-size: 18px; }
.hv-gd small { color: var(--hv-brand); font-weight: 700; }

/* --- отзывы: крупная оценка и кавычка у каждой цитаты --- */
.hv-score { padding-right: 28px; border-right: 1px solid var(--hv-line); }
.hv-score b { font-size: 84px; color: var(--hv-brand); }
.hv-quotes figure { position: relative; padding-top: 44px; }
.hv-quotes figure::before { content: "\201C"; position: absolute; left: 28px; top: -6px; font-family: Georgia, "Times New Roman", serif; font-size: 78px; line-height: 1; color: #bcd3f2; }
.hv-quotes figure:first-child::before { left: 0; }
.hv-quotes blockquote { font-size: 16.5px; }

/* --- журнал: строки реагируют на наведение, стрелка выезжает --- */
.hv-jr a { padding: 24px 12px; margin: 0 -12px; border-radius: 0; transition: background .2s, padding-left .25s; }
.hv-jr a:hover { background: #f5f8fc; padding-left: 24px; }
.hv-jr a span::after { content: "\2192"; display: inline-block; margin-left: 12px; color: var(--hv-brand); opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .25s; }
.hv-jr a:hover span::after { opacity: 1; transform: none; }
.hv-jr time { font-variant-numeric: tabular-nums; }

/* --- как это работает: крупные бледные номера, вопросы с плюсом --- */
.hv-how { counter-reset: hvhow; gap: 0 36px; }
.hv-how li { position: relative; counter-increment: hvhow; padding-top: 24px; border-top: 0; }
.hv-how li::before { content: counter(hvhow, decimal-leading-zero); display: block; margin-bottom: 8px; font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px #9db8dd; }
.hv-how li::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--hv-brand) 0, var(--hv-brand) 56px, #cbd8ea 56px); }
.hv .hv-how-sec .accordion-item { border-top-color: #cbd8ea; }
.hv .hv-how-sec .accordion-item:last-child { border-bottom-color: #cbd8ea; }
.hv .hv-how-sec .accordion-button::after {
	width: 22px; height: 22px; background-size: 22px; transform: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%230b63d1' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 4v14M4 11h14'/%3E%3C/svg%3E");
	transition: transform .25s;
}
.hv .hv-how-sec .accordion-button:not(.collapsed)::after {
	transform: rotate(45deg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%230b63d1' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 4v14M4 11h14'/%3E%3C/svg%3E");
}
.hv .hv-how-sec .accordion-button { transition: color .2s, padding-left .2s; }
.hv .hv-how-sec .accordion-button:hover { color: var(--hv-brand); padding-left: 6px; }

/* --- подвал: только на главной (тело страницы получает класс pex-home-v2) --- */
body.pex-home-v2 .tp-footer { position: relative; margin-top: 0; background: linear-gradient(180deg, #0f1a28 0%, #0a121c 100%); }
body.pex-home-v2 .tp-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #0b63d1 0%, #4aa3ff 50%, #0b63d1 100%); }
body.pex-home-v2 .tp-footer__logo { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
body.pex-home-v2 .tp-footer__title { position: relative; padding-bottom: 12px; margin-bottom: 14px; }
body.pex-home-v2 .tp-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: #4aa3ff; }
body.pex-home-v2 .tp-footer__list a { transition: color .2s, padding-left .2s; }
body.pex-home-v2 .tp-footer__list a:hover { color: #fff; padding-left: 4px; }
body.pex-home-v2 .tp-footer .btn-warning { background: var(--hv-brand, #0b63d1); border-color: var(--hv-brand, #0b63d1); color: #fff; font-weight: 800; border-radius: 11px; }

@media (max-width: 1000px) {
	.hv-score { padding-right: 0; border-right: 0; }
	.hv-quotes figure::before { left: 0; }
}
@media (max-width: 575.98px) {
	.hv-sec--tint, .hv-sec--warm { margin-top: 56px; padding-top: 48px; padding-bottom: 48px; }
	.hv-wr { padding: 14px 16px; }
	.hv-wr__t { min-width: 70px; font-size: 32px; }
	.hv-mx__feat { padding: 22px 20px 14px; }
	.hv-score b { font-size: 68px; }
	.hv-how li::before { font-size: 46px; }
	.hv-how li { margin-bottom: 30px; }
	.hv-how li:last-child { margin-bottom: 0; }
}


/* ================= третий проход: погода, журнал, как это работает, кнопка подвала ================= */

/* --- погода: фото-плитки городов, градусы крупно на фото --- */
.hv-sec--warm { background: #fff; padding-top: 0; padding-bottom: 0; margin-top: 0; }
.hv-sec--warm + .hv-sec { padding-top: 64px; }
.hv-sec--warm { padding-top: 64px; }
.hv-wx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hv-wt { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: linear-gradient(135deg, #f0a43a, #d9691e); color: #fff; }
.hv-wt:hover { color: #fff; }
.hv-wt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hv-wt:hover img { transform: scale(1.05); }
.hv-wt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 16, 28, .38) 0%, rgba(8, 16, 28, 0) 38%, rgba(8, 16, 28, .82) 100%); }
.hv-wt__t { position: absolute; left: 20px; top: 14px; z-index: 1; font-size: 54px; font-weight: 800; line-height: 1; letter-spacing: -.04em; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); font-variant-numeric: tabular-nums; }
.hv-wt__b { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; display: block; }
.hv-wt__b b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.015em; line-height: 1.15; }
.hv-wt__b small { display: block; margin-top: 2px; font-size: 14px; opacity: .92; }
.hv-wt__b i { display: block; margin-top: 8px; font-size: 14px; font-style: normal; font-weight: 800; }

/* --- журнал: дата крупно слева, заголовок справа --- */
.hv-jn { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; border-top: 3px solid var(--hv-ink); }
.hv-jn a { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--hv-line); color: var(--hv-ink); }
.hv-jn time { display: block; text-align: left; }
.hv-jn time b { display: block; font-size: 56px; font-weight: 800; line-height: .95; letter-spacing: -.04em; color: var(--hv-brand); }
.hv-jn time span { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hv-mute); }
.hv-jn__t { display: block; font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 800; line-height: 1.25; letter-spacing: -.015em; }
.hv-jn__t em { display: block; margin-top: 12px; font-size: 14.5px; font-style: normal; font-weight: 700; color: var(--hv-brand); }
.hv-jn a:hover .hv-jn__t { color: var(--hv-brand); }

/* --- как это работает: двухцветные иконки и стрелки между шагами --- */
.hv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 56px; margin: 0; padding: 0; list-style: none; }
.hv-steps li { position: relative; }
.hv-steps svg:not(.hv-steps__arrow) { display: block; width: 52px; height: 52px; margin-bottom: 18px; }
.hv-steps h3 { margin: 0 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -.015em; }
.hv-steps p { margin: 0; font-size: 15.5px; line-height: 1.55; color: #3c4a5a; }
.hv-steps__arrow { position: absolute; right: -44px; top: 14px; width: 30px; height: 30px; }
.hv-steps li:last-child .hv-steps__arrow { display: none; }

/* --- кнопка в подвале: без жёлтого свечения, белая, при наведении синяя --- */
body.pex-home-v2 .tp-footer .btn-warning,
body.pex-home-v2 .tp-footer .btn-warning:focus,
body.pex-home-v2 .tp-footer .btn-warning:active {
	background: #fff;
	border-color: #fff;
	color: #0f1a28;
	box-shadow: none;
	outline: 0;
	font-weight: 800;
	border-radius: 11px;
	padding: 11px 22px;
	transition: background .2s, color .2s, border-color .2s;
}
body.pex-home-v2 .tp-footer .btn-warning:hover { background: #0b63d1; border-color: #0b63d1; color: #fff; box-shadow: none; }
body.pex-home-v2 .tp-footer .btn-warning:focus-visible { outline: 2px solid #4aa3ff; outline-offset: 3px; }

@media (max-width: 1000px) {
	.hv-wx { grid-template-columns: repeat(2, 1fr); }
	.hv-jn { grid-template-columns: 1fr; }
	.hv-steps { grid-template-columns: repeat(2, 1fr); gap: 36px 40px; }
	.hv-steps__arrow { display: none; }
}
@media (max-width: 575.98px) {
	.hv-wx { grid-template-columns: 1fr; gap: 12px; }
	.hv-wt { aspect-ratio: 16 / 9; }
	.hv-wt__t { font-size: 44px; }
	.hv-jn a { grid-template-columns: 76px 1fr; gap: 16px; padding: 22px 0; }
	.hv-jn time b { font-size: 44px; }
	.hv-steps { grid-template-columns: 1fr; gap: 30px; }
}

/* кнопка подвала: сайтовый .btn-warning задаёт фон через !important, перебиваем тем же способом */
body.pex-home-v2 .tp-footer a.btn-warning,
body.pex-home-v2 .tp-footer a.btn-warning:focus,
body.pex-home-v2 .tp-footer a.btn-warning:active {
	background-color: #fff !important;
	border-color: #fff !important;
	color: #0f1a28;
	box-shadow: none;
	transform: none;
}
body.pex-home-v2 .tp-footer a.btn-warning:hover {
	background-color: #0b63d1 !important;
	border-color: #0b63d1 !important;
	color: #fff;
	box-shadow: none;
	transform: none;
}


/* ================= четвёртый проход: гарантии без иконок, прозрачная шапка поверх фото ================= */

/* --- гарантии: тёмная полоса, продолжение первого экрана; цифры и срок выделены цветом --- */
.hv-trust { background: #0f1a28; color: #fff; border-bottom: 0; box-shadow: none; }
.hv-trust__in > div { padding: 36px 30px 36px 0; margin-right: 30px; border-right: 1px solid rgba(255, 255, 255, .14); }
.hv-trust__in > div:last-child { border-right: 0; margin-right: 0; }
.hv-trust b { margin: 0 0 10px; font-size: 23px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.hv-trust b em { font-style: normal; color: #6fb1ff; }
.hv-trust p { max-width: 300px; font-size: 15px; line-height: 1.55; color: #aebdd0; }
@media (max-width: 1000px) {
	.hv-trust__in > div:nth-child(1),
	.hv-trust__in > div:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
	.hv-trust b { font-size: 21px; }
}
@media (max-width: 575.98px) {
	.hv-trust__in > div { padding: 24px 12px 24px 0; }
	.hv-trust b { font-size: 18px; }
	.hv-trust p { font-size: 14px; }
}

/* --- шапка на главной: поверх фото, прозрачная; при прокрутке (.is-stuck) становится обычной белой ---
   Структура шапки сайта не меняется, только вид. Работает под body.pex-home-v2. */
body.pex-home-v2 .site-header.position-relative,
body.pex-home-v2 .site-header {
	position: fixed !important;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
	transition: background-color .25s, box-shadow .25s, transform .25s;
}
body.pex-home-v2.admin-bar .site-header { top: 32px; }
body.pex-home-v2 .site-header:not(.is-stuck) {
	background: transparent !important;
	box-shadow: none !important;
}
body.pex-home-v2 .site-header:not(.is-stuck) .site-logo-text,
body.pex-home-v2 .site-header:not(.is-stuck) .navbar-brand { color: #fff; }
body.pex-home-v2 .site-header:not(.is-stuck) .custom-logo { content: url("assets/img/proex-mark-white.webp"); filter: none; }
body.pex-home-v2 .site-header:not(.is-stuck) .btn-outline-secondary {
	border-color: rgba(255, 255, 255, .55);
	background: transparent;
	color: #fff;
}
body.pex-home-v2 .site-header:not(.is-stuck) .btn-outline-secondary:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }
body.pex-home-v2 .site-header:not(.is-stuck) .site-header__menu { color: #fff; }
body.pex-home-v2 .site-header:not(.is-stuck) .site-nav { background: transparent; border-top-color: transparent; }
body.pex-home-v2 .site-header:not(.is-stuck) .site-nav__list a { color: #fff; }
body.pex-home-v2 .site-header:not(.is-stuck) .site-nav__list a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
body.pex-home-v2 .header-search { display: none; }
/* открытое мобильное меню всегда на белой плашке */
body.pex-home-v2 .site-header:has(.site-nav.is-open) { background: #fff !important; box-shadow: 0 2px 14px rgba(16, 24, 40, .10) !important; }
body.pex-home-v2 .site-header:has(.site-nav.is-open) .site-logo-text,
body.pex-home-v2 .site-header:has(.site-nav.is-open) .navbar-brand,
body.pex-home-v2 .site-header:has(.site-nav.is-open) .site-header__menu { color: var(--hv-ink, #14202e); }
body.pex-home-v2 .site-header:has(.site-nav.is-open) .custom-logo { content: normal; filter: none; }
body.pex-home-v2 .site-header:has(.site-nav.is-open) .btn-outline-secondary { color: var(--hv-ink, #14202e); border-color: #cfd8e3; }
body.pex-home-v2 .site-header:has(.site-nav.is-open) .site-nav { background: #fff; }
body.pex-home-v2 .site-header:has(.site-nav.is-open) .site-nav__list a { color: var(--hv-ink, #14202e); }

/* десктоп: логотип, меню и значки в одну строку, как в превью */
@media (min-width: 992px) {
	body.pex-home-v2 .site-header {
		display: flex;
		align-items: center;
		gap: 8px 32px;
		padding: 14px max(12px, calc(50% - 648px));
	}
	body.pex-home-v2 .site-header > .container,
	body.pex-home-v2 .site-header > .container > .site-header__bar,
	body.pex-home-v2 .site-nav > .container { display: contents; }
	body.pex-home-v2 .site-header__bar { padding: 0 !important; }
	body.pex-home-v2 .site-header .navbar-brand { order: 1; }
	body.pex-home-v2 .site-header .site-nav { order: 2; flex: 1; border: 0; padding: 0; }
	body.pex-home-v2 .site-header__bar > .d-flex { order: 3; }
	body.pex-home-v2 .site-nav__list a { font-size: 16px; padding: 10px 14px; }
	body.pex-home-v2 .site-logo-text { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
	/* первому экрану нужен запас сверху под шапку */
	.hv-hero__in { padding-top: 120px; }
	.hv-hero { min-height: 640px; }
}
/* затемнение верха фото, чтобы белые ссылки меню читались */
.hv-hero::after {
	background:
		linear-gradient(180deg, rgba(8, 16, 28, .66) 0%, rgba(8, 16, 28, .22) 20%, rgba(8, 16, 28, .18) 38%, rgba(8, 16, 28, .5) 66%, rgba(8, 16, 28, .9) 100%),
		linear-gradient(90deg, rgba(8, 16, 28, .45), rgba(8, 16, 28, 0) 60%);
}
@media (max-width: 991.98px) {
	.hv-hero { min-height: 560px; }
	.hv-hero__in { padding-top: 110px; }
}

/* Bootstrap держит .site-header__bar на d-flex с !important: растворяем блок тем же способом, чтобы значки встали справа */
@media (min-width: 992px) {
	body.pex-home-v2 .site-header > .container > .site-header__bar { display: contents !important; }
	body.pex-home-v2 .site-header > .container { display: contents !important; }
}

/* планшет: «Тип» занимает всю строку под страной и городом */
@media (min-width: 576px) and (max-width: 1000px) {
	.hv .hv-find .tp-find__form:not(.tp-find__form--words) .tp-find__field:nth-child(3) { grid-column: 1 / -1; border-right: 0; border-top: 1px solid var(--hv-line); }
}


/* ================= «Экскурсии в городах по видам»: фото города и ссылки со стрелкой ================= */
.hv-mx__feat { display: grid; grid-template-columns: 360px 1fr; gap: 0 40px; align-items: start; margin-bottom: 48px; padding: 0; border-radius: 0; background: none; }
.hv-mx__ph { position: relative; display: block; overflow: hidden; border-radius: 16px; background: linear-gradient(135deg, #2b4a73, #16273d); color: #fff; }
.hv-mx__ph:hover { color: #fff; }
.hv-mx__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hv-mx__ph:hover img { transform: scale(1.05); }
.hv-mx__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 16, 28, 0) 35%, rgba(8, 16, 28, .82) 100%); }
.hv-mx__ph span { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; display: block; }
.hv-mx__ph b { display: block; font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -.015em; }
.hv-mx__ph i { display: block; margin-top: 3px; font-size: 13.5px; font-style: normal; opacity: .92; }
.hv-mx__feat .hv-mx__ph { height: 100%; min-height: 330px; }
.hv-mx__feat .hv-mx__ph b { font-size: 32px; }
.hv-mx__feat .hv-mx__ph i { font-size: 15px; }
.hv-mx__c .hv-mx__ph { aspect-ratio: 16 / 9; margin-bottom: 8px; }
.hv-mx__feat ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin: 0; padding: 0; list-style: none; align-content: start; }
.hv-mx__c ul { margin: 0; padding: 0; list-style: none; }
.hv-mx__feat li a,
.hv-mx__c li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--hv-line);
	color: #26323f;
	font-size: 15.5px;
	font-weight: 600;
	transition: color .2s, padding-left .2s;
}
.hv-mx__feat li a:hover,
.hv-mx__c li a:hover { padding-left: 6px; color: var(--hv-brand); }
.hv-mx__feat li a::after,
.hv-mx__c li a::after { content: "\2192"; flex: none; color: var(--hv-brand); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.hv-mx__feat li a:hover::after,
.hv-mx__c li a:hover::after { opacity: 1; transform: none; }
.hv-mx__feat .hv-mx__slice a,
.hv-mx__c .hv-mx__slice a { color: var(--hv-brand); }
.hv-mx { gap: 44px 32px; }
.hv-mx__c li a { font-size: 15px; padding: 8px 0; }

@media (max-width: 1000px) {
	.hv-mx__feat { grid-template-columns: 1fr; gap: 20px; }
	.hv-mx__feat .hv-mx__ph { height: auto; min-height: 0; aspect-ratio: 16 / 8; }
	.hv-mx__feat ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
	.hv-mx { gap: 36px 16px; }
	.hv-mx__feat .hv-mx__ph { aspect-ratio: 16 / 10; }
	.hv-mx__feat .hv-mx__ph b { font-size: 26px; }
	.hv-mx__feat ul { grid-template-columns: 1fr 1fr; gap: 0 16px; }
	.hv-mx__c .hv-mx__ph b { font-size: 18px; }
	.hv-mx__feat li a, .hv-mx__c li a { font-size: 14.5px; }
}

/* ================= метка «Новый» и выравнивание карточек ================= */
/* Сайтовая полоса над фото заменена меткой в углу фото (стиль как у бейджа скидки). Только на главной. */
.hv .tp-new-badge {
	position: absolute;
	left: 10px;
	top: 10px;
	z-index: 6;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: auto;
	padding: 5px 10px 5px 8px;
	border-radius: 6px;
	background: #0f766e;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .05em;
	line-height: 1.2;
	text-transform: uppercase;
	box-shadow: 0 2px 10px rgba(8, 16, 28, .3);
}
.hv .tp-new-badge::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #8cf5d2; }
.hv .tp-new-badge:hover,
.hv .tp-new-badge:focus-visible { background: #0b5f59; color: #fff; }
/* у тура есть и скидка, и метка: скидка встаёт правее метки */
.hv .tp-product-card:has(.tp-new-badge) .tp-product-card__badge { left: 92px; }

/* Карточки одной высоты: кнопки «Подробнее» на одной линии независимо от длины описания */
.hv-grid4 > .col { display: flex; }
.hv .hv-grid4 .tp-product-card { flex: 1 1 auto; width: 100%; }

/* Полоса у правого края фото: сайт увеличивает при наведении ВСЕ кадры слайдера, и соседний кадр
   заходил на видимую область. Увеличиваем только показанный кадр, остальные не трогаем. */
.hv .tp-product-card:hover .tp-product-card__media .tp-card-slide:not(.is-active) { transform: none; }
.hv .tp-product-card__media .tp-card-slide { transition: transform .3s ease; }

/* ================= карточка: цельный блок с рамкой, значки с иконками, единая сетка зон ================= */
.hv .tp-product-card {
	border: 1px solid #dde4ec;
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
	box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}
.hv .tp-product-card:hover { border-color: #bfcde0; box-shadow: 0 12px 30px rgba(20, 32, 46, .10); }
.hv .tp-product-card__media { border-radius: 0; }
.hv .tp-card-body { padding: 16px 18px 18px; }

/* строка «город · длительность»: всегда одна строка */
.hv .tp-card-meta { flex-wrap: nowrap; min-height: 20px; overflow: hidden; white-space: nowrap; }
.hv .tp-card-meta > span { flex: 0 0 auto; }

/* значки: иконка + короткая подпись, одна строка фиксированной высоты, лишнее мягко уходит под край */
.hv .tp-card-chips {
	display: flex !important;
	flex-wrap: nowrap;
	gap: 6px;
	min-height: 28px;
	margin: 10px 0 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, #000 86%, transparent 100%);
	mask-image: linear-gradient(to right, #000 86%, transparent 100%);
}
.hv .tp-card-chips .tp-chip {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 6px;
	min-height: 28px;
	padding: 0 10px 0 8px;
	border-radius: 8px;
	background: #f0f4f9;
	color: #33414f;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}
.hv .tp-card-chips .tp-chip i { display: inline-block; color: #0b63d1; font-size: 14px; line-height: 1; }
.hv .tp-card-chips .tp-chip::after { content: attr(title); }
.hv .tp-card-chips .tp-chip + .tp-chip::before { content: none; }
.hv .tp-card-chips .tp-chip--free { background: #e6f4ee; color: #0b5c45; font-weight: 700; }
.hv .tp-card-chips .tp-chip--free i { color: #0b7a5a; }

/* зоны карточки одинаковой высоты: у соседних карточек заголовок, описание, цена и кнопка встают на одни линии */
.hv .tp-card-author { min-height: 28px; margin-top: 12px; }
.hv .tp-card-title { min-height: 2.56em; margin-top: 10px; }
.hv .tp-card-desc { min-height: 4.5em; margin-top: 8px; }
.hv .tp-card-body > .d-flex { min-height: 22px; }
.hv .tp-card-footer { align-items: flex-end; }
.hv .tp-card-footer > div:first-child { display: flex; flex-direction: column; justify-content: flex-end; min-height: 3.2rem; }
.hv .tp-card-price__rub { font-size: 12.5px; color: #5d6b7a; }

/* цена: три фиксированные строки (старая цена, цена, пересчёт в рубли) — цена всегда на одной высоте */
.hv .tp-card-footer > div:first-child { display: grid; grid-template-rows: 18px auto 16px; align-content: end; justify-content: start; min-height: 0; }
.hv .tp-card-price__old { grid-row: 1; line-height: 18px; }
.hv .tp-card-price__amount { grid-row: 2; }
.hv .tp-card-price__rub { grid-row: 3; line-height: 16px; }
/* значки: показываем только целиком поместившиеся, остальные скрываем без обрезки на полслове */
.hv .tp-card-chips { flex-wrap: wrap; height: 28px; overflow: hidden; -webkit-mask-image: none; mask-image: none; }

/* ================= карточка: жёсткая сетка зон ================= */
/* Каждая зона занимает свою строку фиксированной высоты, даже если элемента нет (нет автора, описания,
   рейтинга, значков): остальные зоны не двигаются, цена и кнопка всегда внизу. */
.hv .tp-card-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: 20px 28px 28px 44px 63px 22px 1fr;
	row-gap: 10px;
	align-content: start;
	padding: 16px 18px 18px;
}
.hv .tp-card-meta,
.hv .tp-card-chips,
.hv .tp-card-author,
.hv .tp-card-title,
.hv .tp-card-desc,
.hv .tp-card-body > .d-flex,
.hv .tp-card-footer { margin: 0 !important; min-height: 0; }
.hv .tp-card-meta { grid-row: 1; align-self: center; text-overflow: ellipsis; }
.hv .tp-card-chips { grid-row: 2; }
.hv .tp-card-author { grid-row: 3; align-self: center; justify-self: start; max-width: 100%; }
.hv .tp-card-title { grid-row: 4; overflow: hidden; }
.hv .tp-card-desc { grid-row: 5; overflow: hidden; }
.hv .tp-card-body > .d-flex { grid-row: 6; align-self: center; }
.hv .tp-card-footer { grid-row: 7; align-self: end; padding-top: 0; }
