/* Syfarix — syfarix.com */
/* Cairo — the Syfarix brand font (SIL Open Font License, see assets/fonts/Cairo-OFL-LICENSE.txt). Latin + Arabic. */
@font-face { font-family: 'Cairo'; src: url('../fonts/cairo-latin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Cairo'; src: url('../fonts/cairo-arabic-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1; }
@font-face { font-family: 'Cairo'; src: url('../fonts/cairo-latin-500.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Cairo'; src: url('../fonts/cairo-arabic-500.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1; }
@font-face { font-family: 'Cairo'; src: url('../fonts/cairo-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Cairo'; src: url('../fonts/cairo-arabic-600.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1; }
@font-face { font-family: 'Cairo'; src: url('../fonts/cairo-latin-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Cairo'; src: url('../fonts/cairo-arabic-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1; }
@font-face { font-family: 'Cairo'; src: url('../fonts/cairo-latin-800.woff2') format('woff2'); font-weight: 800; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Cairo'; src: url('../fonts/cairo-arabic-800.woff2') format('woff2'); font-weight: 800; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1; }

/* ---------- brand colours: change them here ---------- */
:root {
  --blue: #0C66E1;
  --navy: #000835;
  --blue-600: #0a55bd;
  --blue-50: #edf4fe;
  --blue-100: #d9e7fc;
  --sky: #7fb3ff;
  --ink: #000835;
  --text: #2a3147;
  --muted: #6a7290;
  --line: #e4e8f1;
  --bg: #f4f6fb;
  --card: #fff;
  --wa: #1fa855;
  --red: #d92d36;
  --r-xl: 28px; --r-lg: 20px; --r: 14px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(0, 8, 53, .04), 0 10px 30px rgba(0, 8, 53, .07);
  --shadow-lg: 0 30px 70px rgba(0, 8, 53, .2);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.025em; }
button, input, select { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100% - 32px); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
[hidden] { display: none !important; }
svg.ic { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow.light { color: var(--sky); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1.5px solid transparent; border-radius: 999px; padding: 11px 20px; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(12, 102, 225, .3); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { color: #fff; filter: brightness(1.05); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(228, 232, 241, .8); }
.top-in { display: flex; align-items: center; gap: 22px; height: 74px; }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { height: 40px; width: auto; max-width: 190px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--ink); font-weight: 600; font-size: 15px; padding: 9px 14px; border-radius: 10px; }
.nav a:hover, .nav a.on { background: var(--blue-50); color: var(--blue); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-left: 8px; }
.lang button { border: 0; background: none; padding: 7px 10px; font-size: 12.5px; font-weight: 800; cursor: pointer; color: var(--muted); }
.lang button.on { background: var(--navy); color: #fff; }
.top-cta { padding: 9px 16px; font-size: 14px; }
.burger { display: none; border: 0; background: none; padding: 8px; cursor: pointer; color: var(--ink); }
.burger svg { width: 26px; height: 26px; }
@media (max-width: 900px) {
  .burger { display: block; }
  .top-cta { margin-left: auto; }
  .top-cta span { display: none; }
  .nav { position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 20px; box-shadow: var(--shadow-lg); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; }
  .lang { align-self: flex-start; margin: 10px 0 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; padding: 76px 0 0; background: radial-gradient(120% 120% at 85% 0%, #1a63d6 0%, #0a2a7a 38%, var(--navy) 75%); }
/* the decoration is clipped, never the search box and its lists */
.hero-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 121px; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 8, 53, .55) 0%, rgba(0, 8, 53, .35) 50%, rgba(0, 8, 53, .7) 100%); }
.hero-arc { position: absolute; left: 0; top: 40px; width: 100%; height: 360px; opacity: .35; }
.hero-arc path { fill: none; stroke: #9fc4ff; stroke-width: 1.5; stroke-dasharray: 6 9; animation: dash 40s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }
.hero-in { position: relative; z-index: 1; padding-bottom: 44px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-weight: 600; font-size: 14px; }
.hero h1 { color: #fff; font-size: clamp(38px, 6.2vw, 72px); font-weight: 800; margin: 20px 0 16px; max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero .lead { font-size: clamp(16px, 2vw, 19px); color: rgba(255, 255, 255, .85); max-width: 600px; margin: 0; }

/* ---------- booking box ---------- */
.booker { position: relative; z-index: 2; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); color: var(--text); overflow: visible; }
.tabs { display: flex; background: #eef1f8; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow-x: auto; scrollbar-width: none; }
.tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 16px; border: 0; background: none; font-weight: 600; color: var(--text); cursor: pointer; white-space: nowrap; font-size: 15px; }
.tab:hover { color: var(--blue); }
.tab.on { background: #fff; color: var(--blue); }
.tab:first-child.on { border-top-left-radius: var(--r-lg); }
.pane { padding: 22px 24px 24px; }
.pane-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.trip { display: flex; gap: 22px; }
.trip label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 500; }
.trip input { width: 20px; height: 20px; accent-color: var(--blue); margin: 0; }
.soon-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: #8a5a0d; background: #fdf3e3; padding: 6px 12px; border-radius: 999px; }
.fields { display: grid; grid-template-columns: 1.2fr auto 1.2fr .8fr .8fr 1.2fr; border: 1px solid var(--line); border-radius: var(--r); position: relative; }
.fields-2 { grid-template-columns: 1fr 1fr; }
.f { position: relative; padding: 10px 16px 11px; min-width: 0; }
.f + .f, .swap + .f { border-left: 1px solid var(--line); }
.f label { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.f input, .pax-btn, .date-btn { width: 100%; border: 0; outline: none; background: none; padding: 0; font-size: 16.5px; font-weight: 600; color: var(--ink); min-height: 26px; }
.f input::placeholder { color: #a3a9c0; font-weight: 500; }
.f input.upper { text-transform: uppercase; letter-spacing: 3px; font-family: ui-monospace, Menlo, monospace; }
.f:focus-within { background: var(--blue-50); }
.f:first-child:focus-within { border-radius: var(--r) 0 0 var(--r); }
.swap { align-self: center; width: 38px; height: 38px; margin: 0 -19px; z-index: 3; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--blue); transition: transform .3s var(--ease); }
.swap:hover { transform: rotate(180deg); }
.f-to { border-left: 0 !important; padding-left: 26px; }
.f-from { padding-right: 26px; }
.pax-btn { display: flex; align-items: center; justify-content: space-between; gap: 6px; cursor: pointer; text-align: left; }
.pax-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pax-pop { display: none; position: absolute; right: 0; top: calc(100% + 8px); width: 330px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 16px; z-index: 20; border: 1px solid var(--line); }
.pax-pop.open { display: block; }
.pax-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pax-row b { display: block; color: var(--ink); }
.pax-row small { color: var(--muted); }
.step { display: flex; align-items: center; gap: 12px; }
.step button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 18px; cursor: pointer; color: var(--blue); }
.step button:disabled { opacity: .35; cursor: default; }
.step b { min-width: 16px; text-align: center; }
.cabins { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.cabins button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 9px; cursor: pointer; font-weight: 600; font-size: 14px; }
.cabins button.on { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.pane-foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 18px; }
.err { color: var(--red); font-weight: 600; font-size: 14px; margin-right: auto; }
.search-btn { min-width: 230px; }
/* airport suggestions */
.ac-list { display: none; position: absolute; left: 0; top: calc(100% + 6px); width: max(100%, 340px); max-height: 330px; overflow: auto; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--line); z-index: 20; padding: 6px; }
.ac-list.open { display: block; }
.ac-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; cursor: pointer; }
.ac-item:hover, .ac-item.on { background: var(--blue-50); }
.ac-item .code { font-weight: 800; color: var(--blue); width: 42px; font-size: 14px; }
.ac-item b { display: block; color: var(--ink); font-size: 15px; }
.ac-item small { color: var(--muted); }
@media (max-width: 1000px) {
  .fields { grid-template-columns: 1fr auto 1fr; }
  .f-dep, .f-ret, .f-pax { border-top: 1px solid var(--line); }
  .f-dep { border-left: 0 !important; }
  .f-pax { grid-column: 1 / -1; border-left: 0 !important; }
  .f-ret { grid-column: span 2; }
}
@media (max-width: 640px) {
  .pane { padding: 18px 16px 18px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .f-from, .f-to { grid-column: 1 / -1; border-left: 0 !important; padding-left: 16px; padding-right: 56px; }
  .f-to { border-top: 1px solid var(--line); }
  .swap { position: absolute; right: 14px; top: 46px; margin: 0; transform: rotate(90deg); }
  .swap:hover { transform: rotate(270deg); }
  .f-dep { grid-column: 1; }
  .f-ret { grid-column: 2; border-left: 1px solid var(--line) !important; }
  .pane-foot { flex-direction: column; align-items: stretch; }
  .search-btn { width: 100%; }
  .pax-pop { width: auto; left: 0; }
  .tab { padding: 15px 12px; font-size: 14px; }
  .tab span { display: none; }
  .tab.on span { display: inline; }
}

/* ---------- airlines ---------- */
.airlines { padding: 70px 0 10px; }
.eyebrow.center { text-align: center; color: var(--muted); letter-spacing: .12em; }
.marquee { overflow: hidden; margin-top: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: scroll 60s linear infinite; padding: 8px 0; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.al { flex: none; height: 76px; min-width: 170px; padding: 14px 26px; display: grid; place-items: center; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.al img { max-height: 44px; max-width: 150px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.al:hover img { filter: none; opacity: 1; }
.al .al-name { font-weight: 800; color: var(--navy); font-size: 15px; letter-spacing: -.01em; opacity: .7; }

/* ---------- sections ---------- */
.sec { padding: 80px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); }
.sec-sub { max-width: 380px; margin: 0; }

/* destinations (bento) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 290px; gap: 18px; grid-auto-flow: dense; }
.dest { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; cursor: pointer; isolation: isolate; text-align: left; border: 0; padding: 0; background: var(--navy); }
.dest.wide { grid-column: span 2; }
.dest-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s var(--ease); z-index: -2; }
.dest:hover .dest-img { transform: scale(1.06); }
.dest::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 8, 53, 0) 35%, rgba(0, 8, 53, .85) 100%); }
.dest-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dest h3 { color: #fff; font-size: 28px; font-weight: 700; }
.dest .country { font-size: 13.5px; opacity: .85; }
.dest .dates { font-size: 13px; opacity: .85; margin-top: 2px; }
.dest .price { text-align: right; font-size: 13px; line-height: 1.3; }
.dest .price b { display: block; font-size: 22px; font-weight: 800; }
.dest .ask { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(6px); }
.dest .code { position: absolute; top: 18px; left: 22px; font-weight: 800; letter-spacing: .12em; font-size: 13px; opacity: .85; }
.dest .code svg { vertical-align: -3px; margin: 0 4px; }
.dest-plane { position: absolute; right: -10px; top: -10px; width: 46%; opacity: .1; z-index: -1; color: #fff; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 250px; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; grid-auto-rows: 220px; } .dest.wide { grid-column: auto; } }

/* services */
.services { background: #fff; }
.serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.serv { display: block; padding: 28px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid transparent; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background .3s; color: inherit; }
.serv:hover { transform: translateY(-4px); background: #fff; border-color: var(--line); box-shadow: var(--shadow); color: inherit; }
.serv-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--blue-100); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.serv-ic svg { width: 26px; height: 26px; }
.serv h3 { font-size: 20px; margin-bottom: 8px; }
.serv p { margin: 0; color: var(--muted); }
.serv-link { background: var(--navy); }
.serv-link h3 { color: #fff; }
.serv-link p { color: rgba(255, 255, 255, .75); }
.serv-link .serv-ic { background: rgba(255, 255, 255, .12); color: var(--sky); }
.serv-link:hover { background: #0a1550; border-color: transparent; }
.serv .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--sky); }
@media (max-width: 900px) { .serv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .serv-grid { grid-template-columns: 1fr; } }

/* why */
.why { background: var(--navy); color: rgba(255, 255, 255, .85); }
.why-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.why h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.why .lead { font-size: 18px; margin: 0; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-list li { display: flex; gap: 14px; padding: 20px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.why-list svg { width: 26px; height: 26px; color: var(--sky); margin-top: 2px; }
.why-list b { display: block; color: #fff; margin-bottom: 2px; }
.why-list span { font-size: 14.5px; }
@media (max-width: 900px) { .why-in { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 520px) { .why-list { grid-template-columns: 1fr; } }

/* call to action */
.cta-sec { padding-top: 70px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 44px 48px; border-radius: var(--r-xl); color: #fff; background: radial-gradient(120% 140% at 100% 0%, #3b86f0 0%, var(--blue) 45%, #0846a3 100%); box-shadow: 0 30px 60px rgba(12, 102, 225, .25); }
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 8px; }
.cta p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 17px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) { .cta { padding: 30px 24px; } .cta-btns, .cta-btns .btn { width: 100%; } }

/* ---------- contact page ---------- */
.page-hero { background: radial-gradient(120% 140% at 85% 0%, #1a63d6 0%, #0a2a7a 40%, var(--navy) 80%); color: #fff; padding: 80px 0 120px; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); max-width: 760px; margin-bottom: 14px; }
.page-hero .lead { color: rgba(255, 255, 255, .82); font-size: 18px; max-width: 620px; margin: 0; }
.contact-sec { padding-top: 0; }
.c-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -70px; }
.c-card { display: flex; gap: 16px; align-items: flex-start; padding: 26px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); color: inherit; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; position: relative; }
.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.c-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--blue-100); color: var(--blue); display: grid; place-items: center; flex: none; }
.c-ic svg { width: 24px; height: 24px; }
.c-wa .c-ic { background: #dff5e8; color: var(--wa); }
.c-card h3 { font-size: 19px; margin-bottom: 6px; }
.c-card p { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; }
.c-val { font-weight: 800; color: var(--ink); font-size: 16px; word-break: break-word; }
.c-go { position: absolute; right: 22px; top: 26px; color: var(--muted); }
.c-office { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-top: 18px; }
.c-office-info, .c-help { background: #fff; border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--line); }
.c-office-info h2 { font-size: 30px; margin-bottom: 20px; }
.c-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.c-list li { display: flex; gap: 14px; }
.c-list svg { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.c-list b { display: block; color: var(--ink); }
.c-help { background: var(--blue-50); border-color: var(--blue-100); }
.c-help h3 { font-size: 19px; margin-bottom: 14px; }
.c-help ol { margin: 0 0 22px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.socials a:hover { background: var(--blue); color: #fff; }
.socials.dark a { background: var(--blue-50); color: var(--blue); }
.socials.dark a:hover { background: var(--blue); color: #fff; }
@media (max-width: 900px) { .c-grid, .c-office { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 60px 0 26px; margin-top: 80px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; }
.foot-logo { height: 40px; width: auto; max-width: 190px; object-fit: contain; margin-bottom: 16px; }
.foot-brand p { max-width: 360px; margin: 0; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.foot-in > div:not(.foot-brand) { display: flex; flex-direction: column; gap: 10px; }
.foot a, .foot .addr { color: rgba(255, 255, 255, .8); display: inline-flex; align-items: center; gap: 9px; }
.foot a:hover { color: #fff; }
.foot-copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; font-size: 13.5px; color: rgba(255, 255, 255, .5); }
@media (max-width: 800px) { .foot-in { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- "coming soon" window ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0, 8, 53, .55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 18px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal-card { position: relative; width: min(470px, 100%); background: #fff; border-radius: var(--r-lg); padding: 30px 28px 26px; text-align: center; box-shadow: var(--shadow-lg); animation: pop .3s var(--ease); }
@keyframes pop { from { transform: translateY(14px) scale(.97); opacity: 0; } }
.modal-x { position: absolute; right: 14px; top: 14px; border: 0; background: var(--bg); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.modal-ic { width: 62px; height: 62px; border-radius: 20px; background: var(--blue-50); color: var(--blue); display: inline-grid; place-items: center; margin-bottom: 14px; }
.modal-ic svg { width: 30px; height: 30px; }
.modal-card h3 { font-size: 23px; margin-bottom: 8px; }
.modal-card p { margin: 0 0 16px; }
.soon-sum { background: var(--bg); border-radius: var(--r); padding: 14px 16px; text-align: left; font-size: 14.5px; margin-bottom: 18px; }
.soon-sum .route { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.soon-btns { display: flex; flex-direction: column; gap: 10px; }
.soon-btns .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

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

/* ---------- dates: range calendar ---------- */
.date-btn { display: block; text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.date-btn .ph { color: #a3a9c0; font-weight: 500; }
.f-ret.off { opacity: .35; pointer-events: none; }
.cal-pop + .f { border-left: 1px solid var(--line); }
.cal-pop { display: none; position: absolute; top: calc(100% + 8px); left: 0; width: 720px; max-width: 100%; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); z-index: 25; padding: 18px 22px 16px; }
.cal-pop.open { display: block; animation: pop .2s var(--ease); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cal-modes { display: flex; gap: 8px; }
.cal-modes button { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 7px 14px; text-align: left; cursor: pointer; min-width: 150px; }
.cal-modes button small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.cal-modes button b { font-size: 14px; color: var(--ink); }
.cal-modes button.on { border-color: var(--blue); background: var(--blue-50); }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.cal-nav button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.cal-nav button:disabled { opacity: .3; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cal-title { text-align: center; font-weight: 800; color: var(--ink); margin: 6px 0 10px; }
.cal-week, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-week span { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding-bottom: 6px; text-transform: capitalize; }
.day { position: relative; height: 44px; border: 0; background: none; padding: 2px 0; cursor: pointer; font-weight: 600; color: var(--ink); }
.day span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 10px; position: relative; z-index: 1; transition: background .15s; }
.day:hover:not(:disabled) span { background: var(--blue-50); }
.day:disabled { color: #b9bfd2; cursor: default; font-weight: 500; }
.day.today span { box-shadow: inset 0 0 0 1.5px var(--blue-100); }
.day.in { background: var(--blue-50); }
.day.in span { border-radius: 0; }
.day.start span, .day.end span { background: var(--blue) !important; color: #fff; box-shadow: 0 6px 14px rgba(12, 102, 225, .3); }
.day.start.edge { background: linear-gradient(90deg, transparent 50%, var(--blue-50) 50%); }
.day.end.edge { background: linear-gradient(90deg, var(--blue-50) 50%, transparent 50%); }
.cal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
@media (max-width: 760px) {
  /* v45: a sheet from the bottom of the screen, above everything, the page dimmed behind */
  .cal-pop { position: fixed; left: 0 !important; right: 0; bottom: 0; top: auto !important; width: auto; max-width: none; max-height: 86vh; max-height: 86dvh; overflow-y: auto; overscroll-behavior: contain;
    border-radius: 22px 22px 0 0; padding: 16px 14px calc(14px + env(safe-area-inset-bottom)); z-index: 80; box-shadow: 0 0 0 100vmax rgba(0, 8, 53, .45); }
  .cal-pop.open { animation: calUp .26s cubic-bezier(.2, .8, .2, 1); }
  .cal-pop .cal-head { position: sticky; top: -16px; background: #fff; z-index: 1; margin: -16px -14px 10px; padding: 16px 14px 10px; border-radius: 22px 22px 0 0; }
  .cal-pop .cal-foot { position: sticky; bottom: calc(-14px - env(safe-area-inset-bottom)); background: #fff; margin: 12px -14px calc(-14px - env(safe-area-inset-bottom)); padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); }
  .cal-pop .cal-foot .btn { min-width: 120px; padding: 12px 22px; }
  .cal-months { grid-template-columns: 1fr; }
  .cal-modes button { min-width: 0; flex: 1; }
  .cal-modes { flex: 1; }
}

.dest.has-photo .dest-plane { display: none; }

/* services: main card wide, "coming soon" card */
.serv-main { grid-column: span 2; background: linear-gradient(135deg, var(--blue-50), #fff); border-color: var(--blue-100); }
.serv-soon { position: relative; background: #fff; border: 1.5px dashed var(--blue-100); }
.serv-soon .serv-ic { background: var(--bg); color: var(--muted); }
.serv-soon h3, .serv-soon p { opacity: .75; }
.serv-soon:hover { transform: none; box-shadow: none; border-color: var(--blue-100); }
.soon-tag { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: #8a5a0d; background: #fdf3e3; padding: 6px 11px; border-radius: 999px; }
.soon-tag svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .serv-main { grid-column: 1 / -1; } }
section[id] { scroll-margin-top: 74px; }

/* ---------- search fields: separate cards with icons (v3) ---------- */
#paneBook .fields { display: grid; grid-template-columns: 1.2fr 1.2fr 1.25fr 1fr 1fr; gap: 10px; border: 0; background: var(--bg); padding: 8px; border-radius: 18px; }
.fld { position: relative; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 16px; min-width: 0; min-height: 68px; border: 1.5px solid transparent; transition: border-color .2s, box-shadow .2s; }
.fld:focus-within, .fld:has(.pax-pop.open), .fld:has([aria-expanded="true"]) { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.fld-ic { width: 22px; height: 22px; color: var(--blue); flex: none; }
.fld-in { flex: 1; min-width: 0; }
.fld label { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fld input, .fld .pax-btn, .fld .date-btn { width: 100%; border: 0; outline: none; background: none; padding: 0; font-size: 16px; font-weight: 700; color: var(--ink); min-height: 24px; }
.fld input::placeholder { color: #a3a9c0; font-weight: 500; }
.fld .pax-btn .chev { color: var(--blue); width: 20px; height: 20px; }
.fld.f-to { padding-left: 28px; }
#paneBook .swap { position: absolute; left: -24px; top: 50%; transform: translateY(-50%); margin: 0; width: 38px; height: 38px; z-index: 4; box-shadow: 0 2px 8px rgba(0, 8, 53, .08); }
#paneBook .swap:hover { transform: translateY(-50%) rotate(180deg); }
.fld .ac-list { left: 0; }
.fld .pax-pop { right: 0; top: calc(100% + 10px); }
.cabin-pop { width: 240px !important; padding: 6px !important; }
.cabin-pop button { display: flex; width: 100%; align-items: center; justify-content: space-between; border: 0; background: none; padding: 12px 12px; border-radius: 10px; cursor: pointer; font-weight: 600; color: var(--ink); text-align: left; }
.cabin-pop button:hover { background: var(--bg); }
.cabin-pop button svg { color: var(--blue); visibility: hidden; }
.cabin-pop button.on { background: var(--blue-50); color: var(--blue); }
.cabin-pop button.on svg { visibility: visible; }
@media (max-width: 1080px) {
  #paneBook .fields { grid-template-columns: 1fr 1fr; }
  .f-date { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  #paneBook .fields { grid-template-columns: 1fr 1fr; padding: 6px; gap: 6px; }
  .f-from, .f-to { grid-column: 1 / -1; }
  .fld.f-to { padding-left: 16px; }
  #paneBook .swap { left: auto; right: 16px; top: -3px; transform: translateY(-50%) rotate(90deg); }
  #paneBook .swap:hover { transform: translateY(-50%) rotate(270deg); }
  .fld { padding: 10px 14px; min-height: 62px; }
  .f-cabin .pax-pop, .f-pax .pax-pop { position: absolute; }
  .f-pax .pax-pop { left: 0; right: auto; width: calc(200% + 6px); }
  .f-cabin .pax-pop { right: 0; left: auto; }
}
/* services: 4 cards, 2 per row */
.serv-grid { grid-template-columns: repeat(2, 1fr); }
.serv-main { grid-column: auto; }
@media (max-width: 600px) { .serv-grid { grid-template-columns: 1fr; } }
#paneBook .fld.f-pax, #paneBook .fld.f-cabin { grid-column: auto; border-top: 0; border-left: 0; }
#paneBook .fld.f-date { border-left: 0; border-top: 0; }
@media (max-width: 640px) {
  #paneBook .fld { gap: 8px; padding: 10px 12px; }
  #paneBook .fld input, #paneBook .fld .pax-btn, #paneBook .fld .date-btn { font-size: 15px; }
  #paneBook .fld-ic { width: 20px; height: 20px; }
  #paneBook .fld .pax-btn .chev { width: 16px; height: 16px; }
}
@media (max-width: 640px) { .pax-word { display: none; } }
/* Cairo is narrower: lighter letter spacing on titles */
h1, h2, h3, h4 { letter-spacing: -.005em; }
.hero h1 { letter-spacing: -.01em; line-height: 1.08; }
/* your own icons (config.js → customIcons) */
img.ic-img { width: 1.2em; height: 1.2em; object-fit: contain; flex: none; display: inline-block; }
.socials img.ic-img { width: 20px; height: 20px; }

/* trip types with icons */
.trip { gap: 6px; flex-wrap: wrap; }
.trip label { position: relative; gap: 7px; padding: 7px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14.5px; color: var(--muted); transition: border-color .2s, background .2s, color .2s; }
.trip label svg.ic { width: 17px; height: 17px; }
.trip input { position: absolute; opacity: 0; pointer-events: none; }
.trip label:has(input:checked) { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.trip label:has(input:focus-visible) { box-shadow: 0 0 0 4px var(--blue-50); }

/* multi-city */
.legs { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
#paneBook.is-mc .f-from, #paneBook.is-mc .f-to, #paneBook.is-mc .f-date { display: none; }
#paneBook.is-mc .fields { grid-template-columns: 1fr 1fr; }
#legList { display: flex; flex-direction: column; gap: 10px; }
.leg { display: grid; grid-template-columns: 34px 1fr 1fr 1fr 40px; gap: 10px; align-items: center; }
.leg-n { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; justify-self: center; }
.leg-x { width: 38px; height: 38px; border-radius: 12px; border: 0; background: #fff; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.leg-x:hover:not(:disabled) { background: #fdecec; color: #cf4444; }
.leg-x:disabled { opacity: .35; cursor: default; }
.add-leg { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; border: 1.5px dashed var(--blue-100); background: #fff; color: var(--blue); font-weight: 700; padding: 10px 16px; border-radius: 12px; cursor: pointer; margin-left: 44px; }
.add-leg:hover:not(:disabled) { border-color: var(--blue); background: var(--blue-50); }
.add-leg:disabled { opacity: .45; cursor: default; }
.date-btn .ph { color: #a3a9c0; font-weight: 500; }
@media (max-width: 900px) {
  .leg { grid-template-columns: 30px 1fr 1fr 36px; }
  .leg .l-date { grid-column: 2 / 4; }
  .leg .leg-x { grid-row: 1; grid-column: 4; }
}
@media (max-width: 640px) {
  .leg { grid-template-columns: 1fr 1fr; gap: 6px; position: relative; padding-top: 30px; }
  .leg .l-from, .leg .l-to, .leg .l-date { grid-column: 1 / -1; }
  .leg-n { position: absolute; left: 4px; top: 0; width: auto; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12.5px; }
  .leg-n::before { content: attr(title); }
  .leg-n { font-size: 0; } .leg-n::before { font-size: 12.5px; }
  .leg .leg-x { position: absolute; right: 2px; top: -4px; width: 30px; height: 30px; background: none; }
  .add-leg { margin-left: 0; width: 100%; justify-content: center; }
  .legs + .fld, #paneBook.is-mc .fields { gap: 6px; }
}

/* services: 3 cards */
.serv-grid { grid-template-columns: repeat(3, 1fr); }
.serv-partner { background: linear-gradient(140deg, var(--blue), #0a4fb3 70%, var(--navy)); }
.serv-partner h3 { color: #fff; } .serv-partner p { color: rgba(255, 255, 255, .8); }
.serv-partner .serv-ic { background: rgba(255, 255, 255, .15); color: #fff; }
.serv-partner .more { color: #fff; }
.serv-partner:hover { background: linear-gradient(140deg, #0a5bd0, #0a4fb3 70%, var(--navy)); border-color: transparent; }
@media (max-width: 900px) { .serv-grid { grid-template-columns: 1fr 1fr; } .serv-main { grid-column: 1 / -1; } }
@media (max-width: 600px) { .serv-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .leg > .leg-x { position: absolute !important; right: 4px; top: 0 !important; width: 26px; height: 26px; grid-row: auto; grid-column: auto; background: none; }
  .leg > .leg-x:disabled { display: none; }
}

/* =====================================================================
   FLIGHTS (flights.html) — results, filters, passengers, confirmation
   ===================================================================== */
.fl-page { min-height: 70vh; padding-bottom: 70px; }
.fl-band { background: linear-gradient(120deg, var(--navy), #0b2a73 60%, var(--blue)); color: #fff; padding: 22px 0; }
.fl-band-in { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; }
.fl-route { display: flex; align-items: center; gap: 10px; font-size: 20px; flex-wrap: wrap; }
.fl-route b { color: #fff; font-weight: 800; }
.fl-route small { color: var(--sky); font-weight: 700; }
.fl-route svg.ic { color: var(--sky); }
.fl-meta { display: flex; gap: 8px 18px; flex-wrap: wrap; color: rgba(255, 255, 255, .85); font-size: 14px; margin-right: auto; }
.fl-meta span { display: inline-flex; align-items: center; gap: 6px; }
.fl-notice { display: flex; gap: 10px; align-items: center; margin-top: 16px; padding: 12px 16px; border-radius: var(--r); background: #fff7e6; color: #7a4b00; border: 1px solid #f6d79a; font-size: 14px; font-weight: 600; }
.fl-body { margin-top: 22px; }
.fl-h2 { font-size: 22px; margin: 0 0 12px; }

/* loading */
.fl-loading { display: grid; justify-items: center; gap: 6px; padding: 40px 0 10px; text-align: center; }
.fl-loading b { color: var(--ink); font-size: 18px; }
.fl-plane { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 6px; position: relative; overflow: hidden; }
.fl-plane svg.ic { width: 30px; height: 30px; animation: fl-fly 1.4s var(--ease) infinite; }
.fl-plane.back svg.ic { transform: scaleX(-1); }
@keyframes fl-fly { 0% { transform: translate(-46px, 16px) rotate(8deg); opacity: 0; } 30%, 70% { opacity: 1; } 100% { transform: translate(46px, -16px) rotate(8deg); opacity: 0; } }
.fl-skel { width: 100%; display: grid; gap: 12px; margin-top: 24px; }
.fl-skel .sk { height: 112px; border-radius: var(--r-lg); background: linear-gradient(90deg, #eef1f7 25%, #f7f9fc 50%, #eef1f7 75%); background-size: 200% 100%; animation: fl-sk 1.2s infinite linear; }
@keyframes fl-sk { to { background-position: -200% 0; } }

/* empty / error / done */
.fl-empty, .fl-done { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 48px 24px; text-align: center; display: grid; justify-items: center; gap: 8px; }
.fl-empty.sm { padding: 26px; }
.fl-empty h2, .fl-done h2 { font-size: 24px; }
.fl-empty p { max-width: 520px; margin: 0; }
.fl-empty-ic, .fl-done-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 4px; }
.fl-empty-ic svg.ic, .fl-done-ic svg.ic { width: 28px; height: 28px; }
.fl-done-ic { background: #e7f6ec; color: var(--wa); animation: fl-pop .5s var(--ease); }
@keyframes fl-pop { from { transform: scale(.4); opacity: 0; } }
.fl-empty-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.fl-code { font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: .04em; background: var(--blue-50); padding: 4px 22px; border-radius: var(--r); }
.fl-done p { max-width: 560px; margin: 0; }
.fl-done-trip { width: min(460px, 100%); display: grid; gap: 8px; text-align: left; margin: 10px 0; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.fl-done-trip > div { display: flex; align-items: center; gap: 10px; }
.fl-done-trip .fl-total { margin: 4px 0 0; }

/* grid: filters + list */
.fl-grid { display: grid; grid-template-columns: 270px 1fr; gap: 22px; align-items: start; }
.fl-filters { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px 18px; position: sticky; top: 90px; }
.fl-f-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.fl-f-toggle { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 700; background: none; border: 0; padding: 0; cursor: default; }
.fl-f-toggle .chev { display: none; }
.fl-f-n { background: var(--blue); color: #fff; border-radius: 999px; font-size: 12px; padding: 0 7px; line-height: 20px; }
.fl-f { border-top: 1px solid var(--line); padding: 12px 0 6px; }
.fl-f h4 { font-size: 14px; margin-bottom: 6px; }
.fl-chk { display: flex; align-items: center; gap: 9px; padding: 6px 0; cursor: pointer; font-size: 14px; }
.fl-chk input { width: 17px; height: 17px; accent-color: var(--blue); }
.fl-chk small { color: var(--muted); font-weight: 600; }
.fl-chk .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-link { background: none; border: 0; color: var(--blue); font-weight: 700; font-size: 13px; cursor: pointer; padding: 0; }
.fl-sorts { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 10px; }
.fl-sorts button { border: 0; background: none; padding: 12px 14px; text-align: left; cursor: pointer; display: grid; border-bottom: 3px solid transparent; transition: background .2s, border-color .2s; }
.fl-sorts button + button { border-left: 1px solid var(--line); }
.fl-sorts button span { font-size: 13px; color: var(--muted); font-weight: 700; }
.fl-sorts button b { color: var(--ink); font-size: 17px; }
.fl-sorts button small { color: var(--muted); font-size: 12px; }
.fl-sorts button.on { border-bottom-color: var(--blue); background: var(--blue-50); }
.fl-sorts button.on span { color: var(--blue); }
.fl-count { margin: 4px 4px 10px; }

/* offer card */
.fl-card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); margin-bottom: 12px; border: 1.5px solid transparent; transition: border-color .2s, transform .2s var(--ease); animation: fl-in .35s var(--ease) both; }
.fl-card:hover { border-color: var(--blue-100); }
@keyframes fl-in { from { opacity: 0; transform: translateY(8px); } }
.fl-card-main { display: grid; grid-template-columns: 1fr 190px; }
.fl-slices { padding: 14px 18px; display: grid; gap: 12px; }
.fl-slice { display: grid; grid-template-columns: 56px 1fr; grid-template-areas: 'air times' 'air meta'; column-gap: 12px; }
.fl-air { grid-area: air; display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.fl-times { grid-area: times; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.fl-sl-meta { grid-area: meta; display: flex; gap: 4px 12px; flex-wrap: wrap; font-size: 13px; }
.fl-sl-meta b { color: var(--blue); }
.fl-pt { display: grid; }
.fl-pt:last-child { text-align: right; }
.fl-pt b { font-size: 21px; color: var(--ink); line-height: 1.1; }
.fl-pt b sup { font-size: 11px; color: var(--red); margin-left: 2px; }
.fl-pt span { font-size: 13px; font-weight: 700; color: var(--muted); }
.fl-line { display: grid; justify-items: center; gap: 2px; }
.fl-line small { font-size: 12px; color: var(--muted); }
.fl-line small.direct { color: var(--wa); font-weight: 700; }
.fl-line small.stop { color: #b26b00; font-weight: 700; }
.fl-line i { width: 100%; height: 2px; background: var(--line); position: relative; display: flex; justify-content: space-evenly; align-items: center; }
.fl-line i::before, .fl-line i::after { content: ''; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.fl-line i::before { left: 0; } .fl-line i::after { right: 0; }
.fl-line em { width: 8px; height: 8px; border-radius: 50%; background: #fff; border: 2px solid #b26b00; }
.fl-price { border-left: 1px dashed var(--line); padding: 14px 18px; display: grid; align-content: center; justify-items: end; gap: 2px; text-align: right; }
.fl-price > b { font-size: 24px; color: var(--ink); line-height: 1.1; }
.fl-price small { font-size: 12px; }
.fl-price .btn { margin-top: 8px; }
.fl-logo { width: 46px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: #fff; border: 1px solid var(--line); overflow: hidden; flex: none; }
.fl-logo img { max-width: 40px; max-height: 26px; object-fit: contain; }
.fl-logo b, .fl-logo-txt { font-size: 12px; font-weight: 800; color: var(--navy); }
.fl-logo.sm { width: 36px; height: 26px; }
.fl-logo.sm img { max-width: 30px; max-height: 20px; }
.fl-more { width: 100%; border: 0; border-top: 1px solid var(--line); background: none; padding: 9px; display: flex; justify-content: center; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: 13px; cursor: pointer; }
.fl-more svg.ic { transition: transform .25s var(--ease); }
.fl-card.open .fl-more svg.ic { transform: rotate(180deg); }
.fl-detail { display: none; padding: 4px 18px 16px; }
.fl-card.open .fl-detail { display: block; animation: fl-in .3s var(--ease); }
.fl-d-slice { margin-top: 12px; }
.fl-d-head { display: flex; gap: 6px 12px; flex-wrap: wrap; align-items: baseline; margin-bottom: 8px; font-size: 14px; }
.fl-seg { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg); font-size: 14px; }
.fl-seg-t b { color: var(--ink); }
.fl-seg-m { text-align: right; max-width: 280px; }
.fl-lay { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #8a5a0d; padding: 8px 12px; margin: 4px 0; border-left: 2px dashed #e7b45a; }
.fl-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.fl-tags span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--blue-50); color: var(--navy); }
.fl-tags span.ok { background: #e7f6ec; color: #13693a; }
.fl-tags span.no { background: #fdecec; color: #a3242b; }
.fl-chosen { background: var(--card); border: 1.5px solid var(--blue-100); border-radius: var(--r-lg); padding: 14px 18px; margin-bottom: 18px; }
.fl-chosen-h { display: flex; justify-content: space-between; margin-bottom: 8px; }

/* passengers */
.fl-back { border: 0; background: none; color: var(--blue); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; padding: 0; margin-bottom: 14px; }
.fl-book { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.fl-box { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 20px 22px; margin-bottom: 16px; }
.fl-box h2 { font-size: 20px; }
.fl-box > p { margin: 4px 0 12px; }
.fl-pax { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px 6px; margin: 0 0 12px; }
.fl-pax legend { font-weight: 800; color: var(--ink); padding: 0 6px; display: flex; align-items: center; gap: 8px; }
.fl-pax-n { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 13px; }
.fl-row { display: grid; gap: 12px; margin-bottom: 10px; }
.fl-row.c2 { grid-template-columns: 1fr 1fr; }
.fl-row.c3 { grid-template-columns: 1fr 1fr 1fr; }
.fl-in { display: grid; gap: 4px; }
.fl-in label { font-size: 13px; font-weight: 700; color: var(--ink); }
.fl-in .req { color: var(--red); font-style: normal; }
.fl-in input, .fl-in textarea { font: inherit; width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.fl-in input:focus, .fl-in textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.fl-in input.up { text-transform: uppercase; }
.fl-in input.bad { border-color: var(--red); background: #fff8f8; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.fl-seg-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.fl-seg-btns label { cursor: pointer; }
.fl-seg-btns input { position: absolute; opacity: 0; pointer-events: none; }
.fl-seg-btns span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; color: var(--muted); transition: all .2s; }
.fl-seg-btns input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.fl-seg-btns input:focus-visible + span { box-shadow: 0 0 0 4px var(--blue-100); }
.fl-hp { position: absolute; left: -9999px; }
.fl-confirm { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-weight: 600; font-size: 14px; cursor: pointer; }
.fl-confirm input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.fl-side { position: sticky; top: 90px; }
.fl-trip h3 { font-size: 18px; margin-bottom: 10px; }
.fl-trip-s { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.fl-trip-s > div { display: grid; }
.fl-trip-pax { margin: 10px 0; }
.fl-total { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 14px; padding-top: 10px; border-top: 2px solid var(--ink); }
.fl-total b { font-size: 24px; color: var(--ink); }
.fl-trip .err { display: block; margin: 0 0 10px; }
.fl-how h4 { font-size: 15px; margin-bottom: 6px; }
.fl-how ol { margin: 0; padding-left: 20px; font-size: 14px; color: var(--muted); display: grid; gap: 6px; }
.fl-changed { display: grid; gap: 6px; background: #fff7e6; border: 1px solid #f6d79a; border-radius: var(--r-sm); padding: 12px; margin-bottom: 12px; font-size: 14px; }

@media (max-width: 980px) {
  .fl-grid, .fl-book { grid-template-columns: 1fr; }
  .fl-filters, .fl-side { position: static; }
  .fl-filters { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; padding: 12px 16px; }
  .fl-f-head { grid-column: 1 / -1; margin: 0; }
  .fl-f-toggle { cursor: pointer; }
  .fl-f-toggle .chev { display: block; transition: transform .25s var(--ease); }
  .fl-filters.open .fl-f-toggle .chev { transform: rotate(180deg); }
  .fl-filters:not(.open) .fl-f { display: none; }
  .fl-filters.open .fl-f-head { margin-bottom: 6px; }
}
@media (max-width: 640px) {
  .fl-route { font-size: 17px; }
  .fl-filters { grid-template-columns: 1fr; }
  .fl-card-main { grid-template-columns: 1fr; }
  .fl-price { border-left: 0; border-top: 1px dashed var(--line); grid-template-columns: 1fr auto; justify-items: start; text-align: left; align-items: center; }
  .fl-price .btn { grid-row: 1 / span 3; grid-column: 2; margin: 0; }
  .fl-slice { grid-template-columns: 40px 1fr; }
  .fl-pt b { font-size: 18px; }
  .fl-row.c2, .fl-row.c3 { grid-template-columns: 1fr; }
  .fl-seg { grid-template-columns: 34px 1fr; }
  .fl-seg-m { grid-column: 1 / -1; text-align: left; max-width: none; }
  .fl-sorts button { padding: 10px; }
  .fl-sorts button b { font-size: 15px; }
}
@media print {
  .top, .foot, .fl-band, .fl-empty-btns, .fl-notice { display: none !important; }
  .fl-done { box-shadow: none; }
}

@keyframes calUp { from { transform: translate3d(0, 40%, 0); opacity: .4; } }
