/* ==========================================================================
   Private Jet Partner — design tokens
   ========================================================================== */
:root {
	--pjp-navy:        #0b0f14;
	--pjp-navy-light:  #141b24;
	--pjp-charcoal:    #1c2430;
	--pjp-gold:        #c9a24b;
	--pjp-gold-light:  #e4c877;
	--pjp-off-white:   #f4f1ea;
	--pjp-grey:        #9aa3ad;
	--pjp-line:        rgba(244, 241, 234, 0.12);

	--pjp-font-serif: 'Cormorant Garamond', Georgia, serif;
	--pjp-font-sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--pjp-radius: 2px;
	--pjp-max-width: 1200px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--pjp-navy);
	color: var(--pjp-off-white);
	font-family: var(--pjp-font-sans);
	font-weight: 300;
	line-height: 1.7;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
	font-family: var(--pjp-font-serif);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 0.5em;
	letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.2em; color: var(--pjp-grey); }
.container {
	max-width: var(--pjp-max-width);
	margin: 0 auto;
	padding: 0 24px;
}
section { padding: 96px 0; }
.eyebrow {
	font-family: var(--pjp-font-sans);
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 0.72rem;
	color: var(--pjp-gold);
	margin-bottom: 14px;
	display: inline-block;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 32px;
	font-family: var(--pjp-font-sans);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	border: 1px solid var(--pjp-gold);
	border-radius: var(--pjp-radius);
	cursor: pointer;
	transition: all 0.25s ease;
	background: transparent;
	color: var(--pjp-off-white);
}
.btn-primary { background: var(--pjp-gold); color: var(--pjp-navy); border-color: var(--pjp-gold); }
.btn-primary:hover { background: var(--pjp-gold-light); border-color: var(--pjp-gold-light); }
.btn-ghost:hover { background: rgba(201, 162, 75, 0.1); }

/* ==========================================================================
   Header + nav
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(11, 15, 20, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--pjp-line);
}
/* backdrop-filter on the header creates a containing block for fixed-
   position descendants on mobile Safari/Chrome, which breaks the full-
   screen mobile nav panel's solid background. Drop the blur/transparency
   while the panel is open so it renders fully opaque instead. */
.site-header:has(.primary-nav.is-open) {
	background: var(--pjp-navy);
	backdrop-filter: none;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	max-width: var(--pjp-max-width);
	margin: 0 auto;
}
.site-logo img { height: 44px; width: auto; }
.site-logo { font-family: var(--pjp-font-serif); font-size: 1.3rem; letter-spacing: 0.02em; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.primary-nav a {
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--pjp-off-white);
	position: relative;
	padding: 6px 0;
}
.primary-nav a:hover { color: var(--pjp-gold); }
.primary-nav .sub-menu {
	position: absolute;
	background: var(--pjp-navy-light);
	border: 1px solid var(--pjp-line);
	padding: 10px 0;
	min-width: 220px;
	display: none;
	flex-direction: column;
	gap: 0;
}
.menu-item-has-children:hover .sub-menu { display: flex; }
.primary-nav .sub-menu a { padding: 10px 20px; text-transform: none; letter-spacing: 0.02em; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 8px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.lang-switch a { opacity: 0.55; }
.lang-switch a.current-lang, .lang-switch a:hover { opacity: 1; color: var(--pjp-gold); }

.menu-toggle { display: none; background: none; border: none; color: var(--pjp-off-white); font-size: 1.6rem; cursor: pointer; }

/* ---- Site-wide Search Flight panel ---- */
.search-trigger {
	background: var(--pjp-gold);
	color: var(--pjp-navy);
	border: none;
	padding: 11px 22px;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border-radius: var(--pjp-radius);
	cursor: pointer;
	font-family: var(--pjp-font-sans);
}
.search-panel {
	position: fixed;
	inset: 0;
	background: rgba(11, 15, 20, 0.96);
	z-index: 200;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 90px 24px 24px;
	overflow-y: auto;
}
.search-panel.is-open { display: flex; }
.search-panel__box {
	background: var(--pjp-charcoal);
	border: 1px solid var(--pjp-line);
	max-width: 720px;
	width: 100%;
	padding: 40px;
	position: relative;
}
.search-panel__close {
	position: absolute;
	top: 16px;
	right: 20px;
	background: none;
	border: none;
	color: var(--pjp-off-white);
	font-size: 1.6rem;
	cursor: pointer;
}
.pjp-search-widget__item { min-height: 60px; }
.search-widget-placeholder {
	border: 1px dashed var(--pjp-gold);
	padding: 20px;
	font-size: 0.85rem;
	color: var(--pjp-grey);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: center;
	background: linear-gradient(180deg, rgba(11,15,20,0.35) 0%, rgba(11,15,20,0.85) 100%), var(--pjp-charcoal) center/cover no-repeat;
}
.hero__content { max-width: 680px; }
.hero__stats { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.hero__stat strong { display: block; font-family: var(--pjp-font-serif); font-size: 1.8rem; color: var(--pjp-gold); }
.hero__stat span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pjp-grey); }
.hero__cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

/* ==========================================================================
   USP grid
   ========================================================================== */
.usp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 40px;
	margin-top: 50px;
}
.usp-card { border-top: 1px solid var(--pjp-gold); padding-top: 20px; }
.usp-card h3 { font-size: 1.15rem; }

/* ==========================================================================
   Fleet grid
   ========================================================================== */
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.fleet-card { background: var(--pjp-navy-light); border: 1px solid var(--pjp-line); overflow: hidden; }
.fleet-card img { height: 200px; object-fit: cover; width: 100%; }

/* Scroll-triggered slide-in reveal (used on Destinations cards) */
.reveal {
	opacity: 0;
	transform: translateX(40px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
	opacity: 1;
	transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
}
.fleet-card__body { padding: 24px; }
.fleet-card__body p { margin-bottom: 8px; font-size: 0.92rem; }
.fleet-card__seats { color: var(--pjp-gold); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem; }
.fleet-card__fit { color: var(--pjp-grey); }

/* ==========================================================================
   Founder / About
   ========================================================================== */
.founder-section { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .founder-section { grid-template-columns: 1fr; } }
.founder-image img { width: 100%; height: auto; display: block; }

/* ==========================================================================
   Destination write-ups (alternating photo/text blocks)
   ========================================================================== */
.destination-block { padding: 80px 0; border-top: 1px solid var(--pjp-line); }
.destination-block .founder-image img { height: 420px; object-fit: cover; }
.destination-block--reverse .founder-section { direction: rtl; }
.destination-block--reverse .founder-section > * { direction: ltr; }
@media (max-width: 860px) {
	.destination-block--reverse .founder-section { direction: ltr; }
	.destination-block .founder-image img { height: 280px; }
}

/* ==========================================================================
   Video teaser
   ========================================================================== */
.fb-cta { max-width: 640px; margin: 40px auto 0; }
.fb-cta__box { border: 1px solid var(--pjp-line); padding: 40px; text-align: center; }
.fb-cta__box p { margin-bottom: 24px; }

/* ==========================================================================
   Testimonial
   ========================================================================== */
.testimonial {
	border-left: 2px solid var(--pjp-gold);
	padding-left: 30px;
	font-family: var(--pjp-font-serif);
	font-size: 1.3rem;
	font-style: italic;
	color: var(--pjp-off-white);
}
.testimonial cite { display: block; margin-top: 16px; font-size: 0.85rem; font-style: normal; color: var(--pjp-gold); }

/* ==========================================================================
   Quote / Contact form
   ========================================================================== */
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.quote-form .full { grid-column: 1 / -1; }
.quote-form label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pjp-grey); margin-bottom: 8px; }
.quote-form input, .quote-form textarea {
	width: 100%;
	background: var(--pjp-navy-light);
	border: 1px solid var(--pjp-line);
	color: var(--pjp-off-white);
	padding: 13px 14px;
	font-family: var(--pjp-font-sans);
	font-size: 0.95rem;
	border-radius: var(--pjp-radius);
}
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--pjp-gold); }
@media (max-width: 680px) { .quote-form { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--pjp-line); padding: 24px 0; }
.faq-item h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--pjp-gold); }

/* Legal / terms & conditions pages */
.legal-content h2 { font-size: 1.3rem; margin-top: 2em; color: var(--pjp-gold-light); }
.legal-content ul { margin: 0 0 1.4em; padding-left: 1.2em; }
.legal-content li { margin-bottom: 0.6em; color: var(--pjp-off-white); }
.legal-draft-notice {
	background: rgba(201, 162, 75, 0.1);
	border-left: 3px solid var(--pjp-gold);
	padding: 16px 20px;
	margin: 24px 0 32px;
	font-size: 0.92rem;
	color: var(--pjp-off-white);
}
.legal-draft-notice strong { display: block; color: var(--pjp-gold-light); margin-bottom: 4px; }
.legal-footer { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--pjp-line); font-size: 0.85rem; color: var(--pjp-grey); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--pjp-navy-light); border-top: 1px solid var(--pjp-line); padding: 70px 0 30px; margin-top: 100px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--pjp-gold); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid var(--pjp-line); padding-top: 24px; font-size: 0.78rem; color: var(--pjp-grey); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 900px) {
	.primary-nav { position: fixed; inset: 72px 0 0 0; background: var(--pjp-navy); z-index: 150; flex-direction: column; align-items: flex-start; padding: 30px; display: none; }
	.primary-nav.is-open { display: flex; }
	.primary-nav ul { flex-direction: column; gap: 4px; width: 100%; }
	.primary-nav .sub-menu { position: static; display: flex; border: none; padding-left: 14px; }
	.menu-toggle { display: block; }
	.header-actions .search-trigger { padding: 9px 16px; }
}

/* ==========================================================================
   Prices page
   ========================================================================== */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prices-intro { padding-bottom: 32px; }
.prices-lead { max-width: 640px; font-size: 1.1rem; line-height: 1.7; }
.prices-routes, .prices-categories { padding-top: 48px; }
.prices-routes > .container > p, .prices-categories > .container > p { max-width: 640px; }

.price-table { width: 100%; max-width: 820px; border-collapse: collapse; margin-top: 32px; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--pjp-line); }
.price-table thead th { font-weight: 400; font-size: 0.85rem; color: var(--pjp-grey); border-bottom-color: var(--pjp-gold); }
.price-table tbody th { font-family: var(--pjp-font-serif); font-size: 1.25rem; font-weight: 600; }
.price-table td { color: var(--pjp-grey); }
.price-table .price-table__num { text-align: right; }
.price-table tbody td.price-table__num { color: var(--pjp-gold); font-size: 1.1rem; white-space: nowrap; }
.price-table tbody tr:hover th, .price-table tbody tr:hover td { background: var(--pjp-navy-light); }
.prices-note { font-size: 0.9rem; margin-top: 20px; max-width: 640px; }

@media (max-width: 600px) {
	.price-table thead { display: none; }
	.price-table tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--pjp-line); }
	.price-table tbody th, .price-table tbody td { padding: 0; border: 0; }
	.price-table tbody th { grid-column: 1; grid-row: 1; }
	.price-table tbody td:not(.price-table__num) { grid-column: 1; grid-row: 2; font-size: 0.9rem; }
	.price-table tbody td.price-table__num { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

.rate-list { max-width: 820px; margin: 32px 0 0; }
.rate-list__row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--pjp-line); }
.rate-list__row:first-child { border-top: 1px solid var(--pjp-line); }
.rate-list dt { display: flex; flex-direction: column; gap: 4px; }
.rate-list__name { font-family: var(--pjp-font-serif); font-size: 1.25rem; font-weight: 600; }
.rate-list__meta { font-size: 0.9rem; color: var(--pjp-grey); }
.rate-list dd { margin: 0; color: var(--pjp-gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rate-list dd span { color: var(--pjp-grey); font-size: 0.85rem; }
@media (max-width: 600px) {
	.rate-list__row { flex-direction: column; gap: 6px; }
}
.prices-save .usp-card a { color: var(--pjp-gold); border-bottom: 1px solid currentColor; }

/* ==========================================================================
   Flex-gap fallback — older Safari (before 14.1) ignores `gap` on flexbox,
   which made the menu items run together ("HOMECONTACTFAQ…"). Spacing on
   flex rows is done with margins instead, so it looks the same everywhere.
   (Grid `gap` is fine in all browsers and is left untouched.)
   ========================================================================== */
.btn,
.primary-nav, .primary-nav ul, .header-actions, .lang-switch,
.hero__stats, .hero__cta, .footer-bottom, .rate-list__row, .rate-list dt { gap: 0; }

.btn > * + * { margin-left: 10px; }
.primary-nav > * + * { margin-left: 30px; }
.primary-nav ul > li + li { margin-left: 26px; }
.primary-nav .sub-menu > li + li { margin-left: 0; }
.header-actions > * + * { margin-left: 16px; }
.lang-switch > * + * { margin-left: 8px; }
.hero__stats > * { margin-right: 40px; }
.hero__cta > * { margin: 0 16px 12px 0; }
.footer-bottom > * { margin-right: 10px; }
.rate-list dt { margin-right: 24px; }
.rate-list__meta { margin-top: 4px; }

@media (max-width: 900px) {
	.primary-nav > * + * { margin-left: 0; }
	.primary-nav ul > li + li { margin-left: 0; margin-top: 4px; }
}
@media (max-width: 600px) {
	.rate-list dt { margin-right: 0; }
	.rate-list dd { margin-top: 6px; }
}

/* ==========================================================================
   Airport landing pages
   ========================================================================== */
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.airport-intro .eyebrow { display: inline-block; margin-bottom: 14px; }
.airport-intro .hero__cta { margin-top: 28px; }
.airport-chips { list-style: none; padding: 0; margin: 28px 0 24px; display: flex; flex-wrap: wrap; }
.airport-chips li { border: 1px solid var(--pjp-line); padding: 8px 16px; margin: 0 10px 10px 0; font-size: 0.9rem; color: var(--pjp-off-white); }
.text-link { color: var(--pjp-gold); border-bottom: 1px solid currentColor; }
.airport-links { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px 30px; }
.airport-links a { color: var(--pjp-off-white); border-bottom: 1px solid var(--pjp-line); padding: 12px 0; display: block; font-family: var(--pjp-font-serif); font-size: 1.2rem; }
.airport-links a:hover { color: var(--pjp-gold); }

/* Testimonials — several stacked */
.testimonial-section .eyebrow { display: block; margin-bottom: 24px; }
.testimonial + .testimonial { margin-top: 56px; }
.testimonial p { margin: 0 0 14px; }
.testimonial--long { font-size: 1.15rem; line-height: 1.6; max-width: 820px; }
.testimonial--long p:last-of-type { margin-bottom: 0; }
