/* ==========================================================================
   SWOT Consult Travel — design system
   Brand: SWOT blue, deep navy, sky, orbit orange (from the logo)
   ========================================================================== */
:root {
  --blue: #0B63CE; --blue-600: #0A56B3; --navy: #0A2E6E; --navy-900: #071F4C; --sky: #19A3F5;
  --orange: #F7941D; --orange-600: #E07E06;
  --ink: #0F1F3D; --muted: #5B6B88; --line: #E3E9F3; --bg: #F4F7FB; --card: #fff;
  --ok: #0F9D58; --ok-bg: #E7F6EE; --warn: #B76E00; --warn-bg: #FFF4E2; --bad: #C62828; --bad-bg: #FDECEC; --info-bg: #EAF3FE;
  --wa: #25D366;
  --r: 14px; --r-sm: 10px; --r-lg: 22px;
  --sh: 0 1px 2px rgba(10,46,110,.06), 0 6px 24px rgba(10,46,110,.08);
  --sh-lg: 0 20px 60px rgba(7,31,76,.18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
[dir="rtl"] { --font: "Noto Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 8px 12px; border-radius: 8px; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }
.ic.sm { width: 15px; height: 15px; } .ic.xl { width: 44px; height: 44px; stroke-width: 1.5; }
.ic.star { width: 14px; height: 14px; color: var(--orange); }
.ic.flip, [dir="rtl"] .ic-arrow-dir { transform: scaleX(-1); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.section { padding-block: 32px; }
.h2 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-weight: 800; color: var(--navy); }
.muted { color: var(--muted); } .small { font-size: 13px; } .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .03em; }
.upper { text-transform: uppercase; } .center { text-align: center; justify-content: center; } .mt { margin-top: 16px; }
.ok { color: var(--ok); } .warn { color: var(--warn); }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.row-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.stack > * + * { margin-top: 12px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 12px; grid-template-columns: 1fr; }
.span-2 { grid-column: 1 / -1; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 639px) { .hide-sm { display: none !important; } }
@media (min-width: 1000px) { .hide-lg { display: none !important; } }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 999px;
  padding: 10px 18px; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none !important; transition: .15s; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; } .btn-primary:hover { background: var(--blue-600); }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(247,148,29,.3); } .btn-accent:hover { background: var(--orange-600); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); } .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-wa { background: var(--wa); color: #fff; } .btn-wa:hover { filter: brightness(.95); }
.btn-sm { padding: 7px 12px; font-size: 13px; } .btn-lg { padding: 14px 24px; font-size: 16px; } .btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: inherit; }
.icon-btn:hover { background: rgba(11,99,206,.08); }
.linkish { background: none; border: 0; color: var(--blue); font-weight: 600; font-size: 13px; display: inline-flex; gap: 4px; align-items: center; padding: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Forms ───────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label, .prefs label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; display: flex; gap: 6px; align-items: center; }
.field .ic { width: 15px; height: 15px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=password], input[type=search], input:not([type]), select, textarea {
  width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-sm); padding: 11px 12px; min-height: 46px; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,99,206,.15); }
input[type=file] { font-size: 13px; padding: 8px; border: 1.5px dashed var(--line); border-radius: var(--r-sm); background: #fbfcff; width: 100%; }
input[type=checkbox], input[type=radio] { accent-color: var(--blue); width: 18px; height: 18px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 8px 0; }
.secure-note { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); margin: 8px 0 14px; }
.note { background: var(--info-bg); border-radius: var(--r-sm); padding: 10px 12px; font-size: 13px; display: flex; gap: 8px; align-items: flex-start; }
.search-input { max-width: 340px; }

/* ── Bars, header, nav ───────────────────────────────────── */
.demo-bar, .alert-bar { font-size: 13px; text-align: center; padding: 7px 12px; display: flex; gap: 6px; justify-content: center; align-items: center; }
.demo-bar { background: #FFF4E2; color: #7a4a00; } .alert-bar { background: var(--navy); color: #fff; }
.topbar { background: var(--navy-900); color: #cfdcf5; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 10px; }
.topbar a, .topbar span { color: #cfdcf5; display: inline-flex; align-items: center; gap: 5px; }
.topbar-contacts { display: flex; gap: 16px; } .topbar .ic { width: 15px; height: 15px; }
.prefs-btn { background: rgba(255,255,255,.1); border: 0; color: #fff; border-radius: 999px; padding: 4px 12px; display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; }
.header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header-in { display: flex; align-items: center; gap: 10px; min-height: 68px; }
.brand img { height: 58px; width: auto; }
.mainnav { display: none; gap: 2px; margin-inline-start: 8px; flex: 1; }
.mainnav > a, .dd > button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 14px; background: none; border: 0; text-decoration: none; }
.mainnav > a:hover, .dd > button:hover, .mainnav .is-active { background: #EEF4FD; color: var(--blue); }
.mainnav .ic { width: 17px; height: 17px; }
.mainnav span { white-space: nowrap; }
@media (max-width: 1399px) { .mainnav .ic { display: none; } .mainnav > a, .dd > button { padding: 9px 8px; font-size: 13.5px; } .dd > button .ic.sm { display: inline; } }
.dd { position: relative; }
.dd-menu { position: absolute; top: 100%; inset-inline-start: 0; background: #fff; border-radius: var(--r); box-shadow: var(--sh-lg); padding: 8px; min-width: 240px; display: none; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu a { display: flex; gap: 8px; align-items: center; padding: 10px; border-radius: 8px; color: var(--ink); font-weight: 600; }
.dd-menu a:hover { background: var(--bg); text-decoration: none; }
.header-actions { display: flex; gap: 6px; margin-inline-start: auto; }
.header-actions .btn { padding: 8px 12px; font-size: 14px; }
@media (min-width: 1100px) { .mainnav { display: flex; } .menu-btn { display: none; } }

.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(7,31,76,.45); opacity: 0; pointer-events: none; transition: .2s; }
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer-panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(320px, 86vw); background: #fff; transform: translateX(-100%); transition: .25s; overflow-y: auto; padding-bottom: 80px; }
[dir="rtl"] .drawer-panel { transform: translateX(100%); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.drawer-head img { height: 48px; width: auto; }
.drawer-nav { padding: 8px; display: flex; flex-direction: column; }
.drawer-nav a, .drawer-install { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 10px; color: var(--ink); font-weight: 600; background: none; border: 0; text-align: start; }
.drawer-nav a.is-active, .drawer-nav a:hover { background: #EEF4FD; color: var(--blue); text-decoration: none; }

/* ── Flash, badges, tags, chips ──────────────────────────── */
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); margin: 16px 0; font-size: 14px; }
.flash-success { background: var(--ok-bg); color: #0b6b3c; } .flash-error { background: var(--bad-bg); color: var(--bad); } .flash-info { background: var(--info-bg); color: var(--navy); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-ok { background: var(--ok-bg); color: var(--ok); } .badge-warn { background: var(--warn-bg); color: var(--warn); } .badge-bad { background: var(--bad-bg); color: var(--bad); }
.badge-info { background: var(--info-bg); color: var(--blue); } .badge-muted { background: #eef1f6; color: var(--muted); }
.tag { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); background: #EAF3FE; padding: 4px 8px; border-radius: 6px; margin-bottom: 6px; }
.tag.ok { background: var(--ok-bg); color: var(--ok); } .tag.warn { background: var(--warn-bg); color: var(--warn); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.chips span { font-size: 12px; background: var(--bg); border-radius: 999px; padding: 4px 10px; display: inline-flex; gap: 4px; align-items: center; }
.chips.big span { font-size: 13px; padding: 6px 12px; background: #fff; border: 1px solid var(--line); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid rgba(255,255,255,.35); color: inherit; border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 14px; background: transparent; text-decoration: none !important; }
.chip.is-active, .chip:hover { background: #fff; color: var(--navy); border-color: #fff; }
.eyebrow { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--orange); }

/* ── Hero & search ───────────────────────────────────────── */
.hero, .page-hero { position: relative; background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 40%, var(--blue) 100%); color: #fff; overflow: hidden; }
.hero { padding: 36px 0 56px; }
.hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.9rem); font-weight: 800; margin-bottom: 6px; max-width: 780px; }
.hero .lead, .page-hero .lead { color: #cfe0fb; font-size: clamp(.95rem, 1.6vw, 1.1rem); max-width: 680px; }
.hero-bg .orbit { position: absolute; border-radius: 50%; border: 3px solid rgba(247,148,29,.55); border-left-color: transparent; border-bottom-color: transparent; }
.hero-bg .o1 { width: 620px; height: 620px; right: -180px; top: -260px; transform: rotate(20deg); }
.hero-bg .o2 { width: 900px; height: 900px; right: -420px; top: -420px; border-color: rgba(25,163,245,.35); border-left-color: transparent; border-bottom-color: transparent; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: #cfe0fb; }
.hero-trust span { display: inline-flex; gap: 6px; align-items: center; }
.page-hero { padding: 28px 0 40px; }
.page-hero h1 { display: flex; gap: 10px; align-items: center; font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; }
.page-hero h1 .ic { width: 30px; height: 30px; }
.page-hero.slim { padding-bottom: 28px; }

.search-card { position: relative; background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh-lg); margin-top: 20px; }
.search-card.compact { box-shadow: var(--sh); margin: 12px 0 0; }
.tabs { display: flex; gap: 2px; overflow-x: auto; padding: 8px 8px 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 14px 12px; border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 13px; border-bottom: 3px solid transparent; text-decoration: none !important; }
.tab .ic { width: 22px; height: 22px; }
.tab.is-active, .tab:hover { color: var(--blue); border-bottom-color: var(--orange); }
@media (min-width: 700px) { .tab { flex-direction: row; font-size: 14px; } }
.sform { padding: 16px; }
.trip-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.trip-tabs .chip { border-color: var(--line); color: var(--ink); padding: 6px 12px; font-size: 13px; cursor: pointer; }
.trip-tabs .chip input { position: absolute; opacity: 0; pointer-events: none; }
.trip-tabs .chip:has(input:checked) { background: var(--navy); color: #fff; border-color: var(--navy); }
.trip-tabs .chip-check:has(input:checked) { background: var(--ok-bg); color: var(--ok); border-color: var(--ok); }
.sgrid { display: grid; gap: 10px; grid-template-columns: 1fr; align-items: end; position: relative; }
.sgrid + .sgrid { margin-top: 10px; }
.swap { position: absolute; inset-inline-end: 14px; top: 58px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--blue); transform: rotate(90deg); }
.sbtn { min-height: 50px; }
@media (min-width: 760px) {
  .sgrid-flight { grid-template-columns: 1fr 0 1fr .8fr .8fr; column-gap: 10px; }
  .swap { position: relative; inset: auto; top: auto; transform: none; margin: 0 -28px 5px; }
  .sgrid-foot { grid-template-columns: 1fr auto; }
  .sgrid-hotel { grid-template-columns: 1.6fr 1fr 1fr 1fr auto; }
  .sgrid-car { grid-template-columns: 1fr 1fr; }
  .sgrid-act { grid-template-columns: 2fr 1fr auto; }
  .sgrid-trf { grid-template-columns: 1fr 1.3fr 1.2fr .6fr auto; }
  .sgrid-leg { grid-template-columns: 28px 1fr 1fr .8fr; }
}
@media (min-width: 1000px) { .sgrid-car { grid-template-columns: 1fr 1fr 1.2fr 1.2fr .5fr auto; } }
.field.dt .row-inline { flex-wrap: nowrap; } .field.dt input[type=time] { max-width: 110px; }
.leg-no { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; margin-bottom: 9px; }
.multi-legs { display: grid; gap: 10px; margin-bottom: 10px; }

.pax { position: relative; }
.pax-toggle { width: 100%; min-height: 46px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; display: flex; justify-content: space-between; align-items: center; padding: 0 12px; text-align: start; font-weight: 600; }
.pax-pop { position: absolute; z-index: 30; top: calc(100% + 6px); inset-inline-start: 0; width: min(340px, 92vw); background: #fff; border-radius: var(--r); box-shadow: var(--sh-lg); padding: 14px; display: grid; gap: 10px; }
.stepper { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.stepper > div { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 18px; line-height: 1; color: var(--blue); }
.stepper input { width: 44px; min-height: 34px; text-align: center; padding: 4px; border: 0; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* autocomplete */
.ac { position: relative; }
.ac-list { position: absolute; z-index: 40; top: 100%; inset-inline: 0; margin-top: 4px; background: #fff; border-radius: var(--r-sm); box-shadow: var(--sh-lg); list-style: none; padding: 6px; max-height: 320px; overflow-y: auto; min-width: 260px; }
.ac-list li { padding: 9px 10px; border-radius: 8px; cursor: pointer; display: flex; gap: 10px; align-items: center; }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: #EEF4FD; }
.ac-list b { display: block; font-size: 14px; } .ac-list small { color: var(--muted); font-size: 12px; }
.ac-code { font-weight: 800; color: var(--blue); width: 40px; flex-shrink: 0; font-size: 13px; }

/* ── Home sections ───────────────────────────────────────── */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.section-head a { font-weight: 700; display: inline-flex; gap: 4px; align-items: center; }
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(6, 1fr); } }
.svc { background: #fff; border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); box-shadow: var(--sh); transition: .15s; text-decoration: none !important; }
.svc:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.svc-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #EAF3FE, #DCEBFF); color: var(--blue); margin-bottom: 6px; }
.svc:nth-child(3n+2) .svc-ic { background: linear-gradient(135deg, #FFF1DF, #FFE4C2); color: var(--orange-600); }
.svc b { font-size: 14px; } .svc small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.promo { background: linear-gradient(120deg, #0A2E6E, #0B63CE); color: #fff; border-radius: var(--r-lg); padding: 24px; display: grid; gap: 20px; position: relative; overflow: hidden; }
.promo::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 3px solid rgba(247,148,29,.5); border-left-color: transparent; border-bottom-color: transparent; right: -120px; top: -150px; }
.promo h2 { font-size: clamp(1.2rem, 2.6vw, 1.7rem); } .promo p { color: #d5e4fb; }
.promo.slim { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 22px; }
.promo.slim h2 { font-size: 1.15rem; margin: 0 0 4px; } .promo.slim p { margin: 0; }
.promo-prices { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.promo-prices span { background: rgba(255,255,255,.12); padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.promo-prices b { display: block; font-size: 17px; }
.promo-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; align-content: center; position: relative; z-index: 1; }
.promo-steps li { counter-increment: s; background: rgba(255,255,255,.1); border-radius: 12px; padding: 12px 14px 12px 52px; position: relative; font-weight: 600; }
.promo-steps li::before { content: counter(s); position: absolute; inset-inline-start: 12px; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-weight: 800; }
[dir="rtl"] .promo-steps li { padding: 12px 52px 12px 14px; }
@media (min-width: 860px) { .promo { grid-template-columns: 1.3fr 1fr; padding: 36px; } }

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 639px) { .scroll-x { grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .scroll-x > * { scroll-snap-align: start; } }

.ph { position: relative; background: linear-gradient(135deg, #0B63CE, #19A3F5); overflow: hidden; }
.ph::before { content: attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; font-weight: 800; color: rgba(255,255,255,.25); }
.ph img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.pkg-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); color: var(--ink); display: flex; flex-direction: column; transition: .15s; text-decoration: none !important; }
.pkg-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.pkg-img { aspect-ratio: 16/10; }
.pkg-days { position: absolute; top: 10px; inset-inline-start: 10px; background: rgba(7,31,76,.8); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pkg-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pkg-body small { color: var(--muted); display: flex; gap: 4px; align-items: center; }
.pkg-body h3 { font-size: 17px; margin: 4px 0; } .pkg-body p { color: var(--muted); font-size: 13px; flex: 1; }
.pkg-price span, .pkg-price small { color: var(--muted); font-size: 12px; } .pkg-price b { font-size: 20px; color: var(--navy); }
.pkg-price.big b { font-size: 28px; }
.routes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.route { background: #fff; border-radius: var(--r-sm); padding: 12px 14px; color: var(--ink); box-shadow: var(--sh); display: flex; flex-direction: column; text-decoration: none !important; }
.route span { display: flex; gap: 6px; align-items: center; } .route small { color: var(--muted); }
.route:hover { box-shadow: var(--sh-lg); }
.why { background: #fff; padding: 36px 0; }
.why-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-item span { width: 48px; height: 48px; border-radius: 14px; background: #FFF1DF; color: var(--orange-600); display: grid; place-items: center; margin-bottom: 10px; }
.why-item h3 { font-size: 16px; } .why-item p { color: var(--muted); font-size: 14px; }
.update-card { background: #fff; border-radius: var(--r); padding: 18px; box-shadow: var(--sh); color: var(--ink); display: flex; flex-direction: column; border-top: 4px solid var(--sky); text-decoration: none !important; }
.update-card.is-alert { border-top-color: var(--orange); }
.update-card h3 { font-size: 16px; } .update-card p { color: var(--muted); font-size: 14px; flex: 1; } .update-card small { color: var(--muted); }
.app-cta { background: #fff; border-radius: var(--r-lg); padding: 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; box-shadow: var(--sh); }
.app-cta img { border-radius: 20px; box-shadow: var(--sh); } .app-cta > div { flex: 1; min-width: 200px; } .app-cta h2 { font-size: 1.2rem; margin: 0 0 4px; } .app-cta p { margin: 0; color: var(--muted); }
.dest-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .dest-grid { grid-template-columns: repeat(4, 1fr); } }
.dest { background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--sh); color: var(--ink); display: flex; flex-direction: column; text-decoration: none !important; }
.dest:hover { box-shadow: var(--sh-lg); } .dest small { color: var(--muted); }
.dest-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #EAF3FE; color: var(--blue); margin-bottom: 8px; }
.info-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 800px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.info-box { background: #fff; border-radius: var(--r); padding: 18px; display: flex; gap: 14px; box-shadow: var(--sh); }
.info-box > .ic { width: 28px; height: 28px; color: var(--blue); } .info-box p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.howto { counter-reset: h; list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 24px; }
.howto li { counter-increment: h; background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--sh); }
.howto li::before { content: counter(h); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; margin-bottom: 8px; }

/* ── Results ─────────────────────────────────────────────── */
.results-bar { background: var(--navy); color: #fff; padding: 12px 0; position: sticky; top: 68px; z-index: 20; }
.results-summary { display: flex; gap: 6px 14px; align-items: center; flex-wrap: wrap; }
.results-summary b { display: inline-flex; gap: 6px; align-items: center; } .results-summary span { color: #cfe0fb; font-size: 14px; }
.results-summary .btn { margin-inline-start: auto; }
.results-layout { display: grid; gap: 20px; padding-block: 20px 40px; }
@media (min-width: 1000px) { .results-layout { grid-template-columns: 270px 1fr; align-items: start; } }
.filters { background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--sh); }
.filters fieldset { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.filters legend { font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.filters label { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.f-airline span { flex: 1; } .f-airline small { color: var(--muted); }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head h3 { display: flex; gap: 6px; align-items: center; font-size: 16px; margin: 0 0 12px; }
input[type=range] { width: 100%; accent-color: var(--blue); }
@media (max-width: 999px) {
  .filters { position: fixed; inset: 0; z-index: 120; border-radius: 0; overflow-y: auto; transform: translateY(100%); transition: .25s; padding-bottom: 90px; }
  .filters.is-open { transform: none; }
}
.results-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.results-tools [data-count] { font-weight: 700; margin-inline-end: auto; }
.sort-tabs { display: flex; background: #fff; border-radius: 999px; padding: 3px; box-shadow: var(--sh); }
.sort-tabs button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--muted); }
.sort-tabs .is-active { background: var(--navy); color: #fff; }
.empty { background: #fff; border-radius: var(--r); padding: 40px 20px; text-align: center; box-shadow: var(--sh); display: grid; justify-items: center; gap: 6px; grid-column: 1 / -1; }
.empty > .ic { width: 44px; height: 44px; color: var(--sky); }

.fcard { background: #fff; border-radius: var(--r); box-shadow: var(--sh); margin-bottom: 12px; display: grid; grid-template-columns: 1fr; overflow: hidden; }
@media (min-width: 760px) { .fcard { grid-template-columns: 1fr 200px; } }
.fcard-main { padding: 16px; display: grid; gap: 12px; }
@media (min-width: 760px) { .fcard-main { grid-template-columns: 130px 1fr; } }
.fcard-airline { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 13px; }
@media (min-width: 760px) { .fcard-airline { flex-direction: column; align-items: flex-start; } }
.al-logo { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; background: #fff; }
.al-fallback { display: inline-grid; place-items: center; background: #EAF3FE; color: var(--blue); font-weight: 800; font-size: 12px; }
.fcard-legs { display: grid; gap: 14px; }
.leg { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.leg-pt b { font-size: 20px; display: block; line-height: 1; } .leg-pt span { color: var(--muted); font-weight: 700; font-size: 13px; }
.leg-pt sup { color: var(--orange-600); font-size: 11px; }
.leg-line { text-align: center; font-size: 12px; color: var(--muted); }
.leg-line .line { display: flex; justify-content: center; gap: 20px; height: 2px; background: var(--line); margin: 6px 0; position: relative; font-style: normal; }
.leg-line .line::after { content: ""; position: absolute; inset-inline-end: -2px; top: -4px; border: 5px solid transparent; border-inline-start-color: var(--line); }
.leg-line em { width: 8px; height: 8px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); margin-top: -3px; }
.leg-line .direct { color: var(--ok); font-weight: 700; } .leg-line .stops { color: var(--orange-600); font-weight: 600; }
.fcard-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.fcard-tags span { font-size: 12px; background: var(--bg); padding: 3px 8px; border-radius: 6px; display: inline-flex; gap: 4px; align-items: center; }
.fcard-tags .ok { background: var(--ok-bg); } .fcard-tags .warn { background: var(--warn-bg); }
.fcard-price { border-top: 1px dashed var(--line); padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; }
.fcard-price b { font-size: 22px; color: var(--navy); } .fcard-price small { color: var(--muted); font-size: 12px; grid-row: 2; }
.fcard-price .btn { grid-row: 1 / 3; grid-column: 2; } .fcard-price .linkish { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 760px) { .fcard-price { border-top: 0; border-inline-start: 1px dashed var(--line); display: flex; flex-direction: column; justify-content: center; align-items: stretch; text-align: center; } .fcard-price .linkish { justify-self: center; align-self: center; } }
.fcard-details { grid-column: 1 / -1; background: #FAFBFE; border-top: 1px solid var(--line); padding: 14px 16px; }
.fcard-details h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 8px 0; }
.seg { display: grid; gap: 4px; padding: 10px 12px; border-inline-start: 3px solid var(--sky); background: #fff; border-radius: 0 8px 8px 0; margin-bottom: 6px; font-size: 14px; }
.seg-mid { color: var(--muted); font-size: 13px; display: flex; gap: 6px; align-items: center; } .seg-mid .al-logo { width: 22px; height: 22px; }
.layover { font-size: 12px; color: var(--orange-600); padding: 4px 12px 8px; display: flex; gap: 6px; align-items: center; }

.hcard { background: #fff; border-radius: var(--r); box-shadow: var(--sh); margin-bottom: 12px; display: grid; grid-template-columns: 1fr; overflow: hidden; }
@media (min-width: 700px) { .hcard { grid-template-columns: 220px 1fr 180px; } }
.hcard-img { aspect-ratio: 16/9; } @media (min-width: 700px) { .hcard-img { aspect-ratio: auto; min-height: 170px; } }
.hcard-body { padding: 14px 16px; } .hcard-body h3 { font-size: 18px; margin-bottom: 2px; } .hcard-body h3 a { color: var(--ink); }
.hcard-price { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; justify-content: center; align-items: flex-end; border-top: 1px dashed var(--line); }
@media (min-width: 700px) { .hcard-price { border-top: 0; border-inline-start: 1px dashed var(--line); } }
.hcard-price b { font-size: 22px; color: var(--navy); } .hcard-price small { color: var(--muted); font-size: 12px; }
.score { background: var(--navy); color: #fff; font-weight: 800; padding: 4px 8px; border-radius: 8px 8px 8px 0; font-size: 14px; }
.score.big { font-size: 24px; padding: 8px 12px; } .score small { font-size: 12px; opacity: .7; }
.stars { display: flex; gap: 1px; min-height: 14px; }

.hotel-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin: 10px 0; }
.hotel-head h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
.gallery { display: grid; gap: 6px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 150px 150px; border-radius: var(--r); overflow: hidden; margin-bottom: 18px; }
.gallery .g0 { grid-row: 1 / 3; } .gallery > div { min-height: 100px; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; grid-template-rows: 220px; } .gallery > div:not(.g0) { display: none; } }
.lead-text { font-size: 16px; color: #33445f; }
.rooms { display: grid; gap: 10px; }
.room { background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--sh); display: grid; gap: 10px; }
@media (min-width: 700px) { .room { grid-template-columns: 1fr 200px; align-items: center; } }
.room h3 { font-size: 17px; } .room p { margin: 2px 0; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.room-price { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; } .room-price b { font-size: 22px; color: var(--navy); } .room-price small { color: var(--muted); font-size: 12px; }
.back { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; margin-bottom: 8px; }

.xcard, .visa-card, .esim-card { background: #fff; border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; display: flex; flex-direction: column; }
.xcard-img { aspect-ratio: 16/9; display: grid; place-items: center; color: #fff; }
.xcard-img > .ic { position: relative; z-index: 1; }
.xcard-body { padding: 14px 16px; flex: 1; } .xcard-body h3 { font-size: 16px; }
.xcard-foot { padding: 12px 16px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.xcard-foot b { font-size: 20px; color: var(--navy); display: block; } .xcard-foot small { color: var(--muted); font-size: 12px; }
.visa-card { padding: 16px 0 0; } .visa-card > *:not(.xcard-foot) { margin-inline: 16px; }
.visa-top { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; } .visa-top > div { flex: 1; } .visa-top h3 { font-size: 16px; margin: 0; } .visa-top small { color: var(--muted); }
.visa-top .tag { margin: 0; } .flag { border-radius: 4px; box-shadow: 0 0 0 1px var(--line); object-fit: cover; }
.visa-card details { margin-bottom: 12px; font-size: 14px; } .visa-card summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.esim-card { padding: 18px; gap: 6px; text-align: center; align-items: center; border-top: 4px solid var(--sky); }
.esim-data { font-size: 28px; font-weight: 800; color: var(--navy); } .esim-card b { font-size: 22px; margin: 6px 0; }
.list { display: grid; gap: 10px; }
.lcard { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 14px 16px; display: flex; gap: 14px; align-items: center; color: var(--ink); text-decoration: none !important; flex-wrap: wrap; }
.lcard-ic { width: 72px; height: 56px; border-radius: 10px; background: #EAF3FE; color: var(--blue); display: grid; place-items: center; overflow: hidden; }
.lcard-ic .ic.xl { width: 32px; height: 32px; } .lcard-ic img { object-fit: contain; }
.lcard-body { flex: 1; min-width: 200px; } .lcard-body h3 { font-size: 16px; margin: 0 0 4px; }
.lcard-price { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; } .lcard-price b { font-size: 20px; color: var(--navy); }

/* ── Checkout ────────────────────────────────────────────── */
.checkout { padding-block: 20px 40px; }
.checkout-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .checkout-grid { grid-template-columns: 1fr 360px; align-items: start; } }
.card { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 18px; margin-bottom: 16px; }
.card-title { display: flex; gap: 8px; align-items: center; font-size: 17px; color: var(--navy); margin-bottom: 12px; }
.card-title .al-logo { width: 28px; height: 28px; }
.sticky { position: sticky; top: 90px; }
.steps { display: flex; list-style: none; padding: 0; margin: 0 0 18px; gap: 6px; counter-reset: st; font-size: 13px; font-weight: 700; overflow-x: auto; }
.steps li { counter-increment: st; display: flex; gap: 6px; align-items: center; color: var(--muted); white-space: nowrap; }
.steps li::before { content: counter(st); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #e6ebf3; font-size: 12px; }
.steps li + li::after { order: -1; content: ""; width: 24px; height: 2px; background: var(--line); }
.steps .done { color: var(--ok); } .steps .done::before { content: "✓"; background: var(--ok-bg); }
.steps .current { color: var(--navy); } .steps .current::before { background: var(--orange); color: #fff; }
.pax-block { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; margin: 0 0 12px; }
.pax-block legend { font-weight: 800; padding: 0 6px; color: var(--navy); }
.sum-leg { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sum-leg small { display: block; color: var(--muted); }
.sum-list { list-style: none; padding: 0; margin: 8px 0; font-size: 14px; }
.sum-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.sum-list li span:first-child { color: var(--muted); } .sum-list li span:last-child { text-align: end; font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 4px; font-weight: 700; }
.sum-total b { font-size: 26px; color: var(--navy); }
.repeat-row + .repeat-row { border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 12px; }
.radio-stack { display: grid; gap: 8px; margin: 10px 0; font-size: 14px; } .radio-stack label { display: flex; gap: 8px; align-items: center; }

.pay-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.pay-head h2 { font-size: 18px; margin: 0 0 4px; }
.pay-amount { text-align: end; } .pay-amount small { display: block; color: var(--muted); font-size: 12px; } .pay-amount b { font-size: 30px; color: var(--navy); }
.gateways { display: grid; gap: 10px; margin-bottom: 16px; }
.gw { cursor: pointer; } .gw input { position: absolute; opacity: 0; }
.gw-body { display: flex; gap: 14px; align-items: center; border: 2px solid var(--line); border-radius: var(--r); padding: 14px; transition: .15s; }
.gw-body > span:nth-child(2) { flex: 1; } .gw-body b { display: block; } .gw-body small { display: block; color: var(--muted); font-size: 12px; }
.gw input:checked + .gw-body { border-color: var(--blue); background: #F4F9FF; box-shadow: 0 0 0 3px rgba(11,99,206,.12); }
.gw input:focus-visible + .gw-body { outline: 2px solid var(--blue); }
.gw-logo { width: 64px; height: 40px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: var(--navy); flex-shrink: 0; }
.gw-hubtel { background: #FFCC00; color: #1b1b1b; } .gw-paystack { background: #011B33; color: #3BB75E; } .gw-flutterwave { background: #F5A623; }
.gw-stripe { background: #635BFF; } .gw-paypal { background: #FFC439; color: #003087; } .gw-demo { background: #94a3b8; }
.gw-amt { font-weight: 800; color: var(--navy); }
.spinner { width: 48px; height: 48px; margin: 0 auto 16px; border: 4px solid #e6ebf3; border-top-color: var(--orange); border-radius: 50%; animation: spin .8s linear infinite; }
.big-amount { font-size: 36px; font-weight: 800; color: var(--navy); margin: 8px 0; }
.conf h1 { font-size: 1.6rem; margin-top: 8px; }
.conf-ic { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; }
.conf-ic .ic { width: 38px; height: 38px; stroke-width: 2.5; } .conf-ic.ok { background: var(--ok-bg); color: var(--ok); } .conf-ic.warn { background: var(--warn-bg); color: var(--warn); }
.pnr { font-size: 18px; } .esim-qr { margin-top: 16px; display: grid; justify-items: center; }
.next-steps { padding-inline-start: 20px; display: grid; gap: 8px; }
.manage-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.manage-status { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; } .manage-status > b { font-size: 24px; color: var(--navy); }
.manage-grid { display: grid; gap: 16px; } @media (min-width: 960px) { .manage-grid { grid-template-columns: 1fr 340px; align-items: start; } }
.docs { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.docs li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--bg); border-radius: 10px; flex-wrap: wrap; }
.docs a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; } .docs small { color: var(--muted); }
.upload-row { display: grid; gap: 8px; } @media (min-width: 700px) { .upload-row { grid-template-columns: 1fr 1fr auto; align-items: center; } }
.timeline { list-style: none; padding: 0; margin: 0; border-inline-start: 2px solid var(--line); }
.timeline li { padding: 0 0 12px 16px; position: relative; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--sky); border: 2px solid #fff; }
.timeline small { display: block; color: var(--muted); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; }
.tbl th, .tbl td { text-align: start; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: #FAFBFE; }
.bdetails { overflow-x: auto; } .bd-leg { margin-bottom: 10px; }

/* ── Packages / visa reservation / misc ──────────────────── */
.pkg-hero { min-height: 300px; display: flex; align-items: flex-end; color: #fff; }
.pkg-hero > img { position: absolute; inset: 0; height: 100%; }
.pkg-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(7,31,76,.85)); }
.pkg-hero-in { position: relative; z-index: 1; padding-block: 24px; } .pkg-hero h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 6px 0; }
.pkg-hero .tag { background: var(--orange); color: #fff; }
.itinerary { padding-inline-start: 20px; display: grid; gap: 8px; }
.ticks, .crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ticks li, .crosses li { display: flex; gap: 6px; align-items: flex-start; } .ticks .ic { color: var(--ok); } .crosses .ic { color: var(--bad); }
.vres-types { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .vres-types { grid-template-columns: repeat(3, 1fr); } }
.vres-type input { position: absolute; opacity: 0; }
.vres-type > span { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 2px solid var(--line); border-radius: var(--r); padding: 18px; cursor: pointer; position: relative; height: 100%; }
.vres-type > span > .ic { width: 30px; height: 30px; color: var(--blue); }
.vres-type b { font-size: 17px; } .vres-type small { color: var(--muted); } .vres-type strong { font-size: 22px; color: var(--navy); margin-top: auto; }
.vres-type em { position: absolute; top: 12px; inset-inline-end: 12px; background: var(--orange); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.vres-type input:checked + span { border-color: var(--blue); background: #F4F9FF; box-shadow: 0 0 0 3px rgba(11,99,206,.12); }
.support-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); } @media (min-width: 800px) { .support-grid { grid-template-columns: repeat(4, 1fr); } }
.support-card { background: #fff; border: 0; border-radius: var(--r); box-shadow: var(--sh); padding: 22px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink); text-align: center; text-decoration: none !important; }
.support-card > .ic { width: 32px; height: 32px; color: var(--blue); } .support-card.wa > .ic { color: var(--wa); } .support-card small { color: var(--muted); word-break: break-all; }
.faq details { background: #fff; border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 8px; box-shadow: var(--sh); }
.faq summary { font-weight: 700; cursor: pointer; } .faq p { margin: 10px 0 0; color: var(--muted); }
.auth { max-width: 440px; padding-block: 40px; }
.article h1 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); } .prose { font-size: 16px; line-height: 1.75; }
.link-list { padding-inline-start: 18px; } .err-code { font-size: 64px; font-weight: 800; color: var(--sky); }

/* ── Footer, bottom nav, floating ────────────────────────── */
.footer { background: var(--navy-900); color: #cfdcf5; margin-top: 30px; padding: 36px 0 calc(90px + var(--safe-b)); }
@media (min-width: 1000px) { .footer { padding-bottom: 24px; } }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; } .footer h4.mt { margin-top: 18px; }
.footer a { display: block; color: #cfdcf5; padding: 3px 0; font-size: 14px; }
.footer-logo { background: #fff; border-radius: 14px; padding: 10px 14px; display: inline-block; margin-bottom: 12px; }
.footer-logo img { height: 60px; width: auto; }
.newsletter label { display: block; font-weight: 700; color: #fff; margin-bottom: 6px; } .newsletter input { min-height: 42px; flex: 1; min-width: 0; } .newsletter .row-inline { flex-wrap: nowrap; }
.paylogos { display: flex; flex-wrap: wrap; gap: 6px; } .paylogos span { background: rgba(255,255,255,.08); border-radius: 6px; padding: 4px 8px; font-size: 12px; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 24px; padding-top: 16px; font-size: 13px; }
.bottomnav { position: fixed; bottom: 0; inset-inline: 0; z-index: 60; background: #fff; display: grid; grid-template-columns: repeat(5, 1fr); box-shadow: 0 -2px 12px rgba(10,46,110,.1); padding-bottom: var(--safe-b); }
.bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; font-size: 11px; font-weight: 700; color: var(--muted); text-decoration: none; }
.bottomnav a.is-active { color: var(--blue); } .bottomnav .ic { width: 22px; height: 22px; }
@media (min-width: 1000px) { .bottomnav { display: none; } }
.fab-wa { position: fixed; z-index: 70; inset-inline-start: 16px; bottom: calc(76px + var(--safe-b)); width: 52px; height: 52px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(37,211,102,.45); }
.fab-wa .ic { width: 28px; height: 28px; }
@media (min-width: 1000px) { .fab-wa { bottom: 24px; } }

/* chat */
.chat { position: fixed; z-index: 80; inset-inline-end: 16px; bottom: calc(76px + var(--safe-b)); }
@media (min-width: 1000px) { .chat { bottom: 24px; } }
.chat-fab { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(11,99,206,.45); position: relative; }
.chat-fab .ic { width: 26px; height: 26px; } .chat-dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); border: 2px solid #fff; }
.chat-panel { position: absolute; bottom: 68px; inset-inline-end: 0; width: min(370px, calc(100vw - 32px)); height: min(540px, calc(100vh - 180px)); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); display: none; flex-direction: column; overflow: hidden; }
.chat[data-state="open"] .chat-panel { display: flex; } .chat[data-state="open"] .chat-fab { display: none; }
.chat[data-state="open"] .chat-panel { bottom: 0; }
.chat-head { background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; padding: 12px 12px 12px 16px; display: flex; justify-content: space-between; align-items: center; }
.chat-agent { display: flex; gap: 10px; align-items: center; } .chat-agent img { border-radius: 50%; background: #fff; } .chat-agent small { display: flex; gap: 5px; align-items: center; opacity: .85; font-size: 12px; }
.online { width: 8px; height: 8px; border-radius: 50%; background: #3ee07f; display: inline-block; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.chat-intro { display: grid; gap: 8px; } .chat-intro p { background: #fff; padding: 10px 12px; border-radius: 12px; margin: 0 0 4px; }
.msg { max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: 14px; white-space: pre-wrap; word-wrap: break-word; }
.msg small { display: block; font-size: 10px; opacity: .6; margin-top: 2px; }
.msg-visitor { align-self: flex-end; background: var(--blue); color: #fff; border-end-end-radius: 4px; }
.msg-agent, .msg-bot { align-self: flex-start; background: #fff; border-end-start-radius: 4px; box-shadow: var(--sh); }
.msg-bot { background: #FFF8EE; }
.chat-input { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--line); } .chat-input input { min-height: 42px; border-radius: 999px; }
.chat-input .icon-btn { background: var(--orange); color: #fff; }

/* modal + install banner */
.modal { border: 0; border-radius: var(--r-lg); padding: 0; width: min(440px, calc(100vw - 32px)); box-shadow: var(--sh-lg); }
.modal::backdrop { background: rgba(7,31,76,.5); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); } .modal-head h3 { font-size: 16px; margin: 0; }
.modal-body { padding: 16px; display: grid; gap: 14px; } .prefs label { flex-direction: column; align-items: stretch; gap: 6px; }
.install-banner { position: fixed; z-index: 90; inset-inline: 12px; bottom: calc(72px + var(--safe-b)); background: #fff; border-radius: var(--r); box-shadow: var(--sh-lg); padding: 10px 12px; display: flex; gap: 10px; align-items: center; }
.install-banner img { border-radius: 10px; } .install-banner > div { flex: 1; font-size: 14px; } .install-banner small { display: block; color: var(--muted); font-size: 12px; }
@media (min-width: 1000px) { .install-banner { inset-inline: auto 24px; bottom: 96px; width: 380px; } }

/* page loader */
body.is-busy::after { content: ""; position: fixed; inset: 0; z-index: 200; background: rgba(255,255,255,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='20' fill='none' stroke='%23F7941D' stroke-width='5' stroke-dasharray='90 40'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='0.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") center / 56px no-repeat; }

/* standalone PWA tweaks */
@media (display-mode: standalone) { .topbar { display: none; } .header { padding-top: env(safe-area-inset-top); } }
@media print { .header, .topbar, .footer, .bottomnav, .fab-wa, .chat, .demo-bar { display: none !important; } body { background: #fff; } .card { box-shadow: none; border: 1px solid #ddd; } }
