/* =========================================================
   FlightPlanner — Brand Stylesheet
   Palette: Sky Blue (trust) + Orange (call-to-action)
   ========================================================= */

:root {
  --primary: #0B74D1;
  --primary-dark: #08599F;
  --primary-darker: #063f73;
  --primary-light: #EAF4FF;
  --primary-lighter: #F5FAFF;
  --accent: #FF7A1A;
  --accent-dark: #E4630A;
  --accent-light: #FFF1E6;
  --ink: #10233D;
  --ink-soft: #45566B;
  --ink-faint: #7A8AA0;
  --line: #E3EAF2;
  --bg: #FFFFFF;
  --bg-alt: #F6FAFE;
  --success: #17A369;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(16, 35, 61, 0.06);
  --shadow: 0 8px 24px rgba(16, 35, 61, 0.10);
  --shadow-lg: 0 20px 48px rgba(16, 35, 61, 0.16);
  --mobile-bar-h: 66px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--mobile-bar-h);
  width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  color: var(--ink);
}

.section-head p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 17px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn:active { transform: scale(0.97); }

.btn-call {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255, 122, 26, 0.35);
}
.btn-call:hover { background: var(--accent-dark); box-shadow: 0 12px 28px rgba(255,122,26,0.45); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-primary-outline {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary);
}
.btn-primary-outline:hover { background: var(--primary-light); }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 30px; font-size: 18px; }

.pulse {
  animation: pulseGlow 2.2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%   { box-shadow: 0 0 0 0 rgba(255,122,26,0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(255,122,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,122,26,0); }
}

/* ---------- Top utility bar ---------- */
.top-bar {
  background: var(--primary-darker);
  color: #DCEBFB;
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar a { color: #fff; font-weight: 700; }
.top-bar-phone { display: flex; align-items: center; gap: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}
.logo .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  flex-shrink: 0;
}
.logo .word-flight { color: var(--ink); }
.logo .word-planner { color: var(--primary); }
.logo .tld { color: var(--accent); font-weight: 700; font-size: 0.55em; vertical-align: super; margin-left: 2px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: right;
}
.header-phone small { color: var(--ink-faint); font-size: 12px; font-weight: 600; }
.header-phone strong { color: var(--primary-dark); font-size: 19px; font-weight: 800; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--primary-darker) 0%, var(--primary-dark) 45%, var(--primary) 100%);
  color: #fff;
  padding: 64px 0 90px;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #2ED47A;
  box-shadow: 0 0 0 3px rgba(46,212,122,0.35);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  color: #fff;
  margin-bottom: 18px;
}
.hero h1 span { color: #FFC98A; }
.hero p.lead {
  font-size: 18px;
  color: #D7E8FB;
  max-width: 540px;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.hero-actions .btn-call { font-size: 19px; padding: 18px 30px; }
.hero-note { font-size: 13px; color: #BFDAF6; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.hero-trust div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #E6F2FF;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
  width: 100%;
  max-width: 420px;
}
.hero-card .plane-anim {
  animation: floaty 3.4s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}
.hero-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 22px;
}
.hero-route .city { text-align: center; }
.hero-route .city strong { display: block; font-size: 20px; }
.hero-route .city small { color: #BFDAF6; font-size: 12px; }
.hero-route .line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #FFC98A 0 8px, transparent 8px 14px); margin: 0 12px; position: relative; }
.hero-card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero-card-stats div { background: rgba(255,255,255,0.10); border-radius: 10px; padding: 12px 8px; text-align: center; }
.hero-card-stats strong { display: block; font-size: 18px; }
.hero-card-stats span { font-size: 11px; color: #BFDAF6; }

.hero-clouds { position: absolute; inset: 0; z-index: 1; opacity: 0.5; pointer-events: none; }

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: none;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(16,35,61,0.12);
  padding: 10px 14px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.mobile-call-bar a.btn {
  width: 100%;
  font-size: 17px;
  padding: 15px 20px;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.trust-strip .item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 14px;
}
.trust-strip .item svg { color: var(--primary); }

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; color: var(--ink); }
.card p { color: var(--ink-soft); font-size: 15px; }

.service-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.service-card .icon-wrap {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-light);
  color: var(--accent-dark);
  flex-shrink: 0;
}
.service-card h3 { font-size: 17px; margin-bottom: 6px; }
.service-card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.step {
  text-align: center;
  position: relative;
}
.step .num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px;
  margin: 0 auto 18px;
  box-shadow: var(--shadow);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.6vw, 32px); margin-bottom: 12px; }
.cta-band p { color: #FFE7D2; margin-bottom: 24px; font-size: 16px; }
.cta-band .btn-call { background: #fff; color: var(--accent-dark); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.cta-band .btn-call:hover { background: #FFF4EA; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 20px 22px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.faq-q .plus { font-size: 22px; color: var(--primary); transition: transform .2s ease; flex-shrink: 0; margin-left: 14px; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 22px;
}
.faq-item.open .faq-a { padding-bottom: 20px; }
.faq-a p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0B1F36;
  color: #A9BBD1;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { font-size: 14px; color: #A9BBD1; transition: color .15s ease; }
.footer-grid ul a:hover { color: #fff; }
.footer-logo { color: #fff; font-size: 22px; margin-bottom: 14px; }
.footer-logo .word-planner { color: #7FC1FF; }
.footer-desc { font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.footer-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.disclaimer-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8497B0;
  margin-bottom: 28px;
}

/* ---------- Simple inner pages (About/Contact/Legal) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--primary-darker), var(--primary));
  color: #fff;
  padding: 56px 0 64px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 4.4vw, 42px); color: #fff; }
.page-hero p { color: #D7E8FB; margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; }

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 24px; margin: 34px 0 14px; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 22px 0 10px; color: var(--ink); }
.prose p { margin-bottom: 14px; color: var(--ink-soft); font-size: 15.5px; }
.prose ul { margin-bottom: 14px; }
.prose ul li {
  color: var(--ink-soft);
  font-size: 15.5px;
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.prose .updated { color: var(--ink-faint); font-size: 13px; margin-bottom: 30px; display: block; }
.prose a { color: var(--primary); font-weight: 700; text-decoration: underline; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-card h3 { font-size: 18px; margin-bottom: 8px; }
.contact-card p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 4px; }
.contact-card .icon-wrap {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

/* ---------- Reveal animation ----------
   Content is fully visible by default (no JS / slow JS / JS blocked = safe).
   Only when the tiny inline head script confirms JS is running do we hide
   .reveal elements until they scroll into view. This keeps CTAs and copy
   from ever disappearing for a visitor. */
html.js-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
html.js-ready .reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive breakpoints
   ========================================================= */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-phone { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  .section { padding: 44px 0; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero { padding: 36px 0 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { justify-content: center; text-align: center; }
  .cta-band { padding: 34px 20px; }
  .top-bar .container { justify-content: center; text-align: center; }
  .header-cta .btn-call span.long { display: none; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .logo { font-size: 20px; }
  .hero-card-stats { grid-template-columns: 1fr 1fr 1fr; }
  .hero-card-stats strong { font-size: 15px; }
}

/* Mobile nav drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 84vw);
  height: 100%;
  background: #fff;
  z-index: 300;
  box-shadow: -12px 0 30px rgba(0,0,0,0.18);
  transition: right .25s ease;
  padding: 22px;
  overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-drawer a {
  display: block;
  padding: 14px 4px;
  font-weight: 700;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(10,20,35,0.45);
  z-index: 250; opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
