/* ============================================================
   V-tology — design tokens
   ============================================================ */
:root {
  --navy-deep: #16324F;
  --sky-blue: #1E6FB5;
  --horizon-blue: #3FA9E0;
  --flight-orange: #F0871E;
  --ember-red: #D9531E;
  --cloud-white: #FFFFFF;
  --mist-grey: #F5F7FA;
  --slate-grey: #5B6472;
  --line-grey: #DDE6EE;

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --max-width: 1180px;
  --radius: 10px;
  --shadow-soft: 0 12px 32px rgba(22, 50, 79, 0.08);
  --transition: 220ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-deep);
  background: var(--cloud-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-deep);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

p { margin: 0 0 1em; color: var(--slate-grey); }

a { color: var(--sky-blue); text-decoration: none; }
a:hover { color: var(--flight-orange); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  background: var(--navy-deep);
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 200;
}

:focus-visible {
  outline: 3px solid var(--horizon-blue);
  outline-offset: 3px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 0;
}

.section-tint { background: var(--mist-grey); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--flight-orange);
  margin: 0 0 0.9em;
}

.section-title {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 600;
  max-width: 640px;
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Header / Nav
   ============================================================ */
.lang-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  height: 34px;
  background: var(--navy-deep);
}
.lang-bar-inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 2px;
  transition: color var(--transition);
}
.lang-btn:hover { color: rgba(255, 255, 255, 0.85); }
.lang-btn.is-active {
  color: var(--flight-orange);
  font-weight: 600;
}
.lang-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.72rem;
}

.site-header {
  position: fixed;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-grey);
  box-shadow: 0 4px 20px rgba(22, 50, 79, 0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  height: 96px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy-deep);
  padding: 6px 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--flight-orange), var(--sky-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover { color: var(--navy-deep); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-deep);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding-top: 250px;
  padding-bottom: 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 75% 0%, #EAF3FB 0%, var(--cloud-white) 60%);
  z-index: -1;
}
.hero-inner { position: relative; }

.eyebrow { }

.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 700;
  max-width: 780px;
}
.hero-title-accent {
  display: block;
  background: linear-gradient(90deg, var(--flight-orange), var(--ember-red) 45%, var(--sky-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 560px;
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-image-wrap {
  margin-top: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.btn-primary {
  background: linear-gradient(90deg, var(--flight-orange), var(--ember-red));
  color: white;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(217, 83, 30, 0.28);
  color: white;
}
.btn-ghost {
  background: transparent;
  border-color: var(--navy-deep);
  color: var(--navy-deep);
}
.btn-ghost:hover {
  background: var(--navy-deep);
  color: white;
  transform: translateY(-2px);
}
.btn-block { width: 100%; }

/* ============================================================
   Checkmark list (signature motif)
   ============================================================ */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--navy-deep);
  font-weight: 500;
}
.check-mark {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flight-orange), var(--sky-blue));
  position: relative;
}
.check-mark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}

/* ============================================================
   About
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}
.about-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.panel-card {
  background: var(--mist-grey);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--sky-blue);
}
.panel-card--accent { border-left-color: var(--flight-orange); }
.panel-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-grey);
  margin-bottom: 6px;
}
.panel-stat {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.panel-copy { margin: 0; font-size: 0.95rem; }

/* ============================================================
   Services
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.service-card {
  background: white;
  border: 1px solid var(--line-grey);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.service-icon {
  width: 48px;
  height: 48px;
  color: var(--sky-blue);
  margin-bottom: 18px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.service-card p { font-size: 0.95rem; margin: 0; }

/* ============================================================
   VCRM
   ============================================================ */
.vcrm-section { background: var(--navy-deep); color: white; }
.vcrm-section .eyebrow { color: var(--horizon-blue); }
.vcrm-section .section-title { color: white; }
.vcrm-section p { color: rgba(255,255,255,0.72); }

.vcrm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.vcrm-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pillar {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px;
}
.pillar-tag {
  font-family: var(--font-mono);
  color: var(--flight-orange);
  font-size: 0.85rem;
}
.pillar h4 {
  color: white;
  margin: 10px 0 6px;
  font-size: 1.05rem;
}
.pillar p {
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   Aviation Training
   ============================================================ */
.training-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
}
.training-row-reverse {
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 64px;
}
.training-text-right {
  display: flex;
  flex-direction: column;
}
.training-text-right .checklist-card {
  width: 100%;
}
.checklist-card {
  background: white;
  border: 1px solid var(--line-grey);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 24px;
}
.training-subtitle {
  margin-top: 0;
}
.checklist-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 16px;
}
.training-visual { display: flex; justify-content: center; }
.training-svg { width: 100%; max-width: 340px; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-details {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details li { display: flex; flex-direction: column; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-grey);
}
.contact-details a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-deep);
}
.contact-details a:hover { color: var(--flight-orange); }

.contact-form {
  background: var(--mist-grey);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-deep);
}
.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1px solid var(--line-grey);
  border-radius: 6px;
  background: white;
  color: var(--navy-deep);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--sky-blue);
}
.form-status {
  margin: 14px 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form-status.success { color: var(--sky-blue); }
.form-status.error { color: var(--ember-red); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 34px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-copy {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .about-grid,
  .vcrm-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .training-row,
  .training-row-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .training-visual { order: -1; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section-inner { padding: 0 22px; }
  .header-inner { padding: 6px 22px; }
  .brand-logo { height: 80px; }
  .lang-bar { height: 30px; }
  .lang-bar-inner { padding: 0 22px; }
  .site-header { top: 30px; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 122px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--line-grey);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .main-nav.is-open { max-height: 400px; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 22px 20px;
  }
  .main-nav li { border-bottom: 1px solid var(--line-grey); }
  .main-nav li:last-child { border-bottom: none; }
  .nav-link { display: block; padding: 14px 2px; }

  .cards-grid { grid-template-columns: 1fr; }
  .vcrm-pillars { grid-template-columns: 1fr; }
  .hero { padding-top: 190px; }
}
