/* ==========================================================================
   Vintage Aircraft Services — site styles
   Palette: brass, leather, panel-gauge ivory, deep instrument-panel blue.
   Aesthetic: cockpit of a 1947 Bonanza.
   ========================================================================== */

:root {
  --ink: #1a1612;
  --ink-soft: #2c2620;
  --paper: #f4ede0;
  --paper-soft: #ece2cd;
  --brass: #b8893b;
  --brass-bright: #d8a55a;
  --brass-dark: #8a6326;
  --gauge-ivory: #efe2bd;
  --panel: #1d2c3a;
  --panel-deep: #0f1a26;
  --panel-line: #2a3d50;
  --red: #b94e3d;
  --green: #4a7a4d;
  --muted: #6b5d4b;
  --line: #d8c89e;
  --shadow: 0 10px 30px rgba(20, 12, 4, .12);
  --radius: 4px;
  --container: 1180px;
  --serif: 'IM Fell English', 'Cormorant Garamond', 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse at top, rgba(184, 137, 59, .04), transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(120, 90, 50, .025) 24px, rgba(120, 90, 50, .025) 25px);
}

img { max-width: 100%; display: block; }
a { color: var(--brass-dark); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .4em;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--sans); font-weight: 700; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head .sub { color: var(--muted); font-size: 1.05rem; }

.kicker {
  display: inline-block;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  color: var(--brass-dark);
  border: 1px solid var(--brass);
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(216, 165, 90, .08);
  margin: 0 0 14px;
}

/* ====== Top bar / nav ====== */

.topbar {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 3px solid var(--brass);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--paper);
}
.brand:hover { color: var(--brass-bright); }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--brass);
  border-radius: 50%;
  background: var(--ink-soft);
  color: var(--brass-bright);
  font-size: 1.2rem;
  font-family: var(--serif);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.brand-sub { font-family: var(--mono); font-size: .68rem; color: var(--brass); letter-spacing: .14em; text-transform: uppercase; }

.primary-nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.primary-nav a {
  color: var(--paper);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: background .15s;
}
.primary-nav a:hover { background: rgba(216, 165, 90, .12); color: var(--brass-bright); }
.primary-nav a[aria-current="page"] {
  background: rgba(216, 165, 90, .15);
  color: var(--brass-bright);
  border-bottom: 2px solid var(--brass);
  border-radius: 0;
}
.primary-nav a.cta {
  background: var(--brass);
  color: var(--ink);
  font-weight: 600;
}
.primary-nav a.cta:hover { background: var(--brass-bright); color: var(--ink); }

/* ====== Hero ====== */

.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(20, 14, 8, .65), rgba(20, 14, 8, .85)),
    radial-gradient(ellipse at 30% 30%, rgba(216, 165, 90, .3), transparent 50%),
    linear-gradient(135deg, var(--panel-deep), var(--ink));
  color: var(--paper);
  padding: 110px 0 100px;
  overflow: hidden;
  border-bottom: 4px solid var(--brass);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 40px, rgba(216, 165, 90, .03) 40px, rgba(216, 165, 90, .03) 41px),
    repeating-linear-gradient(-45deg, transparent 0, transparent 40px, rgba(216, 165, 90, .03) 40px, rgba(216, 165, 90, .03) 41px);
  pointer-events: none;
}
.hero-overlay { position: absolute; inset: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.hero h1 { color: var(--paper); font-size: clamp(2.4rem, 5.5vw, 4.2rem); margin-bottom: 18px; }
.hero h1::first-line { color: var(--brass-bright); }
.hero .kicker { color: var(--brass-bright); border-color: var(--brass-bright); background: rgba(216, 165, 90, .1); }
.hero .lead { font-size: 1.15rem; color: var(--paper-soft); max-width: 720px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  background:
    linear-gradient(180deg, rgba(20, 14, 8, .55), rgba(20, 14, 8, .75)),
    linear-gradient(135deg, var(--panel-deep), var(--ink));
  color: var(--paper);
  padding: 80px 0 64px;
  border-bottom: 4px solid var(--brass);
}
.page-hero .kicker { color: var(--brass-bright); border-color: var(--brass-bright); background: rgba(216, 165, 90, .1); }
.page-hero h1 { color: var(--paper); margin-bottom: 16px; }
.page-hero .lead { color: var(--paper-soft); font-size: 1.1rem; max-width: 720px; }

/* ====== Buttons ====== */

.btn {
  display: inline-block;
  padding: 13px 24px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s, background .12s, color .12s, border-color .12s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--brass);
  color: var(--ink);
  border-color: var(--brass);
}
.btn.primary:hover { background: var(--brass-bright); border-color: var(--brass-bright); color: var(--ink); }
.btn.ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}
.btn.ghost:hover { background: var(--paper); color: var(--ink); }
.btn.block { display: block; text-align: center; width: 100%; }

/* ghost on light backgrounds (used inside text) */
.hero ~ .section .btn.ghost,
section .grid-2 .btn.ghost {
  color: var(--ink);
  border-color: var(--brass);
}
section .grid-2 .btn.ghost:hover {
  background: var(--brass);
  color: var(--ink);
}

/* ====== Stats / trust strip ====== */

.trust-strip {
  background: var(--ink-soft);
  color: var(--paper);
  padding: 28px 0;
  border-bottom: 1px solid rgba(216, 165, 90, .25);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--brass-bright);
  font-weight: 600;
  letter-spacing: -.01em;
}
.stat-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  color: var(--paper-soft);
}

/* ====== Grids / cards ====== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 2px 6px rgba(20, 12, 4, .04);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brass-bright);
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-family: var(--serif);
}
.card h3 { margin-bottom: 10px; }
.card-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--brass-dark);
  text-decoration: none;
}
.card-link:hover { color: var(--ink); }

.brand-card { background: var(--ink-soft); color: var(--paper); border-top-color: var(--brass-bright); }
.brand-card h3 { color: var(--brass-bright); }
.brand-card p, .brand-card ul { color: var(--paper-soft); }
.brand-card .checklist li::before { color: var(--brass-bright); }

.callout {
  background: var(--ink);
  color: var(--paper);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--brass-dark);
  border-left: 4px solid var(--brass);
  position: sticky;
  top: 100px;
}
.callout h3 { color: var(--brass-bright); margin-bottom: 12px; }
.callout .price {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--brass-bright);
  margin: 8px 0 12px;
  font-weight: 600;
}
.callout .price span { font-size: 1rem; color: var(--paper-soft); font-family: var(--sans); }
.price-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .95rem; }
.price-table th, .price-table td { padding: 8px 0; text-align: left; border-bottom: 1px solid rgba(216, 165, 90, .2); }
.price-table th { color: var(--brass-bright); font-weight: 500; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.muted { color: var(--muted); font-size: .9rem; }
.muted.small { font-size: .82rem; }

/* ====== Process list ====== */

.process {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}
.process li {
  counter-increment: step;
  padding: 16px 16px 16px 64px;
  position: relative;
  border-left: 2px solid var(--brass);
  margin-bottom: 18px;
  background: var(--paper-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.process li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--brass);
  color: var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
}
.process li strong { color: var(--ink); }

/* ====== Research ====== */

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.research {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  position: relative;
}
.research::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px;
  height: 3px;
  background: var(--brass);
  border-radius: 0 0 var(--radius) 0;
}
.research h3 {
  font-family: var(--mono);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--brass-dark);
  margin-bottom: 12px;
}
.research p, .research ul { color: var(--ink-soft); }

/* ====== Aircraft grid ====== */

.aircraft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.aircraft {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  padding: 16px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.aircraft h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.aircraft p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ====== FAQ ====== */

.faq { max-width: 880px; margin: 0 auto; }
.faq details {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 12px;
  padding: 14px 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.4rem;
  color: var(--brass-dark);
  font-family: var(--mono);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 12px; color: var(--ink-soft); }
.faq details a { color: var(--brass-dark); }

/* ====== Checklist ====== */

.checklist { list-style: none; padding: 0; margin: 0 0 16px; }
.checklist li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 8px;
  font-size: .95rem;
}
.checklist li::before {
  content: '✈';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brass);
  font-size: .85rem;
}

/* ====== CTA band ====== */

.cta-band {
  background: linear-gradient(135deg, var(--ink), var(--ink-soft));
  color: var(--paper);
  padding: 64px 0;
  text-align: center;
  border-top: 4px solid var(--brass);
  border-bottom: 4px solid var(--brass);
}
.cta-band h2 { color: var(--brass-bright); }
.cta-band p { max-width: 640px; margin: 0 auto 28px; color: var(--paper-soft); }

/* ====== Contact form ====== */

.contact-form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--brass-bright); letter-spacing: .04em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 10px 12px;
  background: var(--ink-soft);
  color: var(--paper);
  border: 1px solid var(--brass-dark);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .12s, background .12s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--brass-bright);
  background: var(--ink);
}
.contact-form textarea { resize: vertical; }
.contact-form code { background: var(--ink-soft); color: var(--brass-bright); padding: 2px 6px; border-radius: 3px; font-size: .82rem; }
.contact-block { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(216, 165, 90, .18); }
.contact-block:last-child { border: none; }
.contact-block h3 { color: var(--brass-bright); font-family: var(--mono); text-transform: uppercase; font-size: .82rem; letter-spacing: .14em; }
.contact-block a { color: var(--paper); text-decoration-color: var(--brass); }

.map-card { background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.map-frame { border: 2px solid var(--brass); border-radius: var(--radius); overflow: hidden; height: 320px; margin: 12px 0; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ====== Footer ====== */

.footer {
  background: var(--ink);
  color: var(--paper-soft);
  padding: 56px 0 24px;
  border-top: 4px solid var(--brass);
}
.footer h4 { color: var(--brass-bright); margin-bottom: 14px; }
.footer a { color: var(--paper-soft); text-decoration: none; }
.footer a:hover { color: var(--brass-bright); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(216, 165, 90, .18);
}
.footer .list { list-style: none; padding: 0; margin: 0; }
.footer .list li { margin-bottom: 8px; font-size: .92rem; }
.footer-bottom { padding-top: 20px; font-size: .85rem; color: var(--muted); text-align: center; }

/* ====== Responsive ====== */

@media (max-width: 900px) {
  .grid-3, .grid-2, .grid-4, .research-grid, .aircraft-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .callout { position: static; }
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .primary-nav { width: 100%; justify-content: flex-start; }
  .hero, .page-hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .stat-num { font-size: 1.8rem; }
}
@media (max-width: 560px) {
  .primary-nav { gap: 4px; }
  .primary-nav a { padding: 6px 10px; font-size: .85rem; }
  .brand-sub { display: none; }
}
