/* By Dietitian — Quiet Luxury Medical Editorial System
 * Palette: #FCF9F5 (Alabaster) | #FAF1E7 (Warm Cream) | #5E1D38 (Deep Burgundy) | #3B1022 (Dark Burgundy) | #2F5D5A (Deep Teal)
 * Typography: Gentium Plus (Headings / Serif) & Be Vietnam Pro / DM Sans VN (Body / UI)
 * Note: Google Fonts' DM Sans lacks the 'vietnamese' glyph subset (causing mixed fallback on ồ, ơ, ư, ự, ể...).
 *       If self-hosting a Vietnamese-localized DM Sans in assets/fonts/, uncomment @font-face 'DM Sans VN' below.
 */
/*
@font-face {
  font-family: 'DM Sans VN';
  src: url('assets/fonts/DMSansVN-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans VN';
  src: url('assets/fonts/DMSansVN-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans VN';
  src: url('assets/fonts/DMSansVN-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
*/
:root {
  --bg: #FCF9F5;
  --surface: #FFFFFF;
  --cream: #FAF1E7;
  --cream-brand: #FFEBD6;
  --burgundy: #8B2E55;
  --burgundy-deep: #5E1D38;
  --burgundy-dark: #3B1022;
  --teal: #5A9692;
  --teal-deep: #2F5D5A;
  --teal-tint: #EEF5F4;
  --ink: #1E2426;
  --ink-body: #3E4A4E;
  --mute: #5D6A6F;
  --line: #E6DDD3;
  --line-dark: rgba(255, 255, 255, 0.16);
  --max-w: 1120px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans VN', 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-deep);
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 44px);
}

/* Header — Centered 2-Tier Editorial Navigation (no top-strip) */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 249, 245, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 0 14px;
  text-decoration: none;
  color: var(--ink);
}

.brand img.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.brand-name {
  display: block;
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--burgundy-deep);
}

.brand-sub {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--teal-deep);
  margin-top: 3px;
}

.nav-links {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 34px;
  padding: 12px 0 14px;
  border-top: 1px solid var(--line);
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--ink-body);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 3px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--burgundy-deep);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--burgundy-deep);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Editorial Typography */
h1, h2, h3, .editorial-idx, .manifesto-statement {
  font-family: 'Gentium Plus', Georgia, serif;
  font-weight: 400;
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 18px;
}

.eyebrow-centered {
  justify-content: center;
  text-align: center;
}

h1.display {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.005em;
  color: var(--burgundy-deep);
  margin: 0 0 24px;
}

h2.sec-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--burgundy-deep);
  margin: 0 0 18px;
}

h3.sub-title {
  font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--burgundy-deep);
  margin: 0 0 12px;
}

p {
  margin: 0 0 16px;
  color: var(--ink-body);
}

p.lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-body);
  max-width: 62ch;
  margin: 0 0 36px;
}

.prose-measure {
  max-width: 62ch;
}

/* Buttons & Quiet Links */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--burgundy-deep);
  color: #FFFFFF !important;
  padding: 13px 28px;
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--burgundy-deep);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-primary:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--teal-deep) !important;
  padding: 13px 28px;
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--teal-deep);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: var(--teal-deep);
  color: #FFFFFF !important;
}

.btn-cream {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--cream-brand) !important;
  padding: 12px 26px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--cream-brand);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-cream:hover {
  background: var(--cream-brand);
  color: var(--burgundy-dark) !important;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 93, 90, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--burgundy-deep);
  border-bottom-color: var(--burgundy-deep);
}

/* Sections & Surfaces */
section.sec {
  padding: 104px 0;
}

.sec-ivory {
  background: var(--bg);
}

.sec-white {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec-cream {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Hero (Typography-led) */
.hero {
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--line);
}

.hero-centered {
  text-align: center;
  padding: 96px 0 64px;
}

.hero-centered .display {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.hero-centered .lead {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-centered .hero-actions {
  justify-content: center;
}

.hero-breather {
  margin: 48px auto 0;
  max-width: 960px;
}

.hero-breather img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 2px;
}

section.sec-manifesto {
  padding: 76px 0 96px;
}

/* Manifesto (Home Block 02) */
.manifesto {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.manifesto .manifesto-statement {
  font-family: 'Gentium Plus', Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.22;
  color: var(--burgundy-deep);
  margin: 0 0 28px;
}

.manifesto p:not(.manifesto-statement) {
  max-width: 62ch;
  margin: 0 auto;
  font-size: 16.5px;
  color: var(--ink-body);
}

/* Hairline Horizontal List (Home Programmes & Services) */
.sec-head {
  margin-bottom: 48px;
}

.prog-list {
  border-top: 1px solid var(--line);
}

.prog-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1.05fr) minmax(0, 1.35fr) auto;
  gap: 20px 36px;
  align-items: baseline;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.prog-row > * {
  min-width: 0;
}

.editorial-idx {
  font-size: 26px;
  color: var(--teal-deep);
  line-height: 1.1;
}

.prog-title {
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: clamp(23px, 2.3vw, 28px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--burgundy-deep);
  margin: 0 0 6px;
}

.prog-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.prog-desc {
  margin: 0;
  max-width: 62ch;
  font-size: 15.5px;
  color: var(--ink-body);
}

.prog-action {
  white-space: nowrap;
}

.sec-footer-link {
  margin-top: 36px;
}

/* Authority Band (#5E1D38) */
.authority-band {
  background: var(--burgundy-deep);
  color: #FAF9F6;
  padding: 104px 0;
}

.authority-band .eyebrow {
  color: var(--cream-brand);
}

.authority-band h1.display,
.authority-band h2.sec-title,
.authority-band h3.sub-title {
  color: #FFFFFF;
}

.authority-band p {
  color: rgba(255, 255, 255, 0.86);
}

.authority-band a {
  color: var(--cream-brand);
}

.authority-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 64px;
  align-items: start;
}

.proof-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
}

.proof-list li {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 12px 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: baseline;
}

.proof-title {
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: 21px;
  color: var(--cream-brand);
  line-height: 1.25;
}

.proof-meta {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.84);
}

/* Three Commitments (3 Airy Columns, Hairline Top) */
.commit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  margin-top: 48px;
}

.commit-item {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  min-width: 0;
}

.commit-item .editorial-idx {
  display: block;
  margin-bottom: 14px;
  font-size: 22px;
}

.commit-item h3 {
  font-size: 23px;
  line-height: 1.3;
  color: var(--burgundy-deep);
  margin: 0 0 12px;
}

.commit-item p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-body);
}

/* Split / Editorial Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 56px;
}

.grid-2 > *,
.split-asymm > * {
  min-width: 0;
}

.split-asymm {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 48px 64px;
  align-items: start;
}

.editorial-block {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

/* Service Detail Rows (dich-vu.html) */
.service-detail-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 0.95fr) minmax(0, 1.45fr);
  gap: 20px 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.service-detail-row > * {
  min-width: 0;
}

.service-meta-line {
  margin: 0 0 12px;
  font-size: 15.5px;
  color: var(--ink-body);
  max-width: 62ch;
}

.service-meta-line:last-child {
  margin-bottom: 0;
}

.service-meta-line strong {
  color: var(--burgundy-deep);
  font-weight: 600;
}

/* 4-Step Process */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 44px;
}

.step-col {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  min-width: 0;
}

.step-label {
  display: block;
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: 20px;
  color: var(--teal-deep);
  margin-bottom: 10px;
}

.step-col h3 {
  font-size: 20px;
  line-height: 1.3;
  color: var(--burgundy-deep);
  margin: 0 0 10px;
}

.step-col p {
  margin: 0;
  font-size: 14.5px;
}

/* Magazine Article List (Home & Knowledge) */
.article-list {
  border-top: 1px solid var(--line);
}

.article-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 14px 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.article-row[hidden] {
  display: none;
}

.article-row > * {
  min-width: 0;
}

.article-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.article-title {
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--burgundy-deep);
  margin: 0 0 10px;
}

.article-title a {
  color: inherit;
  text-decoration: none;
}

.article-title a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-summary {
  margin: 0;
  max-width: 62ch;
  font-size: 15.5px;
  color: var(--ink-body);
}

.article-meta {
  margin-top: 10px;
  font-size: 13px;
  color: var(--mute);
}

/* Filter Bar (kien-thuc.html) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 0 0 28px;
}

.filter-btn {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid transparent;
  padding: 6px 2px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mute);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  color: var(--burgundy-deep);
}

.filter-btn.is-active {
  color: var(--burgundy-deep);
  font-weight: 600;
  border-bottom-color: var(--burgundy-deep);
}

/* Quiet CTA */
.quiet-cta {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.quiet-cta p {
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: clamp(24px, 2.6vw, 31px);
  line-height: 1.35;
  color: var(--burgundy-deep);
  max-width: 44ch;
  margin: 0 auto 28px;
}

/* Publications & Academic Lists */
.pub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line-dark);
}

.pub-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
}

.pub-year {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-brand);
  display: block;
  margin-bottom: 5px;
}

.pub-title {
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: 18.5px;
  line-height: 1.38;
  color: #FFFFFF;
  display: block;
  margin-bottom: 4px;
}

.pub-journal {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.76);
}

.pub-list-light {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.pub-list-light li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-body);
}

.pub-list-light .pub-year {
  color: var(--teal-deep);
}

.pub-list-light .pub-title {
  color: var(--burgundy-deep);
}

.pub-list-light .pub-journal {
  color: var(--mute);
}

/* Minimal Photo Frame & Editorial Visual Breathers (no heavy shadows) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: 40px;
}

.photo-frame {
  margin: 0;
  min-width: 0;
}

.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.photo-frame figcaption {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mute);
  font-style: italic;
}

.hero-no-border {
  border-bottom: none;
  padding-bottom: 56px;
}

.breather-band {
  padding: 0 0 88px;
}

.breather-band-padded {
  padding: 72px 0;
}

.breather-wide {
  margin: 0;
}

.breather-wide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.breather-duo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.breather-duo .photo-frame img {
  width: 100%;
  height: clamp(290px, 33vw, 430px);
  object-fit: cover;
}

.breather-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.breather-pair .photo-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 20%;
}

/* 2x2 Magazine Programme Grid (index.html [HOME-03]) */
.prog-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 44px;
}

.prog-card {
  min-width: 0;
}

.prog-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--cream);
}

.prog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.5s ease;
}

.prog-card:hover .prog-media img {
  transform: scale(1.02);
}

.prog-body {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.prog-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 10px;
}

.prog-meta .editorial-idx {
  font-size: 21px;
}

.prog-card .prog-title {
  margin-bottom: 10px;
}

.prog-card .prog-action {
  margin-top: 16px;
}

/* Clinical Proof Section connecting into Authority Band */
.sec-clinical-proof {
  padding: 84px 0 80px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.sec-clinical-proof .breather-pair {
  margin-top: 36px;
}

.gallery-grid .photo-frame img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 20%;
}

/* FAQ Accordion (Hairline Only) */
.faq-list {
  border-top: 1px solid var(--line);
  margin-top: 32px;
}

details.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

details.faq-item summary {
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--burgundy-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: 24px;
  color: var(--teal-deep);
  flex-shrink: 0;
}

details.faq-item[open] summary::after {
  content: "−";
}

details.faq-item p {
  margin: 14px 0 4px;
  font-size: 15.5px;
  max-width: 64ch;
  color: var(--ink-body);
}

/* Intake Form (Hairline, Flat, Quiet) */
.intake-form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 40px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  margin-bottom: 22px;
}

.field label,
.field-legend {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--burgundy-deep);
  margin-bottom: 8px;
}

.field label .opt,
.field-note {
  font-weight: 400;
  color: var(--mute);
  font-size: 13px;
}

.field-note {
  margin-top: 6px;
  display: block;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid #D8CFC4;
  border-radius: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal-deep);
  background: var(--surface);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink-body);
  cursor: pointer;
}

.radio-option input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--burgundy-deep);
}

.success-box {
  display: none;
  background: var(--teal-tint);
  border-left: 2px solid var(--teal-deep);
  padding: 16px 18px;
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--ink);
}

.info-list {
  border-top: 1px solid var(--line);
  margin-top: 28px;
}

.info-list-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.info-list-item strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 6px;
}

.info-list-item p {
  margin: 0;
  font-size: 15px;
}

/* Colleague Referral Quote */
.referral-quote {
  margin: 0 0 20px;
  padding: 18px 24px;
  background: var(--surface);
  border-left: 2px solid var(--burgundy-deep);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.status-note {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--teal-deep);
  min-height: 20px;
}

/* Footer (#3B1022) */
footer {
  background: var(--burgundy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 72px 0 56px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 36px 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand {
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: 26px;
  color: #FFFFFF;
  margin: 0 0 10px;
}

.footer-top p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-brand);
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--cream-brand);
  text-decoration: underline;
}

.footer-colleague {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
}

.footer-colleague p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 64ch;
}

.footer-legal {
  padding-top: 24px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

/* Responsive */
@media (max-width: 960px) {
  .prog-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px 24px;
  }
  .prog-row .prog-desc,
  .prog-row .prog-action {
    grid-column: 2;
  }
  .service-detail-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .commit-grid,
  .authority-split,
  .grid-2,
  .split-asymm,
  .gallery-grid,
  .footer-top,
  .field-row {
    grid-template-columns: 1fr;
  }
  .article-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .proof-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 768px) {
  section.sec,
  .authority-band {
    padding: 68px 0;
  }
  .hero,
  .hero-centered {
    padding: 64px 0 60px;
  }
  .hero-no-border {
    padding-bottom: 40px;
  }
  .breather-band {
    padding: 0 0 56px;
  }
  .breather-band-padded {
    padding: 48px 0;
  }
  .breather-wide img {
    aspect-ratio: 16 / 10;
  }
  .breather-duo,
  .breather-pair,
  .prog-grid-2x2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-breather {
    margin-top: 36px;
  }
  .hero-breather img {
    max-height: none;
  }
  section.sec-manifesto,
  .sec-clinical-proof {
    padding: 56px 0;
  }
  .breather-duo .photo-frame img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .intake-form {
    padding: 24px 20px;
  }
}

@media (max-width: 600px) {
  .brand {
    padding: 14px 0 10px;
    gap: 11px;
  }
  .brand img.brand-logo {
    height: 38px;
  }
  .brand-name {
    font-size: 23px;
  }
  .brand-sub {
    font-size: 10.5px;
  }
  .nav-links {
    gap: 8px 18px;
    padding: 10px 0 12px;
  }
  .nav-links a {
    font-size: 13px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .prog-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .prog-row .prog-desc,
  .prog-row .prog-action {
    grid-column: 1;
  }
}


/* Meal Showcase (3-Column Real Portioned Meals) */
.meal-showcase-head {
  margin-bottom: 36px;
  max-width: 64ch;
}

.meal-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.meal-showcase-item {
  margin: 0;
  min-width: 0;
}

.meal-showcase-media {
  aspect-ratio: 4 / 3;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--cream);
}

.meal-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.45s ease;
}

.meal-showcase-item:hover .meal-showcase-media img {
  transform: scale(1.02);
}

.meal-showcase-caption {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mute);
  font-style: italic;
}

/* Pricing & Family Client Flagship (#chi-phi) — Quiet Luxury Editorial */
.pricing-lead {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-body);
  max-width: 64ch;
  margin: 0 0 40px;
}

.pricing-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 64px;
}

.pricing-guide-col {
  padding: 28px 36px 28px 0;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.pricing-guide-col:last-child {
  padding: 28px 0 28px 36px;
  border-right: none;
}

.pricing-guide-kicker {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 8px;
}

.pricing-guide-col p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-body);
}

.pricing-guide-col strong {
  color: var(--burgundy-deep);
  font-weight: 600;
}

.pricing-group {
  margin-bottom: 52px;
}

.pricing-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  margin-bottom: 14px;
}

.pricing-group-title {
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 400;
  color: var(--burgundy-deep);
  margin: 0;
  line-height: 1.25;
}

.pricing-group-note {
  font-size: 13.5px;
  color: var(--mute);
  font-style: italic;
  margin: 0;
}

.pricing-rows {
  border-top: 1px solid var(--line);
}

.pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 48px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.pricing-item-main {
  min-width: 0;
}

.pricing-item-title {
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 6px;
}

.pricing-badge {
  display: inline-block;
  font-family: 'DM Sans VN', 'Be Vietnam Pro', 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-tint);
  border: 1px solid rgba(47, 93, 90, 0.2);
  padding: 2px 9px;
  border-radius: 2px;
  margin-left: 8px;
  vertical-align: middle;
}

.pricing-item-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-body);
  max-width: 64ch;
}

.pricing-item-fee {
  text-align: right;
  white-space: nowrap;
}

.pricing-amount {
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--burgundy-deep);
  line-height: 1.2;
}

.pricing-unit {
  font-size: 13.5px;
  color: var(--mute);
  margin-left: 3px;
}

.pricing-flagship {
  margin-top: 56px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--burgundy-deep);
  padding: 48px 52px;
}

.pricing-flagship-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 24px 48px;
  align-items: start;
}

.pricing-flagship-title {
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  color: var(--burgundy-deep);
  line-height: 1.2;
  margin: 0 0 14px;
}

.pricing-flagship-desc {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-body);
  max-width: 60ch;
}

.pricing-flagship-pricebox {
  text-align: right;
}

.pricing-flagship-fee {
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 400;
  color: var(--burgundy-deep);
  line-height: 1.15;
  white-space: nowrap;
}

.pricing-flagship-fee span {
  font-family: 'DM Sans VN', 'Be Vietnam Pro', 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: var(--ink-body);
  font-weight: 400;
}

.pricing-flagship-scope {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--mute);
  font-style: italic;
  max-width: 28ch;
  margin-left: auto;
}

.pricing-flagship-list {
  list-style: none;
  margin: 36px 0 36px;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 44px;
}

.pricing-flagship-list li {
  min-width: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-body);
}

.pricing-flagship-idx {
  display: block;
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: 20px;
  color: var(--teal-deep);
  margin-bottom: 6px;
  line-height: 1.1;
}

.pricing-flagship-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.pricing-disclaimer {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mute);
  max-width: 78ch;
}

@media (max-width: 960px) {
  .meal-showcase-grid,
  .pricing-guide,
  .pricing-flagship-top,
  .pricing-flagship-list {
    grid-template-columns: 1fr;
  }
  .pricing-guide-col {
    padding: 22px 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .pricing-guide-col:last-child {
    padding: 22px 0;
    border-bottom: none;
  }
  .pricing-flagship-pricebox {
    text-align: left;
  }
  .pricing-flagship-scope {
    margin-left: 0;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .meal-showcase-grid {
    gap: 28px;
  }
  .pricing-guide {
    margin-bottom: 48px;
  }
  .pricing-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }
  .pricing-item-fee {
    text-align: left;
  }
  .pricing-badge {
    margin-left: 0;
    margin-top: 6px;
  }
  .pricing-flagship {
    padding: 32px 22px;
    margin-top: 44px;
  }
  .pricing-flagship-list {
    margin: 28px 0;
    padding-top: 24px;
    gap: 22px;
  }
}


/* Activity Gallery 3x3 (ho-so-nang-luc.html [PRO-04]) */
.activity-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 32px;
  margin-top: 44px;
}

.activity-card {
  margin: 0;
  min-width: 0;
}

.activity-card-media {
  aspect-ratio: 3 / 2;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
}

.activity-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transition: transform 0.45s ease;
}

.activity-card:hover .activity-card-media img {
  transform: scale(1.02);
}

.activity-card figcaption {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-body);
}

/* Contact Page Doctor Review Photo (lien-he.html) */
.contact-work-photo {
  margin: 32px 0 0;
  max-width: 368px;
}

.contact-work-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 460px;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.contact-work-photo figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--mute);
  font-style: italic;
}

@media (max-width: 960px) {
  .activity-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
  .contact-work-photo {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .activity-gallery-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}


/* Horizontal Activity Strip with Peek (index.html [HOME-04]) */
.activity-strip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.activity-strip-head .sec-title {
  margin-bottom: 0;
}

.activity-strip-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.activity-strip-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--burgundy-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.activity-strip-btn:hover:not(:disabled) {
  border-color: var(--burgundy-deep);
  background: var(--cream);
}

.activity-strip-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.activity-strip-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  margin-top: 36px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.activity-strip-track::-webkit-scrollbar {
  display: none;
}

.activity-strip-item {
  flex: 0 0 calc((100% - 24px) * 0.45);
  scroll-snap-align: start;
  margin: 0;
  min-width: 0;
}

.activity-strip-media {
  aspect-ratio: 3 / 2;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--cream);
}

.activity-strip-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.activity-strip-caption {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-body);
}

.activity-strip-year {
  color: var(--teal-deep);
  font-weight: 600;
}

@media (max-width: 767px) {
  .activity-strip-head {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }
  .activity-strip-track {
    gap: 16px;
    margin-top: 28px;
  }
  .activity-strip-item {
    flex: 0 0 85%;
  }
}


/* Đợt #6 Refinements — Balanced Line Wrapping, Overlay Strip Controls & 2-Group Food Showcase */
p,
.prog-desc,
.service-meta-line,
.article-summary,
.pricing-item-desc,
.pricing-flagship-list li {
  text-wrap: pretty;
}

.activity-strip-wrap {
  position: relative;
  margin-top: 36px;
}

.activity-strip-wrap .activity-strip-track {
  margin-top: 0;
}

.activity-strip-wrap .activity-strip-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(252, 249, 245, 0.92);
  backdrop-filter: blur(4px);
  color: var(--burgundy-deep);
}

.activity-strip-wrap .activity-strip-btn-prev {
  left: 10px;
}

.activity-strip-wrap .activity-strip-btn-next {
  right: 10px;
}

.activity-strip-wrap .activity-strip-btn:hover:not(:disabled) {
  border-color: var(--burgundy-deep);
  background: var(--cream);
}

.activity-strip-wrap .activity-strip-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.meal-showcase-group + .meal-showcase-group {
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.meal-showcase-group-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 22px;
}

@media (max-width: 767px) {
  .activity-strip-wrap {
    margin-top: 28px;
  }
  .activity-strip-wrap .activity-strip-btn {
    width: 38px;
    height: 38px;
    top: 38%;
  }
  .meal-showcase-group + .meal-showcase-group {
    margin-top: 40px;
    padding-top: 32px;
  }
}


/* Đợt #7 — Hard-locked 3x2 Food Grid, 900px Pricing Catalog & 2-Column Flagship Package */
.meal-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.meal-showcase-media {
  aspect-ratio: 4 / 3;
  background: #FAF1E7;
  overflow: hidden;
  border: 1px solid #E6DDD3;
  border-radius: 2px;
}

@media (min-width: 768px) and (max-width: 899px) {
  .meal-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .meal-showcase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.pricing-catalog {
  max-width: 900px;
  margin-inline: auto;
}

.pricing-catalog .pricing-group:last-child {
  margin-bottom: 0;
}

.pricing-flagship-split {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.pricing-flagship-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-flagship-body .pricing-flagship-top {
  grid-template-columns: 1fr;
  gap: 14px;
}

.pricing-flagship-body .pricing-flagship-pricebox {
  text-align: left;
}

.pricing-flagship-body .pricing-flagship-scope {
  margin-left: 0;
  max-width: none;
}

.pricing-flagship-body .pricing-flagship-list {
  margin: 26px 0 28px;
  padding-top: 24px;
  gap: 20px 28px;
}

.pricing-flagship-media {
  margin: 0;
  min-width: 0;
  height: 100%;
}

.pricing-flagship-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 4px;
  border: 1px solid var(--line);
  display: block;
}

@media (max-width: 900px) {
  .pricing-flagship-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pricing-flagship-body .pricing-flagship-list {
    grid-template-columns: 1fr;
  }
  .pricing-flagship-media img {
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 460px;
  }
}



/* Đợt #8 — Single-Column Co-Specialist Bio */
.pro-oanh-bio {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 72ch;
}

.pro-oanh-bio p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-body);
}


/* Đợt #9B — Video Reference Triggers & Lazy-load Lightbox Modal (kien-thuc.html [KNW-02B]) */
.article-row.video-ref-row {
  grid-template-columns: 210px minmax(0, 1fr) auto;
  align-items: start;
}

.video-title-btn {
  appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.video-title-btn:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.video-ref-action {
  padding-top: 2px;
}

.video-trigger {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(94, 29, 56, 0.28);
  border-radius: 2px;
  padding: 9px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #5E1D38;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.video-trigger:hover {
  background: #5E1D38;
  border-color: #5E1D38;
  color: #FFFFFF;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 36, 38, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 92vw;
  background: #FCF9F5;
  border: 1px solid #E6DDD3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 18, 20, 0.35);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid #E6DDD3;
  background: #FCF9F5;
}

.video-modal-title {
  font-family: 'Gentium Plus', Georgia, serif;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--burgundy-deep);
  margin: 0;
}

.video-modal-close {
  appearance: none;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #E6DDD3;
  background: transparent;
  color: var(--burgundy-deep);
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.video-modal-close:hover {
  background: var(--cream);
  border-color: var(--burgundy-deep);
}

.video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1E2426;
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 14px 22px;
  border-top: 1px solid #E6DDD3;
  background: #FCF9F5;
}

.video-modal-yt {
  font-size: 13.5px;
  color: var(--mute);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.video-modal-yt:hover {
  color: var(--burgundy-deep);
  border-bottom-color: var(--burgundy-deep);
}

@media (max-width: 960px) {
  .article-row.video-ref-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .video-ref-action {
    padding-top: 4px;
  }
}

@media (max-width: 640px) {
  .video-modal {
    padding: 12px;
  }
  .video-modal-dialog {
    width: 96vw;
  }
  .video-modal-header {
    padding: 13px 16px;
  }
  .video-modal-footer {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}



/* Đợt #9 — Soft Launch Form Error Notice & Academic Profile Links */
.error-box {
  display: none;
  margin-top: 20px;
  padding: 18px 20px;
  background: #FFF7F5;
  border: 1px solid #D9B3AC;
  border-left: 3px solid var(--burgundy-deep);
  color: var(--burgundy-dark);
  font-size: 14.5px;
  line-height: 1.65;
}

.authority-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  line-height: 1.65;
}

.authority-links a {
  color: var(--cream-brand);
  text-decoration: underline;
  text-decoration-color: rgba(255, 235, 214, 0.42);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease, opacity 0.2s ease;
}

.authority-links a:hover {
  text-decoration-color: var(--cream-brand);
  opacity: 0.92;
}



/* Đợt #9B — Uppercase Brand Identity & Pricing Anchor Scroll Offset */
.brand-name,
.footer-brand {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.brand-name {
  font-size: 24px;
}

#chi-phi {
  scroll-margin-top: 136px;
}
