/* =========================================================
   Sống chủ động cùng Nguyễn Yến — CSS dùng chung
   Mobile-first. Màu nhấn phụ đổi theo class trên <body>.
   ========================================================= */

:root {
  --navy: #14264A;
  --navy-dark: #0C1830;
  --gold: #B08D57;
  --gold-light: #D8C39C;
  --gold-pale: #F1E8D6;
  --gold-text: #7A5E30;
  --cream: #FAF6EE;
  --white: #FFFFFF;
  --text: #1F2430;
  --muted: #4E5566;
  --green: #3F6B4E;
  --blue: #2D5A8C;
  --error: #B3261E;
  --line: #E8DFCF;
  --line-strong: #8C8676;

  --accent: var(--gold-text);
  --accent-bg: var(--gold-pale);
  --focus: var(--navy-dark);

  --font-serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 16px;
  --header-h: 68px;
  --bar-h: 64px;
  --container: 1160px;
}

.page-home   { --accent: var(--gold-text); --accent-bg: var(--gold-pale); }
.page-law    { --accent: var(--navy);      --accent-bg: #E6EAF2; }
.page-health { --accent: var(--green);     --accent-bg: #E5EEE7; }
.page-ai     { --accent: var(--blue);      --accent-bg: #E3EBF4; }

/* ---------- Nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  overflow-x: clip;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.32;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.4rem); line-height: 1.22; }
h2 { font-size: clamp(1.625rem, 1.2rem + 2vw, 2.375rem); }
h3 { font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.4375rem); }

h1, h2, h3 { text-wrap: balance; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-dark); }

strong { font-weight: 700; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -120px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; outline-color: var(--gold); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap { white-space: nowrap; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.container--narrow { max-width: 880px; }

@media (min-width: 768px) {
  .container { padding-inline: 32px; }
}

/* ---------- Icon SVG nét mảnh ---------- */
.i {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-bg);
  color: var(--accent);
  margin-bottom: 18px;
}
.icon-badge .i { width: 30px; height: 30px; }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1.0625rem/1.3 var(--font-sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn .i { width: 22px; height: 22px; }

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }

.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy-dark); }

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

.btn-zalo { background: #0068FF; color: #fff; }
.btn-zalo:hover { background: #0052CC; color: #fff; }

.btn-block { width: 100%; }

.btn[disabled] { opacity: .7; cursor: progress; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn-group .btn { flex: 1 1 100%; }

@media (min-width: 600px) {
  .btn-group .btn { flex: 0 0 auto; }
}

.link-btn {
  background: none;
  border: 0;
  padding: 10px 4px;
  min-height: 48px;
  font: 600 1.0625rem/1.4 var(--font-sans);
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  font-weight: 600;
  color: var(--navy);
}
.text-link .i { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 246, 238, 0.97);
  border-bottom: 1px solid #E6DCC8;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: var(--header-h);
}
.js .header-inner { flex-wrap: nowrap; }

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
  min-height: 48px;
  flex: none;
}
.brand-logo {
  display: block;
  width: auto;
  height: 54px;
  flex: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font: 600 1rem/1 var(--font-sans);
  cursor: pointer;
}
.js .menu-toggle { display: inline-flex; }

.header-call { display: none; }

/* Nav: không JS → danh sách thường; có JS → drawer trên mobile */
.site-nav { width: 100%; }
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 4px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

.nav-head, .nav-contact { display: none; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(12, 24, 48, 0.55);
  opacity: 0;
  transition: opacity .25s ease;
}
.nav-backdrop.is-visible { opacity: 1; }

.js .site-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(88vw, 380px);
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 12px 20px 32px;
  overflow-y: auto;
  box-shadow: -12px 0 40px rgba(12, 24, 48, 0.18);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .28s ease, visibility 0s linear .28s;
}
.js .site-nav.is-open {
  transform: none;
  visibility: visible;
  transition: transform .28s ease;
}
.js .nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  margin-bottom: 8px;
  font: 700 1.125rem/1 var(--font-serif);
  color: var(--navy);
}
.nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font: 600 1rem/1 var(--font-sans);
  cursor: pointer;
}
.js .nav-list { display: block; padding: 0; }
.js .nav-list a {
  min-height: 56px;
  padding: 8px 14px;
  border-bottom: 1px solid #EFE7D8;
  font-size: 1.125rem;
}
.js .nav-list a[aria-current="page"] {
  text-decoration: none;
  background: var(--gold-pale);
  box-shadow: inset 4px 0 0 var(--gold);
}
.js .nav-contact {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .brand-logo { height: 62px; }
  .js .menu-toggle, .nav-backdrop { display: none; }
  .site-nav, .js .site-nav {
    position: static;
    width: auto;
    display: block;
    padding: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
    transform: none;
    visibility: visible;
    transition: none;
  }
  .js .nav-head, .js .nav-contact { display: none; }
  .nav-list, .js .nav-list { display: flex; flex-wrap: nowrap; gap: 2px; padding: 0; }
  .nav-list a, .js .nav-list a {
    min-height: 44px;
    padding: 8px 11px;
    border-bottom: 0;
    border-radius: 8px;
    font-size: 1rem;
    white-space: nowrap;
  }
  .nav-list a:hover { background: var(--gold-pale); }
  .nav-list a[aria-current="page"], .js .nav-list a[aria-current="page"] {
    background: none;
    text-decoration: none;
    box-shadow: inset 0 -2px 0 var(--gold);
    border-radius: 0;
  }
  .header-inner { flex-wrap: nowrap; }
}

@media (min-width: 1360px) {
  .header-call { display: inline-flex; flex: none; min-height: 48px; padding: 10px 18px; font-size: 1rem; white-space: nowrap; }
}

/* ---------- Section chung ---------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--white { background: #fff; }
.section--pale { background: var(--gold-pale); }
.section--navy {
  background: var(--navy);
  color: #fff;
  --focus: var(--gold-light);
}
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--wide { max-width: 980px; }
.h2-lines { text-transform: uppercase; letter-spacing: .02em; }
.h2-lines > span { display: block; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex: none;
}
.section--navy .eyebrow { color: var(--gold-light); }

h1 .eyebrow {
  display: flex;
  font-family: var(--font-sans);
  line-height: 1.4;
}
h1 .h1-main { display: block; }

.lead { font-size: 1.1875rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  padding-block: 40px 64px;
  background: linear-gradient(180deg, var(--cream) 0%, #F5EEDF 100%);
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero-text > p { font-size: 1.1875rem; }
.hero-meta { color: var(--muted); }
.hero-meta strong { color: var(--navy); }

.signature {
  margin-top: 20px;
  font: italic 600 1.25rem/1.4 var(--font-serif);
  color: var(--navy);
}
.signature::before { content: "— "; color: var(--gold); }

.hero-portrait {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 16px -12px -12px 16px;
  border: 2px solid var(--gold);
  border-radius: 22px;
}
.hero-portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  background: var(--gold-pale);
}

.band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  list-style: none;
}
.band li { display: flex; align-items: center; gap: 10px; }
.band li span { text-wrap: balance; }
.band .i { flex: none; }
.band .i { color: var(--gold-light); }

.mini-profile {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 8px 22px 8px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.mini-profile img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gold-pale);
}
.mini-profile strong { display: block; font-family: var(--font-serif); color: var(--navy); line-height: 1.3; }
.mini-profile span { display: block; font-size: 1rem; color: var(--muted); line-height: 1.4; text-wrap: balance; }

.hero-portrait--wide { max-width: 580px; }
.hero-portrait--wide img { aspect-ratio: 4 / 3; object-position: center; }

@media (min-width: 900px) {
  .hero { padding-block: 64px 96px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
}

/* ---------- Lưới & thẻ ---------- */
.list-reset { list-style: none; margin: 0; padding: 0; }
.grid { display: grid; gap: 20px; }
.grid-5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.grid-5 > :last-child { grid-column: 1 / -1; }
@media (min-width: 600px) {
  .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .grid-5 > :last-child { grid-column: auto; }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(20, 38, 74, 0.04);
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); }

.card--compact { align-items: center; text-align: center; padding: 18px 12px; }
.card--compact .icon-badge { width: 40px; height: 40px; margin: 0 auto 10px; }
.card--compact .icon-badge .i { width: 22px; height: 22px; }
.card--compact h3 { margin: 0; font-size: 1.0625rem; }
@media (min-width: 768px) {
  .card--compact { padding: 26px 18px; }
  .card--compact .icon-badge { width: 60px; height: 60px; margin-bottom: 18px; }
  .card--compact .icon-badge .i { width: 30px; height: 30px; }
  .card--compact h3 { font-size: 1.1875rem; }
}

/* Thẻ lĩnh vực trang chủ (cả thẻ bấm được) */
.domain-card { border-top: 4px solid var(--accent); padding-top: 32px; transition: box-shadow .2s ease, transform .2s ease; }
.domain-card--law    { --accent: var(--navy);  --accent-bg: #E6EAF2; }
.domain-card--health { --accent: var(--green); --accent-bg: #E5EEE7; }
.domain-card--ai     { --accent: var(--blue);  --accent-bg: #E3EBF4; }
.domain-card h3 a { color: var(--navy); text-decoration: none; }
.domain-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.domain-card h3 a:focus-visible { outline: none; }
.domain-card:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; }
.domain-card:hover { box-shadow: 0 18px 40px -24px rgba(20, 38, 74, 0.45); transform: translateY(-2px); }
.domain-card .tag { align-self: flex-start; margin-bottom: 16px; }

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 52px;
  margin-top: auto;
  padding: 12px 22px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 600;
  font-size: 1.0625rem;
}
.card-cta .i { width: 20px; height: 20px; }
.domain-card p { margin-bottom: 22px; }
.domain-card:hover .card-cta { background: var(--navy); color: #fff; }

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 14px;
  background: var(--gold-pale);
  color: var(--gold-text);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}

/* ---------- Câu chuyện: dòng thời gian ---------- */
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--gold-light), var(--gold));
}
.chapter {
  position: relative;
  padding: 0 0 44px 60px;
}
.chapter:last-child { padding-bottom: 0; }
.chapter-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font: 700 1.0625rem/1 var(--font-serif);
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 6px var(--gold);
}
.section--white .chapter-num { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--gold); }
.chapter-kicker {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.chapter h3 { font-size: clamp(1.3125rem, 1.1rem + 1vw, 1.625rem); }
.chapter-figure { margin: 24px 0 0; max-width: 360px; }
.chapter-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  background: var(--gold-pale);
}
.chapter-figure figcaption { margin-top: 10px; font-size: 1rem; color: var(--muted); }

@media (min-width: 900px) {
  .chapter--media .chapter-body {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
  }
  .chapter--media .chapter-figure { margin-top: 6px; }
}

.big-quote {
  max-width: 900px;
  margin: 56px auto 0;
  padding: 40px 12px 36px;
  text-align: center;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
.big-quote .i { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--gold); }
.big-quote blockquote {
  margin: 0;
  font: 600 clamp(1.3125rem, 1.05rem + 1.4vw, 1.875rem)/1.55 var(--font-serif);
  color: var(--navy);
}
.big-quote figcaption { margin-top: 18px; font-weight: 600; color: var(--gold-text); }

/* ---------- Con số ---------- */
.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.stat-num {
  min-width: 3.4ch;
  font: 700 clamp(2.5rem, 2rem + 2vw, 3.5rem)/1 var(--font-serif);
  color: var(--navy);
}
.stat-label { font-size: 1.125rem; font-weight: 500; }
.section--navy .stat { border-color: rgba(216, 195, 156, 0.3); }
.section--navy .stat-num { color: var(--gold-light); }

@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0 8px 24px;
    border-bottom: 0;
    border-left: 2px solid var(--gold);
  }
  .section--navy .stat { border-color: var(--gold); }
}
.stats-note { margin-top: 32px; color: var(--muted); }
.section--navy .stats-note { color: #E4DDCF; }

/* ---------- Nhận xét ---------- */
.testimonial {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.testimonial > .i { width: 40px; height: 40px; color: var(--gold); margin-bottom: 12px; }
.testimonial blockquote {
  margin: 0;
  font: 600 clamp(1.25rem, 1.08rem + .8vw, 1.625rem)/1.6 var(--font-serif);
  color: var(--navy);
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.testimonial img {
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gold-pale);
}
.testimonial .who { display: block; font-weight: 700; color: var(--navy); }
.testimonial .role { display: block; font-size: 1rem; color: var(--muted); line-height: 1.5; }
.testimonial-link { margin-top: 20px; text-align: center; }

@media (min-width: 768px) {
  .testimonial { padding: 44px 48px; }
}

/* ---------- Danh sách, khung ---------- */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.checklist .i { width: 26px; height: 26px; margin-top: 2px; color: var(--accent); }
.checklist--plain li { background: transparent; border: 0; padding: 6px 0; }

.note {
  margin-top: 20px;
  padding: 14px 18px;
  border-left: 4px solid var(--gold);
  background: var(--gold-pale);
  border-radius: 0 10px 10px 0;
  font-weight: 600;
  color: var(--text);
}

.frame-box {
  --frame: var(--gold);
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px;
  background: #fff;
  border: 2px solid var(--frame);
  border-radius: 22px;
}
.frame-box--green { --frame: var(--green); }
.frame-box--blue  { --frame: var(--blue); }
.frame-box .icon-badge { background: var(--accent-bg); }
.frame-box h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); }
.frame-box p { font-size: 1.1875rem; }

@media (min-width: 768px) {
  .frame-box { padding: 44px 52px; }
}

.two-col { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1.15fr .85fr; gap: 64px; }
}

.figure-stack { display: grid; gap: 20px; margin: 0; }
.figure-stack figure { margin: 0; }
.figure-stack img {
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  background: var(--gold-pale);
}
.figure-stack .ratio-portrait { aspect-ratio: 4 / 5; }
.figure-stack .ratio-square { aspect-ratio: 1 / 1; }
.figure-stack figcaption { margin-top: 10px; font-size: 1rem; color: var(--muted); }
@media (min-width: 600px) and (max-width: 899px) {
  .figure-stack { grid-template-columns: 1fr 1fr; }
}

/* Dịch vụ */
.service-card { padding: 32px 24px; border-top: 4px solid var(--gold); }
.service-card h3 {
  font-size: clamp(1.1875rem, 1.1rem + .5vw, 1.375rem);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.service-card h4 {
  margin: 20px 0 8px;
  font: 700 1rem/1.4 var(--font-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.service-card p { color: var(--text); }
.service-card .btn { margin-top: auto; }
.service-card .service-body { margin-bottom: 28px; }
@media (min-width: 768px) {
  .service-card { padding: 40px 36px; }
}

/* Kinh nghiệm & uy tín */
.creds { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 768px) { .creds { grid-template-columns: 1fr 1fr; } }
.cred {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.cred h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 700 1.125rem/1.4 var(--font-sans);
  color: var(--navy);
}
.cred h3 .i { color: var(--gold-text); }
.cred ul { margin: 0; padding-left: 1.2em; }
.cred li + li { margin-top: 6px; }

/* Quy trình */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.step {
  counter-increment: step;
  position: relative;
  padding: 24px 20px 24px 80px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy-dark);
  font: 700 1.125rem/1 var(--font-serif);
}
.step h3 { font-size: 1.1875rem; margin-bottom: .35em; }
.step p { color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 84px 22px 26px; }
  .step::before { top: 24px; left: 22px; }
}

/* Vai trò (trang sức khỏe) */
.roles { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 768px) { .roles { grid-template-columns: 1fr 1fr; } }
.role-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 16px;
}
.role-card--doctor { border-top-color: var(--navy); }
.role-card h3 { display: flex; align-items: center; gap: 12px; }
.role-card h3 .i { color: var(--accent); width: 28px; height: 28px; }
.role-card--doctor h3 .i { color: var(--navy); }

.key-statement {
  margin: 24px 0 0;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--accent-bg);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.55;
  text-align: center;
}

.prose { max-width: 760px; }
.prose p { font-size: 1.1875rem; }
.prose--center { margin-inline: auto; }

.highlight-line {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
  font: 600 1.25rem/1.55 var(--font-serif);
  color: var(--navy);
}

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--navy);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-pale);
  color: var(--gold-text);
  font-size: 1.5rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 16px 20px 20px; }

.backlink {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
}

/* ---------- Form ---------- */
.form-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 30px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 60px -36px rgba(20, 38, 74, 0.45);
}
.form-card > h2 { margin-bottom: .35em; }
.form-intro { color: var(--muted); margin-bottom: 28px; }
@media (min-width: 768px) {
  .form-card { padding: 48px 52px; }
}

.field {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.field-label {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--text);
}
.req, .opt { font-weight: 500; font-size: 1rem; color: var(--muted); }

.input {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 12px 16px;
  font: 400 1.125rem/1.5 var(--font-sans);
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  appearance: none;
}
.input::placeholder { color: #6B6F7A; }
.input:focus { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--navy); }
textarea.input { min-height: 128px; resize: vertical; }

.field.has-error .input { border-color: var(--error); border-width: 2px; }

.field-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--error);
}
.field-error[hidden] { display: none; }
.field-error::before {
  content: "!";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--error);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1;
}

.field-hint { margin: 8px 0 0; font-size: 1rem; color: var(--muted); }

.counter { margin: 8px 0 0; font-size: 1rem; color: var(--muted); text-align: right; }

.choices { display: grid; gap: 10px; }
.choices--inline { grid-template-columns: 1fr 1fr; }
@media (min-width: 560px) {
  .choices--2col { grid-template-columns: 1fr 1fr; }
  .choices--3col { grid-template-columns: repeat(3, 1fr); }
}

.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  font-size: 1.125rem;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.choice input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.choice:hover { border-color: var(--navy); }
.choice:has(input:checked) {
  border-color: var(--navy);
  background: #EEF1F7;
  box-shadow: inset 0 0 0 1px var(--navy);
}
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice input:focus-visible { outline: none; }
.field.has-error .choice { border-color: var(--error); }

.choice--consent { align-items: flex-start; background: var(--cream); }
.choice--consent input { margin-top: 2px; }

.form-note {
  margin: 0 0 26px;
  padding: 14px 18px;
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: var(--gold-pale);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.form-privacy {
  margin: -6px 0 22px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.form-status { margin: 0 0 16px; font-weight: 600; color: var(--error); }
.form-status:empty { display: none; }
.form-status a { color: var(--error); }

.form-after { margin-top: 14px; text-align: center; color: var(--muted); font-size: 1.125rem; }

/* Hộp xác nhận / cảm ơn */
.result-box:focus { outline: none; }
.result-box h3 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.result-box .result-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #E5EEE7;
  color: var(--green);
}
.result-box .result-icon .i { width: 30px; height: 30px; }
.confirm-summary {
  margin: 18px 0 22px;
  padding: 18px 20px;
  background: var(--cream);
  border: 1.5px dashed var(--gold);
  border-radius: 12px;
  font-size: 1.0625rem;
  line-height: 1.65;
  white-space: pre-line;
  overflow-wrap: anywhere;
  -webkit-user-select: text;
  user-select: text;
}
.confirm-actions { display: grid; gap: 12px; }
@media (min-width: 560px) { .confirm-actions { grid-template-columns: 1fr 1fr; } }
.confirm-status { margin: 16px 0 0; font-weight: 600; color: var(--green); }
.confirm-status:empty { display: none; }
.confirm-status.is-warning { color: var(--gold-text); }
.confirm-edit { margin-top: 12px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer {
  --focus: var(--gold-light);
  padding: 56px 0 28px;
  background: var(--navy-dark);
  color: #E9E4DA;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}
.footer-logo {
  display: block;
  width: auto;
  height: 56px;
  margin: 0 0 16px -3px;
}
.footer-brand {
  margin: 0 0 8px;
  font: 700 1.3125rem/1.45 var(--font-serif);
  color: #fff;
}
.footer-slogan {
  margin: 0;
  font: 600 1.125rem/1.5 var(--font-serif);
  color: var(--gold-light);
}
.footer-title {
  margin: 0 0 10px;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.footer-links .i { width: 20px; height: 20px; color: var(--gold-light); }
.footer-disclaimer {
  margin: 36px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(216, 195, 156, 0.35);
  border-radius: 12px;
  font-size: 1rem;
  color: #E4DDCF;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(216, 195, 156, 0.25);
  font-size: 1rem;
  color: #CFC8BA;
}

/* ---------- Thanh liên hệ đáy (mobile) ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-top: 1px solid #E1D7C4;
  box-shadow: 0 -6px 20px rgba(12, 24, 48, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--bar-h);
  padding: 8px 6px;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
}
.mobile-bar a + a { border-left: 1px solid #EFE7D8; }
.mobile-bar a:focus-visible { outline-offset: -4px; }
.mobile-bar .is-primary { background: var(--navy); color: #fff; --focus: var(--gold-light); }

@media (min-width: 768px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Hiệu ứng khi cuộn ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .domain-card:hover, .music-card:hover { transform: none; }
}

@media print {
  .site-header, .mobile-bar, .site-footer .footer-links, .footer-logo { display: none; }
  body { padding-bottom: 0; background: #fff; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Tâm sự (trang Sức khỏe) ---------- */
.story {
  max-width: 680px;
  margin: 0 auto;
}
.story p { font-size: 1.1875rem; line-height: 1.8; }
@media (min-width: 768px) {
  .story p { font-size: 1.25rem; }
}
.story-quote {
  margin: 8px 0 28px;
  padding: 6px 0 6px 22px;
  border-left: 4px solid var(--gold);
}
.story-quote p {
  font: 600 clamp(1.3125rem, 1.1rem + 1vw, 1.625rem)/1.55 var(--font-serif);
  color: var(--navy);
}
.story .story-emphasis {
  font-weight: 700;
  color: var(--navy);
}
.story-note {
  margin: 32px 0;
  padding: 22px 24px;
  border-radius: 16px;
  background: #EEF4EF;
  border-left: 4px solid var(--green);
}
.story-note p { margin-bottom: .6em; }
.story-steps {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.story-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 1.1875rem;
  line-height: 1.7;
}
.story-steps .icon-badge { width: 44px; height: 44px; margin: 0; flex: none; }
.story-steps .icon-badge .i { width: 24px; height: 24px; }
@media (min-width: 600px) {
  .story-steps li { gap: 16px; padding: 18px 20px; }
  .story-steps li:nth-child(2) { margin-left: 20px; }
  .story-steps li:nth-child(3) { margin-left: 40px; }
  .story-steps .icon-badge { width: 48px; height: 48px; }
  .story-steps .icon-badge .i { width: 26px; height: 26px; }
}
.story-step-label {
  display: block;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.story-closing {
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 2px solid var(--gold-light);
}
.story-closing blockquote { margin: 0; }
.story-closing p {
  font: italic 600 clamp(1.25rem, 1.1rem + .8vw, 1.5rem)/1.6 var(--font-serif);
  color: var(--navy);
}
.story-sign {
  margin-top: 14px;
  font-weight: 700;
  color: var(--gold-text);
}

/* ---------- Video ---------- */
.video-block { max-width: 960px; margin: 0 auto; }
.video-block .section-head { margin-bottom: 28px; }
.video-frame {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy-dark);
  box-shadow: 0 24px 50px -30px rgba(12, 24, 48, 0.55);
}
.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--navy-dark);
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 1rem;
  color: var(--muted);
}
.video-meta .i { width: 20px; height: 20px; color: var(--accent); }
.video-meta { justify-content: center; }
.video-cta { justify-content: center; margin-top: 24px; }
.video-inline { margin-top: 56px; }
.video-inline > h3,
.video-inline > p:not(.video-meta) { max-width: 760px; margin-inline: auto; text-align: center; }
.video-inline > h3 { margin-bottom: .4em; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.video-inline > p:not(.video-meta) { color: var(--muted); margin-bottom: 24px; }

/* ---------- Thẻ âm nhạc (trang chủ) ---------- */
.music-card { padding: 0; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.music-card:hover { box-shadow: 0 18px 40px -24px rgba(20, 38, 74, 0.45); transform: translateY(-2px); }
.music-card:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; }
.music-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--navy-dark); }
.music-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(12, 24, 48, 0.35);
}
.play-badge svg { width: 28px; height: 28px; margin-left: 4px; fill: currentColor; }
.music-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.music-body h3 a { color: var(--navy); text-decoration: none; }
.music-body h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.music-body h3 a:focus-visible { outline: none; }
.music-body p { margin-bottom: 20px; }
.music-card:hover .card-cta { background: var(--navy); color: #fff; }

/* ---------- Honeypot chống spam ---------- */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Trang 404 ---------- */
.notfound { text-align: center; }
.notfound .eyebrow { justify-content: center; }
.notfound-code {
  margin: 0 0 8px;
  font: 700 clamp(3.5rem, 2.5rem + 5vw, 6rem)/1 var(--font-serif);
  color: var(--gold);
}
.notfound .btn-group { justify-content: center; }
