:root {
  --navy: #0b2a4a;
  --navy-700: #123a63;
  --sky: #1c84d6;
  --sky-light: #e8f2fb;
  --accent: #f5a623;
  --ink: #1b2733;
  --muted: #5b6b7b;
  --line: #e1e8ef;
  --bg: #ffffff;
  --bg-alt: #f4f8fc;
  --ground: #8a98a8;
  --ok: #1f9d57;
  --err: #c4332b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 42, 74, 0.08);
  --shadow-sm: 0 4px 14px rgba(11, 42, 74, 0.06);
  --max: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

a { color: var(--sky); }

img { max-width: 100%; }

.container { width: min(var(--max), 92%); margin: 0 auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 0.6rem 1rem; z-index: 100; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; text-decoration: none; cursor: pointer;
  padding: 0.8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.08s ease, background 0.2s ease, color 0.2s ease;
  font-size: 1rem;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #2a1c00; }
.btn-primary:hover { background: #ffb734; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--navy); }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--sky), var(--navy)); color: #fff; font-size: 1.2rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.05rem; }
.brand-text small { color: var(--muted); font-size: 0.72rem; }

.main-nav { display: flex; align-items: center; gap: 1.4rem; }
.main-nav a { text-decoration: none; color: var(--navy-700); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--sky); }
.main-nav .nav-cta {
  background: var(--navy); color: #fff; padding: 0.55rem 1.1rem; border-radius: 999px;
}
.main-nav .nav-cta:hover { background: var(--navy-700); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px;
  background: var(--navy); transform: translate(-50%, -50%); transition: 0.2s;
}
.nav-toggle-bar::before { transform: translate(-50%, -8px); }
.nav-toggle-bar::after { transform: translate(-50%, 6px); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, rgba(28, 132, 214, 0.45), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 60%, #0d4d80 100%);
  color: #fff; padding: clamp(3rem, 8vw, 6rem) 0;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--accent); font-weight: 700; margin: 0 0 0.6rem; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero-lead { max-width: 60ch; color: rgba(255, 255, 255, 0.88); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(2.6rem, 6vw, 4.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 60ch; margin-bottom: 2rem; }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Map ---------- */
.map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
#flight-map { height: 480px; width: 100%; background: #cfe0ee; }
.map-status {
  position: absolute; top: 12px; left: 12px; z-index: 500; background: rgba(11, 42, 74, 0.9);
  color: #fff; padding: 0.4rem 0.8rem; border-radius: 999px; font-size: 0.82rem;
}
.map-legend {
  display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; color: var(--muted);
  font-size: 0.88rem; align-items: center;
}
.map-legend .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 0.4rem; vertical-align: middle; }
.dot-air { background: var(--sky); }
.dot-ground { background: var(--ground); }
.dot-airport { background: var(--accent); }
.dot-mst { background: var(--ok); }
.map-source { margin-left: auto; font-style: italic; }

.plane-icon { color: var(--sky); filter: drop-shadow(0 1px 1px rgba(0,0,0,0.35)); transition: transform 0.3s linear; }
.plane-icon.ground { color: var(--ground); }
.plane-icon.mst { color: var(--ok); }

/* ---------- Runway ---------- */
.runway-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.runway-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem;
  box-shadow: var(--shadow-sm); display: flex; gap: 1rem; align-items: flex-start;
}
.runway-badge {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sky-light); color: var(--navy); font-weight: 800; font-size: 1.2rem;
}
.runway-card h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.runway-card p { margin: 0; color: var(--muted); }
.runway-card .time { font-weight: 700; color: var(--navy); }
.runway-note { margin-top: 1.2rem; color: var(--muted); font-size: 0.9rem; }

/* ---------- News ---------- */
.news-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.news-card .tag {
  align-self: flex-start; background: var(--sky-light); color: var(--navy-700); font-size: 0.72rem;
  font-weight: 700; padding: 0.25rem 0.65rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em;
}
.news-card time { color: var(--muted); font-size: 0.82rem; margin: 0.7rem 0 0.3rem; }
.news-card h3 { font-size: 1.1rem; }
.news-card p { color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.8rem; max-width: 820px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.1rem 1.3rem;
  font-size: 1.02rem; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-q::after { content: "+"; font-size: 1.4rem; color: var(--sky); transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ---------- Topics ---------- */
.topic-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.topic-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem;
  box-shadow: var(--shadow-sm); transition: transform 0.12s ease, box-shadow 0.2s ease;
}
.topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.topic-icon { font-size: 1.6rem; }
.topic-card h3 { font-size: 1.05rem; margin: 0.6rem 0 0.3rem; }
.topic-card p { color: var(--muted); margin: 0; font-size: 0.92rem; }

/* ---------- Form ---------- */
.section-form { background: linear-gradient(180deg, var(--bg-alt), #fff); }
.form-layout { display: grid; gap: 2rem; grid-template-columns: 1fr 1.1fr; align-items: start; }
.form-intro p { color: var(--muted); }
.contact-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.4rem; margin-top: 1.5rem; }
.contact-card h3 { color: #fff; margin: 0 0 0.3rem; }
.contact-card p { color: rgba(255,255,255,0.85); margin: 0 0 0.6rem; }
.contact-card .phone { color: var(--accent); font-size: 1.4rem; font-weight: 800; text-decoration: none; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card { padding: 1.6rem; display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--navy-700); }
.field input, .field select, .field textarea {
  font: inherit; padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fdfefe; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(28, 132, 214, 0.15);
}
.field textarea { resize: vertical; }
.form-feedback { margin: 0; font-weight: 600; min-height: 1.2em; }
.form-feedback.ok { color: var(--ok); }
.form-feedback.err { color: var(--err); }

/* ---------- Newsletter ---------- */
.newsletter-inner { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.newsletter-inner p { color: var(--muted); margin: 0; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; position: relative; }
.newsletter-form input {
  font: inherit; padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: 999px; min-width: 240px;
}
.newsletter-form input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(28,132,214,0.15); }
.newsletter-form .form-feedback { flex-basis: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 2.6rem 0; margin-top: 1rem; }
.footer-inner { display: grid; gap: 1.4rem; grid-template-columns: 1.4fr 1fr; }
.footer-inner strong { font-size: 1.1rem; }
.footer-inner p { color: rgba(255,255,255,0.8); margin: 0.4rem 0 0; }
.footer-inner nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-inner nav a { color: rgba(255,255,255,0.9); text-decoration: none; }
.footer-inner nav a:hover { color: var(--accent); }
.footer-meta { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.7) !important; }

.loading { color: var(--muted); font-style: italic; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 0.5rem 0; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.9rem 6%; }
  .main-nav .nav-cta { margin: 0.5rem 6%; text-align: center; }
  .form-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  #flight-map { height: 380px; }
}
