/* Jet MX site styles */

:root {
  --navy-950: #071220;
  --navy-900: #0b1a2c;
  --navy-800: #11243b;
  --navy-700: #1a3554;
  --blue: #2f6697;
  --blue-700: #24527c;
  --gold: #c8a96a;
  --gold-600: #b59a5a;
  --ink: #0f1b2d;
  --muted: #536175;
  --line: #e0e5eb;
  --paper: #ffffff;
  --soft: #f5f3ee;
  --radius: 20px;
  --wrap: 1240px;
  --header-h: 76px;
  --topbar-h: 40px;
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; }
h3 { font-size: 24px; font-weight: 700; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: #fff; color: var(--ink); border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.eyebrow-gold { color: var(--gold); }
.lead { font-size: 20px; color: var(--muted); }
.link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: 18px; }
.link::after { content: "\2192"; transition: transform .15s; }
.link:hover::after { transform: translateX(3px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 14px; border: 2px solid transparent;
  font: inherit; font-size: 18px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: #d6b97d; }
.btn-outline { background: transparent; color: var(--blue); border-color: color-mix(in srgb, var(--blue) 35%, transparent); }
.btn-outline:hover { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 6%, transparent); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar + header */
/* Top bar and nav float over the full-height hero, then turn solid once the page scrolls. */
.site-top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.topbar { height: var(--topbar-h); color: #b9c4d3; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.08); transition: margin-top .25s ease, opacity .2s ease; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 100%; }
.site-top.is-scrolled .topbar { margin-top: calc(-1 * var(--topbar-h)); opacity: 0; }
/* Header runs edge to edge; page content below stays in the 1240px column. */
.site-top .wrap { width: auto; max-width: none; margin-inline: 0; padding-inline: clamp(16px, 2.8vw, 40px); }
.topbar strong { color: #fff; font-weight: 600; }
.topbar-links { display: flex; gap: 22px; }
.topbar a { color: #dfe6ef; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

.site-header { border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease; }
.site-top.is-scrolled .site-header,
.site-top.menu-open .site-header {
  background: color-mix(in srgb, var(--navy-900) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand img { width: 176px; height: auto; }
.menu { display: flex; gap: 6px; margin-left: auto; }
.menu a { color: #dde5ef; text-decoration: none; font-weight: 600; font-size: 17px; padding: 10px 12px; border-radius: 10px; }
.menu a:hover { color: #fff; background: rgba(255,255,255,.07); }
.menu .menu-call { display: none; }
.nav-cta { min-height: 48px; padding: 0 20px; font-size: 16px; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); cursor: pointer; }
.menu-btn-bars, .menu-btn-bars::before, .menu-btn-bars::after { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; margin: 0 auto; position: relative; transition: transform .2s, background .2s; }
.menu-btn-bars::before, .menu-btn-bars::after { content: ""; position: absolute; left: 0; }
.menu-btn-bars::before { top: -7px; }
.menu-btn-bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; color: #fff; background: var(--navy-900); }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,18,32,.86) 0%, rgba(7,18,32,.78) 55%, rgba(7,18,32,.92) 100%),
    url("../img/hero.jpg") center 35% / cover no-repeat;
}
.hero-inner {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--topbar-h) + var(--header-h) + clamp(24px, 4vh, 56px)) 0 clamp(32px, 6vh, 72px);
}
.hero-head { text-align: center; max-width: 920px; margin: 0 auto; }
.hero h1 { font-size: clamp(40px, 5.4vw, 76px); font-weight: 800; line-height: 1.03; letter-spacing: -0.025em; }
.hero h1 span { display: block; color: var(--gold); }
.hero-lead { margin: 22px auto 0; font-size: 20px; line-height: 1.55; color: #c9d4e2; max-width: 36em; }

/* The lead widget keeps its VHMX look; it only needs room around it here. */
mx-request { margin-top: clamp(32px, 4vw, 52px); scroll-margin-top: calc(var(--header-h) + 16px); }
mx-request:not(:defined) { display: block; min-height: 184px; border-radius: 24px; background: #fff; }

.hero-doors { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero-doors a {
  display: flex; align-items: center; gap: 18px; height: 100%; padding: 22px 26px; border-radius: 16px;
  color: #fff; text-decoration: none; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .15s, border-color .15s;
}
.hero-doors a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.door-ico { flex: none; width: 44px; height: 44px; color: var(--gold); }
.door-ico svg { width: 100%; height: 100%; }
.door-txt strong { display: block; font-family: var(--font-head); font-size: 19px; line-height: 1.25; }
.door-txt span { display: block; margin-top: 3px; font-size: 16px; color: #c3cedc; }

/* Proof strip */
.proof { background: var(--navy-800); color: #fff; border-top: 1px solid rgba(255,255,255,.06); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { padding: 28px 24px; border-left: 1px solid rgba(255,255,255,.1); }
.proof-grid > div:first-child { border-left: 0; padding-left: 0; }
.proof strong { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--gold); line-height: 1.1; }
.proof span { display: block; margin-top: 4px; font-size: 16px; color: #b9c4d3; }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--navy-900); color: #fff; }
.section.dark .lead { color: #b9c4d3; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head h2 { margin-bottom: 18px; }

/* Aircraft cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ac-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.ac-card:hover { box-shadow: 0 24px 50px -28px rgba(11,26,44,.35); transform: translateY(-2px); }
.ac-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.ac-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.ac-kicker { margin: 0 0 6px; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }
.ac-body h3 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.ac-body > p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 4px 0 26px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.4; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6697' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.ac-body .btn { margin-top: auto; align-self: flex-start; }
.others { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 28px; padding: 24px 28px; border-radius: var(--radius); background: var(--soft); }
.others p { margin: 0; font-size: 18px; color: var(--muted); max-width: 52em; }
.others strong { color: var(--ink); }
.others .link { white-space: nowrap; }

/* Inspections */
.insp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.insp-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.insp-intro h2 { margin-bottom: 18px; }
.insp-intro img { margin-top: 32px; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.insp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.insp-list article { padding: 28px; border-radius: var(--radius); background: var(--navy-800); border: 1px solid rgba(255,255,255,.07); }
.insp-list h3 { font-size: 22px; margin-bottom: 10px; color: #fff; }
.insp-list h3::before { content: ""; display: block; width: 32px; height: 3px; margin-bottom: 18px; background: var(--gold); border-radius: 2px; }
.insp-list p { margin: 0; font-size: 17px; color: #b9c4d3; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.about-photo { margin: 0; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-copy h2 { margin-bottom: 18px; }
.pillars { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillars li { padding: 18px; border-radius: 16px; background: var(--soft); }
.pillars strong { display: block; font-family: var(--font-head); font-size: 20px; }
.pillars span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.4; color: var(--muted); }
.creds { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.creds div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.creds dt { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--blue); }
.creds dd { margin: 0; font-size: 17px; color: var(--muted); }

/* News */
.news-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.news-grid img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.news-grid h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 18px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.contact-grid h2 { margin-bottom: 14px; }
address { font-style: normal; font-size: 20px; line-height: 1.5; margin: 24px 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 14px; font-size: 18px; }
.contact-list span { width: 64px; color: var(--muted); }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-photo { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--blue-700)); color: #fff; padding: 64px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 20px; color: #c9d4e2; }

/* Footer */
.site-footer { background: var(--navy-950); color: #9fadbf; font-size: 16px; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-cert { font-size: 14px; color: #7f8ea3; }
.site-footer h3 { font-family: var(--font-body); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c5d0dd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); }
.social a:hover { background: rgba(255,255,255,.14); }
.social svg { width: 18px; height: 18px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }

/* Responsive */
@media (max-width: 1100px) {
  .nav-cta { display: none; }
}
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 8px 16px 18px; background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .menu.is-open { display: flex; }
  .menu a { padding: 14px 8px; font-size: 19px; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
  .menu .menu-call { display: block; color: var(--gold); border-bottom: 0; }
  .hero-doors { grid-template-columns: 1fr; gap: 10px; }
  .hero-doors a { padding: 16px 20px; }
  .door-ico { width: 34px; height: 34px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div { padding: 22px 0; border-left: 0; }
  .cards3 { grid-template-columns: 1fr; max-width: 640px; }
  .insp-grid, .about-grid, .news-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .insp-intro { position: static; }
  .about-photo img { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .topbar-in > span:first-child { display: none; }
  .topbar-links { width: 100%; justify-content: space-between; }
  .brand img { width: 140px; }
  .hero-bg { background-image: linear-gradient(180deg, rgba(7,18,32,.9), rgba(7,18,32,.96)), url("../img/hero-sm.jpg"); }
  .hero-inner { padding-top: calc(var(--topbar-h) + var(--header-h) + 24px); }
  .hero .eyebrow { display: none; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 18px; margin-top: 16px; }
  .hero-doors li:not(:first-child) { display: none; }
  mx-request:not(:defined) { min-height: 470px; }
  .insp-list, .pillars { grid-template-columns: 1fr; }
  .others { flex-direction: column; align-items: flex-start; }
  .creds div { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Short laptop screens: tighten the hero so it still fits in one screen */
@media (min-width: 961px) and (max-height: 820px) {
  .hero h1 { font-size: clamp(40px, 4.3vw, 58px); }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero-lead { margin-top: 14px; font-size: 18px; }
  .hero mx-request { margin-top: 28px; }
  .hero-doors { margin-top: 18px; }
  .hero-doors a { padding: 15px 22px; }
  .door-ico { width: 38px; height: 38px; }
  .hero-inner { padding-top: calc(var(--topbar-h) + var(--header-h) + 20px); padding-bottom: 24px; }
}
