@import url("site-footer.css?v=1");

:root {
  --ink: #102a36;
  --ink-2: #173b49;
  --sand: #f5f0e5;
  --sand-2: #e7dcc8;
  --gold: #c89a4b;
  --gold-2: #e7c982;
  --terracotta: #bd5d3f;
  --paper: #fbfaf6;
  --white: #fff;
  --muted: #63747b;
  --line: rgba(16, 42, 54, 0.14);
  --shadow: 0 24px 65px rgba(21, 38, 43, 0.13);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; overscroll-behavior-x: none; }
.hero, .journey, .fast-track, .transport, .footer { scroll-margin-top: 96px; }
html { scroll-padding-top: 96px; }
[id] { scroll-margin-top: 96px; }
body { position: relative; width: 100%; max-width: 100%; margin: 0; overflow-x: clip; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; overscroll-behavior-x: none; touch-action: pan-y; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.section { padding: 112px 0; }

.site-header { position: relative; z-index: 10; height: 76px; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .container { width: min(1360px, calc(100% - 48px)); }
.nav-wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 58px; height: 42px; color: var(--gold-2); }
.brand-mark svg { width: 58px; height: 36px; fill: currentColor; stroke: none; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 16px; letter-spacing: .16em; }
.brand-copy small { display: block; margin-top: 3px; font-weight: 600; }
.brand-copy .brand-ar { color: rgba(16,42,54,.72); font-family: "Noto Sans SC", Arial, sans-serif; font-size: 8.5px; letter-spacing: 0; }
.brand-copy .brand-official { color: rgba(16,42,54,.52); font-size: 8px; letter-spacing: .055em; white-space: nowrap; }
.main-nav { display: flex; flex: 0 1 auto; align-items: center; justify-content: flex-start; gap: 17px; margin-left: auto; }
.main-nav a { position: relative; font-size: 12px; font-weight: 600; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 1px; background: currentColor; transition: width .25s ease; }
.main-nav a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: 25px; }
.lang-switch { padding: 8px 3px; border: 0; background: transparent; display: flex; align-items: center; gap: 7px; cursor: pointer; font-size: 11px; font-weight: 700; }
.lang-switch i { height: 14px; width: 1px; background: var(--line); }
.lang-switch span:not(.active) { opacity: .45; }
.btn { min-height: 48px; padding: 0 22px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 999px; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: white; }
.site-header .btn-dark { color: white; background: var(--ink); }
.site-header .btn { min-height: 42px; padding-inline: 18px; }
.site-header .menu-toggle { color: var(--ink); border-color: var(--line); background: white; }
.btn-light { background: white; color: var(--ink); }
.btn-outline { border-color: var(--line); background: transparent; border-radius: 12px; }
.btn-outline:hover { color: white; background: var(--ink); }
.btn-gold { background: var(--gold-2); color: var(--ink); border-radius: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.65); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 17px; height: 1.5px; background: currentColor; transition: .25s; }

.hero { background: var(--paper); }
.hero-main { min-height: clamp(480px, 37vw, 650px); display: grid; grid-template-columns: minmax(0, 55%) minmax(0, 45%); }
.hero-panel { min-width: 0; padding: clamp(48px, 5vw, 82px) clamp(36px, 5vw, 96px) 54px; display: flex; flex-direction: column; justify-content: center; color: white; background: linear-gradient(135deg, #102d3a, #0a202a); overflow: hidden; }
.hero-content { width: min(100%, 720px); }
.hero-image { min-width: 0; background: url("assets/cairo-airport-terminal.png") 64% 48% / cover no-repeat; animation: heroReveal 1.1s ease both; }
.eyebrow { margin: 0 0 19px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.eyebrow.light { color: var(--gold-2); }
.hero h1 { max-width: 680px; margin: 0; color: white; font-size: clamp(46px, 4.7vw, 76px); line-height: .98; letter-spacing: -.055em; font-weight: 600; }
.hero h1 em { color: white; font-style: normal; }
.hero-lead { max-width: 620px; margin: 24px 0 0; color: rgba(255,255,255,.7); font-size: clamp(14px, 1.35vw, 19px); line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.text-link svg { transition: transform .2s; }
.text-link:hover svg { transform: translateX(5px); }
.hero-quick-actions { margin-top: 28px; display: flex; gap: 10px; }
.hero-quick { min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: 12px; font-weight: 700; transition: transform .2s, background .2s, color .2s; }
.hero-quick:hover { transform: translateY(-2px); color: var(--ink); background: white; }
.hero-quick.primary { color: var(--ink); border-color: white; background: white; }
.search-shell { width: min(100%, 760px); margin-top: 34px; }
.flight-search { width: 100%; min-height: 62px; display: grid; grid-template-columns: minmax(210px, 1.4fr) minmax(220px, 2.4fr) minmax(112px, .8fr); align-items: stretch; background: white; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; overflow: hidden; }
.search-tabs { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--sand); }
.search-tab { width: 100%; min-width: 0; padding: 8px 10px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--muted); font-size: 12px; font-weight: 700; }
.search-tab.active { color: white; background: var(--terracotta); box-shadow: inset 0 0 0 2px var(--sand), inset 0 0 0 3px rgba(255,255,255,.75); }
.tab-icon { flex: 0 0 18px; height: 18px; display: grid; place-items: center; }
.tab-icon svg { width: 18px; height: 18px; fill: currentColor; stroke: none; transition: transform .35s ease; }
.tab-icon.arriving svg { transform: rotate(145deg); }
.tab-icon.departing svg { transform: rotate(35deg); }
.search-tab[data-type="departures"].active .tab-icon svg { transform: translate(1px,-2px) rotate(35deg); }
.search-tab[data-type="arrivals"].active .tab-icon svg { transform: translate(-1px,2px) rotate(145deg); }
.search-field, .date-field { min-width: 0; padding: 10px 18px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.search-field > span:first-child, .date-field span { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.input-row { display: flex; align-items: center; gap: 10px; margin-top: 0; }
.input-row svg { flex: 0 0 auto; color: var(--gold); }
.search-field input, .date-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-field input::placeholder { color: #9aa5a8; }
.date-field input { margin-top: 8px; }
.search-submit { appearance: none; border: 0; outline: 0; box-shadow: none; background: var(--terracotta); color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; text-transform: uppercase; transition: background .2s; -webkit-tap-highlight-color: transparent; }
.search-submit:focus, .search-submit:focus-visible, .search-submit:active { border: 0; outline: 0; box-shadow: none; }
.search-submit:hover { background: #a84b30; }
.search-note { width: 100%; min-height: 42px; margin: 0; padding: 10px clamp(24px, 4vw, 70px); display: flex; align-items: center; gap: 10px; color: rgba(83,61,20,.8); background: #fff5d9; border-bottom: 1px solid #ecd49a; font-size: 11px; }
.search-note > span:first-child { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
@keyframes heroReveal { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }

.journey { padding-top: 90px; padding-bottom: 90px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 45px; }
.section-heading h2, .fast-intro h2 { margin: 0; font-size: clamp(38px, 4.5vw, 62px); line-height: 1; letter-spacing: -.05em; font-weight: 600; }
.section-heading > p { max-width: 395px; margin: 0 0 5px; color: var(--muted); line-height: 1.6; font-size: 14px; }
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 0; border: 1px solid #c9d1d3; border-radius: 20px; overflow: hidden; background: #c9d1d3; }
.journey-card { position: relative; min-height: 175px; padding: 22px; border: 0; border-radius: 0; background: var(--paper); display: flex; flex-direction: column; transition: background .25s; }
.journey-card:hover { background: #f4ecdc; }
.journey-card.feature { min-height: 175px; background: var(--paper); }
.journey-card.feature:hover { background: #f4ecdc; }
.journey-card.feature .icon-wrap { width: 43px; height: 43px; margin: 0; }
.journey-card.feature .icon-wrap svg { width: 20px; height: 20px; }
.journey-card.dark-card { color: white; border: 0; background: linear-gradient(135deg, #123441, #0c252f); }
.journey-card.dark-card { grid-column: span 2; }
.journey-card.dark-card:hover { background: linear-gradient(135deg, #194856, #113641); }
.journey-card:hover .round-arrow { color: white; border-color: var(--terracotta); background: var(--terracotta); }
.journey-card.dark-card:hover .round-arrow { color: white; border-color: var(--terracotta); background: var(--terracotta); }
.journey-card.dark-card p { color: rgba(255,255,255,.65); }
.card-num { font-size: 10px; color: var(--gold); letter-spacing: .15em; font-weight: 700; }
.icon-wrap { position: absolute; top: 20px; right: 20px; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--terracotta); }
.journey-card h3 { margin: auto 0 6px; font-size: 18px; letter-spacing: -.02em; }
.journey-card p { margin: 0; padding-right: 45px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.round-arrow { position: absolute; right: 21px; bottom: 21px; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: color .2s, border-color .2s, background .2s; }
.round-arrow svg { width: 13px; height: 13px; }
.round-arrow.gold { background: var(--gold-2); color: var(--ink); border: 0; }

.fast-track { padding-top: 90px; background: var(--sand); }
.fast-visual { position: relative; height: 330px; border-radius: var(--radius); overflow: hidden; color: white; }
.fast-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,20,27,.92), rgba(6,20,27,.55) 35%, transparent 66%); }
.fast-visual img { width: 100%; height: 100%; object-fit: cover; }
.fast-copy { position: absolute; z-index: 2; top: 50%; left: 58px; transform: translateY(-50%); }
.fast-copy h2 { margin: 0 0 24px; font-size: clamp(36px, 3.5vw, 52px); line-height: 1; letter-spacing: -.05em; }
.fast-copy .eyebrow { color: var(--gold-2); }
.fast-label { position: absolute; z-index: 2; right: 30px; bottom: 26px; padding: 14px 18px; display: flex; flex-direction: column; align-items: flex-end; border: 1px solid rgba(255,255,255,.45); border-radius: 10px; backdrop-filter: blur(8px); background: rgba(7,24,31,.28); }
.fast-label strong { font-size: 28px; line-height: 1; letter-spacing: .12em; }
.fast-label small { margin-top: 7px; color: var(--gold-2); font-size: 8px; letter-spacing: .2em; }
.fast-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: end; margin: 60px 0 30px; }
.fast-intro h2 { font-size: clamp(34px, 4vw, 54px); }
.fast-intro-side > p { margin: 0 0 18px; color: var(--muted); line-height: 1.65; }
.fast-contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-btn { min-height: 42px; padding: 0 15px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.5); font-size: 11px; font-weight: 700; }
.contact-btn { transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.contact-btn svg { width: 16px; height: 16px; }
.contact-btn.primary { color: white; border-color: var(--ink); background: var(--ink); }
.contact-btn.whatsapp { color: white; border-color: #198a60; background: #198a60; }
.contact-btn:hover { transform: translateY(-2px); color: white; border-color: var(--terracotta); background: var(--terracotta); box-shadow: 0 8px 18px rgba(16,42,54,.12); }
.contact-btn.primary:hover { border-color: #204b5a; background: #204b5a; }
.contact-btn.whatsapp:hover { border-color: #126d4a; background: #126d4a; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price-card { min-height: 485px; padding: 27px; display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 18px; }
.price-top { display: flex; justify-content: space-between; align-items: center; }
.service-icon { width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; color: var(--terracotta); background: var(--sand); }
.service-icon svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.service-icon.arriving svg { transform: rotate(145deg); }
.service-icon.departing svg { transform: rotate(35deg); }
.service-icon.round svg { transform: rotate(90deg); }
.tag { color: var(--gold); font-size: 12px; letter-spacing: .17em; font-weight: 700; text-transform: uppercase; }
.price-card h3 { margin: 30px 0 10px; font-size: 20px; letter-spacing: -.03em; }
.price-card > p { min-height: 66px; margin: 0; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.55; }
.price { margin: auto 0 22px; display: flex; align-items: baseline; gap: 5px; }
.price small { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.price strong { font-size: 36px; letter-spacing: -.04em; }
.price span { color: var(--muted); font-size: 12px; }
.home-price-rows { margin: auto 0 22px; border-top: 1px solid #e8e1d5; }
.home-price-rows > div { min-height: 47px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #e8e1d5; }
.home-price-rows span { color: var(--muted); font-size: 14px; }
.home-price-rows strong { color: var(--ink); font-size: 15px; font-weight: 700; }
.price-card .btn { justify-content: space-between; }
.price-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.price-actions .btn { min-height: 44px; padding-inline: 15px; }
.btn-soft { color: var(--terracotta); border-radius: 12px; background: var(--sand); }
.btn-soft:hover { color: white; background: var(--terracotta); }
.fast-actions { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.subtle-link { display: flex; align-items: center; gap: 8px; color: var(--terracotta); font-size: 12px; font-weight: 700; }

.transport { background: var(--paper); }
.transport-heading { align-items: end; }
.dark-link { margin-bottom: 9px; }
.transport-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.transport-card { position: relative; min-height: 215px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: white; }
.transport-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--terracotta); background: var(--sand); border-radius: 50%; }
.transport-icon svg { width: 25px; height: 25px; }
.transport-card > div { margin-top: auto; }
.transport-card h3 { margin: 0 0 7px; font-size: 18px; }
.transport-card p { max-width: 190px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.location-banner { margin: 0 0 18px; padding: 16px 22px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 17px; color: var(--ink); background: linear-gradient(90deg, #efe5d2, #f8f4ea); border: 1px solid #dfd2ba; border-radius: 14px; }
.location-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--terracotta); background: white; }
.location-mark svg { width: 23px; height: 23px; }
.location-banner h3 { display: inline; margin: 0 12px 0 0; font-size: 20px; }
.location-banner p:not(.eyebrow) { display: inline; margin: 0; color: var(--muted); font-size: 12px; }
.location-banner .eyebrow { margin-bottom: 4px; color: var(--gold); }

.new-site-section { padding: 0 0 90px; }
.new-site-banner { min-height: 210px; padding: 38px 44px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; color: white; border-radius: var(--radius); background: linear-gradient(120deg, #0b2530, #173f4c); overflow: hidden; }
.new-site-symbol { width: 110px; height: 90px; display: grid; place-items: center; color: var(--gold-2); border-right: 1px solid rgba(255,255,255,.14); }
.new-site-symbol svg { width: 76px; height: 48px; }
.new-site-banner .eyebrow { margin-bottom: 10px; color: var(--gold-2); }
.new-site-banner h2 { margin: 0 0 8px; font-size: clamp(27px, 3vw, 40px); line-height: 1.05; letter-spacing: -.04em; }
.new-site-banner p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; }

.footer { color: white; background: #091e27; }
.footer-main { padding: 80px 0 68px; display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 55px; }
.footer-brand .brand { gap: 14px; }
.brand-light .brand-mark { color: var(--gold-2); }
.footer-brand > p { max-width: 270px; margin: 25px 0; color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.6; }
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-list a { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.75); font-size: 12px; }
.contact-list svg { color: var(--gold-2); }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-links h4 { margin: 4px 0 12px; color: var(--gold-2); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.footer-links a { color: rgba(255,255,255,.58); font-size: 12px; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-bottom { min-height: 70px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.38); font-size: 10px; }
.footer-bottom a { color: rgba(255,255,255,.75); }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 25px; transform: translate(-50%, 30px); padding: 13px 20px; border-radius: 10px; color: white; background: var(--ink); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s; font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

[dir="rtl"] body { font-family: "Noto Sans SC", Arial, sans-serif; }
[dir="rtl"] .hero-shade { background: linear-gradient(270deg, rgba(247,241,225,.93) 0%, rgba(247,241,225,.74) 34%, rgba(247,241,225,0) 61%), linear-gradient(0deg, rgba(16,42,54,.17), transparent 40%); }
[dir="rtl"] .hero-image { inset: 0 auto 0 max(0px, calc((100vw - 1920px) / 2)); width: min(100%, 1920px); transform: scaleX(-1); }
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .hero-content, [dir="rtl"] .search-shell { margin-right: calc(max(0px, (100vw - 1920px) / 2) + clamp(32px, 6vw, 115px)); margin-left: auto; }
[dir="rtl"] .icon-wrap { right: auto; left: 20px; }
[dir="rtl"] .round-arrow { right: auto; left: 21px; }
[dir="rtl"] .round-arrow svg, [dir="rtl"] .text-link svg, [dir="rtl"] .subtle-link svg, [dir="rtl"] .btn svg { transform: rotate(180deg); }
[dir="rtl"] .journey-card p { padding-right: 0; padding-left: 45px; }
[dir="rtl"] .fast-copy { left: auto; right: 58px; }
[dir="rtl"] .fast-visual::after { background: linear-gradient(270deg, rgba(6,20,27,.92), rgba(6,20,27,.55) 35%, transparent 66%); }
[dir="rtl"] .fast-visual img { transform: scaleX(-1); }
[dir="rtl"] .fast-label { right: auto; left: 25px; }

@media (max-width: 1260px) {
  .main-nav { position: fixed; inset: 76px 0 auto; max-width: none; padding: 30px 32px 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; color: white; background: var(--ink); transform: translateY(-140%); transition: transform .35s ease; }
  .main-nav a { font-size: 15px; }
  .menu-open .main-nav { transform: translateY(0); }
  .menu-toggle { display: flex; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.3px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
  .book-top { display: none; }
  .nav-actions { margin-left: auto; }
  .hero { height: auto; min-height: 590px; }
  .hero-image { inset: 0; width: auto; background-size: cover; }
}

@media (max-width: 1050px) {
  .main-nav { gap: 13px; }
  .main-nav a { font-size: 15px; }
  .brand-copy .brand-official { display: none; }
  .flight-search { grid-template-columns: 220px minmax(235px, 1fr) 135px; }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-card.feature { grid-row: auto; min-height: 175px; }
  .journey-card.feature .icon-wrap { width: 43px; height: 43px; margin: 0; }
  .journey-card.feature .icon-wrap svg { width: 20px; height: 20px; }
  .journey-card.dark-card { grid-column: span 2; }
  .transport-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .container { width: min(100% - 36px, 690px); }
  .hero-content, .search-shell { width: min(100% - 36px, 690px); margin-inline: auto; }
  .section { padding: 80px 0; }
  .site-header, .nav-wrap { height: 76px; }
  .main-nav { position: fixed; inset: 76px 0 auto; padding: 32px 24px 40px; display: flex; flex-direction: column; align-items: flex-start; color: white; background: var(--ink); transform: translateY(-140%); transition: transform .35s ease; }
  .menu-open .main-nav { transform: translateY(0); }
  .menu-toggle { display: flex; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.3px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
  .book-top { display: none; }
  .hero { min-height: 650px; padding-top: 0; }
  .hero-image { inset: 0; width: auto; border-radius: 0; background-position: 67% 18%; }
  [dir="rtl"] .hero-image { inset: 0; width: auto; }
  .hero-shade { display: block; background: linear-gradient(90deg, rgba(247,241,225,.94) 0%, rgba(247,241,225,.62) 55%, rgba(247,241,225,.05) 100%), linear-gradient(0deg, rgba(16,42,54,.18), transparent 40%); }
  .hero-content { padding-top: 60px; }
  .hero h1 { font-size: clamp(48px, 11vw, 72px); }
  .flight-search { width: min(100%, 590px); grid-template-columns: 1fr 1fr; min-height: auto; }
  .search-tabs, .search-field { grid-column: span 2; }
  .search-tabs { grid-template-columns: 1fr 1fr; }
  .search-tab { flex-direction: row; }
  .search-field { padding: 24px; border-bottom: 1px solid var(--line); }
  .date-field { padding: 20px 22px; }
  .search-submit { min-height: 64px; grid-column: span 2; }
  .journey { padding-top: 80px; }
  .section-heading, .fast-intro { grid-template-columns: 1fr; display: grid; gap: 24px; }
  .section-heading > p { max-width: 520px; }
  .fast-visual { height: 350px; }
  .fast-copy { left: 32px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 335px; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
  .new-site-banner { grid-template-columns: auto 1fr; }
  .new-site-banner .btn { grid-column: 2; justify-self: start; }
}

@media (max-width: 570px) {
  .container { width: calc(100% - 28px); }
  .hero-content, .search-shell { width: calc(100% - 28px); }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 6.5px; }
  .brand-mark { width: 48px; height: 38px; }
  .brand-mark svg { width: 48px; }
  .brand-copy .brand-ar { font-size: 6.5px; }
  .hero { min-height: 700px; }
  .hero-content { padding-top: 48px; }
  .hero h1 { max-width: 370px; font-size: 46px; }
  .hero-lead { max-width: 330px; font-size: 14px; }
  .hero-image { background-image: url("assets/cairo-hero-v2.png"); background-position: 74% 18%; }
  .hero-shade { background: linear-gradient(180deg, rgba(247,241,225,.78) 0%, rgba(247,241,225,.32) 53%, rgba(16,42,54,.12) 100%), linear-gradient(90deg, rgba(247,241,225,.88), transparent 95%); }
  .search-shell { bottom: auto; }
  .flight-search { grid-template-columns: 1fr; border-radius: 18px; }
  .search-tabs, .search-field { grid-column: auto; }
  .date-field { border-right: 0; border-bottom: 1px solid var(--line); }
  .search-submit { min-height: 58px; grid-column: auto; }
  .search-note { width: 90%; align-items: flex-start; line-height: 1.4; }
  .journey { padding-top: 76px; }
  .section-heading h2, .fast-intro h2 { font-size: 39px; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-card, .journey-card.feature { min-height: 200px; }
  .journey-card.dark-card { grid-column: auto; }
  .fast-visual { height: 330px; }
  .fast-copy { left: 25px; bottom: 30px; top: auto; transform: none; }
  .fast-copy h2 { font-size: 39px; }
  .fast-label { display: none; }
  .fast-intro { margin-top: 48px; }
  .transport-grid { grid-template-columns: 1fr; }
  .transport-card { min-height: 190px; }
  .location-banner { grid-template-columns: auto 1fr; padding: 15px; }
  .location-banner h3, .location-banner p:not(.eyebrow) { display: block; }
  .location-banner h3 { font-size: 18px; }
  .new-site-section { padding-bottom: 65px; }
  .new-site-banner { padding: 30px; grid-template-columns: 1fr; }
  .new-site-symbol { display: none; }
  .new-site-banner .btn { grid-column: auto; width: 100%; justify-self: stretch; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 25px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { padding: 25px 0; flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Reference-style split hero: normal document flow, stable at browser zoom levels. */
[dir="rtl"] .hero-main { direction: rtl; }
[dir="rtl"] .hero-panel { direction: rtl; }
[dir="rtl"] .hero-content { width: min(100%, 720px); margin: 0; text-align: right; }
[dir="rtl"] .search-shell { width: min(100%, 760px); margin: 34px 0 0; }
[dir="rtl"] .hero-image { position: static; inset: auto; width: auto; transform: none; }

@media (max-width: 1260px) {
  .hero { height: auto; min-height: 0; }
  .hero-main { min-height: 540px; }
  .hero-panel { padding-inline: clamp(28px, 4vw, 55px); }
  .hero-image { position: static; inset: auto; width: auto; background-size: cover; }
  .flight-search { grid-template-columns: minmax(190px, 1.25fr) minmax(200px, 2fr) 112px; }
}

@media (max-width: 920px) {
  .hero { min-height: 0; padding: 0; }
  .hero-main { min-height: 0; grid-template-columns: 1fr; }
  .hero-panel { min-height: 510px; padding: 52px max(28px, calc((100vw - 690px) / 2)) 44px; }
  .hero-content, .search-shell,
  [dir="rtl"] .hero-content, [dir="rtl"] .search-shell { width: 100%; margin-inline: 0; }
  .hero-content { padding-top: 0; }
  .hero h1 { max-width: 620px; font-size: clamp(47px, 9vw, 70px); }
  .hero-lead { max-width: 580px; }
  .flight-search { grid-template-columns: minmax(200px, 1.2fr) minmax(220px, 2fr) 120px; }
  .search-tabs, .search-field, .search-submit { grid-column: auto; }
  .search-field { padding: 10px 16px; border-bottom: 0; }
  .search-submit { min-height: 62px; }
  .hero-image, [dir="rtl"] .hero-image { height: clamp(300px, 55vw, 440px); background-image: url("assets/cairo-hero-v4.png"); background-position: 64% 52%; }
  .search-note { width: 100%; }
  .journey { padding-top: 80px; }
}

@media (max-width: 640px) {
  .hero-panel { min-height: 0; padding: 42px 20px 30px; }
  .hero-content { padding-top: 0; }
  .hero h1 { max-width: 420px; font-size: clamp(43px, 13vw, 60px); }
  .hero-lead { max-width: 420px; margin-top: 18px; font-size: 14px; }
  .hero-quick-actions { margin-top: 24px; flex-wrap: wrap; }
  .hero-quick { min-height: 42px; padding-inline: 17px; }
  .search-shell, [dir="rtl"] .search-shell { margin-top: 28px; }
  .flight-search { grid-template-columns: 1fr 1fr; border-radius: 8px; }
  .search-tabs { grid-column: span 2; min-height: 52px; }
  .search-field { grid-column: 1; min-height: 58px; padding: 10px 13px; }
  .search-submit { grid-column: 2; min-height: 58px; }
  .hero-image, [dir="rtl"] .hero-image { height: 260px; background-position: 63% 52%; }
  .search-note { min-height: 48px; padding: 10px 18px; align-items: flex-start; line-height: 1.4; }
}

@media (max-width: 390px) {
  .flight-search { grid-template-columns: 1fr; }
  .search-tabs, .search-field, .search-submit { grid-column: 1; }
  .search-field { border-bottom: 1px solid var(--line); }
  .hero-image, [dir="rtl"] .hero-image { height: 225px; }
}

/* Final Shanghai hero theme: dark sticky navigation, light controls panel. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: white;
  background: var(--ink);
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: 0 5px 18px rgba(6,24,31,.08);
}
.site-header .brand-mark { color: var(--gold-2); }
.site-header .brand-copy .brand-ar { color: rgba(255,255,255,.74); }
.site-header .brand-copy .brand-official { color: rgba(255,255,255,.55); }
.site-header .lang-switch i { background: rgba(255,255,255,.3); }
.site-header .btn-dark { color: var(--ink); background: var(--gold-2); }
.site-header .menu-toggle { color: white; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); }

.hero-main { min-height: clamp(530px, 40vw, 660px); }
.hero-panel {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 82%, rgba(200,154,75,.24), transparent 34%),
    linear-gradient(135deg, #f1ece2 0%, #e9e1d3 100%);
}
@media (min-width: 921px) {
  .hero {
    padding: 24px 0 0;
    background:
      radial-gradient(circle at 44% 72%, rgba(200,154,75,.2), transparent 28%),
      linear-gradient(135deg, #f1ece2 0%, #e9e1d3 100%);
  }
  .hero-main {
    width: min(1240px, calc(100% - 64px));
    min-height: 0;
    margin-inline: auto;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: clamp(34px, 3.2vw, 48px);
  }
  .hero-panel,
  [dir="rtl"] .hero-panel {
    min-height: 0;
    padding: clamp(30px, 2.8vw, 40px) 0 38px;
    background: transparent;
    overflow: visible;
  }
  .hero-image,
  [dir="rtl"] .hero-image {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    align-self: center;
    border-radius: 24px;
    animation: none;
    background-size: cover;
    background-position: center;
    box-shadow: 0 22px 54px rgba(16,42,54,.16);
    transform: translateZ(0);
    transition: transform .35s ease, filter .35s ease, box-shadow .35s ease;
  }
  .hero-image:hover {
    filter: saturate(1.04) contrast(1.02);
    transform: translateY(-4px) scale(1.006);
    box-shadow: 0 30px 66px rgba(16,42,54,.21);
  }
  .search-note {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 11px max(32px, calc((100vw - 1240px) / 2));
    border: 0;
    border-top: 1px solid rgba(216,181,99,.34);
    border-bottom: 1px solid #ecd49a;
    border-radius: 0;
    background: #fff5d9;
  }
}
.pyramid-lines {
  position: absolute;
  z-index: -1;
  right: -4%;
  bottom: -2px;
  width: 68%;
  height: auto;
  color: var(--terracotta);
  opacity: .13;
  pointer-events: none;
}
.pyramid-lines path { fill: none; stroke: currentColor; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.hero-image {
  background-image: url("assets/cairo-airport-terminal.png");
  background-position: 52% center;
}
.hero .eyebrow.light { color: rgba(16,42,54,.62); }
.hero h1 { color: var(--ink); }
.hero h1 em { color: var(--terracotta); }
.hero-lead { color: rgba(16,42,54,.72); }
.hero-quick {
  min-height: 48px;
  padding-inline: 20px;
  gap: 9px;
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255,255,255,.8);
  box-shadow: 0 6px 18px rgba(16,42,54,.04);
}
.hero-quick svg { width: 17px; height: 17px; color: var(--terracotta); }
.hero-quick:hover { color: var(--ink); background: white; box-shadow: 0 10px 24px rgba(16,42,54,.1); }
.hero-quick.primary { color: white; border-color: #2f7478; background: #2f7478; }
.hero-quick.primary svg { color: #f3d58b; }
.hero-quick.primary:hover { color: white; border-color: #255e62; background: #255e62; }

.search-shell { width: min(100%, 610px); margin-top: 26px; }
.flight-search {
  min-height: 76px;
  grid-template-columns: 230px minmax(220px, 1fr) 145px;
  border: 1px solid rgba(16,42,54,.12);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(16,42,54,.13);
}
.search-tabs { padding: 6px; gap: 5px; background: var(--sand); }
.search-tab { min-width: 0; padding: 8px 9px; border-radius: 12px; gap: 7px; font-size: 11px; white-space: nowrap; }
.search-tab.active { color: white; background: var(--ink); box-shadow: none; }
.tab-icon { flex-basis: 19px; width: 19px; height: 19px; }
.tab-icon svg { width: 19px; height: 19px; }
.search-field { position: relative; padding: 11px 18px; }
.search-field > span:first-child { font-size: 8px; }
.input-row { margin-top: 6px; }
.input-row svg { width: 19px; height: 19px; }
.search-field input { padding-right: 30px; font-size: 12px; }
.search-field input::-webkit-search-cancel-button { display: none; -webkit-appearance: none; appearance: none; }
.search-clear {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: color .2s, background .2s, opacity .2s;
}
.search-clear.visible { opacity: 1; pointer-events: auto; }
.search-clear:hover { color: var(--ink); background: var(--sand); }
[dir="rtl"] .search-field input { padding-right: 0; padding-left: 30px; }
[dir="rtl"] .search-clear { right: auto; left: 12px; }
.search-submit { white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }

[dir="rtl"] .pyramid-lines { right: auto; left: -4%; transform: scaleX(-1); }
[dir="rtl"] .hero-main { direction: rtl; }

@media (max-width: 1260px) {
  .hero-main { min-height: 0; }
  .flight-search { grid-template-columns: 220px minmax(205px, 1fr) 135px; }
}

@media (min-width: 921px) and (max-width: 1100px) {
  .hero-main {
    width: min(760px, calc(100% - 64px));
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero-panel,
  [dir="rtl"] .hero-panel { padding-bottom: 28px; }
  .hero-image,
  [dir="rtl"] .hero-image {
    width: min(100%, 680px);
    justify-self: center;
    aspect-ratio: 16 / 9;
  }
  .search-note { padding-inline: max(32px, calc((100vw - 760px) / 2)); }
}

@media (max-width: 920px) {
  .hero-main { min-height: 0; }
  .hero-panel { min-height: 520px; }
  .hero-image, [dir="rtl"] .hero-image {
    height: clamp(300px, 54vw, 430px);
    background-image: url("assets/cairo-airport-terminal.png");
    background-position: 52% center;
  }
  .flight-search { grid-template-columns: 1.35fr 1.9fr 1fr; }
}

@media (max-width: 640px) {
  .hero-panel { min-height: 0; }
  .pyramid-lines { width: 105%; right: -34%; opacity: .1; }
  .hero-quick { min-height: 44px; padding-inline: 16px; }
  .flight-search { min-height: auto; grid-template-columns: 1fr 1fr; }
  .search-tabs { grid-column: span 2; min-height: 58px; }
  .search-field { grid-column: 1; min-height: 66px; }
  .search-submit { grid-column: 2; min-height: 66px; }
  .hero-image, [dir="rtl"] .hero-image { height: 250px; background-position: 51% center; }
}

@media (max-width: 390px) {
  .flight-search { grid-template-columns: 1fr; }
  .search-tabs, .search-field, .search-submit { grid-column: 1; }
  .search-field { min-height: 66px; }
  .search-submit { min-height: 58px; }
  .hero-image, [dir="rtl"] .hero-image { height: 225px; }
}

/* Compact mobile rhythm. Desktop and tablet split layout stay unchanged. */
@media (max-width: 640px) {
  .section { padding: 58px 0; }

  .hero-panel { padding: 34px 20px 24px; }
  .hero h1 { font-size: clamp(42px, 11.5vw, 50px); }
  .hero-lead { margin-top: 16px; line-height: 1.48; }
  .hero-quick-actions {
    width: 100%;
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .hero-quick {
    width: 100%;
    min-width: 0;
    min-height: 43px;
    padding-inline: 10px;
    justify-content: center;
    text-align: center;
    font-size: 10.5px;
  }
  .hero-quick svg { flex: 0 0 auto; width: 15px; height: 15px; }

  .search-shell, [dir="rtl"] .search-shell { margin-top: 22px; }
  .flight-search { grid-template-columns: 1fr; }
  .search-tabs {
    grid-column: 1;
    min-height: 48px;
    padding: 5px;
  }
  .search-tab { min-height: 38px; padding-block: 5px; }
  .search-field {
    grid-column: 1;
    min-height: 54px;
    padding: 8px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .search-field > span:first-child { font-size: 7.5px; }
  .input-row { margin-top: 4px; }
  .search-submit {
    grid-column: 1;
    min-height: 50px;
    font-size: 12px;
  }
  .search-note {
    min-height: 42px;
    padding-block: 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .search-note > span:first-child { flex: 0 0 6px; }

  .journey { padding-top: 54px; padding-bottom: 58px; }
  .section-heading { gap: 16px; margin-bottom: 28px; }
  .section-heading h2, .fast-intro h2 { font-size: 36px; }
  .section-heading > p { font-size: 13px; line-height: 1.5; }
  .journey-card, .journey-card.feature {
    min-height: 148px;
    padding: 18px;
  }
  .journey-card h3 { margin: 30px 0 4px; font-size: 17px; }
  .journey-card p { padding-right: 38px; font-size: 13px; }
  .icon-wrap { top: 16px; right: 16px; width: 38px; height: 38px; }
  .round-arrow { right: 16px; bottom: 16px; width: 28px; height: 28px; }

  .fast-track { padding-top: 58px; padding-bottom: 58px; }
  .fast-visual { height: 292px; }
  .fast-visual::after {
    background:
      linear-gradient(90deg, rgba(6,20,27,.94) 0%, rgba(6,20,27,.78) 42%, rgba(6,20,27,.18) 100%),
      linear-gradient(0deg, rgba(6,20,27,.5), transparent 55%);
  }
  .fast-copy { left: 22px; right: 22px; bottom: 22px; }
  .fast-copy h2 { max-width: 290px; margin-bottom: 18px; font-size: 34px; }
  .fast-copy .btn { min-height: 44px; padding-inline: 18px; }
  .fast-label {
    display: flex;
    top: 15px;
    right: 15px;
    bottom: auto;
    padding: 9px 11px;
    border-radius: 8px;
  }
  .fast-label strong { font-size: 14px; }
  .fast-label small { margin-top: 4px; font-size: 7px; }
  .fast-intro { gap: 18px; margin: 38px 0 22px; }
  .fast-intro-side > p { margin-bottom: 15px; font-size: 13px; line-height: 1.55; }
  .fast-contact-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .contact-btn {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0 8px;
    justify-content: center;
    gap: 5px;
    text-align: center;
    font-size: 9.5px;
    white-space: nowrap;
  }
  .contact-btn svg { flex: 0 0 auto; width: 14px; height: 14px; }
  .price-grid { gap: 10px; }
  .price-card { min-height: 305px; padding: 20px; }
  .price-card h3 { margin: 20px 0 8px; font-size: 19px; }
  .price-card > p { min-height: 0; font-size: 14px; }
  .price { margin: 24px 0 15px; }
  .price-actions {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 6px;
  }
  .price-actions .btn {
    min-width: 0;
    min-height: 42px;
    padding-inline: 10px;
    justify-content: center;
    gap: 5px;
    font-size: 10.5px;
    white-space: nowrap;
  }
  .price-actions .btn svg { flex: 0 0 auto; }
  .fast-actions { margin-top: 16px; gap: 10px; }

  .transport { padding-top: 54px; padding-bottom: 58px; }
  .transport-heading { gap: 14px; margin-bottom: 22px; }
  .transport-heading .dark-link { margin: 0; }
  .location-banner { margin-bottom: 12px; padding: 13px; gap: 12px; }
  .location-mark { width: 43px; height: 43px; }
  .transport-grid { gap: 10px; }
  .transport-card { min-height: 145px; padding: 18px; }
  .transport-icon { width: 40px; height: 40px; }
  .transport-icon svg { width: 20px; height: 20px; }
  .transport-card > div { margin-top: 12px; }
  .transport-card h3 { font-size: 17px; }
  .transport-card p { line-height: 1.45; }

  .new-site-section { padding-bottom: 55px; }
  .new-site-banner { min-height: 0; padding: 26px; gap: 18px; }
  .footer-main { padding-top: 58px; padding-bottom: 50px; }
}
