/* ==========================================================================
   KIHC public website
   Brand: maroon #800000 + blue (#0000FF family) from the KIHC signage,
   gold accent from the Tour Guiding flier. No build step needed.
   ========================================================================== */

:root {
    --maroon: #800000;
    --maroon-700: #5f0000;
    --maroon-900: #3d0000;
    --maroon-50: #fbefef;
    --blue: #0000ff;
    --blue-700: #0a1fb8;
    --blue-800: #0a1b8f;
    --blue-900: #060f5c;
    --blue-50: #eef0ff;
    --gold: #f7c600;
    --gold-600: #d9ab00;
    --gold-50: #fff7d1;
    --ink: #161e33;
    --muted: #596378;
    --line: #e3e8f1;
    --bg: #ffffff;
    --soft: #f5f7fc;
    --ok: #12803f;
    --danger: #c0242b;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 10px rgba(10, 27, 143, .08);
    --shadow: 0 18px 50px rgba(10, 27, 143, .14);
    --shadow-maroon: 0 14px 34px rgba(128, 0, 0, .28);
    --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--maroon); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--maroon); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(860px, 100% - 40px); margin-inline: auto; }
.hide-sm { }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.ic-sm { width: 1em; height: 1em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none !important; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-gold { background: var(--gold); color: var(--maroon-900); box-shadow: 0 10px 24px rgba(247, 198, 0, .35); }
.btn-gold:hover { background: #ffd51f; }
.btn-maroon { background: var(--maroon); color: #fff; box-shadow: var(--shadow-maroon); }
.btn-maroon:hover { background: var(--maroon-700); }
.btn-soft { background: var(--maroon-50); color: var(--maroon); }
.btn-soft:hover { background: #f6dddd; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---------- Shared bits ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-lead, .lead { font-size: 1.1rem; color: var(--muted); }
.lead { color: var(--ink); font-weight: 500; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); background: var(--maroon-50); padding: .45em 1em; border-radius: 999px; margin-bottom: 1rem; }
.eyebrow-light { background: rgba(255, 255, 255, .14); color: #fff; }
.eyebrow-gold { background: rgba(247, 198, 0, .16); color: var(--gold); }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: .35em .9em; border-radius: 999px; }
.badge-gold { background: var(--gold); color: var(--maroon-900); }
.badge-light { background: rgba(255, 255, 255, .16); color: #fff; }
.note { text-align: center; color: var(--muted); margin-top: 2rem; }
.empty { text-align: center; padding: 48px 20px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.link-btn { background: none; border: 0; color: var(--maroon); text-decoration: underline; padding: 0; cursor: pointer; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.alert-error { background: #fdecec; color: #8a1c1c; border: 1px solid #f3c1c1; }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--maroon-700); color: rgba(255, 255, 255, .92); font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: .4em; }
.topbar a:hover { color: var(--gold); text-decoration: none; }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 27, 143, .1); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 62px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.7rem; color: var(--maroon); letter-spacing: .02em; }
.brand-sub { font-size: .66rem; font-weight: 600; letter-spacing: .04em; color: var(--blue-800); margin-top: 4px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a { color: var(--ink); font-weight: 500; font-size: .93rem; padding: .55em .9em; border-radius: 999px; }
.nav-links > a:hover { background: var(--maroon-50); color: var(--maroon); text-decoration: none; }
.drawer-portals { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary { background: var(--soft); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; z-index: 80; }
.menu-panel a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; color: var(--ink); }
.menu-panel a:hover { background: var(--maroon-50); text-decoration: none; }
.menu-panel strong { display: block; font-size: .92rem; }
.menu-panel small { color: var(--muted); font-size: .78rem; }
.menu-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--maroon-50); color: var(--maroon); display: grid; place-items: center; flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--maroon-900) 0%, var(--maroon) 55%, #6a0a1c 100%); padding: clamp(56px, 8vw, 104px) 0 clamp(120px, 14vw, 190px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob-1 { width: 560px; height: 560px; background: var(--blue); right: -160px; top: -180px; opacity: .42; }
.blob-2 { width: 420px; height: 420px; background: var(--gold); left: -140px; bottom: -120px; opacity: .22; }
.hero-grid-lines { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(115deg, transparent 20%, #000 100%); -webkit-mask-image: linear-gradient(115deg, transparent 20%, #000 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(2.8rem, 7.4vw, 5.6rem); font-weight: 800; line-height: 1.02; color: #fff; margin: 0 0 .35em; display: flex; flex-direction: column; }
.hero-title .accent { color: var(--gold); }
.ht { display: block; }
.js .ht { opacity: 0; transform: translateY(30px); animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.js .ht-2 { animation-delay: .15s; } .js .ht-3 { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .88); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: rgba(255, 255, 255, .9); }
.hero-points li { display: inline-flex; align-items: center; gap: .45em; }
.hero-points .ic { color: var(--gold); }

.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bento-photo { grid-column: 1 / -1; position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); border: 4px solid rgba(255, 255, 255, .85); aspect-ratio: 750 / 244; background: var(--maroon-900); }
.bento-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.bento-photo:hover img { transform: scale(1.06); }
.bento-tag { position: absolute; left: 12px; bottom: 12px; background: rgba(6, 15, 92, .88); color: #fff; font-size: .78rem; font-weight: 600; padding: .45em .9em; border-radius: 999px; display: inline-flex; gap: .4em; align-items: center; backdrop-filter: blur(6px); }
.bento-tag .ic { color: var(--gold); }
.bento-card { background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 20px; padding: 18px 20px; box-shadow: 0 18px 44px rgba(0, 0, 0, .25); }
.bento-stat { display: flex; flex-direction: column; justify-content: center; animation: floaty 6s ease-in-out infinite; }
.bento-stat strong { font-size: 1.8rem; font-weight: 800; color: var(--maroon); line-height: 1.1; }
.bento-stat span { font-size: .82rem; color: var(--muted); }
.bento-stat-gold { background: var(--gold); animation-delay: -3s; }
.bento-stat-gold strong { color: var(--maroon-900); font-size: 1.25rem; }
.bento-stat-gold span { color: rgba(61, 0, 0, .8); }
.bento-learn { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; background: linear-gradient(120deg, var(--blue-800), var(--blue-700)); color: #fff; text-decoration: none !important; transition: transform .2s ease; }
.bento-learn:hover { transform: translateY(-3px); }
.bento-learn-ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; flex: none; }
.bento-learn-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.bento-learn-text small { color: rgba(255, 255, 255, .8); font-size: .8rem; }
.bento-arrow { color: var(--gold); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 9vw, 130px); }
.hero-wave .w1 { fill: var(--blue-800); }
.hero-wave .w2 { fill: var(--gold); opacity: .95; }
.hero-wave .w3 { fill: #fff; }

.ticker { background: var(--blue-800); color: #fff; overflow: hidden; border-top: 3px solid var(--gold); }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; flex: none; }
.ticker-list li { padding: 14px 0; font-weight: 600; font-size: .92rem; letter-spacing: .02em; white-space: nowrap; display: inline-flex; align-items: center; }
.ticker-list li::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin: 0 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats & partners ---------- */
.trust { padding: clamp(40px, 6vw, 72px) 0 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow-sm); border-top: 4px solid var(--maroon); }
.stat:nth-child(2) { border-top-color: var(--blue-800); } .stat:nth-child(3) { border-top-color: var(--gold); } .stat:nth-child(4) { border-top-color: var(--maroon-700); }
.stat strong { display: block; font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 800; color: var(--maroon); line-height: 1.15; }
.stat span { color: var(--muted); font-size: .9rem; }
.partners { margin-top: 36px; text-align: center; }
.partners-label { color: var(--muted); font-size: .95rem; max-width: 40em; margin: 0 auto 18px; }
.partners-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: stretch; }
.partners-row li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 22px; display: grid; place-items: center; min-width: 150px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.partners-row li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partners-row img { height: 58px; width: auto; max-width: 190px; object-fit: contain; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-copy p { color: var(--muted); }
.about-copy .lead { color: var(--ink); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.mv-card { border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; }
.mv-card h3 { font-size: 1.05rem; margin: .6em 0 .3em; color: inherit; }
.mv-card p { margin: 0; font-size: .92rem; color: inherit; opacity: .9; }
.mv-mission { background: var(--maroon); color: #fff; }
.mv-vision { background: var(--blue-800); color: #fff; }
.mv-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.why { background: var(--soft); border-radius: 24px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); }
.why-title { font-size: 1.3rem; font-weight: 800; }
.why-list { display: grid; gap: 14px; margin-top: 16px; }
.why-item { display: flex; gap: 14px; background: #fff; border-radius: 16px; padding: 14px 16px; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.why-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.why-item strong { display: block; font-size: .98rem; }
.why-item p { margin: 2px 0 0; font-size: .86rem; color: var(--muted); }
.why-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--maroon-50); color: var(--maroon); display: grid; place-items: center; flex: none; }
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(32px, 5vw, 56px); }
.leader { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-sm); position: relative; }
.leader::before { content: '\201C'; font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--gold); position: absolute; right: 22px; top: 6px; opacity: .8; }
.leader-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.leader-avatar, .leader-photo { width: 58px; height: 58px; border-radius: 50%; flex: none; }
.leader-avatar { background: linear-gradient(135deg, var(--maroon), var(--blue-800)); color: #fff; font-weight: 700; display: grid; place-items: center; letter-spacing: .04em; }
.leader-photo { object-fit: cover; }
.leader figcaption strong { display: block; }
.leader figcaption span { font-size: .85rem; color: var(--muted); }
.leader blockquote { margin: 0; color: var(--muted); font-size: .95rem; }
.more summary { cursor: pointer; color: var(--maroon); font-weight: 600; font-size: .9rem; }
.more[open] summary { margin-bottom: 8px; }

/* ---------- Programmes ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { display: inline-flex; align-items: center; gap: .55em; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: .6em 1.1em; border-radius: 999px; font-weight: 600; font-size: .88rem; transition: all .18s ease; }
.tab:hover { border-color: var(--maroon); color: var(--maroon); }
.tab.is-active { background: var(--maroon); border-color: var(--maroon); color: #fff; box-shadow: var(--shadow-maroon); }
.tab-count { background: rgba(128, 128, 128, .16); border-radius: 999px; padding: 0 .55em; font-size: .75rem; }
.tab.is-active .tab-count { background: rgba(255, 255, 255, .24); }
.search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; min-width: min(300px, 100%); transition: border-color .18s ease, box-shadow .18s ease; }
.search:focus-within { border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(128, 0, 0, .1); }
.search .ic { color: var(--muted); }
.search input { border: 0; outline: 0; background: transparent; padding: .8em 0; width: 100%; font: inherit; }
.results-note { font-size: .88rem; color: var(--muted); min-height: 1.4em; margin: 6px 0 14px; }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-card { --tone: var(--maroon); --tone-bg: var(--maroon-50); background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--tone); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tone-navy { --tone: var(--blue-800); --tone-bg: var(--blue-50); }
.tone-gold { --tone: var(--gold-600); --tone-bg: var(--gold-50); }
.tone-slate { --tone: #4a5568; --tone-bg: #eef1f6; }
.cc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cc-level { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tone); background: var(--tone-bg); padding: .35em .85em; border-radius: 999px; }
.cc-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--tone-bg); color: var(--tone); display: grid; place-items: center; }
.cc-title { font-size: 1.12rem; font-weight: 700; margin-bottom: .25em; }
.cc-title a { color: var(--ink); }
.cc-title a:hover { color: var(--tone); text-decoration: none; }
.cc-school { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.cc-facts { display: grid; gap: 10px; margin-bottom: 18px; }
.cc-facts li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; font-weight: 500; }
.cc-facts .ic { color: var(--tone); margin-top: 2px; }
.cc-facts small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; line-height: 1.2; }
.cc-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px dashed var(--line); }
.cc-fee strong { display: block; font-size: 1.25rem; font-weight: 800; color: var(--tone); line-height: 1.1; }
.cc-fee-na { font-size: 1rem !important; }
.cc-fee small { color: var(--muted); font-size: .76rem; }
.cc-actions { display: flex; gap: 8px; }
.course-card[hidden] { display: none !important; }

/* ---------- Spotlight ---------- */
.spotlight { position: relative; background: linear-gradient(160deg, var(--blue-900), var(--blue-800) 60%, #0d22b0); color: #fff; padding: clamp(60px, 8vw, 104px) 0; overflow: hidden; }
.spot-bg { position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(247, 198, 0, .18), transparent 70%), radial-gradient(500px 400px at 0% 100%, rgba(128, 0, 0, .55), transparent 70%); pointer-events: none; }
.spot-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.spot-title { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; color: var(--gold); line-height: 1.08; margin-bottom: .25em; }
.spot-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.6rem); color: #fff; margin-bottom: 1rem; }
.spot-overview { color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.spot-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin: 1.8em 0 .8em; font-weight: 700; }
.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .92); }
.check-list .ic { color: var(--gold); margin-top: 3px; }
.delivery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.delivery-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 16px; transition: background .2s ease, transform .2s ease; }
.delivery-card:hover { background: rgba(255, 255, 255, .14); transform: translateY(-4px); }
.delivery-card strong { display: block; font-size: .92rem; margin: 8px 0 4px; }
.delivery-card p { font-size: .82rem; margin: 0; color: rgba(255, 255, 255, .78); }
.delivery-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--gold); color: var(--maroon-900); display: grid; place-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(247, 198, 0, .5); color: #fff; padding: .5em 1em; border-radius: 999px; font-size: .88rem; font-weight: 500; }
.spot-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.spot-visual { position: sticky; top: calc(var(--header-h) + 24px); }
.flier { display: block; width: 100%; padding: 0; border: 0; background: none; position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); transform: rotate(1.6deg); transition: transform .35s ease; }
.flier:hover { transform: rotate(0) scale(1.02); }
.flier img { width: 100%; height: auto; }
.flier-hint { position: absolute; right: 12px; bottom: 12px; background: rgba(6, 15, 92, .9); color: #fff; font-size: .78rem; padding: .45em .9em; border-radius: 999px; display: inline-flex; gap: .4em; align-items: center; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 10, 40, .92); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-height: 92vh; width: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; }

/* ---------- E-learning ---------- */
.elearning { background: radial-gradient(900px 400px at 100% 0%, var(--blue-50), transparent 70%), #fff; }
.el-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.el-features { display: grid; gap: 14px; margin: 24px 0; }
.el-features li { display: flex; gap: 14px; }
.el-features strong { display: block; }
.el-features p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.el-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-800); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 10px 20px rgba(10, 27, 143, .25); }
.el-live { display: flex; gap: 8px; align-items: center; background: var(--gold-50); border: 1px solid #f1dc7a; border-radius: 14px; padding: 12px 16px; font-size: .92rem; }
.el-live .ic { color: var(--ok); flex: none; }
.el-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.device { background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(10, 27, 143, .22); overflow: hidden; transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); transition: transform .5s ease; }
.device:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.device-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--blue-900); }
.device-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.device-bar span:nth-child(2) { background: #febc2e; } .device-bar span:nth-child(3) { background: #28c840; }
.device-bar em { margin-left: 10px; font-style: normal; font-size: .72rem; color: rgba(255, 255, 255, .75); }
.device-body { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.demo-nav { background: var(--soft); padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); }
.demo-tab { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 10px; border-radius: 10px; font-size: .8rem; font-weight: 600; color: var(--muted); text-align: left; transition: all .18s ease; }
.demo-tab:hover { background: #fff; color: var(--blue-800); }
.demo-tab.is-active { background: var(--blue-800); color: #fff; }
.demo-main { padding: 18px; }
.demo-pane { display: none; animation: fadeIn .4s ease; }
.demo-pane.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.demo-hero { background: linear-gradient(120deg, var(--blue-900), var(--blue-800)); color: #fff; border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.demo-hero small { display: block; opacity: .7; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.demo-hero strong { font-size: .98rem; line-height: 1.3; display: block; }
.demo-pills { display: flex; gap: 6px; margin-bottom: 12px; }
.demo-pills span { font-size: .7rem; font-weight: 600; padding: .35em .9em; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.demo-pills .on { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }
.demo-cards { display: grid; gap: 8px; }
.demo-card { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.demo-card i { font-style: normal; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; grid-column: 1 / -1; }
.t-warning { color: #b7791f; } .t-info { color: #2b6cb0; } .t-primary { color: var(--maroon); }
.demo-card b { font-size: .82rem; }
.demo-card em { font-style: normal; font-size: .7rem; color: var(--muted); grid-column: 1; }
.demo-btns { grid-column: 2; grid-row: 2 / span 2; display: flex; gap: 6px; }
.demo-btns u { text-decoration: none; font-size: .66rem; font-weight: 600; background: var(--blue-50); color: var(--blue-800); padding: .35em .8em; border-radius: 999px; }
.demo-balance { background: var(--gold-50); border: 1px solid #f1dc7a; border-radius: 14px; padding: 14px 18px; margin-bottom: 12px; }
.demo-balance small { display: block; font-size: .7rem; color: var(--muted); }
.demo-balance strong { font-size: 1.7rem; color: var(--ok); line-height: 1.2; display: block; }
.demo-balance em { font-style: normal; font-size: .74rem; color: var(--muted); }
.demo-table { width: 100%; border-collapse: collapse; font-size: .76rem; }
.demo-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.demo-table td { padding: 8px 4px; border-bottom: 1px solid var(--line); }
.demo-table .ok { color: var(--ok); font-weight: 700; }
.demo-foot { font-size: .74rem; color: var(--muted); margin: 12px 0 0; }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.demo-form small { display: block; font-size: .66rem; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.demo-form span { display: block; height: 30px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); }
.demo-form .wide { grid-column: 1 / -1; }
.demo-form .bar { height: 46px; border-style: dashed; }

.el-steps { margin-top: clamp(40px, 6vw, 72px); text-align: center; }
.el-steps h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 28px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; text-align: left; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-no { position: absolute; top: -14px; left: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--maroon); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; box-shadow: var(--shadow-maroon); }
.step-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--maroon-50); color: var(--maroon); display: grid; place-items: center; margin-bottom: 12px; }
.step strong { display: block; margin-bottom: 4px; }
.step p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- Apply section ---------- */
.apply-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.a-steps { display: grid; gap: 14px; }
.a-steps li { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.a-steps li > span { width: 36px; height: 36px; border-radius: 50%; background: var(--maroon); color: #fff; font-weight: 700; display: grid; place-items: center; flex: none; }
.a-steps strong { display: block; }
.a-steps p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.docs { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.docs h3 { font-size: 1rem; }
.docs ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.docs li { display: flex; gap: 8px; align-items: center; font-size: .9rem; }
.docs .ic { color: var(--maroon); }
.pay-card { background: linear-gradient(160deg, var(--maroon-900), var(--maroon)); color: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow-maroon); position: sticky; top: calc(var(--header-h) + 20px); }
.pay-badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--gold); color: var(--maroon-900); padding: .35em .9em; border-radius: 999px; }
.pay-amount { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; margin: 10px 0 6px; color: #fff; line-height: 1.1; }
.pay-note { color: rgba(255, 255, 255, .8); font-size: .9rem; }
.pay-list { display: grid; gap: 10px; margin-bottom: 20px; }
.pay-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 12px 14px; }
.pay-list strong { display: block; font-size: .88rem; }
.pay-list span { font-size: .96rem; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.copy { display: inline-flex; align-items: center; gap: .4em; border: 0; background: rgba(255, 255, 255, .16); color: #fff; padding: .5em .8em; border-radius: 10px; font-size: .78rem; font-weight: 600; transition: background .18s ease; }
.copy:hover { background: rgba(255, 255, 255, .28); }
.copy.is-done { background: var(--ok); }
.pay-help { margin: 14px 0 0; text-align: center; font-size: .86rem; color: rgba(255, 255, 255, .85); }
.pay-help a { color: var(--gold); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.news-cat { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; padding: .3em .8em; border-radius: 999px; background: var(--blue-50); color: var(--blue-800); }
.cat-notice { background: var(--gold-50); color: #8a6a00; } .cat-event { background: var(--maroon-50); color: var(--maroon); }
.news-pin { display: inline-flex; gap: .3em; align-items: center; color: #b7791f; font-weight: 600; }
.news-card h3 { font-size: 1.1rem; }
.news-card h3 a { color: var(--ink); }
.news-card p { color: var(--muted); font-size: .92rem; }
.news-event { display: flex; gap: 6px; align-items: center; color: var(--maroon) !important; font-weight: 600; }
.news-more { margin-top: auto; font-weight: 600; display: inline-flex; gap: .4em; align-items: center; }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.contact-cards { display: grid; gap: 12px; margin-bottom: 20px; }
.contact-cards li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; align-items: center; }
.cc-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--maroon); color: #fff; display: grid; place-items: center; flex: none; }
.contact-cards small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact-cards a, .contact-cards span { display: block; font-weight: 600; color: var(--ink); }
.contact-cards a:hover { color: var(--maroon); }
.directions { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.directions h3 { display: flex; gap: .5em; align-items: center; font-size: 1.05rem; }
.directions ol { counter-reset: d; display: grid; gap: 10px; margin: 12px 0 18px; }
.directions li { counter-increment: d; display: flex; gap: 12px; font-size: .92rem; color: var(--muted); }
.directions li::before { content: counter(d); width: 26px; height: 26px; border-radius: 50%; background: var(--blue-800); color: #fff; font-size: .78rem; font-weight: 700; display: grid; place-items: center; flex: none; }
.visit-map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 420px; }
.visit-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.signage { margin-top: 28px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.signage img { width: 100%; height: auto; }

/* ---------- FAQ & CTA band ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.faq-item[open] { border-color: var(--maroon); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { color: var(--maroon); transition: transform .25s ease; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-item p { margin: 0; padding: 0 20px 20px; color: var(--muted); }
.cta-band { margin-top: 48px; background: linear-gradient(120deg, var(--maroon-900), var(--maroon) 60%, var(--blue-800)); color: #fff; border-radius: 26px; padding: clamp(26px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; box-shadow: var(--shadow-maroon); }
.cta-band h3 { color: #fff; font-size: 1.5rem; margin-bottom: .2em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: rgba(255, 255, 255, .82); padding-top: clamp(44px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(24px, 4vw, 48px); }
.footer-logos img { background: #fff; border-radius: 16px; padding: 8px; height: 84px; width: auto; }
.footer-name { font-weight: 700; color: #fff; margin: 14px 0 4px; }
.footer-tag { font-size: .9rem; margin-bottom: .5em; }
.footer-motto { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold); margin: 0; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .82); }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); text-decoration: none; }
.footer-contact { display: grid; gap: 12px; font-size: .92rem; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .ic { color: var(--gold); margin-top: 3px; }
.footer-contact a { display: inline; }
.footer-bottom { margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid rgba(255, 255, 255, .14); font-size: .84rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 18px 0; }

.mobile-cta { display: none; }
.fab { position: fixed; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 70; transition: transform .2s ease, opacity .2s ease; }
.fab-top { bottom: 20px; background: var(--maroon); color: #fff; opacity: 0; pointer-events: none; transform: translateY(10px); }
.fab-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.fab-wa { bottom: 80px; background: #25d366; color: #fff; }

/* ---------- Inner pages ---------- */
.page-hero { background: linear-gradient(135deg, var(--maroon-900), var(--maroon)); color: #fff; padding: clamp(44px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.page-hero.tone-navy { background: linear-gradient(135deg, var(--blue-900), var(--blue-800)); }
.page-hero.tone-gold { background: linear-gradient(135deg, #5a4600, #8a6a00); }
.page-hero.tone-slate { background: linear-gradient(135deg, #2d3748, #4a5568); }
.page-hero::after { content: ''; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: rgba(247, 198, 0, .16); filter: blur(30px); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero-sm { padding: clamp(32px, 4vw, 52px) 0; }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: rgba(255, 255, 255, .7); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: rgba(255, 255, 255, .9); }
.ph-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ph-title { font-size: clamp(1.8rem, 4.4vw, 3.2rem); font-weight: 800; color: #fff; max-width: 22em; }
.ph-lead { font-size: 1.1rem; color: rgba(255, 255, 255, .88); max-width: 44em; display: flex; gap: .5em; }
.ph-facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.ph-facts li { display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; padding: 12px 18px; }
.ph-facts .ic { color: var(--gold); width: 1.6em; height: 1.6em; }
.ph-facts small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.ph-facts span { font-weight: 600; font-size: .95rem; line-height: 1.3; }

.course-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.prose-block { margin-bottom: 40px; }
.prose-block h2 { font-size: 1.5rem; font-weight: 800; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose h3 { font-size: 1.1rem; color: var(--maroon); }
.prose ul { list-style: disc; padding-left: 1.3em; display: grid; gap: .4em; margin-bottom: 1em; }
.prose ol { list-style: decimal; padding-left: 1.3em; display: grid; gap: .4em; margin-bottom: 1em; }
.prose a { text-decoration: underline; }
.prose blockquote { border-left: 4px solid var(--gold); margin: 1em 0; padding: .4em 1em; color: var(--muted); }
.unit-list { display: grid; gap: 12px; }
.unit-list li { display: flex; gap: 14px; background: var(--soft); border-radius: 16px; padding: 16px; }
.unit-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-800); color: #fff; display: grid; place-items: center; flex: none; }
.unit-list em { font-style: normal; font-size: .78rem; color: var(--muted); margin-left: 8px; }
.unit-list p { margin: 4px 0 6px; color: var(--muted); font-size: .9rem; }
.unit-online { display: inline-flex; align-items: center; gap: .4em; font-size: .8rem; font-weight: 600; color: var(--ok); }
.mini-steps { list-style: decimal; padding-left: 1.3em; display: grid; gap: .6em; color: var(--muted); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.course-side .side-card { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.side-card h3 { font-size: 1rem; }
.side-fee strong { font-size: 1.8rem; font-weight: 800; color: var(--maroon); line-height: 1.1; }
.side-fee small { color: var(--muted); }
.side-note { color: var(--muted); font-size: .9rem; margin: 0; text-align: center; }
.more-title { margin-top: 48px; font-size: 1.1rem; }
.more-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.more-list time { color: var(--muted); font-size: .85rem; white-space: nowrap; }

.thanks-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 5vw, 52px); box-shadow: var(--shadow); text-align: center; }
.thanks-check { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; animation: pop .6s cubic-bezier(.2, 1.4, .4, 1); box-shadow: 0 16px 36px rgba(18, 128, 63, .35); }
.thanks-check .ic { width: 42px; height: 42px; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.thanks-card h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
.thanks-lead { color: var(--muted); }
.ref-box { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: center; background: var(--gold-50); border: 2px dashed var(--gold-600); border-radius: 18px; padding: 16px 24px; margin: 8px 0 28px; }
.ref-box small { width: 100%; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ref-box strong { font-size: 1.7rem; color: var(--maroon); letter-spacing: .04em; }
.ref-box .copy { background: var(--maroon); }
.thanks-card h2 { text-align: left; font-size: 1.2rem; }
.thanks-card .a-steps { text-align: left; }
.pay-inline { margin-top: 8px; display: grid; gap: 4px; font-size: .9rem; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ---------- Application form ---------- */
.apply-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.apply-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.aside-list { display: grid; gap: 10px; font-size: .9rem; color: var(--muted); margin-top: 10px; }
.aside-list li { display: flex; gap: 10px; align-items: flex-start; }
.aside-list .ic { color: var(--maroon); margin-top: 2px; }
.side-pay { background: linear-gradient(160deg, var(--maroon-900), var(--maroon)); color: #fff; border: 0; }
.side-pay .pay-amount { font-size: 2rem; }
.pay-list.compact li { padding: 10px 12px; }
.pay-list.compact .copy { padding: .5em .6em; }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.stepper li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .78rem; color: var(--muted); font-weight: 600; }
.stepper li span { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; font-weight: 700; transition: all .25s ease; }
.stepper li em { font-style: normal; }
.stepper li.is-active span { background: var(--maroon); border-color: var(--maroon); color: #fff; box-shadow: var(--shadow-maroon); }
.stepper li.is-active { color: var(--maroon); }
.stepper li.is-done span { background: var(--ok); border-color: var(--ok); color: #fff; }
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.progress span { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--maroon), var(--gold)); border-radius: 999px; transition: width .4s ease; }
.wizard { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wiz-panel { display: none; }
.wiz-panel.is-active { display: block; animation: fadeIn .4s ease; }
.wiz-panel h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 18px; }
.panel-note { color: var(--muted); margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field.wide, .wide { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field b { color: var(--danger); }
.input { width: 100%; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease; }
.input:focus { outline: 0; border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(128, 0, 0, .12); }
textarea.input { resize: vertical; }
.field-hint { font-size: .78rem; color: var(--muted); margin: 6px 0 0; }
.field-error { font-size: .8rem; color: var(--danger); margin: 6px 0 0; font-weight: 500; }
.has-error .input, .has-error .choice span, .has-error .file-drop { border-color: var(--danger); }
.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; text-align: center; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; transition: all .18s ease; }
.choice input:checked + span { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.course-summary { background: var(--blue-50); border: 1px solid #cfd6ff; border-radius: 16px; padding: 16px 18px; animation: fadeIn .3s ease; }
.cs-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; }
.cs-level { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--blue-800); color: #fff; padding: .3em .85em; border-radius: 999px; }
.cs-head strong { color: var(--maroon); font-size: 1.1rem; }
.course-summary ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.course-summary li small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.course-summary li span { font-weight: 600; font-size: .9rem; }
.file-drop { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 2px dashed var(--line); border-radius: 14px; cursor: pointer; transition: all .18s ease; background: var(--soft); }
.file-drop:hover, .file-drop:focus-within { border-color: var(--maroon); background: var(--maroon-50); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop .ic { color: var(--maroon); width: 1.6em; height: 1.6em; }
.file-text { display: flex; flex-direction: column; min-width: 0; }
.file-text strong { font-size: .88rem; }
.file-text small { color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-drop.has-file { border-style: solid; border-color: var(--ok); background: #eefaf2; }
.file-drop.has-file .ic { color: var(--ok); }
.review { margin: 24px 0; background: var(--soft); border-radius: 16px; padding: 18px 20px; }
.review h3 { font-size: 1rem; }
.review dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; margin: 0; font-size: .9rem; }
.review dt { color: var(--muted); } .review dd { margin: 0; font-weight: 600; word-break: break-word; }
.declaration { margin-top: 22px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--maroon); flex: none; }
.wiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.wiz-count { color: var(--muted); font-size: .85rem; font-weight: 600; margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .course-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
    .topbar-right, .menu { display: none; }
    .nav-toggle { display: block; }
    .nav-links { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 4px; padding: 20px; overflow-y: auto; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .22s ease; }
    .nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
    .nav-open { overflow: hidden; }
    .nav-links > a { padding: 1em; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .drawer-portals { display: grid; gap: 8px; margin-top: 18px; }
    .drawer-portals a { display: flex; gap: 10px; align-items: center; padding: 1em; background: var(--maroon-50); border-radius: 14px; color: var(--maroon); font-weight: 600; }
    .hero-inner, .about-grid, .spot-grid, .el-grid, .apply-grid, .visit-grid, .course-layout, .apply-layout { grid-template-columns: 1fr; }
    .spot-visual, .pay-card, .course-side .side-card, .apply-aside { position: static; }
    .apply-aside { order: 2; }
    .device { transform: none; }
    .hero-visual { max-width: 560px; }
    .leaders { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    .course-grid, .news-grid, .delivery, .mv, .docs ul { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .course-summary ul { grid-template-columns: 1fr; }
    .device-body { grid-template-columns: 1fr; }
    .demo-nav { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
    .stepper li em { display: none; }
    .review dl { grid-template-columns: 1fr; }
    .hide-sm { display: none; }
    .brand-sub { display: none; }
    .mobile-cta { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
    body { padding-bottom: 72px; }
    .fab-top { bottom: 84px; } .fab-wa { bottom: 140px; }
    .wiz-nav { flex-wrap: wrap; }
    .wiz-count { order: -1; width: 100%; text-align: center; }
    .wiz-nav .btn { flex: 1; }
}
@media (max-width: 520px) {
    .steps, .footer-grid { grid-template-columns: 1fr; }
    .hero-visual { grid-template-columns: 1fr 1fr; }
    .cc-foot { flex-direction: column; align-items: stretch; }
    .cc-actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal, .js .ht { opacity: 1; transform: none; }
    .ticker-track { animation: none; }
}
@media print {
    .topbar, .site-header, .site-footer, .mobile-cta, .fab, .ticker { display: none !important; }
}

/* Added: info alert used by the application form's "progress restored" notice */
.alert-info { background: var(--blue-50); color: var(--blue-800); border: 1px solid #cfd6ff; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.alert-info .link-btn { color: var(--blue-800); font-weight: 600; }
