/* Premium Travel Egypt 3.0 — "A day in Hurghada".
   Sand ground, deep-sea ink, the sun's orange on the actions. Big Shoulders in
   capitals for everything large, Public Sans for reading. Square corners. */
:root {
	--p3-sand: #F2E8D8;
	--p3-sand-2: #E7D8BF;
	--p3-ink: #0B1B33;
	--p3-muted: #3F4C63;
	--p3-sea: #0A5BC4;
	--p3-sea-2: #0C4FA8;
	--p3-deep: #071F44;
	--p3-deep-2: #0D2D5C;
	--p3-sun: #F7931E;
	--p3-gold: #FFC52E;
	--p3-on-deep: #F2E8D8;
	--p3-on-deep-2: #B9C6DA;
	--p3-display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
	--p3-text: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--p3-m: clamp(16px, 3vw, 40px);
	--p3-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--zs-display: var(--p3-display);
	--zs-body: var(--p3-text);
	--zs-navy: var(--p3-deep);
	--zs-sand: var(--p3-sand);
}
body { font-family: var(--p3-text); color: var(--p3-ink); background: var(--p3-sand); }

/* Header: a plain bar on the sand, links in ink, one orange action. */
.zs-header { background: var(--p3-sand); border-bottom: 0; box-shadow: none; }
.zs-header .zs-nav .wp-block-navigation-item__content,
.zs-header .zs-nav .wp-block-navigation-submenu__toggle { font-family: var(--p3-text); font-weight: 600; color: var(--p3-ink) !important; }
.zs-header .zs-nav .wp-block-navigation__submenu-container { border-radius: 0 !important; border: 0 !important; background: var(--p3-sand) !important; }
@media (hover: hover) { .zs-header .zs-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--p3-sand-2); } }
.zs-header .zs-icon-btn { border: 0; background: var(--p3-sand-2); color: var(--p3-ink); }
.zs-btn, .zs-btn-gold, .zs-btn-navy { border-radius: 0; box-shadow: none; }
.zs-btn-gold, .zs-header-cta .zs-btn { background: var(--p3-sun); color: var(--p3-ink); }
@media (hover: hover) { .zs-btn-gold:hover, .zs-header-cta .zs-btn:hover { background: var(--p3-gold); } }

/* Shared */
.p3 { font-size: 17px; line-height: 1.55; }
.p3 h2, .p3 h3 { font-family: var(--p3-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; line-height: 0.92; margin: 0; }
.p3-wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--p3-m); }
.p3-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; background: var(--p3-sun); color: var(--p3-ink); font: 600 16px/1 var(--p3-text); text-decoration: none; transition: background 0.2s, transform 0.2s var(--p3-ease); }
.p3-btn:active { transform: translateY(1px) scale(0.98); }
.p3-link { color: inherit; font-weight: 600; text-underline-offset: 4px; }
@media (hover: hover) { .p3-btn:hover { background: var(--p3-gold); } .p3-link:hover { color: var(--p3-sun); } }
.p3 :focus-visible { outline: 3px solid var(--p3-sun); outline-offset: 3px; }

/* 1. Hero — the morning sea, a ticket over it that shrinks to a stub as you leave. */
.p3-hero { position: relative; height: 175vh; background: var(--p3-deep); }
.p3-hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.p3-hero-photo { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; filter: brightness(0.74); transform: scale(calc(1.02 + var(--p, 0) * 0.1)); transform-origin: 50% 60%; }
.p3-ticket { position: absolute; left: 50%; top: 50%; width: min(980px, calc(100vw - 2 * var(--p3-m))); min-height: min(50vh, 460px); display: grid; grid-template-rows: auto 1fr auto; gap: 28px; padding: clamp(22px, 3vw, 40px); background: var(--p3-sand); color: var(--p3-ink); transform: translate(-50%, -50%); transform-origin: 0 100%; will-change: transform; }
.p3-ticket-title { display: flex; justify-content: space-between; gap: 0.25em; margin: 0; font: 800 clamp(44px, 6.3vw, 100px)/0.86 var(--p3-display); text-transform: uppercase; letter-spacing: -0.01em; color: var(--p3-ink); min-width: 0; }
.p3-ticket-title span:nth-child(2) { color: var(--p3-sea); }
.p3-ticket-title span:nth-child(3) { color: var(--p3-sun); }
.p3-ticket-body { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end; }
.p3-ticket-facts { margin: 0; font: 700 clamp(22px, 2.3vw, 34px)/1.02 var(--p3-display); text-transform: uppercase; }
.p3-ticket-lead { margin: 0; max-width: 36ch; font-size: 18px; line-height: 1.5; color: var(--p3-ink); }
.p3-ticket-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 22px; box-shadow: inset 0 2px 0 var(--p3-sand-2); }
.p3-ticket-foot .p3-link { justify-self: end; }
.p3-ticket-mark { width: 44px !important; height: 44px !important; animation: p3-spin 40s linear infinite; }
@keyframes p3-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
	.p3-hero { height: 150vh; }
	.p3-ticket { min-height: 70svh; gap: 20px; }
	.p3-ticket-title { flex-wrap: wrap; justify-content: flex-start; column-gap: 0.22em; font-size: clamp(54px, 17vw, 84px); }
	.p3-ticket-body { grid-template-columns: 1fr; gap: 16px; }
	.p3-ticket-facts { font-size: clamp(22px, 6.4vw, 28px); }
	.p3-ticket-lead { font-size: 16px; }
	.p3-ticket-foot { grid-template-columns: auto 1fr; }
	.p3-ticket-foot .p3-btn { grid-column: 1 / -1; grid-row: 1; width: 100%; }
}

/* 2. The day — one word per part of the day, pinned while its photograph passes. */
.p3-day { background: var(--p3-deep); }
.p3-panel { --ws: clamp(108px, 19vw, 330px); position: relative; height: 120vh; height: 120svh; overflow: clip; isolation: isolate; }
.p3-panel-photo { position: absolute; inset: 0; z-index: -1; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; filter: brightness(0.66) saturate(1.05); }
.p3-panel-word { position: sticky; top: calc(50svh - var(--ws) * 0.46); margin-top: calc(50svh - var(--ws) * 0.46); text-align: center; pointer-events: none; }
.p3-panel-word h3 { font-size: var(--ws); line-height: 0.92; color: var(--p3-sand); }
.p3-panel:nth-child(even) .p3-panel-word h3 { color: var(--p3-gold); }
.p3-panel-note { position: absolute; left: var(--p3-m); bottom: var(--p3-m); max-width: 460px; padding: 24px 26px; background: var(--p3-sand); color: var(--p3-ink); }
.p3-panel-note p { margin: 0 0 12px; font-size: 17px; }
.p3-panel-note .p3-panel-when { margin-bottom: 8px; font: 800 26px/1 var(--p3-display); text-transform: uppercase; color: var(--p3-sea); }
.p3-panel-note a { color: var(--p3-ink); font-weight: 600; text-underline-offset: 4px; }
@media (hover: hover) { .p3-panel-note a:hover { color: var(--p3-sea); } }
@media (max-width: 760px) {
	.p3-panel { --ws: clamp(72px, 24vw, 120px); height: 120svh; }
	.p3-panel-note { left: 16px; right: 16px; bottom: 16px; max-width: none; padding: 18px; }
}

/* 3. Departures board — every trip at one size, the price at the far edge. */
.p3-board { background: var(--p3-deep); color: var(--p3-on-deep); padding: clamp(96px, 12vw, 200px) 0 clamp(80px, 10vw, 160px); }
.p3-board-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; margin-bottom: 24px; }
.p3-board-head h2 { font-size: clamp(56px, 8.6vw, 140px); color: var(--p3-on-deep); }
.p3-board-head p { margin: 0; max-width: 40ch; color: var(--p3-on-deep); }
.p3-board-cat { position: sticky; top: 0; z-index: 1; margin: 64px 0 8px !important; padding: 12px 0; background: var(--p3-deep); font-size: clamp(24px, 2.4vw, 36px) !important; }
.p3-board-cat a { color: var(--p3-sun); text-decoration: none; }
.p3-board-rows { list-style: none; margin: 0; padding: 0; }
.p3-board-rows a { display: grid; grid-template-columns: 1fr minmax(10ch, 18ch) 9ch; gap: 24px; align-items: baseline; padding: 6px 10px; margin: 0 -10px; color: var(--p3-on-deep); text-decoration: none; font: 700 clamp(19px, 1.9vw, 28px)/1.3 var(--p3-display); text-transform: uppercase; transition: background 0.2s, color 0.2s; }
.p3-r-len { color: var(--p3-on-deep-2); }
.p3-r-price { justify-self: end; color: var(--p3-gold); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .p3-board-rows a:hover { background: var(--p3-deep-2); } .p3-board-rows a:hover .p3-r-name { color: var(--p3-gold); } }
@media (max-width: 760px) {
	.p3-board-head { grid-template-columns: 1fr; }
	.p3-board-rows a { grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; margin: 0; font-size: 21px; }
	.p3-r-len { grid-row: 2; font: 400 14px/1.4 var(--p3-text); text-transform: none; }
	.p3-r-price { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
}

/* 4. Planner — the sea-blue field, the plan on deep water beside it. */
.p3-plan { background: var(--p3-sea); color: #fff; padding: clamp(96px, 12vw, 200px) 0; }
.p3-plan-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.p3-plan-form h2 { font-size: clamp(56px, 7.6vw, 124px); color: #fff; margin-bottom: 20px; }
.p3-plan-form > p { margin: 0 0 36px; max-width: 44ch; font-size: 18px; }
.p3-plan fieldset { border: 0; margin: 0 0 30px; padding: 0; }
.p3-plan legend { margin-bottom: 12px; padding: 0; font: 800 24px/1 var(--p3-display); text-transform: uppercase; color: var(--p3-gold); }
.p3-stepper { display: flex; align-items: center; gap: 4px; }
.p3-stepper button { width: 64px; height: 64px; border: 0; background: var(--p3-sand); color: var(--p3-ink); font: 700 30px/1 var(--p3-text); cursor: pointer; transition: background 0.2s, transform 0.15s; }
.p3-stepper button:active { transform: scale(0.94); }
.p3-stepper output { min-width: 2.2ch; text-align: center; font: 800 88px/0.9 var(--p3-display); }
.p3-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.p3-chips label { position: relative; cursor: pointer; }
.p3-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.p3-chips span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; background: var(--p3-sea-2); color: #fff; font-weight: 600; font-size: 16px; transition: background 0.2s, color 0.2s, transform 0.15s; }
.p3-chips input:checked + span { background: var(--p3-sun); color: var(--p3-ink); }
.p3-chips input:focus-visible + span { outline: 3px solid var(--p3-gold); outline-offset: 2px; }
.p3-chips label:active span { transform: scale(0.96); }
@media (hover: hover) { .p3-stepper button:hover { background: var(--p3-gold); } .p3-chips label:hover span { background: #1067d4; } .p3-chips input:checked + span:hover { background: var(--p3-gold); } }
.p3-plan-out { background: var(--p3-deep); padding: clamp(24px, 3.4vw, 44px); }
.p3-plan-list { list-style: none; margin: 0 0 24px; padding: 0; }
.p3-plan-list li { display: grid; grid-template-columns: 9ch 1fr auto; gap: 16px; align-items: baseline; padding: 12px 0; font-size: 18px; animation: p3-in 0.5s var(--p3-ease) both; }
.p3-plan-list li:nth-child(2) { animation-delay: 0.06s; } .p3-plan-list li:nth-child(3) { animation-delay: 0.12s; } .p3-plan-list li:nth-child(4) { animation-delay: 0.18s; } .p3-plan-list li:nth-child(5) { animation-delay: 0.24s; } .p3-plan-list li:nth-child(n+6) { animation-delay: 0.3s; }
.p3-plan-list li:only-child { display: block; color: var(--p3-on-deep); }
.p3-plan-list b { font: 800 22px/1 var(--p3-display); text-transform: uppercase; color: var(--p3-sun); }
.p3-plan-list a { color: #fff; font-weight: 600; text-underline-offset: 4px; }
.p3-plan-list em { font-style: normal; color: var(--p3-gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.p3-plan-list .is-free { color: var(--p3-on-deep-2); }
.p3-plan-total { margin: 0 0 24px; font: 800 clamp(26px, 2.6vw, 38px)/1.05 var(--p3-display); text-transform: uppercase; color: var(--p3-sand); }
.p3-plan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.p3-plan-out .p3-link { color: #fff; }
@keyframes p3-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
	.p3-plan-grid { grid-template-columns: 1fr; }
	.p3-plan-list li { grid-template-columns: 1fr auto; gap: 4px 12px; }
	.p3-plan-list b { grid-column: 1 / -1; font-size: 18px; }
	.p3-stepper output { font-size: 72px; }
}

/* 5. Egypt beyond the coast — the logo's circle as the window, photos changing inside. */
.p3-beyond { background: var(--p3-sand); padding: clamp(96px, 12vw, 200px) 0; }
.p3-beyond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.p3-sunframe { position: relative; margin: 0; width: min(100%, 560px); justify-self: center; }
.p3-sunframe::before { content: ""; display: block; aspect-ratio: 1; }
.p3-sunframe-slide { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; border-radius: 50%; overflow: hidden; opacity: 0; transition: opacity 0.9s ease; }
.p3-sunframe-slide.is-on { opacity: 1; }
.p3-sunframe-slide img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; transform: scale(1.08); transition: transform 6s linear; }
.p3-sunframe-slide.is-on img { transform: scale(1.18); }
.p3-sunframe figcaption { margin-top: 18px; text-align: center; font: 700 22px/1.1 var(--p3-display); text-transform: uppercase; color: var(--p3-sea); min-height: 1.1em; }
.p3-beyond-text h2 { font-size: clamp(52px, 6.6vw, 112px); color: var(--p3-ink); margin-bottom: 22px; }
.p3-beyond-text > p { margin: 0 0 30px; max-width: 46ch; font-size: 18px; }
.p3-beyond-links { list-style: none; margin: 0; padding: 0; }
.p3-beyond-links a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; margin: 0 -14px; color: var(--p3-ink); text-decoration: none; font: 700 clamp(22px, 2.2vw, 32px)/1.1 var(--p3-display); text-transform: uppercase; transition: background 0.2s, color 0.2s; }
.p3-beyond-links a span:last-child { color: var(--p3-sea); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .p3-beyond-links a:hover { background: var(--p3-sand-2); color: var(--p3-sea); } }
@media (max-width: 900px) { .p3-beyond-grid { grid-template-columns: 1fr; } .p3-sunframe { width: 78vw; } }

/* 6. Before you book — a band per question, all answers open. */
.p3-faq-band { background: var(--p3-sand-2); }
.p3-faq-band:nth-child(odd) { background: var(--p3-sand); }
.p3-faq-lead { background: var(--p3-sun) !important; min-height: 38vh; display: flex; align-items: flex-end; }
.p3-faq-lead .p3-wrap { width: 100%; padding-bottom: 32px; }
.p3-faq-lead h2 { font-size: clamp(64px, 9vw, 150px); color: var(--p3-ink); }
.p3-faq-row { display: grid; grid-template-columns: 5fr 1fr 6fr; padding-top: 56px; padding-bottom: 56px; }
.p3-faq-row h3 { grid-column: 1; font-size: clamp(28px, 2.6vw, 40px) !important; line-height: 1 !important; color: var(--p3-ink); }
.p3-faq-row p { grid-column: 3; margin: 0; font-size: 18px; line-height: 1.55; }
@media (max-width: 760px) { .p3-faq-row { grid-template-columns: 1fr; gap: 12px; padding-top: 32px; padding-bottom: 32px; } .p3-faq-row p { grid-column: 1; font-size: 17px; } .p3-faq-lead { min-height: 30svh; } }

/* 7. Last light — the sunset beside the last words. */
.p3-last { display: grid; grid-template-columns: 7fr 5fr; min-height: 86vh; background: var(--p3-sand); }
.p3-last-photo { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
.p3-last-text { align-self: center; padding: clamp(40px, 6vw, 96px) var(--p3-m); }
.p3-last-text h2 { font-size: clamp(52px, 6vw, 104px); color: var(--p3-ink); margin-bottom: 20px; }
.p3-last-text > p { margin: 0 0 30px; max-width: 38ch; font-size: 18px; }
@media (max-width: 900px) { .p3-last { grid-template-columns: 1fr; } .p3-last-photo { aspect-ratio: 4 / 3; height: auto !important; } }

/* Footer: deep sea, the name at full width as the close. */
.zs-footer { background: var(--p3-deep); }
.zs-footer::before { background: var(--p3-sun); }
.zs-footer-col h2 { font-family: var(--p3-display); font-weight: 800; font-size: 20px; letter-spacing: 0.02em; color: var(--p3-gold); }
.p3-footname { margin: 0; padding: 8px 0 0; font: 800 clamp(44px, 10.2vw, 176px)/0.86 var(--p3-display); text-transform: uppercase; letter-spacing: -0.01em; color: var(--p3-sun); white-space: nowrap; overflow: hidden; }

/* Entrances (only when the script runs, so nothing stays hidden without it). */
.p3-js [data-p3-reveal] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--p3-ease), transform 0.7s var(--p3-ease); }
.p3-js [data-p3-reveal] > :nth-child(2) { transition-delay: 0.08s; }
.p3-js [data-p3-reveal] > :nth-child(3) { transition-delay: 0.16s; }
.p3-js [data-p3-reveal].is-in > * { opacity: 1; transform: none; }
.p3-js .p3-board-rows li { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--p3-ease), transform 0.5s var(--p3-ease); }
.p3-js .is-in .p3-board-rows li { opacity: 1; transform: none; }
.p3-js .is-in .p3-board-rows li:nth-child(2) { transition-delay: 0.05s; } .p3-js .is-in .p3-board-rows li:nth-child(3) { transition-delay: 0.1s; } .p3-js .is-in .p3-board-rows li:nth-child(4) { transition-delay: 0.15s; } .p3-js .is-in .p3-board-rows li:nth-child(n+5) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
	.p3-hero-photo { transform: none !important; }
	.p3-ticket-mark, .p3-plan-list li { animation: none; }
	.p3-sunframe-slide img, .p3-sunframe-slide.is-on img { transform: none; transition: none; }
	.p3-js [data-p3-reveal] > *, .p3-js .p3-board-rows li { opacity: 1; transform: none; transition: none; }
}

/* Inspector round 1 */
:root { --p3-sand: #F1EEE8; --p3-sand-2: #E4DED3; --p3-on-deep: #F1EEE8; }
.p3-board-head { grid-template-columns: 2.2fr 1fr; }
.p3-board-head h2 { font-size: clamp(56px, 7.4vw, 124px); }
.p3-plan-total { font: 600 20px/1.4 var(--p3-text); text-transform: none; }
.zs-lang-menu, .zs-header .zs-nav .wp-block-navigation__submenu-container { box-shadow: none !important; }
.zs-footer-bottom, .zs-footer-brand { border: 0 !important; }
.zs-footer-bottom { background: #061a3a; margin: 0 calc(-1 * var(--zs-gutter)); padding-left: var(--zs-gutter); padding-right: var(--zs-gutter); }
@media (max-width: 760px) {
	.p3-hero { height: 140vh; }
	.p3-ticket { min-height: 0; gap: 16px; padding: 20px; }
	.p3-ticket-facts { font-size: 20px; line-height: 1.1; }
	.p3-ticket-lead { display: none; }
}

@media (max-width: 760px) { .p3-board-head h2 { font-size: 46px; } }
