/* ==========================================================================
   Home
   Section order and rhythm modeled on skytradeaviation.com's own home page
   (hero -> why -> what we offer -> the difference -> stats -> product
   teasers -> final CTA), adapted for an operations tool: no stock photos -
   each "what we offer" card gets its own bespoke CSS-rendered visual
   specific to that feature (mission workflow / compliance list / B2B lock
   / document chain / HQ escalations), which is both more premium and more
   "each page matches its own service" than a generic stock photo would be.
   ========================================================================== */
/* ---- HERO (dispatch strip is the signature visual, see below) ---- */
.hero {
  position: relative;
  padding: var(--st-space-4xl) 0 var(--st-space-3xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(201, 168, 76, 0.14), transparent 60%),
    var(--st-navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(30%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.4), var(--st-navy) 90%);
}
.hero-inner { max-width: var(--st-max-width); margin: 0 auto; padding: 0 var(--st-space-lg); position: relative; z-index: 2; }
/* WHY section: two-column layout when a supporting image is uploaded -
   the image slot renders nothing if empty (skytrade_op_img_box's own
   fallback), so this still looks intentional with just the checklist. */
.why-layout { display: grid; gap: var(--st-space-2xl); align-items: start; }
@media (min-width: 960px) { .why-layout { grid-template-columns: 1.3fr 1fr; } }
.why-image { border-radius: var(--st-radius-card); overflow: hidden; border: 1px solid var(--st-navy-mid); align-self: stretch; min-height: 240px; background: var(--st-navy-light); }
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { max-width: 780px; margin-bottom: var(--st-space-lg); }
.hero h1 em { font-style: normal; color: var(--st-gold); }
.hero-sub { max-width: 560px; font-size: 18px; color: var(--st-white-60); margin-bottom: var(--st-space-xl); }
.hero-note { margin-top: var(--st-space-md); font-size: 13px; color: var(--st-white-20); }
.hero-tags {
  margin-top: var(--st-space-xl);
  font-family: var(--st-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-white-20);
}
.hero-tags span { color: var(--st-gold); margin: 0 var(--st-space-xs); }
.dispatch-strip-wrap {
  margin-top: var(--st-space-3xl);
  position: relative;
  border-top: 1px solid var(--st-navy-mid);
  border-bottom: 1px solid var(--st-navy-mid);
  padding: var(--st-space-lg) 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.dispatch-strip { display: flex; gap: var(--st-space-md); width: max-content; animation: dispatch-scroll 38s linear infinite; }
.dispatch-strip-wrap:hover .dispatch-strip { animation-play-state: paused; }
@keyframes dispatch-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mission-card { flex: 0 0 auto; width: 240px; background: var(--st-navy-light); border: 1px solid var(--st-navy-mid); border-radius: 10px; padding: var(--st-space-md); }
.mission-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--st-space-sm); }
.mission-tail { font-family: var(--st-font-mono); font-size: 13px; color: var(--st-white-90); letter-spacing: 0.02em; }
.mission-status { font-family: var(--st-font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; }
.mission-status.draft     { background: var(--st-navy-mid); color: var(--st-white-60); }
.mission-status.assigned  { background: var(--st-arc-dim); color: var(--st-gold-light); }
.mission-status.airborne  { background: rgba(56, 161, 105, 0.16); color: var(--st-signal-live); }
.mission-status.reported  { background: rgba(255,255,255,0.06); color: var(--st-white-60); }
.mission-route { font-size: 14px; color: var(--st-white-90); margin-bottom: 2px; }
.mission-meta { font-family: var(--st-font-mono); font-size: 11px; color: var(--st-white-20); }
/* ---- Section scaffolding ---- */
.op-section { padding: var(--st-space-4xl) 0; }
.op-section-header { max-width: 640px; margin: 0 0 var(--st-space-2xl); }
.op-section-header p { color: var(--st-white-60); font-size: var(--st-text-body-large-size); }
.op-eyebrow {
  display: block;
  font-family: var(--st-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-gold);
  margin-bottom: var(--st-space-sm);
}
/* ---- WHY section: checklist grid ---- */
.why-grid { display: grid; gap: var(--st-space-lg); grid-template-columns: 1fr; }
@media (min-width: 780px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item { padding: var(--st-space-lg) 0; border-top: 1px solid var(--st-navy-mid); }
.why-item strong { display: block; color: var(--st-white); font-size: 16px; margin-bottom: 4px; }
.why-item span { color: var(--st-white-60); font-size: 14px; }
/* ---- WHAT WE OFFER: pillar cards, each with a bespoke mini visual ---- */
.offer-grid { display: grid; gap: var(--st-space-lg); grid-template-columns: 1fr; }
@media (min-width: 720px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .offer-grid { grid-template-columns: repeat(3, 1fr); } }
.offer-card {
  background: var(--st-navy-light);
  border: 1px solid var(--st-navy-mid);
  border-radius: var(--st-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.offer-card-visual {
  height: 160px;
  padding: var(--st-space-md);
  border-bottom: 1px solid var(--st-navy-mid);
  background: linear-gradient(160deg, rgba(201,168,76,0.06), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.offer-card-body { padding: var(--st-space-lg); flex: 1; display: flex; flex-direction: column; }
.offer-card-body h3 { font-size: 19px; margin-bottom: var(--st-space-sm); }
.offer-card-body p { color: var(--st-white-60); font-size: 14px; flex: 1; margin-bottom: var(--st-space-md); }
/* mini visual variants - each pillar gets a distinct rendered look */
.mini-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-family: var(--st-font-mono); color: var(--st-white-60); }
.mini-row .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; }
.mini-row .dot.live { background: var(--st-signal-live); }
.mini-row .dot.warn { background: var(--st-signal-warn); }
.mini-row .dot.blocked { background: var(--st-signal-blocked); }
.mini-row .dot.gold { background: var(--st-gold); }
.mini-chain { display: flex; align-items: center; gap: 4px; }
.mini-chain-node { flex: 1; height: 3px; background: var(--st-navy-mid); border-radius: 2px; position: relative; }
.mini-chain-node.filled { background: var(--st-gold); }
.mini-chain-label { font-family: var(--st-font-mono); font-size: 10px; color: var(--st-white-20); text-transform: uppercase; letter-spacing: 0.06em; }.mini-lock { display: flex; align-items: center; gap: var(--st-space-sm); font-family: var(--st-font-mono); font-size: 12px; color: var(--st-white-60); }
.mini-lock-icon { width: 28px; height: 28px; border-radius: 6px; background: var(--st-arc-dim); color: var(--st-gold); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.mini-map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mini-map span { height: 18px; border-radius: 3px; background: var(--st-navy-mid); }
.mini-map span.on { background: var(--st-gold); opacity: 0.8; }
/* ---- THE DIFFERENCE: lightweight 4-col ---- */
.diff-grid { display: grid; gap: var(--st-space-xl); grid-template-columns: 1fr; }
@media (min-width: 780px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .diff-grid { grid-template-columns: repeat(4, 1fr); } }
.diff-item h4 { font-family: var(--st-font-display); font-size: 18px; font-weight: 600; color: var(--st-white); margin-bottom: 6px; }
.diff-item p { color: var(--st-white-60); font-size: 14px; margin: 0; }
/* ---- STAT BAND: rendered texture, no photo, no fabricated numbers ---- */
.stat-band {
  position: relative;
  padding: var(--st-space-3xl) 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--st-navy-light), var(--st-navy)),
    repeating-linear-gradient(90deg, rgba(201,168,76,0.05) 0px, rgba(201,168,76,0.05) 1px, transparent 1px, transparent 64px);
  border-top: 1px solid var(--st-navy-mid);
  border-bottom: 1px solid var(--st-navy-mid);
}
.stat-band .grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 780px) { .stat-band .grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item .stat-num { font-family: var(--st-font-display); font-size: 40px; font-weight: 700; color: var(--st-gold); line-height: 1; margin-bottom: 6px; }
.stat-item .stat-label { font-size: 13px; color: var(--st-white-60); }
/* ---- Product teaser rows (Enterprise / B2B / Client Documents) ---- */
.teaser-row {
  display: grid;
  gap: var(--st-space-2xl);
  align-items: center;
  padding: var(--st-space-3xl) 0;
  border-top: 1px solid var(--st-navy-mid);
}
@media (min-width: 900px) { .teaser-row { grid-template-columns: 1fr 1fr; } }
.teaser-row.reverse .teaser-panel { order: -1; }
@media (min-width: 900px) { .teaser-row.reverse .teaser-copy { order: 2; } }
.teaser-panel {
  background: var(--st-navy-light);
  border: 1px solid var(--st-navy-mid);
  border-radius: var(--st-radius-card);
  padding: var(--st-space-xl);
}
.readiness-row { display: flex; align-items: center; justify-content: space-between; padding: var(--st-space-sm) 0; border-bottom: 1px solid var(--st-navy-mid); font-size: 14px; }
.readiness-row:last-child { border-bottom: none; }
.readiness-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: var(--st-space-sm); }
.readiness-dot.live    { background: var(--st-signal-live); box-shadow: 0 0 0 3px rgba(56,161,105,0.18); }
.readiness-dot.warn    { background: var(--st-signal-warn); box-shadow: 0 0 0 3px rgba(214,158,46,0.18); }
.readiness-dot.blocked { background: var(--st-signal-blocked); box-shadow: 0 0 0 3px rgba(229,62,62,0.18); }
/* ---- Final CTA ---- */
.cta-band {
  background: linear-gradient(135deg, var(--st-navy-light), var(--st-navy));
  border: 1px solid var(--st-navy-mid);
  border-radius: 20px;
  padding: var(--st-space-3xl) var(--st-space-2xl);
  text-align: center;
}
.cta-band h2 { max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 520px; margin-left: auto; margin-right: auto; color: var(--st-white-60); }
.cta-band .btn-row { justify-content: center; }