/* ============================================================
   Air Booker — Independent travel booking service
   Vibrant theme + mobile-first layout
   ============================================================ */

:root {
  --navy-950: #04152b;
  --navy-900: #062040;
  --navy-800: #0a3260;
  --navy-700: #0e4a8a;
  --blue:     #0b6efd;
  --blue-bright: #1a8cff;
  --cyan:     #00d4ff;
  --sky-050:  #e8f4ff;
  --coral:    #ff4d3a;
  --coral-dark: #e83a28;
  --amber:    #ffb020;
  --ink:      #0c1829;
  --slate:    #3d4f66;
  --line:     #c8daf0;
  --bg:       #f5f9ff;
  --bg-alt:   #eaf3ff;
  --green:    #0d9f6e;
  --radius:   14px;
  --shadow:   0 8px 28px rgba(6, 32, 64, 0.1);
  --shadow-lg:0 18px 48px rgba(6, 32, 64, 0.16);
  --maxw:     1160px;
  --font:     "Manrope", system-ui, sans-serif;
  --display:  "Syne", "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 55% at 100% -5%, rgba(0, 212, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 45% at -5% 90%, rgba(255, 77, 58, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(11, 110, 253, 0.05), transparent 70%),
    var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--navy-900);
  line-height: 1.22;
  font-weight: 700;
  font-family: var(--display);
}
h1 { font-size: clamp(1.85rem, 4.5vw, 2.55rem); margin: 0 0 .5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin: 1.8em 0 .6em; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; margin: 1.6em 0 .4em; }
p  { margin: 0 0 1em; color: var(--slate); }
a  { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--navy-700); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 860px; }

/* ---------- Top disclosure strip ---------- */
.topbar {
  background: linear-gradient(90deg, var(--navy-950), var(--navy-800));
  color: #9ec4ef;
  font-size: 12.5px;
  text-align: center;
  padding: 8px 12px;
  line-height: 1.45;
}
.topbar strong { color: #fff; }
.topbar a { color: var(--amber); font-weight: 800; white-space: nowrap; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(6, 32, 64, 0.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 18px; max-width: var(--maxw); margin: 0 auto;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex-shrink: 1; }
.brand .logo {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--blue-bright), var(--navy-800));
  display: grid; place-items: center; color: #fff; font-size: 20px;
  box-shadow: 0 6px 18px rgba(11, 110, 253, 0.35);
}
.brand b {
  color: var(--navy-900); font-size: 1.12rem; letter-spacing: -.3px;
  white-space: nowrap; font-family: var(--display); font-weight: 800;
}
.brand span {
  display: block; font-size: 10px; color: var(--slate); font-weight: 600;
  letter-spacing: .25px; text-transform: uppercase; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 160px;
}

.menu { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.menu a {
  color: var(--ink); font-weight: 600; font-size: 14.5px;
  padding: 8px 9px; border-radius: 8px; white-space: nowrap;
}
.menu a:hover { background: var(--sky-050); text-decoration: none; color: var(--blue); }
.menu a.active { color: var(--blue); background: var(--sky-050); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--coral), #ff6b3d);
  color: #fff !important; font-weight: 800;
  padding: 10px 15px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(255, 77, 58, .4);
  transition: transform .2s ease, box-shadow .2s ease;
  font-size: 14px;
}
.nav-cta:hover {
  text-decoration: none; transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 77, 58, .5);
}

.hamburger {
  display: none; background: var(--sky-050); border: 1px solid var(--line);
  cursor: pointer; font-size: 22px; color: var(--navy-900); line-height: 1;
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(4, 21, 43, .9) 0%, rgba(10, 50, 96, .78) 45%, rgba(11, 110, 253, .55) 100%),
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat,
    linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: #fff; padding: 72px 0 84px;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 45% 70% at 90% 40%, rgba(0, 212, 255, 0.28), transparent 60%),
    radial-gradient(ellipse 35% 50% at 10% 80%, rgba(255, 77, 58, 0.18), transparent 55%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p.lead { color: #d6e9ff; font-size: clamp(1.05rem, 2.5vw, 1.22rem); max-width: 640px; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  color: #fff; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  backdrop-filter: blur(6px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer;
  font-weight: 800; font-size: 16px; padding: 13px 24px; border-radius: 999px;
  border: 2px solid transparent; transition: .2s; text-decoration: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--coral), #ff6b3d);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 77, 58, .4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--coral-dark), var(--coral));
  text-decoration: none; transform: translateY(-1px); color: #fff;
}
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.22); text-decoration: none; color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--sky-050); text-decoration: none; }
.btn-lg { font-size: 17px; padding: 15px 28px; }

.hero-note { margin-top: 20px; font-size: 13px; color: #b4d0f0; max-width: 620px; }

.reveal-hero .pill,
.reveal-hero h1,
.reveal-hero .lead,
.reveal-hero .hero-actions,
.reveal-hero .hero-note,
.reveal-hero .breadcrumb,
.reveal-hero p {
  animation: rise-in .7s ease both;
}
.reveal-hero h1 { animation-delay: .08s; }
.reveal-hero .lead,
.reveal-hero p { animation-delay: .16s; }
.reveal-hero .hero-actions { animation-delay: .24s; }
.reveal-hero .hero-note { animation-delay: .32s; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */
.section { padding: 58px 0; }
.section.alt {
  background: linear-gradient(180deg, var(--bg-alt), #dcecff);
}
.eyebrow {
  color: var(--coral); font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.2px; font-size: 13px; margin-bottom: 8px;
  font-family: var(--display);
}
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; max-width: 680px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #9ec4ef;
}
.card .ic {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(145deg, var(--sky-050), #d6ebff);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 14px;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .ic { flex: 0 0 auto; font-size: 1.35rem; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 26px; box-shadow: var(--shadow-lg);
  position: relative; z-index: 5;
}
.form-card h3 { margin-top: 0; }
.field { margin-bottom: 14px; }
.field label {
  display: block; font-weight: 700; font-size: 13.5px; color: var(--ink); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: 16px; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(11, 110, 253, .15);
}
.field input::placeholder { color: #8aa0b8; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-fine { font-size: 12px; color: var(--slate); margin-top: 8px; }
.form-ok {
  display: none; background: #e6faf2; border: 1px solid #a8e6cf;
  color: var(--green); padding: 14px; border-radius: 11px; font-weight: 700;
}

/* Airport autocomplete */
.airport-field { position: relative; z-index: 20; }
.airport-field:focus-within { z-index: 40; }
.airport-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px);
  margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(6, 32, 64, 0.18);
  max-height: min(280px, 45vh); overflow-y: auto;
  z-index: 100;
  -webkit-overflow-scrolling: touch;
}
.airport-suggest-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 12px; border-radius: 10px; cursor: pointer;
  transition: background .12s ease;
}
.airport-suggest-item:hover,
.airport-suggest-item.is-active {
  background: linear-gradient(90deg, var(--sky-050), #f0f7ff);
}
.as-code {
  flex: 0 0 auto; min-width: 44px; text-align: center;
  font-weight: 800; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--navy-700));
  padding: 6px 8px; border-radius: 8px; letter-spacing: .4px;
  line-height: 1.2;
}
.as-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.as-city { font-weight: 700; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.as-name {
  font-size: 12.5px; color: var(--slate); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Callouts / stats ---------- */
.callout {
  background: var(--sky-050); border: 1px solid #b7d6f7; border-left: 5px solid var(--blue);
  border-radius: 12px; padding: 18px 20px; margin: 22px 0;
}
.callout.warn { background: #fff5f2; border-color: #ffc9c0; border-left-color: var(--coral); }
.callout p:last-child { margin-bottom: 0; }
.callout b { color: var(--navy-900); }

.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.stat {
  text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 12px; box-shadow: var(--shadow);
}
.stat b { display: block; font-size: 1.85rem; color: var(--blue); font-family: var(--display); }
.stat span { color: var(--slate); font-size: 13.5px; font-weight: 600; }

/* ---------- Call band ---------- */
.callband {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-950) 55%, #0a3d7a 100%);
  color: #fff; border-radius: 20px; padding: 40px; text-align: center; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.callband::before {
  content: "";
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, .28), transparent 70%);
  top: -100px; right: -60px; pointer-events: none;
}
.callband::after {
  content: "";
  position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 58, .22), transparent 70%);
  bottom: -60px; left: -40px; pointer-events: none;
}
.callband h2 { color: #fff; margin-top: 0; position: relative; }
.callband p { color: #b8d4f4; position: relative; }
.callband .tfn {
  display: inline-flex; align-items: center; gap: 10px; margin: 10px 0 6px;
  font-size: clamp(1.35rem, 4vw, 2rem); font-weight: 800; color: #fff; position: relative;
  font-family: var(--display);
  transition: color .2s ease;
}
.callband .tfn:hover { text-decoration: none; color: var(--amber); }

/* ---------- Legal / content pages ---------- */
.page-head {
  background:
    linear-gradient(115deg, rgba(4, 21, 43, .92), rgba(11, 110, 253, .65)),
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1600&q=70") center/cover no-repeat,
    linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: #fff; padding: 48px 0 42px;
}
.page-head h1 { color: #fff; margin: 0; }
.page-head p { color: #c5dcff; margin: 8px 0 0; max-width: 720px; }
.breadcrumb { font-size: 13px; color: #9ec4ef; margin-bottom: 12px; }
.breadcrumb a { color: var(--amber); }

.legal { padding: 42px 0 56px; }
.legal h2 { font-size: 1.35rem; }
.legal h3 { font-size: 1.12rem; }
.legal ul, .legal ol { color: var(--slate); padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .updated { color: var(--slate); font-size: 14px; font-style: italic; margin-bottom: 20px; }

.toc {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 26px;
}
.toc h4 { margin: 0 0 8px; color: var(--navy-900); }
.toc ul { margin: 0; padding-left: 18px; }
.toc a { font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: start; }
.info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-item .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(145deg, var(--sky-050), #d6ebff);
  display: grid; place-items: center; font-size: 20px; flex: 0 0 auto;
}
.info-item h4 { margin: 0 0 3px; }
.info-item p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #9ec4ef; padding: 48px 0 24px; font-size: 15px; margin-top: 20px;
}
.site-footer a { color: #c5dcff; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 28px; }
.site-footer h4 {
  color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .6px;
  margin: 0 0 14px; font-family: var(--display);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.foot-brand b { color: #fff; font-size: 1.3rem; font-family: var(--display); font-weight: 800; }
.foot-tfn { display: inline-block; margin-top: 6px; color: #fff !important; font-weight: 800; font-size: 1.2rem; }
.foot-disclosure {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px; color: #6f92b8; line-height: 1.7;
}
.foot-disclosure b { color: #c5dcff; }
.foot-bottom {
  margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 12px; font-size: 13px; color: #5f82a8;
}

/* ---------- Sticky mobile call bar ---------- */
.mobile-callbar {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  background: linear-gradient(135deg, var(--coral), #ff6b3d);
  color: #fff; font-weight: 800; text-align: center;
  padding: 14px 16px; border-radius: 999px;
  box-shadow: 0 12px 32px rgba(255, 77, 58, .45);
  text-decoration: none !important;
}
.mobile-callbar:hover { color: #fff; }

.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.tc { text-align: center; }
.hide { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .menu {
    display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 10px; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(6, 32, 64, 0.12);
    z-index: 60;
  }
  .menu.open { display: flex; }
  .menu a { padding: 14px 16px; font-size: 16px; border-radius: 10px; }
  .hamburger { display: grid; place-items: center; }
  .nav-cta { display: none; }
  .mobile-callbar { display: block; }
  body { padding-bottom: 76px; }
  .site-footer { padding-bottom: 36px; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar { font-size: 11.5px; padding: 7px 10px; }
  .brand span { display: none; }
  .brand b { font-size: 1.05rem; }
  .hero { padding: 48px 0 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .grid-2, .grid-3, .grid-4, .field-row, .stat-row, .foot-grid { grid-template-columns: 1fr; }
  .section { padding: 42px 0; }
  .form-card { padding: 20px; border-radius: 16px; }
  .callband { padding: 28px 18px; border-radius: 16px; }
  .callband .tfn { font-size: 1.35rem; }
  .page-head { padding: 36px 0 32px; }
  .card { padding: 20px; }
  .airport-suggest { max-height: 240px; }
  .as-name { white-space: normal; }
}

@media (max-width: 380px) {
  .nav { padding: 8px 12px; }
  .btn-lg { font-size: 15px; padding: 13px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-hero .pill,
  .reveal-hero h1,
  .reveal-hero .lead,
  .reveal-hero .hero-actions,
  .reveal-hero .hero-note,
  .reveal-hero .breadcrumb,
  .reveal-hero p,
  .card {
    animation: none !important;
    transition: none !important;
  }
}
