:root {
  --ivory: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #f1eee6;
  --text: #18202c;
  --muted: #646b76;
  --border: #e3ded2;
  --navy: #0d1828;
  --navy-2: #14243a;
  --navy-3: #1d3352;
  --gold: #c5a059;
  --gold-2: #a8843f;
  --gold-soft: #f6eedc;
  --brand: var(--navy-3);
  --brand-soft: #e8edf4;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --ok: #1f7a4a;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(13, 24, 40, .05), 0 12px 32px rgba(13, 24, 40, .08);
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], #wizard { scroll-margin-top: 88px; }
body { margin: 0; font-family: var(--font); background: var(--ivory); color: var(--text); line-height: 1.6; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: var(--gold-2); }
h1, h2, h3 { line-height: 1.22; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hidden { display: none !important; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .18em; font-size: .86rem; font-weight: 700; color: var(--gold-2); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 36px; height: 2px; background: currentColor; }
.gold { color: var(--gold); }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
/* Logo tròn bắt tay (ảnh); chữ ATV trong thẻ vẫn giữ cho trình đọc màn hình nhưng ẩn đi */
.logo-mark { width: 46px; height: 46px; border-radius: 50%; background: url('../img/logo-mark.png') center / cover no-repeat; color: transparent; font-size: 0; flex: none; box-shadow: 0 0 0 1px rgba(197,160,89,.25); }
.logo-text { display: flex; flex-direction: column; gap: 4px; line-height: 1.3; }
.logo-text strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; letter-spacing: .02em; }
.logo-text span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(13, 24, 40, .96); backdrop-filter: blur(8px); color: #fff; border-bottom: 1px solid rgba(197, 160, 89, .2); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a:not(.btn) { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 500; font-size: .92rem; }
.nav a:not(.btn):hover { color: var(--gold); }
@media (max-width: 860px) { .nav .nav-link { display: none; } .site-header .logo-text span { display: none; } }
@media (max-width: 480px) {
  .site-header .logo { gap: 9px; }
  .site-header .logo-mark { width: 40px; height: 40px; }
  .site-header .logo-text strong { font-size: .82rem; line-height: 1.25; max-width: 190px; }
  .site-header .btn-sm { padding: 8px 12px; font-size: .8rem; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 12px 24px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .18s, border-color .18s, color .18s, transform .18s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy-3); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-gold { background: linear-gradient(135deg, #d4b26e, var(--gold-2)); color: var(--navy); }
.btn-gold:hover { background: linear-gradient(135deg, #c9a35c, #96722f); }
.btn-outline { background: transparent; color: var(--navy-3); border-color: var(--navy-3); }
.btn-outline:hover { background: var(--brand-soft); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: .86rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .86rem; color: #2b3442; }
.field .req { color: var(--gold-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text); width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197,160,89,.22); }
.field .hint { font-size: .8rem; color: var(--muted); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); background: var(--danger-soft); }
.field .err { font-size: .8rem; color: var(--danger); display: none; }
.field.invalid .err { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-2.keep, .grid-3.keep { grid-template-columns: 1fr 1fr; gap: 0 12px; } .grid-3.keep > :nth-child(3) { grid-column: 1 / -1; } }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: .9rem; cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy-3); flex: none; }
details.more { border: 1px dashed var(--border); border-radius: 12px; padding: 0 14px; margin-bottom: 16px; }
details.more summary { cursor: pointer; padding: 12px 0; font-weight: 600; font-size: .9rem; color: var(--navy-3); list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: '+ '; color: var(--gold-2); }
details.more[open] summary::before { content: '− '; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
@media (max-width: 640px) { .card { padding: 18px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: 72px 0 96px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(197,160,89,.22), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(29,51,82,.9), transparent 60%),
    var(--navy); }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p.lead { font-size: 1.06rem; color: rgba(255,255,255,.78); max-width: 33em; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.hero-points li { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.9); }
.hero-points li::before { content: ''; flex: none; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .hero { padding: 48px 0 72px; } .hero .container { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Highlights strip ---------- */
.highlights { position: relative; z-index: 2; margin-top: -44px; }
.highlights .inner { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.highlights .hl { padding: 22px 24px; text-align: center; }
.highlights .hl + .hl { border-left: 1px solid var(--border); }
.highlights .v { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--navy-3); line-height: 1.1; }
.highlights .l { font-size: .82rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 760px) { .highlights .hl { padding: 16px 8px; } .highlights .v { font-size: 1.5rem; } .highlights .l { font-size: .74rem; line-height: 1.35; } }

/* ---------- Calculator ---------- */
.calc { color: var(--text); border-top: 3px solid var(--gold); }
.calc h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 18px; }
.calc .range-row { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: 6px; font-weight: 600; color: #2b3442; }
.calc .range-row strong { color: var(--gold-2); }
.calc input[type=range] { width: 100%; accent-color: var(--gold-2); margin-bottom: 16px; }
.calc-result { background: var(--navy); color: #fff; border-radius: 12px; padding: 16px 18px; display: grid; gap: 8px; }
.calc-result div { display: flex; justify-content: space-between; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.75); }
.calc-result strong { color: #fff; white-space: nowrap; }
.calc-result .big { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--gold); white-space: nowrap; }
@media (max-width: 480px) { .calc-result .big { font-size: 1.15rem; } .calc-result div { font-size: .85rem; } }
.calc .warn { color: var(--danger); font-size: .85rem; margin-top: 10px; }

/* ---------- Sections ---------- */
section.block { padding: 88px 0; }
@media (max-width: 640px) { section.block { padding: 60px 0; } }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.section-head .eyebrow::after { content: ''; width: 36px; height: 2px; background: currentColor; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.section-head p { font-size: 1.05rem; }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .muted { color: rgba(255,255,255,.65); }
.section-alt { background: var(--surface-2); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { padding: 0 18px; position: relative; text-align: center; }
.step::before { counter-increment: step; content: '0' counter(step); display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: linear-gradient(135deg, #d9b878, var(--gold-2)); color: var(--navy); font-family: var(--serif); font-size: 1.75rem; font-weight: 700; box-shadow: 0 0 0 6px var(--ivory), 0 0 0 7px rgba(197,160,89,.45), 0 10px 24px rgba(168,132,63,.28); position: relative; z-index: 1; }
.step::after { content: ''; position: absolute; top: 42px; left: 50%; width: 100%; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(197,160,89,.25)); }
.step:last-child::after { display: none; }
.step h3 { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.step p { color: #4a525e; font-size: 1rem; line-height: 1.6; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; } .step::after { display: none; } }
/* Điện thoại: số bên trái, chữ bên phải, có đường nối dọc — gọn hơn xếp chồng */
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; text-align: left; padding: 0 0 22px; }
  .step::before { grid-row: span 2; width: 60px; height: 60px; font-size: 1.3rem; margin: 0; box-shadow: 0 0 0 4px var(--ivory), 0 0 0 5px rgba(197,160,89,.45); }
  .step::after { display: block; top: 64px; bottom: 0; left: 29px; width: 2px; height: auto; background: linear-gradient(var(--gold), rgba(197,160,89,.2)); }
  .step:last-child::after { display: none; }
  .step h3 { font-size: 1.18rem; margin: 6px 0 4px; }
  .step p { font-size: .95rem; }
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--navy-2); border: 1px solid rgba(197,160,89,.18); }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(197,160,89,.14); color: var(--gold); display: grid; place-items: center; margin-bottom: 16px; }
.feature h3 { color: #fff; }
.feature p { color: rgba(255,255,255,.68); font-size: .92rem; margin: 0; }
.features.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .features.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .features, .features.four { grid-template-columns: 1fr; } }

.notice { background: var(--gold-soft); border: 1px solid #e6d3a8; border-left: 4px solid var(--gold); border-radius: 12px; padding: 16px 18px; font-size: .92rem; color: #4a3c1d; }
.notice strong { color: #6b5216; }
.notice:has(.shield) { display: flex; gap: 14px; align-items: flex-start; }
.notice .shield { flex: none; color: var(--gold-2); margin-top: 1px; }
.notice .verify { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #e0c98f; }
.notice .verify a { color: var(--navy-3); text-decoration: none; white-space: nowrap; }
.notice .verify a:hover { text-decoration: underline; }
.notice .no { color: var(--danger); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; letter-spacing: .02em; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.quote::before { content: '“'; font-family: var(--serif); font-size: 3.5rem; line-height: .6; color: var(--gold); height: 22px; }
.quote p { margin: 0; flex: 1; }
.quote .who { font-weight: 600; font-size: .9rem; }
.quote .who span { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.02rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 300; color: var(--gold-2); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-2), var(--navy)); border: 1px solid rgba(197,160,89,.25); border-radius: 20px; padding: 40px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; font-size: 1.7rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.7); }
@media (max-width: 640px) { .cta-band { padding: 28px 22px; } }

/* ---------- Thị trường & tin tức ---------- */
.mk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.mk-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.mk-card h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.mk-table { width: 100%; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.mk-table th { white-space: nowrap; text-align: right; font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 0 0 8px; }
.mk-table td { text-align: right; padding: 7px 0; border-top: 1px solid #f0ece3; white-space: nowrap; }
.mk-table th:first-child, .mk-table td:first-child { text-align: left; white-space: normal; padding-right: 8px; }
.mk-table th + th, .mk-table td + td { padding-left: 10px; }
.mk-table a { color: var(--navy-3); text-decoration: none; font-weight: 600; }
.mk-table a:hover { color: var(--gold-2); }
.mk-src { font-size: .74rem; color: var(--muted); margin: 10px 0 0; }

.news-head { display: flex; justify-content: space-between; align-items: baseline; margin: 40px 0 16px; gap: 12px; }
.news-head h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin: 0; }
.news-head a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.news-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; min-width: 0; }
.news-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.news-card .thumb { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .76rem; color: var(--muted); }
.news-card .cat { font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--navy-3); }
.news-card .cat-chinh-sach { background: var(--gold-soft); color: #6b5216; }
.news-card .cat-vang-ty-gia { background: #f3efe4; color: #7a5b1d; }
.news-card h4 { margin: 0; font-size: 1rem; line-height: 1.4; font-weight: 600; }
.news-card p { margin: 0; font-size: .87rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .read { margin-top: auto; padding-top: 4px; font-size: .8rem; font-weight: 600; color: var(--gold-2); }
/* Bản gọn trên trang chủ: ảnh thấp, không tóm tắt */
.news-grid.compact { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.news-grid.compact .news-card .thumb { aspect-ratio: 2 / 1; }
.news-grid.compact .news-card p { display: none; }
.news-grid.compact .news-card .body { padding: 14px 16px 16px; gap: 6px; }
.news-grid.compact .news-card h4 { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) {
  .news-grid.compact { gap: 10px; }
  .news-grid.compact .news-card { flex-direction: row; }
  .news-grid.compact .news-card .thumb { flex: none; width: 104px; aspect-ratio: auto; }
  .news-grid.compact .news-card .body { padding: 10px 12px; }
  .news-grid.compact .news-card .read { display: none; }
  .news-grid.compact .news-card h4 { font-size: .9rem; }
  #thi-truong .mk-card { padding: 16px; }
}
#thi-truong .section-head { margin-bottom: 28px; }
#thi-truong .news-head { margin-top: 28px; }
.bridge { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 24px; padding: 16px 22px; border-radius: 14px; background: var(--navy); color: rgba(255,255,255,.8); text-decoration: none; border: 1px solid rgba(197,160,89,.3); transition: border-color .15s; }
.bridge:hover { border-color: var(--gold); }
.bridge strong { color: #fff; margin-right: 4px; }
.bridge .go { color: var(--gold); font-weight: 600; white-space: nowrap; }
.news-card.row { flex-direction: row; }
.news-card.row .thumb { flex: none; width: 220px; aspect-ratio: auto; }
@media (max-width: 640px) { .news-card.row { flex-direction: column; } .news-card.row .thumb { width: auto; aspect-ratio: 16 / 9; } }

.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.news-layout aside { display: grid; gap: 20px; position: sticky; top: 92px; }
@media (max-width: 980px) { .news-layout { grid-template-columns: 1fr; } .news-layout aside { position: static; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.news-list { display: grid; gap: 16px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button { font: inherit; font-size: .88rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; }
.tabs button:hover { color: var(--text); }
.tabs button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.news-search { display: flex; gap: 10px; margin-bottom: 16px; }
.news-search input { flex: 1; font: inherit; font-size: 16px; padding: 11px 16px; border: 1px solid var(--border); border-radius: 999px; background: #fff; min-width: 0; }
.news-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197,160,89,.22); }
.page-hero { background: var(--navy); color: #fff; padding: 48px 0 40px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 8px; }
.page-hero p { color: rgba(255,255,255,.72); margin: 0; }
.disclaimer { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--border); margin-top: 28px; padding-top: 14px; }

/* ---------- Wizard ---------- */
.wizard { max-width: 860px; margin: 0 auto; }
.wizard-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px; }
.wizard-steps .ws { padding-top: 12px; border-top: 3px solid var(--border); color: var(--muted); font-weight: 600; font-size: .86rem; }
.wizard-steps .ws small { display: block; font-weight: 500; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.wizard-steps .ws.active { border-color: var(--gold); color: var(--navy); }
.wizard-steps .ws.done { border-color: var(--navy-3); color: var(--navy-3); }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
@media (max-width: 640px) {
  .wizard-steps .ws { font-size: 0; }
  .wizard-steps .ws small { font-size: .68rem; }
  .wizard-steps .ws.active { font-size: .86rem; grid-column: span 1; }
  .wizard-nav { position: sticky; bottom: 0; background: var(--surface); margin: 12px -18px -18px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 16px rgba(13,24,40,.06); z-index: 5; border-radius: 0 0 var(--radius) var(--radius); }
  .wizard-nav .btn { flex: 1; }
}
.uploads { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.uploads .thumb { position: relative; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.uploads .thumb img { width: 100%; height: 100%; object-fit: cover; }
.uploads .thumb button { position: absolute; top: 4px; right: 4px; border: none; background: rgba(0,0,0,.6); color: #fff; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; line-height: 1; }
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 22px; border: 1.5px dashed #d2c7ad; border-radius: 12px; background: #fcfaf5; cursor: pointer; text-align: center; color: var(--muted); font-size: .88rem; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--gold); background: var(--gold-soft); }
.dropzone strong { color: var(--navy-3); }
.dropzone input { display: none; }
.upload-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.upgroup { min-width: 0; }
.upgroup { display: flex; flex-direction: column; }
.upgroup .dropzone { padding: 16px 10px; min-height: 104px; }
.upgroup .uploads .thumb { width: 72px; height: 72px; }
.upload-groups.full .dropzone { opacity: .5; pointer-events: none; }
.img-count { font-weight: 400; color: var(--muted); font-size: .85em; }
.map-row { display: flex; gap: 8px; }
.map-row input { flex: 1; min-width: 0; }
.map-row .btn { flex: none; white-space: nowrap; }
@media (max-width: 640px) {
  .upload-groups { grid-template-columns: 1fr; }
  .upgroup .dropzone { display: grid; grid-template-columns: 22px 1fr; align-items: center; justify-items: start; text-align: left; gap: 0 10px; padding: 12px 14px; min-height: 0; }
  .upgroup .dropzone svg { grid-row: span 2; }
  .upgroup .uploads:empty { display: none; }
  .map-row { flex-direction: column; }
}
.summary-box { background: var(--surface-2); border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.summary-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; font-size: .9rem; }
.summary-box dt { color: var(--muted); }
.summary-box dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 480px) { .summary-box dl { grid-template-columns: 1fr; gap: 0; } .summary-box dd { margin-bottom: 8px; } }

.success { text-align: center; padding: 20px 0; }
.success .seal { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; color: var(--gold-2); }
.btn-zalo { background: #0068ff; color: #fff; border-color: #0068ff; }
.btn-zalo:hover { background: #0052cc; border-color: #0052cc; color: #fff; }
.zalo-cta { max-width: 520px; margin: 6px auto 22px; padding: 18px; border: 1px solid #cfe0ff; background: #f3f8ff; border-radius: 14px; text-align: left; }
.zalo-cta.hidden { display: none; }
.zalo-cta p { margin: 0 0 10px; }
.zalo-cta .zalo-msg { background: #fff; border: 1px dashed #9cc0ff; border-radius: 10px; padding: 10px 12px; font-size: .92rem; margin-bottom: 12px; user-select: all; }
.zalo-cta .btn { width: 100%; justify-content: center; }
.zalo-cta .small { margin: 8px 0 0; text-align: center; }
.success .code {font-family: var(--serif); font-size: 1.7rem; font-weight: 600; letter-spacing: .06em; color: var(--navy); background: var(--gold-soft); border: 1px solid #e6d3a8; display: inline-block; padding: 10px 24px; border-radius: 12px; margin: 8px 0 18px; }

/* ---------- Badges & timeline ---------- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.badge-blue { background: #e7edf6; color: #22406b; }
.badge-amber { background: #fbf1dc; color: #8a5a00; }
.badge-green { background: #e3f3ea; color: #1c6b3e; }
.badge-teal { background: #f6eedc; color: #7a5b1d; border: 1px solid #e6d3a8; }
.badge-red { background: var(--danger-soft); color: var(--danger); }
.badge-gray { background: #eceeed; color: #555; }

.progress { display: flex; gap: 4px; margin: 16px 0; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-2); }
.progress span.on { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }

.timeline { list-style: none; padding: 0; margin: 0 0 0 6px; border-left: 1px solid var(--border); }
.timeline li { position: relative; padding: 0 0 16px 20px; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; transform: rotate(45deg); background: var(--gold); border: 2px solid var(--surface); }
.timeline .t-time { font-size: .78rem; color: var(--muted); }
.timeline .t-note { font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 48px 0 32px; font-size: .9rem; border-top: 1px solid rgba(197,160,89,.2); }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer .copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px; padding-top: 20px; font-size: .8rem; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } .site-footer { padding-bottom: 150px; } } /* chừa chỗ cho 2 nút Gọi/Zalo nổi */

/* ---------- Floating contact ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(13,24,40,.25); text-decoration: none; font-weight: 700; font-size: .78rem; transition: transform .15s; }
.fab a:hover { transform: scale(1.06); }
.fab .call { background: linear-gradient(135deg, #d4b26e, var(--gold-2)); color: var(--navy); }
.fab .zalo { background: #fff; color: #0068ff; border: 1px solid var(--border); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(197,160,89,.4); box-shadow: var(--shadow); z-index: 100; max-width: calc(100% - 32px); font-size: .9rem; }
