@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/be-vietnam-pro-vietnamese-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/be-vietnam-pro-vietnamese-500-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/be-vietnam-pro-vietnamese-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/be-vietnam-pro-vietnamese-700-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/be-vietnam-pro-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/be-vietnam-pro-latin-500-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/be-vietnam-pro-latin-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/be-vietnam-pro-latin-700-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/playfair-display-vietnamese-700-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/playfair-display-latin-700-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/playfair-display-vietnamese-700-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/playfair-display-latin-700-italic.woff2) format('woff2');
}
/* Học viện Ảo thuật Việt Nam — "Sân khấu ban ngày"
   Nền sáng để phụ huynh đọc dễ; khối tối (sân khấu) chỉ dùng cho hero, đội ngũ và chân trang.
   Đỏ nhung lấy từ con mắt trong logo, vàng đèn sân khấu dùng tiết chế. */

:root {
  --ink: #15162a;
  --stage: #0d0e1c;
  --stage-2: #1a1b31;
  --velvet: #c8172b;
  --velvet-dark: #a10f20;
  --velvet-soft: #fbe9eb;
  --gold: #c9a24b;
  --paper: #f6f7fb;
  --surface: #ffffff;
  --muted: #5d6078;
  --line: #e2e4ec;
  --on-stage: #eceaf4;
  --on-stage-muted: #a9a8c2;
  --gold-deep: #9a7420;
  --gold-soft: #fbf3df;
  --blush: #fff3f4;
  --navy: #1f2a5c;
  --ok: #1f7a4d;

  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body: 'Be Vietnam Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--velvet); text-underline-offset: 3px; }
a:hover { color: var(--velvet-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
h1, h2, h3 { line-height: 1.18; text-wrap: balance; margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.serif-i { font-family: var(--display); font-style: italic; color: var(--velvet); }

.container { max-width: var(--max); margin-inline: auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 720px; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--velvet); }
.stage .eyebrow { color: var(--velvet); }
.muted { color: var(--muted); }

/* Nút */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--velvet); color: #fff; }
.btn-primary:hover { background: var(--velvet-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.stage .btn-ghost { color: var(--ink); background: #fff; }
.stage .btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-zalo { background: #0068ff; color: #fff; }
.btn-zalo:hover { background: #0052cc; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Khối sân khấu tối */
.stage {
  background:
    radial-gradient(ellipse 55% 65% at 88% 8%, rgba(200, 23, 43, 0.11), transparent 70%),
    radial-gradient(ellipse 50% 60% at 4% 100%, rgba(201, 162, 75, 0.22), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--blush) 100%);
  color: var(--ink);
}
.stage .muted, .stage p { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); color: var(--ink); padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid var(--line); box-shadow: 0 6px 24px -18px rgba(21, 22, 42, 0.35); }
.site-header .bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.93rem; font-weight: 500; padding: 8px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--velvet); background: var(--velvet-soft); }
.nav a.btn, .nav a.btn:hover { color: #fff; background: var(--velvet); }
.nav .btn { margin-left: 8px; min-height: 42px; padding: 0 18px; font-size: 0.93rem; }
.menu-toggle { display: none; margin-left: auto; }
.menu-toggle summary { list-style: none; cursor: pointer; padding: 10px; color: var(--ink); display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.menu-toggle summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 8px var(--gutter) 20px; display: grid; gap: 2px; border-top: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(21, 22, 42, 0.4); }
.menu-panel a { color: var(--ink); text-decoration: none; padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--line); }
.menu-panel .btn { margin-top: 12px; }
@media (max-width: 1220px) { .nav { display: none; } .menu-toggle { display: block; } }

/* Hero */
.hero { overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 32px; }
.hero-copy { padding-block: clamp(48px, 7vw, 96px); display: grid; gap: 22px; align-content: center; align-self: center; }
.hero-copy h1 { color: var(--ink); }
.hero-copy .lead { font-size: 1.15rem; max-width: 34em; margin: 0; color: var(--muted); }
.hero-art { position: relative; align-self: end; display: flex; justify-content: center; }
.hero-art::before { content: ''; position: absolute; left: 50%; bottom: 0; width: 120%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(circle at 50% 58%, rgba(201,162,75,0.45), rgba(200,23,43,0.10) 45%, transparent 65%); }
.hero-art img { position: relative; width: min(100%, 440px); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.9rem; color: var(--muted); }
.trust b { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-art img { width: min(78%, 340px); }
}

/* Thanh số liệu */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px -28px rgba(21, 22, 42, 0.45); margin-bottom: 40px; }
.stats div { padding: 20px 22px 22px; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats b { font-family: var(--display); font-size: 2rem; color: var(--velvet); line-height: 1; }
.stats span { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Chọn theo độ tuổi */
.age-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.age-card { display: grid; gap: 6px; padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.age-card:hover { border-color: var(--velvet); transform: translateY(-2px); color: var(--ink); }
.age-card b { font-family: var(--display); font-size: 1.9rem; color: var(--velvet); line-height: 1.1; }
.age-card span { color: var(--muted); font-size: 0.95rem; }
.age-card i { font-style: normal; font-weight: 600; font-size: 0.92rem; color: var(--velvet); margin-top: 6px; }
@media (max-width: 760px) { .age-grid { grid-template-columns: 1fr; } }

/* Thẻ khóa học — chi tiết lá bài: góc ghi độ tuổi như chỉ số lá bài */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.course-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.course-card:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 0 18px 40px -20px rgba(21, 22, 42, 0.35); }
.course-card .media { position: relative; aspect-ratio: 4 / 3; background: var(--gold-soft); }
.course-card .media img { width: 100%; height: 100%; object-fit: cover; }
.pip { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--velvet); border-radius: 8px; padding: 6px 9px; font: 700 0.82rem/1.05 var(--display); text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.18); }
.pip small { display: block; font: 600 0.62rem/1.2 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.badge-closed { position: absolute; top: 12px; right: 12px; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.course-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-card .code { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--velvet); }
.course-card h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 700; }
.course-card h3 a { color: var(--ink); text-decoration: none; }
.course-card h3 a::after { content: ''; position: absolute; inset: 0; }
.course-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.facts li { font-size: 0.8rem; font-weight: 500; background: var(--paper); border: 1px solid var(--line); padding: 3px 10px; border-radius: 99px; color: var(--ink); }
.price { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price b { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); font-size: 0.92rem; }
.price em { font-style: normal; font-size: 0.78rem; color: var(--velvet); font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: 500 0.92rem var(--body); padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; min-height: 42px; }
.filters button[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Ảnh + chữ */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: '✦'; position: absolute; left: 4px; top: 0; color: var(--gold); }

/* Lợi ích */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.benefit img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.benefit div { padding: 16px 18px 20px; }
.benefit h3 { margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: 0.93rem; margin: 0; }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }

/* Đội ngũ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.member { display: grid; gap: 10px; text-align: left; }
.avatar { aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(160deg, var(--gold-soft), var(--blush)); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.avatar span { font-family: var(--display); font-size: 2.4rem; color: var(--velvet); }
.member b { display: block; font-weight: 600; }
.member small { color: var(--muted); }
.stage .member small { color: var(--muted); }
.lead-member { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; margin-bottom: 48px; }
.lead-member img { border-radius: var(--radius); background: radial-gradient(circle at 50% 40%, #fff, var(--gold-soft) 70%); width: 100%; max-width: 420px; }
.lead-member blockquote { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.4; margin: 0 0 18px; color: var(--navy); }
@media (max-width: 820px) { .lead-member { grid-template-columns: 1fr; } }

/* Nhận xét */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 0; display: grid; gap: 14px; }
.quote p { font-size: 1.05rem; margin: 0; }
.quote p::before { content: '“'; font-family: var(--display); color: var(--velvet); font-size: 2.6rem; line-height: 0; vertical-align: -0.45em; margin-right: 4px; }
.quote footer { font-size: 0.9rem; color: var(--muted); }
.quote footer b { color: var(--ink); }

/* Đối tác */
.partners { display: flex; flex-wrap: wrap; gap: 10px; }
.partners span { border: 1px solid var(--line); background: var(--surface); padding: 8px 16px; border-radius: 99px; font-size: 0.92rem; font-weight: 500; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style-position: outside; }
.faq details[open] summary { color: var(--velvet); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Form */
.form-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); color: var(--ink); border-radius: 18px; padding: clamp(22px, 3.5vw, 36px); box-shadow: 0 24px 60px -30px rgba(13, 14, 28, 0.45); border: 1px solid var(--line); }
.form-card h3 { font-family: var(--display); font-size: 1.5rem; margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 0.88rem; font-weight: 600; }
.field label i, .field legend i { color: var(--velvet); font-style: normal; }
.field input, .field select, .field textarea {
  font: 400 1rem var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--velvet); background: #fff; }
.field input:user-invalid { border-color: var(--velvet); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.95rem; background: var(--paper); border: 1.5px solid var(--line); border-radius: 99px; padding: 8px 14px; cursor: pointer; min-height: 42px; }
.choices input { accent-color: var(--velvet); width: 18px; height: 18px; margin: 0; }
.choices label:has(input:checked) { border-color: var(--velvet); background: var(--velvet-soft); }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 12px; font-size: 0.95rem; font-weight: 500; }
.form-status[data-state='error'] { color: var(--velvet); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; margin-top: 18px; min-height: 52px; font-size: 1.05rem; }

/* Trang con */
.page-hero { padding-block: clamp(44px, 6vw, 72px) clamp(36px, 5vw, 56px); }
.page-hero h1 { color: var(--ink); max-width: 18em; }
.page-hero p.lead { max-width: 40em; font-size: 1.1rem; margin: 16px 0 0; }
.crumbs { font-size: 0.85rem; margin-bottom: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Chi tiết khóa học */
.course-hero .grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; padding-block: clamp(40px, 6vw, 72px); }
.course-hero img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .course-hero .grid { grid-template-columns: 1fr; } }
.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: -28px; position: relative; }
.spec div { background: var(--surface); padding: 16px 18px; display: grid; gap: 2px; }
.spec small { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.spec b { font-weight: 600; }
@media (max-width: 720px) { .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.course-layout aside { position: sticky; top: 92px; }
@media (max-width: 960px) { .course-layout { grid-template-columns: 1fr; } .course-layout aside { position: static; } }
.prose { font-size: 1.04rem; }
.prose h2 { font-size: 1.7rem; margin: 1.6em 0 0.6em; }
.prose h3 { margin: 1.4em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: 0.3em 0; }
.prose img { border-radius: 12px; margin: 1.2em 0; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--gold); color: var(--muted); }
.curriculum { list-style: none; padding: 0; margin: 0; counter-reset: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.curriculum li { padding: 14px 18px; border-top: 1px solid var(--line); }
.curriculum li:first-child { border-top: 0; }
.curriculum small { display: block; color: var(--muted); }
.price-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.price-box .now { font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.price-box s { color: var(--muted); }
.price-box .note { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* Lịch khai giảng */
.schedule { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 0.97rem; min-width: 640px; }
.schedule th, .schedule td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule th { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--paper); }
.schedule td.date { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.empty { background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; justify-items: start; }
.empty p { margin: 0; color: var(--muted); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { display: grid; gap: 12px; text-decoration: none; color: var(--ink); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; width: 100%; background: var(--line); }
.post-card h3 { font-family: var(--display); font-size: 1.35rem; }
.post-card:hover h3 { color: var(--velvet); }
.post-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.post-meta { font-size: 0.82rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.post-meta span + span::before { content: '·'; margin-right: 10px; }
.post-cover { border-radius: var(--radius); margin: -40px 0 32px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; position: relative; }

/* CTA cuối trang */
.cta-band { background: var(--velvet); color: #fff; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 40px; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { margin: 6px 0 0; color: #ffe3e6; }
.cta-band .btn-light { background: #fff; color: var(--velvet); }
.cta-band .btn-light:hover { background: var(--paper); color: var(--velvet-dark); }

/* Chân trang */
.site-footer { background: #121214; color: #c4c4cc; font-size: 0.93rem; border-top: 3px solid var(--velvet); }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-block: 56px 36px; }
.site-footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,0.14); padding-block: 18px 90px; font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (min-width: 761px) { .site-footer .legal { padding-bottom: 22px; } }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Thanh hành động dưới cùng trên điện thoại */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,0.97); border-top: 1px solid var(--line); padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); box-shadow: 0 -8px 24px -16px rgba(0,0,0,0.3); }
  .mobile-bar .btn { min-height: 46px; padding: 0 10px; font-size: 0.92rem; }
}

/* Thanh báo khi đang đăng nhập quản trị */
.admin-bar { background: var(--gold); color: var(--stage); font-size: 0.85rem; text-align: center; padding: 6px 16px; }
.admin-bar a { color: var(--stage); font-weight: 600; }
.prose figure { margin: 1.2em 0; }
.prose figcaption { font-size: 0.88rem; color: var(--muted); text-align: center; }
.prose code { background: var(--paper); padding: 1px 6px; border-radius: 4px; font-size: 0.92em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* ---- Giao diện sáng: chi tiết bổ sung ---- */
.brand .logo-dark { display: block; }
.site-footer .brand img { height: 54px; }
.legal-info { display: grid; gap: 6px; margin-top: 16px; font-size: 0.88rem; line-height: 1.55; }
.legal-info b { color: #fff; font-weight: 600; letter-spacing: 0.02em; }
.legal-info span { display: block; }
.section-tint { background: linear-gradient(180deg, var(--gold-soft), #fff); }
.age-card { border-top: 4px solid var(--velvet); }
.age-card:nth-child(2) { border-top-color: var(--gold); }
.age-card:nth-child(3) { border-top-color: var(--navy); }
.age-card:nth-child(2) b { color: var(--gold-deep); }
.age-card:nth-child(3) b { color: var(--navy); }
.stage .form-card { border-color: #f1dfe2; }
.lead-member .eyebrow + h2, .lead-member h1 { color: var(--ink); }
.ticks li::before { color: var(--velvet); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--gold-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery a:hover img { transform: scale(1.04); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--velvet-soft); color: var(--velvet-dark); border-radius: 99px; padding: 5px 12px; font-size: 0.88rem; font-weight: 500; }
.profile-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.profile-cols .box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.profile-cols h3 { margin-bottom: 10px; color: var(--velvet); }
.profile-cols ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 0.95rem; }
.member a { color: inherit; text-decoration: none; display: grid; gap: 10px; }
.member a:hover b { color: var(--velvet); }
.video-links { display: flex; flex-wrap: wrap; gap: 10px; }
.course-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 24px; list-style: none; padding: 0; margin: 0; }
.course-benefits li { position: relative; padding-left: 28px; }
.course-benefits li::before { content: '✓'; position: absolute; left: 4px; color: var(--ok); font-weight: 700; }
.nav a { white-space: nowrap; }
.nav { gap: 2px; }
@media (max-width: 480px) { .brand img { height: 38px; } }
.profile-cols { align-items: start; }
.prose img { width: auto; max-height: 460px; margin-inline: auto; display: block; }
.prose figure img { margin-bottom: 6px; }
