/* ============================================================
   Посадочная «Весеннее путешествие в Китай — 2027»
   Шаблон: page-china-trip-2027.php. Цвета — из презентации тура
   (красный + золото), формы и шрифт — как на остальном сайте.
   ============================================================ */

.ctrip {
	--ct-red: #b5110f;
	--ct-red-dark: #8e0d0c;
	--ct-gold: #ffcd20;
	--ct-ink: #241442;
	--ct-text: #333;
	--ct-muted: #6f6a7a;
	--ct-soft: #fbf3ef;
	--ct-radius: 30px;
	color: var(--ct-text);
	overflow: hidden;
}

.ctrip * { transition: none; }
.ctrip img { display: block; max-width: 100%; }

.ctrip-section { padding: 70px 0; }
.ctrip-section--soft { background: var(--ct-soft); }

.ctrip-title {
	margin: 0 0 32px;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--ct-red);
}
.ctrip-title--small { font-size: 28px; margin-bottom: 20px; }
.ctrip-title--light { color: #fff; }

.ctrip-muted { color: var(--ct-muted); }

.ctrip-btn {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	border: 2px solid transparent;
	transition: background-color .2s, color .2s;
}
.ctrip-btn--yellow { background: var(--ct-gold); color: #282727; }
.ctrip-btn--yellow:hover { background: #fff; color: var(--ct-red); }
.ctrip-btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.ctrip-btn--ghost:hover { background: #fff; color: var(--ct-red); }

.ctrip-list { margin: 0 0 16px; padding: 0; list-style: none; }
.ctrip-list li { position: relative; padding-left: 24px; margin-bottom: 10px; line-height: 1.5; }
.ctrip-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ct-gold);
	box-shadow: 0 0 0 3px rgba(255, 205, 32, .25);
}
.ctrip-list b { color: var(--ct-ink); font-weight: 600; }
.ctrip-list--light li { color: #fff; }
.ctrip-list--light b { color: #fff; }

/* ---------- Первый экран ---------- */
.ctrip-hero { padding: 30px 0 10px; }
.ctrip-hero__card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 560px;
	padding: 60px 0 60px 64px;
	border-radius: var(--ct-radius);
	background: var(--ct-red);
	color: #fff;
	overflow: hidden;
}
.ctrip-hero__content { position: relative; z-index: 2; flex: 1 1 55%; }
.ctrip-hero__art { flex: 1 1 45%; align-self: flex-end; margin-bottom: -60px; }
.ctrip-hero__art img { width: 100%; height: auto; }
.ctrip-hero__date {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 50px;
	background: rgba(255, 255, 255, .14);
	color: var(--ct-gold);
	font-weight: 600;
}
.ctrip-hero__title {
	margin: 20px 0 16px;
	font-size: 60px;
	font-weight: 700;
	line-height: 1.08;
	color: #fff;
}
.ctrip-hero__title span { color: var(--ct-gold); }
.ctrip-hero__lead { max-width: 520px; margin: 0 0 28px; font-size: 20px; line-height: 1.45; }
.ctrip-hero__facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.ctrip-hero__facts li {
	padding: 12px 18px;
	border-radius: 18px;
	background: rgba(0, 0, 0, .16);
	font-size: 14px;
	line-height: 1.35;
}
.ctrip-hero__facts b { display: block; font-size: 18px; color: var(--ct-gold); }
.ctrip-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Маршрут ---------- */
.ctrip-route { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: start; }
.ctrip-route__map img { width: 100%; height: auto; border-radius: var(--ct-radius); box-shadow: 0 10px 40px rgba(36, 20, 66, .08); }
.ctrip-calendar { border-radius: 24px; overflow: hidden; background: #fbe9e7; margin-bottom: 28px; }
.ctrip-calendar__head { padding: 14px 20px; background: var(--ct-red); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.ctrip-calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 14px; }
.ctrip-calendar__wd, .ctrip-calendar__day { display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 10px; font-size: 15px; }
.ctrip-calendar__wd { color: var(--ct-red); font-weight: 600; }
.ctrip-calendar__day { background: #fff; }
.ctrip-calendar__day.is-trip { background: var(--ct-gold); font-weight: 700; color: #282727; }
.ctrip-route__days { margin: 0; padding: 0; list-style: none; }
.ctrip-route__days li { padding: 10px 0; border-bottom: 1px solid #eee; line-height: 1.4; }
.ctrip-route__days span { display: inline-block; min-width: 74px; color: var(--ct-red); font-weight: 700; }

/* ---------- Программа ---------- */
.ctrip-days { display: flex; flex-direction: column; gap: 28px; }
.ctrip-day {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
	padding: 40px;
	border-radius: var(--ct-radius);
	background: #fff;
	box-shadow: 0 10px 40px rgba(36, 20, 66, .06);
}
.ctrip-day:nth-child(even) .ctrip-day__photos { order: -1; }
.ctrip-day--text { grid-template-columns: 1fr; }
.ctrip-day__num {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 50px;
	background: var(--ct-red);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.ctrip-day__title { margin: 14px 0 10px; font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--ct-ink); }
.ctrip-day__where { margin: 0 0 18px; color: var(--ct-muted); }
.ctrip-day__sub { margin: 20px 0 10px; font-size: 18px; font-weight: 600; color: var(--ct-red); }
.ctrip-day__note {
	margin: 16px 0 0;
	padding: 14px 18px;
	border-left: 4px solid var(--ct-gold);
	border-radius: 0 14px 14px 0;
	background: #fff8e1;
	font-weight: 500;
}
.ctrip-day__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.ctrip-day__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.ctrip-day__photos--1 { grid-template-columns: 1fr; }
.ctrip-day__photos--1 img { aspect-ratio: 4 / 3; }
.ctrip-day__photos--2 { grid-template-columns: 1fr; }
.ctrip-day__photos--2 img { aspect-ratio: 16 / 9; }
.ctrip-day__photos--3 img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

/* ---------- Карточки ---------- */
.ctrip-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ctrip-card { padding: 40px; border-radius: var(--ct-radius); background: #fff; box-shadow: 0 10px 40px rgba(36, 20, 66, .06); }
.ctrip-section:not(.ctrip-section--soft) .ctrip-card { background: var(--ct-soft); box-shadow: none; }
.ctrip-card__sub { margin: 26px 0 12px; font-size: 20px; font-weight: 600; color: var(--ct-red); }
.ctrip-hotel-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.ctrip-hotel-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.ctrip-hotel-photos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.ctrip-prices { width: 100%; margin-bottom: 14px; border-collapse: collapse; }
.ctrip-prices td { padding: 8px 0; border-bottom: 1px dashed #e4d6d1; }
.ctrip-prices td:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--ct-ink); }

/* ---------- Стоимость ---------- */
.ctrip-price {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 40px;
	padding: 50px;
	border-radius: var(--ct-radius);
	background: linear-gradient(135deg, var(--ct-red), var(--ct-red-dark));
	color: #fff;
}
.ctrip-price__sum { font-size: 64px; font-weight: 700; line-height: 1; color: var(--ct-gold); }
.ctrip-price__hint { margin: 12px 0 24px; opacity: .9; }
.ctrip-price__pay { display: flex; flex-direction: column; gap: 10px; }
.ctrip-price__pay div { padding: 14px 18px; border-radius: 16px; background: rgba(0, 0, 0, .18); }
.ctrip-price__pay b { color: var(--ct-gold); font-size: 20px; margin-right: 6px; }
.ctrip-price__inc h3 { margin: 6px 0 20px; font-size: 22px; font-weight: 600; color: #fff; }

.ctrip-flight { margin-top: 28px; padding: 40px; border-radius: var(--ct-radius); background: var(--ct-soft); }
.ctrip-flight__head p { margin: 0 0 20px; font-size: 18px; }
.ctrip-flight__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ctrip-flight__item { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; background: #fff; }
.ctrip-flight__item b { color: var(--ct-ink); }
.ctrip-flight__tip { margin: 18px 0 0; color: var(--ct-muted); }

/* ---------- Контакты ---------- */
.ctrip-contacts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	padding: 50px;
	border-radius: var(--ct-radius);
	background: var(--ct-red);
	color: #fff;
}
.ctrip-contacts__text p { font-size: 18px; margin-bottom: 26px; }
.ctrip-contacts__chats { display: flex; flex-wrap: wrap; gap: 14px; }
.ctrip-contacts__people { display: flex; flex-direction: column; gap: 14px; }
.ctrip-person { display: flex; flex-direction: column; gap: 4px; padding: 22px 26px; border-radius: 22px; background: #fff; color: var(--ct-text); }
.ctrip-person b { font-size: 20px; color: var(--ct-ink); }
.ctrip-person a { font-size: 20px; font-weight: 600; color: var(--ct-red); }
.ctrip-person a:hover { color: var(--ct-ink); }

/* ---------- Адаптив ---------- */
@media (max-width: 1199px) {
	.ctrip-hero__title { font-size: 48px; }
	.ctrip-flight__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
	.ctrip-section { padding: 50px 0; }
	.ctrip-title { font-size: 32px; }
	.ctrip-hero__card { flex-direction: column; align-items: stretch; padding: 40px 32px 0; min-height: 0; }
	.ctrip-hero__art { max-width: 460px; margin: 0 auto; }
	.ctrip-route, .ctrip-day, .ctrip-two, .ctrip-price, .ctrip-contacts { grid-template-columns: 1fr; }
	.ctrip-day:nth-child(even) .ctrip-day__photos { order: 0; }
}

@media (max-width: 575px) {
	.ctrip-section { padding: 36px 0; }
	.ctrip-title { font-size: 26px; margin-bottom: 22px; }
	.ctrip-title--small { font-size: 24px; }
	.ctrip-hero { padding-top: 16px; }
	.ctrip-hero__card { padding: 28px 20px 0; border-radius: 24px; }
	.ctrip-hero__title { font-size: 36px; }
	.ctrip-hero__lead { font-size: 17px; }
	.ctrip-hero__actions .ctrip-btn { width: 100%; }
	.ctrip-day, .ctrip-card, .ctrip-flight { padding: 24px 20px; border-radius: 24px; }
	.ctrip-day__title { font-size: 23px; }
	.ctrip-price, .ctrip-contacts { padding: 30px 20px; border-radius: 24px; }
	.ctrip-price__sum { font-size: 48px; }
	.ctrip-flight__grid { grid-template-columns: 1fr; }
	.ctrip-contacts__chats .ctrip-btn { width: 100%; }
	.ctrip-calendar__wd, .ctrip-calendar__day { height: 34px; font-size: 14px; }
}
