/* FunFly Air. PT Sans is self-hosted (latin). No runtime CDN. */

@font-face {
	font-family: "PT Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/fonts/pt-sans-400.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "PT Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/fonts/pt-sans-700.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--brand: #9a1b1f;
	--brand-mid: #9e2426;
	--brand-bright: #cf2e2e;
	--brand-dark: #6e1014;
	--accent: #9a1b1f;
	--ink: #1a1a1a;
	--text: #1c1c1c;
	--heading: #141414;
	--muted: #3d3d3d;
	--paper: #fff;
	--cream: #fff8dc;
	--line: #e4e4e4;
	--border: #e4e4e4;
	--footer: #0a0a0a;
	--footer-text: #f3f3f3;
	--green: #14804a;
	--pad: clamp(16px, 4vw, 28px);
	--max: 1120px;
	color-scheme: only light;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	overflow-x: hidden;
}

body {
	margin: 0;
	min-height: 100vh;
	background: var(--paper);
	color: var(--text);
	font-family: "PT Sans", "Segoe UI", sans-serif;
	font-size: 1.0625rem;
	line-height: 1.5;
	overflow-x: hidden;
}

img,
svg {
	max-width: 100%;
}

img {
	height: auto;
	border: 0;
}

a {
	color: var(--brand);
}

h1,
h2,
h3 {
	color: var(--heading);
	line-height: 1.15;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}

p {
	overflow-wrap: break-word;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: 0;
	transform: translateY(-120%);
	background: #000;
	color: #fff;
	padding: 8px 14px;
	z-index: 10000;
}

.skip-link:focus {
	transform: none;
}

:focus-visible {
	outline: 3px solid var(--brand-bright);
	outline-offset: 2px;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.ff {
	display: flex;
	flex-direction: column;
}

.ff-main {
	flex: 1 0 auto;
	width: 100%;
	min-width: 0;
}

.ff-header {
	background: #fff;
}

.topbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"brand lang"
		"contacts contacts";
	gap: 8px 12px;
	align-items: center;
	width: min(var(--max), 100%);
	margin: 0 auto;
	padding: 14px var(--pad) 10px;
}

.ff-brand {
	grid-area: brand;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	margin-right: 8px;
	color: var(--ink);
	text-decoration: none;
}

.ff-brand img {
	width: 48px;
	height: 48px;
	flex: 0 0 auto;
}

.wordmark {
	font-weight: 700;
	letter-spacing: 0.04em;
	font-size: clamp(1rem, 2.8vw, 1.75rem);
	line-height: 1;
	white-space: nowrap;
}

.ff-lang {
	grid-area: lang;
	justify-self: end;
	align-self: start;
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-weight: 700;
	font-size: 0.95rem;
}

.ff-lang a {
	color: var(--ink);
	text-decoration: none;
	padding: 4px 2px;
}

.ff-lang a[aria-current="page"] {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ff-lang .sep {
	color: var(--muted);
}

.contacts {
	grid-area: contacts;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}

.contacts a,
.contacts .phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	max-width: 100%;
}

.contacts svg {
	width: 1.05em;
	height: 1.05em;
	flex: 0 0 auto;
}

.nav-shell {
	position: relative;
}

.nav-shell::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--brand);
}

.nav-bar {
	position: relative;
	z-index: 1;
	width: min(860px, calc(100% - 16px));
	background: var(--brand);
	border-radius: 0 1.6rem 1.6rem 0;
}

.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 6px 10px;
	min-height: 44px;
	padding: 8px 12px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #fff;
	font: inherit;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
}

.nav-toggle svg {
	width: 1.25rem;
	height: 1.25rem;
}

.nav-bar :focus-visible {
	outline-color: #fff;
}

.site-nav {
	display: none;
}

.site-nav.is-open {
	display: block;
}

.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0 0 8px;
}

.site-nav a {
	display: block;
	padding: 12px 18px;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
	background: rgba(0, 0, 0, 0.18);
}

.hero {
	position: relative;
	background: #111;
	color: #fff;
}

.hero-viewport {
	position: relative;
	min-height: clamp(420px, 72vw, 560px);
}

.slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	padding: clamp(20px, 4vw, 48px) var(--pad) 84px;
}

.slide[hidden] {
	display: none;
}

.slide-media {
	position: absolute;
	inset: 0;
}

.slide-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.slide-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.28) 72%);
}

.slide-copy {
	position: relative;
	z-index: 1;
	max-width: 38rem;
	min-width: 0;
}

.hero-title,
.slide-copy h1,
.slide-copy h2 {
	margin: 0 0 0.45em;
	color: #fff;
	font-size: clamp(1.35rem, 0.85rem + 2.4vw, 2.65rem);
	font-weight: 700;
	letter-spacing: 0.01em;
	text-wrap: balance;
}

.slide-copy p {
	margin: 0 0 0.4em;
	color: #fff;
	font-size: clamp(1rem, 0.92rem + 0.4vw, 1.25rem);
	text-wrap: balance;
}

.price {
	font-size: clamp(1.2rem, 1rem + 0.8vw, 1.7rem);
	font-weight: 700;
}

.hero-cta {
	display: inline-block;
	margin-top: 12px;
	padding: 12px 18px;
	min-height: 44px;
	background: #fff;
	color: var(--brand);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	border-radius: 4px;
}

.hero-cta:hover {
	background: var(--brand-bright);
	color: #fff;
}

.hero-controls {
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	bottom: 12px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 0 12px;
}

.hero-controls button {
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
	font: inherit;
	cursor: pointer;
}

.hero-controls button[aria-selected="true"] {
	background: #fff;
	color: var(--brand);
}

.hero-controls svg {
	width: 1.1rem;
	height: 1.1rem;
	display: block;
	margin: 0 auto;
}

.hero-controls :focus-visible {
	outline-color: #fff;
}

.band {
	padding: clamp(28px, 5vw, 64px) 0;
}

.band + .band {
	background: #f7f7f7;
}

.wrap {
	width: min(var(--max), calc(100% - (var(--pad) * 2)));
	margin: 0 auto;
	min-width: 0;
}

.band h2,
.page-title {
	margin: 0 0 1rem;
	font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.15rem);
	text-align: center;
	text-wrap: balance;
}

[data-booking-result] h1,
[data-booking-result] h2 {
	text-align: left;
}

[data-booking-result] h2 {
	margin-top: 0.35rem;
}

.places,
.offers {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr;
}

.place,
.offer {
	min-width: 0;
	background: #fff;
	border: 1px solid var(--line);
}

.place img,
.offer img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.kicker {
	display: inline-block;
	margin: 12px 12px 0;
	padding: 4px 8px;
	background: var(--brand);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.place h3,
.offer h2 {
	margin: 10px 12px 14px;
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
	text-wrap: balance;
}

.offer p {
	margin: 0 12px 16px;
}

.lead {
	max-width: 40rem;
	margin: 0 auto 1.25rem;
	text-align: center;
}

.booking-form {
	display: grid;
	gap: 14px;
	max-width: 28rem;
	margin: 0 auto;
}

.booking-form label {
	font-weight: 700;
	font-size: 1.15rem;
}

.booking-form input {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	border: 2px solid #c8c8c8;
	border-radius: 4px;
	background: #fff;
	color: var(--ink);
	font: inherit;
}

.req {
	color: var(--brand);
}

.submit {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	border: 0;
	border-radius: 5px;
	background: var(--brand);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.submit:hover {
	background: var(--brand-dark);
}

.submit svg {
	width: 1.1em;
	height: 1.1em;
}

.form-error {
	margin: 0;
	color: #a30d14;
	font-weight: 700;
}

.legs {
	display: grid;
	gap: 22px;
}

.leg h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
}

.leg h3 svg,
.boarded svg {
	width: 1.05em;
	height: 1.05em;
	flex: 0 0 auto;
}

.flight-detail {
	background: var(--cream);
	padding: 16px 18px;
	min-width: 0;
}

.flight-detail p {
	margin: 0 0 0.45rem;
}

.flight-detail p:last-child {
	margin-bottom: 0;
}

.boarded svg {
	color: var(--green);
	vertical-align: -0.15em;
}

.locked {
	text-align: center;
}

.ff-footer {
	background: var(--footer);
	color: var(--footer-text);
	padding: 32px 0 18px;
	margin-top: auto;
}

.footer-brand {
	max-width: 100%;
}

.footer-brand img {
	display: block;
	width: min(360px, 100%);
	height: auto;
	margin: 0 auto;
}

.copyright-bar {
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid #2a2a2a;
	text-align: center;
	font-size: 0.95rem;
}

.footer-game {
	margin: 0 0 8px;
}

.footer-legal {
	margin: 0;
}

.ff-footer a,
.main-footer a {
	color: #fff;
}

.sep {
	margin: 0 6px;
}

/* Legal pages use the shared layout, not body.ff. */
body:not(.ff) {
	display: flex;
	flex-direction: column;
}

.lang-bar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	padding: 12px var(--pad) 0;
	background: #fff;
	font-weight: 700;
}

.lang-link {
	color: var(--ink);
	text-decoration: none;
}

.lang-link.is-current {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lang-link img {
	display: inline-block;
	width: 20px;
	height: 14px;
	margin-right: 4px;
	vertical-align: -2px;
	border: 1px solid rgba(0, 0, 0, 0.2);
}

.page-wrapper {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	background: #fff;
}

.main-header {
	background: #fff;
	border-bottom: 4px solid var(--brand);
}

.header-inner {
	display: flex;
	justify-content: center;
	padding: 20px var(--pad);
}

.ce-logo img {
	width: 72px;
	height: 72px;
}

.breadcrumb-section {
	background: var(--brand);
	padding: 28px var(--pad);
}

.breadcrumb-title h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
	text-align: center;
	text-wrap: balance;
}

.legal-page {
	flex: 1 0 auto;
	padding: 28px 0 56px;
}

.container {
	width: min(1140px, calc(100% - (var(--pad) * 2)));
	margin: 0 auto;
}

.main-footer {
	background: var(--footer);
	color: var(--footer-text);
	padding: 32px 0 12px;
}

@media (max-width: 359px) {
	.ff-brand img {
		width: 40px;
		height: 40px;
	}

	.wordmark {
		letter-spacing: 0.02em;
	}
}

@media (min-width: 768px) {
	.topbar {
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "brand contacts lang";
		align-items: center;
		padding-top: 18px;
		padding-bottom: 14px;
	}

	.ff-brand img {
		width: 58px;
		height: 58px;
	}

	.contacts {
		justify-content: flex-end;
	}

	.ff-lang {
		align-self: center;
	}

	.nav-toggle {
		display: none;
	}

	.site-nav,
	.site-nav.is-open {
		display: block;
	}

	.site-nav ul {
		display: flex;
		flex-wrap: wrap;
		padding: 0;
	}

	.nav-bar {
		width: min(920px, calc(100% - 48px));
		border-radius: 0 2.4rem 2.4rem 0;
	}

	.places,
	.offers,
	.legs {
		grid-template-columns: 1fr 1fr;
	}

	.places {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1280px) {
	.offers {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
