/* ===================================================================
   Crossroads Aviators — shared stylesheet
   =================================================================== */

:root {
  --navy: #1e2328;      /* charcoal — from the Crossroads Aviators mark */
  --navy-dark: #141618; /* deepest charcoal, from the mark's dial */
  --sky: #1d6fa5;       /* aviation blue — secondary accent */
  --sky-light: #eaf2f2; /* soft blue-green tint for alt sections */
  --gold: #699b37;      /* club green — from the mark's needle */
  --gold-dark: #52792b; /* darker green for hover states */
  --ink: #1e2328;
  --ink-soft: #4a4d50;
  --paper: #ffffff;
  --line: #dcdee0;
  --max-width: 1120px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(30, 35, 40, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

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

section { padding: 72px 0; }
section.tight { padding: 48px 0; }

.section-header { max-width: 720px; margin: 0 0 40px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-dark); }

.btn-outline { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #dbe6f2;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 5px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }
.nav-links a.current { color: var(--gold); }
.nav-links .btn { margin-left: 6px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: #fff; border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 18px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-links .btn { margin: 8px 10px 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(15,17,19,0.75) 0%, rgba(20,25,30,0.60) 45%, rgba(20,60,85,0.55) 100%),
    url("../images/plane-hero.jpg");
  background-size: cover;
  background-position: center 60%;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08), transparent 40%),
                     radial-gradient(circle at 85% 75%, rgba(105,155,55,0.20), transparent 45%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 110px 24px 100px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.hero .eyebrow {
  color: #b9e08a;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 0 14px rgba(0,0,0,0.5);
}
.hero h1 {
  color: #fff;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero .lede {
  color: #cfe0ef;
  font-size: 1.15rem;
  max-width: 640px;
  margin: 18px auto 34px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.15);
  background: rgba(20,22,24,0.5);
}
.hero-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 20px 24px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #cfe0ef;
}
.hero-strip strong { color: var(--gold); }

/* ---------- Page header (non-home) ---------- */
.page-header {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 70px 24px 56px;
  text-align: center;
}
.page-header.with-photo {
  background-size: cover;
  background-position: center;
}
.page-header h1 { color: #fff; margin-bottom: 12px; }
.page-header p { color: #cfe0ef; max-width: 620px; margin: 0 auto; }
.page-header.with-photo h1,
.page-header.with-photo p {
  text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 0 16px rgba(0,0,0,0.4);
}

/* ---------- Cards / grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 46px; height: 46px;
  margin-bottom: 18px;
  color: var(--sky);
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; }

.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--sky-light);
  color: var(--sky);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

/* ---------- Section variants ---------- */
.section-alt { background: var(--sky-light); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #cfe0ef; }

/* ---------- Stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-row .num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--gold);
}
.stat-row .label {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #cfe0ef;
}

/* ---------- Pricing table ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pricing-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.pricing-table th {
  background: var(--navy);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table .amount {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.pricing-note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Aircraft spec sheet ---------- */
.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.spec-list li:last-child { border-bottom: none; }
.spec-list .k { color: var(--ink-soft); flex-shrink: 0; }
.spec-list .v { font-weight: 600; color: var(--navy); text-align: right; overflow-wrap: anywhere; min-width: 0; }

.tag {
  display: inline-block;
  background: var(--sky-light);
  color: var(--sky);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 8px 8px 0;
}

.plane-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(160deg, var(--sky-light), #fff);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plane-frame svg { width: 70%; height: 70%; }
.plane-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Photo gallery ---------- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .photo-gallery { grid-template-columns: 1fr; } }
.photo-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.photo-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.photo-gallery figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: #fff;
}

.mood-photo {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 21 / 9;
}
.mood-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) { .mood-photo { aspect-ratio: 4 / 3; } }

/* ---------- Callout / disclaimer ---------- */
.callout {
  background: #fff8ea;
  border: 1px solid #ecd9a8;
  border-left: 4px solid var(--gold-dark);
  border-radius: 8px;
  padding: 20px 22px;
  font-size: 0.92rem;
  color: #5c4a1f;
}
.callout strong { color: #4a3c17; }

/* ---------- Timeline / steps ---------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 4px 0 28px 52px;
  border-left: 2px solid var(--line);
  margin-left: 19px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: -21px; top: 0;
  width: 40px; height: 40px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
}
.steps h3 { margin-bottom: 6px; font-size: 1.1rem; }
.steps p { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
@media (max-width: 600px) { .form-card { padding: 26px 20px; } }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.field .hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 4px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfe;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29,111,165,0.15);
}
.field textarea { resize: vertical; min-height: 110px; }

fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px 8px;
  margin: 0 0 20px;
}
fieldset legend {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  padding: 0 6px;
}
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.checkbox-row input { width: auto; margin-top: 4px; }
.checkbox-row label { font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }

.radio-row { display: flex; gap: 24px; }
.radio-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.95rem;
  cursor: pointer;
}
.radio-row input { width: auto; }

.form-submit-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Leadership / people cards ---------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .people-grid { grid-template-columns: 1fr; } }

.people-grid.cfi-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .people-grid.cfi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .people-grid.cfi-grid { grid-template-columns: 1fr; } }

.people-grid.cfi-grid-pair { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin: 0 auto; }
@media (max-width: 520px) { .people-grid.cfi-grid-pair { grid-template-columns: 1fr; } }

.person-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.avatar-circle {
  width: 78px; height: 78px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky-light);
  color: var(--sky);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  border: 2px solid var(--sky);
}
.person-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.person-role {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.person-card p { font-size: 0.88rem; margin-bottom: 0; }
.person-card.cfi .avatar-circle {
  background: #eef6e6;
  color: var(--gold-dark);
  border-color: var(--gold);
}
.avatar-photo {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
  border: 3px solid var(--sky-light);
  display: block;
}
.person-card.cfi .avatar-photo { border-color: #eef6e6; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--sky));
  color: #fff;
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d9e8f4; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #b9c8da;
  padding: 50px 0 26px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a { color: #b9c8da; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: #7f92a8;
}

.brand-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
