/* =========================================================
   Quietly Connected / Vuela PSP — standalone page template
   Scoped under .qc. Mobile-first. Fonts inherit from theme.
   ========================================================= */

.qc {
	--qc-color-primary: #C24919;     /* orange — primary action color (buttons, scroll arrow) */
	--qc-color-secondary: #484d56;   /* deep grey — heading text */
	--qc-color-light: #ffffff;
	--qc-color-soft-blue: #e0edef;   /* pale blue — widget section backdrop */
	--qc-color-feature-bg: #f5f5f5;  /* feature stack base */
	--qc-color-feature-fallback: #58b0bc;  /* teal fallback under image */
	--qc-color-feature-border: #bebebe;

	--qc-edge: 20px;                 /* horizontal page padding */
	--qc-max: 1200px;                /* content max width */

	color: var(--qc-color-secondary);
	display: block;
	overflow: hidden;
}

/* ---------- HERO ---------- */

.qc__hero {
	position: relative;
	padding: 120px var(--qc-edge) 80px;
	min-height: 560px;
	background-color: var(--qc-color-secondary);
	background-size: cover;
	background-repeat: no-repeat;
	color: var(--qc-color-light);
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Dark scrim so white text meets WCAG AA over the variable-brightness photo.
   Stronger toward the bottom, where the smaller sub/CTA text sits. */
.qc__hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55));
	pointer-events: none;
	z-index: 0;
}

.qc__hero-inner {
	max-width: var(--qc-max);
	width: 100%;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.qc__hero-title {
	font-size: 36px;
	font-weight: 400;
	line-height: 1.07;
	margin: 0 0 24px;
	color: var(--qc-color-light);
}

.qc__hero-sub {
	font-size: 18px;
	line-height: 1.4;
	margin: 0 auto 32px;
	max-width: 640px;
	color: var(--qc-color-light);
}

.qc__scroll-arrow {
	display: inline-block;
	margin-top: 32px;
	color: #e98056;
	line-height: 0;
}

.qc__scroll-arrow svg {
	width: 36px;
	height: 36px;
	display: block;
}

/* ---------- FLIGHT WIDGET SECTION ---------- */

.qc__widget {
	position: relative;
	overflow: hidden;
	padding: 60px var(--qc-edge) 0;
	background-color: var(--qc-color-light);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-align: center;
	background-color: #F5F5F5;
}

/* Pale blue backdrop that extends from the top of this section down
   through roughly the upper half of the route map. Clipped by the
   section's overflow:hidden when the section is shorter than the band. */
.qc__widget::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 700px;
	background-color: var(--qc-color-soft-blue);
	pointer-events: none;
	z-index: 0;
}

.qc__widget-inner {
	position: relative;
	z-index: 1;
	max-width: var(--qc-max);
	margin: 0 auto;
}

.qc__widget-form {
	margin: 0 auto 48px;
	text-align: left;
	background: rgba(45, 45, 45, 0.75);
	border-radius: 8px;
	padding: 12px 16px;
}

.qc__widget-title {
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
	margin: 0 0 12px;
	color: var(--qc-color-secondary);
}

.qc__widget-sub {
	font-size: 18px;
	line-height: 1.5;
	margin: 0 0 32px;
	color: var(--qc-color-secondary);
}

.qc__widget-map {
	margin: 0;
}

.qc__widget-map img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

/* ---------- FEATURE STACK (4 split sections) ---------- */

.qc__feature-stack {
	background-color: var(--qc-color-feature-bg);
	background-size: 100% auto;
	background-position: top center;
	background-repeat: no-repeat;
	padding: 40px var(--qc-edge);
}

.qc__feature {
	display: flex;
	flex-direction: column-reverse;
	max-width: var(--qc-max);
	margin: 0 auto 32px;
	background-color: var(--qc-color-light);
	border-bottom: 8px solid var(--qc-color-feature-border);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.qc__feature:last-child {
	margin-bottom: 0;
}

.qc__feature-content {
	padding: 40px 28px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.qc__feature-kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0 0 16px;
	color: var(--qc-color-primary);
}

.qc__feature-title {
	font-size: 26px;
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 16px;
	color: var(--qc-color-secondary);
}

.qc__feature-body {
	font-size: 17px;
	line-height: 1.6;
	margin: 0 0 28px;
	color: var(--qc-color-secondary);
}

.qc__feature-body p {
	margin: 0 0 12px;
}

.qc__feature-body p:last-child {
	margin-bottom: 0;
}

.qc__feature-image {
	background-color: var(--qc-color-feature-fallback);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 240px;
}

/* ---------- FINAL CTA ---------- */

.qc__final {
	position: relative;
	padding: 80px var(--qc-edge);
	min-height: 520px;
	background-color: var(--qc-color-secondary);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--qc-color-light);
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Dark scrim so white text meets WCAG AA over the sunset photo. */
.qc__final::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.38));
	pointer-events: none;
	z-index: 0;
}

.qc__final-inner {
	max-width: var(--qc-max);
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.qc__final-title {
	font-size: 40px;
	font-weight: 400;
	line-height: 1.07;
	margin: 0 0 16px;
	color: var(--qc-color-light);
}

.qc__final-sub {
	font-size: 18px;
	line-height: 1.4;
	margin: 0 auto 32px;
	max-width: 600px;
	color: var(--qc-color-light);
}

/* ---------- BUTTONS ---------- */

.qc__btn {
	display: inline-block;
	padding: 14px 28px;
	background-color: var(--qc-color-primary);
	color: var(--qc-color-light);
	border: 2px solid var(--qc-color-primary);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 0;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
}

.qc__btn:hover,
.qc__btn:focus {
	background-color: var(--qc-color-light);
	color: var(--qc-color-primary);
	border-color: var(--qc-color-primary);
}

.qc__btn--final {
	border-color: var(--qc-color-light);
}

.qc__btn--final:hover,
.qc__btn--final:focus {
	border-color: var(--qc-color-primary);
}

/* ---------- TABLET ---------- */

@media (min-width: 768px) {
	.qc__hero {
		padding: 100px var(--qc-edge) 60px;
	}
	.qc__hero-title {
		font-size: 46px;
	}
	.qc__hero-sub {
		font-size: 22px;
	}

	.qc__widget {
		padding: 80px var(--qc-edge) 0;
	}
	.qc__widget-title {
		font-size: 30px;
	}
	.qc__widget-sub {
		font-size: 21px;
	}

	.qc__feature-stack {
		padding: 60px var(--qc-edge);
	}

	.qc__feature {
		flex-direction: row;
		min-height: 480px;
		margin-bottom: 48px;
	}

	.qc__feature--onestop,
	.qc__feature--smarter {
		flex-direction: row-reverse;
	}

	.qc__feature-content,
	.qc__feature-image {
		flex: 1 1 50%;
	}

	.qc__feature-content {
		padding: 60px 48px;
		justify-content: center;
	}

	.qc__feature-image {
		min-height: 100%;
	}

	.qc__feature-title {
		font-size: 30px;
	}

	.qc__feature-body {
		font-size: 19px;
	}

	.qc__final {
		padding: 100px var(--qc-edge);
	}
	.qc__final-title {
		font-size: 60px;
	}
	.qc__final-sub {
		font-size: 24px;
	}
}

/* ---------- DESKTOP ---------- */

@media (min-width: 1024px) {
	.qc__hero {
		padding: 140px var(--qc-edge) 80px;
	}
	.qc__hero-title {
		font-size: 90px;
	}
	/* Hero <br> is for mobile line break only — hide on desktop */
	.qc__hero-title br {
		display: none;
	}
	.qc__hero-sub {
		font-size: 30px;
		line-height: 1.4;
	}
	.qc__scroll-arrow svg {
		width: 48px;
		height: 48px;
	}

	.qc__widget {
		padding: 100px var(--qc-edge) 0;
	}
	.qc__widget-title {
		font-size: 36px;
	}

	.qc__feature-stack {
		padding: 80px var(--qc-edge);
	}

	.qc__feature {
		min-height: 580px;
		margin-bottom: 70px;
	}

	.qc__feature-content {
		padding: 80px 64px;
	}

	.qc__feature-title {
		font-size: 36px;
	}

	.qc__feature-body {
		font-size: 21px;
		line-height: 34px;
	}

	.qc__final {
		min-height: 680px;
		padding: 80px var(--qc-edge);
	}
	.qc__final-title {
		font-size: 90px;
	}
	.qc__final-sub {
		font-size: 30px;
	}
}
