:root {
  --purple-950: #2e1065;
  --purple-900: #4c1d95;
  --purple-800: #5b21b6;
  --purple-700: #6d28d9;
  --purple-600: #7c3aed;
  --purple-100: #ede9fe;
  --purple-50: #f5f3ff;
  --yellow: #facc15;
  --yellow-soft: #fef3c7;
  --green: #22c55e;
  --slate-950: #020617;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --max: 1160px;
  --radius: 32px;
  --shadow: 0 24px 70px rgba(46, 16, 101, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--slate-950); background: white; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 900px); }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 999; padding: 10px 14px; border-radius: 12px; background: var(--yellow); color: var(--purple-950); font-weight: 900; }
.skip-link:focus { left: 12px; }
.netlify-detect, .hidden-field { display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(109, 40, 217, .16); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; max-width: 260px; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand strong { display: block; font-size: 16px; line-height: 1.16; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 4px; color: var(--purple-700); font-weight: 900; font-size: 12px; }
.main-nav { flex: 1 1 auto; display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.main-nav a { white-space: nowrap; padding: 9px 8px; border-radius: 999px; color: var(--slate-800); font-size: 13px; font-weight: 900; line-height: 1.1; transition: .2s ease; }
.main-nav a:hover { color: var(--purple-800); background: var(--purple-50); }
.main-nav .nav-cta { margin-left: 4px; padding: 12px 18px; background: var(--yellow); color: var(--purple-950); box-shadow: 0 14px 32px rgba(250,204,21,.22); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 16px; background: var(--purple-100); color: var(--purple-900); font-size: 24px; font-weight: 950; cursor: pointer; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 950; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow.dark { color: var(--purple-700); }
.eyebrow.light, .eyebrow.yellow { color: #fef08a; }
.hero-slogan {
  display: inline-flex;
  margin: 0 0 22px;
  color: #fef08a;
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .02em;
  text-shadow: 0 2px 18px rgba(0,0,0,.24);
}

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(44px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 24px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 22px; font-weight: 950; text-align: center; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--yellow); color: var(--purple-950); box-shadow: 0 14px 34px rgba(250,204,21,.24); }
.button.secondary { background: white; color: var(--purple-950); }
.button.outline { background: rgba(255,255,255,.92); color: var(--purple-900); border: 1px solid rgba(109,40,217,.24); }
.section, .split-section, .contact-section, .privacy-section, .final-cta { padding: 86px 0; border-top: 1px solid rgba(109,40,217,.12); position: relative; }
.section-heading { max-width: 820px; margin: 0 auto 42px; text-align: center; }
.section-heading p:not(.eyebrow) { color: var(--slate-600); font-size: 17px; line-height: 1.9; margin: 16px 0 0; }
.section-heading.inverted h2, .section-heading.inverted p:not(.eyebrow) { color: white; }
.section-heading.inverted p:not(.eyebrow) { color: #ddd6fe; }
.hero { position: relative; overflow: hidden; color: white; background: var(--purple-950); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 5% 0%, rgba(250,204,21,.28), transparent 30%), radial-gradient(circle at 80% 12%, rgba(168,85,247,.44), transparent 30%), linear-gradient(135deg, #2e1065 0%, #6d28d9 52%, #111827 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 46px; align-items: center; min-height: 720px; padding: 78px 0; }
.hero-subtitle { margin: 22px 0 0; color: #ede9fe; font-size: 22px; line-height: 1.6; font-weight: 800; }
.hero-trust-note { margin: 18px 0 0; color: #fff7cc; font-weight: 900; font-size: 17px; line-height: 1.6; }
.trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.trust-row span { border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.1); color: #fefce8; padding: 12px 14px; font-weight: 900; backdrop-filter: blur(8px); }
.hero-photo { margin: 0; position: relative; text-align: center; }
.hero-slider { min-height: 520px; display: grid; place-items: center; }
.hero-slide { opacity: 0; visibility: hidden; position: absolute; inset: 0; max-width: 100%; width: auto; max-height: 650px; margin: auto; object-fit: contain; border-radius: 34px; background: rgba(255,255,255,.08); box-shadow: 0 28px 80px rgba(0,0,0,.34); transition: opacity .7s ease, visibility .7s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero-photo figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 12px 16px; border-radius: 999px; color: white; background: rgba(2,6,23,.58); font-weight: 950; backdrop-filter: blur(10px); }
.news-preview { background: white; }
.news-preview-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; }
.poster-frame { margin: 0; padding: 10px; border-radius: 34px; background: linear-gradient(135deg, var(--yellow), rgba(109,40,217,.28), var(--purple-900)); box-shadow: var(--shadow); }
.poster-frame img { border-radius: 26px; width: 100%; height: auto; max-height: 620px; object-fit: contain; background: #111827; }
.news-preview p:not(.eyebrow) { color: var(--slate-600); font-size: 17px; line-height: 1.9; }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.facts-grid span { padding: 14px 16px; border-radius: 18px; background: var(--purple-50); color: var(--purple-950); font-weight: 900; border: 1px solid rgba(109,40,217,.14); }
.split-routes { background: var(--purple-50); background-image: radial-gradient(circle at top left, rgba(250,204,21,.18), transparent 24%), radial-gradient(circle at 88% 12%, rgba(109,40,217,.12), transparent 26%); }
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.audience-card { padding: 32px; border-radius: var(--radius); box-shadow: 0 14px 42px rgba(15,23,42,.06); border: 1px solid rgba(109,40,217,.12); }
.audience-card.parent { background: white; }
.audience-card.school { background: #fffbeb; }
.audience-card span { color: var(--purple-700); font-weight: 950; }
.audience-card h2 { font-size: clamp(28px, 3.2vw, 42px); margin: 12px 0; }
.audience-card p { color: var(--slate-600); line-height: 1.9; }
.audience-card strong { color: var(--purple-800); }
.why-section { background: white; background-image: radial-gradient(circle at 8% 0%, rgba(250,204,21,.14), transparent 25%), radial-gradient(circle at 90% 12%, rgba(109,40,217,.09), transparent 26%); }
.feature-grid, .course-grid, .safety-system-grid, .school-plan-grid, .outcome-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card, .course-card, .safety-system-grid article, .school-plan-grid article, .outcome-grid article { padding: 26px; border-radius: var(--radius); background: white; border: 1px solid rgba(148,163,184,.18); box-shadow: 0 12px 42px rgba(15,23,42,.06); }
.feature-card span, .safety-system-grid span, .school-plan-grid span, .outcome-grid span { display: grid; place-items: center; width: 58px; height: 58px; background: var(--purple-100); border-radius: 20px; font-size: 28px; margin-bottom: 18px; }
.feature-card h3, .course-card h3, .safety-system-grid h3, .school-plan-grid h3, .outcome-grid h3 { color: var(--purple-800); }
.feature-card p, .course-card p, .course-card li, .safety-system-grid p, .school-plan-grid p, .outcome-grid p { color: var(--slate-600); line-height: 1.8; }
.safety-front { background: #fff; }
.equipment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 34px; }
.equipment-card { position: relative; overflow: hidden; border-radius: var(--radius); background: white; border: 1px solid rgba(148,163,184,.18); box-shadow: var(--shadow); }
.equipment-card:after { content: "點擊放大"; position: absolute; top: 16px; right: 16px; padding: 8px 12px; border-radius: 999px; background: rgba(46,16,101,.88); color: white; font-size: 12px; font-weight: 950; }
.equipment-card img { width: 100%; height: 380px; object-fit: contain; padding: 10px; background: #f8fafc; cursor: zoom-in; transition: .22s ease; }
.equipment-card:hover img { transform: scale(1.02); }
.equipment-content { padding: 24px; }
.equipment-content span, .course-card span, .coach-card span { display: inline-flex; margin-bottom: 10px; padding: 6px 11px; border-radius: 999px; background: var(--yellow-soft); color: var(--purple-950); font-size: 12px; font-weight: 950; }
.equipment-content p { color: var(--slate-600); line-height: 1.85; }
.coach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.coach-card { padding: 22px; background: var(--purple-50); border: 1px solid rgba(109,40,217,.12); border-radius: var(--radius); box-shadow: 0 10px 34px rgba(15,23,42,.06); }
.coach-photo { width: 100%; height: 320px; object-fit: cover; object-position: center top; border-radius: 24px; margin-bottom: 18px; background: #ddd6fe; }
.coach-photo.coach-photo-kwan { object-position: center 58%; }
.coach-card h3 { color: var(--purple-800); margin-bottom: 10px; }
.coach-card p { color: var(--slate-600); line-height: 1.85; }
.purple-soft, .suitable-section { background: var(--purple-50); background-image: radial-gradient(circle at 8% 0%, rgba(250,204,21,.16), transparent 26%), radial-gradient(circle at 90% 10%, rgba(109,40,217,.11), transparent 28%); }
.pathway { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 20px; border-radius: var(--radius); background: linear-gradient(135deg, var(--purple-950), var(--purple-700)); color: white; margin-bottom: 30px; }
.pathway div { padding: 18px; border-radius: 24px; background: rgba(255,255,255,.12); text-align: center; }
.pathway strong { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 999px; background: var(--yellow); color: var(--purple-950); }
.course-card ul { padding-left: 18px; margin-bottom: 0; }
.learning-section { background: white; }
.learning-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.learning-grid article { display: grid; place-items: center; text-align: center; min-height: 138px; padding: 22px; border-radius: 26px; background: white; border: 1px solid rgba(148,163,184,.18); box-shadow: 0 12px 36px rgba(15,23,42,.06); font-size: 34px; }
.learning-grid strong { display: block; margin-top: 10px; font-size: 16px; color: var(--purple-900); }
.suitable-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.suitable-grid p { color: var(--slate-600); line-height: 1.9; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-cloud span { padding: 13px 16px; border-radius: 999px; background: white; border: 1px solid rgba(109,40,217,.16); color: var(--purple-900); font-weight: 900; box-shadow: 0 8px 26px rgba(15,23,42,.05); }
.split-section { background: white; }
.split-grid, .school-grid, .contact-grid, .news-page-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.split-copy p:not(.eyebrow), .school-cta-copy p { color: var(--slate-600); line-height: 1.9; font-size: 17px; }
.check-list { display: grid; gap: 12px; margin: 26px 0; }
.check-list span { padding: 14px 16px; border-radius: 18px; background: var(--purple-50); color: var(--purple-950); font-weight: 900; }
.form-card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 30px; border-radius: var(--radius); background: white; color: var(--slate-950); box-shadow: var(--shadow); }
.form-heading, .form-card .full { grid-column: 1 / -1; }
.form-heading p { margin: 0 0 6px; color: var(--purple-700); font-size: 13px; font-weight: 950; text-transform: uppercase; letter-spacing: .16em; }
.form-heading h3 { font-size: 28px; }
.form-card label { display: grid; gap: 7px; color: var(--slate-700); font-weight: 900; font-size: 14px; }
.form-card input, .form-card textarea, .form-card select { width: 100%; border: 1px solid rgba(148,163,184,.45); border-radius: 16px; padding: 12px 13px; outline: 0; background: white; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { border-color: var(--purple-700); box-shadow: 0 0 0 4px rgba(109,40,217,.12); }
.consent { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px !important; color: var(--slate-600) !important; font-weight: 700 !important; }
.consent input { width: auto; margin-top: 5px; }
.form-card.is-submitting { opacity: .72; pointer-events: none; }
.form-status { grid-column: 1 / -1; padding: 12px 14px; border-radius: 16px; background: var(--yellow-soft); color: var(--purple-950); font-weight: 850; }
.purple { background: var(--purple-950); background-image: radial-gradient(circle at 8% 0%, rgba(250,204,21,.22), transparent 28%), radial-gradient(circle at 86% 22%, rgba(255,255,255,.12), transparent 30%), linear-gradient(135deg, #34106a 0%, #6d28d9 54%, #4c1d95 100%); color: white; }
.school-plan-grid article { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); box-shadow: none; }
.school-plan-grid p, .school-plan-grid h3 { color: white; }
.school-plan-grid p { color: #ede9fe; margin: 10px 0; }
.school-flow { margin: 28px 0 34px; padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.school-flow h3 { color: white; margin-bottom: 16px; }
.school-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.school-flow h3 { grid-column: 1 / -1; }
.school-flow div { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.12); color: white; font-weight: 900; }
.school-flow span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 8px; border-radius: 999px; background: var(--yellow); color: var(--purple-950); }
.school-cta-copy { align-self: stretch; padding: 30px; border-radius: var(--radius); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.school-cta-copy h3 { color: white; font-size: 32px; }
.school-cta-copy p { color: #ddd6fe; }
.gallery-section { background: white; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 320px; gap: 16px; }
.gallery-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 28px; box-shadow: 0 12px 34px rgba(15,23,42,.09); background: #ddd6fe; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: .22s ease; }
.gallery-grid figure:hover img { transform: scale(1.035); filter: saturate(1.06); }
.gallery-grid figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 10px 12px; border-radius: 999px; background: rgba(2,6,23,.62); color: white; font-weight: 900; backdrop-filter: blur(10px); }
.outcome-grid { margin-top: 28px; }
.faq-list { display: grid; gap: 12px; }
details { border-radius: 24px; border: 1px solid rgba(148,163,184,.26); background: white; box-shadow: 0 10px 28px rgba(15,23,42,.05); overflow: hidden; }
summary { cursor: pointer; padding: 20px 24px; font-weight: 950; list-style: none; display: flex; justify-content: space-between; gap: 18px; }
summary::-webkit-details-marker { display: none; }
summary:after { content: "+"; color: var(--purple-700); font-size: 24px; line-height: 1; }
details[open] summary:after { content: "−"; }
details p { padding: 0 24px 22px; color: var(--slate-600); line-height: 1.8; margin: 0; }
.final-cta { background: var(--purple-950); color: white; }
.final-cta-box { padding: 42px; border-radius: var(--radius); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); text-align: center; }
.final-cta p { color: #ddd6fe; }
.final-cta .button-row { justify-content: center; }
.contact-section { background: #5b21b6; background-image: radial-gradient(circle at 8% 0%, rgba(250,204,21,.28), transparent 28%), radial-gradient(circle at 86% 22%, rgba(255,255,255,.16), transparent 30%), linear-gradient(135deg, #34106a 0%, #6d28d9 54%, #4c1d95 100%); color: white; }
.contact-section p:not(.eyebrow) { color: #ede9fe; line-height: 1.9; font-size: 17px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.contact-cards a { padding: 20px; border-radius: 24px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); transition: .2s ease; overflow-wrap: anywhere; }
.contact-cards a:hover { background: rgba(255,255,255,.16); }
.contact-cards span { display: block; color: #fde047; font-size: 13px; font-weight: 950; margin-bottom: 8px; }
.contact-cards strong { display: block; line-height: 1.4; }
.contact-panel { display: grid; gap: 14px; padding: 34px; border-radius: var(--radius); background: white; color: var(--slate-950); box-shadow: var(--shadow); }
.contact-panel img { width: 190px; margin-inline: auto; }
.contact-panel h3 { text-align: center; font-size: 30px; }
.privacy-section { background: white; }
.privacy-box { padding: 34px; border-radius: var(--radius); background: #f8fafc; border: 1px solid #e2e8f0; }
.privacy-box p:not(.eyebrow) { color: var(--slate-600); line-height: 1.9; }
.site-footer { background: #34106a; background-image: linear-gradient(135deg, #34106a, #4c1d95); color: white; padding-bottom: 36px; }
.footer-inner { border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-inner strong, .footer-inner small { display: block; }
.footer-inner small { color: #ddd6fe; margin-top: 6px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 14px; color: #ede9fe; font-size: 14px; }
.footer-inner a:hover { color: #fde047; }

.form-heading p { margin: 8px 0 0; color: var(--slate-600); line-height: 1.7; font-weight: 700; }
.form-privacy-note { margin: 4px 0 0; color: var(--slate-600); font-size: 14px; line-height: 1.7; }
.testimonials-section { background: white; background-image: radial-gradient(circle at 8% 0%, rgba(250,204,21,.12), transparent 25%), radial-gradient(circle at 92% 12%, rgba(109,40,217,.08), transparent 26%); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial-grid article { padding: 28px; border-radius: var(--radius); background: var(--purple-50); border: 1px solid rgba(109,40,217,.14); box-shadow: 0 12px 42px rgba(15,23,42,.06); }
.testimonial-grid span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: var(--yellow); color: var(--purple-950); font-size: 24px; margin-bottom: 18px; }
.testimonial-grid p { margin: 0 0 16px; color: var(--slate-700); font-size: 18px; line-height: 1.85; font-weight: 750; }
.testimonial-grid strong { color: var(--purple-800); }

.floating-whatsapp { position: fixed; z-index: 120; right: 22px; bottom: 22px; background: var(--green); color: white; padding: 16px 22px; border-radius: 999px; box-shadow: 0 18px 40px rgba(34,197,94,.3); font-weight: 950; }
.mobile-cta { display: none; }
.lightbox-overlay { position: fixed; inset: 0; z-index: 999; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(2, 6, 23, .88); backdrop-filter: blur(8px); }
.lightbox-overlay.open { display: flex; }
.lightbox-content { position: relative; width: min(1120px, 96vw); max-height: 92vh; display: grid; gap: 12px; justify-items: center; }
.lightbox-content img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 22px; background: white; box-shadow: 0 30px 80px rgba(0,0,0,.42); }
.lightbox-caption { color: white; font-weight: 900; text-align: center; }
.lightbox-close { position: absolute; top: -18px; right: -10px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--yellow); color: var(--purple-950); font-size: 28px; font-weight: 950; line-height: 1; cursor: pointer; }
.thank-you-body { min-height: 100vh; background: radial-gradient(circle at top left, rgba(250,204,21,.28), transparent 30%), linear-gradient(135deg, #34106a, #5b21b6); display: grid; place-items: center; padding: 24px; }
.thank-you-page { width: min(100%, 760px); }
.thank-you-card { background: white; border-radius: 34px; padding: 42px; text-align: center; box-shadow: 0 30px 90px rgba(0,0,0,.18); }
.thank-you-card img { width: 220px; margin: 0 auto 22px; }
.thank-you-card h1 { font-size: clamp(36px, 6vw, 58px); color: #020617; }
.thank-you-card p:not(.eyebrow) { color: #475569; line-height: 1.9; }
.thank-you-card .button-row { justify-content: center; }
.news-hero-page { position: relative; overflow: hidden; padding: 126px 0 88px; color: white; background: radial-gradient(circle at 10% 10%, rgba(250,204,21,.28), transparent 30%), radial-gradient(circle at 82% 0%, rgba(168,85,247,.42), transparent 32%), linear-gradient(135deg, #34106a, #6d28d9 52%, #1e1b4b); }
.news-page-copy h1 { color: white; }
.news-page-copy p { color: #ede9fe; font-size: 17px; line-height: 1.9; }
.news-detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.news-detail-grid article { border-radius: 26px; padding: 24px; background: white; border: 1px solid rgba(148,163,184,.18); box-shadow: 0 12px 42px rgba(15,23,42,.06); }
.news-detail-grid span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 20px; background: var(--purple-100); font-size: 28px; margin-bottom: 18px; }
.news-detail-grid h3 { color: var(--purple-800); }
.news-detail-grid p { color: var(--slate-600); line-height: 1.8; }
.news-cta-box { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 34px; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
@media (max-width: 1180px) {
  .main-nav { position: fixed; top: 82px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 14px; border-radius: 24px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 16px; font-size: 15px; }
  .menu-toggle { display: grid; place-items: center; }
}
@media (max-width: 1080px) {
  .hero-grid, .news-preview-grid, .split-grid, .school-grid, .contact-grid, .news-page-grid, .suitable-grid { grid-template-columns: 1fr; }
  .feature-grid, .course-grid, .safety-system-grid, .school-plan-grid, .outcome-grid, .learning-grid { grid-template-columns: repeat(2, 1fr); }
  .equipment-grid, .coach-grid { grid-template-columns: 1fr; }
  .pathway { grid-template-columns: 1fr; }
  .school-flow { grid-template-columns: 1fr; }
  .facts-grid, .news-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { min-height: 0; }
}
@media (max-width: 720px) {
  .container, .narrow { width: min(100% - 24px, var(--max)); }
  .brand img { width: 46px; height: 46px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 11px; }
  .header-inner { min-height: 68px; }
  .main-nav { top: 68px; }
  .hero-grid { padding: 44px 0 58px; gap: 34px; }
  .hero-slider { min-height: 360px; }
  .hero-slide { max-height: 520px; border-radius: 24px; }
  .trust-row, .audience-grid, .feature-grid, .course-grid, .safety-system-grid, .school-plan-grid, .outcome-grid, .learning-grid, .facts-grid, .news-detail-grid, .gallery-grid, .contact-cards { grid-template-columns: 1fr; }
  .section, .split-section, .contact-section, .privacy-section, .final-cta { padding: 64px 0; }
  .button-row, .button { width: 100%; }
  .section-heading { margin-bottom: 34px; }
  .audience-card, .feature-card, .course-card, .form-card, .contact-panel, .privacy-box, .final-cta-box { padding: 24px; border-radius: 24px; }
  .form-card { grid-template-columns: 1fr; }
  .equipment-card img { height: auto; max-height: none; }
  .coach-photo { height: 340px; }
  .gallery-grid { grid-auto-rows: 280px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .floating-whatsapp { display: none; }
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: block; padding: 10px 12px; background: rgba(255,255,255,.96); border-top: 1px solid rgba(148,163,184,.28); backdrop-filter: blur(12px); }
  .mobile-cta a { display: grid; place-items: center; min-height: 56px; border-radius: 999px; font-weight: 950; text-align: center; }
  .mobile-cta .mobile-cta-main { background: var(--green); color: white; box-shadow: 0 14px 34px rgba(34,197,94,.24); }
  .mobile-cta strong { display: block; font-size: 14px; line-height: 1.25; }
  .mobile-cta small { display: block; margin-top: 3px; font-size: 11px; line-height: 1.25; color: rgba(255,255,255,.9); }
  body { padding-bottom: 72px; }
}


/* V7 PDF review updates: fixed hero media, stronger color rhythm, public-facing labels */
.hero-grid { min-height: 700px; }
.hero-photo.hero-slider {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  display: block;
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
}
.hero-slide,
.hero-slide.is-active {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  box-shadow: none;
  background: rgba(255,255,255,.08);
}
.hero-slide.is-active { position: absolute; }
.hero-photo figcaption { z-index: 3; }

/* Alternating section backgrounds and stronger contrast */
.why-section {
  background: var(--purple-950);
  background-image: radial-gradient(circle at 8% 0%, rgba(250,204,21,.24), transparent 28%), radial-gradient(circle at 86% 22%, rgba(255,255,255,.12), transparent 30%), linear-gradient(135deg, #34106a 0%, #6d28d9 54%, #4c1d95 100%);
  color: white;
}
.why-section .eyebrow.dark { color: #fef08a; }
.why-section .section-heading h2,
.why-section .section-heading p:not(.eyebrow) { color: white; }
.why-section .section-heading p:not(.eyebrow) { color: #ede9fe; }
.why-section .feature-card { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.18); box-shadow: none; }
.why-section .feature-card h3 { color: white; }
.why-section .feature-card p { color: #ede9fe; }
.why-section .feature-card span { background: rgba(255,255,255,.14); }

.suitable-section {
  background: var(--purple-950);
  background-image: radial-gradient(circle at 8% 0%, rgba(250,204,21,.22), transparent 28%), radial-gradient(circle at 86% 22%, rgba(255,255,255,.12), transparent 30%), linear-gradient(135deg, #34106a 0%, #6d28d9 54%, #4c1d95 100%);
  color: white;
}
.suitable-section .eyebrow.dark { color: #fef08a; }
.suitable-section h2 { color: white; }
.suitable-section .suitable-grid p { color: #ede9fe; }
.suitable-section .tag-cloud span { background: white; color: var(--purple-950); border-color: rgba(255,255,255,.3); }

.safety-front { background: white; }
.split-section { background: var(--purple-50); background-image: radial-gradient(circle at top left, rgba(250,204,21,.16), transparent 24%), radial-gradient(circle at 88% 12%, rgba(109,40,217,.11), transparent 26%); }
.gallery-section { background: white; }
.contact-section { background: white; color: var(--slate-950); }
.contact-section p:not(.eyebrow) { color: var(--slate-600); }
.contact-cards a { background: var(--purple-50); border-color: rgba(109,40,217,.14); color: var(--slate-950); }
.contact-cards a:hover { background: var(--purple-100); }
.contact-cards span { color: var(--purple-800); }
.contact-panel { background: var(--purple-50); border: 1px solid rgba(109,40,217,.14); }
.privacy-section { background: var(--purple-50); }
.privacy-box { background: white; }

/* Keep hidden anti-spam fields completely invisible in all browsers and assistive tech contexts */
.netlify-detect,
.hidden-field,
.hidden-field * {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 1080px) {
  .hero-grid { min-height: 0; }
  .hero-photo.hero-slider { aspect-ratio: 16 / 10; }
}
@media (max-width: 720px) {
  .hero-photo.hero-slider { aspect-ratio: 4 / 3; min-height: 0; }
  .hero-slide, .hero-slide.is-active { max-height: none; }
}


/* V8 update: orientation-aware hero images without layout jump.
   The hero frame keeps a fixed reserved size; portrait/landscape images change only inside the frame. */
.hero-photo.hero-slider {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  min-height: 460px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255,255,255,.1);
}
.hero-photo.hero-slider::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  filter: blur(22px);
  transform: scale(1.08);
  opacity: .42;
  transition: background-image .35s ease, opacity .35s ease;
}
.hero-photo.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(46,16,101,.18), rgba(2,6,23,.22));
  pointer-events: none;
}
.hero-slide,
.hero-slide.is-active {
  position: absolute !important;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 12px;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}
.hero-slide {
  opacity: 0;
  visibility: hidden;
  transform: scale(.992);
  transition: opacity .7s ease, visibility .7s ease, transform .7s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.hero-photo.is-landscape .hero-slide.is-active {
  padding: 10px;
}
.hero-photo.is-portrait .hero-slide.is-active {
  padding: 14px;
}
.hero-photo figcaption {
  z-index: 4;
}
@media (max-width: 1080px) {
  .hero-photo.hero-slider {
    aspect-ratio: 16 / 10;
    min-height: 420px;
  }
}
@media (max-width: 720px) {
  .hero-photo.hero-slider {
    aspect-ratio: 4 / 3;
    min-height: 330px;
  }
  .hero-slide,
  .hero-slide.is-active {
    padding: 8px;
  }
}


/* V9 review update: conversion flow, stronger rhythm, stable image system */
body { background: white; }
.hero-subtitle { font-size: clamp(18px, 2.2vw, 24px); }
.hero-photo.hero-slider {
  min-height: clamp(340px, 42vw, 540px);
  max-height: 540px;
  transition: border-radius .35s ease, box-shadow .35s ease;
}
.hero-photo.is-landscape { border-radius: 30px; box-shadow: 0 26px 72px rgba(0,0,0,.34); }
.hero-photo.is-portrait { border-radius: 40px; box-shadow: 0 28px 82px rgba(0,0,0,.36); }
.hero-photo.hero-slider .hero-slide,
.hero-photo.hero-slider .hero-slide.is-active { object-fit: contain; }
.hero-photo figcaption { pointer-events: none; }

#latest-news { background: white; }
#route { background: var(--purple-50); }
#courses { background: white; background-image: radial-gradient(circle at 10% 0%, rgba(250,204,21,.13), transparent 24%), radial-gradient(circle at 90% 10%, rgba(109,40,217,.09), transparent 26%); }
#learning { background: var(--purple-50); }
#suitable { background: white !important; color: var(--slate-950) !important; }
#suitable .eyebrow.dark { color: var(--purple-700) !important; }
#suitable h2 { color: var(--slate-950) !important; }
#suitable .suitable-grid p { color: var(--slate-600) !important; }
#suitable .tag-cloud span { background: var(--purple-50) !important; color: var(--purple-950) !important; border-color: rgba(109,40,217,.18) !important; }
#safety.safety-front {
  background: var(--purple-950);
  background-image: radial-gradient(circle at 8% 0%, rgba(250,204,21,.24), transparent 26%), radial-gradient(circle at 88% 14%, rgba(255,255,255,.14), transparent 30%), linear-gradient(135deg, #34106a, #6d28d9 54%, #4c1d95);
  color: white;
}
#safety .section-heading h2,
#safety .section-heading p:not(.eyebrow) { color: white; }
#safety .section-heading p:not(.eyebrow) { color: #ede9fe; }
#safety .eyebrow.dark { color: #fef08a; }
#safety .safety-system-grid article,
#safety .equipment-card,
#safety .coach-card,
#safety .coach-trust-box { background: white; color: var(--slate-950); }
.safety-six-steps { grid-template-columns: repeat(3, 1fr); }
.coach-trust-box { margin-top: 34px; padding: 28px; border-radius: var(--radius); border: 1px solid rgba(148,163,184,.18); box-shadow: 0 12px 42px rgba(15,23,42,.06); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.coach-trust-box h3 { color: var(--purple-800); }
.coach-trust-box p { color: var(--slate-600); max-width: 720px; margin: 0; line-height: 1.8; }
#trial { background: white; }
#school { background-image: radial-gradient(circle at 8% 0%, rgba(250,204,21,.22), transparent 28%), radial-gradient(circle at 86% 22%, rgba(255,255,255,.12), transparent 30%), linear-gradient(135deg, #34106a 0%, #6d28d9 54%, #4c1d95 100%); }
#gallery { background: white; }
#faq { background: var(--purple-50); }
#final-cta { background: var(--purple-950); }
#contact { background: white !important; color: var(--slate-950) !important; }
#contact p:not(.eyebrow) { color: var(--slate-600) !important; }
.course-card p strong { color: var(--purple-800); }
.course-card p { margin: 12px 0; }
.gallery-grid figure, .equipment-card, .coach-card, .course-card, .school-plan-grid article { transition: transform .18s ease, box-shadow .18s ease; }
.gallery-grid figure:hover, .equipment-card:hover, .coach-card:hover, .course-card:hover { transform: translateY(-2px); }
.form-card input, .form-card textarea, .form-card select { font-size: 16px; }
.hidden-field, .netlify-detect { clip-path: inset(50%) !important; white-space: nowrap !important; }
@media (max-width: 1080px) { .safety-six-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .hero-photo.hero-slider { min-height: 330px; max-height: 420px; }
  .safety-six-steps { grid-template-columns: 1fr; }
  .coach-trust-box { display: grid; }
}

/* V10: remove public section overline labels and enlarge hero brand slogan */
.form-heading h3 { margin-top: 0; }
@media (max-width: 720px) {
  .hero-slogan { font-size: clamp(15px, 4.2vw, 17px); margin-bottom: 16px; }
}


/* V11: remove redundant coach CTA and strengthen contrast across the site */
:root {
  --slate-700: #243244;
  --slate-600: #334155;
  --card-border: rgba(76, 29, 149, .28);
  --card-shadow-strong: 0 22px 62px rgba(46, 16, 101, .18);
}

body { color: var(--slate-950); }
p, li { color: var(--slate-600); }
strong { color: inherit; }

.button.primary {
  color: var(--purple-950);
  font-weight: 950;
  border: 1px solid rgba(46,16,101,.16);
  box-shadow: 0 16px 38px rgba(250,204,21,.34);
}
.button.secondary,
.button.outline {
  color: var(--purple-950);
  font-weight: 950;
  border-color: rgba(76,29,149,.36);
}
.button:hover { box-shadow: 0 18px 42px rgba(46,16,101,.22); }

.main-nav a { color: var(--slate-950); }
.brand small { color: var(--purple-800); }

.section-heading p:not(.eyebrow),
.news-preview p:not(.eyebrow),
.audience-card p,
.feature-card p,
.course-card p,
.course-card li,
.safety-system-grid p,
.school-plan-grid p,
.outcome-grid p,
.coach-card p,
.equipment-content p,
.gallery-grid figcaption p,
.faq p,
.contact-section p:not(.eyebrow),
.privacy-box p,
.privacy-box li {
  color: var(--slate-600);
}

.feature-card,
.course-card,
.safety-system-grid article,
.school-plan-grid article,
.outcome-grid article,
.audience-card,
.equipment-card,
.coach-card,
.gallery-grid figure,
.form-card,
.contact-panel,
.privacy-box,
.news-detail-grid article,
details {
  border-color: var(--card-border) !important;
  box-shadow: var(--card-shadow-strong);
}

.purple .feature-card,
#school .school-plan-grid article,
#safety .safety-system-grid article,
#safety .equipment-card,
#safety .coach-card,
#safety .coach-trust-box {
  border-color: rgba(255,255,255,.32) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.20);
}

.why-section .feature-card {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.35) !important;
  box-shadow: 0 22px 60px rgba(0,0,0,.16);
}
.why-section .feature-card p,
#safety .section-heading p:not(.eyebrow),
.purple .section-heading p:not(.eyebrow),
.final-cta p {
  color: #f5f3ff !important;
}
.why-section .feature-card h3,
.purple h2,
.purple h3,
.final-cta h2 {
  color: #ffffff !important;
}

#safety .safety-system-grid h3,
#safety .equipment-card h3,
#safety .coach-card h3,
#safety .coach-trust-box h3,
.school-plan-grid article h3,
.course-card h3,
.feature-card h3,
.outcome-grid h3 {
  color: var(--purple-900);
}
#safety .safety-system-grid p,
#safety .equipment-card p,
#safety .coach-card p,
#safety .coach-trust-box p,
#school .school-plan-grid p {
  color: var(--slate-600);
}

.coach-trust-box {
  display: block;
}
.coach-trust-box p {
  max-width: 100%;
  margin-top: 10px;
}

.form-card label { color: var(--slate-800); }
.form-card input,
.form-card textarea,
.form-card select {
  color: var(--slate-950);
  border-color: rgba(76,29,149,.34);
  background: #ffffff;
}
.form-card input::placeholder,
.form-card textarea::placeholder { color: #475569; opacity: 1; }
.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  border-color: var(--purple-800);
  box-shadow: 0 0 0 4px rgba(91,33,182,.18);
}
.form-status {
  border: 1px solid rgba(76,29,149,.24);
}

.course-card span,
.coach-card span,
.equipment-content span {
  border: 1px solid rgba(76,29,149,.18);
}

#contact.contact-section {
  background: var(--purple-950) !important;
  background-image: radial-gradient(circle at 8% 0%, rgba(250,204,21,.24), transparent 28%), radial-gradient(circle at 86% 22%, rgba(255,255,255,.12), transparent 30%), linear-gradient(135deg, #34106a 0%, #6d28d9 54%, #4c1d95 100%);
  color: #ffffff !important;
}
#contact h2,
#contact h3 { color: #ffffff !important; }
#contact p:not(.eyebrow) { color: #f5f3ff !important; }
#contact .contact-cards a {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.30) !important;
  color: #ffffff;
  box-shadow: 0 20px 56px rgba(0,0,0,.18);
}
#contact .contact-cards a:hover { background: rgba(255,255,255,.20); }
#contact .contact-cards span { color: #fef08a; }
#contact .contact-panel {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.30) !important;
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(0,0,0,.20);
}
#contact .contact-panel p { color: #f5f3ff !important; }

.mobile-cta .mobile-cta-main { background: var(--green); color: white; }

@media (max-width: 720px) {
  .coach-trust-box { padding: 24px; }
  .button { font-weight: 950; }
}

/* V12 update: improve school partnership plan card readability */
#school .school-plan-grid article {
  background: #ffffff !important;
  color: var(--slate-900) !important;
  border: 1px solid rgba(109, 40, 217, 0.28) !important;
  box-shadow: 0 26px 70px rgba(17, 24, 39, 0.26) !important;
  padding: 30px !important;
}

#school .school-plan-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 84px rgba(17, 24, 39, 0.32) !important;
}

#school .school-plan-grid article span {
  background: #ede9fe !important;
  color: var(--purple-900) !important;
  border: 1px solid rgba(109, 40, 217, 0.22);
  box-shadow: 0 10px 28px rgba(109, 40, 217, 0.14);
}

#school .school-plan-grid article h3 {
  color: var(--purple-950) !important;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.25;
  font-weight: 950;
  margin-bottom: 16px;
}

#school .school-plan-grid article p {
  color: var(--slate-800) !important;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.75;
  margin: 13px 0 0;
}

#school .school-plan-grid article p strong {
  color: var(--purple-900) !important;
  font-weight: 950;
}

#school .school-plan-grid article p + p {
  padding-top: 10px;
  border-top: 1px solid rgba(109, 40, 217, 0.12);
}

#school .section-heading.inverted h2,
#school .section-heading.inverted p {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

#school .school-flow,
#school .school-cta-copy {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28) !important;
}

@media (max-width: 640px) {
  #school .school-plan-grid article {
    padding: 24px !important;
  }

  #school .school-plan-grid article h3 {
    font-size: 21px;
  }

  #school .school-plan-grid article p {
    font-size: 15.5px;
    line-height: 1.75;
  }
}


/* V14: categorized gallery album cards and swipeable lightbox */
.album-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.album-category-card {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(76, 29, 149, .28);
  border-radius: 28px;
  background: white;
  color: var(--slate-950);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 22px 62px rgba(46, 16, 101, .15);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.album-category-card:hover,
.album-category-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(91, 33, 182, .55);
  box-shadow: 0 28px 74px rgba(46, 16, 101, .22);
  outline: none;
}

.album-thumb {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ede9fe;
}

.album-thumb::after {
  content: "瀏覽相片";
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(46,16,101,.78);
  color: white;
  font-size: 13px;
  font-weight: 950;
  backdrop-filter: blur(10px);
}

.album-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease, filter .22s ease;
}

.album-category-card:hover .album-thumb img,
.album-category-card:focus-visible .album-thumb img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.album-card-body {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.album-card-body strong {
  color: var(--purple-800);
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.2;
  font-weight: 950;
}

.album-card-body span {
  color: var(--slate-600);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 650;
}

.album-card-body em {
  color: var(--purple-800);
  font-size: 14px;
  font-style: normal;
  font-weight: 950;
}

.album-card-body b {
  color: var(--purple-950);
  font-size: 15px;
  font-weight: 950;
}

body.lightbox-open .floating-whatsapp,
body.lightbox-open .mobile-cta {
  opacity: 0;
  pointer-events: none;
}

.lightbox-overlay {
  background: rgba(2, 6, 23, .9);
}

.album-lightbox-content {
  width: min(1180px, 96vw);
  min-height: min(720px, 88vh);
  grid-template-columns: 58px 1fr 58px;
  align-items: center;
  gap: 14px;
}

.lightbox-figure {
  min-width: 0;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.lightbox-figure img,
.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 22px;
  background: white;
  box-shadow: 0 30px 80px rgba(0,0,0,.42);
}

.lightbox-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: white;
  text-align: center;
}

.lightbox-caption {
  color: white;
  font-size: 17px;
  font-weight: 950;
}

.lightbox-count {
  color: #fde047;
  font-size: 14px;
  font-weight: 950;
}

.lightbox-nav {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  color: white;
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: var(--yellow);
  color: var(--purple-950);
  outline: none;
}

.lightbox-close {
  z-index: 2;
  top: 0;
  right: 0;
}

@media (max-width: 1080px) {
  .album-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .album-category-grid { grid-template-columns: 1fr; gap: 16px; }
  .album-category-card { border-radius: 24px; }
  .album-card-body { padding: 18px; }
  .album-card-body strong { font-size: 22px; }
  .album-card-body span { font-size: 15px; }
  .album-lightbox-content {
    width: 100%;
    min-height: 86vh;
    grid-template-columns: 1fr;
    padding: 0 8px;
  }
  .lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 38px;
    z-index: 3;
    background: rgba(2,6,23,.55);
  }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-figure img,
  .lightbox-content img { max-height: 72vh; border-radius: 18px; }
  .lightbox-close { top: 8px; right: 12px; width: 50px; height: 50px; }
  .lightbox-caption { font-size: 15px; }
}


/* V17: Lightbox is intentionally image-only. It shows photo number only, no captions or file names. */
.lightbox-caption { display: none !important; }
.lightbox-count { display: inline-flex; justify-content: center; align-items: center; min-width: 54px; padding: 6px 12px; border-radius: 999px; background: rgba(250, 204, 21, .18); }


/* SEO landing pages */
.page-hero { padding-top: 96px; padding-bottom: 72px; }
.page-hero h1 { color: var(--purple-900); max-width: 900px; }
.page-hero p { color: var(--slate-700); font-size: 1.08rem; line-height: 1.85; }
.course-card h2, .school-plan-grid h2, .safety-system-grid h2 { color: var(--purple-800); margin-top: 0; font-size: 1.35rem; line-height: 1.25; }
.school-plan-grid article { background: #fff; border-color: rgba(109, 40, 217, .2); box-shadow: 0 18px 48px rgba(46,16,101,.12); }
.landing-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: 42px; align-items: center; }
.landing-photo { margin: 0; border-radius: 28px; overflow: hidden; background: white; box-shadow: 0 22px 60px rgba(46,16,101,.18); }
.landing-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.landing-poster-hero { padding-top: 88px; }
.button-row.center { justify-content: center; }


@media (max-width: 1080px) { .testimonial-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .landing-hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .trust-row { grid-template-columns: 1fr; } .hero-trust-note { font-size: 15px; } .landing-photo { border-radius: 22px; } }
