:root {
  --wine: var(--fw-primary, #741532);
  --wine-dark: #3f0718;
  --gold: var(--fw-secondary, #c6a15b);
  --gold-soft: #efe3c6;
  --charcoal: var(--fw-accent, #17151b);
  --muted: #6e6872;
  --line: #eadfd8;
  --ivory: #fffaf2;
  --soft: #f8f2ea;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(42, 16, 25, 0.13);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.narrow { max-width: 840px; }
.skip-link, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link:focus { width: auto; height: auto; clip: auto; z-index: 20; padding: 10px 14px; background: var(--wine); color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { display: block; max-height: 72px; max-width: 250px; object-fit: contain; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--wine), var(--wine-dark));
  box-shadow: 0 12px 26px rgba(116, 21, 50, 0.24);
  font-family: "Playfair Display", serif;
  font-size: 30px;
}
.brand strong, .brand small { display: block; }
.brand strong { color: #000000; font-size: 24px; font-weight: 800; line-height: 1.08; }
.brand small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.primary-nav { display: flex; align-items: center; gap: 20px; color: #222222; font-size: 15px; font-weight: 600; }
.primary-nav a { padding: 8px 0; }
.primary-nav a.active { color: var(--wine); }

.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.nav-cta:hover, .btn:hover { transform: translateY(-1px); }
.nav-cta, .btn-primary { color: var(--white); background: var(--wine); box-shadow: 0 14px 30px rgba(116, 21, 50, 0.24); }
.btn-secondary { color: var(--wine); border-color: rgba(116, 21, 50, 0.22); background: var(--white); }
.btn-ghost { color: var(--wine); border-color: var(--gold); background: var(--ivory); }
.btn-light { color: var(--wine); background: var(--white); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--charcoal); }

.hero { overflow: hidden; padding: 88px 0 66px; }
.hero-home {
  background:
    radial-gradient(circle at 88% 16%, rgba(198, 161, 91, 0.28), transparent 28%),
    linear-gradient(135deg, #fffaf2 0%, #ffffff 48%, #f7efe6 100%);
}
.hero-home:not(.landing-hero) {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(38px, 5vh, 56px) 0 clamp(42px, 5vh, 60px);
}
.hero-home:not(.landing-hero) .container { width: min(100% - 28px, 1380px); }
.hero-grid, .split, .two-column, .form-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
  align-items: center;
}
.hero-home:not(.landing-hero) .hero-grid {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 2.18fr);
  gap: clamp(22px, 2.4vw, 34px);
  align-items: start;
}
.hero-copy h1, .page-hero h1, .section-heading h2, .split h2, .final-cta h2, .course-panel h2, .map-placeholder h2 {
  margin: 0;
  color: var(--charcoal);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.05;
}
.hero-copy h1 { max-width: 760px; font-size: clamp(42px, 5.8vw, 70px); }
.hero-home:not(.landing-hero) .hero-copy h1 {
  max-width: 700px;
  color: var(--gold);
  font-size: clamp(48px, 4.2vw, 58px);
  line-height: 1.02;
}
.hero-text, .page-hero p, .split p, .form-intro p, .map-placeholder p { color: var(--muted); font-size: 18px; }
.hero-home:not(.landing-hero) .hero-text { max-width: 560px; color: #4e4850; font-size: 17px; line-height: 1.6; }
.eyebrow { margin: 0 0 14px; color: var(--wine); font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(116, 21, 50, 0.12);
  border-radius: 999px;
  color: #2f2930;
  background: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 900;
}
.hero-badges span::before { content: "\2713"; color: var(--wine); font-size: 12px; line-height: 1; }
.hero-home:not(.landing-hero) .hero-media-zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 22vw, 340px);
  gap: clamp(18px, 1.8vw, 24px);
  min-width: 0;
  height: clamp(430px, 34vw, 510px);
  align-items: stretch;
}
.hero-visual {
  padding: 14px;
  border: 1px solid rgba(116, 21, 50, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}
.hero-home:not(.landing-hero) .hero-visual {
  min-width: 0;
  width: 100%;
  aspect-ratio: auto;
  height: 100%;
  max-height: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  align-self: stretch;
  display: grid;
  place-items: stretch;
}
.hero-visual img { width: 100%; border-radius: 6px; }
.hero-home:not(.landing-hero) .hero-slide {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  margin: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 238, 0.96));
  opacity: 1;
}
.hero-home:not(.landing-hero) .hero-visual img { width: 100%; height: 100%; min-height: 0; max-height: none; object-fit: cover; object-position: center; border-radius: 0; }
.hero-home:not(.landing-hero) .hero-visual.is-rotating .hero-slide { opacity: 0; animation-duration: 18s; animation-iteration-count: infinite; animation-timing-function: linear; }
.hero-home:not(.landing-hero) .hero-visual-count-3.is-rotating .hero-slide-1 { animation-name: heroVisualFadeThreeOne; opacity: 1; }
.hero-home:not(.landing-hero) .hero-visual-count-3.is-rotating .hero-slide-2 { animation-name: heroVisualFadeThreeTwo; }
.hero-home:not(.landing-hero) .hero-visual-count-3.is-rotating .hero-slide-3 { animation-name: heroVisualFadeThreeThree; }
.hero-home:not(.landing-hero) .hero-visual-count-2.is-rotating .hero-slide { animation-duration: 14s; }
.hero-home:not(.landing-hero) .hero-visual-count-2.is-rotating .hero-slide-1 { animation-name: heroVisualFadeTwoOne; opacity: 1; }
.hero-home:not(.landing-hero) .hero-visual-count-2.is-rotating .hero-slide-2 { animation-name: heroVisualFadeTwoTwo; }
.hero-conversion-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(22px, 3vw, 36px);
  align-items: stretch;
  margin-top: clamp(24px, 3vw, 34px);
}
.hero-conversion-band-careers { grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.25fr); max-width: 1180px; margin-left: auto; margin-right: auto; }
.career-opportunities-panel {
  position: relative;
  min-height: 250px;
  padding: 30px 26px 26px;
  border: 1px solid rgba(128, 0, 32, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 48px rgba(42, 16, 25, 0.1);
}
.industry-partners-panel {
  overflow: hidden;
  border: 1px solid rgba(176, 0, 60, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 48px rgba(42, 16, 25, 0.1);
}
.industry-partners-title {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  color: #fff;
  background: linear-gradient(135deg, #b0003c, var(--wine));
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}
.industry-partners-title span {
  width: 22px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 999px;
  transform: rotate(-18deg);
}
.industry-partners-title em { font-size: 14px; font-style: normal; text-transform: none; }
.industry-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 12px 18px 4px;
}
.industry-partners-grid article {
  min-height: 86px;
  padding: 12px 14px;
  border-right: 1px dashed rgba(176, 0, 60, 0.32);
  border-bottom: 1px dashed rgba(176, 0, 60, 0.32);
  text-align: center;
}
.industry-partners-grid article:nth-child(3n) { border-right: 0; }
.industry-partners-grid article:nth-last-child(-n + 3) { border-bottom: 0; }
.industry-partners-grid h3 {
  margin: 0 0 8px;
  color: #1f1a1f;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.industry-partners-grid div { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.industry-partners-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--wine);
  background: #fff2f6;
  font-size: 14px;
  font-weight: 900;
}
.industry-partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(176, 0, 60, 0.1);
  border-radius: 6px;
  background: #fff;
  color: var(--wine);
  box-shadow: 0 8px 18px rgba(28, 18, 24, 0.06);
}
.industry-partner-logo img {
  width: auto;
  max-width: 92px;
  height: 28px;
  object-fit: contain;
}
.industry-partner-logo strong {
  color: var(--wine);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}
.industry-partners-panel p {
  margin: 0;
  padding: 8px 18px 16px;
  color: #3f3940;
  font-size: 13px;
  font-weight: 700;
}
.career-panel-title {
  position: absolute;
  left: 18px;
  top: -18px;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 13px 13px 4px 4px;
  color: #fff;
  background: linear-gradient(135deg, #b0003c, var(--wine));
  box-shadow: 0 12px 24px rgba(128, 0, 32, 0.22);
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
}
.career-panel-title::before {
  content: "";
  width: 20px;
  height: 16px;
  margin-right: 10px;
  border: 2px solid currentColor;
  border-radius: 4px;
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.24);
}
.career-opportunity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 100%;
  border: 1px solid rgba(176, 0, 60, 0.22);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 251, 248, 0.8);
}
.career-opportunity-item {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 96px;
  padding: 18px 12px;
  border-right: 1px dashed rgba(176, 0, 60, 0.34);
  border-bottom: 1px dashed rgba(176, 0, 60, 0.34);
  text-align: center;
}
.career-opportunity-item:nth-child(3n) { border-right: 0; }
.career-opportunity-item:nth-last-child(-n + 3) { border-bottom: 0; }
.career-opportunity-item span {
  width: 34px;
  height: 34px;
  border: 2px solid var(--wine);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(128, 0, 32, 0.08), rgba(212, 175, 55, 0.1));
}
.career-opportunity-item strong {
  color: #151216;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.18;
  text-transform: uppercase;
}
.hero-home:not(.landing-hero) .homepage-lead-form { min-width: 0; width: 100%; max-width: none; justify-self: stretch; align-self: stretch; }
.hero-home:not(.landing-hero) .hero-lead-form { align-content: center; padding: 24px; }

@keyframes heroVisualFadeThreeOne {
  0%, 28% { opacity: 1; }
  34%, 94% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes heroVisualFadeThreeTwo {
  0%, 27% { opacity: 0; }
  33%, 61% { opacity: 1; }
  67%, 100% { opacity: 0; }
}

@keyframes heroVisualFadeThreeThree {
  0%, 60% { opacity: 0; }
  66%, 96% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes heroVisualFadeTwoOne {
  0%, 44% { opacity: 1; }
  54%, 90% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes heroVisualFadeTwoTwo {
  0%, 39% { opacity: 0; }
  49%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-home:not(.landing-hero) .hero-visual.is-rotating .hero-slide { animation: none; opacity: 0; }
  .hero-home:not(.landing-hero) .hero-visual.is-rotating .hero-slide-1 { opacity: 1; }
}

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 18px 0; }
.trust-items span, .outcome-grid span, .course-facts span {
  border: 1px solid rgba(116, 21, 50, 0.12);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--wine);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2, .split h2, .final-cta h2, .map-placeholder h2 { font-size: clamp(32px, 4vw, 52px); }
.feature-list { display: grid; gap: 14px; }
.feature-list article, .course-card, .course-panel, blockquote, details, figure, .map-placeholder {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(42, 16, 25, 0.06);
}
.feature-list article { padding: 20px; }
.feature-list em {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: var(--wine);
  background: var(--ivory);
  font-style: normal;
  font-weight: 900;
}
.feature-list strong, .feature-list span { display: block; }
.feature-list span, .course-card p, .course-panel li, .course-panel p, .map-placeholder p { color: var(--muted); }
.flywide-benefits-section {
  background: #fff;
  padding: 74px 0;
}
.benefits-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.benefits-heading h2 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.benefits-heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--wine), rgba(128, 0, 32, 0.08));
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-radius: 10px;
  overflow: hidden;
}
.benefit-item {
  display: grid;
  grid-template-rows: minmax(215px, auto) 150px;
  min-width: 0;
}
.benefit-copy {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  min-height: 215px;
  padding: 0 16px 20px;
  border-right: 1px dashed rgba(176, 0, 60, 0.32);
  text-align: center;
}
.benefit-item:last-child .benefit-copy { border-right: 0; }
.benefit-copy em {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 4px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #c20046, var(--wine));
  box-shadow: 0 12px 28px rgba(128, 0, 32, 0.16);
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}
.benefit-copy strong {
  color: var(--wine);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.14;
  text-transform: uppercase;
}
.benefit-copy span {
  color: #2e2830;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.benefit-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--ivory);
}
.eligibility-section { padding: 36px 0 78px; background: #fff; }
.eligibility-layout { display: flex; justify-content: center; }
.eligibility-card {
  width: min(100%, 420px);
  padding: 22px 28px 26px;
  border: 1px solid rgba(176, 0, 60, 0.2);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fff6f9);
  box-shadow: 0 20px 48px rgba(42, 16, 25, 0.08);
}
.eligibility-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eligibility-title span,
.eligibility-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c20046, var(--wine));
  box-shadow: 0 14px 26px rgba(128, 0, 32, 0.16);
}
.eligibility-title span::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 50%;
}
.eligibility-title h2 {
  margin: 0;
  color: var(--wine);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.eligibility-group {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px dashed rgba(176, 0, 60, 0.28);
}
.eligibility-icon { background: #ffe0eb; box-shadow: none; }
.eligibility-icon img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.eligibility-group h3 {
  margin: 0 0 8px;
  color: #c20046;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}
.eligibility-group ul {
  margin: 0;
  padding-left: 18px;
  color: #2d252d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}
.eligibility-group p { margin: 0; color: #2d252d; font-size: 14px; font-weight: 800; }
.eligibility-note {
  margin: 8px 0 0 72px;
  color: #d21f62;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.1;
}

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pathway-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.training-grid, .trust-builder-grid, .landing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature-list-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 22px; box-shadow: 0 14px 34px rgba(42, 16, 25, 0.06); }
.feature-list-card strong, .feature-list-card span { display: block; }
.feature-list-card span { color: var(--muted); margin-top: 6px; }
.centered-actions { justify-content: center; }
.course-card { min-height: 260px; padding: 26px; }
.pathway-card { min-height: 360px; }
.course-card span { color: var(--gold); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.course-card h2, .course-card h3, .course-panel h2, .course-panel h3 { margin: 14px 0 10px; line-height: 1.2; }
.course-card a { display: inline-block; margin-top: 14px; color: var(--wine); font-weight: 900; }
.course-card-button {
  padding: 10px 16px;
  border: 1px solid rgba(139, 12, 55, 0.16);
  border-radius: 5px;
  background: rgba(139, 12, 55, 0.06);
  text-decoration: none;
}
.course-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; margin-bottom: 14px; background: var(--ivory); }
.course-opportunities { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.section-action { margin-top: 28px; }
.page-hero-courses {
  padding: 72px 0 64px;
}
.page-hero-courses h1 {
  max-width: 760px;
  color: #171015;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.05;
}
.page-hero-courses .long-content-text {
  max-width: 760px;
  color: #403842;
  font-size: 18px;
}
.course-listing-section {
  padding-top: 84px;
}
.course-listing-section .section-heading h2 {
  color: #171015;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
}
.course-listing-section .card-grid {
  grid-template-columns: repeat(2, minmax(300px, 420px));
  justify-content: center;
  align-items: stretch;
}
.course-listing-section .course-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.course-listing-section .course-card .course-card-button {
  margin-top: auto;
  align-self: flex-start;
}
.testimonial-section {
  background: #fff;
}
.testimonial-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
}
.testimonial-card img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card p {
  margin: 0;
  color: #403842;
  line-height: 1.65;
}
.testimonial-card footer {
  margin-top: auto;
}
.testimonial-card footer strong,
.testimonial-card footer span {
  display: block;
}
.testimonial-card footer span {
  color: var(--muted);
  font-size: 13px;
}

.course-detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.course-detail-grid.lower { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
.course-panel { padding: 26px; }
.course-panel ul { margin: 12px 0 0; padding-left: 20px; }
.course-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.course-facts strong { display: block; color: var(--charcoal); font-size: 11px; text-transform: uppercase; }

.journey { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.journey span {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 106px;
  padding: 14px 10px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--wine), var(--wine-dark));
  font-weight: 900;
  text-align: center;
}
.journey small { color: var(--gold-soft); font-size: 11px; letter-spacing: 0.08em; }
.transformation-journey {
  position: relative;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 32px 26px 24px;
  border: 1px solid rgba(176, 0, 60, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff8fb, #fff);
  overflow: hidden;
}
.transformation-journey::before {
  content: "Student Transformation Journey";
  position: absolute;
  inset: 0 0 auto;
  height: 44px;
  display: flex;
  align-items: center;
  padding-left: 28px;
  color: #fff;
  background: linear-gradient(135deg, #c20046, var(--wine));
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}
.transformation-journey span {
  position: relative;
  min-height: 210px;
  padding: 52px 16px 10px;
  border: 0;
  border-radius: 0;
  color: #2b242b;
  background: transparent;
  box-shadow: none;
}
.transformation-journey span + span::before {
  content: "\2192";
  position: absolute;
  left: -11px;
  top: 85px;
  color: #c20046;
  font-size: 26px;
  font-weight: 900;
}
.transformation-journey small { display: none; }
.transformation-journey img {
  width: 78px;
  height: 78px;
  margin: 0 auto 12px;
  border: 2px solid #e64078;
  border-radius: 50%;
  object-fit: cover;
  background: #ffe5ee;
}
.transformation-journey strong {
  display: block;
  color: #c20046;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}
.transformation-journey em {
  display: block;
  max-width: 160px;
  margin: 8px auto 0;
  color: #2d252d;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}
.placement-band, .cta-strip {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(198, 161, 91, 0.28), transparent 30%),
    linear-gradient(135deg, var(--wine-dark), var(--wine));
}
.placement-band h2, .placement-band p, .placement-band .eyebrow, .cta-strip h2, .cta-strip p { color: var(--white); }
.placement-band .btn-primary, .cta-strip .btn-primary { background: var(--gold); color: var(--wine-dark); box-shadow: none; }
.outcome-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.testimonial-list, .faq-list { display: grid; gap: 14px; }
blockquote, details { margin: 0; padding: 22px; }
blockquote p { margin-top: 0; font-size: 18px; }
cite { color: var(--muted); font-style: normal; font-weight: 800; }
summary { cursor: pointer; color: var(--wine); font-weight: 900; }

.final-cta {
  padding: 82px 0;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(63, 7, 24, 0.86), rgba(63, 7, 24, 0.92)),
    url("../images/cta-aviation-placeholder.svg") center/cover;
}
.final-cta h2, .final-cta .eyebrow, .final-cta p { color: var(--white); }
.final-cta p { max-width: 680px; margin: 16px auto 0; color: rgba(255, 255, 255, 0.82); }
.page-hero {
  padding: 88px 0;
  background:
    radial-gradient(circle at top right, rgba(198, 161, 91, 0.2), transparent 34%),
    var(--ivory);
}
.page-hero-layout {
  display: grid;
  gap: 32px;
  align-items: center;
}
.page-hero-layout.has-image {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  max-width: var(--max);
}
.page-hero-image {
  border: 1px solid rgba(116, 21, 50, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(42, 16, 25, 0.08);
  overflow: hidden;
}
.page-hero-image img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  width: 100%;
}
.long-content-section h2,
.page-hero h1 {
  text-align: left;
}
.long-content-block,
.long-content-text {
  max-width: 840px;
}
.long-content-text {
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
}
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
figure { overflow: hidden; }
figure img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
figcaption { padding: 14px 16px; font-weight: 900; }
.contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: start;
}
.contact-form-panel,
.contact-info-panel {
  min-width: 0;
}
.contact-form-panel .form-intro {
  margin-bottom: 18px;
}
.contact-form-panel .form-intro h2 {
  margin: 0;
  color: var(--charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
}
.contact-lead-form {
  box-shadow: 0 18px 44px rgba(42, 16, 25, 0.09);
}
.contact-info-panel {
  display: grid;
  gap: 16px;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.contact-info-card {
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.05);
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  color: #111111;
}
.contact-info-card span {
  display: block;
  color: #111111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.contact-info-card h2,
.contact-info-card h3 {
  overflow-wrap: anywhere;
  margin: 10px 0 6px;
  color: #111111;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.18;
}
.contact-info-card h2 { font-size: clamp(22px, 2vw, 28px); }
.contact-info-card h3 { font-size: clamp(18px, 1.6vw, 23px); }
.contact-info-card p {
  margin: 8px 0 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.5;
}
.contact-info-card a:not(.btn) {
  display: inline-block;
  margin-top: 14px;
  color: var(--wine);
  font-weight: 700;
}
.contact-info-card .btn {
  width: 100%;
  margin-top: 18px;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
}
.map-placeholder { min-height: 280px; display: grid; place-items: center; text-align: center; padding: 42px; background: linear-gradient(135deg, #fff, var(--ivory)); }

.lead-form { display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.hero-lead-form {
  align-self: start;
  gap: 11px;
  padding: 22px 24px 24px;
  border-color: rgba(120, 70, 40, 0.12);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(42, 16, 25, 0.16);
}
.hero-lead-form h2 {
  margin: 0;
  color: var(--wine);
  font-size: 20px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.18;
}
.hero-lead-form p {
  margin: 6px 0 0;
  color: #3c363d;
  font-size: 13px;
  line-height: 1.4;
}
.hero-lead-form .btn {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  border-radius: 5px;
  font-size: 13px;
}
.homepage-lead-form {
  box-shadow: 0 24px 60px rgba(42, 16, 25, 0.18);
}
label { display: grid; gap: 8px; color: var(--charcoal); font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid #d9d0c8; border-radius: var(--radius); padding: 13px 14px; color: var(--charcoal); font: inherit; }
.hero-lead-form .hero-form-field {
  position: relative;
  display: block;
  margin: 0;
  color: var(--charcoal);
  font-weight: 600;
}
.hero-form-field .field-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  z-index: 1;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  color: #7a7378;
  pointer-events: none;
}
.hero-form-field .field-icon::before,
.hero-form-field .field-icon::after {
  content: "";
  position: absolute;
  border-color: currentColor;
  box-sizing: border-box;
}
.hero-form-field .icon-user::before {
  left: 4px;
  top: 1px;
  width: 7px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.hero-form-field .icon-user::after {
  left: 2px;
  bottom: 1px;
  width: 11px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 8px 8px 2px 2px;
  border-bottom: 0;
}
.hero-form-field .icon-phone::before {
  left: 4px;
  top: 1px;
  width: 7px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  transform: rotate(-18deg);
}
.hero-form-field .icon-course::before {
  left: 2px;
  top: 3px;
  width: 11px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}
.hero-form-field .icon-course::after {
  left: 5px;
  top: 0;
  width: 5px;
  height: 4px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}
.hero-form-field .icon-location::before {
  left: 3px;
  top: 0;
  width: 9px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 9px 9px 9px 2px;
  transform: rotate(-45deg);
}
.hero-form-field .icon-location::after {
  left: 6px;
  top: 4px;
  width: 3px;
  height: 3px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.hero-form-field .icon-time::before {
  inset: 1px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.hero-form-field .icon-time::after {
  left: 7px;
  top: 4px;
  width: 4px;
  height: 5px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}
.hero-lead-form input,
.hero-lead-form select {
  min-height: 43px;
  padding: 9px 12px 9px 40px;
  border-color: #d9d3ce;
  border-radius: 5px;
  background-color: #fff;
  color: #332d35;
  font-size: 13px;
  font-weight: 500;
}
.hero-lead-form input::placeholder { color: #7a7378; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(198, 161, 91, 0.24); border-color: var(--gold); }
.alert { border-radius: var(--radius); padding: 14px; font-weight: 800; }
.alert p { margin: 0; }
.alert p + p { margin-top: 6px; }
.alert-success { color: #14552d; background: #e8f6ec; }
.alert-error { color: #7a1020; background: #fff0f2; }

.site-footer { padding: 56px 0 26px; color: rgba(255, 255, 255, 0.76); background: #171015; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand { color: var(--white); }
.site-footer h2 { margin: 0 0 14px; color: var(--white); font-size: 15px; }
.site-footer a, .site-footer span { display: block; margin: 8px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; }

.reveal { transform: translateY(12px); opacity: 0; transition: transform 600ms ease, opacity 600ms ease; }
.reveal.visible { transform: translateY(0); opacity: 1; }

@media (max-width: 1023px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 10px; }
  .hero { padding: 56px 0; }
  .hero-grid, .split, .two-column, .form-layout, .contact-layout, .footer-grid, .course-detail-grid { grid-template-columns: 1fr; }
  .hero-home:not(.landing-hero) .hero-grid { grid-template-columns: 1fr; }
  .hero-home:not(.landing-hero) { min-height: auto; }
  .hero-home:not(.landing-hero) .hero-copy h1 { font-size: clamp(40px, 5vw, 46px); }
  .hero-home:not(.landing-hero) .hero-media-zone { grid-template-columns: 1fr; height: auto; }
  .hero-home:not(.landing-hero) .hero-visual { width: 100%; height: auto; min-height: auto; aspect-ratio: 4 / 3; }
  .hero-conversion-band { grid-template-columns: 1fr; }
  .hero-conversion-band-careers { grid-template-columns: 1fr; max-width: 760px; }
  .industry-partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-partners-grid article:nth-child(3n) { border-right: 1px dashed rgba(176, 0, 60, 0.32); }
  .industry-partners-grid article:nth-child(2n) { border-right: 0; }
  .industry-partners-grid article:nth-last-child(-n + 3) { border-bottom: 1px dashed rgba(176, 0, 60, 0.32); }
  .industry-partners-grid article:nth-last-child(-n + 2) { border-bottom: 0; }
  .career-opportunity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .career-opportunity-item:nth-child(3n) { border-right: 1px dashed rgba(176, 0, 60, 0.34); }
  .career-opportunity-item:nth-child(2n) { border-right: 0; }
  .career-opportunity-item:nth-last-child(-n + 3) { border-bottom: 1px dashed rgba(176, 0, 60, 0.34); }
  .career-opportunity-item:nth-last-child(-n + 2) { border-bottom: 0; }
  .hero-home:not(.landing-hero) .homepage-lead-form { width: 100%; max-width: none; justify-self: stretch; }
  .page-hero-layout.has-image { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; overflow: visible; }
  .benefit-copy { border: 0; }
  .transformation-journey { grid-template-columns: 1fr; gap: 8px; }
  .transformation-journey span { min-height: auto; }
  .transformation-journey span + span::before { display: none; }
  .card-grid, .gallery-grid, .contact-grid, .contact-info-grid, .course-detail-grid.lower, .pathway-grid, .training-grid, .trust-builder-grid, .landing-grid, .testimonial-card-grid, .course-listing-section .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, var(--max)); }
  .hero, .section, .page-hero { padding: 56px 0; }
  .hero-copy h1 { font-size: 42px; }
  .hero-home:not(.landing-hero) .hero-copy h1 { font-size: 36px; }
  .hero-text { font-size: 16px; }
  .hero-badges { gap: 8px; }
  .hero-badges span { padding: 8px 10px; font-size: 12px; }
  .hero-home:not(.landing-hero) .hero-copy { order: 1; }
  .hero-home:not(.landing-hero) .hero-media-zone { order: 2; }
  .hero-home:not(.landing-hero) .homepage-lead-form { order: 1; }
  .hero-home:not(.landing-hero) .hero-visual { order: 2; }
  .hero-conversion-band { margin-top: 28px; }
  .industry-partners-grid { grid-template-columns: 1fr; }
  .industry-partners-grid article,
  .industry-partners-grid article:nth-child(2n),
  .industry-partners-grid article:nth-child(3n) { border-right: 0; }
  .industry-partners-grid article:nth-last-child(-n + 2) { border-bottom: 1px dashed rgba(176, 0, 60, 0.32); }
  .industry-partners-grid article:last-child { border-bottom: 0; }
  .career-opportunity-grid { grid-template-columns: 1fr; }
  .career-opportunity-item,
  .career-opportunity-item:nth-child(2n),
  .career-opportunity-item:nth-child(3n),
  .career-opportunity-item:nth-last-child(-n + 2),
  .career-opportunity-item:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px dashed rgba(176, 0, 60, 0.34);
  }
  .career-opportunity-item:last-child { border-bottom: 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-item { grid-template-rows: auto 180px; }
  .eligibility-card { padding: 20px; }
  .eligibility-note { margin-left: 0; }
  .card-grid, .gallery-grid, .outcome-grid, .contact-grid, .contact-info-grid, .course-detail-grid.lower, .journey, .pathway-grid, .training-grid, .trust-builder-grid, .landing-grid, .testimonial-card-grid, .course-listing-section .card-grid { grid-template-columns: 1fr; }
  .hero-actions, .footer-bottom { flex-direction: column; align-items: stretch; }
  .btn, .nav-cta { width: 100%; }
}

/* Controlled rich text rendered from Website Studio. */
.rich-content {
  color: inherit;
  line-height: 1.7;
}

.rich-content > :first-child {
  margin-top: 0;
}

.rich-content > :last-child {
  margin-bottom: 0;
}

.rich-content p,
.rich-content ul,
.rich-content ol,
.rich-content table,
.rich-content .rich-callout {
  margin: 0 0 16px;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
  color: var(--wine);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 22px 0 10px;
}

.rich-content h2 {
  font-size: 1.65rem;
}

.rich-content h3 {
  font-size: 1.35rem;
}

.rich-content h4 {
  font-size: 1.12rem;
}

.rich-content a {
  color: var(--wine);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rich-content ul,
.rich-content ol {
  padding-left: 1.35rem;
}

.rich-content li + li {
  margin-top: 6px;
}

.rich-content img {
  border-radius: var(--radius);
  display: block;
  height: auto;
  margin: 14px 0;
  max-width: 100%;
}

.rich-content table {
  border: 1px solid var(--line);
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  width: 100%;
}

.rich-content th,
.rich-content td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.rich-content th {
  background: var(--ivory);
  color: var(--wine);
  font-weight: 900;
}

.rich-callout {
  background: #fff8e6;
  border: 1px solid #ead19a;
  border-left: 4px solid var(--wine);
  border-radius: var(--radius);
  color: var(--charcoal);
  padding: 14px 16px;
}

.rich-text-sm {
  font-size: 0.88em;
}

.rich-text-md {
  font-size: 1em;
}

.rich-text-lg {
  font-size: 1.16em;
}

.rich-text-xl {
  font-size: 1.32em;
}

.course-card .rich-content,
.course-card-summary {
  font-size: 0.95rem;
}

.rich-inline {
  display: block;
}

.rich-inline p {
  margin-bottom: 0;
}

.benefit-copy .rich-inline,
.feature-list .rich-inline,
.journey .rich-inline {
  color: var(--muted);
  font-size: inherit;
}
