/* =========================================================
   Trung tâm Phát triển quỹ đất chi nhánh Long Thành
   Landing page đào tạo · https://ttptqd.edu.vn
   Ý tưởng thị giác: giấy bản đồ địa chính + mực in kỹ thuật
   + cam cọc mốc trắc địa + xanh lớp dữ liệu GIS
   ========================================================= */

:root {
  --ink: #0d1a2b;
  --ink-2: #14253b;
  --ink-3: #1d3350;
  --paper: #f6f2e9;
  --paper-2: #ede6d6;
  --paper-3: #e2d8c3;
  --line: rgba(13, 26, 43, 0.12);
  --line-strong: rgba(13, 26, 43, 0.22);
  --muted: #5a6575;
  --survey: #f26a1b;
  --survey-2: #d95510;
  --survey-soft: #ffe6d5;
  --gis: #19b3a6;
  --gis-soft: #d6f3ef;
  --leaf: #3d8a57;
  --white: #ffffff;

  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(13, 26, 43, 0.06), 0 8px 24px rgba(13, 26, 43, 0.06);
  --shadow-2: 0 2px 6px rgba(13, 26, 43, 0.08), 0 24px 60px rgba(13, 26, 43, 0.14);
  --container: 1240px;
  --nav-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
body { overflow-x: clip; }
.hero__inner > *, .prog > *, .about__grid > *, .contact__grid > *, .faq__grid > *, .custom__card > *, .intake__grid > * { min-width: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.18; letter-spacing: -0.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--survey); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--survey); outline-offset: 3px; border-radius: 6px; }

/* ---------- Nhãn & tiêu đề dùng chung ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--survey-2);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
}
.eyebrow--light { color: #ffb48a; }

.section { padding: 112px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.075rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.hl { color: var(--survey); }
.hl-gis { color: var(--gis); }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--survey); color: #fff; box-shadow: 0 10px 24px rgba(242, 106, 27, 0.32); }
.btn--primary:hover { background: var(--survey-2); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* =========================================================
   THANH ĐIỀU HƯỚNG
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
  color: #fff;
}
.nav.is-scrolled {
  background: rgba(246, 242, 233, 0.9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.brand__name { font-weight: 800; font-size: 14.5px; letter-spacing: 0.01em; text-transform: uppercase; }
.brand__sub { font-size: 12.5px; font-weight: 500; opacity: 0.75; }

.nav__links { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.nav__links a {
  padding: 10px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; opacity: 0.86;
  transition: opacity .2s ease, background-color .2s ease;
}
.nav__links a:hover { opacity: 1; background: rgba(255, 255, 255, 0.08); }
.nav.is-scrolled .nav__links a:hover { background: rgba(13, 26, 43, 0.06); }

.nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-weight: 600; font-size: 14px;
  padding: 9px 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.22); white-space: nowrap;
}
.nav.is-scrolled .nav__phone { border-color: var(--line-strong); }
.nav__phone svg { width: 16px; height: 16px; color: var(--survey); }

.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: transparent; align-items: center; justify-content: center;
}
.nav.is-scrolled .nav__toggle { border-color: var(--line-strong); }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s ease, background-color .25s ease;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line);
  padding: 12px 24px 24px; display: none; box-shadow: var(--shadow-2);
}
.mobile-menu.is-open { display: block; }
.mobile-menu a:not(.btn) { display: block; padding: 14px 4px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(25, 179, 166, 0.16), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(242, 106, 27, 0.14), transparent 60%),
    var(--ink);
  padding: calc(var(--nav-h) + 72px) 0 0;
}
.hero__topo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center;
  padding-bottom: 96px;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, 0.88);
}
.hero__badge b {
  display: inline-flex; align-items: center; gap: 6px; background: var(--survey); color: #fff;
  padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.hero h1 {
  margin-top: 26px; font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em;
}
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--survey); }
.hero h1 .accent-gis {
  background: linear-gradient(90deg, #5fe0d4, var(--gis));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { margin-top: 24px; max-width: 580px; font-size: 1.125rem; color: rgba(255, 255, 255, 0.76); }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 26px;
}
.hero__fact { padding-right: 30px; margin-right: 30px; border-right: 1px solid rgba(255, 255, 255, 0.12); }
.hero__fact:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__fact b { display: block; font-size: 15.5px; font-weight: 700; }
.hero__fact span { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }

/* Khung ngắm ảnh hero */
.viewfinder { position: relative; }
.viewfinder__frame {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.4;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.12);
}
.viewfinder__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.04); }
.viewfinder__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 26, 43, 0) 50%, rgba(13, 26, 43, 0.75) 100%);
}
.vf-corner { position: absolute; width: 34px; height: 34px; border: 2px solid rgba(255, 255, 255, 0.85); z-index: 2; }
.vf-corner--tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.vf-corner--tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.vf-corner--bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.vf-corner--br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.vf-cross {
  position: absolute; left: 50%; top: 46%; width: 76px; height: 76px; transform: translate(-50%, -50%); z-index: 2;
  color: rgba(255, 255, 255, 0.9); pointer-events: none;
}
.vf-hud {
  position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, 0.92);
}
.vf-hud__rec { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.vf-hud__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--survey); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.vf-hud__coords { text-align: right; line-height: 1.6; }
.vf-hud__coords b { color: #ffb48a; font-weight: 600; }

.float-card {
  position: absolute; z-index: 4; background: rgba(255, 255, 255, 0.96); color: var(--ink);
  border-radius: 16px; box-shadow: var(--shadow-2); padding: 14px 16px; display: flex; gap: 12px; align-items: center;
}
.float-card__icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
}
.float-card__icon svg { width: 22px; height: 22px; }
.float-card small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.float-card strong { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; }
.float-card--intake { left: -36px; top: 40px; animation: floaty 6s ease-in-out infinite; }
.float-card--intake .float-card__icon { background: var(--survey-soft); color: var(--survey-2); }
.float-card--custom { right: -28px; bottom: 120px; animation: floaty 7s ease-in-out infinite reverse; }
.float-card--custom .float-card__icon { background: var(--gis-soft); color: #0d8277; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* Băng chạy tên phần mềm */
.ticker {
  position: relative; border-top: 1px solid rgba(255, 255, 255, 0.1); background: rgba(0, 0, 0, 0.18);
  overflow: hidden; padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; width: max-content; gap: 56px; animation: ticker 38s linear infinite; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 14px; white-space: nowrap;
  font-weight: 700; font-size: 17px; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.01em;
}
.ticker__item::before { content: "+"; font-family: var(--mono); color: var(--survey); font-weight: 600; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   GIỚI THIỆU
   ========================================================= */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: start; }
.about__text p { color: var(--muted); font-size: 1.075rem; margin-top: 18px; }
.about__text p strong { color: var(--ink); }
.about__quote {
  margin-top: 30px; padding: 22px 24px; border-left: 3px solid var(--survey); background: var(--white);
  border-radius: 0 14px 14px 0; box-shadow: var(--shadow-1); font-weight: 600; font-size: 1.06rem;
}
.about__quote span { display: block; margin-top: 6px; font-weight: 500; font-size: 13.5px; color: var(--muted); }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pillar {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; overflow: hidden;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.pillar__no { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.pillar__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin: 14px 0 18px;
  background: var(--paper-2); color: var(--ink);
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.15rem; font-weight: 700; }
.pillar p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.pillar--accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.pillar--accent .pillar__no, .pillar--accent p { color: rgba(255, 255, 255, 0.66); }
.pillar--accent .pillar__icon { background: var(--survey); color: #fff; }

/* =========================================================
   CHƯƠNG TRÌNH ĐÀO TẠO (TAB)
   ========================================================= */
.programs { background: var(--paper-2); }
.programs::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at top, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 20%, transparent 70%);
}
.programs .container { position: relative; }

.prog { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.prog__tabs { display: flex; flex-direction: column; gap: 8px; position: sticky; top: calc(var(--nav-h) + 20px); }
.prog__tab {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; text-align: left;
  padding: 14px 16px; border-radius: 14px; border: 1.5px solid transparent; background: transparent;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.prog__tab:hover { background: rgba(255, 255, 255, 0.6); }
.prog__tab[aria-selected="true"] { background: var(--white); border-color: var(--ink); box-shadow: var(--shadow-1); }
.prog__tab-no {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 14px; background: var(--paper-3); color: var(--ink);
  transition: background-color .2s ease, color .2s ease;
}
.prog__tab[aria-selected="true"] .prog__tab-no { background: var(--survey); color: #fff; }
.prog__tab-title { font-weight: 700; font-size: 15px; line-height: 1.35; display: block; }
.prog__tab-tag { font-size: 12.5px; color: var(--muted); display: block; margin-top: 2px; }

.prog__panel {
  background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-2);
  display: grid; grid-template-columns: 1fr 1fr; min-height: 560px;
}
.prog__panel[hidden] { display: none; }
.prog__panel.is-entering { animation: panelIn .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.prog__media { position: relative; min-height: 320px; }
.prog__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prog__media::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13, 26, 43, 0.7));
}
.prog__media-tags { position: absolute; left: 20px; bottom: 20px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; background: rgba(255, 255, 255, 0.94); color: var(--ink); white-space: nowrap;
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--gis); }
.chip--field i { background: var(--survey); }

.prog__body { padding: 40px 40px 36px; display: flex; flex-direction: column; }
.prog__code { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--survey-2); text-transform: uppercase; font-weight: 600; }
.prog__body h3 { font-size: 1.7rem; font-weight: 800; margin-top: 10px; }
.prog__lead { margin-top: 12px; color: var(--muted); }
.prog__list-title { margin-top: 26px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); }
.checklist { margin-top: 12px; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; line-height: 1.55; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; border-radius: 7px; margin-top: 1px;
  background: var(--gis-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d8277' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.prog__for {
  margin-top: 24px; padding: 14px 16px; border-radius: 12px; background: var(--paper); font-size: 14.5px; color: var(--muted);
}
.prog__for b { color: var(--ink); }
.prog__actions { margin-top: auto; padding-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   PHƯƠNG PHÁP (TUYẾN ĐO 4 TRẠM)
   ========================================================= */
.method { background: var(--paper); }
.traverse { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.traverse__line { position: absolute; left: 6%; right: 6%; top: 31px; height: 2px; pointer-events: none; }
.traverse__line svg { width: 100%; height: 12px; overflow: visible; }
.station { position: relative; text-align: left; }
.station__pin {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--ink); font-family: var(--mono); font-weight: 600; font-size: 14px;
}
.station__pin::after {
  content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed var(--line-strong);
}
.station:nth-child(3) .station__pin, .station:nth-child(5) .station__pin { border-color: var(--survey); color: var(--survey-2); }
.station h3 { margin-top: 22px; font-size: 1.15rem; font-weight: 700; }
.station p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.station__meta { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

/* =========================================================
   HÌNH ẢNH
   ========================================================= */
.gallery { background: var(--ink); color: #fff; }
.gallery .section-head p { color: rgba(255, 255, 255, 0.66); }
.mosaic {
  display: grid; gap: 16px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
}
.tile { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--ink-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 12, 22, 0.82)); }
.tile figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; }
.tile figcaption small { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; color: #ffb48a; text-transform: uppercase; }
.tile figcaption b { display: block; font-size: 1.05rem; font-weight: 700; margin-top: 4px; }
.tile--a { grid-column: span 7; grid-row: span 4; }
.tile--b { grid-column: span 5; grid-row: span 2; }
.tile--c { grid-column: span 5; grid-row: span 2; }
.tile--d { grid-column: span 6; grid-row: span 3; }
.tile--e { grid-column: span 6; grid-row: span 3; }
.gallery__note { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* =========================================================
   LỊCH KHAI GIẢNG
   ========================================================= */
.intake { background: var(--paper); }
.intake__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.month {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px;
  display: flex; flex-direction: column; overflow: hidden;
}
.month--now { border: 2px solid var(--ink); box-shadow: var(--shadow-2); }
.month__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.month__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.month__name { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; white-space: nowrap; }
.month__name span { color: var(--muted); font-weight: 600; font-size: 1rem; }
.month__head { flex-wrap: wrap; }
.status {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--open { background: #e3f4e9; color: #1f7a43; }
.status--soon { background: var(--survey-soft); color: var(--survey-2); }
.status--plan { background: var(--paper-2); color: var(--muted); }
.month__courses { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.month__courses span {
  font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line);
}
.month__foot { margin-top: auto; padding-top: 24px; }
.intake__note {
  margin-top: 28px; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 16px;
  background: var(--white); border: 1px dashed var(--line-strong); color: var(--muted); font-size: 15px;
}
.intake__note svg { width: 22px; height: 22px; color: var(--survey); flex: none; }
.intake__note a { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--survey); white-space: nowrap; }

/* =========================================================
   ĐÀO TẠO THEO YÊU CẦU
   ========================================================= */
.custom { background: var(--paper-2); }
.custom__card {
  position: relative; overflow: hidden; border-radius: 32px; background: var(--ink); color: #fff;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; padding: 64px;
}
.custom__card::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.025), 0 0 0 120px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}
.custom__card h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; margin-top: 14px; }
.custom__card > div > p { margin-top: 16px; color: rgba(255, 255, 255, 0.72); font-size: 1.06rem; }
.audience { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.audience span {
  padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); font-size: 14px; font-weight: 600;
  background: rgba(255, 255, 255, 0.04); white-space: nowrap;
}
.custom__cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.steps { position: relative; display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
}
.step__no {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-family: var(--mono); font-weight: 600;
  background: rgba(242, 106, 27, 0.16); color: #ffb48a;
}
.step h3 { font-size: 1.05rem; font-weight: 700; }
.step p { margin-top: 4px; font-size: 14.5px; color: rgba(255, 255, 255, 0.64); }

/* =========================================================
   HỎI ĐÁP
   ========================================================= */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq__aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq__aside p { margin-top: 16px; color: var(--muted); }
.faq__aside .btn { margin-top: 26px; }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-weight: 700; font-size: 1.08rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1a2b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s ease, background-color .3s ease;
}
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--survey-soft); border-color: var(--survey); }
.qa p { padding: 0 52px 24px 0; color: var(--muted); }

/* =========================================================
   ĐĂNG KÝ & LIÊN HỆ
   ========================================================= */
.contact { background: var(--paper-2); }
.contact__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: stretch; }
.form-card { background: var(--white); border-radius: 28px; padding: 44px; box-shadow: var(--shadow-2); }
.form-card h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 800; margin-top: 12px; }
.form-card > p { margin-top: 10px; color: var(--muted); }
.form { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; }
.field label em { color: var(--survey-2); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--paper);
  border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px; outline: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(13, 26, 43, 0.06); }
.field input:user-invalid, .field select:user-invalid { border-color: #d43c2f; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label {
  position: relative; display: inline-flex; align-items: center; padding: 11px 16px; border-radius: 12px; background: var(--paper);
  font-weight: 600; font-size: 14px; cursor: pointer; border: 1.5px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--ink); background: var(--white); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--survey); outline-offset: 2px; }
.form__submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form__hint { font-size: 13px; color: var(--muted); }

.form-done { display: none; margin-top: 28px; padding: 26px; border-radius: 18px; background: #e9f6ee; border: 1px solid #bfe3cc; }
.form-done.is-visible { display: block; animation: panelIn .4s ease; }
.form-done h3 { font-size: 1.2rem; font-weight: 800; color: #1f6b3d; }
.form-done p { margin-top: 8px; color: #355a43; font-size: 15px; }
.form-done pre {
  margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--white); border: 1px solid #cfe8d8;
  font-family: var(--font); font-size: 14px; white-space: pre-wrap; color: var(--ink);
}
.form-done__actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

.info-card { background: var(--ink); color: #fff; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.info-card__body { padding: 40px; }
.info-card h3 { font-size: 1.35rem; font-weight: 800; }
.info-list { margin-top: 24px; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-list .ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); color: #ffb48a;
}
.info-list .ic svg { width: 20px; height: 20px; }
.info-list small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.55); font-weight: 500; }
.info-list b, .info-list a { font-weight: 600; font-size: 15.5px; line-height: 1.5; }
.info-list a.big { font-family: var(--mono); font-size: 1.35rem; color: #fff; letter-spacing: 0.02em; }
.info-card__map { position: relative; flex: 1; min-height: 260px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.info-card__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.25) contrast(1.05); }

/* =========================================================
   CHÂN TRANG
   ========================================================= */
.footer { background: #08121f; color: rgba(255, 255, 255, 0.62); padding: 28px 0 24px; font-size: 13.5px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .brand { color: #fff; gap: 10px; }
.footer .brand__mark { width: 34px; height: 34px; }
.footer .brand__name { font-size: 13px; }
.footer .brand__sub { font-size: 12px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 600; white-space: nowrap; }
.footer__phone { font-family: var(--mono); font-weight: 600; color: #ffb48a; white-space: nowrap; }
.footer a:hover { color: #fff; }
.footer__bottom {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255, 255, 255, 0.42);
}
.footer__bottom a { font-family: var(--mono); color: rgba(255, 255, 255, 0.62); white-space: nowrap; }

/* =========================================================
   NÚT LIÊN HỆ NỔI & THANH DƯỚI DI ĐỘNG
   ========================================================= */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab a {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(13, 26, 43, 0.3);
  transition: transform .2s ease;
}
.fab a:hover { transform: scale(1.08); }
.fab__zalo { background: #0068ff; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: 0.02em; }
.fab__call { background: var(--survey); color: #fff; position: relative; }
.fab__call::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--survey); animation: ring 2s infinite;
}
@keyframes ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.6); opacity: 0; } }
.fab svg { width: 24px; height: 24px; }

.mbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
}
.mbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 12px;
  font-weight: 700; font-size: 14.5px; white-space: nowrap;
}
.mbar svg { width: 18px; height: 18px; }
.mbar__call { background: var(--paper-2); }
.mbar__zalo { background: #e8f0ff; color: #0052cc; }
.mbar__reg { background: var(--survey); color: #fff; }

/* =========================================================
   HIỆU ỨNG XUẤT HIỆN KHI CUỘN
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .viewfinder { max-width: 620px; }
  .float-card--intake { left: 16px; top: 16px; }
  .float-card--custom { right: 16px; }
  .prog { grid-template-columns: 1fr; }
  .prog__tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .prog__tab { flex: none; grid-template-columns: 36px auto; padding: 10px 14px 10px 10px; }
  .prog__tab-no { width: 36px; height: 36px; font-size: 13px; }
  .prog__tab-tag { display: none; }
  .prog__tab-title { white-space: nowrap; font-size: 14px; }
}

@media (max-width: 980px) {
  .section { padding: 84px 0; }
  .about__grid, .faq__grid, .contact__grid, .custom__card { grid-template-columns: 1fr; gap: 40px; }
  .faq__aside { position: static; }
  .custom__card { padding: 44px 32px; }
  .prog__panel { grid-template-columns: 1fr; }
  .prog__media { min-height: 260px; }
  .traverse { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .traverse__line { display: none; }
  .intake__grid { grid-template-columns: 1fr; }
  .mosaic { grid-auto-rows: 100px; }
  .tile--a { grid-column: span 12; grid-row: span 4; }
  .tile--b, .tile--c { grid-column: span 6; grid-row: span 3; }
  .tile--d, .tile--e { grid-column: span 6; grid-row: span 3; }
  .footer__links { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .brand__name { font-size: 12.5px; }
  .brand__sub { font-size: 11.5px; }
  .brand__mark { width: 38px; height: 38px; }
  .nav__actions .btn { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero__inner { padding-bottom: 64px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts { grid-template-columns: 1fr; gap: 14px; }
  .hero__fact { border-right: 0; margin-right: 0; padding-right: 0; }
  .float-card { padding: 10px 12px; }
  .float-card strong { font-size: 13.5px; }
  .float-card__icon { width: 36px; height: 36px; }
  .float-card--custom { display: none; }
  .vf-hud { left: 20px; right: 20px; bottom: 18px; font-size: 11px; }
  .pillars { grid-template-columns: 1fr; }
  .prog__body { padding: 28px 22px; }
  .prog__body h3 { font-size: 1.4rem; }
  .traverse { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .tile--a, .tile--b, .tile--c, .tile--d, .tile--e, .tile--f { grid-column: auto; grid-row: auto; }
  .custom__card { padding: 36px 22px; border-radius: 24px; }
  .form-card { padding: 28px 20px; border-radius: 22px; }
  .form { grid-template-columns: 1fr; }
  .info-card__body { padding: 28px 22px; }
  .qa p { padding-right: 0; }
  .footer { padding: 24px 0 calc(92px + env(safe-area-inset-bottom)); }
  .footer__bottom { font-size: 12px; }
  .fab { display: none; }
  .mbar { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
