/* ==========================================================================
   FLY8 International — Brand Site
   Design tokens — senior-friendly: big type, generous spacing, clear contrast
   Sky Blue   #4FB8E8  — primary, sky/energy
   Sunshine   #FFC93C  — accent, joy
   Orange     #FF7A29  — CTA / emphasis
   Grass      #6DD3A0  — community sections
   Deep Navy  #1A3A7A  — brand anchor (from exam system), text on light
   Sky White  #F5FAFF  — background
   ========================================================================== */

:root {
  --sky-blue: #4FB8E8;
  --sunshine: #FFC93C;
  --coral: #FF6F5E;
  --grass: #6DD3A0;
  --navy: #1A3A7A;
  --footer-navy: #0F2A5C;
  --ink: #1E293B;
  --ink-secondary: #64748B;
  --bg: #F8FBFD;
  --bg-card: #FFFFFF;
  --bg-tint: #F0F7FC;
  --font-display: 'Chiron GoRound TC', 'Noto Sans TC', sans-serif;
  --font-body: 'Chiron GoRound TC', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 34px rgba(0, 0, 0, 0.08);
  --shadow-pop: 0 4px 14px rgba(255, 122, 41, 0.22);
  --max-width: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.mobile-break { display: none; }
.mobile-hide { display: inline; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
}
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .12em;
  color: var(--coral);
  font-weight: 500;
  margin-bottom: 14px;
  display: block;
  text-align: left;
}
.section-title { font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; margin-bottom: 20px; }
.section-lead { font-size: 19px; color: var(--ink-secondary); max-width: 660px; margin-bottom: 44px; line-height: 1.7; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Nav ---------- */
.top-strip { position: fixed; top: 0; left: 0; right: 0; height: 8px; z-index: 101; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; }
.top-strip .ts-blue { background: var(--sky-blue); }
.top-strip .ts-orange { background: var(--coral); }
.top-strip .ts-yellow { background: var(--sunshine); }
.top-strip .ts-green { background: var(--grass); }

.nav {
  position: fixed; top: 8px; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26,58,122,0.08);
}
section[id] { scroll-margin-top: 104px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 88px; max-width: var(--max-width); margin: 0 auto; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 19px; }
.nav-brand img { height: 40px; width: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 17px; font-weight: 500; }
.nav-links a { position: relative; padding: 8px 2px; transition: color .3s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--sky-blue); transition: width .3s ease; }
.nav-links a:hover { color: var(--sky-blue); }
.nav-links a:hover::after { width: 100%; }
.nav-links li:nth-child(4n+2) a:hover { color: var(--coral); }
.nav-links li:nth-child(4n+2) a::after { background: var(--coral); }
.nav-links li:nth-child(4n+3) a:hover { color: #E8A800; }
.nav-links li:nth-child(4n+3) a::after { background: #E8A800; }
.nav-links li:nth-child(4n) a:hover { color: var(--grass); }
.nav-links li:nth-child(4n) a::after { background: var(--grass); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.lang-switcher { position: relative; margin-right: 4px; }
.lang-switcher-btn {
  display: flex; align-items: center; gap: 6px; background: none; border: 1.5px solid rgba(26,58,122,0.15);
  border-radius: 999px; padding: 8px 14px; cursor: pointer; color: var(--navy); font-family: var(--font-display);
  font-size: 14px; font-weight: 600; transition: border-color .2s ease, background .2s ease;
}
.lang-switcher-btn svg { width: 16px; height: 16px; }
.lang-switcher-btn:hover { border-color: var(--sky-blue); background: rgba(79,184,232,0.06); }
.lang-switcher-menu {
  position: absolute; top: calc(100% + 8px); left: 0; background: #fff; border-radius: 14px;
  box-shadow: 0 12px 30px rgba(26,58,122,0.16); padding: 6px; display: none; flex-direction: column; gap: 2px;
  min-width: 120px; z-index: 200;
}
.lang-switcher-menu.open { display: flex; }
.lang-option {
  background: none; border: none; text-align: left; padding: 9px 12px; border-radius: 9px; cursor: pointer;
  font-family: var(--font-display); font-size: 14px; color: var(--ink); transition: background .15s ease;
}
.lang-option:hover { background: rgba(79,184,232,0.08); }
.lang-option.active { background: var(--sky-blue); color: #fff; font-weight: 600; }
@media (max-width: 767px) {
  .lang-switcher-btn { padding: 7px 10px; font-size: 13px; }
  .lang-switcher-btn span { display: none; }
}
.btn-line { display: inline-flex; align-items: center; gap: 8px; background: #06C755; color: #fff; border-radius: 18px !important; }
.btn-line:hover { background: #05a648; }
.line-logo-icon { height: 26px; width: auto; }
.line-logo-icon-lg { height: 30px; width: auto; }
.nav-cta { height: auto !important; padding: 14px 24px !important; font-size: 15px !important; gap: 7px !important; }
.nav-signup { height: auto !important; padding: 14px 24px !important; font-size: 15px !important; border-radius: 18px !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 28px; color: var(--navy); cursor: pointer; }

@media (max-width: 1024px) {
  .nav-links { position: fixed; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 24px; gap: 18px; display: none; box-shadow: var(--shadow-soft); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { padding: 10px 16px !important; font-size: 14px !important; }
  .nav-signup { padding: 10px 16px !important; font-size: 14px !important; }
}
@media (max-width: 480px) {
  .nav-signup { display: none !important; }
  .nav-brand-text { display: inline; font-size: 15px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 92px 24px 60px;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(180deg, rgba(234,246,253,0.75) 0%, rgba(245,251,253,0.35) 60%), url('../images/hero-bg.jpg?v=1785897509') center bottom / 100% auto no-repeat, var(--bg);
  overflow: hidden;
  box-sizing: border-box;
}
.hero::before {
  content: '';
  position: absolute; top: -60px; right: 8%; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,201,60,0.08), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; top: 60px; left: -80px; width: 260px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 70%);
  pointer-events: none;
}
.hero-flight-path {
  position: absolute; top: 14%; left: 4%; width: 44%; height: 42%; pointer-events: none;
}
.hero-star { position: absolute; width: 16px; height: 16px; opacity: 0.85; }
.hero-star-1 { top: 6%; left: 2%; animation: heroTwinkle 2.6s ease-in-out infinite; }
.hero-star-2 { top: 46%; left: 58%; width: 11px; height: 11px; animation: heroTwinkle 2.6s ease-in-out 1.2s infinite; }
.hero-dot { position: absolute; top: 40%; right: 6%; width: 10px; height: 10px; border-radius: 50%; background: #6DD3A0; opacity: 0.7; }
@keyframes heroTwinkle { 0%, 100% { opacity: 0.85; transform: scale(1); } 50% { opacity: 0.3; transform: scale(0.7); } }
.hero-inner { max-width: var(--max-width); margin: 0 auto; text-align: center; width: 100%; }
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 86px; align-items: flex-start; text-align: left; }
.hero-text { text-align: left; margin-top: 50px; padding-left: 20px; }
.hero-photo { position: relative; margin-top: 113px; margin-left: -113px; width: calc(100% + 113px); }
@media (min-width: 768px) {
  html:not([lang="zh-Hant"]) .hero-photo { width: calc(100% + 37px); }
  html[lang="en"] .hero-photo, html[lang="th"] .hero-photo { margin-left: -56px; }
}
.hero-photo-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none;
  color: var(--navy); font-size: 22px; cursor: pointer; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.hero-photo-nav.prev { left: 14px; }
.hero-photo-nav.next { right: 14px; }
.hero-photo-nav:hover { background: #fff; }
.hero-photo-placeholder {
  aspect-ratio: 4 / 3.3; border-radius: 28px; background: linear-gradient(135deg, var(--sky-blue), var(--grass));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; overflow: hidden;
  position: relative; z-index: 1;
}
.hero-photo-placeholder .icon-svg { width: 52px; height: 52px; opacity: 0.9; }
.hero-photo-placeholder span { font-family: var(--font-display); font-weight: 700; font-size: 15px; opacity: 0.9; }
.hero-photo-placeholder.has-image { background: none; }
.hero-photo-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: 0; transition: opacity .8s ease; }
.hero-photo-slide.active { opacity: 1; }
.hero-photo-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-brand-label { font-family: var(--font-display); font-weight: 500; font-size: 15.5px; color: var(--sky-blue); display: inline-block; margin-bottom: 24px; letter-spacing: 0.02em; position: relative; padding-bottom: 12px; }
.hero-brand-label::after { content: ''; position: absolute; left: 0; bottom: 0; width: 44px; height: 2px; background: #B7C0D6; border-radius: 2px; }
.hero-highlights { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-highlights li { font-size: 15px; font-weight: 600; color: var(--navy); font-family: var(--font-display); }
.hero-eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; color: var(--coral); display: block; margin-bottom: 14px; }
.hero-cta { display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: flex-start; }
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-text { text-align: center; padding-left: 0; }
  .hero-brand-label { margin: 0 auto 24px; }
  .hero-highlights { justify-content: center; }
  .hero-dots { justify-content: center; }
  .hero-slogan { text-align: center; width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-photo { order: -1; max-width: 420px; margin: 0 auto; }
}
.hero-main {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 32px;
  line-height: 78px;
}
.hero-main .accent { color: var(--coral); }
.hero-main .accent-blue { color: var(--sky-blue); }
.hero-slogan-wrap { position: relative; min-height: 158px; margin-bottom: 36px; }
html:not([lang="zh-Hant"]) .hero-slogan-wrap { margin-top: 32px; }
.hero-slogan-img { height: 150px; width: auto; display: block; }
.hero-slogan-img-hope { height: 225px; margin-top: -38px; margin-left: -10px; }
.hero-slogan-img-dream { height: 260px; margin-top: -55px; margin-left: -18px; }
.hero-slogan-img-interest { height: 165px; margin-top: -8px; margin-left: -10px; }
.hero-slogan-img-creative { height: 225px; margin-top: -38px; margin-left: -15px; }
.hero-slogan-img-action { height: 225px; margin-top: -38px; margin-left: -15px; }
.hero-slogan {
  font-family: 'DM Sans', 'Noto Sans TC', sans-serif;
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
  background: linear-gradient(100deg, var(--coral) 20%, var(--sunshine) 55%, var(--sky-blue) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: absolute;
  left: 0; top: 0;
  padding-bottom: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
  white-space: nowrap;
}
.hero-slogan:has(.hero-slogan-img)::after { display: none; }
.hero-slogan::after {
  content: '';
  position: absolute; left: 2px; bottom: 0; width: 85%; height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='14' viewBox='0 0 160 14'%3E%3Cpath d='M2 8 Q40 2 80 8 T158 6' fill='none' stroke='url(%23g)' stroke-width='3' stroke-linecap='round'/%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0%25' stop-color='%23FF6F5E'/%3E%3Cstop offset='55%25' stop-color='%23FFC93C'/%3E%3Cstop offset='100%25' stop-color='%234FB8E8'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain; opacity: 0.6;
}
.hero-slogan.active { opacity: 1; transform: translateY(0); position: relative; }
.hero-sub { font-size: 19px; font-weight: 400; color: #475569; max-width: 480px; margin: 0 0 36px; line-height: 1.8; }
.hero-dots { display: flex; gap: 10px; justify-content: flex-start; margin-bottom: 30px; }
.hero-dots span { width: 10px; height: 10px; border-radius: 999px; background: rgba(26,58,122,0.18); cursor: pointer; transition: background .25s ease, width .25s ease; }
.hero-dots span.active { background: var(--coral); width: 26px; }
.hero-cta { display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  height: 58px;
  padding: 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-arrow { display: inline-block; transition: transform .25s ease; margin-left: 2px; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: none; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { background: #fff; color: var(--navy); border: 2.5px solid rgba(26,58,122,0.18); }
.btn-ghost:hover { background: var(--sky-blue); border-color: var(--sky-blue); color: #fff; }

/* Flight path signature: dashed trail with a plane that travels down the page */
.flight-rail {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  transform: translateX(-50%);
  background-image: linear-gradient(to bottom, rgba(26,58,122,0.14) 0 10px, transparent 10px 20px);
  background-size: 2px 20px;
  z-index: 0;
}
.flight-plane {
  position: absolute; left: 50%; width: 26px; height: 26px; transform: translate(-50%, -50%);
  color: var(--sky-blue); opacity: 0.85;
}

/* ---------- Icon system ---------- */
.icon-svg { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; vertical-align: -3px; margin-right: 4px; }
.icon-svg svg { width: 100%; height: 100%; display: block; }
.icon-emoji-fallback { font-size: 24px; line-height: 1; }
.badge-icon { width: 16px; height: 16px; color: var(--sky-blue); margin-right: 2px; }
.badge-icon svg { width: 100%; height: 100%; }

.icon-box { width: 52px; height: 52px; border-radius: 14px; background: rgba(79,184,232,0.14); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon-box .icon-svg { width: 26px; height: 26px; }

.icon-box-trust { width: 60px; height: 60px; border-radius: 50%; background: #EEF8FF; color: var(--navy); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; transition: transform .25s ease; overflow: hidden; }
.icon-box-trust .icon-svg { width: 28px; height: 28px; transition: transform .25s ease; }
.icon-box-trust img { width: 100%; height: 100%; object-fit: cover; }
.trust-blue { background: #EAF4FD; color: var(--sky-blue); }
.trust-red { background: #FFEEEC; color: var(--coral); }
.trust-green { background: #EAFAF2; color: var(--grass); }
.trust-yellow { background: #FFF8E6; color: #E8A800; }

.icon-box-sm { width: 60px; height: 60px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.icon-box-sm img { width: 100%; height: 100%; object-fit: cover; }
.icon-box-sm .icon-svg { width: 26px; height: 26px; }
/* ---------- Floating quick actions (bottom-right, persistent) ---------- */
.floating-actions { position: fixed; right: 20px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab { display: flex; align-items: center; gap: 8px; border-radius: 999px; box-shadow: 0 8px 22px rgba(26,58,122,0.22); font-family: var(--font-display); font-weight: 700; text-decoration: none; transition: transform .2s ease; }
.fab:hover { transform: translateY(-2px); }
.fab-line { width: 56px; height: 56px; justify-content: center; background: #fff; border: 1px solid rgba(0,0,0,0.06); }
.fab-line img { height: 34px; width: auto; }
.fab-cta { padding: 14px 22px; background: var(--coral); color: #fff; font-size: 15px; }
.fab-cta svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .floating-actions { right: 16px; bottom: calc(20px + env(safe-area-inset-bottom)); }
  .fab-cta span { display: none; }
  .fab-cta { width: 52px; height: 52px; padding: 0; justify-content: center; }
}

.trust-row { background: var(--bg-tint); padding: 44px 0; border-top: 1px solid rgba(26,58,122,0.06); border-bottom: 1px solid rgba(26,58,122,0.06); }
.explore-question { font-size: 20px !important; font-weight: 800; letter-spacing: 0.06em !important; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item { text-align: center; padding: 16px; border-radius: var(--radius-md); transition: transform .25s ease, box-shadow .25s ease; }
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.trust-item:hover .icon-box-trust { transform: scale(1.1); }
.trust-item h4 { font-family: var(--font-display); font-weight: 900; font-size: 16px; color: var(--navy); margin: 0 0 6px; }
.trust-item p { font-size: 14px; color: var(--ink-secondary); margin: 0; line-height: 1.6; }

/* ---------- Stats row ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 34px; padding-top: 34px; border-top: 1.5px solid rgba(26,58,122,0.08); }
@media (max-width: 640px) { .stats-row { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; } }
.stat-item { text-align: center; }
.stat-item .stat-value { font-family: var(--font-display); font-weight: 900; font-size: clamp(24px, 2.6vw, 32px); color: var(--sky-blue); display: block; }
.stat-item .stat-label { font-size: 14px; color: var(--ink-secondary); margin-top: 4px; display: block; }

/* ---------- Card hover lift ---------- */
.about-card, .service-card, .testimonial-card, .course-preview-card {
  transition: transform .3s ease, box-shadow .3s ease;
}
.about-card:hover, .service-card:hover, .testimonial-card:hover, .course-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(26, 58, 122, 0.14);
}
.course-preview-card { overflow: hidden; }
.course-preview-photo { transition: transform .3s ease; }
.course-preview-card:hover .course-preview-photo { transform: scale(1.03); }

/* ---------- Story & About ---------- */
.story { background: var(--bg); }
.story-grid { display: grid; grid-template-columns: 1.22fr 1fr; gap: 56px; align-items: center; }
.story-media { border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(135deg, var(--sky-blue), var(--grass)); min-height: 460px; display:flex; align-items:center; justify-content:center; }
.story-media.has-image { background: none; }
.story-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-body p { color: var(--ink-secondary); margin: 0 0 18px; font-size: 18px; line-height: 1.8; }
.story-body p.story-quote { color: var(--ink-secondary); font-weight: 400; }

.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.about-card { background: var(--bg-card); border-radius: var(--radius-md); padding: 28px; border: 1.5px solid rgba(26,58,122,0.08); box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease; }
.about-card .icon { font-size: 32px; margin-bottom: 14px; display: block; }
.about-card h3 { font-size: 19px; margin-bottom: 8px; color: var(--navy); font-weight: 900; }
.about-card p { font-size: 16px; color: var(--ink-secondary); margin: 0; }

/* ---------- Badge ---------- */
.about-heading-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.about-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(120deg, rgba(255,201,60,0.28), rgba(255,122,41,0.16));
  border: 1.5px solid rgba(255,122,41,0.35);
  color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 10px 20px; border-radius: 999px; margin-bottom: 20px;
}
#about-extra-section { position: relative; overflow: hidden; }
#about-extra-section::after {
  content: ''; position: absolute; bottom: -50px; right: -50px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,201,60,0.09), transparent 70%); pointer-events: none;
}
.about-extra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: flex-start; position: relative; z-index: 1; background: #EAF4FD; border-radius: var(--radius-lg); padding: 44px; }
.amber-highlight { color: #E8A800; }
.about-extra-media { border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; background: var(--bg-card); display: flex; align-items: center; justify-content: center; border: 1.5px dashed rgba(26,58,122,0.15); }
.about-extra-media.has-image { border: none; background: none; }
.about-extra-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-extra-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-extra-placeholder { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #8592B8; }
.about-extra-placeholder .icon-svg { width: 44px; height: 44px; }
.about-extra-desc p { font-size: 17px; color: #2E3A5C; line-height: 1.8; margin: 0 0 14px; }
.about-extra-desc .hint-text { color: #8592B8; font-style: italic; }
@media (max-width: 860px) { .about-extra-grid { grid-template-columns: 1fr; } }

.mvv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 32px 0 22px; }
.mvv-card { background: var(--bg-tint); border-radius: var(--radius-md); padding: 26px 28px; border-left: 5px solid var(--grass); }
.mvv-label { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--grass); letter-spacing: .04em; display: block; margin-bottom: 8px; }
.mvv-mission { border-left-color: #E8A800; }
.mvv-mission .mvv-label { color: #E8A800; }
.mvv-card p { margin: 0; font-size: 17px; color: var(--navy); font-weight: 500; line-height: 1.6; }
.values-row { display: flex; flex-wrap: wrap; gap: 10px; }
.value-chip { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--navy); background: rgba(79,184,232,0.18); padding: 9px 22px; border-radius: 999px; }
.value-chip.vc-red { background: rgba(255,111,94,0.18); }
.value-chip.vc-yellow { background: rgba(255,201,60,0.28); }
.value-chip.vc-green { background: rgba(109,211,160,0.22); }

.story-rest { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.story-rest.open { max-height: 2000px; }
.story-toggle {
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--coral);
  background: none; border: none; cursor: pointer; padding: 10px 0; margin-top: 4px;
}
.founder-quote {
  font-family: var(--font-display); font-weight: 700; font-size: 19px; font-style: italic;
  color: var(--sunshine); margin: 24px 0 0; padding-left: 20px; border-left: 4px solid var(--sunshine); line-height: 1.6;
}

/* ---------- Services ---------- */
.services { background: var(--bg); }
.services-plane-decor { position: absolute; top: -10px; right: 10px; width: 200px; height: 80px; opacity: 0.85; pointer-events: none; }
@media (max-width: 860px) { .services-plane-decor { display: none; } }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }
.service-card { background: var(--bg-card); border-radius: var(--radius-md); padding: 28px; border: 1.5px solid rgba(26,58,122,0.08); box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease; --accent: var(--sky-blue); display: flex; flex-direction: column; height: 100%; }
.service-card.sc-blue { --accent: var(--sky-blue); }
.service-card.sc-green { --accent: var(--grass); }
.service-card.sc-orange { --accent: #E8A800; }
.service-card.sc-red { --accent: var(--coral); }
.service-card .icon-box { width: 56px; height: 56px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 16px; }
.service-card h3 { font-size: 18.5px; margin-bottom: 8px; font-weight: 500; color: var(--accent); }
.service-format { font-size: 13.5px; color: var(--accent); font-weight: 700; margin-bottom: 8px; display: block; }
.service-card p.desc { font-size: 15.5px; color: var(--ink-secondary); margin: 0 0 14px; line-height: 1.7; flex: 1; }
.service-bottom-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.service-clients { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); padding: 5px 14px; border-radius: 999px; }
.service-more { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--accent); }
.service-more:hover { text-decoration: underline; }
.courses-more-link { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--sky-blue); }
.courses-more-link:hover { text-decoration: underline; }

.course-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.course-preview-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1.5px solid rgba(26,58,122,0.08); box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease; }
.course-preview-photo { height: 150px; background: linear-gradient(135deg, var(--sky-blue), var(--grass)); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; position: relative; color: #fff; }
.course-preview-photo .icon-svg { width: 40px; height: 40px; }
.course-preview-tag { position: absolute; top: 10px; left: 10px; background: var(--coral); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 11.5px; padding: 4px 10px; border-radius: 999px; }
.course-preview-body { padding: 18px; }
.course-preview-body h4 { font-size: 15.5px; font-weight: 500; margin-bottom: 6px; color: var(--navy); }
.course-preview-body p { font-size: 13px; color: var(--ink-secondary); margin: 0 0 10px; line-height: 1.5; }
.course-preview-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.course-preview-meta span { font-size: 11.5px; background: var(--bg-tint); color: var(--navy); padding: 3px 10px; border-radius: 999px; font-weight: 700; }
@media (max-width: 860px) { .course-preview-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .course-preview-grid { grid-template-columns: 1fr; } }

/* ---------- Benefits (circle badge layout) ---------- */
.benefits { background: var(--bg-tint); }
.benefits-plane-decor { position: absolute; top: -10px; right: 10px; width: 200px; height: 80px; opacity: 0.85; pointer-events: none; }
@media (max-width: 860px) { .benefits-plane-decor { display: none; } }
.benefits-lead { font-size: 17px; color: var(--ink-secondary); font-weight: 400; }
.benefits-eyebrow-badge {
  display: inline-flex; margin: 0 auto 14px; text-align: center;
  background: rgba(255,122,41,0.12); border: 1.5px solid rgba(255,122,41,0.3);
  padding: 6px 18px; border-radius: 999px;
}

.benefit-circle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 36px; max-width: 980px; margin: 0 auto; position: relative; }
.benefit-circle { display: flex; flex-direction: column; align-items: center; text-align: center; --accent: var(--sky-blue); }
.benefit-circle.bn-green { --accent: var(--grass); }
.benefit-circle.bn-blue { --accent: var(--sky-blue); }
.benefit-circle.bn-purple { --accent: #8B5CF6; }
.benefit-circle.bn-red { --accent: var(--coral); }
.benefit-circle.bn-yellow { --accent: #E8A800; }
.benefit-circle.bn-teal { --accent: #14B8A6; }
.benefit-circle-outer { position: relative; margin-bottom: 22px; }
.benefit-circle-badge {
  position: relative; width: 120px; height: 120px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 15%, #fff);
  border: 3px solid color-mix(in srgb, var(--accent) 35%, transparent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(26,58,122,0.1);
  transition: transform .25s ease;
}
.benefit-circle:hover .benefit-circle-outer { transform: translateY(-6px) scale(1.04); }
.benefit-circle-badge.has-photo { border-width: 4px; padding: 10px; }
.benefit-circle-photo { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.benefit-circle-icon { width: 44px; height: 44px; color: var(--accent); display: flex; align-items: center; justify-content: center; }
.benefit-circle-icon svg { width: 100%; height: 100%; }
.benefit-circle-num {
  position: absolute; bottom: -6px; right: -2px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center; border: 3px solid var(--bg-tint); z-index: 2;
}
.benefit-circle h3 { font-size: 17.5px; font-weight: 500; color: var(--navy); margin: 0 0 8px; }
.benefit-circle p { font-size: 14.5px; color: var(--ink-secondary); margin: 0; line-height: 1.65; max-width: 230px; }

@media (max-width: 860px) {
  .benefit-circle-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
}
@media (max-width: 560px) {
  .benefit-circle-grid { grid-template-columns: 1fr; gap: 36px; }
  .benefit-circle-badge { width: 100px; height: 100px; }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg); position: relative; overflow: hidden; }
.testimonials::before {
  content: ''; position: absolute; top: -40px; left: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,184,232,0.08), transparent 70%); pointer-events: none;
}
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.testimonial-card { background: var(--bg-card); border-radius: var(--radius-md); padding: 26px; border: 1.5px solid rgba(26,58,122,0.08); box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; height: 100%; }
.testimonial-quote { font-size: 16.5px; color: var(--ink-secondary); margin: 0 0 18px; line-height: 1.7; flex: 1; }
.testimonial-quote::before { content: "\201C"; color: var(--sky-blue); font-size: 28px; font-family: var(--font-display); margin-right: 2px; }
.testimonial-card:nth-child(3n+1) .testimonial-quote::before { color: var(--coral); }
.testimonial-card:nth-child(3n+2) .testimonial-quote::before { color: #E8A800; }
.testimonial-card:nth-child(3n) .testimonial-quote::before { color: var(--grass); }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(79,184,232,0.16); color: var(--navy); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.testimonial-avatar .icon-svg { width: 22px; height: 22px; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 900; font-size: 15.5px; color: var(--navy); }
.testimonial-role { font-size: 13.5px; color: var(--ink-secondary); }

/* ---------- Gallery ---------- */
.gallery { background: var(--bg-tint); }
.gallery-carousel-wrap { display: flex; align-items: center; gap: 16px; }
.gallery-carousel-viewport { flex: 1; overflow: hidden; }
.gallery-grid { display: flex; gap: 24px; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.gallery-grid .g-item { flex: 0 0 calc((100% - 48px) / 3); }
.gallery-arrow {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: #fff;
  border: 1.5px solid rgba(26,58,122,0.1); box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--navy); transition: background .2s ease, transform .2s ease;
}
.gallery-arrow:hover { background: var(--sunshine); color: #fff; transform: scale(1.06); }
.gallery-arrow svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .gallery-grid .g-item { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 560px) {
  .gallery-grid .g-item { flex: 0 0 100%; }
}
.gallery-grid .g-item { aspect-ratio: 5 / 7; }
.gallery-grid .g-item { border-radius: var(--radius-sm); overflow: hidden; background: #E4EEF9; position: relative; cursor: pointer; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid .g-item:hover img { transform: scale(1.06); }
.gallery-empty { text-align: center; padding: 44px; color: var(--ink-secondary); font-size: 16px; background: #fff; border-radius: var(--radius-md); }

/* ---------- CTA / Contact ---------- */
.cta-band { background: linear-gradient(120deg, var(--sky-blue), var(--sunshine)); color: #fff; text-align: left; border-radius: var(--radius-lg); margin: 0 24px; padding: 72px 56px; display: flex; justify-content: center; }
.cta-content { max-width: 720px; width: 100%; }
.cta-band h2 { color: #fff; margin-bottom: 16px; font-size: clamp(28px, 3.8vw, 38px); text-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.cta-band p { color: #fff; margin-bottom: 30px; font-size: 17.5px; opacity: 0.95; }
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-buttons .btn { display: inline-flex; align-items: center; gap: 8px; }
.cta-contact-btn { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.6); }
.cta-contact-btn:hover { background: #fff; color: var(--navy); border-color: #fff; }

.contact-info { display: flex; flex-wrap: wrap; gap: 30px; justify-content: flex-start; margin: 32px 0 8px; }
.contact-info .ci-item { display: flex; align-items: center; gap: 8px; font-size: 16.5px; color: #fff; }
.contact-info .ci-item a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.line-qr-wrap { margin-top: 28px; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.line-qr-wrap img { width: 128px; height: 128px; border-radius: 14px; background: #fff; padding: 8px; }
.line-qr-wrap span { color: #D6E1F7; font-size: 14px; }

/* CTA v2 (photo-collage style, matches reference) */
.cta-band-v2 {
  background: linear-gradient(135deg, #B8E3FB 0%, #B8E3FB 38%, #FFE0B0 72%, #FFC9A8 100%);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  justify-content: initial; padding: 56px;
}
.cta-band-v2 .cta-content { max-width: none; }
.cta-eyebrow { color: var(--sky-blue) !important; position: relative; padding-bottom: 12px; display: inline-block; }
.cta-eyebrow::after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background: var(--sky-blue); border-radius: 2px; }
.cta-headline { font-size: 66px; font-weight: 700; line-height: 1.22; margin: 18px 0; text-shadow: none; }
.cta-line1 { color: var(--navy); }
.cta-line2 {
  background: linear-gradient(100deg, var(--coral) 20%, var(--sunshine) 55%, var(--sky-blue) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-band-v2 p { color: #52608A; opacity: 1; }
.cta-band-v2 .contact-info .ci-item, .cta-band-v2 .contact-info .ci-item a { color: var(--navy); text-decoration: none; }
.cta-band-v2 .cta-contact-btn { background: #fff; color: var(--navy); border-color: rgba(26,58,122,0.15); }
.cta-band-v2 .cta-contact-btn:hover { background: var(--sky-blue); color: #fff; border-color: var(--sky-blue); }

.cta-photo-collage { position: relative; min-height: 420px; }
.cta-photo { position: absolute; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 30px rgba(26,58,122,0.15); border: 4px solid #fff; background: linear-gradient(135deg, var(--sky-blue), var(--grass)); }
.cta-photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; }
.cta-photo-placeholder svg { width: 30px; height: 30px; }
.cta-photo-1 { width: 190px; height: 190px; top: 10px; right: 30px; }
.cta-photo-2 { width: 150px; height: 150px; top: 120px; left: 10px; }
.cta-photo-3 { width: 170px; height: 190px; bottom: 10px; right: 70px; }
.cta-photo-4 { width: 140px; height: 140px; bottom: 40px; left: 90px; }
.cta-collage-drone { display: none; }
.cta-collage-drone svg { width: 38px; height: 38px; }
.cta-collage-dashes { position: absolute; inset: 0; pointer-events: none; }
.cta-badge { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; background: #fff; border-radius: 50%; width: 76px; height: 76px; box-shadow: 0 8px 20px rgba(26,58,122,0.14); font-size: 11px; font-weight: 700; z-index: 3; line-height: 1.2; padding: 4px; box-sizing: border-box; }
.cta-badge svg { width: 18px; height: 18px; }
.cta-badge-1 { color: var(--coral); top: 140px; right: -6px; }
.cta-badge-2 { color: var(--grass); bottom: 120px; left: -6px; }
.cta-badge-3 { color: #E8A800; bottom: 6px; right: 10px; }
.cta-badge-4 { color: var(--sky-blue); bottom: 15px; left: 40px; }

.footer-v2 { padding: 80px 24px 0; background: #F7F9FC; color: #52608A; font-size: 15px; }
.footer-main-v2 { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 0.75fr 0.75fr 0.85fr; gap: 24px; padding-bottom: 48px; }
.footer-col-v2 { display: flex; flex-direction: column; gap: 14px; }
.footer-col-v2 h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy);
  display: flex; align-items: center; gap: 8px; margin: 0 0 4px; position: relative; padding-bottom: 14px;
}
.footer-col-v2 h4 svg { width: 18px; height: 18px; color: var(--sky-blue); }
.footer-col-v2 h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; background: var(--sky-blue); border-radius: 2px; }
.footer-col-v2 a { display: flex; align-items: center; justify-content: space-between; color: #52608A; font-size: 14.5px; padding: 2px 0; }
.footer-col-v2 a:hover { color: var(--grass); }
.footer-col-v2 a .fc-arrow { color: #B7C0D6; font-size: 16px; transition: transform .2s ease; }
.footer-col-v2 a:hover .fc-arrow { transform: translateX(3px); color: var(--grass); }

.footer-logo-v2 { height: 56px; width: auto; margin-bottom: 12px; align-self: flex-start; }
.footer-brand-name { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--navy); margin-bottom: 6px; }
.footer-brand-tagline { color: var(--sky-blue); font-size: 14px; font-weight: 600; position: relative; padding-bottom: 12px; margin-bottom: 14px; }
.footer-brand-tagline::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; background: var(--sky-blue); border-radius: 2px; }
.footer-desc { font-size: 14px; color: #6B7AA8; line-height: 1.85; margin: 0 0 18px; max-width: 380px; }
.footer-brand-v2 { padding-left: 57px; }
.footer-social-v2 { display: flex; gap: 10px; }
.footer-social-v2 a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.footer-social-v2 .icon-svg { width: 18px; height: 18px; }
.footer-social-v2 .sc-fb { background: #1877F2; }
.footer-social-v2 .sc-ig { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); }
.footer-social-v2 .sc-yt { background: #FF0000; }
.footer-social-v2 .sc-line { background: #06C755; }
.footer-social-v2 .sc-msg { background: var(--grass); }
.footer-social-v2 .sc-threads { background: #111; }
.footer-social-v2 a:hover { filter: brightness(1.1); transform: translateY(-2px); }

.footer-contact-v2 { gap: 12px; }
.fc-card { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 7px 16px; box-shadow: 0 4px 14px rgba(26,58,122,0.06); }
.fc-icon { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.fc-icon svg { width: 19px; height: 19px; }
.fc-blue { background: rgba(79,184,232,0.14); color: var(--sky-blue); }
.fc-pink { background: rgba(255,111,94,0.12); color: var(--coral); }
.fc-green { background: rgba(109,211,160,0.16); color: var(--grass); }
.fc-label { font-size: 12.5px; color: #8592B8; margin-bottom: 2px; }
.fc-value { font-size: 14px; font-weight: 500; color: var(--navy); word-break: break-all; }

.footer-col-v2 h4.fh-red svg { color: var(--coral); }
.footer-col-v2 h4.fh-red::after { background: var(--coral); }
.footer-col-v2 h4.fh-yellow svg { color: var(--sunshine); }
.footer-col-v2 h4.fh-yellow::after { background: var(--sunshine); }

.footer-bottom-v2 { border-top: 1px solid rgba(26,58,122,0.08); padding: 22px 0; position: relative; display: flex; align-items: center; justify-content: center; max-width: var(--max-width); margin: 0 auto; }
.footer-plane-decor { position: absolute; left: 0; width: 90px; height: 40px; opacity: 0.8; }
#footerCompanyName { font-size: 13.5px; color: #8592B8; }

@media (max-width: 860px) {
  .footer-main-v2 { grid-template-columns: 1fr 1fr; }
  .footer-brand-v2 { grid-column: 1 / -1; }
  .footer-bottom-v2 { flex-direction: column; gap: 12px; text-align: center; }
  .footer-plane-decor { position: static; }
}
@media (max-width: 560px) {
  .footer-main-v2 { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .about-extra-grid { padding: 24px; gap: 32px; }
  .about-heading-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-highlights { gap: 8px 18px; }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .line-logo-icon { height: 22px; }
  .nav-cta { gap: 6px !important; }
  .hero-highlights li { font-size: 14px; }
  .cta-band { padding: 44px 28px; margin: 0 14px; }
  .cta-band-v2 { grid-template-columns: 1fr; }
  .cta-headline { font-size: 38px; }
  .cta-photo-collage { min-height: 320px; margin-top: 20px; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { width: 100%; }
}

/* ---------- Gallery Lightbox ---------- */
.gallery-lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(10,16,30,0.92);
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.gallery-lightbox.open { display: flex; }
.gl-content { max-width: 90vw; max-height: 85vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gl-img { max-width: 90vw; max-height: 78vh; border-radius: 12px; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.gl-caption { color: #fff; font-size: 15px; opacity: 0.85; text-align: center; margin: 0; min-height: 1em; }
.gl-close {
  position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: none; color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s ease;
}
.gl-close:hover { background: rgba(255,255,255,0.24); }
.gl-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: none; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s ease;
}
.gl-nav:hover { background: rgba(255,255,255,0.24); }
.gl-nav svg { width: 24px; height: 24px; }
.gl-prev { left: 24px; }
.gl-next { right: 24px; }
@media (max-width: 640px) {
  .gl-nav { width: 42px; height: 42px; }
  .gl-prev { left: 8px; }
  .gl-next { right: 8px; }
  .gl-close { top: 12px; right: 12px; }
}

/* ============================================================
   MOBILE UI/UX REDESIGN — @media (max-width: 767px)
   桌面版（768px 以上）完全不受影響，字體維持 var(--font-display)
   ============================================================ */
@media (max-width: 767px) {

  /* ---- 全域：section 留白、防止橫向溢出 ---- */
  html, body { overflow-x: hidden; max-width: 100%; }
  .section { padding: 64px 0; }
  .container { padding-left: 20px; padding-right: 20px; }

  /* ---- 文字強制換行（僅手機生效）---- */
  .mobile-break { display: block; }
  .mobile-hide { display: none; }
  #benefitsTitle { font-size: 26px; white-space: nowrap; }

  /* ---- 01 Header / Navigation ---- */
  .nav-inner { height: 68px; padding: 0 20px; }
  .nav-brand img { height: 32px; }
  .nav-actions { display: none; }
  .nav-toggle { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 26px; }
  .nav-links { top: 68px; padding: 16px 20px 24px; }
  .nav-links li a { display: block; padding: 12px 4px; font-size: 17px; }

  /* ---- 02 Hero ---- */
  .hero {
    padding: 51px 0 56px; min-height: 0;
    background: linear-gradient(180deg, #EAF6FD 0%, #F3FAFD 55%, var(--bg) 100%);
  }
  .hero-inner.hero-split { padding: 0 20px; gap: 40px; }
  .hero-text { padding-left: 0; }
  .hero-brand-label { font-size: 14px; margin: 0 auto 20px; }
  .hero-main {
    font-size: 44px; font-weight: 600; line-height: 1.15; margin-bottom: 20px;
  }
  html:not([lang="zh-Hant"]) .hero-main { font-size: 34px; line-height: 1.25; }
  .hero-slogan-wrap { min-height: 100px; margin-bottom: 20px; }
  .hero-slogan { left: 0; right: 0; text-align: center; }
  .hero-dots { justify-content: center; }
  .hero-slogan-img { height: 90px; }
  .hero-slogan-img-hope { height: 130px; margin-top: -12px; margin-left: 0; }
  .hero-slogan-img-dream { height: 150px; margin-top: -20px; margin-left: 0; }
  .hero-slogan-img-interest { height: 96px; margin-top: 2px; margin-left: 0; }
  .hero-slogan-img-creative { height: 130px; margin-top: -12px; margin-left: 0; }
  .hero-slogan-img-action { height: 130px; margin-top: -12px; margin-left: 0; }
  .hero-sub { font-size: 17px; line-height: 1.75; margin: 0 auto 28px; max-width: 100%; }
  .hero-highlights { text-align: left; display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: center; width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; max-width: 340px; margin: 0 auto; }
  .hero-cta .btn { height: 54px; border-radius: 18px; padding: 0 26px; width: 100%; box-sizing: border-box; }
  .hero-photo { max-width: 360px; width: calc(100% - 40px); margin: 28px auto 20px; position: static; left: auto; }
  .hero-photo-placeholder { aspect-ratio: auto; height: 240px; }
  .hero-photo-placeholder, .hero-photo img { border-radius: 24px; }

  /* ---- Trust / explore-question row ---- */
  .trust-row { padding: 36px 0; }
  .explore-question { font-size: 15px !important; letter-spacing: 0.04em !important; }
  .trust-row .section-title { font-size: 22px; line-height: 1.4; }

  /* ---- 03 品牌故事 ---- */
  #story .section-title { margin-bottom: 14px; }
  #story .story-media { margin-bottom: 14px; min-height: 0; height: 240px; }
  .story-grid { gap: 32px; }
  .story-body p, .story-body .story-quote { line-height: 1.75; }
  .founder-quote { font-size: 17px; }

  /* ---- about-extra (關於飛吧國際) ---- */
  .about-extra-grid { padding: 28px 20px; gap: 24px; border-radius: 20px; }
  #about-extra-section .section-title { margin-bottom: 14px; }
  .about-extra-media { margin-bottom: 14px; min-height: 0; height: 240px; }

  /* ---- 04 Mission / Vision ---- */
  .mvv-grid { gap: 16px; margin: 24px 0 18px; }
  .mvv-card { padding: 20px; }
  .about-badge { font-size: 14px; padding: 8px 16px; }
  .values-row { gap: 8px; }
  .value-chip { font-size: 14px; padding: 8px 18px; }

  /* ---- 05 熱門活動（Popular） ---- */
  #featured-courses .container > div:first-child { flex-direction: column; align-items: flex-start; gap: 10px; }
  .course-preview-grid { grid-template-columns: 1fr !important; gap: 18px; margin-top: 22px; }
  .course-preview-card { display: block; width: 100%; box-sizing: border-box; }
  .course-preview-photo { width: 100%; }
  .course-preview-card { border-radius: 20px; overflow: hidden; }
  .course-preview-photo { aspect-ratio: 16/10; }
  .course-preview-body h4 { font-size: 18px; }
  .course-preview-body p { font-size: 15px; line-height: 1.6; }

  /* ---- 06 服務項目 ---- */
  .service-grid { grid-template-columns: 1fr !important; gap: 20px; }
  .service-card { width: 100%; box-sizing: border-box; padding: 24px; border-radius: 20px; }
  .service-card h3 { font-size: 20px; }
  .service-card p.desc { font-size: 16px; line-height: 1.7; }
  .service-bottom-row { flex-wrap: wrap; }

  /* ---- 07 在飛吧，你可以收穫什麼？ ---- */
  .benefits-side .eyebrow, .benefits-eyebrow-badge { margin: 0 auto 14px; }
  .benefit-circle-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 32px 16px; }
  .benefit-circle-badge { width: 92px; height: 92px; }
  .benefit-circle-icon { width: 34px; height: 34px; }
  .benefit-circle h3 { font-size: 15.5px; margin: 0 0 6px; padding: 0 4px; }
  .benefit-circle p { font-size: 12.5px; line-height: 1.5; max-width: 100%; padding: 0 2px; }
  .benefits-plane-decor { display: none; }

  /* ---- 08 學員心得分享 ---- */
  .testimonial-grid { grid-template-columns: 1fr; gap: 18px; }
  .testimonial-card { padding: 24px; border-radius: 20px; }
  .testimonial-quote { font-size: 16px; line-height: 1.75; }

  /* ---- 09 活動照片 ---- */
  .gallery-carousel-wrap { gap: 10px; }
  .gallery-grid .g-item { flex: 0 0 calc(100% - 8px); }
  .gallery-arrow { width: 38px; height: 38px; }
  .gallery-arrow svg { width: 16px; height: 16px; }
  .gallery-grid .g-item, .gallery-grid .g-item img { border-radius: 18px; }

  /* ---- CTA 邀請區塊 ---- */
  .cta-band-v2 { padding: 32px 20px; border-radius: 24px; }
  .cta-headline { font-size: 34px !important; line-height: 1.25 !important; }
  .cta-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-buttons .btn { width: 100%; box-sizing: border-box; justify-content: center; }
  .cta-photo-collage { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; position: relative; padding: 26px; }
  .cta-photo { position: static; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; border-width: 3px; }
  .cta-badge { position: absolute; width: 60px; height: 60px; font-size: 9.5px; gap: 2px; z-index: 4; }
  .cta-badge svg { width: 14px; height: 14px; }
  .cta-badge-2 { top: 0; left: 0; bottom: auto; right: auto; }
  .cta-badge-4 { top: 0; right: 0; left: auto; bottom: auto; }
  .cta-badge-1 { bottom: 0; left: 0; top: auto; right: auto; }
  .cta-badge-3 { bottom: 0; right: 0; top: auto; left: auto; }
  .cta-collage-dashes { display: none; }

  /* ---- 10 Footer（手風琴收合） ---- */
  .footer-v2 { padding: 56px 20px 0; }
  .footer-main-v2 { grid-template-columns: 1fr !important; gap: 0; padding-bottom: 8px; }
  .footer-brand-v2 { padding-left: 4px; margin-bottom: 28px; }
  .footer-col-v2:not(.footer-brand-v2) {
    border-top: 1px solid rgba(26,58,122,0.08);
    padding: 4px 0;
  }
  .footer-col-v2:not(.footer-brand-v2) h4 {
    position: relative; cursor: pointer; margin: 0; padding: 16px 30px 16px 0;
  }
  .footer-col-v2:not(.footer-brand-v2) h4::before {
    content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    font-size: 22px; font-weight: 400; color: var(--sky-blue); transition: transform .25s ease;
  }
  .footer-col-v2.footer-col-open h4::before { content: '−'; }
  .footer-col-v2:not(.footer-brand-v2) a,
  .footer-col-v2:not(.footer-brand-v2) .fc-card {
    max-height: 0; overflow: hidden; opacity: 0; padding: 0; margin: 0; border-width: 0;
    transition: max-height .3s ease, opacity .2s ease, padding .3s ease, margin .3s ease;
  }
  .footer-col-v2.footer-col-open a {
    max-height: 60px; opacity: 1; padding: 10px 0;
  }
  .footer-col-v2.footer-col-open .fc-card {
    max-height: 90px; opacity: 1; padding: 12px 16px; margin-bottom: 10px; border-width: 1px;
  }
  .footer-bottom-v2 { flex-direction: column; gap: 10px; padding: 18px 0; text-align: center; }
  .footer-plane-decor { position: static; margin: 0 auto; }
}

/* ---- 額外微調：極窄手機（390px 以下） ---- */
@media (max-width: 390px) {
  .hero-main { font-size: 38px; }
  .cta-headline { font-size: 28px !important; }
  .benefit-circle-badge { width: 80px; height: 80px; }
}
