/**
 * Homepage Phase 2 — visual consistency tokens & scoped refinements.
 *
 * Unifies UI sans (DM Sans), control radius, and accidental spacing drift.
 * Does not redesign Hero, Booking Widget layout, logo, or section order.
 */

:root {
	--pg-font-display: 'Newsreader', Georgia, serif;
	--pg-font-ui: 'DM Sans', Arial, system-ui, sans-serif;
	--pg-radius-control: 8px;
	--pg-section-pad-y: clamp(72px, 7vw, 96px);
	--pg-section-pad-y-tight: 72px;
	--pg-ink: #161b1e;
	--pg-muted: #687277;
	--pg-petrol: #033f4b;
	--pg-gold: #e1b76e;
	/* Align legacy --sans token with Signature Editorial UI type */
	--sans: var(--pg-font-ui);
	--serif: var(--pg-font-display);
}

/* Body / chrome inherit UI sans; Hero H1 stays Newsreader via existing rules */
body {
	font-family: var(--pg-font-ui);
}

/* Kickers / labels — one UI stack */
.kicker,
.eyebrow,
.micro,
.pg-build-aside-label,
.pg-dest-also__label,
.pg-airport-hub__code,
.pg-c2c-card__meta,
.pg-sx-card__location {
	font-family: var(--pg-font-ui);
}

/* —— Buttons: rectangular 8px; keep circular arrows / chip pills —— */
.btn,
.btn-dark,
.btn-outline,
.btn-gold,
.btn-small,
.button-main,
.button-white,
.pg-head-cta,
.header-cta,
.nav-contact,
.booking-row .btn-view,
.pg-trust-cta .button-main,
.pg-trust-cta .btn,
.pg-build-actions .button-main {
	border-radius: var(--pg-radius-control);
	font-family: var(--pg-font-ui);
}

/* Destination chips & meta pills remain pill-shaped by design */
.pg-dest-also__chip,
.pg-airport-card__direction {
	border-radius: 999px;
}

/* —— Section vertical rhythm (preserve intentional variety within a band) —— */
.service-selector.pg-services-v2,
.pg-destinations,
.pg-featured-journeys,
.pg-vehicle-classes,
.pg-build-journey,
.pg-trust-faq {
	padding-top: var(--pg-section-pad-y);
	padding-bottom: var(--pg-section-pad-y);
}

.pg-transfers-v2,
.pg-airport-transfers,
.pg-airport-hubs,
.routes-section.pg-transfers-v2,
.pg-city-transfers,
.pg-sightseeing {
	padding-top: var(--pg-section-pad-y-tight);
	padding-bottom: var(--pg-section-pad-y-tight);
}

/* How It Works — remove 25/125 asymmetry */
.how-section {
	padding-top: var(--pg-section-pad-y-tight);
	padding-bottom: var(--pg-section-pad-y);
}

/* Business keeps its paired 104px band (intentional split composition) */
.business-section {
	padding-top: 104px;
	padding-bottom: 104px;
}

/* City-to-City inherits body UI font (was Manrope-only outlier) */
.pg-city-transfers {
	font-family: var(--pg-font-ui);
}

/* Supporting notes — readable, not microscopic */
.pg-section-note,
.price-info,
.pg-c2c-note,
.pg-sx-note {
	font-family: var(--pg-font-ui);
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--pg-muted);
}

/* Section leads / card blurbs */
.section-top p,
.pg-vehicle-copy > p,
.pg-build-copy > p {
	font-family: var(--pg-font-ui);
	color: var(--pg-muted);
}

/* Destinations mosaic — clear desktop min-height so tablet single-column stays in-bounds */
@media (max-width: 1199px) {
	.pg-dest-layout,
	.pg-dest-layout__hero,
	.pg-dest-card--hero {
		max-width: 100%;
		min-width: 0;
	}

	.pg-dest-card--hero .pg-dest-card__link {
		min-height: 0;
		width: 100%;
		max-width: 100%;
	}

	.pg-dest-card__media img {
		max-width: none; /* cover crop inside overflow:hidden link */
	}
}

/* —— City-to-City: featured photo cards + compact secondary routes —— */
.pg-c2c-secondary {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid #e3e8e8;
}

.pg-c2c-secondary__label {
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--pg-gold, #e1b76e);
	font-family: var(--pg-font-ui, 'DM Sans', Arial, sans-serif);
}

.pg-c2c-secondary__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	border: 1px solid #e3e8e8;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.pg-c2c-secondary__list > li {
	min-width: 0;
	border-right: 1px solid #e3e8e8;
}

.pg-c2c-secondary__list > li:last-child {
	border-right: 0;
}

.pg-c2c-route-link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	column-gap: 16px;
	row-gap: 6px;
	align-items: center;
	padding: 20px 22px;
	min-height: 88px;
	text-decoration: none;
	color: inherit;
	transition: background 0.18s ease;
}

.pg-c2c-route-link:hover,
.pg-c2c-route-link:focus-visible {
	background: #f7fafa;
}

.pg-c2c-route-link:focus-visible {
	outline: 3px solid rgba(225, 183, 110, 0.55);
	outline-offset: -3px;
}

.pg-c2c-route-link__route {
	grid-column: 1;
	grid-row: 1;
	font-family: var(--pg-font-display, 'Newsreader', Georgia, serif);
	font-size: clamp(20px, 1.7vw, 26px);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.2;
	color: var(--pg-ink, #161b1e);
}

.pg-c2c-route-link__summary {
	grid-column: 1;
	grid-row: 2;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--pg-muted, #687277);
	max-width: 42ch;
}

.pg-c2c-route-link__cta {
	grid-column: 2;
	grid-row: 1 / span 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 750;
	color: var(--pg-petrol, #033f4b);
	white-space: nowrap;
}

.pg-c2c-route-link__cta svg {
	width: 14px;
	height: 14px;
	transition: transform 0.2s ease;
}

.pg-c2c-route-link:hover .pg-c2c-route-link__cta svg,
.pg-c2c-route-link:focus-visible .pg-c2c-route-link__cta svg {
	transform: translateX(3px);
}

@media (max-width: 768px) {
	.service-selector.pg-services-v2,
	.pg-destinations,
	.pg-featured-journeys,
	.pg-vehicle-classes,
	.pg-build-journey,
	.pg-trust-faq,
	.how-section {
		padding-top: 72px;
		padding-bottom: 72px;
	}

	.pg-city-transfers,
	.pg-sightseeing,
	.pg-transfers-v2,
	.pg-airport-transfers,
	.pg-airport-hubs {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.business-section {
		padding-top: 72px;
		padding-bottom: 80px;
	}

	.pg-c2c-secondary__list {
		grid-template-columns: 1fr;
	}

	.pg-c2c-secondary__list > li {
		border-right: 0;
		border-bottom: 1px solid #e3e8e8;
	}

	.pg-c2c-secondary__list > li:last-child {
		border-bottom: 0;
	}
}
