/* Premium Travel Egypt 4.0 — travel-app look, mobile first.
   White and light-sea grounds, deep-sea ink, sun orange on actions, rounded photos. */
:root {
	--p4-ink: #0B1F3A;
	--p4-muted: #4E5D73;
	--p4-line: #E3E8EF;
	--p4-sea-50: #EEF5FD;
	--p4-sand-50: #FBF4EA;
	--p4-sea: #0A63D1;
	--p4-deep: #082A57;
	--p4-sun: #F7931E;
	--p4-sun-2: #E8730C;
	--p4-r: 18px;
	--p4-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--p4-m: clamp(16px, 4vw, 40px);
	--p3-display: var(--p4-font);
	--p3-text: var(--p4-font);
	--p3-sand: #FFFFFF;
	--p3-sand-2: #F3F6FA;
	--p3-ink: var(--p4-ink);
	--p3-sea: var(--p4-sea);
	--p3-deep: var(--p4-deep);
	--p3-sun: var(--p4-sun);
	--zs-display: var(--p4-font);
	--zs-body: var(--p4-font);
}
body { background: #fff; color: var(--p4-ink); font-family: var(--p4-font); }

/* Header: white, slim, rounded orange action. */
.zs-header { background: #fff !important; box-shadow: 0 1px 0 var(--p4-line) !important; }
.zs-btn, .zs-header-cta .zs-btn, .zs-btn-gold { border-radius: 999px !important; }
.zs-header .zs-icon-btn { border-radius: 50%; background: #F3F6FA; }

/* Shared */
.p4 { font-size: 16px; line-height: 1.55; }
.p4-wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--p4-m); }
.p4 h2 { margin: 0; font: 800 clamp(24px, 3vw, 36px)/1.15 var(--p4-font); letter-spacing: -0.02em; color: var(--p4-ink); text-transform: none; }
.p4-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--p4-sun); color: #fff; font: 700 16px/1 var(--p4-font); text-decoration: none; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.p4-btn:active { transform: scale(0.97); }
@media (hover: hover) { .p4-btn:hover { background: var(--p4-sun-2); } }
.p4 :focus-visible { outline: 3px solid var(--p4-sea); outline-offset: 3px; }

/* Hero: photos crossfading, dark at the bottom, search card. */
.p4-hero { position: relative; min-height: min(86svh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; background: var(--p4-deep); }
.p4-hero-media { position: absolute; inset: 0; z-index: -2; }
.p4-hero-media .zs-stage-slide { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 1.4s ease, transform 8s linear; }
.p4-hero-media .zs-stage-slide.is-active { opacity: 1; transform: scale(1.1); }
.p4-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 42, 87, 0.15) 0%, rgba(8, 42, 87, 0.25) 40%, rgba(8, 26, 52, 0.82) 100%); }
.p4-hero-inner { width: 100%; padding-top: 120px; padding-bottom: clamp(32px, 6vw, 72px); }
.p4-hero h1 { max-width: 760px; margin: 0 0 14px; font: 800 clamp(34px, 5.4vw, 64px)/1.06 var(--p4-font); letter-spacing: -0.03em; color: #fff; }
.p4-hero-lead { max-width: 560px; margin: 0 0 26px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, 0.92); }
.p4-search { display: flex; align-items: center; gap: 10px; max-width: 640px; padding: 8px 8px 8px 22px; border-radius: 999px; background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28); }
.p4-search-field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.p4-search-field span { font-size: 12px; font-weight: 700; color: var(--p4-muted); }
.p4-search select { width: 100%; border: 0; background: transparent; font: 700 17px/1.3 var(--p4-font); color: var(--p4-ink); padding: 2px 0; cursor: pointer; }
.p4-search select:focus { outline: none; }
.p4-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.p4-trust li::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -4px; border-radius: 50%; background: var(--p4-sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 640px) {
	.p4-hero { min-height: 88svh; }
	.p4-hero-inner { padding-top: 90px; }
	.p4-search { flex-direction: column; align-items: stretch; padding: 14px; border-radius: 22px; gap: 12px; }
	.p4-search-field { padding: 0 6px; }
	.p4-search .p4-btn { width: 100%; }
	.p4-trust { gap: 8px 16px; font-size: 14px; }
}

/* Categories: round photo icons; a swipe row on phones, a grid on desktop. */
.p4-cats { padding: clamp(36px, 5vw, 64px) 0 8px; }
.p4-cats h2 { margin-bottom: 20px; }
.p4-cat-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px 16px; margin: 0; padding: 0; list-style: none; }
.p4-cat-list a { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--p4-ink); text-decoration: none; }
.p4-cat-img { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; margin-bottom: 8px; background: var(--p4-sea-50); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--p4-sea-50); transition: transform 0.3s, box-shadow 0.3s; }
.p4-cat-img img { width: 100% !important; height: 100% !important; object-fit: cover; }
.p4-cat-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.p4-cat-count { font-size: 13px; color: var(--p4-muted); }
@media (hover: hover) { .p4-cat-list a:hover .p4-cat-img { transform: translateY(-4px); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--p4-sun); } }
@media (max-width: 900px) {
	.p4-cat-list { display: flex; overflow-x: auto; gap: 14px; margin: 0 calc(-1 * var(--p4-m)); padding: 6px var(--p4-m) 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.p4-cat-list::-webkit-scrollbar { display: none; }
	.p4-cat-list li { flex: 0 0 96px; scroll-snap-align: start; }
	.p4-cat-img { width: 84px; height: 84px; }
	.p4-cat-name { font-size: 13px; }
	.p4-cat-count { font-size: 12px; }
}

/* Rows of trip cards. */
.p4-rail { padding: clamp(40px, 6vw, 72px) 0; }
.p4-rail-sea { background: var(--p4-sea-50); }
.p4-rail-sand { background: var(--p4-sand-50); }
.p4-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.p4-head p { margin: 6px 0 0; color: var(--p4-muted); max-width: 560px; }
.p4-head-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.p4-more { margin-right: 8px; color: var(--p4-sea); font-weight: 700; text-decoration: none; white-space: nowrap; }
.p4-arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--p4-ink); box-shadow: 0 2px 10px rgba(11, 31, 58, 0.12); cursor: pointer; transition: background 0.2s, color 0.2s; }
@media (hover: hover) { .p4-arrow:hover { background: var(--p4-ink); color: #fff; } .p4-more:hover { text-decoration: underline; } }
.p4-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px 16px; margin: 0 -4px; scrollbar-width: none; }
.p4-track::-webkit-scrollbar { display: none; }
.p4-card { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--p4-r); background: #fff; color: var(--p4-ink); text-decoration: none; overflow: hidden; box-shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 8px 24px rgba(11, 31, 58, 0.08); transition: transform 0.3s, box-shadow 0.3s; }
.p4-card-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--p4-sea-50); }
.p4-card-img img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; transition: transform 0.6s; }
.p4-card-tag { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: var(--p4-ink); font-size: 12px; font-weight: 700; }
.p4-card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.p4-card-title { font-weight: 700; font-size: 16px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.p4-card-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--p4-muted); }
.p4-card-price { margin-top: auto; padding-top: 4px; font-size: 13px; color: var(--p4-muted); }
.p4-card-price b { font-size: 20px; font-weight: 800; color: var(--p4-ink); }
@media (hover: hover) { .p4-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11, 31, 58, 0.06), 0 18px 40px rgba(11, 31, 58, 0.14); } .p4-card:hover .p4-card-img img { transform: scale(1.06); } }
@media (max-width: 1100px) { .p4-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 760px) {
	.p4-head-actions .p4-arrow { display: none; }
	.p4-head { align-items: flex-start; }
	.p4-track { grid-auto-columns: 78%; gap: 14px; margin: 0 calc(-1 * var(--p4-m)); padding: 4px var(--p4-m) 16px; scroll-padding: 0 var(--p4-m); }
}

/* Packages banner: photo with the offer beside it. */
.p4-banner { padding: clamp(24px, 4vw, 48px) 0; }
.p4-banner-box { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; border-radius: 26px; background: var(--p4-deep); color: #fff; }
.p4-banner-img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; min-height: 320px; }
.p4-banner-text { align-self: center; padding: clamp(28px, 4vw, 56px); }
.p4-banner-text h2 { color: #fff; margin-bottom: 12px; }
.p4-banner-text p { margin: 0 0 24px; color: rgba(255, 255, 255, 0.88); max-width: 440px; }
@media (max-width: 760px) { .p4-banner-box { grid-template-columns: 1fr; border-radius: 20px; } .p4-banner-img { min-height: 0; aspect-ratio: 16 / 10; } }

/* Why book with us. */
.p4-why { padding: clamp(48px, 7vw, 88px) 0; }
.p4-why h2 { margin-bottom: 28px; }
.p4-why-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.p4-why-list li { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--p4-r); background: var(--p4-sea-50); }
.p4-why-list svg { color: var(--p4-sea); margin-bottom: 4px; }
.p4-why-list b { font-size: 17px; }
.p4-why-list span { color: var(--p4-muted); font-size: 15px; }
@media (max-width: 900px) { .p4-why-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .p4-why-list { grid-template-columns: 1fr; } .p4-why-list li { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 16px; } .p4-why-list span { flex-basis: 100%; } }

/* The planner, questions and last call from 3.0, in the app look. */
.p4 .p3-plan { background: var(--p4-deep); padding: clamp(56px, 8vw, 104px) 0; }
.p4 .p3-plan-form h2, .p4 .p3-faq-lead h2, .p4 .p3-last-text h2 { font: 800 clamp(28px, 3.6vw, 44px)/1.12 var(--p4-font); letter-spacing: -0.02em; text-transform: none; }
.p4 .p3-plan legend { font: 700 15px/1.2 var(--p4-font); text-transform: none; color: #FFC52E; }
.p4 .p3-stepper button { border-radius: 50%; width: 52px; height: 52px; }
.p4 .p3-stepper output { font: 800 56px/1 var(--p4-font); min-width: 2.4ch; }
.p4 .p3-chips span { border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.p4 .p3-chips input:checked + span { background: var(--p4-sun); color: #fff; }
.p4 .p3-plan-out { border-radius: 22px; background: #fff; color: var(--p4-ink); }
.p4 .p3-plan-list li { color: var(--p4-ink); border-bottom: 1px solid var(--p4-line); }
.p4 .p3-plan-list b { font: 700 13px/1.2 var(--p4-font); text-transform: none; color: var(--p4-sun-2); }
.p4 .p3-plan-list a { color: var(--p4-ink); }
.p4 .p3-plan-list em { color: var(--p4-sea); font-weight: 700; }
.p4 .p3-plan-list .is-free, .p4 .p3-plan-list li:only-child { color: var(--p4-muted); }
.p4 .p3-plan-total { color: var(--p4-ink); font: 700 17px/1.4 var(--p4-font); }
.p4 .p3-plan-out .p3-link { color: var(--p4-sea); }
.p4 .p3-btn { border-radius: 999px; color: #fff; font-weight: 700; }
.p4 .p3-faq { padding: clamp(48px, 7vw, 88px) 0 0; }
.p4 .p3-faq-band, .p4 .p3-faq-band:nth-child(odd) { background: #fff; }
.p4 .p3-faq-lead { min-height: 0; background: #fff !important; }
.p4 .p3-faq-lead .p3-wrap { padding-bottom: 12px; }
.p4 .p3-faq-row { max-width: 1280px; padding-top: 22px; padding-bottom: 22px; box-shadow: inset 0 -1px 0 var(--p4-line); }
.p4 .p3-faq-row h3 { font: 700 18px/1.35 var(--p4-font) !important; text-transform: none; }
.p4 .p3-faq-row p { font-size: 16px; color: var(--p4-muted); }
.p4 .p3-last { min-height: 0; margin: clamp(48px, 7vw, 88px) var(--p4-m); border-radius: 26px; overflow: hidden; background: var(--p4-sand-50); }
@media (min-width: 1300px) { .p4 .p3-last { max-width: 1200px; margin-left: auto; margin-right: auto; } }
.p4 .p3-last-photo { min-height: 360px; }

/* Footer: deep sea, no giant name in this look. */
.p3-footname { display: none; }
.zs-footer { background: var(--p4-deep); }
.zs-footer-col h2 { font: 700 15px/1.3 var(--p4-font); letter-spacing: 0; color: #FFC52E; }

@media (prefers-reduced-motion: reduce) {
	.p4-hero-media .zs-stage-slide { transition: none; transform: none; }
}

.p4 .p3-plan-form h2, .p4 .p3-plan-form > p { color: #fff; }
.p4 .p3-plan-list a { text-decoration: none; }
@media (hover: hover) { .p4 .p3-plan-list a:hover { color: var(--p4-sea); text-decoration: underline; } }

/* Long DE/RO/PL labels: the header action steps aside below 1200px (WhatsApp stays). */
@media (max-width: 1200px) { html[lang^="de"] .zs-header-cta .zs-btn, html[lang^="ro"] .zs-header-cta .zs-btn, html[lang^="pl"] .zs-header-cta .zs-btn { display: none; } }
