:root {
  --ink: #302a2d;
  --ink-soft: #5e5357;
  --gold: #b69a33;
  --gold-light: #dbc96f;
  --taupe: #a29287;
  --taupe-soft: #f1e7dc;
  --blue: #176b9a;
  --blue-dark: #0d4568;
  --sky: #e4f4fb;
  --paper: #f7f8f8;
  --white: #ffffff;
  --border: #dce3e6;
  --shadow: 0 18px 50px rgba(20, 48, 63, 0.12);
  --radius: 20px;
  --max: 1180px;
  --section-space: clamp(2.75rem, 5vw, 4.25rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 999;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--blue-dark);
}
.skip-link:focus { top: 1rem; }

.topbar {
  padding: .45rem 1rem;
  color: var(--white);
  background: var(--blue-dark);
  font-size: .88rem;
}
.topbar-inner, .header-inner, .section-inner, .footer-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}
.topbar-inner { display: flex; justify-content: flex-end; gap: 1.25rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(48, 42, 45, .09);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 184px; height: 62px; object-fit: contain; object-position: left center; }
.header-approval { flex: 0 0 auto; color: var(--blue-dark); font-size: .78rem; font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.nav-list { display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.nav-list a { display: block; padding: .7rem .78rem; border-radius: 999px; font-size: .94rem; font-weight: 700; }
.nav-list a:hover, .nav-list a:focus-visible, .nav-list a[aria-current="page"] { color: var(--blue-dark); background: var(--sky); }
.nav-list .nav-cta { margin-left: .4rem; color: var(--white); background: var(--blue); }
.nav-list .nav-cta:hover, .nav-list .nav-cta:focus-visible { color: var(--white); background: var(--blue-dark); }

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: end start;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-dark);
}
.hero video, .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 36, 55, .88) 0%, rgba(7, 36, 55, .56) 48%, rgba(7, 36, 55, .12) 80%), linear-gradient(0deg, rgba(8, 25, 35, .48), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 7rem 0 5.5rem;
}
.eyebrow { margin: 0 0 .8rem; color: var(--gold-light); font-size: .82rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.hero h1, .page-hero h1 { max-width: 790px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.035em; }
.hero-lead { max-width: 650px; margin: 1.35rem 0 0; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .72rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.button-gold { color: var(--ink); background: var(--gold-light); }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }
.button-outline:hover { background: rgba(255,255,255,.17); }

.section { padding: var(--section-space) 0; }
.section-soft { background: var(--paper); }
.section-taupe { background: var(--taupe-soft); }
.section-sky { background: linear-gradient(135deg, var(--sky), #f7fcff); }
.section-dark { color: var(--white); background: var(--blue-dark); }
.section-heading { max-width: 760px; margin-bottom: 2.4rem; }
.section-heading h1, .section-heading h2, .split-copy h2 { margin: 0 0 1rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.025em; }
.section-heading p, .split-copy > p { margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.section-dark .section-heading p, .section-dark .split-copy > p { color: #d8e6ed; }
.kicker { display: block; margin-bottom: .55rem; color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.section-dark .kicker { color: var(--gold-light); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
.split-copy p { margin: 0 0 1rem; }
.home-intro-layout { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr); align-items: start; gap: clamp(2rem, 5vw, 4rem); }
.home-intro-layout .intro-media { min-height: 0; aspect-ratio: 4 / 3; }
.home-intro-layout .intro-media img { min-height: 0; }
.home-intro-copy h2 { margin-bottom: 1.2rem; }
.home-intro-text { column-count: 2; column-gap: 2rem; }
.home-intro-text p { break-inside: avoid; margin: 0 0 .9rem; color: var(--ink-soft); font-size: 1rem; }
.logo-panel { min-height: 390px; display: grid; place-items: center; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--border); border-radius: 34px; background: var(--white); box-shadow: var(--shadow); }
.logo-panel img { width: min(100%, 580px); }
.intro-media { min-height: 390px; margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 34px; background: var(--white); box-shadow: var(--shadow); }
.intro-media img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; object-position: 53% center; }

.feature-grid, .course-grid, .team-grid { display: grid; gap: 1.15rem; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.course-grid { grid-template-columns: repeat(3, 1fr); }
.course-grid-two { grid-template-columns: repeat(2, 1fr); }
.course-grid-open { grid-template-columns: 2fr 1fr; align-items: stretch; }
.course-grid-open .course-card h3 { margin-top: 0; }
.team-grid { grid-template-columns: repeat(2, 1fr); }
.feature-card, .course-card, .team-card, .contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 34px rgba(20, 48, 63, .07);
}
.feature-card, .course-card, .team-card, .contact-card { padding: 1.55rem; }
.feature-number { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--white); background: var(--blue); font-weight: 900; }
.feature-card h3, .course-card h3, .team-card h3 { margin: 1rem 0 .45rem; font-size: 1.18rem; line-height: 1.25; }
.feature-card p, .course-card p, .team-card p { margin: 0; color: var(--ink-soft); }
.team-card-pending h3 { margin-top: 0; }
.team-copy-placeholder { min-height: 4.5rem; }
.course-card { position: relative; overflow: hidden; }
.course-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--gold); }
.course-meta { display: inline-block; color: var(--blue-dark); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.text-link { display: inline-flex; margin-top: 1.2rem; color: var(--blue-dark); font-weight: 850; }
.text-link::after { content: "→"; margin-left: .4rem; }

.place-band { position: relative; overflow: hidden; }
.place-band::before { content: ""; position: absolute; width: 440px; height: 440px; right: -180px; top: -190px; border: 86px solid rgba(182, 154, 51, .12); border-radius: 50%; }
.place-band .split { position: relative; }
.territory-media { aspect-ratio: 16 / 10; min-height: 0; margin: 0; overflow: hidden; border-radius: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, .24); }
.territory-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.territory-stack { display: grid; gap: 1.2rem; }
.place-facts { display: grid; gap: .9rem; margin-top: 1.5rem; }
.place-fact { padding: 1.1rem 1.2rem; border-left: 4px solid var(--gold); background: rgba(255,255,255,.09); }
.place-fact strong { display: block; margin-bottom: .15rem; color: var(--gold-light); }
.section-taupe .place-fact { background: rgba(255,255,255,.58); }
.section-taupe .place-fact strong { color: var(--blue-dark); }

.cta-band { padding: 2.6rem; border-radius: 28px; color: var(--white); background: linear-gradient(135deg, var(--blue), var(--blue-dark)); box-shadow: var(--shadow); }
.cta-band h2 { margin: 0 0 .7rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { max-width: 720px; margin: 0; color: #e3f1f7; }

.page-hero { padding: var(--section-space) 0; color: var(--ink); background: var(--taupe-soft); }
.page-hero h1 { font-size: clamp(2.7rem, 5vw, 4.5rem); }
.page-hero p { max-width: 720px; margin: 1.2rem 0 0; font-size: 1.15rem; color: var(--ink-soft); }
.page-hero .page-hero-detail { margin-top: .9rem; font-size: 1rem; }
.page-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 330px); align-items: center; gap: clamp(2rem, 7vw, 6.5rem); }
.page-hero-logo { width: min(100%, 320px); aspect-ratio: 1; justify-self: end; overflow: hidden; border-radius: 50%; box-shadow: 0 18px 42px rgba(33, 39, 38, .2); }
.page-hero-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo { width: min(100%, 330px); aspect-ratio: 4 / 5; margin: 0; justify-self: end; overflow: hidden; border-radius: 28px; box-shadow: 0 18px 42px rgba(33, 39, 38, .2); }
.page-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.breadcrumb { margin-bottom: 1rem; color: var(--blue-dark); font-size: .88rem; font-weight: 800; }

.course-intro { max-width: 900px; margin-bottom: 3rem; font-size: 1.12rem; }
.course-group + .course-group { margin-top: 4rem; }
.course-group h2 { margin: 0 0 1.2rem; font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; }
.notice { margin-top: 2rem; padding: 1.1rem 1.2rem; border-radius: 14px; color: var(--blue-dark); background: var(--sky); }

.timeline { display: grid; gap: 1rem; }
.timeline-item { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; }
.timeline-marker { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--white); background: var(--gold); font-weight: 900; }
.timeline-item h3 { margin: .1rem 0 .25rem; }
.timeline-item p { margin: 0; color: var(--ink-soft); }


.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.contact-card h2 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li + li { margin-top: .8rem; }
.contact-list strong { display: block; color: var(--blue-dark); }
.map-link { margin-top: 1.2rem; }

.site-footer { padding: 3.6rem 0 1.5rem; color: #dbe7ed; background: #082f47; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .45fr); gap: 2.4rem; align-items: center; }
.footer-logos { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.footer-brand { width: 190px; height: 78px; padding: .45rem; border-radius: 10px; background: var(--white); object-fit: contain; }
.footer-logos a { display: grid; place-items: center; min-width: 78px; height: 78px; padding: .45rem .7rem; border-radius: 10px; background: var(--white); }
.authority-logo { width: auto; height: auto; object-fit: contain; }
.authority-logo-easa { max-width: 138px; max-height: 50px; }
.site-footer h3 { margin: 0 0 .8rem; color: var(--white); font-size: 1rem; }
.site-footer p { margin: .75rem 0 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: .4rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; }

@media (max-width: 900px) {
  .topbar { display: block; padding: .35rem .6rem; }
  .topbar-inner { justify-content: center; flex-wrap: wrap; gap: .2rem 1rem; font-size: .76rem; }
  .header-inner { min-height: 0; padding-block: .65rem .7rem; flex-wrap: wrap; gap: .45rem; }
  .brand { width: 100%; justify-content: center; }
  .brand img { width: 150px; height: 52px; }
  .header-approval { width: 100%; text-align: center; }
  .site-nav { width: 100%; }
  .nav-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: .2rem; }
  .nav-list a { padding: .58rem .28rem; font-size: .82rem; text-align: center; }
  .nav-list .nav-cta { margin-left: 0; }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .home-intro-layout { grid-template-columns: 1fr; }
  .home-intro-layout .intro-media { min-height: 260px; aspect-ratio: 16 / 7; }
  .feature-grid, .course-grid { grid-template-columns: 1fr 1fr; }
  .course-grid-open { grid-template-columns: 2fr 1fr; }
  .page-hero-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .nav-list { grid-template-columns: repeat(3, 1fr); }
  .nav-list a { font-size: .84rem; }
  .hero { min-height: 68vh; }
  .hero-content { padding-bottom: 3.5rem; }
  .hero h1 { font-size: clamp(2.6rem, 14vw, 4rem); }
  .button-row .button { width: 100%; }
  .feature-grid, .course-grid, .team-grid, .footer-grid { grid-template-columns: 1fr; }
  .home-intro-text { column-count: 1; }
  .page-hero-layout { grid-template-columns: 1fr; }
  .page-hero-logo { width: min(62vw, 220px); justify-self: start; }
  .page-hero-photo { width: min(100%, 360px); justify-self: start; }
  .logo-panel { min-height: 280px; padding: 1.4rem; }
  .intro-media, .intro-media img { min-height: 280px; }
  .territory-media, .territory-media img { min-height: 0; }
  .cta-band { padding: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
