/* =====================================================
   EXCURSION.CSS — стили страницы карточки экскурсии
   ===================================================== */

/* ===== HERO ===== */
.exc-hero {
	background: var(--dark);
	padding: 120px 0 80px;
	margin-bottom: 40px;
}

.exc-hero__layout {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 48px;
	align-items: start;
}

.exc-hero__breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 13px;
	color: rgba(255,255,255,0.5);
	margin-bottom: 20px;
}

.exc-hero__breadcrumb a {
	color: rgba(255,255,255,0.5);
	text-decoration: none;
	transition: color 0.2s;
}

.exc-hero__breadcrumb a:hover {
	color: var(--orange);
}

.exc-hero__breadcrumb span:last-child {
	color: rgba(255,255,255,0.8);
}

.exc-hero__badge {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 20px;
	background: rgba(245,166,35,0.15);
	border: 1px solid rgba(245,166,35,0.3);
	font-size: 12px;
	font-weight: 600;
	color: var(--orange);
	margin-bottom: 16px;
}

.exc-hero__title {
	font-size: clamp(26px, 3.5vw, 36px);
	font-weight: 800;
	color: var(--white);
	line-height: 1.2;
	margin-bottom: 12px;
}

.exc-hero__desc {
	font-size: 15px;
	color: rgba(255,255,255,0.6);
	line-height: 1.7;
	margin-bottom: 16px;
	max-width: 480px;
}

.exc-hero__price-row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.exc-hero__price {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.exc-hero__price-cur {
	font-size: 28px;
	font-weight: 800;
	color: var(--orange);
}

.exc-hero__price-old {
	font-size: 16px;
	color: rgba(255,255,255,0.4);
	text-decoration: line-through;
}

.exc-hero__cta {
	padding: 12px 28px;
	font-size: 14px;
	font-weight: 700;
	border-radius: 10px;
	white-space: nowrap;
	text-decoration: none;
}

/* --- Slider --- */
.exc-hero__slider {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
}

.exc-hero__slider-viewport {
	overflow: hidden;
	border-radius: 16px;
	aspect-ratio: 16/10;
}

.exc-hero__slider-track {
	display: flex;
	transition: transform 0.5s ease;
	will-change: transform;
}

.exc-hero__slide {
	flex-shrink: 0;
	aspect-ratio: 16/10;
	overflow: hidden;
}

.exc-hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.exc-hero__slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,0.15);
	backdrop-filter: blur(8px);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s, opacity 0.2s;
	opacity: 0;
	z-index: 2;
}

.exc-hero__slider:hover .exc-hero__slider-arrow {
	opacity: 1;
}

.exc-hero__slider-arrow:hover {
	background: rgba(255,255,255,0.3);
}

.exc-hero__slider-arrow--prev {
	left: 12px;
}

.exc-hero__slider-arrow--next {
	right: 12px;
}

.exc-hero__slider-dots {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
	z-index: 2;
}

.exc-hero__slider-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,0.4);
	cursor: pointer;
	padding: 0;
	transition: background 0.2s, transform 0.2s;
}

.exc-hero__slider-dot.active {
	background: var(--orange);
	transform: scale(1.3);
}

.exc-hero__slider-dot:hover {
	background: rgba(255,255,255,0.7);
}

/* ===== ДНИ ВЫЕЗДА ===== */
.exc-schedule__days {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 20px 24px;
	margin-bottom: 32px;
}

.exc-schedule__icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #fff7ed;
	border: 1px solid #fde8c4;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--orange);
	flex-shrink: 0;
}

.exc-schedule__label {
	font-size: 14px;
	font-weight: 600;
	color: var(--dark);
	flex-shrink: 0;
}

.exc-schedule__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.exc-schedule__tag {
	padding: 6px 14px;
	border-radius: 20px;
	background: var(--bg-light);
	font-size: 13px;
	color: var(--text);
	font-weight: 500;
	transition: background 0.2s;
}

.exc-schedule__tag:hover {
	background: #e5e7eb;
}

/* ===== КОНТЕНТ + САЙДБАР ===== */
.exc-content {
	padding: 0 0 48px;
}

.exc-content__layout {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 48px;
	align-items: start;
}

.exc-about {
	padding: 0;
}

.exc-section-title {
	font-size: 24px;
	font-weight: 700;
	color: var(--dark);
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 12px;
}

.exc-section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 3px;
	background: var(--orange);
	border-radius: 2px;
}

.exc-about__text {
	font-size: 15px;
	color: var(--text);
	line-height: 1.8;
	margin-bottom: 20px;
}

.exc-about__program-label {
	font-size: 15px;
	font-weight: 600;
	color: var(--dark);
	margin-bottom: 10px;
}

.exc-about__list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.exc-about__list li {
	font-size: 14px;
	color: var(--text);
	line-height: 1.6;
	padding-left: 20px;
	position: relative;
}

.exc-about__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--orange);
}

/* ===== САЙДБАР ===== */
.exc-sidebar {
	position: sticky;
	top: 20px;
}

.exc-sidebar__card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.exc-sidebar__price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 4px;
}

.exc-sidebar__price-old {
	font-size: 16px;
	color: var(--text-secondary);
	text-decoration: line-through;
}

.exc-sidebar__price-cur {
	font-size: 28px;
	font-weight: 800;
	color: var(--dark);
}

.exc-sidebar__details {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border);
}

.exc-sidebar__details li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.exc-sidebar__detail-icon {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.exc-sidebar__detail-icon--orange { background: #fff7ed; color: var(--orange); }
.exc-sidebar__detail-icon--blue   { background: #eff6ff; color: #3b82f6; }
.exc-sidebar__detail-icon--yellow { background: #fefce8; color: #ca8a04; }
.exc-sidebar__detail-icon--green  { background: #f0fdf4; color: #16a34a; }
.exc-sidebar__detail-icon--red    { background: #fff1f2; color: #e11d48; }

.exc-sidebar__detail-label {
	color: var(--text-secondary);
	flex-shrink: 0;
}

.exc-sidebar__detail-value {
	color: var(--dark);
	font-weight: 500;
}

.exc-sidebar__btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 14px;
	font-size: 15px;
	font-weight: 700;
	border-radius: 10px;
	margin-bottom: 10px;
	text-decoration: none;
	transition: all 0.25s;
}

.exc-sidebar__btn-question {
	display: block;
	width: 100%;
	padding: 13px;
	font-size: 14px;
	font-weight: 600;
	color: var(--orange);
	background: transparent;
	border: 1.5px solid var(--orange);
	border-radius: 10px;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.25s;
	margin-bottom: 20px;
}

.exc-sidebar__btn-question:hover {
	background: #fff7ed;
}

.exc-sidebar__help {
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.exc-sidebar__help-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--dark);
	margin-bottom: 4px;
}

.exc-sidebar__help-text {
	font-size: 12px;
	color: var(--text-secondary);
	line-height: 1.5;
	margin-bottom: 10px;
}

.exc-sidebar__phone {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: var(--dark);
	text-decoration: none;
	margin-bottom: 12px;
	transition: color 0.2s;
}

.exc-sidebar__phone:hover {
	color: var(--orange);
}

.exc-sidebar__socials {
	display: flex;
	gap: 8px;
}

.exc-sidebar__social {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: var(--white);
	transition: transform 0.2s, box-shadow 0.2s;
}

.exc-sidebar__social:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.exc-sidebar__social--wa { background: #25D366; }
.exc-sidebar__social--tg { background: #0088CC; }

/* ===== ПРОГРАММА ТУРА ===== */
.exc-program {
	background: var(--bg-light);
}

.exc-program__layout {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 48px;
	align-items: start;
}

.exc-timeline {
	display: flex;
	flex-direction: column;
}

.exc-timeline__item {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 0 16px;
	padding-bottom: 28px;
	position: relative;
}

.exc-timeline__item:last-child {
	padding-bottom: 0;
}

.exc-timeline__item:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 9px;
	top: 28px;
	bottom: 0;
	width: 2px;
	background: var(--border);
}

.exc-timeline__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--orange);
	margin-top: 5px;
	z-index: 1;
	flex-shrink: 0;
	position: relative;
	left: 4px;
}

.exc-timeline__content h4 {
	font-size: 15px;
	font-weight: 700;
	color: var(--dark);
	margin-bottom: 4px;
}

.exc-timeline__content p {
	font-size: 13px;
	color: var(--text-secondary);
	line-height: 1.6;
}

.exc-program__sidebar {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.exc-program__include-block,
.exc-program__exclude-block {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 24px;
}

.exc-program__sub-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--dark);
	margin-bottom: 16px;
}

.exc-program__check-list,
.exc-program__cross-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.exc-program__check-list li,
.exc-program__cross-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--text);
	line-height: 1.5;
}

.exc-program__check-list li svg,
.exc-program__cross-list li svg {
	flex-shrink: 0;
}

/* ===== ФОТОГРАФИИ ===== */
.exc-gallery {
	padding: 48px 0;
}

.exc-gallery__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
}

.exc-gallery__item {
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 4/3;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
}

.exc-gallery__item:hover {
	transform: scale(1.02);
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.exc-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Лайтбокс */
.exc-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.92);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.exc-lightbox.active {
	display: flex;
}

.exc-lightbox__img-wrap {
	max-width: 90vw;
	max-height: 85vh;
}

.exc-lightbox__img-wrap img {
	max-width: 100%;
	max-height: 85vh;
	object-fit: contain;
	border-radius: 8px;
	display: block;
}

.exc-lightbox__close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: rgba(255,255,255,0.1);
	border: none;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--white);
	transition: background 0.2s;
}

.exc-lightbox__close:hover {
	background: rgba(255,255,255,0.2);
}

.exc-lightbox__prev,
.exc-lightbox__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.1);
	border: none;
	border-radius: 50%;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--white);
	transition: background 0.2s;
}

.exc-lightbox__prev { left: 20px; }
.exc-lightbox__next { right: 20px; }

.exc-lightbox__prev:hover,
.exc-lightbox__next:hover {
	background: rgba(255,255,255,0.2);
}

/* ===== ОТЗЫВЫ ===== */
.exc-reviews {
	padding: 48px 0;
	background: var(--bg-light);
}

.exc-reviews__layout {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 36px 48px;
}

.exc-reviews__left {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.exc-reviews__rating {
	font-size: 48px;
	font-weight: 800;
	color: var(--dark);
	line-height: 1;
}

.exc-reviews__stars {
	display: flex;
	gap: 2px;
}

.exc-reviews__count {
	font-size: 14px;
	font-weight: 500;
	color: var(--dark);
}

.exc-reviews__source {
	font-size: 13px;
	color: var(--text-secondary);
}

.exc-reviews__right {
	text-align: right;
	flex-shrink: 0;
}

.exc-reviews__yandex-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	border: 1.5px solid var(--border);
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--dark);
	text-decoration: none;
	transition: all 0.2s;
	white-space: nowrap;
}

.exc-reviews__yandex-btn:hover {
	border-color: var(--orange);
	background: #fff7ed;
}

.exc-reviews__note {
	font-size: 12px;
	color: var(--text-secondary);
	margin-top: 8px;
}

/* ===== ВАМ ТАКЖЕ МОЖЕТ ПОНРАВИТЬСЯ ===== */
.exc-other {
	padding: 48px 0;
}

.exc-other__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.exc-other__card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s, box-shadow 0.25s;
}

.exc-other__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 28px rgba(0,0,0,0.10);
}

.exc-other__card-img {
	position: relative;
	height: 200px;
	overflow: hidden;
}

.exc-other__card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s;
}

.exc-other__card:hover .exc-other__card-img img {
	transform: scale(1.05);
}

.exc-other__card-badge {
	position: absolute;
	bottom: 10px;
	left: 10px;
	padding: 4px 10px;
	border-radius: 6px;
	background: rgba(0,0,0,0.55);
	color: var(--white);
	font-size: 11px;
	font-weight: 500;
	backdrop-filter: blur(4px);
}

.exc-other__card-body {
	padding: 16px 18px 20px;
}

.exc-other__card-body h4 {
	font-size: 15px;
	font-weight: 700;
	color: var(--dark);
	margin-bottom: 8px;
	line-height: 1.3;
}

.exc-other__card-rating {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	font-weight: 600;
	color: var(--dark);
	margin-bottom: 10px;
}

.exc-other__card-reviews {
	font-weight: 400;
	color: var(--text-secondary);
}

.exc-other__card-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.exc-other__card-price-cur {
	font-size: 17px;
	font-weight: 800;
	color: var(--dark);
}

.exc-other__card-price-old {
	font-size: 13px;
	color: var(--text-secondary);
	text-decoration: line-through;
}

/* ===== T-BANK ROW ===== */
.exc-hero__cta-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.exc-sidebar__btn-row {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 10px;
}

.exc-sidebar__btn-row tinkoff-create-button {
	width: 100%;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
	.exc-hero__layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.exc-content__layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.exc-program__layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.exc-gallery__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.exc-other__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.exc-reviews__layout {
		flex-direction: column;
		text-align: center;
		padding: 28px;
	}

	.exc-reviews__right {
		text-align: center;
	}
}

@media (max-width: 768px) {
	.exc-hero__title {
		font-size: 24px;
	}

	.exc-hero__slider-arrow {
		opacity: 1;
		width: 36px;
		height: 36px;
	}

	.exc-gallery__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.exc-other__grid {
		grid-template-columns: 1fr;
	}

	.exc-reviews__left {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.exc-hero__price-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.exc-hero__cta {
		width: 100%;
		text-align: center;
	}

	.exc-hero__slider-viewport {
		aspect-ratio: 4/3;
	}

	.exc-hero__slide {
		aspect-ratio: 4/3;
	}

	.exc-hero__slider-arrow {
		width: 32px;
		height: 32px;
	}

	.exc-gallery__grid {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.exc-timeline__item {
		grid-template-columns: 44px 16px 1fr;
		gap: 0 10px;
	}

	.exc-timeline__item:not(:last-child)::after {
		left: 60px;
	}

	.exc-schedule__days {
		flex-direction: column;
		align-items: flex-start;
	}
}
