/* =========================================================
   Duy Max Studio — duymax.vn
   Bảng màu: ngà ấm · mực đen · vàng đồng
   ========================================================= */

:root {
  --ivory:      #FBF9F6;
  --ivory-2:    #F4EFE8;
  --paper:      #FFFFFF;
  --ink:        #1C1917;
  --ink-2:      #33302C;
  --muted:      #6E6862;
  --muted-2:    #948C84;
  --gold:       #B08D57;
  --gold-dark:  #94743F;
  --gold-soft:  #EFE3D2;
  --line:       #E7E0D6;
  --dark:       #211E1B;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --r:    4px;
  --shadow: 0 1px 2px rgba(28,25,23,.04), 0 8px 28px rgba(28,25,23,.06);
  --shadow-lg: 0 2px 6px rgba(28,25,23,.05), 0 20px 50px rgba(28,25,23,.10);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

em { font-style: italic; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 800px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow {
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 0 0 .9rem;
}

.center { text-align: center; }

.fineprint {
  font-size: .84rem;
  color: var(--muted-2);
  line-height: 1.65;
  max-width: 70ch;
}
.fineprint.center { margin-inline: auto; }

/* ---------- Ảnh giữ chỗ ---------- */
.ph {
  width: 100%; height: 100%;
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .74rem;
  letter-spacing: .02em;
  color: #A99878;
  background:
    repeating-linear-gradient(-45deg, rgba(176,141,87,.05) 0 12px, transparent 12px 24px),
    linear-gradient(150deg, var(--gold-soft), var(--ivory-2));
  border: 1px dashed rgba(176,141,87,.35);
}
.ph-dark {
  color: rgba(255,255,255,.5);
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.04) 0 12px, transparent 12px 24px),
    linear-gradient(150deg, #302B26, #211E1B);
  border-color: rgba(255,255,255,.16);
}
.ph code { font-size: inherit; }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .22s, color .22s, border-color .22s, transform .22s, box-shadow .22s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-ghost { background: rgba(255,255,255,.92); color: var(--ink); border-color: rgba(255,255,255,.92); }
.btn-ghost:hover { background: #fff; transform: translateY(-1px); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gold-soft); }

.btn-sm { padding: 10px 18px; font-size: .84rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .88rem; font-weight: 500;
  color: var(--gold-dark);
  border-bottom: 1px solid rgba(176,141,87,.4);
  padding-bottom: 2px;
  transition: gap .2s, border-color .2s;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover { border-color: var(--gold-dark); }
.link-arrow:hover::after { transform: translateX(3px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: transparent;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.solid {
  background: rgba(251,249,246,.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 1.05rem; font-weight: 600; letter-spacing: .04em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; letter-spacing: .01em; }
.brand-text em { font-size: .68rem; font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }

/* Chữ trắng khi header còn nằm trên hero */
.site-header:not(.solid) .brand-text strong,
.site-header:not(.solid) .nav a { color: #fff; }
.site-header:not(.solid) .brand-text em { color: rgba(255,255,255,.72); }
.site-header:not(.solid) .brand-mark { border-color: rgba(255,255,255,.6); color: #fff; }
.site-header:not(.solid) .nav-toggle span { background: #fff; }
.site-header:not(.solid) .header-cta { background: #fff; color: var(--ink); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative;
  font-size: .92rem; font-weight: 400;
  padding: 6px 0;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: currentColor;
  transition: width .25s;
}
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0 10px;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .28s, opacity .28s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }

.hero-media { position: absolute; inset: 0; }
.hero-media .ph { min-height: 100%; font-size: .9rem; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,25,23,.55) 0%, rgba(28,25,23,.30) 35%, rgba(28,25,23,.82) 100%);
}

.hero-inner { position: relative; z-index: 2; color: #fff; padding-block: 140px 76px; max-width: 900px; }
.hero-inner .eyebrow { color: var(--gold-soft); }
.hero-inner h1 { color: #fff; margin-bottom: 1.5rem; }
.hero-inner h1 em { color: var(--gold-soft); }

.lede { font-size: 1.1rem; color: rgba(255,255,255,.9); max-width: 56ch; line-height: 1.75; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 44px;
  list-style: none; margin: 3.4rem 0 0; padding: 2rem 0 0;
  border-top: 1px solid rgba(255,255,255,.22);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; color: #fff; line-height: 1.1; }
.hero-stats span { font-size: .82rem; color: rgba(255,255,255,.7); letter-spacing: .03em; }

/* =========================================================
   TRUST BAR
   ========================================================= */
.trustbar { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: 72px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.trust svg {
  width: 30px; height: 30px; margin-bottom: 1rem;
  fill: none; stroke: var(--gold); stroke-width: 1.3;
  stroke-linecap: round; stroke-linejoin: round;
}
.trust h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.trust p { font-size: .93rem; color: var(--muted); margin: 0; }

/* =========================================================
   SECTION CHUNG
   ========================================================= */
.section { padding-block: 108px; }
.section-alt { background: var(--ivory-2); }
.section-dark { background: var(--dark); color: #fff; }

.section-head { max-width: 66ch; margin-bottom: 60px; }
.section-head h2 { margin-bottom: 1rem; }
.section-sub { font-size: 1.03rem; color: var(--muted); margin: 0; }
.section-dark .section-sub { color: rgba(255,255,255,.68); }

.center-cta { text-align: center; margin-top: 48px; }

/* =========================================================
   DỊCH VỤ
   ========================================================= */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.svc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }

.svc-lead { grid-column: span 2; grid-row: span 2; }
.svc-lead .svc-img { flex: 1; min-height: 300px; }
.svc-lead h3 { font-size: 1.9rem; }

.svc-img { aspect-ratio: 4 / 3; }
.svc-lead .svc-img { aspect-ratio: auto; }
.svc-img .ph { min-height: 100%; }

.svc-body { padding: 26px; display: flex; flex-direction: column; gap: .5rem; }
.svc-body h3 { margin-bottom: .2rem; }
.svc-body p { font-size: .93rem; color: var(--muted); margin: 0; }
.svc-price { font-size: .93rem !important; color: var(--ink) !important; margin-top: .3rem !important; }
.svc-price strong { font-family: var(--serif); font-size: 1.25rem; color: var(--gold-dark); }
.svc-body .link-arrow { margin-top: .6rem; align-self: flex-start; }

/* =========================================================
   BẢNG GIÁ
   ========================================================= */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }

.plan {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 40px 32px;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.plan-featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  padding-top: 52px;
}
.plan-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--gold-dark); color: #fff;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 100px; white-space: nowrap;
  margin: 0;
}

.plan-tag { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 .6rem; }
.plan h3 { font-size: 1.85rem; margin-bottom: .5rem; }
.plan-price { font-family: var(--serif); font-size: 1.15rem; color: var(--gold-dark); margin: 0 0 1.6rem; }
.plan-price span { font-size: 2.9rem; font-weight: 600; letter-spacing: -.02em; }

.plan-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .75rem; flex: 1; }
.plan-list li {
  position: relative; padding-left: 26px;
  font-size: .93rem; color: var(--ink-2); line-height: 1.55;
}
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: .48em;
  width: 12px; height: 6px;
  border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- Bảng so sánh 5 gói ---------- */
.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;
}

.compare-block { margin-top: 72px; }
.compare-title { font-size: 1.9rem; margin-bottom: .4rem; }
.compare-hint { font-size: .84rem; color: var(--muted-2); margin-bottom: 1.4rem; display: none; }

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
}

table.compare {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: .89rem;
}

table.compare th,
table.compare td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}

table.compare thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--ink);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: none;
}
table.compare thead th span {
  display: block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 400;
  color: var(--gold-soft);
  margin-top: 2px;
}
table.compare thead th.col-hl { background: var(--gold-dark); }
table.compare thead th:first-child { font-size: .82rem; font-family: var(--sans); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); }

table.compare tbody th[scope="row"] {
  font-family: var(--sans);
  font-size: .89rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--ivory);
  white-space: nowrap;
}

table.compare td { color: var(--muted); }
table.compare td.col-hl { background: rgba(176,141,87,.07); color: var(--ink-2); }
table.compare td strong { color: var(--gold-dark); }
table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td { border-bottom: none; }

table.compare .row-group th {
  background: var(--ivory-2);
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  white-space: normal;
}

.yes { color: #2E7D52; font-weight: 500; }
.yes::before { content: "✓ "; }
.no { color: var(--muted-2); }

/* ---------- Hướng dẫn chọn ảnh ---------- */
.ghi-nho { font-size: .85em; color: var(--muted-2); }
table.compare .phu { font-size: .88em; color: var(--muted-2); }

.chon-anh {
  margin-top: 64px;
  padding: 44px 44px 48px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.ca-head { max-width: 62ch; margin-bottom: 34px; }
.ca-head h3 { font-size: 2.05rem; margin-bottom: .8rem; }

.ca-bang { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ca-o {
  padding: 26px 28px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.ca-cao { background: var(--gold-soft); border-color: rgba(176,141,87,.4); }
.ca-nhan {
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 600; margin: 0 0 1.2rem;
}
.ca-so { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ca-so > div { display: flex; flex-direction: column; gap: .3rem; }
.ca-so strong {
  font-family: var(--serif); font-size: 3rem; font-weight: 600;
  line-height: 1; color: var(--ink);
}
.ca-so span { font-size: .86rem; color: var(--muted); line-height: 1.5; }
.ca-so b { color: var(--ink); font-weight: 500; }

.ca-luuy {
  margin: 24px 0 0;
  padding: 16px 20px;
  border-left: 2px solid var(--gold);
  background: var(--ivory);
  font-size: .93rem; color: var(--ink-2); line-height: 1.65;
}

.ca-tieude { margin: 40px 0 1.1rem; font-size: 1.4rem; }

.ca-buoc { margin: 0; padding-left: 0; list-style: none; counter-reset: b; display: grid; gap: .8rem; }
.ca-buoc li {
  counter-increment: b;
  position: relative; padding-left: 40px;
  font-size: .95rem; color: var(--muted); line-height: 1.6;
}
.ca-buoc li::before {
  content: counter(b);
  position: absolute; left: 0; top: -1px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-size: .78rem; font-weight: 600;
}
.ca-buoc strong { color: var(--ink); font-weight: 500; }

.ca-meo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px; }
.ca-meo > div { display: flex; gap: 14px; }
.ca-meo span {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600;
  color: var(--gold-dark); flex: none; padding-top: 2px;
}
.ca-meo p { font-size: .93rem; color: var(--muted); margin: 0; line-height: 1.6; }
.ca-meo strong { color: var(--ink); font-weight: 500; }

.ca-them {
  margin: 34px 0 0; padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: .95rem; color: var(--muted);
}
.ca-them strong { color: var(--ink); }

.plans-note {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 56px; padding-top: 48px;
  border-top: 1px solid var(--line);
}
.plans-note h4 { margin-bottom: .5rem; font-size: 1.2rem; }
.plans-note p { font-size: .92rem; color: var(--muted); margin: 0; }
.plans-note strong { color: var(--ink); }

.plans + .plans-note { }
.section .fineprint { margin-top: 32px; }

/* =========================================================
   TÁC PHẨM THEO CONCEPT
   ========================================================= */
.tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.tab {
  position: relative;
  background: none; border: none; cursor: pointer;
  padding: 14px 22px 16px;
  font-family: var(--sans); font-size: .96rem; font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--gold-dark);
  transform: scaleX(0); transition: transform .28s;
}
.tab:hover { color: var(--ink); }
.tab.is-on { color: var(--ink); }
.tab.is-on::after { transform: scaleX(1); }

.bo { display: none; }
.bo.is-on { display: block; animation: hienra .45s ease; }
@keyframes hienra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---- Khối tư vấn concept ---- */
.bo-tuvan {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 44px;
  padding: 34px 36px;
  margin-bottom: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.tv-chinh h3 { font-size: 1.85rem; margin-bottom: .8rem; }
.tv-mota { font-size: .98rem; color: var(--muted); }
.tv-hop {
  font-size: .95rem; color: var(--ink-2); margin: 0;
  padding-left: 16px; border-left: 2px solid var(--gold);
}
.tv-hop strong { color: var(--gold-dark); }

.tv-thongso { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; align-content: start; }
.tv-thongso li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.tv-thongso li:last-child { border-bottom: none; }
.tv-thongso span { font-size: .82rem; color: var(--muted-2); }
.tv-thongso strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); text-align: right; }

.tv-luuy {
  margin: 28px 0 0;
  padding: 18px 22px;
  background: var(--gold-soft);
  border-radius: var(--r);
  font-size: .93rem; color: var(--ink-2); line-height: 1.65;
}
.tv-luuy strong { color: var(--gold-dark); }

/* ---- Lưới ảnh của mỗi bộ ---- */
.luoi { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.luoi .o { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); }
.luoi .o-cao { grid-row: span 2; }
.luoi .ph { min-height: 100%; transition: transform .6s; }
.luoi .o:hover .ph, .luoi .o:hover img { transform: scale(1.04); }
.luoi .o img { transition: transform .6s; }

.luoi figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 30px 16px 14px;
  font-size: .84rem; color: #fff;
  background: linear-gradient(transparent, rgba(28,25,23,.82));
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.luoi .o:hover figcaption { opacity: 1; transform: none; }

@media (hover: none) {
  .luoi figcaption { opacity: 1; transform: none; }
}

/* =========================================================
   QUY TRÌNH
   ========================================================= */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  counter-reset: step;
}
.steps li { position: relative; padding-top: 30px; border-top: 1px solid var(--line); }
.steps li::after {
  content: ""; position: absolute; top: -3.5px; left: 0;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.step-no {
  display: block;
  font-family: var(--serif); font-size: 1rem; font-weight: 600;
  color: var(--gold-dark); letter-spacing: .1em;
  margin-bottom: .7rem;
}
.steps h3 { font-size: 1.28rem; margin-bottom: .5rem; }
.steps p { font-size: .92rem; color: var(--muted); margin: 0; }

/* =========================================================
   FEEDBACK
   ========================================================= */
/* ---------- Huy hiệu điểm Google ---------- */
.rating-badge {
  display: inline-flex; align-items: center; gap: 20px;
  padding: 18px 28px;
  margin-bottom: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.rating-badge:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.rb-score {
  font-family: var(--serif); font-size: 2.7rem; font-weight: 600;
  color: var(--gold-dark); line-height: 1;
}
.rb-mid { display: flex; flex-direction: column; gap: 2px; }
.rb-stars { color: var(--gold); letter-spacing: .12em; font-size: 1.02rem; }
.rb-count { font-size: .88rem; color: var(--muted); }
.rb-go {
  font-size: .86rem; font-weight: 500; color: var(--gold-dark);
  padding-left: 20px; border-left: 1px solid var(--line);
}

.q-stars { color: var(--gold); letter-spacing: .1em; font-size: .95rem; margin: 0 0 .9rem; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.quote {
  margin: 0; padding: 36px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex; flex-direction: column;
}
.quote blockquote {
  margin: 0 0 1.6rem;
  font-family: var(--serif);
  font-size: 1.24rem;
  line-height: 1.55;
  color: var(--ink-2);
  flex: 1;
}
.quote blockquote::before { content: "“"; color: var(--gold); font-size: 2.4rem; line-height: 0; vertical-align: -.35em; margin-right: .1em; }
.quote figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; font-size: .86rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); font-weight: 500; }
.quote figcaption em { font-style: normal; color: var(--muted-2); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--gold-soft), var(--ivory-2));
  border: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--gold-dark);
}

.quote blockquote { font-size: 1.1rem; }
.quote blockquote::before { content: none; }

/* =========================================================
   ACADEMY
   ========================================================= */
.academy-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--gold-soft); }
.academy-text > p { color: rgba(255,255,255,.72); max-width: 54ch; margin-top: 1.2rem; }

.courses { display: grid; gap: 1px; background: rgba(255,255,255,.13); margin: 2.6rem 0; border: 1px solid rgba(255,255,255,.13); }
.course { background: var(--dark); padding: 24px 26px; }
.course h3 { font-size: 1.3rem; color: #fff; margin-bottom: .2rem; }
.course-price { font-family: var(--serif); font-size: 1.35rem; color: var(--gold-soft); margin: 0 0 .5rem; }
.course p:last-child { font-size: .9rem; color: rgba(255,255,255,.6); margin: 0; }

.academy-media { aspect-ratio: 3 / 4; }
.academy-media .ph { min-height: 100%; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 24px 44px 24px 0;
  position: relative;
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.35;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-dark); }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px;
  border-right: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .28s;
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq details p { padding: 0 40px 26px 0; margin: 0; color: var(--muted); font-size: .96rem; }

/* =========================================================
   LIÊN HỆ
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.contact-list { list-style: none; margin: 2.4rem 0; padding: 0; display: grid; gap: 1.4rem; }
.contact-list li { display: grid; gap: .2rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.ci-label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.ci-value { font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; }
a.ci-value { transition: color .2s; }
a.ci-value:hover { color: var(--gold-dark); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 1.6rem; font-size: 1.55rem; }

.contact-form label {
  display: block;
  font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .45rem;
}
.contact-form label span { color: var(--gold-dark); }

.contact-form input,
.contact-form select {
  width: 100%;
  padding: 13px 15px;
  margin-bottom: 1.15rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: var(--sans); font-size: .95rem; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.contact-form input:focus,
.contact-form select:focus { outline: none; border-color: var(--gold); background: #fff; }
.contact-form input::placeholder { color: var(--muted-2); }
.contact-form input.invalid { border-color: #C0392B; background: #FDF3F2; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Ô bẫy bot — ẩn với người thật nhưng bot vẫn điền vào */
.o-bay { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: .9rem; margin: 1rem 0 .4rem; min-height: 1.2em; }
.form-note.ok { color: #2E7D52; }
.form-note.err { color: #C0392B; }
.contact-form .fineprint { margin: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); padding-block: 76px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 56px; }

.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text em { color: rgba(255,255,255,.5); }
.site-footer .brand-mark { border-color: rgba(255,255,255,.35); color: var(--gold-soft); }
.f-brand p { margin-top: 1.3rem; font-size: .9rem; max-width: 40ch; }

.f-col { display: flex; flex-direction: column; gap: .6rem; }
.f-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: .5rem; }
.f-col a { font-size: .92rem; transition: color .2s; }
.f-col a:hover { color: var(--gold-soft); }
.f-addr { font-size: .92rem; margin: .3rem 0 0; }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-block: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .84rem; color: rgba(255,255,255,.45);
}
.footer-bottom p { margin: 0; }

/* =========================================================
   THANH LIÊN HỆ TRÊN ĐIỆN THOẠI
   ========================================================= */
.mobile-bar {
  display: none;
  position: fixed; inset: auto 0 0 0; z-index: 120;
  background: rgba(251,249,246,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 11px 4px;
  font-size: .72rem; font-weight: 500; color: var(--ink);
}
.mobile-bar a:first-child { color: var(--gold-dark); }
.mobile-bar svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .svc-lead { grid-column: span 2; grid-row: auto; }
  .svc-lead .svc-img { min-height: 260px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .academy-inner { grid-template-columns: 1fr; gap: 40px; }
  .academy-media { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 76px; }

  .nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 24px;
    transform: translateY(-120%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateY(0); }
  .site-header:not(.solid) .nav a { color: var(--ink); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:last-child { border-bottom: none; }
  .nav a::after { display: none; }

  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .header-inner { min-height: 68px; }

  .site-header { background: rgba(251,249,246,.94); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
  .site-header .brand-text strong,
  .site-header .brand-text em { color: var(--ink); }
  .site-header .brand-text em { color: var(--muted-2); }
  .site-header .brand-mark { border-color: var(--gold); color: var(--gold-dark); }
  .site-header .nav-toggle span { background: var(--ink); }

  .hero { min-height: 92svh; }
  .hero-inner { padding-block: 130px 60px; }
  .hero-stats { gap: 28px; margin-top: 2.6rem; }
  .hero-stats strong { font-size: 1.7rem; }

  .section { padding-block: 76px; }
  .section-head { margin-bottom: 44px; }

  .plans { grid-template-columns: 1fr; gap: 44px; }
  .plan-featured { padding-top: 52px; }
  .plans-note { grid-template-columns: 1fr; gap: 26px; }

  .chon-anh { padding: 30px 22px 34px; margin-top: 48px; }
  .ca-head h3 { font-size: 1.7rem; }
  .ca-bang { grid-template-columns: 1fr; }
  .ca-so strong { font-size: 2.5rem; }
  .ca-meo { grid-template-columns: 1fr; gap: 18px; }

  .compare-block { margin-top: 56px; }
  .compare-hint { display: block; }
  table.compare { min-width: 720px; font-size: .82rem; }
  table.compare th, table.compare td { padding: 11px 12px; }
  table.compare thead th { position: static; font-size: .98rem; }

  /* Ghim cột "Hạng mục" lại khi vuốt ngang */
  table.compare thead th:first-child,
  table.compare tbody th[scope="row"] {
    position: sticky; left: 0; z-index: 3;
    width: 132px; min-width: 132px; max-width: 132px;
    white-space: normal;
    box-shadow: 1px 0 0 var(--line);
  }
  table.compare thead th:first-child { background: var(--ink); z-index: 4; }
  table.compare tbody th[scope="row"] { background: var(--ivory); }
  table.compare .row-group th { position: static; width: auto; max-width: none; box-shadow: none; }

  .tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab { padding: 12px 16px 14px; font-size: .9rem; white-space: nowrap; }
  .bo-tuvan { grid-template-columns: 1fr; gap: 26px; padding: 26px 22px; }
  .luoi { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }

  .quotes { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .rating-badge { display: flex; width: 100%; gap: 16px; padding: 16px 20px; }
  .rb-score { font-size: 2.2rem; }
  .rb-go { margin-left: auto; padding-left: 16px; text-align: right; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 62px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .trust-grid { grid-template-columns: 1fr; gap: 30px; }
  .services { grid-template-columns: 1fr; }
  .svc-lead { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .luoi { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .luoi .o-cao { grid-row: span 1; }
  .tv-thongso strong { font-size: 1.05rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .plan { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .ci-value { font-size: 1.3rem; }
}

/* =========================================================
   HIỆU ỨNG XUẤT HIỆN
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

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

@media print {
  .site-header, .mobile-bar, .hero-media { display: none; }
}
