/* ==========================================================================
   WEI LI Mandarin — static site
   Brand colours (brief): #1d322b green · #c19556 gold · #ffffff
   Layout inspired by the "Lawyers – Life Coach" theme (dark green sections,
   serif headings, pale cards, rounded buttons). Written from scratch.
   ========================================================================== */

:root {
  --green: #1d322b;
  --green-700: #172a24;
  --green-800: #12211c;
  --green-600: #24403a;
  --green-line: rgba(246, 240, 227, .14);
  --gold: #c19556;
  --gold-600: #a97e41;
  --gold-200: #ead9bd;
  --cream: #f6f0e3;
  --cream-2: #efe4cf;
  --white: #ffffff;
  --text-light: rgba(255, 255, 255, .82);
  --text-muted: rgba(255, 255, 255, .62);
  --ink: #1d322b;
  --ink-soft: #4a5a54;
  --serif: 'Noto Serif', Georgia, 'Times New Roman', serif;
  --sans: 'PT Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --zh: 'Noto Serif SC', 'Songti SC', serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .22);
  --container: 1200px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.7 var(--sans);
  color: var(--text-light);
  background: var(--green);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--white); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.zh { font-family: var(--zh); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--gold); color: var(--green); padding: 10px 18px; border-radius: 50px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.7rem; border-radius: 50px; border: 0;
  font: 700 .95rem/1.2 var(--sans); cursor: pointer; text-align: center;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--green); box-shadow: 0 10px 24px rgba(193, 149, 86, .28); }
.btn-gold:hover { background: var(--gold-200); }
.btn-light { background: var(--white); color: var(--green); }
.btn-light:hover { background: var(--cream); }
.btn-dark { background: var(--green); color: var(--cream); }
.btn-dark:hover { background: var(--green-600); }
.btn-block { width: 100%; }

.eyebrow { font: 700 .78rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.eyebrow-light { color: var(--cream); }
.eyebrow-dark { color: var(--gold-600); }
.eyebrow-gold { color: var(--gold); }
.eyebrow .zh { font-size: 1rem; letter-spacing: .1em; margin-right: .4rem; color: var(--gold); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s; }
.site-header.is-solid { background: rgba(23, 42, 36, .97); box-shadow: 0 8px 26px rgba(0, 0, 0, .25); backdrop-filter: blur(6px); }
.topbar { font-size: .88rem; color: var(--text-light); border-bottom: 1px solid var(--green-line); transition: margin .3s, opacity .3s; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.topbar-info li, .topbar-info a { display: inline-flex; align-items: center; gap: .55rem; }
.topbar-info a:hover { color: var(--gold); }
.ic-round { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); color: var(--green); }
.ic-round svg { width: 14px; height: 14px; }
.ic-lg { width: 46px; height: 46px; }
.ic-lg svg { width: 20px; height: 20px; }
.site-header.is-solid .topbar { margin-top: -45px; opacity: 0; pointer-events: none; }

.lang-switch { display: inline-flex; flex: none; padding: 3px; border-radius: 50px; background: rgba(255, 255, 255, .08); border: 1px solid var(--green-line); }
.lang-opt { display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .7rem; border: 0; border-radius: 50px; background: none; color: var(--text-light); font-weight: 700; font-size: .8rem; cursor: pointer; transition: background .2s, color .2s; }
.lang-opt img { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.lang-opt:hover { color: var(--white); }
.lang-opt[aria-pressed="true"] { background: var(--cream); color: var(--green); }

.navbar-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand img { height: 58px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 1.8rem; margin-left: auto; }
.main-nav ul { display: flex; gap: 1.6rem; }
.main-nav ul a { position: relative; color: var(--white); font-weight: 700; font-size: .95rem; padding: .4rem 0; }
.main-nav ul a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.nav-cta { min-height: 42px; padding: .55rem 1.3rem; font-size: .9rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--green-line); border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--white); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 170px 0 110px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 33, 28, .78) 0%, rgba(29, 50, 43, .7) 55%, rgba(29, 50, 43, .95) 100%); }
.hero-inner { max-width: 880px; }
.hero h1 { margin-bottom: .4em; text-shadow: 0 6px 30px rgba(0, 0, 0, .25); }
.hero-lead { font-size: 1.15rem; color: var(--white); max-width: 680px; margin: 0 auto 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.hero-note { margin: 1.5rem 0 0; font-size: .85rem; color: var(--text-muted); }

/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-dark { background: var(--green); }
.section-darker { background: var(--green-700); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head p:last-child { color: var(--text-light); margin-bottom: 0; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4.5rem; align-items: center; }
.about-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.about-collage img { width: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-collage .c1 { grid-column: 2; grid-row: 1 / span 2; height: calc(100% - 50px); align-self: end; margin-top: 50px; }
.about-collage .c2 { grid-column: 1; grid-row: 1; aspect-ratio: 5 / 4; }
.about-collage .c3 { grid-column: 1; grid-row: 2; aspect-ratio: 5 / 4; }
.about-text p { color: var(--text-light); }
.check-list { margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--white); }
.check-list svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gold); color: var(--green); margin-top: 2px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 90px; text-align: center; }
.stat strong { display: block; font: 400 clamp(2.2rem, 4vw, 3.2rem)/1.1 var(--serif); color: var(--white); }
.stat span { display: block; margin-top: .6rem; color: var(--text-muted); font-size: .95rem; }

/* why us — cream cards */
.why { padding-top: 40px; }
.feature-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; background: var(--cream); color: var(--ink-soft); border-radius: var(--radius); padding: 48px; margin-bottom: 22px; }
.feature-card h3 { color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.feature-card img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius-sm); }
.feature-card-rev { grid-template-columns: 1.1fr 1fr; }
.feature-text p { margin-bottom: 1.8rem; }
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2.5rem; }
.pill-row li { display: inline-flex; align-items: center; gap: .6rem; padding: .65rem 1.2rem; border-radius: 50px; border: 1px solid var(--green-line); color: var(--white); font-weight: 700; font-size: .92rem; }
.pill-row svg { color: var(--gold); width: 18px; height: 18px; }

/* programmes */
.prog-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: start; }
.prog-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.prog-intro > p { color: var(--text-light); }
.goal-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 2rem; }
.goal-chips li { padding: .4rem .95rem; border-radius: 50px; background: rgba(193, 149, 86, .14); color: var(--gold-200); font-size: .88rem; font-weight: 700; }
.prog-photo { margin-top: 2.5rem; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.prog-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.prog-card { display: flex; flex-direction: column; padding: 18px 18px 24px; border: 1px solid rgba(246, 240, 227, .35); border-radius: var(--radius); background: var(--green-700); transition: border-color .25s, transform .25s; }
.prog-card:nth-child(even) { margin-top: 36px; }
.prog-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.prog-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 1.2rem; }
.prog-card h3 { margin-bottom: .45rem; }
.prog-card p { font-size: .95rem; color: var(--text-light); flex: 1; }
.link-more { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.link-more::after { content: '→'; transition: transform .2s; }
.link-more:hover::after { transform: translateX(4px); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; }
.step { background: var(--cream); color: var(--ink-soft); border-radius: var(--radius); padding: 28px 24px; }
.step:nth-child(even) { margin-top: 40px; }
.step h3 { color: var(--ink); font-size: 1.25rem; margin: 1rem 0 .5rem; }
.step p { margin: 0; font-size: .95rem; }
.step-no { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--cream); font: 600 1.2rem/1 var(--serif); }

/* pricing */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.5rem; }
.tabs [role="tab"] { padding: .7rem 1.25rem; border-radius: 50px; border: 1px solid rgba(246, 240, 227, .3); background: transparent; color: var(--white); font-weight: 700; font-size: .92rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tabs [role="tab"]:hover { border-color: var(--gold); }
.tabs [role="tab"][aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--green); }
.tab-panel { animation: fadeUp .35s ease both; }
.tab-panel[hidden] { display: none; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.price-card { display: flex; flex-direction: column; background: var(--cream); color: var(--ink-soft); border-radius: var(--radius); padding: 34px 32px; min-width: 0; }
.price-card h3, .signature-card h3 { color: var(--ink); font-size: 1.6rem; margin-bottom: .8rem; }
.price-kicker { font: 700 .76rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .6rem; }
.price-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.price-meta li { padding: .25rem .7rem; border-radius: 50px; background: var(--white); color: var(--ink); font-size: .82rem; font-weight: 700; border: 1px solid var(--cream-2); }
.table-scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 1.4rem; font-size: .96rem; }
.price-table th { text-align: left; font: 700 .76rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding: 0 .6rem .7rem 0; border-bottom: 2px solid var(--green); }
.price-table td { padding: .7rem .6rem .7rem 0; border-bottom: 1px solid var(--cream-2); color: var(--ink); }
.price-table td:last-child, .price-table th:last-child { text-align: right; padding-right: 0; }
.price-table td + td { font-weight: 700; white-space: nowrap; }
.price-table-4 th:not(:first-child), .price-table-4 td:not(:first-child) { text-align: right; }
.price-table-4 { min-width: 430px; }
.price-grid-single { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
.price-table-3 { min-width: 400px; }
.price-table tbody tr:hover td { background: rgba(193, 149, 86, .1); }
.table-note { font-size: .85rem; margin: -.6rem 0 1.4rem; }
.price-card .btn { margin-top: auto; }
.signature-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: center; background: var(--cream); color: var(--ink-soft); border-radius: var(--radius); padding: 34px; }
.signature-card img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius-sm); }
.from-price { margin: 0 0 1.4rem; color: var(--ink); }
.from-price strong { display: block; font: 400 2.2rem/1.2 var(--serif); color: var(--green); }
.price-foot { display: flex; align-items: center; gap: 1.6rem; margin-top: 2.5rem; padding: 22px 28px; border: 1px dashed rgba(246, 240, 227, .35); border-radius: var(--radius); }
.price-foot img { width: 78px; flex: none; }
.price-foot p { margin: 0; flex: 1; color: var(--text-light); font-size: .95rem; }
.price-foot .btn { flex: none; }

/* testimonials */
.testi-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: start; }
.testi-items { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.2rem; margin-top: 1rem; }
.testi { margin: 0; }
.testi-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .9rem; }
.testi-head strong { display: block; color: var(--white); font: 400 1.15rem/1.2 var(--serif); }
.testi-head span { font-size: .85rem; color: var(--text-muted); }
.quote-badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--green); flex: none; }
.quote-badge svg { width: 18px; height: 18px; }
.testi blockquote { margin: 0 0 .7rem; font-style: italic; color: var(--text-light); font-size: .97rem; }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.testi-photo { position: relative; }
.testi-photo > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.mascot-peek { position: absolute; width: 130px; left: -46px; bottom: -30px; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .35)); animation: bob 4s ease-in-out infinite; }

/* CTA */
.cta { padding: 100px 0; text-align: center; overflow: hidden; }
.cta-inner { position: relative; max-width: 760px; }
.cta-inner > p { color: var(--text-light); }
.cta-mascot { position: absolute; width: 150px; right: -190px; bottom: -30px; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); }
.cta-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.8rem; }
.pill-link { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.4rem; border-radius: 50px; background: var(--cream); color: var(--green); font-weight: 700; transition: background .2s, transform .2s; }
.pill-link svg { width: 18px; height: 18px; }
.pill-link:hover { background: var(--gold); transform: translateY(-2px); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.info-list { display: grid; gap: 1.6rem; margin-top: 2rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list strong { display: block; color: var(--white); font-family: var(--serif); font-weight: 400; font-size: 1.1rem; margin-bottom: .1rem; }
.info-list span, .info-list a { color: var(--text-light); }
.info-list a:hover { color: var(--gold); }
.contact-form { position: relative; background: var(--cream); color: var(--ink-soft); border-radius: var(--radius); padding: 38px 34px 34px; }
.contact-form h3 { color: var(--ink); font-size: 1.6rem; margin-bottom: .3rem; padding-right: 90px; }
.form-lead { font-size: .93rem; padding-right: 70px; }
.form-mascot { position: absolute; width: 96px; right: 18px; top: -40px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .25)); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: .35rem; font-size: .95rem; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid #d9ccb4; border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(29, 50, 43, .15); }
.field textarea { resize: vertical; min-height: 110px; }
.field.has-error input { border-color: #b3261e; }
.field-error { margin: .35rem 0 0; color: #b3261e; font-size: .85rem; font-weight: 700; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 2.6rem; cursor: pointer; }
.select-wrap svg { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--green); pointer-events: none; }

/* footer */
.site-footer { background: var(--green-800); padding: 50px 0 26px; font-size: .92rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--green-line); }
.footer-inner .brand img { height: 64px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; }
.footer-nav a { color: var(--text-light); font-weight: 700; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: 22px; color: var(--text-muted); }
.footer-bottom p { margin: 0; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); transition: transform .2s; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }
/* back-to-top: sits above the WhatsApp button, appears after scrolling */
.to-top { position: fixed; right: 29px; bottom: 92px; z-index: 90; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--green); box-shadow: 0 8px 22px rgba(0, 0, 0, .3); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); }

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

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .cta-mascot { right: -120px; width: 120px; }
}
@media (max-width: 1100px) {
  .main-nav ul { gap: 1.1rem; }
  .nav-cta { display: none; }
}
@media (max-width: 991px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: grid; }
  .lang-switch { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0; padding: 1rem 20px 1.6rem;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--green-700); box-shadow: 0 18px 30px rgba(0, 0, 0, .3);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .site-header:not(.is-solid) .main-nav { top: calc(var(--header-h) + 45px); }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--green-line); }
  .main-nav ul a::after { display: none; }
  .main-nav ul a.is-active { color: var(--gold); }
  .nav-cta { display: inline-flex; }
  .brand img { height: 50px; }
  .site-header { background: rgba(23, 42, 36, .9); }
  .section { padding: 80px 0; }
  .about-grid, .prog-grid, .testi-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .prog-intro { position: static; }
  .feature-card, .feature-card-rev, .signature-card { grid-template-columns: 1fr; padding: 32px; gap: 1.8rem; }
  .feature-card-rev img { order: 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(even) { margin-top: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 2.2rem 1rem; margin-top: 70px; }
  .testi-photo { max-width: 520px; }
  .cta-mascot { position: static; width: 110px; margin: 0 auto 1rem; }
  .hide-md { display: none !important; }
}
@media (max-width: 760px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-card { padding: 28px 22px; }
  .prog-cards { grid-template-columns: 1fr; }
  .prog-card:nth-child(even) { margin-top: 0; }
  .testi-items { grid-template-columns: 1fr; }
  .price-foot { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: min(var(--container), 100% - 32px); }
  .hide-sm { display: none !important; }
  .topbar-info { gap: 1rem; }
  .hero { padding: 150px 0 90px; min-height: 92svh; }
  .hero-lead { font-size: 1.02rem; }
  .hero-actions .btn { width: 100%; }
  .about-collage { gap: 10px; }
  .about-collage .c1 { margin-top: 26px; height: calc(100% - 26px); }
  .steps { grid-template-columns: 1fr; }
  .feature-card, .feature-card-rev, .signature-card { padding: 24px 20px; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 2rem; padding: 0 16px 6px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs [role="tab"] { flex: none; }
  .contact-form { padding: 32px 20px 24px; }
  .mascot-peek { left: -10px; width: 100px; }
  .footer-inner, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .to-top { right: 21px; bottom: 82px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* language switch: avoid an English flash while Indonesian is applied on load */
.i18n-pending body { opacity: 0; }

/* icon badges are <span>s: keep their own colours inside text lists */
.info-list .ic-round, .topbar-info .ic-round { color: var(--green); }
.testi-head .quote-badge { color: var(--green); }

/* ==========================================================================
   v2 — multipage, Font Awesome icons, full banner photo on mobile
   ========================================================================== */
.fa-solid, .fa-regular, .fa-brands { line-height: 1; }
.btn i { font-size: 1.05em; }
.eyebrow i { margin-right: .3rem; }
.center { text-align: center; margin: 2.5rem 0 0; }
.ic-round i { font-size: 13px; color: var(--green); }
.ic-lg i { font-size: 19px; }
.topbar-tag { margin: 0; display: inline-flex; align-items: center; gap: .5rem; color: var(--text-light); }
.topbar-tag i { color: var(--gold); }
.brand img { height: 54px; }

/* main nav: icons only in the mobile menu */
.main-nav ul a { display: inline-flex; align-items: center; gap: .5rem; }
.main-nav ul a i { display: none; color: var(--gold); width: 18px; text-align: center; }
.main-nav ul a.is-active { color: var(--gold-200); }
.nav-toggle i { font-size: 20px; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: inline-block; }

/* hero (home) + page hero (inner pages): photo behind text on desktop */
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-note i { color: var(--gold); margin-right: .25rem; }
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 190px 0 90px; text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 33, 28, .86), rgba(29, 50, 43, .82)); }
.page-hero .hero-bg { object-position: center 35%; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: .6rem; }
.page-hero-inner { max-width: 820px; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .55rem; padding: .45rem 1.1rem; border-radius: 50px; background: rgba(255, 255, 255, .08); border: 1px solid var(--green-line); font-size: .9rem; color: var(--gold-200); }
.breadcrumb a { display: inline-flex; align-items: center; gap: .4rem; color: var(--white); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .fa-angle-right { font-size: .75rem; color: var(--text-muted); }

/* lists & small components */
.check-list i { color: var(--gold); font-size: 1.15rem; margin-top: 4px; }
.goal-chips li { display: inline-flex; align-items: center; gap: .45rem; }
.goal-chips i { color: var(--gold); }
.stat i { display: block; font-size: 1.5rem; color: var(--gold); margin-bottom: .8rem; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-top > i { font-size: 1.6rem; color: var(--gold-600); }
.prog-img { position: relative; }
.prog-ic { position: absolute; left: 12px; bottom: 26px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--green); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.price-meta li { display: inline-flex; align-items: center; gap: .35rem; }
.price-meta i { color: var(--gold-600); font-size: .8em; }
.price-kicker i { margin-right: .2rem; }
.tabs [role="tab"] { display: inline-flex; align-items: center; gap: .45rem; }
.price-foot p i { color: var(--gold); margin-right: .25rem; }
.pill-link i { font-size: 1.1rem; }
.select-wrap > i { position: absolute; right: 16px; top: 50%; translate: 0 -50%; color: var(--green); pointer-events: none; font-size: .85rem; }
.field label i { color: var(--gold-600); margin-right: .2rem; }
.contact-form h3 i { color: var(--gold-600); font-size: .85em; }
.field-error i { margin-right: .2rem; }
.contact-lead { color: var(--text-light); max-width: 520px; }
.wa-float i { font-size: 30px; }
.to-top i { font-size: 18px; }

/* native teacher */
.native-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.native-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.native-intro > p { color: var(--text-light); }
.native-quote { position: relative; margin: 2rem 0 0; padding: 22px 24px 20px 26px; border-left: 3px solid var(--gold); background: rgba(255, 255, 255, .04); border-radius: 0 var(--radius) var(--radius) 0; }
.native-quote > i { color: var(--gold); font-size: 1.3rem; margin-bottom: .6rem; display: block; }
.native-quote p { font: italic 400 1.05rem/1.6 var(--serif); color: var(--white); margin-bottom: .5rem; }
.native-quote span { color: var(--text-muted); font-size: .9rem; }
.native-mascot { width: 120px; margin-top: 1.5rem; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .35)); }
.native-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.native-points li { display: flex; flex-direction: column; gap: .9rem; padding: 26px 24px; background: var(--cream); color: var(--ink-soft); border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.native-points li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.native-points h3 { color: var(--ink); font-size: 1.18rem; margin-bottom: .35rem; }
.native-points p { margin: 0; font-size: .95rem; }
.np-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--green); color: var(--gold); font-size: 1.35rem; }

/* testimonial cards */
.testi-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { position: relative; display: flex; flex-direction: column; margin: 0; padding: 34px 28px 26px; background: var(--cream); color: var(--ink-soft); border-radius: var(--radius); }
.testi-mark { position: absolute; right: 24px; top: 22px; font-size: 2.4rem; color: rgba(193, 149, 86, .35); }
.testi-card .stars { display: flex; gap: 3px; color: var(--gold); font-size: .85rem; margin-bottom: 1rem; }
.testi-card blockquote { margin: 0 0 1.4rem; font: italic 400 1rem/1.7 var(--serif); color: var(--ink); flex: 1; }
.testi-card figcaption { display: flex; align-items: center; gap: .85rem; padding-top: 1.1rem; border-top: 1px solid var(--cream-2); }
.avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--gold); font: 600 1.15rem/1 var(--serif); }
.testi-card strong { display: block; color: var(--ink); font: 400 1.08rem/1.25 var(--serif); }
.testi-card small { display: block; color: var(--ink-soft); font-size: .85rem; }
.testi-card small i { color: var(--gold-600); margin-right: .2rem; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.highlight { padding: 30px 26px; border: 1px solid var(--green-line); border-radius: var(--radius); text-align: center; }
.highlight i { font-size: 1.8rem; color: var(--gold); margin-bottom: 1rem; }
.highlight p { color: var(--text-light); margin: 0; }

/* about page */
.vm-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.vm-card { background: var(--cream); color: var(--ink-soft); border-radius: var(--radius); padding: 44px 40px; }
.vm-card h2 { color: var(--ink); font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.vm-card p:last-child { margin: 0; }
.vm-ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--green); color: var(--gold); font-size: 1.5rem; margin-bottom: 1.4rem; }
.mission-list { display: grid; gap: 1rem; }
.mission-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--green-line); border-radius: var(--radius-sm); color: var(--white); }
.mission-list i { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(193, 149, 86, .16); color: var(--gold); }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value { padding: 28px 20px; border-radius: var(--radius); background: var(--green-700); border: 1px solid var(--green-line); text-align: center; transition: border-color .25s, transform .25s; }
.value:hover { border-color: var(--gold); transform: translateY(-4px); }
.value i { font-size: 1.7rem; color: var(--gold); margin-bottom: 1rem; }
.value h3 { font-size: 1.12rem; }
.value p { color: var(--text-light); font-size: .92rem; margin: 0; }

/* classes page */
.class-types { display: grid; gap: .8rem; margin: 1.6rem 0 2rem; }
.class-types li { display: flex; gap: .9rem; align-items: center; padding: 12px 16px; border: 1px solid var(--green-line); border-radius: var(--radius-sm); }
.class-types i { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--green); }
.class-types strong { display: block; color: var(--white); font-family: var(--serif); font-weight: 400; }
.class-types span { font-size: .9rem; color: var(--text-light); }

/* footer (3 columns) */
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; padding-bottom: 34px; border-bottom: 1px solid var(--green-line); }
.footer-about .brand img { height: 66px; margin-bottom: 1.2rem; }
.footer-about p { color: var(--text-light); max-width: 360px; margin: 0; }
.footer-title { font-size: 1.15rem; margin-bottom: 1rem; }
.footer-links, .footer-contact { display: grid; gap: .6rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-light); }
.footer-links a i { color: var(--gold); font-size: .75rem; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: .7rem; color: var(--text-light); }
.footer-contact i { color: var(--gold); width: 16px; margin-top: 4px; text-align: center; }
.footer-contact a:hover { color: var(--gold); }

/* 404 */
.notfound { padding: 200px 0 120px; text-align: center; }
.notfound-inner { max-width: 620px; }
.notfound img { width: 140px; margin: 0 auto 1.5rem; }
.notfound p { color: var(--text-light); }

@media (max-width: 1100px) {
  .values { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .main-nav ul a i { display: inline-block; }
  .native-grid, .vm-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .native-intro { position: static; }
  .testi-cards, .highlight-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
/* Mobile: show the banner photo in full (no cropping), text below it */
@media (max-width: 760px) {
  .hero, .page-hero { display: block; min-height: 0; padding: 116px 0 0; text-align: center; }
  .hero::before, .page-hero::before { display: none; }
  .hero-media { position: relative; inset: auto; z-index: auto; }
  .hero-media .hero-bg { position: static; width: 100%; height: auto; object-fit: contain; }
  .hero-inner, .page-hero-inner { padding: 36px 0 60px; }
  .page-hero-inner { padding-bottom: 46px; }
  .hero h1 { text-shadow: none; }
  .native-points, .testi-cards, .highlight-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .vm-card { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .brand img { height: 46px; }
}

/* ==========================================================================
   v3 — Gallery dropdown, photo/video gallery with pagination + lightbox
   ========================================================================== */
/* dropdown (desktop: hover / focus) */
.main-nav .has-sub { position: relative; display: flex; align-items: center; }
.main-nav .sub-caret { display: inline-block !important; font-size: .65rem; color: var(--gold); margin-left: -.15rem; transition: transform .2s; }
.main-nav .has-sub:hover .sub-caret, .main-nav .has-sub.is-open .sub-caret { transform: rotate(180deg); }
/* "Gallery" only opens the sub-menu (it is not a link) */
.main-nav .sub-parent { position: relative; display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 0; border: 0; background: none; color: var(--white); font-weight: 700; font-size: .95rem; cursor: pointer; }
.main-nav .sub-parent i:first-child { display: none; color: var(--gold); width: 18px; text-align: center; }
.main-nav .sub-parent::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.main-nav .sub-parent:hover::after, .main-nav .sub-parent.is-active::after { transform: scaleX(1); }
.main-nav .sub-parent.is-active { color: var(--gold-200); }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: 50%; z-index: 60; min-width: 210px; margin-top: 14px; padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--cream); border-radius: var(--radius-sm); box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.main-nav .has-sub:hover .sub-menu, .main-nav .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .sub-menu a { display: flex; gap: .6rem; padding: .6rem .85rem; border-radius: 8px; color: var(--ink); font-size: .92rem; white-space: nowrap; }
.main-nav .sub-menu a::after { display: none; }
.main-nav .sub-menu a i { display: inline-block; color: var(--gold-600); }
.main-nav .sub-menu a:hover, .main-nav .sub-menu a.is-active { background: var(--cream-2); color: var(--ink); }

/* gallery switch (photos / videos) */
.gal-switch { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 0 2.4rem; }
.gal-switch a { display: inline-flex; align-items: center; gap: .55rem; padding: .65rem 1.25rem; border-radius: 50px; border: 1px solid var(--green-line); color: var(--white); font-weight: 700; font-size: .95rem; transition: background .2s, color .2s, border-color .2s; }
.gal-switch a i { color: var(--gold); }
.gal-switch a small { min-width: 26px; padding: 0 .45rem; border-radius: 50px; background: rgba(255, 255, 255, .1); font-size: .78rem; line-height: 1.6; text-align: center; }
.gal-switch a:hover { border-color: var(--gold); }
.gal-switch a.is-active { background: var(--gold); border-color: var(--gold); color: var(--green); }
.gal-switch a.is-active i { color: var(--green); }
.gal-switch a.is-active small { background: rgba(29, 50, 43, .15); }

/* photo grid */
.gal-grid, .vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* menu/link halaman yang dimatikan dari dashboard (live.js) */
[data-page][hidden], [data-page-group][hidden] { display: none !important; }
.gal-item[hidden], .vid-item[hidden] { display: none; }
.gal-link { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--green-700); aspect-ratio: 4 / 3; }
.gal-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal-cap {
  position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: .55rem; padding: 2.4rem 1.1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(18, 33, 28, .9)); color: var(--white); font-weight: 700; font-size: .95rem;
}
.gal-cap i { color: var(--gold); }
.gal-link:hover img, .gal-link:focus-visible img { transform: scale(1.06); }

/* video grid: thumbnail first, YouTube iframe loads on click */
.vid-item { display: flex; flex-direction: column; background: var(--cream); border-radius: var(--radius); overflow: hidden; }
.vid-play, .vid-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; cursor: pointer; overflow: hidden; }
.vid-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; opacity: .9; }
.vid-play:hover img { transform: scale(1.05); opacity: 1; }
.vid-btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--green); font-size: 1.3rem; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); transition: transform .2s; }
.vid-btn i { margin-left: 4px; }
.vid-play:hover .vid-btn { transform: scale(1.1); }
.vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-title { margin: 0; padding: 16px 20px 20px; color: var(--ink); font-size: 1.05rem; line-height: 1.4; }

/* pagination */
.pager { display: flex; flex-direction: column; align-items: center; gap: .9rem; margin-top: 2.8rem; }
.pager[hidden] { display: none; }
.pager-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pager button { min-width: 46px; height: 46px; padding: 0 .9rem; border-radius: 50px; border: 1px solid var(--green-line); background: rgba(255, 255, 255, .05); color: var(--white); font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.pager button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-200); }
.pager button[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--green); }
.pager button:disabled { opacity: .35; cursor: default; }
.pager-info { margin: 0; color: var(--text-muted); font-size: .9rem; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 20px; background: rgba(10, 18, 15, .94); }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .9rem; min-width: 0; }
.lb-img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; border-radius: var(--radius-sm); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.lb-cap { color: var(--gold-200); font-weight: 700; text-align: center; }
.lb-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--green-line); background: rgba(255, 255, 255, .08); color: var(--white); font-size: 1.15rem; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: var(--gold); color: var(--green); border-color: var(--gold); }
.lb-close { position: absolute; right: 18px; top: 18px; }
body.lb-open { overflow: hidden; }

/* home: highlight cards under the testimonials */
.highlights { padding-top: 0; background: var(--green-700); }
.highlight { background: rgba(255, 255, 255, .03); }

@media (max-width: 991px) {
  /* mobile menu: gallery opens as a nested list */
  .main-nav .has-sub { flex-wrap: wrap; }
  .main-nav ul a { display: flex; }
  .main-nav .sub-parent { display: flex; width: 100%; padding: .9rem 0; border-bottom: 1px solid var(--green-line); text-align: left; }
  .main-nav .sub-parent i:first-child { display: inline-block; }
  .main-nav .sub-parent::after { display: none; }
  .main-nav .sub-parent.is-active { color: var(--gold); }
  .main-nav .sub-caret { margin-left: auto !important; font-size: .8rem; }
  .main-nav .sub-menu { position: static; flex-basis: 100%; min-width: 0; margin: 0; padding: 0 0 0 1.4rem; background: none; box-shadow: none; border-radius: 0; transform: none; opacity: 1; visibility: visible; display: none; }
  .main-nav .sub-menu::before { display: none; }
  .main-nav .sub-menu, .main-nav .has-sub:hover .sub-menu, .main-nav .has-sub.is-open .sub-menu { transform: none; left: auto; }
  .main-nav .has-sub:hover .sub-caret { transform: none; }
  .main-nav .has-sub.is-open .sub-caret { transform: rotate(180deg); }
  .main-nav .has-sub.is-open .sub-menu { display: flex; }
  .main-nav .sub-menu a { padding: .8rem 0; border-radius: 0; color: var(--white); border-bottom: 1px solid var(--green-line); }
  .main-nav .sub-menu a:hover, .main-nav .sub-menu a.is-active { background: none; color: var(--gold); }
  .gal-grid, .vid-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 560px) {
  .gal-grid, .vid-grid { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 1fr 1fr; padding: 70px 12px 20px; }
  .lb-figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { justify-self: end; }
  .lb-next { justify-self: start; }
}

/* ==========================================================================
   v4 — light theme matching the "Weili visual mockup website 20oct":
   ivory + sage backgrounds, forest-green buttons, gold accents, white cards.
   Overrides the dark-green look above; the footer stays dark.
   ========================================================================== */
:root {
  --ivory: #faf7f0;
  --sage: #edf1ea;
  --sage-2: #e2e9de;
  --forest: #1f4a37;
  --forest-700: #173a2b;
  --forest-800: #12301f;
  --gold: #bf9255;
  --gold-600: #946a33;
  --line: #e7e0d1;
  --ink: #1d3a2f;
  --ink-soft: #56645d;
  --card-shadow: 0 14px 34px rgba(31, 74, 55, .08);
}
body { background: var(--ivory); color: var(--ink-soft); }
h1, h2, h3 { color: var(--ink); }
h1, h2 { font-weight: 600; }
:focus-visible { outline-color: var(--forest); }

/* sections */
.section-dark { background: var(--ivory); }
.section-darker { background: var(--sage); }
.section-head p:last-child, .about-text p, .prog-intro > p, .native-intro > p, .cta-inner > p,
.contact-lead, .price-foot p, .info-list span, .info-list a, .notfound p, .pager-info { color: var(--ink-soft); }
.eyebrow, .eyebrow-light, .eyebrow-gold { color: var(--gold-600); }
.eyebrow .zh { color: var(--gold); }

/* buttons: primary = forest green, secondary = white outline (as in the mockup) */
.btn-gold { background: var(--forest); color: #fff; box-shadow: 0 10px 24px rgba(31, 74, 55, .22); }
.btn-gold:hover { background: var(--forest-700); }
.btn-light { background: #fff; color: var(--forest); border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(31, 74, 55, .06); }
.btn-light:hover { background: var(--ivory); border-color: var(--gold); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-700); }

/* header */
.site-header { background: rgba(250, 247, 240, .96); border-bottom: 1px solid transparent; }
.site-header.is-solid { background: rgba(250, 247, 240, .97); border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(31, 74, 55, .08); }
.site-header .container { width: min(1320px, 100% - 40px); }
.topbar { color: var(--ink-soft); border-bottom-color: var(--line); }
.topbar-info a:hover { color: var(--forest); }
.ic-round, .info-list .ic-round, .topbar-info .ic-round { background: var(--sage); color: var(--forest); }
.ic-round i { color: var(--forest); }
.topbar-tag { color: var(--ink-soft); }
.topbar-tag i { color: var(--gold); }
.navbar-inner { gap: 1.2rem; }
.main-nav { gap: 1.2rem; }
.main-nav ul { gap: 1.35rem; }
.main-nav ul a, .main-nav .sub-parent { color: var(--ink); font-size: .93rem; }
.main-nav ul a.is-active, .main-nav .sub-parent.is-active { color: var(--forest); }
.lang-switch { background: #fff; border-color: var(--line); }
.lang-opt { color: var(--ink-soft); }
.lang-opt:hover { color: var(--ink); }
.lang-opt[aria-pressed="true"] { background: var(--forest); color: #fff; }
.nav-toggle { background: #fff; border-color: var(--line); color: var(--ink); }
.nav-login { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border: 1px dashed #d3c9b5; border-radius: 50px; color: var(--ink-soft); font-weight: 700; font-size: .86rem; cursor: not-allowed; white-space: nowrap; }
.nav-login i { color: var(--gold-600); }
.badge-soon { display: inline-block; padding: .1rem .5rem; border-radius: 50px; background: var(--gold); color: #fff; font: 700 .64rem/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase; }

/* inner page hero: light veil over the photo */
.page-hero::before { background: linear-gradient(180deg, rgba(250, 247, 240, .9), rgba(250, 247, 240, .82)); }
.page-hero h1 { color: var(--ink); }
.breadcrumb { background: #fff; border-color: var(--line); color: var(--gold-600); }
.breadcrumb a { color: var(--ink); }
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb .fa-angle-right { color: var(--ink-soft); }

/* home hero: text left, photo right */
.home-hero { padding: 160px 0 40px; background: radial-gradient(1200px 500px at 85% 20%, #f1ede2 0, transparent 60%), var(--ivory); overflow: hidden; }
.home-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center; }
.home-hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); line-height: 1.08; margin-bottom: .5em; }
.home-hero h1 .accent { display: block; color: var(--gold); }
.home-hero .hero-lead { color: var(--ink-soft); font-size: 1.08rem; margin: 0 0 2rem; max-width: 560px; }
.home-hero .hero-actions { justify-content: flex-start; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 62% 50%; border-radius: 28px; box-shadow: 0 30px 60px rgba(31, 74, 55, .16); }
.hero-callig { position: absolute; right: -10px; top: -22px; padding: 16px 20px 14px; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--card-shadow); text-align: center; }
.hero-callig .zh { display: block; font-size: 1.35rem; line-height: 1.35; color: var(--ink); letter-spacing: .08em; }
.hero-callig small { display: block; margin-top: .35rem; color: var(--ink-soft); font-size: .8rem; }
.hero-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; padding: 1.3rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--card-shadow); }
.hero-features li { display: flex; align-items: center; gap: .8rem; color: var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.3; }
.hero-features i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sage); color: var(--forest); font-size: 1.05rem; }

/* programme cards (4 across, as in the mockup) */
.prog-panel { background: var(--sage); border-radius: 28px; padding: 64px 40px; }
.prog4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prog4-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--card-shadow); transition: transform .25s, box-shadow .25s; }
.prog4-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(31, 74, 55, .14); }
.prog4-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.prog4-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 36px 22px 22px; }
.prog4-body .ic { position: absolute; left: 20px; top: -26px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #fff; font-size: 1.15rem; border: 3px solid #fff; }
.prog4-body h3 { font: 700 1.12rem/1.3 var(--sans); margin-bottom: .45rem; }
.prog4-body p { font-size: .93rem; flex: 1; margin-bottom: 1rem; }
.prog4-body small { display: block; margin: -.4rem 0 1rem; color: var(--gold-600); font-weight: 700; font-size: .82rem; }
.link-more { color: var(--forest); letter-spacing: .04em; text-transform: none; font-size: .92rem; }

/* cards that were cream on dark -> white on light */
.feature-card, .step, .price-card, .signature-card, .native-points li, .testi-card, .vm-card, .contact-form, .vid-item, .value, .highlight {
  background: #fff; border: 1px solid var(--line); box-shadow: var(--card-shadow);
}
.prog-card { background: #fff; border-color: var(--line); box-shadow: var(--card-shadow); }
.prog-card p, .value p, .highlight p { color: var(--ink-soft); }
.prog-ic, .np-ic, .vm-ic { background: var(--gold); color: #fff; }
.step-no { background: var(--forest); color: #fff; }
.step-top > i { color: var(--gold); }
.stat strong { color: var(--ink); }
.stat span { color: var(--ink-soft); }
.stats { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin-inline: auto; }
.check-list li, .mission-list li { color: var(--ink); }
.check-list i { color: var(--forest); }
.mission-list li { border-color: var(--line); background: #fff; }
.mission-list i { background: rgba(191, 146, 85, .16); color: var(--gold-600); }
.goal-chips li { background: rgba(191, 146, 85, .14); color: var(--gold-600); }
.goal-chips i { color: var(--gold-600); }
.class-types li { border-color: var(--line); background: #fff; }
.class-types i { background: var(--gold); color: #fff; }
.class-types strong { color: var(--ink); }
.class-types span { color: var(--ink-soft); }
.native-quote { background: #fff; border-left-color: var(--gold); }
.native-quote p { color: var(--ink); }
.native-quote span { color: var(--ink-soft); }
.avatar { background: var(--forest); color: #fff; }
.testi-mark { color: rgba(191, 146, 85, .3); }
.info-list strong { color: var(--ink); }
.info-list a:hover { color: var(--forest); }
.pill-link { background: #fff; color: var(--forest); border: 1px solid var(--line); }
.pill-link:hover { background: var(--forest); color: #fff; }
.price-foot { border-color: #d8cfbd; background: #fff; }
.price-foot p i { color: var(--gold); }

/* tabs, gallery switch, pager */
.tabs [role="tab"], .gal-switch a, .pager button { border-color: var(--line); background: #fff; color: var(--ink); }
.tabs [role="tab"][aria-selected="true"], .gal-switch a.is-active, .pager button[aria-current="page"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.gal-switch a.is-active i { color: #fff; }
.gal-switch a small { background: var(--sage); }
.gal-switch a.is-active small { background: rgba(255, 255, 255, .2); }
.pager button:hover:not(:disabled) { border-color: var(--gold); color: var(--forest); }
.gal-link { background: var(--sage); }
.vid-btn { background: var(--forest); color: #fff; }

/* back-to-top */
.to-top { background: var(--forest); color: #fff; }
.to-top:hover { background: var(--gold); }

/* footer stays dark green */
.site-footer { background: var(--forest-800); color: rgba(255, 255, 255, .82); }
.site-footer h3 { color: #fff; }

/* learning portal — coming soon */
.portal { background: linear-gradient(135deg, #eef1ec, #e4eae1); }
.portal-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: center; }
.portal .check-list { margin-bottom: 1.8rem; }
.btn-soon { background: #d6dcd3; color: #66736c; cursor: not-allowed; box-shadow: none; }
.btn-soon:hover { transform: none; }
.portal-mock { position: relative; padding: 16px; background: #22302a; border-radius: 26px; box-shadow: 0 30px 60px rgba(31, 74, 55, .22); }
.pm-screen { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; background: #fff; border-radius: 14px; overflow: hidden; }
.pm-side { padding: 18px 14px; background: var(--ivory); border-right: 1px solid var(--line); }
.pm-side img { width: 90px; margin-bottom: 1.2rem; }
.pm-side li { display: flex; align-items: center; gap: .5rem; padding: .45rem .5rem; border-radius: 8px; font-size: .78rem; color: var(--ink-soft); }
.pm-side li.on { background: var(--sage); color: var(--forest); font-weight: 700; }
.pm-main { padding: 20px; display: grid; gap: 14px; align-content: start; }
.pm-title { margin: 0; font: 600 1.05rem/1.3 var(--serif); color: var(--ink); }
.pm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pm-card { padding: 14px; border: 1px solid var(--line); border-radius: 12px; font-size: .78rem; color: var(--ink-soft); }
.pm-card strong { display: block; color: var(--ink); font-size: .95rem; margin: .2rem 0 .5rem; }
.pm-bar { height: 8px; border-radius: 8px; background: var(--sage); overflow: hidden; }
.pm-bar span { display: block; width: 60%; height: 100%; background: var(--forest); }
.pm-card.dark { background: var(--forest); border-color: var(--forest); color: rgba(255, 255, 255, .8); }
.pm-card.dark strong { color: #fff; }
.pm-line { height: 9px; border-radius: 6px; background: var(--sage); margin-top: 8px; }
.pm-line.short { width: 60%; }
.pm-tag { position: absolute; right: 22px; top: -12px; }

/* classes page: package guide + free trial note */
.guide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide-card { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); }
.guide-card h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.15rem; margin-bottom: 1rem; }
.guide-card h3 i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #fff; font-size: .95rem; }
.guide-card dl { margin: 0; display: grid; gap: .8rem; }
.guide-card dt { color: var(--ink); font-weight: 700; }
.guide-card dd { margin: .1rem 0 0; font-size: .94rem; }
.trial-note { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2.2rem; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); }
.trial-note > i { font-size: 1.4rem; color: var(--gold); margin-top: 3px; }
.trial-note h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.trial-note p { margin: 0; }

/* corporate page */
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.steps-5 .step:nth-child(even) { margin-top: 0; }
.corp-formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.corp-formats li { padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); }
.corp-formats h3 { font-size: 1.2rem; margin: 1rem 0 .4rem; }
.corp-formats p { margin: 0; font-size: .95rem; }
.proposal-list { display: grid; gap: .55rem; margin: 1.2rem auto 1.8rem; text-align: left; max-width: 520px; }
.proposal-list li { display: flex; gap: .65rem; color: var(--ink); }
.proposal-list i { color: var(--forest); margin-top: 5px; }
.cta .hero-actions { justify-content: center; }

@media (max-width: 1240px) {
  .nav-cta { display: none; }
}
@media (max-width: 1100px) {
  .prog4 { grid-template-columns: 1fr 1fr; }
  .steps-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .site-header { background: rgba(250, 247, 240, .97); }
  .main-nav { background: #fff; box-shadow: 0 18px 30px rgba(31, 74, 55, .14); }
  .main-nav ul a, .main-nav .sub-parent, .main-nav .sub-menu a { border-bottom-color: var(--line); color: var(--ink); }
  .main-nav ul a.is-active, .main-nav .sub-parent.is-active, .main-nav .sub-menu a:hover, .main-nav .sub-menu a.is-active { color: var(--forest); }
  .main-nav .nav-cta { display: inline-flex; }
  .nav-login { justify-content: center; }
  .home-hero { padding-top: 140px; }
  .home-hero-grid, .portal-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-features { grid-template-columns: 1fr 1fr; }
  .prog-panel { padding: 48px 24px; }
  .steps-5 { grid-template-columns: 1fr 1fr; }
  .corp-formats { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .home-hero { padding: 130px 0 20px; }
  .home-hero .hero-actions .btn { width: 100%; }
  .hero-callig { right: 10px; top: auto; bottom: -18px; padding: 10px 14px; }
  .hero-callig .zh { font-size: 1.05rem; }
  .page-hero { background: var(--ivory); }
  .page-hero h1 { color: var(--ink); }
  .prog4 { grid-template-columns: 1fr; }
  .guide { grid-template-columns: 1fr; }
  .pm-screen { grid-template-columns: 1fr; }
  .pm-side { display: none; }
}
@media (max-width: 560px) {
  .hero-features { grid-template-columns: 1fr; gap: .8rem; }
  .steps-5 { grid-template-columns: 1fr; }
  .prog-panel { padding: 40px 16px; border-radius: 20px; }
  .portal-mock { padding: 10px; border-radius: 18px; }
  .pm-cards { grid-template-columns: 1fr; }
  .trial-note { flex-direction: column; gap: .6rem; }
  .stats { grid-template-columns: 1fr; }
}
.prog-grid .guide { grid-template-columns: 1fr; }
.home-hero h1 { font-size: clamp(2.3rem, 4vw, 3.35rem); }
.prog4-card > img.pos-top { object-position: center 18%; }

/* announcement page */
.ann-upcoming { margin: 0 auto 2.6rem; padding: 26px 28px 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); }
.ann-upcoming[hidden] { display: none; }
.ann-upcoming h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.ann-upcoming h3 i { color: var(--gold); }
.ann-table { min-width: 820px; }
.ann-table th:last-child, .ann-table td:last-child { text-align: left; }
.ann-table td + td { font-weight: 400; }
.ann-table td:first-child, .ann-table td:nth-child(2) { font-weight: 700; white-space: nowrap; }
.ann-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ann-card { display: flex; flex-direction: column; padding: 26px 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); }
.ann-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.ann-card p:not(.ann-meta) { flex: 1; font-size: .96rem; }
.ann-meta { display: flex; align-items: center; gap: .7rem; margin: 0 0 .8rem; font-size: .85rem; color: var(--ink-soft); }
.ann-tag { padding: .15rem .65rem; border-radius: 50px; background: rgba(191, 146, 85, .16); color: var(--gold-600); font-weight: 700; }
.ann-source { margin: 1.8rem 0 0; font-size: .88rem; color: var(--ink-soft); }
.ann-source i { color: var(--gold); }
.ann-source a { color: var(--forest); font-weight: 700; }
.ann-empty { grid-column: 1 / -1; text-align: center; }
@media (max-width: 760px) {
  .ann-list { grid-template-columns: 1fr; }
  .ann-upcoming { padding: 22px 18px 4px; }
}

/* ==========================================================================
   v5 (23 Oct) — classes without tabs, team profiles, FAQ
   ========================================================================== */
/* nav: more items now (Our Team, FAQ) */
@media (max-width: 1200px) and (min-width: 992px) {
  .main-nav ul { gap: .95rem; }
  .main-nav ul a { font-size: .88rem; }
  .navbar-inner { gap: .8rem; }
  .brand img { height: 48px; }
}

/* classes — three questions */
.choose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.choose-card { position: relative; padding: 30px 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); }
.choose-no { position: absolute; top: -18px; left: 24px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #fff; font: 700 1.05rem/1 var(--serif); border: 3px solid var(--ivory); }
.choose-card h3 { font-size: 1.2rem; margin: .4rem 0 1rem; }
.choose-card li { padding: .75rem 0; border-top: 1px solid var(--line); font-size: .94rem; }
.choose-card li strong { display: block; color: var(--ink); margin-bottom: .15rem; }
.choose-card li a { color: var(--forest); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* GO vs POWER */
.pkg-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; max-width: 900px; margin: 48px auto 0; }
.pkg { padding: 26px 26px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); text-align: center; }
.pkg-power { background: var(--forest); border-color: var(--forest); color: rgba(255, 255, 255, .85); }
.pkg-name { margin: 0; font: 700 .8rem/1.4 var(--sans); letter-spacing: .18em; color: var(--gold-600); }
.pkg-power .pkg-name { color: var(--gold); }
.pkg-big { margin: .2rem 0 .8rem; font: 600 2.2rem/1.1 var(--serif); color: var(--ink); }
.pkg-big small { font: 700 .9rem var(--sans); color: var(--ink-soft); }
.pkg-power .pkg-big, .pkg-power .pkg-big small { color: #fff; }
.pkg .price-meta { justify-content: center; margin-bottom: .9rem; }
.pkg-power .price-meta li { background: rgba(255, 255, 255, .12); border-color: transparent; color: #fff; }
.pkg-power .price-meta i { color: var(--gold); }
.pkg p:last-child { margin: 0; font-size: .93rem; }
.pkg-vs { font: italic 600 1.2rem var(--serif); color: var(--gold-600); }

/* sticky jump bar */
.class-jump { position: sticky; top: var(--header-h); z-index: 50; background: rgba(250, 247, 240, .96); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.class-jump .container { display: flex; gap: .5rem; justify-content: center; padding: .7rem 0; overflow-x: auto; scrollbar-width: none; }
.class-jump .container::-webkit-scrollbar { display: none; }
.class-jump a { flex: none; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1.05rem; border-radius: 50px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .9rem; transition: background .2s, color .2s, border-color .2s; }
.class-jump a i { color: var(--gold-600); }
.class-jump a:hover, .class-jump a.is-current { background: var(--forest); border-color: var(--forest); color: #fff; }
.class-jump a:hover i, .class-jump a.is-current i { color: var(--gold); }
.price-section { scroll-margin-top: calc(var(--header-h) + 70px); }
#signature, #choose { scroll-margin-top: calc(var(--header-h) + 70px); }

/* price sections */
.ps-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 1.8rem; }
.ps-head h2 { margin-bottom: .3rem; }
.ps-head p:last-child { margin: 0; max-width: 620px; }
.ps-from { flex: none; margin: 0; padding: 14px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: right; font-size: .88rem; color: var(--ink-soft); }
.ps-from strong { display: block; font: 600 1.45rem/1.2 var(--serif); color: var(--forest); }
.ps-card { padding: 26px 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); min-width: 0; }
.ps-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.ps-card h3 i { color: var(--gold); margin-right: .2rem; }
.ps-two { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; align-items: start; }
.ps-note { margin: 1rem 0 0; font-size: .88rem; }
.ps-note i { color: var(--gold); }
.ps-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }

.ptable { width: 100%; border-collapse: collapse; font-size: .96rem; }
.ptable th, .ptable td { padding: .8rem .7rem; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ptable thead th { font: 700 .74rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 2px solid var(--forest); }
.ptable .ph-group th { border-bottom: 0; padding-bottom: .2rem; font-size: .8rem; letter-spacing: .12em; color: var(--forest); }
.ptable .ph-group .pg-go, .ptable .ph-group .pg-pw { text-align: center; }
.ptable .ph-group .pg-go span, .ptable .ph-group .pg-pw span { display: block; padding: .3rem; border-radius: 8px; background: var(--sage); }
.ptable .ph-group .pg-pw span { background: var(--forest); color: #fff; }
.ptable th:first-child { text-align: left; padding-left: 0; }
.ptable tbody th { color: var(--ink); font-weight: 700; }
.ptable td { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.ptable tbody tr:hover > * { background: rgba(191, 146, 85, .08); }
.ptable .rl { display: none; }
.pt-native td:last-child { color: var(--forest); }
.group-total { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.2rem; padding: 16px 18px; background: #fbf5ea; border: 1px solid #ecd9b8; border-left: 4px solid var(--gold); border-radius: var(--radius-sm); }
.group-total > i { font-size: 1.4rem; color: var(--gold-600); margin-top: 2px; }
.group-total p { margin: 0; color: var(--ink); }
.group-total strong { display: block; font-size: .82rem; letter-spacing: .08em; color: var(--gold-600); margin-bottom: .15rem; }

/* signature teaser */
.sig-teaser { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--card-shadow); }
.sig-img { position: relative; }
.sig-img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 18px; }
.sig-badge { position: absolute; left: 16px; top: 16px; padding: .4rem .9rem; border-radius: 50px; background: var(--forest); color: #fff; font-weight: 700; font-size: .85rem; }
.sig-badge i { color: var(--gold); }
.sig-price { display: flex; gap: 1rem; align-items: flex-start; margin: 0 0 1.6rem; padding: 16px 18px; border: 1px dashed var(--gold); border-radius: var(--radius-sm); background: var(--ivory); }
.sig-price > i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #fff; }
.sig-price p { margin: 0; font-size: .95rem; }
.sig-price strong { display: block; font: 600 1.15rem/1.3 var(--serif); color: var(--ink); margin-bottom: .2rem; }
#signature .price-foot { margin-top: 2.2rem; }

/* team */
.tm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1040px; margin: 0 auto; }
.tm-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--card-shadow); scroll-margin-top: calc(var(--header-h) + 30px); }
.tm-photo { position: relative; aspect-ratio: 4 / 5; max-height: 420px; display: grid; place-items: center; background: linear-gradient(160deg, var(--sage) 0%, #e4ebe0 55%, #f3ead9 100%); border-bottom: 1px solid #ecd9b8; }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.tm-mono { display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); color: var(--forest); font: 600 2.4rem/1 var(--serif); letter-spacing: .04em; box-shadow: var(--card-shadow); }
.tm-seal { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid #b8432f; border-radius: 6px; color: #b8432f; font: 600 1.25rem/1 var(--zh); background: rgba(255, 255, 255, .6); }
.tm-body { padding: 24px 26px 26px; }
.tm-body h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.tm-body h3 .zh { font-size: 1.05rem; color: var(--gold-600); margin-left: .3rem; white-space: nowrap; }
.tm-role { margin: 0 0 1rem; padding-bottom: .9rem; border-bottom: 1px solid #ecd9b8; font: 700 .76rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }
.tm-body p:last-child, .tm-body .link-more { margin-bottom: 0; }
.tm-card-row { flex-direction: row; }
.tm-card-row .tm-photo { width: 38%; flex: none; aspect-ratio: auto; max-height: none; border-bottom: 0; border-right: 1px solid #ecd9b8; }
.tm-card-row .tm-mono { width: 84px; height: 84px; font-size: 1.8rem; }
.tm-card-row .tm-body p:not(.tm-role) { font-size: .95rem; }
.tm-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
.tm-mini a { display: flex; align-items: center; gap: 1rem; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .2s; }
.tm-mini a:hover { border-color: var(--gold); transform: translateY(-2px); }
.tm-mini .tm-mono { width: 56px; height: 56px; font-size: 1.2rem; flex: none; box-shadow: none; }
.tm-mini strong { display: block; color: var(--ink); font-family: var(--serif); font-weight: 600; }
.tm-mini strong .zh { color: var(--gold-600); font-size: .9em; }
.tm-mini small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: .4rem; }
.faq-nav a { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-radius: var(--radius-sm); color: var(--ink); font-weight: 700; font-size: .95rem; border: 1px solid transparent; }
.faq-nav a i { color: var(--gold-600); width: 18px; text-align: center; }
.faq-nav a:hover { background: #fff; border-color: var(--line); }
.faq-group { margin-bottom: 2.6rem; scroll-margin-top: calc(var(--header-h) + 30px); }
.faq-group > h2 { font-size: 1.5rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.faq-group > h2 i { color: var(--gold); font-size: 1.1rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #d9c49f; box-shadow: var(--card-shadow); }
.faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; color: var(--ink); font-weight: 700; font-size: 1rem; line-height: 1.45; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 18px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: var(--forest); font: 700 1.1rem/1 var(--sans); transition: transform .2s; }
.faq-item[open] summary::after { content: '−'; background: var(--forest); color: #fff; }
.faq-item .faq-a { padding: 0 22px 18px; }
.faq-item .faq-a p { margin: 0 0 .7rem; }
.faq-item .faq-a p:last-child { margin: 0; }
.faq-item .faq-a a { color: var(--forest); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 991px) {
  .choose-grid { grid-template-columns: 1fr; gap: 30px; max-width: 640px; margin: 0 auto; }
  .ps-two { grid-template-columns: 1fr; }
  .sig-teaser { grid-template-columns: 1fr; gap: 1.8rem; padding: 24px; }
  .faq-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .faq-nav { position: static; display: flex; flex-wrap: wrap; }
  .faq-nav a { background: #fff; border-color: var(--line); border-radius: 50px; padding: .5rem .95rem; font-size: .88rem; }
}
@media (max-width: 760px) {
  .ps-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .ps-from { text-align: left; }
  .pkg-compare { grid-template-columns: 1fr; gap: 10px; }
  .pkg-vs { text-align: center; }
  .class-jump .container { justify-content: flex-start; width: 100%; padding-inline: 16px; }
  .tm-grid { grid-template-columns: 1fr; gap: 22px; }
  .tm-card-row { flex-direction: column; }
  .tm-card-row .tm-photo { width: auto; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid #ecd9b8; }
  .tm-photo { max-height: 340px; }
  .tm-mini { grid-template-columns: 1fr; }

  /* price tables become labelled cards */
  .ps-card { padding: 20px 16px; }
  .ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; width: 100%; }
  .ptable thead { display: none; }
  .ptable tr { margin-bottom: 12px; padding: 12px 14px 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ivory); }
  .ptable tbody tr:hover > * { background: none; }
  .ptable tbody th { padding: 0 0 .5rem; margin-bottom: .2rem; border-bottom: 1px solid var(--line); font: 600 1.05rem var(--serif); }
  .ptable td { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; text-align: right; white-space: normal; }
  .ptable td:last-child { border-bottom: 0; }
  .ptable .rl { display: block; text-align: left; font: 700 .78rem/1.4 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
  .ptable .rv { white-space: nowrap; }
  .ps-actions .btn { width: 100%; }
}
.ps-two { grid-template-columns: 1fr; }
.tm-photo:not(:has(img)) { aspect-ratio: auto; height: 220px; } /* monogram placeholder until portraits arrive */
/* GO card matches the POWER card height */
.pkg-compare { align-items: stretch; }
.pkg { display: flex; flex-direction: column; justify-content: center; }
.pkg-vs { align-self: center; }
/* inner-page header photos: same size on every page, whatever the photo shape */
@media (max-width: 760px) {
  .page-hero .hero-media .hero-bg { aspect-ratio: 5 / 4; object-fit: cover; }
}
body[data-page="team"] .page-hero .hero-bg { object-position: center 25%; }
/* portrait photos: stay inside the frame (4:5, faces near the top) */
.tm-photo { overflow: hidden; }
.tm-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.tm-card-row .tm-photo { min-height: 240px; }
.tm-mono-photo { object-fit: cover; object-position: center 15%; padding: 0; background: var(--sage); }

/* team cards — compact portraits (24 Oct): photo beside the text on desktop,
   small portrait above the text on phones; always 4:5 */
.tm-card, .tm-card-row { flex-direction: row; align-items: flex-start; gap: 22px; padding: 22px; }
.tm-photo, .tm-card-row .tm-photo, .tm-photo:not(:has(img)) {
  flex: none; width: 168px; height: auto; min-height: 0; max-height: none; aspect-ratio: 4 / 5;
  border: 1px solid #ecd9b8; border-radius: 14px;
}
.tm-card-row .tm-photo { width: 132px; }
.tm-body, .tm-card-row .tm-body { flex: 1; min-width: 0; padding: 0; }
.tm-body h3 { font-size: 1.25rem; }
.tm-mono, .tm-card-row .tm-mono { width: 72px; height: 72px; font-size: 1.5rem; }
.tm-seal { right: 10px; bottom: 10px; width: 32px; height: 32px; font-size: 1rem; }
@media (max-width: 760px) {
  .tm-card, .tm-card-row { flex-direction: column; gap: 16px; padding: 20px; }
  .tm-photo, .tm-card-row .tm-photo, .tm-photo:not(:has(img)) { width: 128px; border-bottom: 1px solid #ecd9b8; border-right: 1px solid #ecd9b8; }
}

/* team grid: one card in a group = one full-width column, more = two columns */
.tm-grid.tm-grid--single, .tm-grid:has(> .tm-card:only-child) { grid-template-columns: 1fr; }

/* ---------- Tahap 1: HSK Anak & Remaja, tombol link per level ---------- */
.hsk-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.hsk-link { display: inline-flex; align-items: center; gap: .35rem; padding: .18rem .65rem; border: 1px solid var(--gold); border-radius: 999px; font: 700 .76rem/1.5 var(--sans); letter-spacing: 0; text-transform: none; color: var(--gold-600); white-space: nowrap; }
.hsk-link:hover { background: var(--gold); color: #fff; }
.prog4-body .prog4-extra { margin-top: .35rem; }
.kids-callout { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; margin-top: 1.4rem; padding: 22px 28px; background: #fff; border: 1px solid var(--gold); border-radius: var(--radius); color: var(--ink); }
.kids-callout strong { font-size: 1.1rem; }
.kids-callout p { margin: .2rem 0 0; color: var(--ink-soft); }
.kids-callout .btn { flex: none; }
.kids-hero-cta { margin: 1.6rem 0 0; }
.ladder { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 10px; margin-bottom: 18px; }
.ladder-btn { min-height: calc(92px + var(--step) * 24px); display: flex; flex-direction: column; justify-content: flex-end; gap: .1rem; padding: 14px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-family: var(--sans); text-align: left; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ladder-btn strong { font-size: 1.05rem; }
.ladder-btn small { font-size: .84rem; color: var(--ink-soft); }
.ladder-btn:hover { border-color: var(--gold); }
.ladder-btn[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.ladder-btn[aria-selected="true"] small { color: var(--gold-200); }
.ladder-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ladder-panel { color: var(--ink); margin-bottom: 18px; }
.ladder-panel[hidden] { display: none; }
.ladder-panel h3 { margin-bottom: .8rem; }
.ladder-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 2rem; margin: 0; }
.ladder-stats dt { font-size: .9rem; color: var(--ink-soft); }
.ladder-stats dd { margin: .15rem 0 0; font: 700 1.6rem/1.3 var(--serif); color: var(--ink); }
.ladder-stats dd small { font: 400 .92rem var(--sans); color: var(--ink-soft); }
.ladder-panel .hsk-links { margin-top: 1.1rem; }
.kids-note { display: flex; gap: .9rem; padding: 18px 22px; background: rgba(193, 149, 86, .14); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); }
.kids-note > i { color: var(--gold-600); margin-top: .35rem; }
.kids-note p { margin: .15rem 0 0; font-size: .95rem; color: var(--ink-soft); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { color: var(--ink); }
.why-card > i { color: var(--gold); font-size: 1.5rem; margin-bottom: .7rem; }
.why-card p { margin: 0; color: var(--ink-soft); }
.kids-faq { max-width: 820px; }
.kids-end { max-width: 720px; text-align: center; }
@media (max-width: 760px) {
  .ladder { grid-template-columns: repeat(3, 1fr); }
  .ladder-btn { min-height: 76px; }
  .ladder-stats, .why-grid { grid-template-columns: 1fr; }
  .kids-callout { flex-direction: column; align-items: flex-start; padding: 20px; }
}

/* ---------- halaman Informasi HSK 3.0 ---------- */
.skill-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; }
.skill-list li { display: flex; align-items: center; gap: .55rem; padding: .65rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 700; }
.skill-list i { color: var(--gold); }
.info-scroll { overflow-x: auto; }
.info-table { width: 100%; border-collapse: collapse; color: var(--ink); font-size: .96rem; }
.info-table th, .info-table td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); text-align: right; font-weight: 400; }
.info-table thead th { font-weight: 700; font-size: .84rem; color: var(--ink-soft); }
.info-table th:first-child { text-align: left; font-weight: 700; padding-left: 0; }
.info-table td:last-child { padding-right: 0; }
.info-compare { min-width: 620px; }
.info-compare thead th[colspan] { text-align: center; }
.info-table tr.is-total th, .info-table tr.is-total td { border-bottom: 0; font-weight: 700; }
.exam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.exam-card { scroll-margin-top: calc(var(--header-h) + 24px); color: var(--ink); }
.exam-card:target { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.hsk3-src { margin: 1.4rem 0 0; font-size: .9rem; text-align: center; color: var(--ink-soft); }
@media (max-width: 991px) { .exam-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .exam-grid { grid-template-columns: 1fr; } }
.info-compare thead tr + tr th:first-child { text-align: right; font-weight: 700; padding-left: .7rem; }
.set-line { display: block; }
[data-set][hidden] { display: none; }
.ann-table .ann-prep-cell { text-align: right; white-space: nowrap; }
.ann-prep { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; border: 1px solid var(--gold); border-radius: 999px; font: 700 .8rem/1.4 var(--sans); color: var(--gold-600); white-space: nowrap; }
.ann-prep:hover { background: var(--gold); color: #fff; }
.ann-official { margin: -.8rem 0 1.4rem; font-size: .88rem; color: var(--ink-soft); }
.ann-official i { color: var(--gold); margin-right: .2rem; }
.ann-official a { color: var(--forest); font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
