/* Плавная прокрутка по якорям */
html { scroll-behavior: smooth; }

/* Переключатель языков в шапке */
.lang_switcher {
	display: flex;
	align-items: center;
	gap: 2px;
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 500;
}
.lang_switcher__link {
	color: #254A72;
	text-decoration: none;
	padding: 6px 10px;
	border-radius: 6px;
	transition: color 0.2s, background-color 0.2s;
}
.lang_switcher__link:hover {
	color: #1a3554;
	background: rgba(37, 74, 114, 0.08);
}
.lang_switcher__link.is-active {
	font-weight: 700;
	color: #254A72;
	background: rgba(37, 74, 114, 0.12);
}
.lang_switcher__sep {
	color: rgba(37, 74, 114, 0.4);
	font-weight: 400;
	user-select: none;
}
/* ПК: в одной линии с контактами */
.header_lang {
	margin-right: 8px;
    margin-left: 10px;
	align-self: center;
}
/* Мобильное меню: сверху списка */
.mob_lang {
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(37, 74, 114, 0.15);
	justify-content: center;
}
.mob_lang .lang_switcher__link {
	padding: 8px 14px;
	font-size: 15px;
}
/* До 560px: показываем только другой язык (текущий скрыт для экономии места) */
/* @media (max-width: 375px) {
	.lang_switcher {
		display: none;
	}
	.lang_switcher__sep {
		display: none;
	}

} */
@media (max-width: 560px) {
    .logo img{
        max-width: 135px;
    }
}
/* Блоки инфо тура: Группа, Дата старта, Цена (отдельно над формой) */
.tour-meta-blocks {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2rem;
	margin-bottom: 1.5rem;
	justify-content: center;
}
.tour-meta-block {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
	padding: 0.85rem 1.25rem;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.tour-meta-block__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.35);
	color: #254A72;
}
.tour-meta-block__icon i {
	font-size: 1.2rem;
	color: inherit;
}
.tour-meta-block__text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}
.tour-meta-block__label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.tour-meta-block__value {
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	line-height: 1.25;
}
@media (max-width: 560px) {
	.tour-meta-blocks {
		flex-direction: column;
		gap: 0.75rem;
		margin-bottom: 1.25rem;
	}
	.tour-meta-block {
		width: 100%;
	}
}

/* Блок заявки на тур: Украина — Париж (встраивается в баннер) */
.tour-request {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	align-items: flex-start;
	max-width: 420px;
	margin: 0 auto;
	padding: 1.25rem 1.35rem;
	background: rgba(255, 255, 255, 0.45);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.tour-request__info {
	flex: 1 1 260px;
	min-width: 0;
}

.tour-request__title {
	margin: 0 0 0.75rem;
	font-family: 'Unbounded', sans-serif;
	font-weight: 700;
	font-size: 1.35rem;
	line-height: 1.3;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.tour-request__desc {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tour-request__list {
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
	font-size: 1rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.92);
	line-height: 1.7;
	letter-spacing: 0.01em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.tour-request__list li {
	position: relative;
	padding-left: 1.4rem;
	margin-bottom: 0.5rem;
}

.tour-request__list li:last-child {
	margin-bottom: 0;
}

.tour-request__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
}

.tour-request__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tour-request__meta-item strong {
	font-weight: 700;
	margin-right: 0.25rem;
}

.tour-request__form {
	flex: 1 1 280px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.tour-request__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tour-request__field {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	flex: 1 1 140px;
	min-width: 0;
}

.tour-request__field_full {
	flex: 1 1 100%;
}

.tour-request__label {
	font-size: 0.8rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.95);
	letter-spacing: 0.02em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tour-request__field input {
	width: 100%;
	padding: 0.5rem 0.85rem;
	font-size: 0.95rem;
	font-family: inherit;
	line-height: 1.4;
	color: #1a1a1a;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 8px;
	transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.tour-request__field input::placeholder {
	color: #777;
}

.tour-request__field input:hover {
	border-color: rgba(255, 255, 255, 0.9);
	background: #fff;
}

.tour-request__field input:focus {
	outline: none;
	border-color: #01AEED;
	background: #fff;
	box-shadow: 0 0 0 2px rgba(1, 174, 237, 0.25);
}

.tour-request__submit {
	margin-top: 0.25rem;
}

.tour-request__submit .btn {
	width: 100%;
	display: inline-block;
	text-align: center;
	padding: 0.85rem 1.5rem;
	font-size: 1rem;
	font-weight: 700;
	border-radius: 10px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: opacity 0.2s, transform 0.1s;
	white-space: nowrap;
}

/* Ярко-голубая кнопка как «Подобрать тур» под блоком */
.tour-request__submit .btn {
	background: #01AEED;
	color: #fff;
}

.tour-request__submit .btn:hover {
	opacity: 0.95;
	background: #0199d4;
}

.tour-request__submit .btn:active {
	transform: scale(0.98);
}

/* Адаптив */
@media (max-width: 640px) {
	.tour-request {
		padding: 1.5rem 1.25rem;
		gap: 1.5rem;
	}

	.tour-request__title {
		font-size: 1.2rem;
	}

	.tour-request__desc {
		font-size: 0.9rem;
	}

	.tour-request__meta {
		flex-direction: column;
		gap: 0.5rem;
	}

	.tour-request__row {
		flex-direction: column;
		gap: 0.75rem;
	}

	.tour-request__field {
		flex: 1 1 100%;
	}

	.tour-request__field input {
		padding: 0.75rem 1rem;
	}

	.tour-request__submit .btn {
		padding: 0.9rem 1.25rem;
	}
}

@media (max-width: 480px) {
	.tour-request {
		padding: 1.25rem 1rem;
		border-radius: 12px;
	}

	.tour-request__title {
		font-size: 1.1rem;
	}

	.tour-request__list {
		font-size: 0.85rem;
	}

	.tour-request__meta {
		font-size: 0.8rem;
	}
}

/* Футер: маршрут Украина → Париж в одну строку, флаг рядом с текстом */
.footer_span .footer-route {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	gap: 0.4em;
	flex-wrap: nowrap;
	margin-bottom: 5px;
}
.footer_span .footer-route .footer-route-part {
	display: inline-flex !important;
	align-items: center;
	gap: 0.35em;
	white-space: nowrap;
}
.footer_span .footer-route .footer-route-part .fi {
	width: 1.2em;
	height: 0.9em;
	display: inline-block;
	flex-shrink: 0;
}
.footer_span .footer-route .footer-route-arrow {
	display: inline !important;
	opacity: 0.9;
}

/* Баннер: фоновое видео с YouTube и оверлей */
.index_banner_has-video {
	background: none !important;
}
.index_banner_has-video::before {
	display: none;
}
.index_banner__video-wrap {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	overflow: hidden;
}
.index_banner__video-wrap .index_banner__video-iframe {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100%;
	height: 100%;
	min-width: 177.78vh;
	min-height: 56.25vw;
	transform: translate(-50%, -50%);
	pointer-events: none;
}
.index_banner__video-wrap .index_banner__video-iframe iframe {
	position: absolute;
	left: 0;
	top: 0;
	width: 100% !important;
	height: 100% !important;
}
.index_banner__overlay {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(0, 20, 40, 0.5) 0%, rgba(0, 13, 26, 0.6) 50%, rgba(0, 10, 22, 0.75) 100%);
}
.index_banner_has-video .contanier {
	position: relative;
	z-index: 2;
}

/* Видео-фон YouTube: обёртка и слой под iframe */
.video-bg-wrap {
	position: relative;
	overflow: hidden;
}
.video-bg-wrap .video-bg-iframe-wrap {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100%;
	height: 100%;
	min-width: 177.78vh;
	min-height: 56.25vw;
	transform: translate(-50%, -50%);
	pointer-events: none;
}
.video-bg-wrap .video-bg-iframe-wrap iframe {
	position: absolute;
	left: 0;
	top: 0;
	width: 100% !important;
	height: 100% !important;
}
.video-bg-overlay {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.15);
	pointer-events: none;
}
.video-bg-controls {
	position: absolute;
	right: 20px;
	bottom: 20px;
	display: flex;
	gap: 10px;
	align-items: center;
	z-index: 5;
}
.video-bg-btn {
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: #254A72;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, color 0.2s;
	pointer-events: auto;
}
.video-bg-btn:hover {
	background: #fff;
	color: #1a3554;
}
.video-bg-btn svg {
	width: 24px;
	height: 24px;
}
.video-bg-wrap.is-playing .video-bg-btn-playpause .icon-pause { display: block !important; }
.video-bg-wrap.is-playing .video-bg-btn-playpause .icon-play { display: none !important; }
.video-bg-wrap.is-muted .video-bg-btn-mute .icon-muted { display: block !important; }
.video-bg-wrap.is-muted .video-bg-btn-mute .icon-unmuted { display: none !important; }
.video-bg-wrap:not(.is-muted) .video-bg-btn-mute .icon-muted { display: none !important; }
.video-bg-wrap:not(.is-muted) .video-bg-btn-mute .icon-unmuted { display: block !important; }

/* Оверлей футера поверх фонового изображения */
.section_img_footer {
	position: relative;
}
.section_img_footer .footer-overlay {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	pointer-events: none;
	z-index: 0;
	border-radius: 0 0 30px 30px;
}
.section_img_footer .contanier {
	position: relative;
	z-index: 1;
}

/* Micromodal: модальные окна */
.modal.micromodal-wrapper {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	overflow-x: hidden;
	overflow-y: auto;
}
.modal.micromodal-wrapper.is-open {
	display: block;
}
.modal__overlay {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	min-width: 0;
	background: rgba(0, 0, 0, 0.52);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
}
.modal__container {
	position: relative;
	background: #fff;
	border-radius: 20px;
	max-width: min(480px, 100%);
	width: 100%;
	min-width: 0;
	max-height: min(90vh, 600px);
	overflow-x: hidden;
	overflow-y: auto;
	box-sizing: border-box;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.04);
	flex-shrink: 0;
	margin: auto;
}
.modal.micromodal-wrapper .modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 28px 28px 20px;
	min-width: 0;
	box-sizing: border-box;
    position: relative;
}
@media (max-width: 767px) {
	.modal__overlay {
		padding: 12px;
		align-items: flex-start;
		padding-top: max(12px, env(safe-area-inset-top));
		padding-bottom: max(12px, env(safe-area-inset-bottom));
		padding-left: max(12px, env(safe-area-inset-left));
		padding-right: max(12px, env(safe-area-inset-right));
	}
	.modal__container {
		max-height: min(88vh, 100%);
		border-radius: 16px;
		box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
	}
	.modal.micromodal-wrapper .modal__header {
		padding: 20px 20px 16px;
		gap: 12px;
	}
}
@media (max-width: 479px) {
	.modal__overlay {
		padding: 8px;
		padding-top: max(8px, env(safe-area-inset-top));
		padding-bottom: max(8px, env(safe-area-inset-bottom));
		padding-left: max(8px, env(safe-area-inset-left));
		padding-right: max(8px, env(safe-area-inset-right));
	}
	.modal__container {
		border-radius: 14px;
	}
	.modal.micromodal-wrapper .modal__header {
		padding: 18px 16px 14px;
	}
}
.modal.micromodal-wrapper .modal__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
	color: #254A72;
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}
@media (max-width: 767px) {
	.modal.micromodal-wrapper .modal__title {
		font-size: 1.125rem;
	}
}
@media (max-width: 479px) {
	.modal.micromodal-wrapper .modal__title {
		font-size: 1.0625rem;
		line-height: 1.3;
	}
}
.modal.micromodal-wrapper .modal__close {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 1px solid rgba(37, 74, 114, 0.2);
	background-color: #f5f5f5;
	color: #254A72;
	cursor: pointer;
	border-radius: 10px;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
	font-size: 24px;
	line-height: 1;
	font-family: inherit;
}
.modal.micromodal-wrapper .modal__close::before {
	content: "X";
	display: block;
	font-weight: 300;
}
.modal.micromodal-wrapper .modal__close:hover {
	background-color: rgba(37, 74, 114, 0.12);
	border-color: rgba(37, 74, 114, 0.35);
	color: #1a3554;
}
.modal.micromodal-wrapper .modal__close:focus {
	outline: 2px solid #254A72;
	outline-offset: 2px;
}
.modal.micromodal-wrapper .modal__content {
	padding: 0 28px 28px;
}
/* Кнопка отправки в модалке: по ширине и высоте как поля, в стиле кнопки */
.modal.micromodal-wrapper .request-form__submit-row {
	justify-content: stretch;
	width: 100%;
	margin-top: 4px;
}
.modal.micromodal-wrapper .request-form__submit-row > div {
	width: 100%;
	min-width: 0;
}
.modal.micromodal-wrapper .request-form__submit-row .btn,
.modal.micromodal-wrapper .request-form__submit-row button.btn {
	width: 100%;
	min-height: 60px;
	height: auto;
	padding: 18px 20px;
	box-sizing: border-box;
	font-size: 16px;
	line-height: 1.35;
	border-radius: 4px;
}
@media (max-width: 767px) {
	.modal.micromodal-wrapper .modal__content {
		padding: 0 20px 24px;
	}
	.modal.micromodal-wrapper .modal__close {
		min-width: 40px;
		min-height: 40px;
		width: 40px;
		height: 40px;
		font-size: 22px;
		border-radius: 8px;
	}
}
@media (max-width: 479px) {
	.modal.micromodal-wrapper .modal__content {
		padding: 0 16px 20px;
	}
	.modal.micromodal-wrapper .modal__close {
		min-width: 38px;
		min-height: 38px;
		width: 38px;
		height: 38px;
		font-size: 20px;
	}
}

/* Секция «Тур без лишних забот» — карточки с иконками */
.section_about_new .section_about.about_cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}
.section_about_new .about_item.about_card {
	width: 100%;
	margin-top: 0;
	padding: 1.75rem 1.25rem;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(37, 74, 114, 0.06);
	border: 1px solid rgba(0, 124, 145, 0.12);
	border-top: 4px solid rgba(1, 174, 237, 0.6);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: box-shadow 0.25s ease, border-top-color 0.25s ease, transform 0.2s ease;
}
.section_about_new .about_item.about_card:hover {
	box-shadow: 0 8px 28px rgba(37, 74, 114, 0.1);
	border-top-color: rgba(1, 174, 237, 1);
	transform: translateY(-2px);
}
.section_about_new .about_card__icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(1, 174, 237, 0.15), rgba(0, 124, 145, 0.2));
	color: #007C91;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	font-size: 1.35rem;
}
.section_about_new .about_item.about_card .about_name {
	margin-bottom: 0.5rem;
	font-size: 1.2rem;
	line-height: 1.3;
}
.section_about_new .about_item.about_card .about_line {
	width: 40px;
	height: 3px;
	background: linear-gradient(90deg, transparent, rgba(1, 174, 237, 0.6), transparent);
	border-radius: 2px;
	margin-bottom: 0.75rem;
}
.section_about_new .about_item.about_card .about_line:before {
	display: none;
}
.section_about_new .about_item.about_card .about_text {
	font-size: 0.9rem;
	line-height: 1.45;
	opacity: 0.95;
}
@media (max-width: 991px) {
	.section_about_new .section_about.about_cards {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 567px) {
	.section_about_new .section_about.about_cards {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	.section_about_new .about_item.about_card {
		padding: 1.25rem 1rem;
	}
	.section_about_new .about_item.about_card .about_name {
		font-size: 1.1rem;
	}
}
