/* =========================================================
   FastCall Flights — shared styles for subpages
   ========================================================= */

:root {
  --ink:        #0a1f44;
  --ink-2:      #2a3a5e;
  --muted:      #5b6b88;
  --line:       rgba(10, 31, 68, 0.10);
  --line-soft:  rgba(10, 31, 68, 0.06);
  --brand:      #1f6fff;
  --brand-2:    #0a4ed1;
  --accent:     #ffb547;
  --bg:         #f5f8ff;
  --card:       #ffffff;

  --shadow-sm: 0 1px 2px rgba(10,31,68,.06), 0 2px 6px rgba(10,31,68,.04);
  --shadow-md: 0 8px 24px rgba(10,31,68,.10), 0 2px 6px rgba(10,31,68,.05);
  --shadow-blue: 0 18px 40px -12px rgba(31,111,255,.55);

  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============== SUB HEADER ============== */
.sub-header {
  position: relative;
  background: linear-gradient(180deg, #0a1f44 0%, #14306b 100%);
  color: #fff;
  padding-bottom: 50px;
}
.sub-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 80px;
  background: linear-gradient(180deg, rgba(20, 48, 107, 0) 0%, rgba(255,255,255,1) 100%);
  pointer-events: none;
}

.nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(140deg, #fff 0%, #d6e8ff 100%);
  color: #1b4fb3;
  box-shadow: 0 6px 14px rgba(8,28,75,.25), inset 0 0 0 1px rgba(255,255,255,.7);
  overflow: hidden;
}
.brand-mark img {
  width: 84%;
  height: 84%;
  object-fit: contain;
  display: block;
}
.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0; padding: 0;
  justify-self: center;
}
.nav-links a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  border-radius: 8px;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: #fff;
  opacity: 0.92;
}
.nav-phone .ph-label {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  font-weight: 600;
  display: block;
}
.nav-phone .ph-num { font-size: 15px; font-weight: 700; letter-spacing: 0.01em; }
.nav-phone-icon {
  width: 36px; height: 36px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .15s ease, filter .2s ease;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* Page title block */
.page-title {
  padding: 70px 0 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}
.page-title h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
  text-wrap: balance;
}
.page-title .meta {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.page-title .lede {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 6px auto 0;
  text-wrap: pretty;
}

/* ============== PROSE / CONTENT ============== */
.content {
  position: relative;
  z-index: 2;
  padding: 30px 0 100px;
  background: #fff;
}
.prose {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}
.prose h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 50px 0 16px;
  text-wrap: balance;
}
.prose h2:first-child { margin-top: 10px; }
.prose h3 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin: 30px 0 10px;
}
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--brand-2); }
.prose hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 40px 0;
}

.callout {
  margin: 30px 0;
  padding: 22px 24px;
  background: #f5f8ff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.callout strong { color: var(--ink); display: block; margin-bottom: 4px; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }

/* ============== STEPS (services page) ============== */
.steps-block {
  margin: 32px 0 40px;
  display: grid;
  gap: 16px;
}
.step-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.step-card .num {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #eaf2ff 0%, #d8e7ff 100%);
  color: var(--brand);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 24px;
}
.step-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.step-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ============== SERVICE CARDS ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 22px;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31,111,255,.25);
}
.service-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #eaf2ff 0%, #d8e7ff 100%);
  color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(31,111,255,.18);
  margin-bottom: 20px;
}
.service-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}
.service-card .desc {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.55;
}
.service-card ul,
.prose .service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 9px;
}
.service-card li,
.prose .service-card li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
}
.service-card li svg {
  color: #1f6fff;
  margin-top: 4px;
  flex: 0 0 auto;
}
.service-card .card-call {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
}
.service-card .card-call:hover { color: var(--brand-2); }

.service-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  padding: 14px 16px;
  background: #f5f8ff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 0 0 40px;
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============== CTA STRIP ============== */
.cta-strip {
  background: var(--bg);
  padding: 70px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-strip h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.cta-strip p { color: var(--muted); margin: 0 0 26px; font-size: 16px; }
.cta-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255,255,255,.25);
}
.cta-call:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* ============== FOOTER ============== */
.footer {
  background: var(--ink);
  color: #b8c4dd;
  padding: 60px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 18px;
}
.footer-grid a { display: block; padding: 4px 0; color: #b8c4dd; }
.footer-grid a:hover { color: #fff; }
.footer-brand-block { color: #d4ddef; line-height: 1.6; }
.footer-brand-block .footer-brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; margin-bottom: 14px;
}
.footer-brand-block .footer-brand .brand-mark {
  width: 32px; height: 32px; border-radius: 10px;
}
.footer-disclaimer {
  margin-top: 14px;
  font-size: 12.5px;
  color: #8b97b3;
  line-height: 1.55;
}
.footer-legal {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  color: #8b97b3; font-size: 12.5px;
}
.footer-legal-links { display: flex; gap: 22px; }
.footer-legal-links a:hover { color: #fff; }

/* ============== STICKY MOBILE CALL CTA ============== */
/* Hidden by default; only shown on phones (see 640px block).
   Styles mirror the inline copy in index.html — keep them in sync. */
.sticky-cta { display: none; }

/* responsive */
@media (max-width: 980px) {
  .nav { grid-template-columns: 1fr auto; padding: 18px 0; }
  .nav-links { grid-column: 1 / -1; order: 3; justify-content: center; flex-wrap: wrap; }
  .nav-cta .nav-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* phones */
@media (max-width: 640px) {
  .container { padding: 0 18px; }

  .sub-header { padding-bottom: 30px; }
  .sub-header::after { height: 50px; }

  .nav { padding: 14px 0 10px; gap: 14px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 17px; }
  .brand-tag { display: none; }
  .nav-links { gap: 2px; padding-top: 4px; }
  .nav-links a { padding: 8px 11px; font-size: 13.5px; }
  .nav-cta { gap: 8px; }
  .btn-primary { padding: 10px 14px; font-size: 13px; }

  .page-title { padding: 40px 0 20px; }
  .page-eyebrow { font-size: 10.5px; letter-spacing: 0.16em; padding: 5px 12px; }
  .page-title h1 { font-size: clamp(30px, 8.5vw, 42px); margin: 14px 0 10px; }
  .page-title .lede { font-size: 15.5px; line-height: 1.5; }
  .page-title .meta { font-size: 13px; }

  .content { padding: 20px 0 60px; }
  .prose { font-size: 15.5px; line-height: 1.65; }
  .prose h2 { font-size: clamp(22px, 5.5vw, 28px); margin: 36px 0 12px; }
  .prose h3 { font-size: 16.5px; margin: 24px 0 8px; }
  .prose ul, .prose ol { padding-left: 20px; }

  .callout { padding: 18px 20px; font-size: 14px; margin: 24px 0; }

  .step-card {
    padding: 20px 22px;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    border-radius: 14px;
  }
  .step-card .num { width: 46px; height: 46px; font-size: 20px; border-radius: 12px; }
  .step-card h3 { font-size: 17px; margin: 0 0 4px; }
  .step-card p { font-size: 14px; }
  .steps-block { gap: 12px; margin: 24px 0 32px; }

  .services-grid { gap: 14px; margin: 24px 0 18px; }
  .service-card { padding: 24px 22px 22px; border-radius: 16px; }
  .service-card-icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px; }
  .service-card h3 { font-size: 20px; }
  .service-card .desc { font-size: 14px; margin-bottom: 14px; }
  .service-card li, .prose .service-card li { font-size: 13.5px; }
  .service-card .card-call { font-size: 14px; padding: 14px 0 0; }
  .service-note { font-size: 12.5px; padding: 12px 14px; margin-bottom: 28px; }

  .cta-strip { padding: 50px 0; }
  .cta-strip h2 { font-size: clamp(22px, 5.5vw, 28px); }
  .cta-strip p { font-size: 14.5px; }
  .cta-call { padding: 15px 22px; font-size: 16px; gap: 10px; }

  .footer { padding: 44px 0 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
  .footer-legal { font-size: 12px; }
  .footer-legal-links { gap: 16px; }

  /* Sticky bottom call button — appears once the trigger element is reached */
  .sticky-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    position: fixed;
    left: 14px; right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    padding: 11px 24px 11px 11px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    box-shadow: 0 14px 30px -8px rgba(31,111,255,.65), 0 6px 16px rgba(8,28,75,.28), inset 0 1px 0 rgba(255,255,255,.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(140%);
    transition: opacity .3s ease, transform .4s cubic-bezier(.2,.7,.2,1), visibility .3s;
  }
  .sticky-cta.visible { opacity: 1; visibility: visible; transform: translateY(0); }
  .sticky-cta-icon {
    width: 46px; height: 46px;
    flex: 0 0 auto;
    border-radius: 999px;
    display: grid; place-items: center;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.30);
  }
  .sticky-cta-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.82;
    line-height: 1.2;
  }
  .sticky-cta-num {
    display: block;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.15;
  }
  /* Give the footer extra bottom room on pages that show the floating button,
     so it never permanently obscures the legal text. */
  body:has(.sticky-cta) .footer { padding-bottom: 96px; }
}
