/* Swift Airlines — flagship-carrier design language.
   Deep navy skies, airline-red action color, widget-on-hero. */
:root {
  --navy-950: #0b1f36;
  --navy-900: #102a43;
  --navy-800: #163a5e;
  --navy-100: #d9e2ec;
  --navy-50: #f0f4f8;
  --gold-500: #f0b429;
  --red-600: #c8102e;
  --red-700: #a30d25;
  --green-600: #0b6e4f;
  --ink: #102a43;
  --ink-2: #486581;
  --ink-3: #829ab1;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --line: #e4eaf0;
  --radius: 10px;
  --shadow-md: 0 10px 30px -10px rgba(11, 31, 54, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
svg { display: inline-block; vertical-align: middle; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }

/* ---------- top utility bar ---------- */

.topbar { background: var(--navy-950); color: var(--navy-100); font-size: 0.78rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar a { color: var(--navy-100); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .ok { color: #6ee7b7; font-weight: 650; }

/* ---------- main nav ---------- */

.nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 32px; height: 32px; border-radius: 7px; }
.brand-name { font-weight: 800; font-size: 1.08rem; letter-spacing: 0.04em; }
.brand-thin { font-weight: 350; letter-spacing: 0.06em; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.4rem 0;
  border-bottom: 3px solid transparent;
}
.nav-links a:hover { border-bottom-color: var(--red-600); }

/* ---------- hero ---------- */

.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero-sky { position: absolute; inset: 0; }
.hero-sky .clouds { width: 100%; height: 100%; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: -0.015em; font-weight: 800; margin-bottom: 1rem; }
.lede { font-size: 1.1rem; color: var(--navy-100); max-width: 44ch; margin-bottom: 1.5rem; }
.assurances { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.assurances li { color: var(--navy-100); font-size: 0.95rem; padding-left: 1.4rem; position: relative; }
.assurances li::before {
  content: "";
  position: absolute; left: 0; top: 0.42em;
  width: 0.65em; height: 0.65em;
  border-radius: 50%;
  background: var(--gold-500);
}

/* ---------- call widget (booking-widget style) ---------- */

.call-card { filter: drop-shadow(var(--shadow-md)); }
.call-card-tab {
  display: inline-block;
  background: var(--red-600);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius) var(--radius) 0 0;
}
.call-card-body {
  background: #fff;
  color: var(--ink);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  padding: 1.5rem 1.6rem 1.4rem;
}
.call-card-head {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.85rem; font-weight: 650; color: var(--ink-2);
  padding-bottom: 0.9rem; margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.call-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 4px rgba(11, 110, 79, 0.12); }
label { display: block; font-size: 0.85rem; font-weight: 650; margin-bottom: 0.4rem; }
.optional { color: var(--ink-3); font-weight: 450; }
input[type="text"] {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #c3ced9;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 1rem;
  color: var(--ink);
}
input[type="text"]:focus { outline: 2px solid var(--navy-800); border-color: transparent; }

button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  width: 100%;
  background: var(--red-600);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}
button svg { width: 17px; height: 17px; }
button:hover { background: var(--red-700); }
button:disabled { opacity: 0.6; cursor: wait; }
button.danger { background: var(--navy-900); }
button.danger:hover { background: var(--navy-950); }

.hint { font-size: 0.8rem; color: var(--ink-3); margin-top: 0.8rem; text-align: center; }
.status-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.2rem; font-weight: 550; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-500); flex: none; }
.dot.live { background: var(--green-600); box-shadow: 0 0 0 4px rgba(11, 110, 79, 0.12); }
#timer { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 450; }
.error { color: var(--red-600); font-size: 0.9rem; margin-top: 1rem; }

/* ---------- topics ---------- */

.topics { padding: 4.2rem 0; background: var(--bg-soft); }
h2 { font-size: 1.7rem; letter-spacing: -0.015em; font-weight: 800; }
.section-sub { color: var(--ink-2); margin-top: 0.4rem; margin-bottom: 2rem; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.topic {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(11, 31, 54, 0.08);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.topic:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.topic-banner {
  height: 86px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.95);
}
.topic-banner svg { width: 34px; height: 34px; }
.banner-flight { background: linear-gradient(120deg, var(--navy-900), var(--navy-800)); }
.banner-bag { background: linear-gradient(120deg, #7a1f2b, var(--red-600)); }
.banner-agent { background: linear-gradient(120deg, #0d5340, var(--green-600)); }
.topic-body { padding: 1.3rem 1.4rem 1.4rem; }
.topic h3 { font-size: 1.02rem; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 750; }
.topic p { font-size: 0.92rem; color: var(--ink-2); }
.say { margin-top: 0.8rem; font-size: 0.85rem !important; color: var(--ink-3) !important; }
.say em { color: var(--navy-800); font-style: normal; font-weight: 650; }

/* ---------- under the hood ---------- */

.under-the-hood { background: var(--navy-950); color: #fff; padding: 3rem 0; }
.uth-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; }
.under-the-hood h2 { color: #fff; }
.under-the-hood p { color: var(--navy-100); max-width: 62ch; margin-top: 0.5rem; }
.ghost-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap;
  color: #fff;
  background: var(--red-600);
  text-decoration: none;
  font-weight: 750;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 8px;
  padding: 0.8rem 1.3rem;
}
.ghost-btn:hover { background: var(--red-700); }
.ghost-btn svg { width: 16px; height: 16px; }

/* ---------- footer ---------- */

.footer { background: var(--navy-900); color: var(--navy-100); padding-top: 2.8rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.2rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: var(--ink-3); font-size: 0.88rem; margin-top: 0.5rem; }
.footer h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-3); margin-bottom: 0.7rem; }
.footer a { display: block; color: var(--navy-100); text-decoration: none; font-size: 0.92rem; margin-bottom: 0.45rem; }
.footer a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.1rem; padding-bottom: 1.4rem; }
.footer-legal p { font-size: 0.8rem; color: var(--ink-3); }

/* ---------- responsive ---------- */

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; padding-top: 2.6rem; padding-bottom: 3rem; }
  .topic-grid { grid-template-columns: 1fr; }
  .uth-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 0.72rem; }
  .topbar span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .topic { transition: none; }
}
