/* =========================================================
   NAMHAIR – TRANG CHỦ (bản 3)
   Đổi màu thương hiệu tại :root.
   Bảng màu đang dùng: J – Nâu espresso & vàng đồng (thử 13/11/2026)
   Bảng màu cũ (đen – trắng – vàng gold) để quay lại nếu cần:
     --black #111111; --ink #1d1c1a; --white #ffffff; --ivory #f7f4ef; --line #e7e1d7;
     --gold #c39a52; --gold-light #dcc08a; --gold-dark #9a7535; --muted #6f6a62; --muted-light #b7b0a5;
   ========================================================= */
:root {
  --black: #2B2420;       /* nâu espresso – nền tối, chữ tiêu đề, nút */
  --ink: #3A302A;         /* chữ nội dung */
  --white: #FAF6F0;       /* trắng kem – nền sáng */
  --ivory: #F1EBE2;       /* be – nền các phần xen kẽ */
  --line: #DDD0BF;        /* đường kẻ */
  --gold: #A0805A;        /* vàng đồng – nút, vạch nhấn */
  --gold-light: #C9AA80;  /* vàng đồng nhạt – chữ nhấn trên nền tối */
  --gold-dark: #85663F;   /* vàng đồng đậm – chữ nhấn trên nền sáng */
  --muted: #75685C;
  --muted-light: #BDAE9D;

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

  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 1px); }
body {
  margin: 0; font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.75;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
button { font: inherit; }

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

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 32px; border: 1px solid transparent; cursor: pointer;
  font: 500 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 0 22px; font-size: 11.5px; }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--gold); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--gold-dark); }
.btn-outline { border-color: var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold-dark); text-decoration: underline; cursor: pointer; font-size: inherit; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--white); transition: background .35s, box-shadow .35s, color .35s; }
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.5), transparent); pointer-events: none; transition: opacity .35s; }
.site-header.is-solid { background: rgba(250,246,240,.97); color: var(--black); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid::before { opacity: 0; }
.header-inner {
  position: relative; max-width: 1400px; margin: 0 auto; padding: 0 32px; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.logo { position: relative; display: block; width: 150px; }
.logo img { width: 100%; height: auto; transition: opacity .35s; }
.logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.site-header.is-solid .logo-light { opacity: 0; }
.site-header.is-solid .logo-dark { opacity: 1; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav-right { justify-content: flex-end; }
.nav a:not(.btn) { position: relative; font-size: 12.5px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.menu-toggle { display: none; }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); color: var(--black); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-family: var(--serif); font-size: 28px; }
.mobile-menu .btn { margin-top: 14px; }
.mobile-menu .mobile-call { font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); }

/* ---------- Banner ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--white); background: var(--black); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 7s linear; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,24,20,.78) 0%, rgba(30,24,20,.15) 50%, rgba(30,24,20,.3) 100%); }
.hero-content { position: absolute; left: 0; right: 0; bottom: 14vh; text-align: center; padding: 0 24px; }
.eyebrow { font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 66px); line-height: 1.12; max-width: 1000px; margin: 0 auto 34px; }
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-dots { position: absolute; left: 32px; bottom: 40px; display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 2px; padding: 0; border: 0; cursor: pointer; background: rgba(255,255,255,.35); }
.hero-dots button[aria-selected="true"] { background: var(--gold); }
.scroll-cue { position: absolute; right: 36px; bottom: 32px; width: 1px; height: 60px; background: rgba(255,255,255,.25); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- Khung section ---------- */
.section { padding: 110px 0; }
.section-white { background: var(--white); }
.section-ivory { background: var(--ivory); }
.section-dark { background: var(--black); color: #EDE3D6; }
.gold-bar { display: block; width: 44px; height: 3px; background: var(--gold); margin: 0 auto 24px; }
.gold-bar.left { margin-left: 0; }
.kicker { font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.kicker.gold { color: var(--gold-light); }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.12; color: var(--black); margin-bottom: 18px; }
.section-title.light { color: var(--white); }
.subtitle { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 26px; }
.section-intro { color: var(--muted); font-size: 16px; margin: 0 auto 48px; }
.lead { font-family: var(--serif); font-size: clamp(21px, 2.4vw, 27px); line-height: 1.5; color: var(--ink); }
.lead b { font-weight: 600; color: var(--gold-dark); }
.note { margin-top: 22px; font-size: 13.5px; color: var(--muted); }

/* ---------- 6 giá trị ---------- */
.values { list-style: none; margin: 70px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.values li { padding: 40px 34px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s var(--ease); }
.values li:hover { background: var(--ivory); }
.value-no { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold); }
.values h3 { font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin: 16px 0 12px; color: var(--black); }
.values p { color: var(--muted); font-size: 15px; margin: 0; }

.brands { margin: 70px 0 0; padding: 34px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.brands-label { font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.brands-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 46px; }
.brands-row span { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: .06em; color: var(--black); opacity: .78; }
.slogan { margin: 70px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4vw, 46px); line-height: 1.2; color: var(--gold-dark); }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0 44px; }
.tab { border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: 11px 24px; cursor: pointer; font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: all .3s var(--ease); }
.tab:hover { border-color: var(--gold); }
.tab[aria-selected="true"] { background: var(--black); border-color: var(--black); color: var(--white); }

/* ---------- Bộ sưu tập (trượt ngang) ---------- */
.gallery-wrap, .feedback-wrap { position: relative; }
.gallery, .feedback {
  --gpad: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  display: grid; grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gpad) 18px; scroll-padding-inline: var(--gpad); scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.gallery { grid-auto-columns: clamp(220px, 24vw, 320px); }
.gallery figure, .feedback figure { margin: 0; scroll-snap-align: start; cursor: zoom-in; overflow: hidden; background: #ddd; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 25%; transition: transform .9s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gal-nav { position: absolute; top: calc(50% - 30px); z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--black); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 6px 20px -6px rgba(0,0,0,.35); }
.gal-prev { left: 18px; } .gal-next { right: 18px; }
.gal-nav:hover { background: var(--gold); color: var(--white); }

/* ---------- Video ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 44px; }
.video-card { position: relative; aspect-ratio: 9 / 16; background: #000; overflow: hidden; border: 1px solid rgba(160,128,90,.3); }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 22px; border: 0; cursor: pointer; text-align: left; color: var(--white); background: radial-gradient(120% 90% at 50% 20%, #4A3D33, #1E1915 70%); }
.video-cover .play { position: absolute; top: 50%; left: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; border: 1px solid var(--gold-light); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.video-cover .play::before { content: ""; margin-left: 5px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--gold-light); }
.video-cover:hover .play { transform: scale(1.08); background: rgba(160,128,90,.15); }
.video-cover b { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.25; }
.video-open { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 11px; letter-spacing: .08em; color: var(--white); background: rgba(0,0,0,.55); border: 1px solid rgba(220,192,138,.5); padding: 5px 10px; }
.video-open:hover { background: var(--gold); border-color: var(--gold); }
.video-cover small { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }

/* ---------- Feedback ---------- */
.feedback { grid-auto-columns: clamp(220px, 22vw, 290px); }
.feedback figure { background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px -28px rgba(0,0,0,.4); }
.feedback img { width: 100%; aspect-ratio: 9 / 15.5; object-fit: cover; object-position: top; }

/* ---------- Bảng giá ---------- */
.price-panel { display: grid; gap: 22px; }
.price-card { background: var(--white); border: 1px solid var(--line); padding: 30px 34px; }
.price-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.price-head h3 { font-family: var(--serif); font-size: 28px; color: var(--black); }
.badge { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); border: 1px solid var(--gold-light); padding: 4px 10px; white-space: nowrap; }
.price-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.price-col { text-align: center; background: var(--ivory); padding: 14px 8px; }
.price-col span { display: block; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.price-col b { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--black); }
.price-rows { list-style: none; margin: 0; padding: 0; }
.price-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.price-rows li:last-child { border-bottom: 0; }
.price-rows span { font-size: 15px; }
.price-rows b { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--black); white-space: nowrap; }

.price-desc { margin: 18px 0 8px; font-size: 14px; font-style: italic; color: var(--muted); }
.price-steps { margin: 0; padding-left: 20px; font-size: 14px; color: #5A4C42; }
.price-steps li { margin-bottom: 4px; }
.price-steps b { font-weight: 600; color: var(--black); }
.price-guarantee { margin: 26px 0 0; padding: 18px 22px; border-left: 3px solid var(--gold); background: var(--white); font-size: 14.5px; color: #5A4C42; }
.price-guarantee:empty { display: none; }

/* ---------- Nhà sáng lập ---------- */
.founder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.founder-photo { position: relative; margin: 0; }
.founder-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold-light); }
.founder-photo img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.founder-name { font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: clamp(42px, 5.6vw, 70px); line-height: 1; color: var(--black); margin: 6px 0 14px; }
.founder-role { font-size: 14px; letter-spacing: .1em; color: var(--gold-dark); margin-bottom: 24px; }
.founder-body > p { color: #5A4C42; }
.stats { list-style: none; padding: 0; margin: 30px 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.stats li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.stats li:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
.stats li:nth-child(even) { padding-left: 24px; }
.stats b { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.15; color: var(--black); }
.stats span { font-size: 13px; color: var(--muted); }
.vision { font-family: var(--serif); font-style: italic; font-size: 25px; color: var(--gold-dark); line-height: 1.35; }
.vision span { display: block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

.course-btn { gap: 10px; margin-top: 26px; }

/* ---------- Cơ sở ---------- */
.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.branch { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.branch:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(0,0,0,.45); }
.branch-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--black); color: var(--white); text-align: left; }
.branch-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.branch-media:hover img { transform: scale(1.05); }
.branch-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 55%); pointer-events: none; }
.branch-media-empty { cursor: default; background: linear-gradient(160deg, #4A3D33, #1E1915); }
.branch-tag { position: absolute; z-index: 1; left: 22px; bottom: 62px; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-light); }
.branch-name { position: absolute; z-index: 1; left: 22px; bottom: 16px; font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: .04em; }
.branch-view { position: absolute; z-index: 1; right: 16px; bottom: 18px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.25); transition: background .3s, border-color .3s; }
.branch-note { position: absolute; z-index: 1; top: 14px; left: 14px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: rgba(0,0,0,.45); padding: 5px 10px; backdrop-filter: blur(2px); }
.branch-media:hover .branch-view { background: var(--gold); border-color: var(--gold); }
.branch-body { padding: 26px 26px 26px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid var(--gold); }
.branch-addr { font-size: 16px; font-weight: 400; margin-bottom: 6px; }
.branch-hours { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.branch-staff { flex: 1; margin-bottom: 22px; }
.branch-staff h4 { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.staff-list { display: flex; flex-wrap: wrap; gap: 8px; }
.staff-list span { font-size: 13.5px; background: var(--ivory); padding: 6px 12px; }
.staff-empty { font-size: 13.5px; color: var(--muted-light); font-style: italic; }
.branch-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.branch-actions .btn { flex: 1; padding: 0 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--muted-light); padding: 84px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-logo { width: 170px; height: auto; }
.footer-motto { margin-top: 20px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold-light); }
.site-footer h4 { font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.site-footer p { margin: 0 0 8px; }
.site-footer b { color: var(--gold-light); font-weight: 500; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: #8a8378; }

.sticky-book { display: none; }

/* ---------- Nút Tư vấn (Messenger) ---------- */
.consult-btn {
  position: fixed; right: 24px; bottom: 24px; z-index: 45;
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--gold); color: var(--white); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 14px 30px -10px rgba(43,36,32,.55); transition: transform .3s var(--ease), background .3s;
}
.consult-btn:hover { transform: translateY(-3px); background: var(--gold-dark); }
.consult-btn svg { flex: none; }
.consult-btn::before { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 1px solid var(--gold-light); opacity: 0; animation: consult-ring 3.2s ease-out 2s infinite; pointer-events: none; }
@keyframes consult-ring { 0% { opacity: .7; transform: scale(.92); } 70%, 100% { opacity: 0; transform: scale(1.12); } }

/* ---------- Xem ảnh phóng to ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,10,.94); display: grid; place-items: center; padding: 40px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 80px); object-fit: contain; }
.lb-close { position: absolute; top: 14px; right: 20px; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; line-height: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: none; color: #fff; font-size: 30px; cursor: pointer; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-nav:hover { border-color: var(--gold); color: var(--gold-light); }

/* =========================================================
   TRANG "VỀ NAMHAIR" (bài viết)
   ========================================================= */
.hero-article { height: 72vh; min-height: 460px; }
.hero-article .hero-content { bottom: 12vh; }
.hero-sub { margin: 18px auto 0; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.read-more { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); border-bottom: 1px solid var(--gold-light); padding-bottom: 2px; }
.read-more:hover { color: var(--black); border-color: var(--black); }
.values-more { text-align: center; margin-top: 40px; }

.article { max-width: 760px; margin: 0 auto; padding: 90px 24px 40px; }
.article p { font-size: 17px; line-height: 1.85; color: #4A3C31; }
.article-intro { margin-bottom: 50px; }
.dropcap::first-letter { float: left; font-family: var(--serif); font-size: 74px; line-height: .82; padding: 8px 12px 0 0; color: var(--gold-dark); }
.article-lead { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 27px) !important; line-height: 1.5 !important; color: var(--black) !important; border-left: 3px solid var(--gold); padding-left: 22px; margin: 28px 0; }
.article-lead.center { border: 0; padding: 0; text-align: center; }
.toc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; padding: 26px 30px; background: var(--ivory); border-top: 3px solid var(--gold); margin-bottom: 70px; }
.toc a { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.toc a:hover { color: var(--gold-dark); }
.toc span { font-family: var(--serif); font-size: 20px; color: var(--gold); min-width: 26px; }
.article-part { position: relative; padding-top: 30px; margin-bottom: 64px; scroll-margin-top: calc(var(--header-h) + 10px); }
.part-no { display: block; font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--gold-light); margin-bottom: 6px; }
.article-part h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; color: var(--black); margin-bottom: 24px; }
.article-list { list-style: none; padding: 0; margin: 10px 0 26px; }
.article-list li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); font-size: 16px; color: #4A3C31; }
.article-list li::before { content: ""; position: absolute; left: 0; top: 23px; width: 10px; height: 2px; background: var(--gold); }
.article-list b { color: var(--black); font-weight: 600; }
.article-quote { margin: 0 0 22px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.3; color: var(--gold-dark); }
.part-link a, .gold-link { color: var(--gold-dark); font-weight: 500; border-bottom: 1px solid var(--gold-light); }
.article-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1000px; margin: 0 auto 70px; padding: 0 24px; }
.article-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 25%; }
.mini-branches { display: grid; gap: 12px; margin: 14px 0 26px; }
.mini-branch { display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: center; background: var(--ivory); padding: 10px; }
.mini-branch img { width: 150px; height: 100px; object-fit: cover; }
.mini-branch b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--black); line-height: 1.1; }
.mini-branch span { font-size: 14.5px; color: #5A4C42; }
.mini-branch .btn { margin-right: 6px; }
.article-end p { font-size: 17px; line-height: 1.85; color: #4A3C31; }
.check-list { list-style: none; padding: 0; margin: 10px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.check-list li { position: relative; padding-left: 28px; font-size: 16px; color: var(--black); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold-dark); font-weight: 600; }
.booking-cta { background: var(--black); color: var(--white); padding: 90px 0; }
.booking-cta .cta-text { font-family: var(--serif); font-size: clamp(21px, 2.4vw, 26px); line-height: 1.5; color: #ece6db; margin: 10px auto 34px; max-width: 720px; }

@media (max-width: 820px) {
  .hero-article { height: 64vh; }
  .hero-sub { font-size: 11px; letter-spacing: .16em; }
  .article { padding: 60px 18px 20px; }
  .article p { font-size: 16px; }
  .toc { grid-template-columns: 1fr; padding: 18px 20px; margin-bottom: 50px; }
  .part-no { font-size: 50px; }
  .article-photos { grid-template-columns: 1fr 1fr; padding: 0 16px; margin-bottom: 50px; }
  .article-photos img:nth-child(3) { display: none; }
  .mini-branch { grid-template-columns: 96px 1fr; }
  .mini-branch img { width: 96px; height: 80px; }
  .mini-branch b { font-size: 22px; }
  .mini-branch .btn { grid-column: 1 / -1; margin: 0; }
  .check-list { grid-template-columns: 1fr; }
  .booking-cta { padding: 70px 0 90px; }
}

/* =========================================================
   TRANG ĐẶT LỊCH
   ========================================================= */
.hero-booking { height: 52vh; min-height: 380px; }
.booking-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.booking-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.booking-aside .section-title { font-size: clamp(30px, 3.4vw, 42px); }
.booking-points { list-style: none; padding: 0; margin: 0 0 30px; }
.booking-points li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); font-size: 15px; }
.booking-points li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: var(--gold-dark); font-weight: 600; }
.booking-help { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.booking-help-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.booking-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 34px 38px 38px; box-shadow: 0 30px 60px -40px rgba(43,36,32,.45); }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; margin: 0 0 30px; }
.stepper li { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--line); font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.stepper span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); font-family: var(--serif); font-size: 16px; }
.stepper li.is-active { border-color: var(--gold); color: var(--black); font-weight: 500; }
.stepper li.is-active span { background: var(--gold); border-color: var(--gold); color: var(--white); }
.stepper li.is-done { border-color: var(--gold-light); }
.stepper li.is-done span { border-color: var(--gold); color: var(--gold-dark); }

.step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.step.is-active { display: block; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } }
.step legend { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--black); padding: 0; margin-bottom: 6px; }
.step-intro { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--black); margin-bottom: 8px; }
.field i { color: var(--gold-dark); font-style: normal; }
.field em, .check em { font-style: normal; font-weight: 300; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15.5px/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 2px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(160,128,90,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.err { display: block; min-height: 0; margin-top: 6px; font-size: 13px; color: #A3412F; }
.err:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 4px; font-size: 14.5px; line-height: 1.6; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); }
.check a { color: var(--gold-dark); text-decoration: underline; }
.check i { color: var(--gold-dark); font-style: normal; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); background: #fff; font-size: 14px; transition: all .2s; }
.chip input:checked + span { background: var(--black); border-color: var(--black); color: var(--white); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(160,128,90,.3); }
.step-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.step-actions.center { justify-content: center; }
.step-actions .btn:only-child { margin-left: auto; }
.summary { display: grid; grid-template-columns: 140px 1fr; margin: 18px 0; border-top: 1px solid var(--line); }
.summary dt, .summary dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary dt { color: var(--muted); }
.summary dd { color: var(--black); font-weight: 400; }
.step-note { font-size: 14px; color: #5A4C42; background: var(--ivory); padding: 14px 16px; border-left: 3px solid var(--gold); }
.step-done { text-align: center; }
.step-done h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--black); margin: 10px 0 14px; }
.done-icon { width: 64px; height: 64px; margin: 6px auto 0; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--white); font-size: 30px; }
.done-steps { text-align: left; margin: 0 auto 18px; padding-left: 22px; max-width: 520px; font-size: 15px; }
.done-steps li { margin-bottom: 8px; }
.done-message { text-align: left; white-space: pre-wrap; font: 400 14px/1.6 var(--sans); background: var(--ivory); border: 1px dashed var(--gold-light); padding: 14px 16px; margin: 0 auto; max-width: 520px; color: var(--ink); }
.copy-status { margin-top: 14px; font-size: 13.5px; color: var(--gold-dark); }
.done-code { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 auto 20px; padding: 14px 26px; border: 1px solid var(--gold-light); background: var(--ivory); }
.done-code[hidden] { display: none; }
.done-code span { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.done-code b { font-family: var(--serif); font-size: 34px; font-weight: 600; letter-spacing: .06em; color: var(--black); line-height: 1.1; }
.done-code em { font-style: normal; font-size: 13.5px; color: var(--gold-dark); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- Form đặt lịch dùng chung: thẻ cơ sở, chọn thợ, ngày, lưới giờ ---------- */
.bk-branch { display: flex; gap: 14px; align-items: center; background: var(--ivory); padding: 10px; margin-bottom: 18px; }
.bk-branch[hidden] { display: none; }
.bk-branch img { width: 110px; height: 74px; object-fit: cover; flex: none; }
.bk-branch b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--black); line-height: 1.1; }
.bk-branch span { font-size: 14px; color: #5A4C42; }
.bk-style { position: relative; display: flex; gap: 14px; align-items: center; border: 1px solid var(--gold-light); background: #fff; padding: 10px 44px 10px 10px; margin-bottom: 12px; }
.bk-style[hidden] { display: none; }
.bk-style img { width: 60px; height: 76px; object-fit: cover; object-position: 50% 20%; flex: none; }
.bk-style small { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); }
.bk-style b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--black); line-height: 1.15; margin: 2px 0 4px; }
.bk-style a { font-size: 13px; color: var(--gold-dark); text-decoration: underline; }
.bk-style-x { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border: 0; background: none; font-size: 24px; color: var(--muted); cursor: pointer; }
.chip-staff span { padding: 10px 18px; font-weight: 400; }
.chip-day span { display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: 8px 10px; line-height: 1.25; }
.chip-day b { font-weight: 500; font-size: 13.5px; }
.chip-day small { font-size: 12px; color: var(--muted); }
.chip-day input:checked + span small { color: var(--gold-light); }
.bk-date { margin-top: 10px; max-width: 220px; }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.time { position: relative; cursor: pointer; }
.time input { position: absolute; opacity: 0; pointer-events: none; }
.time span { display: block; text-align: center; padding: 9px 0; border: 1px solid var(--line); background: #fff; font-size: 14px; font-variant-numeric: tabular-nums; transition: all .15s; }
.time:hover span { border-color: var(--gold); }
.time input:checked + span { background: var(--gold); border-color: var(--gold); color: #fff; font-weight: 500; }
.time input:disabled + span { background: transparent; color: var(--muted-light); text-decoration: line-through; border-style: dashed; cursor: not-allowed; }
.time.is-full input:disabled + span { text-decoration: none; }
.time input:focus-visible + span { box-shadow: 0 0 0 3px rgba(160,128,90,.3); }
.time-grid .hint { grid-column: 1 / -1; }

/* ---------- Tư vấn khóa học ---------- */
.course-options { display: grid; gap: 12px; }
.course-option { position: relative; cursor: pointer; }
.course-option input { position: absolute; opacity: 0; pointer-events: none; }
.course-option span { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border: 1px solid var(--line); background: #fff; transition: all .2s; }
.course-option b { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--black); line-height: 1.15; }
.course-option small { font-size: 14px; color: var(--muted); }
.course-option:hover span { border-color: var(--gold); }
.course-option input:checked + span { border-color: var(--gold); box-shadow: inset 4px 0 0 var(--gold); background: var(--ivory); }
.course-option input:focus-visible + span { box-shadow: 0 0 0 3px rgba(160,128,90,.3); }

/* ---------- Khung đặt lịch bật lên (Trang chủ) ---------- */
.bk-modal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(30,24,20,.6); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s ease; }
.bk-modal[hidden] { display: none; }
.bk-modal.is-open { opacity: 1; }
.bk-modal-panel { position: relative; width: 100%; max-width: 780px; max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--white); border-top: 3px solid var(--gold); padding: 34px 40px 36px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
  transform: translateY(18px); transition: transform .3s var(--ease); overscroll-behavior: contain; }
.bk-modal.is-open .bk-modal-panel { transform: none; }
.bk-close { position: absolute; top: 10px; right: 14px; width: 40px; height: 40px; border: 0; background: none; font-size: 32px; line-height: 1; color: var(--muted); cursor: pointer; }
.bk-close:hover { color: var(--black); }
.bk-title { font-family: var(--serif); font-weight: 500; font-size: 34px; color: var(--black); margin-bottom: 20px; }

@media (max-width: 820px) {
  .bk-modal { padding: 0; align-items: flex-end; }
  .bk-modal-panel { max-height: 94vh; padding: 26px 16px 28px; transform: translateY(40px); }
  .bk-title { font-size: 28px; margin-bottom: 14px; }
  .bk-branch img { width: 84px; height: 60px; }
  .bk-branch b { font-size: 21px; }
  .time-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .chip-day span { min-width: 64px; }
}
.done-alt { margin: 26px auto 0; max-width: 520px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.done-alt p { margin-bottom: 12px; }

.page-policy main { padding-top: var(--header-h); }
.policy { padding-top: 70px; }
.eyebrow-dark { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.policy-title { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.4vw, 50px); line-height: 1.15; color: var(--black); margin-bottom: 18px; }
.policy-draft { font-size: 14px !important; background: #F6E7DC; color: #7A4A2A !important; padding: 12px 16px; border-left: 3px solid #C27B4E; }
.policy .article-part { margin-bottom: 36px; padding-top: 10px; }
.policy .article-part h2 { font-size: 26px; margin-bottom: 14px; }
.page-policy .site-footer { padding-top: 0; }

@media (max-width: 900px) {
  .booking-layout { grid-template-columns: 1fr; gap: 30px; }
  .booking-aside { position: static; }
}
@media (max-width: 820px) {
  .hero-booking { height: 46vh; min-height: 320px; }
  .booking-card { padding: 24px 18px 26px; }
  .stepper li { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 11.5px; }
  .step legend { font-size: 26px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .summary { grid-template-columns: 1fr; }
  .summary dt { padding-bottom: 0; border-bottom: 0; font-size: 12.5px; }
  .summary dd { padding-top: 2px; }
  .step-actions .btn { flex: 1; }
}

/* =========================================================
   KHÁM PHÁ KIỂU TÓC (kham-pha.html) + khối mở đầu trên Trang chủ
   ========================================================= */
.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; }
.hero-discover { height: 52vh; min-height: 380px; }
.kp-section { padding-top: 70px; }
.kp-quiz-wrap { max-width: 780px; margin: 0 auto; }
.kp-quiz-wrap[hidden] { display: none; }
.kp-quiz { min-height: 420px; }
.kp-progress { height: 3px; background: var(--line); margin-bottom: 14px; }
.kp-progress span { display: block; height: 100%; background: var(--gold); transition: width .4s var(--ease); }
.kp-count { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.kp-q { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.18; color: var(--black); margin-bottom: 8px; text-wrap: balance; outline: none; }
.kp-hint { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.kp-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0 8px; }
.kp-opt { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; text-align: left; min-height: 74px; justify-content: center;
  padding: 16px 20px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s; }
.kp-opt b { font-family: var(--serif); font-size: 23px; font-weight: 500; color: var(--black); line-height: 1.15; }
.kp-opt small { font-size: 13.5px; color: var(--muted); }
.kp-opt:hover { border-color: var(--gold); }
.kp-opt.is-on { border-color: var(--gold); background: var(--ivory); box-shadow: inset 4px 0 0 var(--gold); }
.kp-opts.is-multi .kp-opt { min-height: 60px; }
.kp-opts.is-multi .kp-opt b::before { content: "○ "; color: var(--gold); }
.kp-opts.is-multi .kp-opt.is-on b::before { content: "● "; }
.kp-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.kp-nav-r { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.kp-under { text-align: center; font-size: 14px; color: var(--muted); margin-top: 18px; }

.kp-results[hidden] { display: none; }
.kp-res-head { margin-bottom: 26px; }
.kp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.kp-chips span { padding: 6px 14px; background: var(--white); border: 1px solid var(--line); font-size: 13.5px; }
.kp-res-actions { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14.5px; }
.kp-note { font-size: 14.5px; color: #5A4C42; background: var(--white); padding: 12px 16px; border-left: 3px solid var(--gold); margin-bottom: 12px; }
.kp-empty { background: var(--white); border: 1px solid var(--line); padding: 30px; text-align: center; margin-bottom: 20px; }
.kp-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.kp-sub { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--black); margin-bottom: 18px; }
.kp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.kp-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.kp-card.is-big { border-top: 3px solid var(--gold); }
.kp-img { position: relative; display: block; padding: 0; border: 0; background: var(--ivory); cursor: zoom-in; aspect-ratio: 4 / 5; overflow: hidden; }
.kp-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .6s var(--ease); }
.kp-img:hover img { transform: scale(1.04); }
.kp-code { position: absolute; left: 10px; top: 10px; background: rgba(43,36,32,.82); color: var(--white); font-size: 11.5px; letter-spacing: .14em; padding: 4px 9px; }
.kp-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.kp-group { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 4px; }
.kp-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.18; color: var(--black); margin-bottom: 10px; }
.kp-why { list-style: none; padding: 0; margin: 0 0 12px; font-size: 14px; }
.kp-why li { position: relative; padding-left: 20px; margin-bottom: 4px; line-height: 1.5; }
.kp-why li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 600; }
.kp-price { font-weight: 500; color: var(--black); font-size: 15px; margin-bottom: 2px; }
.kp-care { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.kp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; align-items: center; }
.kp-actions .btn-sm { padding: 0 14px; letter-spacing: .12em; }
.kp-save { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-size: 13.5px; transition: all .2s; }
.kp-save:hover { border-color: var(--gold); }
.kp-save.is-on { border-color: var(--gold); color: var(--gold-dark); background: var(--ivory); }
.kp-disclaimer { margin-top: 30px; font-size: 13.5px; color: var(--muted); max-width: 860px; }

.kp-saved-intro { margin: 0 0 26px; max-width: 720px; }
.kp-saved-empty { color: var(--muted); }
.kp-compare-wrap { overflow-x: auto; }
.kp-compare { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.kp-compare th { text-align: left; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); }
.kp-compare td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.kp-mini { display: flex; gap: 12px; align-items: center; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); font-size: 14.5px; }
.kp-mini img { width: 56px; height: 70px; object-fit: cover; object-position: 50% 20%; flex: none; }
.kp-mini b { display: block; font-size: 12px; letter-spacing: .14em; color: var(--gold-dark); }
.kp-row-actions { white-space: nowrap; }
.kp-row-actions .link-btn { margin-left: 14px; font-size: 13.5px; }
.kp-saved-actions { margin-top: 20px; }

/* Chi tiết mẫu */
.sd-panel { max-width: 1040px; padding: 0; }
.sd-panel .bk-close { position: sticky; float: right; top: 10px; margin: 10px 10px -50px 0; z-index: 2; border-radius: 50%; background: rgba(250,246,240,.92); color: var(--black); box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.sd-grid { display: grid; grid-template-columns: 1fr 1.1fr; }
.sd-media { background: var(--ivory); }
.sd-media img { width: 100%; height: 100%; max-height: 86vh; object-fit: cover; object-position: 50% 20%; }
.sd-media-note { font-size: 12.5px; color: var(--muted); padding: 8px 14px; margin: 0; }
.sd-info { padding: 36px 36px 32px; min-width: 0; }
.sd-title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); line-height: 1.12; color: var(--black); margin-bottom: 12px; }
.sd-draft { font-size: 13px; background: #F6E7DC; color: #7A4A2A; padding: 8px 12px; border-left: 3px solid #C27B4E; }
.sd-dl { grid-template-columns: 150px 1fr; }
.sd-dl dt, .sd-dl dd { font-size: 14.5px; padding: 10px 0; }
.sd-price-note { font-size: 13px; color: var(--muted); }
.sd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sd-actions .kp-save { min-height: 50px; padding: 0 20px; }

/* Khối mở đầu trên Trang chủ */
.discover-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.discover-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.discover-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; }
.discover-photos img:nth-child(2) { transform: translateY(-24px); }
.discover-steps { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.discover-steps li { padding: 6px 14px; border: 1px solid var(--line); background: var(--white); font-size: 13.5px; }
.discover-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

@media (max-width: 900px) {
  .kp-top { grid-template-columns: 1fr; }
  .sd-grid { grid-template-columns: 1fr; }
  .sd-media img { max-height: 62vh; }
  .sd-info { padding: 24px 16px 28px; }
  .discover-teaser { grid-template-columns: 1fr; gap: 34px; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .kp-card.is-big { flex-direction: row; }
  .kp-card.is-big .kp-img { width: 42%; flex: none; aspect-ratio: auto; min-height: 340px; }
  .kp-card.is-big .kp-img img { position: absolute; inset: 0; }
}
@media (max-width: 820px) {
  .hero-discover { height: 42vh; min-height: 300px; }
  .kp-section { padding-top: 40px; }
  .kp-opts { grid-template-columns: 1fr; gap: 10px; }
  .kp-opts.is-multi { grid-template-columns: 1fr 1fr; }
  .kp-opt { min-height: 62px; padding: 12px 16px; }
  .kp-opt b { font-size: 21px; }
  .kp-quiz { min-height: 0; }
  .kp-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kp-grid .kp-card h3 { font-size: 19px; }
  .kp-grid .kp-why { display: none; }
  .kp-grid .kp-body { padding: 12px; }
  .kp-grid .kp-actions .btn-outline { display: none; }
  .sd-dl { grid-template-columns: 1fr; }
  .sd-actions .btn, .sd-actions .kp-save { flex: 1 1 100%; }
  .kp-compare thead { display: none; }
  .kp-compare, .kp-compare tbody, .kp-compare tr, .kp-compare td { display: block; width: 100%; }
  .kp-compare tr { border: 1px solid var(--line); margin-bottom: 12px; padding: 6px 4px; background: var(--white); }
  .kp-compare td { border: 0; padding: 6px 10px; }
  .kp-compare td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); }
  .kp-row-actions { white-space: normal; }
}

/* ---------- Hiệu ứng xuất hiện ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Nút ngôn ngữ VI | EN ---------- */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid currentColor; border-radius: 999px; overflow: hidden; opacity: .85; }
.lang-switch button { border: 0; background: none; color: inherit; font: 500 11px/1 var(--sans); letter-spacing: .12em; padding: 6px 9px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: #fff; }
.lang-switch.on-bar { display: none; }
.i18n-sub { display: block; margin-top: 6px; font-family: var(--sans); font-size: 13px; font-style: normal; letter-spacing: .06em; opacity: .75; }
.i18n-note { max-width: 760px; margin: 24px auto 0; padding: 10px 16px; font-size: 14px; background: var(--ivory); border-left: 3px solid var(--gold); color: var(--ink); }
main > .i18n-note:first-child { margin-top: calc(var(--header-h) + 20px); }

/* =========================================================
   MÁY TÍNH BẢNG
   ========================================================= */
@media (max-width: 1024px) {
  .nav { gap: 22px; }
  .nav a:not(.btn) { font-size: 11.5px; letter-spacing: .12em; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { gap: 56px; }
  .branches { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   ĐIỆN THOẠI
   ========================================================= */
@media (max-width: 820px) {
  :root { --header-h: 66px; }
  body { font-size: 15.5px; }
  .header-inner { padding: 0 14px; grid-template-columns: 44px 1fr 44px; }
  .nav { display: none; }
  .logo { justify-self: center; width: 118px; }
  .lang-switch.on-bar { display: inline-flex; justify-self: end; }
  .lang-switch.on-bar button { padding: 6px 7px; font-size: 10.5px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 44px; height: 44px; padding: 0 8px; border: 0; background: none; cursor: pointer; color: inherit; }
  .menu-toggle span { display: block; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

  .container { padding: 0 16px; }
  .section { padding: 78px 0; }

  .hero-content { bottom: 11vh; }
  .eyebrow { font-size: 11px; letter-spacing: .3em; }
  .hero-title { font-size: clamp(29px, 8vw, 38px); margin-bottom: 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
  .hero-dots { left: 50%; transform: translateX(-50%); bottom: 22px; }
  .scroll-cue { display: none; }

  .values { grid-template-columns: 1fr; margin-top: 46px; }
  .values li { padding: 30px 22px; }
  .brands { margin-top: 50px; }
  .brands-row { gap: 10px 26px; }
  .slogan { margin-top: 50px; }

  .tabs { margin-bottom: 32px; }
  .tab { padding: 10px 16px; font-size: 11.5px; letter-spacing: .1em; }
  .gallery, .feedback { --gpad: 16px; gap: 12px; padding-bottom: 14px; }
  .gallery { grid-auto-columns: 68vw; }
  .feedback { grid-auto-columns: 70vw; }
  .gal-nav { display: none; }

  .video-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .video-cover { padding: 14px; }
  .video-cover b { font-size: 16px; }
  .video-cover .play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }

  .price-card { padding: 22px 18px; }
  .price-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .price-head h3 { font-size: 24px; }
  .badge { white-space: normal; }
  .price-cols { grid-template-columns: repeat(2, 1fr); }
  .price-col b { font-size: 21px; }
  .price-rows b { font-size: 18px; }
  .price-rows span { font-size: 14px; }

  .founder-grid { grid-template-columns: 1fr; gap: 50px; }
  .founder-photo { margin-right: 22px; }
  .founder-photo img { aspect-ratio: 1 / 1; object-position: 50% 15%; }
  .stats b { font-size: 24px; }
  .stats li:nth-child(even) { padding-left: 16px; }

  .branches { grid-template-columns: 1fr; gap: 18px; }
  .branch-body { padding: 22px 18px; }
  .branch-name { font-size: 38px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding: 60px 0 70px; }

  .lightbox { padding: 50px 8px; }
  .lb-nav { display: none; }

  .consult-btn { display: none; }
  .sticky-book {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .sticky-book a {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px;
    font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
    box-shadow: 0 10px 30px -8px rgba(43,36,32,.5);
  }
  .sb-consult { background: var(--white); color: var(--black); border: 1px solid var(--gold); }
  .sb-book { background: var(--gold); color: var(--white); }
  .sticky-book.is-shown { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-slide { transition: none !important; transform: none !important; }
  .scroll-cue span, .consult-btn::before { animation: none; }
}
