/* =====================================================================
   SKY FUTURE AEROSPACE — "Blueprint" design
   Calm blueprint blue, technical-drawing details, logo blue + green.
   ===================================================================== */

:root {
    --bp:      #10294a;   /* blueprint base */
    --bp-deep: #0b1f3a;   /* deeper bands */
    --bp-up:   #15345c;   /* raised panels */
    --bp-hi:   #1b3f6d;   /* hover panels */
    --line:    rgba(150, 190, 240, .18);
    --line-hi: rgba(150, 190, 240, .34);
    --grid:    rgba(150, 190, 240, .055);

    --text:    #e4edf7;
    --soft:    #a9bdd6;
    --dim:     #7f97b5;

    --blue:    #3f8cff;   /* logo blue, lifted for dark ground */
    --green:   #3ccf6e;   /* logo green */
    --green-d: #2aa856;

    --font:    'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --cond:    'Barlow Condensed', 'Barlow', sans-serif;
    --mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

    --wrap:    1200px;
    --pad:     clamp(18px, 4vw, 48px);
    --r:       4px;
    --ease:    cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font: 400 16px/1.65 var(--font);
    color: var(--text);
    background-color: var(--bp);
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px),
        linear-gradient(rgba(150,190,240,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150,190,240,.025) 1px, transparent 1px);
    background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
::selection { background: var(--blue); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
h1, h2, h3, h4 { font-family: var(--cond); font-weight: 600; line-height: 1.12; letter-spacing: .005em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.65rem, 2.7vw, 2.3rem); }
h3 { font-size: 1.32rem; }
p { color: var(--soft); max-width: 64ch; }
.pn { font-family: var(--mono); font-size: .86em; color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px;
    border: 1px solid transparent; border-radius: var(--r); cursor: pointer;
    font-weight: 600; font-size: .97rem; text-decoration: none; white-space: nowrap;
    background: var(--green); color: #06210f;
    transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { background: #5be08a; transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #64a3ff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-hi); }
.btn-ghost:hover { background: var(--bp-up); border-color: var(--blue); }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.link { color: var(--green); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .25s; }
.link:hover { border-color: var(--green); }

/* ---------- Header ---------- */
.topline { border-bottom: 1px solid var(--line); background: var(--bp-deep); font-size: .85rem; color: var(--soft); }
.topline .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topline a { text-decoration: none; transition: color .2s; }
.topline a:hover { color: var(--green); }
.topline-mails { display: flex; gap: 22px; }

.head { position: sticky; top: 0; z-index: 50; background: rgba(16, 41, 74, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 82px; }
.head-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.head-brand img { height: 60px; width: auto; }
.head-sep { width: 1px; height: 38px; background: var(--line-hi); }
.head-asa { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 10px 14px; text-decoration: none; font-weight: 500; color: var(--soft); transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--text); }
.nav .btn { margin-left: 10px; padding: 10px 18px; color: #06210f; }
.nav .btn:hover { color: #06210f; }
.nav .btn::after { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-hi); border-radius: var(--r); background: transparent; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span { top: 20px; }
.menu-btn span::before, .menu-btn span::after { content: ''; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Drawing frame (corner crop marks) ---------- */
.frame { position: relative; border: 1px solid var(--line); }
.frame::before, .frame::after {
    content: ''; position: absolute; width: 18px; height: 18px; pointer-events: none;
    border-color: var(--green); border-style: solid;
}
.frame::before { top: -6px; left: -6px; border-width: 2px 0 0 2px; }
.frame::after { bottom: -6px; right: -6px; border-width: 0 2px 2px 0; }

/* Small sheet label used on drawings */
.sheet { font-family: var(--mono); font-size: .74rem; color: var(--dim); }

/* ---------- Sections ---------- */
.sec { padding: clamp(64px, 8vw, 104px) 0; position: relative; }
.sec-deep { background: var(--bp-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.sec-head p { justify-self: end; }
.sec-head.single { grid-template-columns: 1fr; }
.sec-head.single p { justify-self: start; margin-top: 12px; }

/* ---------- HOME hero: annotated aircraft ---------- */
.hero { padding: clamp(44px, 6vw, 80px) 0 clamp(56px, 7vw, 90px); }
.hero-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-text h1 { margin-bottom: 18px; }
.hero-text h1 span { color: var(--green); }
.hero-text > p { font-size: 1.07rem; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.hero-facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.hero-facts div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.hero-facts div:nth-child(even) { padding-left: 16px; }
.hero-facts strong { display: block; font-family: var(--cond); font-size: 1.15rem; font-weight: 600; }
.hero-facts span { font-size: .88rem; color: var(--dim); }

.plate { padding: 10px; background: var(--bp-up); }
.plate-img { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 16 / 9.4; }
.plate-img > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.02); }
.plate-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,58,.1), rgba(11,31,58,.35)); pointer-events: none; }
.plate-links { display: none; flex-wrap: wrap; gap: 6px; padding: 10px 2px 0; }
.plate-links a { padding: 6px 10px; border: 1px solid var(--line-hi); border-radius: var(--r); font-size: .85rem; text-decoration: none; color: var(--soft); }
.plate-links a:hover { border-color: var(--green); color: var(--text); }
.plate-cap { display: flex; justify-content: space-between; gap: 12px; padding: 10px 4px 2px; }

/* Callouts on the photo */
.callout { position: absolute; z-index: 2; left: var(--x); top: var(--y); text-decoration: none; }
.callout-dot {
    position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 0 4px rgba(60,207,110,.28);
}
.callout-dot::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(60,207,110,.7); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.callout-line { position: absolute; left: 0; top: 0; height: 1px; width: var(--len, 70px); background: rgba(228,237,247,.85); transform-origin: 0 0; transform: rotate(var(--ang, -30deg)); }
.callout-tag {
    position: absolute; left: var(--tx, 60px); top: var(--ty, -48px); white-space: nowrap;
    padding: 6px 10px; border-radius: var(--r); background: rgba(11,31,58,.92); border: 1px solid var(--line-hi);
    font-size: .84rem; font-weight: 600; color: var(--text); transition: background .25s, border-color .25s;
}
.callout-tag small { display: block; font-weight: 400; color: var(--soft); font-size: .76rem; }
.callout:hover .callout-tag, .callout:focus-visible .callout-tag { background: var(--green); color: #06210f; border-color: var(--green); }
.callout:hover .callout-tag small { color: #0b3a1c; }

/* ---------- Two badges ---------- */
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); background: var(--bp-up); }
.badge { display: flex; gap: 18px; align-items: center; padding: 24px 26px; }
.badge + .badge { border-left: 1px solid var(--line); }
.badge-icon { flex-shrink: 0; width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--r); }
.badge-asa .badge-icon { width: 76px; }
.badge-asa .badge-icon img { width: 100%; height: auto; }
.badge-log .badge-icon { background: rgba(60,207,110,.14); color: var(--green); border: 1px solid rgba(60,207,110,.4); }
.badge h3 { margin-bottom: 2px; }
.badge p { font-size: .95rem; }

/* ---------- Part family sheets ---------- */
.sheets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sheet-card { display: flex; flex-direction: column; background: var(--bp-up); text-decoration: none; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.sheet-card:hover { background: var(--bp-hi); border-color: var(--line-hi); transform: translateY(-3px); }
.sheet-card .sc-img { aspect-ratio: 16 / 10; overflow: hidden; margin: 8px 8px 0; position: relative; }
.sheet-card .sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sheet-card:hover .sc-img img { transform: scale(1.05); }
.sc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.sc-body h3 { margin-bottom: 6px; }
.sc-body p { font-size: .94rem; margin-bottom: 14px; flex: 1; }
.sc-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--dim); }
.sc-foot b { color: var(--green); font-weight: 600; }

/* ---------- Spec table (why us) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-media { position: relative; }
.split-media .frame { padding: 8px; background: var(--bp-up); }
.split-media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.split-media .inset { position: absolute; right: -18px; bottom: -26px; width: 44%; padding: 6px; background: var(--bp-up); border: 1px solid var(--line-hi); }
.split-media .inset img { aspect-ratio: 4 / 3; }
.specs { width: 100%; border-collapse: collapse; margin: 22px 0 26px; font-size: .97rem; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; font-weight: 600; color: var(--text); padding-right: 16px; }
.specs td { color: var(--soft); }

/* ---------- Process (true sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border: 1px solid var(--line); background: var(--bp-up); }
.step { padding: 26px 22px 28px; position: relative; counter-increment: step; }
.step + .step { border-left: 1px solid var(--line); }
.step::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border: 1px solid var(--green); color: var(--green); border-radius: 50%; font-weight: 600; font-size: .95rem; }
.step + .step::after { content: ''; position: absolute; left: -7px; top: 39px; width: 12px; height: 12px; border-top: 1px solid var(--line-hi); border-right: 1px solid var(--line-hi); transform: rotate(45deg); background: var(--bp-up); }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { font-size: .92rem; }

/* ---------- Photo strip ---------- */
.strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.strip figure { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--bp-up); }
.strip figure:first-child { grid-row: span 2; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.strip figure:hover img { transform: scale(1.04); }
.strip figcaption { position: absolute; left: 0; bottom: 0; padding: 7px 12px; background: rgba(11,31,58,.88); font-size: .84rem; font-weight: 500; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }

/* ---------- CTA band ---------- */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 34px 36px; background: linear-gradient(100deg, rgba(63,140,255,.16), rgba(60,207,110,.12)); }
.cta h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 4px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Inner page heading ---------- */
.page-head { padding: clamp(46px, 6vw, 76px) 0 clamp(34px, 4vw, 50px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; gap: 8px; font-size: .86rem; color: var(--dim); margin-bottom: 14px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--green); }
.page-head-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.page-head h1 { max-width: 20ch; }
.page-head p { font-size: 1.05rem; }

.banner { margin-top: 34px; padding: 8px; background: var(--bp-up); }
.banner img { width: 100%; height: clamp(200px, 26vw, 340px); object-fit: cover; }

/* ---------- About ---------- */
.prose p { margin-bottom: 16px; }
.prose p:first-child { color: var(--text); font-size: 1.08rem; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); }
.value { padding: 26px 28px; background: var(--bp-up); }
.value:nth-child(even) { border-left: 1px solid var(--line); }
.value:nth-child(n+3) { border-top: 1px solid var(--line); }
.value h3 { margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.value h3::before { content: ''; width: 10px; height: 10px; background: var(--green); transform: rotate(45deg); flex-shrink: 0; }
.value p { font-size: .95rem; }
.loc { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.loc svg { width: 100%; max-width: 380px; height: auto; }

/* ---------- Services ---------- */
.svc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.svc-nav a { padding: 8px 14px; border: 1px solid var(--line-hi); border-radius: var(--r); text-decoration: none; font-size: .92rem; color: var(--soft); transition: all .2s; }
.svc-nav a:hover { color: var(--text); border-color: var(--green); }
.svc { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(26px, 4vw, 52px); align-items: center; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc:nth-child(even) .svc-media { order: 2; }
.svc-media { padding: 8px; background: var(--bp-up); }
.svc-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.svc h2 { font-size: clamp(1.5rem, 2.3vw, 1.95rem); margin-bottom: 10px; }
.svc > div > p { margin-bottom: 16px; }
.ticks { display: grid; gap: 8px; margin: 18px 0 24px; }
.ticks li { position: relative; padding-left: 24px; color: var(--soft); font-size: .96rem; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 9px; height: 9px; border: 2px solid var(--green); transform: rotate(45deg); }
.fleet { width: 100%; border-collapse: collapse; }
.fleet th, .fleet td { text-align: left; padding: 16px 18px; border: 1px solid var(--line); vertical-align: top; }
.fleet th { width: 24%; font-family: var(--cond); font-size: 1.15rem; font-weight: 600; background: var(--bp-up); }
.fleet td { color: var(--soft); }

/* ---------- Products ---------- */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 24px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { padding: 9px 15px; border: 1px solid var(--line-hi); border-radius: var(--r); background: transparent; font-size: .92rem; font-weight: 500; color: var(--soft); cursor: pointer; transition: all .2s; }
.tab:hover { color: var(--text); border-color: var(--blue); }
.tab[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.search { position: relative; }
.search input { width: 280px; max-width: 100%; padding: 10px 14px 10px 38px; border: 1px solid var(--line-hi); border-radius: var(--r); background: var(--bp-deep); outline: none; transition: border-color .2s; }
.search input:focus { border-color: var(--green); }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.item { display: flex; flex-direction: column; background: var(--bp-up); transition: background .25s, border-color .25s; }
.item[hidden] { display: none; }
.item:hover { background: var(--bp-hi); border-color: var(--line-hi); }
.item-img { margin: 8px 8px 0; aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.item:hover .item-img img { transform: scale(1.05); }
.item-cond { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: var(--r); font-size: .78rem; font-weight: 600; background: rgba(11,31,58,.88); border: 1px solid var(--line-hi); }
.c-new { color: var(--green); } .c-oh { color: #8fbaff; } .c-sv { color: #7fe0e8; } .c-ar { color: #f2cf73; }
.item-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.item-body h3 { font-size: 1.16rem; margin: 4px 0 8px; }
.item dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .9rem; margin-bottom: 16px; flex: 1; }
.item dt { color: var(--dim); } .item dd { color: var(--soft); }
.item .btn { align-self: flex-start; padding: 9px 16px; font-size: .9rem; }
.empty { display: none; padding: 30px; border: 1px dashed var(--line-hi); text-align: center; color: var(--soft); }
.empty.show { display: block; }
.conds { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--bp-up); }
.conds div { padding: 22px; }
.conds div + div { border-left: 1px solid var(--line); }
.conds h3 { font-size: 1.12rem; margin-bottom: 6px; }
.conds p { font-size: .92rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: start; }
.info { background: var(--bp-up); padding: 26px; }
.info h2 { font-size: 1.5rem; margin-bottom: 8px; }
.info > p { font-size: .95rem; margin-bottom: 20px; }
.info dl { display: grid; gap: 0; }
.info dl div { padding: 14px 0; border-top: 1px solid var(--line); }
.info dt { font-size: .84rem; color: var(--dim); }
.info dd, .info dd a { font-weight: 600; text-decoration: none; word-break: break-word; }
.info dd a:hover { color: var(--green); }
.form { background: var(--bp-up); padding: clamp(22px, 3vw, 34px); }
.form h2 { font-size: 1.5rem; margin-bottom: 4px; }
.form > p { font-size: .95rem; margin-bottom: 22px; }
.form fieldset { border: 0; border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 8px; }
.form legend { font-family: var(--cond); font-weight: 600; font-size: 1.12rem; padding-right: 10px; color: var(--green); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .9rem; font-weight: 600; }
.field label small { font-weight: 400; color: var(--dim); }
.field input, .field select, .field textarea {
    width: 100%; padding: 11px 13px; border: 1px solid var(--line-hi); border-radius: var(--r);
    background: var(--bp-deep); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,140,255,.2); }
.field .bad { border-color: #ff6b7d; box-shadow: 0 0 0 3px rgba(255,107,125,.18); }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9bdd6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
.field select option { background: var(--bp-deep); }
input[type="date"] { color-scheme: dark; }
.trap { position: absolute !important; left: -9999px !important; }
.send { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.send p { font-size: .86rem; color: var(--dim); }
.notice { padding: 14px 16px; border-radius: var(--r); margin-bottom: 18px; font-weight: 500; font-size: .95rem; }
.notice-ok { background: rgba(60,207,110,.12); border: 1px solid rgba(60,207,110,.45); color: #9cf0b9; }
.notice-err { background: rgba(255,107,125,.1); border: 1px solid rgba(255,107,125,.45); color: #ffb3bd; }
.map { margin-top: 28px; padding: 8px; background: var(--bp-up); }
.map iframe { display: block; width: 100%; height: 340px; border: 0; filter: invert(.9) hue-rotate(185deg) saturate(.7) brightness(.95); }

/* ---------- Footer ---------- */
.foot { position: relative; margin-top: clamp(40px, 6vw, 70px); background: var(--bp-deep); border-top: 1px solid var(--line); overflow: hidden; }
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.foot-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(46px, 6vw, 72px) 0 clamp(36px, 5vw, 54px); }
.foot-logos { display: flex; align-items: center; gap: 22px; margin-bottom: 20px; }
.foot-logo { height: 104px; width: auto; }
.foot-sep { width: 1px; height: 70px; background: var(--line-hi); }
.foot-asa { height: 82px; width: auto; }
.foot-id p { font-size: .95rem; margin-bottom: 18px; }
.foot-mail { display: inline-block; font-family: var(--cond); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--text); text-decoration: none; margin-bottom: 22px; border-bottom: 2px solid var(--green); transition: color .2s; }
.foot-mail:hover { color: var(--green); }
.foot-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.foot-drawing { position: relative; padding: 18px; border: 1px solid var(--line); background: rgba(16,41,74,.55); }
.foot-drawing::before, .foot-drawing::after { content: ''; position: absolute; width: 16px; height: 16px; border: solid var(--green); }
.foot-drawing::before { top: -5px; left: -5px; border-width: 2px 0 0 2px; }
.foot-drawing::after { bottom: -5px; right: -5px; border-width: 0 2px 2px 0; }
.foot-drawing svg { width: 100%; height: auto; display: block; }
.foot-drawing figcaption { font-family: var(--mono); font-size: .72rem; color: var(--dim); text-align: right; margin-top: 6px; }
.dwg-line { stroke: #8fbaff; stroke-width: 1.4; stroke-linejoin: round; }
.dwg-dim { stroke: var(--dim); stroke-width: 1; }
.dwg-fill { fill: var(--dim); stroke: none; }
.dwg-call { stroke: var(--green); stroke-width: 1; }
.dwg-call circle { fill: var(--green); }
.dwg-txt { fill: var(--dim); font: 500 9px var(--mono); letter-spacing: .12em; }
.dwg-lbl { fill: var(--green); font: 600 10px var(--mono); letter-spacing: .1em; }

.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 34px 0; border-top: 1px solid var(--line); }
.foot-cols h4 { font-family: var(--cond); font-weight: 600; font-size: 1.05rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.foot-cols h4::before { content: ''; width: 8px; height: 8px; background: var(--green); transform: rotate(45deg); }
.foot-cols ul { display: grid; gap: 8px; }
.foot-cols a { color: var(--soft); text-decoration: none; font-size: .93rem; transition: color .2s, padding .25s var(--ease); }
.foot-cols a:hover { color: var(--green); padding-left: 4px; }
.foot-contact li { display: flex; align-items: center; gap: 10px; color: var(--soft); font-size: .93rem; word-break: break-word; }
.foot-contact svg { color: var(--green); flex-shrink: 0; }
.foot-contact a:hover { padding-left: 0; }

.foot-strip { display: grid; grid-template-columns: 1.3fr 1fr 1.6fr 0.8fr; border: 1px solid var(--line-hi); margin-bottom: 26px; font-size: .9rem; }
.foot-strip > div { padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; color: var(--soft); }
.foot-strip > div + div { border-left: 1px solid var(--line-hi); }
.foot-strip span:first-child { width: 100%; font-size: .72rem; color: var(--dim); }
.foot-strip b { padding: 3px 9px; border-radius: var(--r); font-size: .8rem; font-weight: 600; }
.tag-blue { border: 1px solid var(--blue); color: #9cc2ff; }
.tag-green { border: 1px solid var(--green); color: var(--green); }

/* Remote photo fallback */
img.fallback { object-fit: cover; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
    .foot-top { grid-template-columns: 1fr; }
    .foot-cols { grid-template-columns: repeat(2, 1fr); }
    .menu-btn { display: block; }
    .nav { position: fixed; inset: 82px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--pad) 22px; background: var(--bp-deep); border-bottom: 1px solid var(--line); display: none; }
    .menu-open .nav { display: flex; }
    .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .nav a::after { display: none; }
    .nav .btn { margin: 14px 0 0; justify-content: center; }
    .hero-grid, .split, .page-head-grid, .loc, .contact, .svc { grid-template-columns: 1fr; }
    .svc:nth-child(even) .svc-media { order: 0; }
    .sec-head { grid-template-columns: 1fr; gap: 12px; }
    .sec-head p { justify-self: start; }
    .sheets, .catalog { grid-template-columns: 1fr 1fr; }
    .steps, .conds { grid-template-columns: 1fr 1fr; }
    .step:nth-child(3), .conds div:nth-child(3) { border-left: 0; }
    .step:nth-child(n+3), .conds div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .step:nth-child(3)::after { display: none; }
}

@media (max-width: 680px) {
    .foot-cols { grid-template-columns: 1fr 1fr; }
    .foot-strip { grid-template-columns: 1fr 1fr; }
    .foot-strip > div:nth-child(3) { border-left: 0; }
    .foot-strip > div:nth-child(n+3) { border-top: 1px solid var(--line-hi); }
    .foot-logo { height: 76px; } .foot-asa { height: 60px; } .foot-sep { height: 50px; }
    .head-sep { height: 28px; }
    .topline-place { display: none; }
    .topline .wrap { justify-content: center; }
    .topline-mails { gap: 14px; font-size: .8rem; }
    .head .wrap { height: 70px; }
    .nav { inset: 70px 0 auto 0; }
    .head-brand img { height: 46px; }
    .head-asa { height: 36px; }
    .hero-facts strong { font-size: 1.02rem; }
    .hero-facts span { font-size: .8rem; }
    .callout-line, .callout-tag { display: none; }
    .plate-links { display: flex; }
    .badges { grid-template-columns: 1fr; }
    .badge + .badge { border-left: 0; border-top: 1px solid var(--line); }
    .sheets, .catalog, .values { grid-template-columns: 1fr; }
    .value:nth-child(even) { border-left: 0; }
    .value + .value { border-top: 1px solid var(--line); }
    .steps, .conds { grid-template-columns: 1fr; }
    .step + .step, .conds div + div { border-left: 0; border-top: 1px solid var(--line); }
    .step::after { display: none; }
    .strip { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 150px 150px; }
    .strip figure:first-child { grid-column: span 2; grid-row: auto; }
    .split-media .inset { right: 8px; bottom: -20px; }
    .grid2 { grid-template-columns: 1fr; }
    .search, .search input { width: 100%; }
    .fleet th, .fleet td { display: block; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--green); color: #06210f; border-radius: var(--r); font-weight: 600; }
.skip:focus { left: 8px; }

/* The logo's dark "SKY FUTURE" lettering needs a faint light edge on the blueprint ground */
.head-brand > img, .foot-logo { filter: drop-shadow(0 0 1px rgba(255,255,255,.75)) drop-shadow(0 0 10px rgba(120,170,255,.22)); }
