/* Queen Fitness & Group X – Trang chủ (prototype)
   Nhận diện: nền đen/nâu than, vàng gold ánh kim, kem sáng; Bếp Queen dùng xanh lá. */
:root {
  --bg: #141514;
  --bg-2: #1a1a19;
  --surface: #201f1e;
  --surface-2: #2a2826;
  --line: #3a3732;
  --ink: #f5eedc;
  --muted: #b5ac98;
  --gold: #f3cd82;
  --gold-deep: #af8c50;
  --cream: #ffebb9;
  --red: #c8423a;
  --green: #7fc98a;
  --green-deep: #2f7d3a;
  --green-bg: #121a13;
  --green-surface: #1b261c;
  --gold-grad: linear-gradient(180deg, #ffebb9 0%, #f3cd82 45%, #af8c50 100%);
  --gold-btn: linear-gradient(180deg, #f8dc9f 0%, #f3cd82 50%, #c9a25f 100%);

  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Dancing Script", "Brush Script MT", cursive;

  --radius: 12px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #141514; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 16px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(64px, 9vw, 112px); }

/* Type */
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-block: .08em; }
.display { font-family: var(--f-display); font-weight: 700; font-size: clamp(38px, 6.4vw, 72px); line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; }
.display .gold-text { display: block; }
.title { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.25; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 54ch; }
.lead b { color: var(--ink); }
.muted { color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }
.script { font-family: var(--f-script); font-weight: 600; font-size: clamp(52px, 7vw, 80px); line-height: 1; color: var(--gold); }

.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.section-head.row { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 8px; font: 600 15px/1.2 var(--f-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-btn); color: #1a1610; box-shadow: 0 6px 20px -8px rgba(243, 205, 130, .55); }
.btn-ghost { border-color: rgba(243, 205, 130, .45); color: var(--gold); background: transparent; }
.btn-ghost:hover { background: rgba(243, 205, 130, .08); }
.btn-outline { border-color: var(--gold-deep); color: var(--gold); background: transparent; }
.btn-outline:hover { background: rgba(243, 205, 130, .08); }
.btn-green { background: var(--green-deep); color: #fff; }
.btn-green:hover { background: #378f43; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.badge { display: inline-block; font: 700 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px; }
.badge-red { background: var(--red); color: #fff; }
.badge-gold { background: var(--gold); color: #1a1610; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(20, 21, 20, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(175, 140, 80, .25); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 60; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-grid; grid-template-columns: auto; text-decoration: none; line-height: 1; position: relative; padding-top: 10px; }
.brand .crown { position: absolute; top: -2px; left: 0; width: 22px; height: 13px; fill: var(--gold); }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-block: 2px; }
.brand-sub { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-deep); margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 22px; }
.main-nav a:not(.btn) { text-decoration: none; font-size: 14.5px; font-weight: 500; color: #e8e0cc; padding: 6px 0; position: relative; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:not(.btn):hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
.main-nav a.nav-bq { color: var(--green); }
.nav-cta { min-height: 42px; padding: 10px 18px; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--gold); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(60% 80% at 85% 20%, rgba(243, 205, 130, .12), transparent 60%),
  radial-gradient(40% 60% at 0% 100%, rgba(175, 140, 80, .10), transparent 60%), var(--bg); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 88px); }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.hero .display { font-size: clamp(34px, 4.4vw, 58px); text-transform: none; letter-spacing: 0; line-height: 1.18; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 16px; }

.formula { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.formula li { display: flex; flex-direction: column; justify-content: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(32, 31, 30, .7); }
.formula li b { font-size: 14.5px; font-weight: 600; }
.formula li span { font-size: 12px; color: var(--muted); }
.formula li.op { border: 0; background: none; padding: 0 2px; font-family: var(--f-display); font-size: 26px; color: var(--gold-deep); }
.formula li.result { border-color: var(--gold-deep); background: rgba(243, 205, 130, .1); }
.formula li.result b { color: var(--gold); }

.goal { display: flex; flex-direction: column; gap: 10px; }
.goal-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.goal-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.goal-chips a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(243, 205, 130, .35); color: var(--ink); transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.goal-chips a:hover { background: var(--gold); border-color: var(--gold); color: #1a1610; }
.goal-chips a.chip-bq { border-color: rgba(127, 201, 138, .5); color: var(--green); }
.goal-chips a.chip-bq:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.hero-proof { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stars { color: var(--gold); letter-spacing: 2px; }

.hero-visual { position: relative; height: clamp(440px, 46vw, 580px); }
.hero-q { display: none; }
.hv-main { position: absolute; right: 0; top: 0; width: 64%; height: 100%; margin: 0; }
.hv-main img { height: 100%; object-fit: cover; object-position: 50% 0; }
.hv-second { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 850 / 760; margin: 0; }
.hv-second img { height: 100%; object-fit: cover; }
.hv-badge { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(20, 21, 20, .9); border: 1px solid var(--gold-deep); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9); }
.hv-badge b { display: block; font-size: 14px; color: var(--gold); }
.hv-badge span { display: block; font-size: 12px; color: var(--muted); }
.hv-coach { left: 0; top: 40%; max-width: 270px; }
.hv-coach .crown { width: 30px; height: 18px; fill: var(--gold); flex: none; }
.hv-time { right: 16px; bottom: 16px; flex-direction: column; align-items: flex-start; gap: 0; }
.hv-time b { font-family: var(--f-display); font-size: 22px; font-variant-numeric: tabular-nums; }

.frame { position: relative; border-radius: var(--radius); padding: 6px; background: linear-gradient(145deg, rgba(255, 235, 185, .6), rgba(175, 140, 80, .2) 40%, rgba(175, 140, 80, .6)); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85); }
.frame img { border-radius: calc(var(--radius) - 4px); width: 100%; }

.promo-bar { display: block; text-decoration: none; background: linear-gradient(90deg, #2a1513, #3a1c18 50%, #2a1513); border-top: 1px solid rgba(200, 66, 58, .5); }
.promo-inner { display: flex; align-items: center; gap: 14px; min-height: 56px; padding-block: 10px; }
.promo-text { flex: 1; font-size: 14.5px; color: #f1dcd2; }
.promo-text b { color: #fff; }
.promo-cta { font-weight: 700; color: var(--gold); white-space: nowrap; }
.promo-bar:hover .promo-cta { text-decoration: underline; }

/* Trust */
.trust { border-block: 1px solid rgba(175, 140, 80, .3); background: var(--bg-2); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 28px 12px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13.5px; color: var(--muted); max-width: 22ch; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-text { display: flex; flex-direction: column; gap: 18px; }
.about-text p:not(.eyebrow) { color: var(--muted); max-width: 62ch; }
.about-text b { color: var(--ink); }
.vision { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 8px 8px 0; color: var(--ink) !important; font-weight: 500; }
.vision span { font: 700 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.coach-card { background: var(--cream); color: #241e14; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.coach-photo { aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 40%, #2e2a24, #141514 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.coach-photo .crown { width: 44px; height: 26px; fill: var(--gold); }
.coach-photo span { font-family: var(--f-display); font-size: 64px; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-block: 4px; }
.coach-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.coach-body .eyebrow { color: #8a6a35; }
.coach-body h3 { font-family: var(--f-display); font-size: 30px; }
.ticks { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid #8a6a35; border-bottom: 2px solid #8a6a35; transform: rotate(-45deg); }

/* Values + services */
.values { background: var(--bg-2); }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.value svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font-family: var(--f-display); font-size: 22px; color: var(--gold); }
.value p { color: var(--muted); font-size: 15px; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.service { border: 1px solid rgba(175, 140, 80, .45); border-radius: var(--radius); padding: 28px; background: linear-gradient(135deg, rgba(243, 205, 130, .08), transparent 60%); display: flex; flex-direction: column; gap: 8px; }
.service-tag { font: 700 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.service h3 { font-family: var(--f-display); font-size: 24px; }
.service p { color: var(--muted); }

/* Programs */
.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.program { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.program .badge { position: absolute; top: -12px; left: 22px; }
.program h3 { font-family: var(--f-display); font-size: 24px; color: var(--gold); margin-top: 6px; }
.program p { color: var(--muted); font-size: 14.5px; flex: 1; }
.program p b { color: var(--ink); }
.program.featured { border-color: var(--gold-deep); background: linear-gradient(180deg, rgba(243, 205, 130, .12), var(--surface) 55%); }
.program.kid { border-color: rgba(200, 66, 58, .55); }
.specs { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.specs div { padding: 12px 4px; text-align: center; }
.specs div + div { border-left: 1px solid var(--line); }
.specs dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; }

/* CrossFit */
.crossfit { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.crossfit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.crossfit-grid > div { display: flex; flex-direction: column; gap: 18px; }
.crossfit-grid > div > p { color: var(--muted); }
.fit-for h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.features { counter-reset: f; display: flex; flex-direction: column; }
.features li { counter-increment: f; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.features li:first-child { border-top: 1px solid var(--line); }
.features li::before { content: counter(f, decimal-leading-zero); grid-row: span 2; font-family: var(--f-display); font-size: 30px; line-height: 1.2; color: var(--gold-deep); }
.features b { font-size: 17px; }
.features span { color: var(--muted); font-size: 14.5px; }

/* Bếp Queen */
.bq { background: var(--green-bg); border-block: 1px solid rgba(127, 201, 138, .2); }
.bq-banner { margin: 0 0 48px; border-radius: var(--radius); overflow: hidden; }
.bq-banner img { width: 100%; }
.bq-eyebrow { color: var(--green); }
.bq-title { color: #eaf5e6; }
.combo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.combo { background: var(--green-surface); border: 1px solid rgba(127, 201, 138, .22); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.combo-img { aspect-ratio: 4 / 3; overflow: hidden; background: #f3f1ea; }
.combo-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.combo-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.combo-body h3 { font-family: var(--f-display); font-size: 24px; color: #eaf5e6; }
.combo-meals { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.combo-body > p:not(.combo-meals):not(.macro-legend) { color: #b9c7b5; font-size: 14.5px; flex: 1; }
.macro { display: flex; height: 8px; border-radius: 4px; overflow: hidden; }
.macro i { width: var(--w); }
.macro .c, .macro-legend .c::before { background: #e3b55a; }
.macro .f, .macro-legend .f::before { background: #d07a52; }
.macro .p, .macro-legend .p::before { background: #6cc07a; }
.macro-legend { display: flex; gap: 14px; font-size: 12.5px; color: #b9c7b5; }
.macro-legend span { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.macro-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.sizes span { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 6px; background: rgba(127, 201, 138, .12); color: #cfe9cf; font-variant-numeric: tabular-nums; }
.plans { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) auto; gap: 14px; align-items: stretch; background: var(--green-surface); border: 1px solid rgba(127, 201, 138, .22); border-radius: var(--radius); padding: 22px; }
.plans-head h3 { font-family: var(--f-display); font-size: 22px; color: #eaf5e6; }
.plans-head p { font-size: 14px; color: #b9c7b5; margin-top: 4px; }
.plan { border: 1px solid rgba(127, 201, 138, .25); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.plan span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.plan b { font-family: var(--f-display); font-size: 22px; color: #eaf5e6; font-variant-numeric: tabular-nums; }
.plan small { font-size: 12.5px; color: #b9c7b5; line-height: 1.45; }
.plan-top { background: rgba(127, 201, 138, .1); border-color: var(--green); }
.plans .btn { align-self: center; }

/* Schedule */
.schedule-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.schedule-grid > div { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.slots { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px; width: 100%; }
.slot-group h3 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.slot-group ul { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-group li { font-variant-numeric: tabular-nums; font-weight: 600; padding: 10px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; }
.slot-group li.hot { border-color: var(--gold); background: rgba(243, 205, 130, .1); }
.slot-group li em { display: block; font-style: normal; font-size: 11px; color: var(--gold); font-weight: 600; }
.schedule-img { margin: 0; max-width: 360px; justify-self: center; }

/* Feedback */
.feedback { background: var(--bg-2); }
.fb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fb-card { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.fb-ph { aspect-ratio: 1 / 1; border-radius: var(--radius); border: 1px dashed var(--gold-deep); background: repeating-linear-gradient(135deg, var(--surface) 0 12px, var(--bg-2) 12px 24px); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-size: 20px; color: var(--gold-deep); }
.fb-card figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.community { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border-radius: var(--radius); background: var(--cream); color: #241e14; }
.community h3 { font-family: var(--f-display); font-size: 22px; }
.community p { color: #5a4c34; }
.community .btn-outline { border-color: #241e14; color: #241e14; }
.community .btn-outline:hover { background: rgba(36, 30, 20, .06); }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s ease; }
.post:hover { border-color: var(--gold-deep); }
.post-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.post h3 { font-family: var(--f-display); font-size: 21px; line-height: 1.35; }
.post h3 a { text-decoration: none; }
.post h3 a:hover { color: var(--gold); }
.post p { color: var(--muted); font-size: 14.5px; }
.link-more { color: var(--gold); text-decoration: none; font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-wrap { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid rgba(175, 140, 80, .45); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.lead-form { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { color: var(--gold); }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7d766a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(243, 205, 130, .2); }
.field.invalid input { border-color: #e06a5f; }
.error { font-size: 13px; color: #f08a80; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 8px; }
.form-success svg { width: 48px; height: 48px; padding: 10px; border-radius: 50%; background: rgba(127, 201, 138, .15); fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-family: var(--f-display); font-size: 24px; color: var(--gold); }
.form-success p { color: var(--muted); }
.form-success b { color: var(--ink); }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info h3 { font-family: var(--f-display); font-size: 28px; color: var(--gold); }
.info-list { display: flex; flex-direction: column; gap: 14px; }
.info-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.info-list svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--gold); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* Footer */
.site-footer { background: #0e0f0e; border-top: 1px solid rgba(175, 140, 80, .3); padding-block: 56px 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 14px; }
.footer-grid p { font-size: 14px; max-width: 40ch; }
.footer-grid h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.footer-grid ul { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.footer-grid ul a { text-decoration: none; color: var(--muted); overflow-wrap: anywhere; }
.footer-grid ul a:hover { color: var(--gold); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Floating contact */
.float-contact { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.fc { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .6); transition: transform .15s ease; }
.fc:hover { transform: scale(1.06); }
.fc svg { width: 24px; height: 24px; fill: currentColor; }
.fc-zalo { background: #0068ff; color: #fff; font: 700 13px/1 var(--f-body); }
.fc-msg { background: #fff; color: #0a7cff; }
.fc-call { background: var(--gold-btn); color: #1a1610; animation: ring 2.4s ease-in-out infinite; }
.fc-call svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(243, 205, 130, .5); } 50% { box-shadow: 0 0 0 12px rgba(243, 205, 130, 0); } }

/* Responsive */
@media (max-width: 1080px) {
  .main-nav ul { gap: 16px; }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plans-head { grid-column: 1 / -1; }
  .plans .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter-r) 24px var(--gutter-l); background: var(--bg); border-bottom: 1px solid var(--gold-deep); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta { min-height: 48px; }
  .hero-inner, .about-grid, .crossfit-grid, .schedule-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { height: auto; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin-inline: auto; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .value-grid, .combo-grid, .news-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .fb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand-name { font-size: 19px; }
  .program-grid, .services, .field-row, .slots { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .fb-grid { grid-template-columns: minmax(0, 1fr); max-width: 360px; margin-inline: auto; }
  .stat { padding: 22px 8px; }
  .actions .btn { flex: 1 1 100%; }
  .formula { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; align-items: center; }
  .formula li { padding: 8px; text-align: center; height: 100%; }
  .formula li b { font-size: 13px; line-height: 1.3; }
  .formula li span { display: none; }
  .formula li.op { font-size: 18px; padding: 0; }
  .goal-chips a { padding: 8px 14px; font-size: 13.5px; }
  .hero-visual { aspect-ratio: 4 / 5; }
  .hv-main { left: 0; width: 100%; }
  .hv-main img { object-position: 50% 8%; }
  .hv-second { display: none; }
  .hv-coach { top: auto; bottom: 14px; left: 14px; right: 14px; max-width: none; padding: 10px 12px; }
  .hv-time { top: 14px; left: 14px; right: auto; bottom: auto; padding: 8px 12px; }
  .hv-time b { font-size: 18px; }
  .promo-inner { flex-wrap: wrap; gap: 6px 10px; }
  .promo-text { flex: 1 1 100%; font-size: 13.5px; }
  .section-head { margin-bottom: 28px; }
  .float-contact .fc { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Form error */
.form-error { font-size: 14px; color: #f6b3ab; background: rgba(200, 66, 58, .15); border: 1px solid rgba(200, 66, 58, .5); border-radius: 8px; padding: 10px 12px; }

/* Trang nội dung (bài viết, trang) */
.entry-wrap { display: flex; flex-direction: column; gap: 24px; max-width: 820px; }
.entry-content { color: var(--muted); }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2, .entry-content h3 { color: var(--ink); font-family: var(--f-display); }
.entry-content a { color: var(--gold); }
.entry-content img { border-radius: var(--radius); }
.nav-links { display: flex; gap: 8px; margin-top: 24px; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.nav-links .current { background: var(--gold); color: #1a1610; border-color: var(--gold); }
.main-nav ul li.current-menu-item > a::after { transform: scaleX(1); }

/* Trang khóa */
.lock-page { min-height: 100dvh; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 0%, rgba(243, 205, 130, .12), transparent 70%), var(--bg); }
.lock-wrap { width: 100%; padding: 24px var(--gutter-r) 24px var(--gutter-l); display: grid; place-items: center; }
.lock-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--gold-deep); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; text-align: center; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.lock-card .crown { width: 40px; height: 24px; fill: var(--gold); margin: 0 auto; }
.lock-brand { font-family: var(--f-display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lock-brand span { display: block; font-family: var(--f-body); font-size: 10px; letter-spacing: .32em; -webkit-text-fill-color: var(--gold-deep); }
.lock-card .title { font-size: 26px; }
.lock-card .lead-form { text-align: left; }
.lock-contact { font-size: 13px; color: var(--muted); }
.lock-contact a { color: var(--gold); }

/* =====================================================================
   V2 – Toàn bộ website: hero mới, hiệu ứng, trang con
   ===================================================================== */
.green-text { color: var(--green); }
.title-sm { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; }
.h3 { font-family: var(--f-display); font-size: 22px; color: var(--gold); }
.section-tight { padding-block: clamp(36px, 5vw, 56px); }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.center-text { text-align: center; margin-top: 20px; }
.empty-note { padding: 18px 20px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); }
.btn-dark { background: #1a1610; color: var(--cream); }
.btn-dark:hover { background: #000; }
.btn-outline-green { border-color: rgba(127, 201, 138, .55); color: var(--green); background: transparent; }
.btn-outline-green:hover { background: rgba(127, 201, 138, .1); }
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* Hiện dần khi cuộn (chỉ ẩn khi JS sẵn sàng) */
.reveal-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--rd, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--rd, 0ms); }
.reveal-ready .reveal.is-in { opacity: 1; transform: none; }

/* Header: dropdown + thu gọn khi cuộn */
.site-header { transition: background-color .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(14, 15, 14, .97); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.main-nav a[href*="bep-queen"]:not(.btn) { color: var(--green); }
.main-nav .sub-menu a[href*="bep-queen"], .main-nav .sub-menu a[href*="/combo/"] { color: #d9ecd7; }
.main-nav li { position: relative; }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: -12px; min-width: 240px; background: #121312; border: 1px solid rgba(175, 140, 80, .45); border-radius: 10px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; display: flex; flex-direction: column; gap: 0; z-index: 10; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a:not(.btn) { display: block; padding: 9px 12px; border-radius: 6px; font-size: 14px; }
.main-nav .sub-menu a:not(.btn)::after { display: none; }
.main-nav .sub-menu a:hover { background: rgba(243, 205, 130, .08); color: var(--gold); }
.main-nav > ul > .menu-item-has-children > a::before { content: ""; position: absolute; right: -12px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); opacity: .6; }
.main-nav > ul > .menu-item-has-children { padding-right: 12px; }
.sub-toggle { display: none; }
@media (max-width: 1180px) { .main-nav ul { gap: 14px; } .main-nav a:not(.btn) { font-size: 13.5px; } }
@media (max-width: 960px) {
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; min-width: 0; background: transparent; border: 0; box-shadow: none; padding: 0 0 8px 14px; }
  .main-nav li.sub-open > .sub-menu { display: flex; }
  .main-nav > ul > .menu-item-has-children { padding-right: 0; }
  .main-nav > ul > .menu-item-has-children > a::before { display: none; }
  .sub-toggle { display: block; position: absolute; right: 0; top: 6px; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; }
  .sub-toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s; }
  .sub-open > .sub-toggle::before { transform: translate(-50%, -30%) rotate(-135deg); }
  .main-nav .sub-menu a:not(.btn) { border-bottom: 0; padding: 10px 4px; font-size: 15px; color: var(--muted); }
  body.menu-open { overflow: hidden; }
}
body.menu-open { overflow: hidden; }

/* ---------- HERO 2 ---------- */
.hero2 { position: relative; overflow: hidden; isolation: isolate; padding-bottom: 28px; }
.hero2-bg { position: absolute; inset: 0; z-index: -2; }
.hero2-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease; }
.hero2-slide.is-on { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate(1%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
.hero2::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(14, 15, 14, .96) 0%, rgba(14, 15, 14, .86) 42%, rgba(14, 15, 14, .45) 100%),
  linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero2-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: center; min-height: min(86vh, 820px); padding-block: clamp(40px, 6vw, 80px) 40px; }
.hero2-text { display: flex; flex-direction: column; gap: 20px; }
.hero2-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 6vw, 78px); line-height: 1.08; display: flex; flex-direction: column; }
.hero2-title .line { display: block; }
.hero-in { animation: heroIn .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d, 0) * 120ms + 150ms); }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hero2-visual { position: relative; height: clamp(440px, 44vw, 600px); }
.hv-card { position: absolute; margin: 0; }
.hv-card img { height: 100%; object-fit: cover; }
.hv-a { right: 0; top: 0; width: 62%; height: 84%; animation: floatA 7s ease-in-out infinite; }
.hv-b { left: 0; bottom: 0; width: 50%; height: 58%; animation: floatB 8s ease-in-out infinite; }
@keyframes floatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.hero2-visual .hv-coach { left: 4%; top: 6%; max-width: 270px; }
.hv-live { right: 4%; bottom: 6%; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #5bd47a; box-shadow: 0 0 0 0 rgba(91, 212, 122, .6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(91, 212, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 212, 122, 0); } }
.hero2-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: rgba(26, 26, 25, .85); border: 1px solid rgba(175, 140, 80, .35); border-radius: 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero2-stats .stat + .stat { border-left: 1px solid var(--line); }
.hero2-stats.static { background: var(--surface); }

/* Dải ảnh chạy */
.marquee { overflow: hidden; padding-block: 18px; background: var(--bg-2); border-block: 1px solid rgba(175, 140, 80, .2); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee figure { margin: 0; width: 240px; height: 160px; border-radius: 10px; overflow: hidden; flex: none; }
.marquee img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; filter: saturate(.9); }
.marquee figure:hover img { transform: scale(1.08); filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Giới thiệu */
.about2-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.about2-text { display: flex; flex-direction: column; gap: 18px; }
.about2-text > p { color: var(--muted); }
.about2-text b { color: var(--ink); }
.about2-media { position: relative; aspect-ratio: 1 / 1; }
.about2-media figure { position: absolute; margin: 0; }
.about2-media img { height: 100%; object-fit: cover; }
.am-main { left: 0; top: 0; width: 78%; height: 72%; }
.am-sub { right: 0; bottom: 0; width: 50%; height: 50%; }
.am-years { position: absolute; left: 6%; bottom: 6%; background: var(--cream); color: #241e14; border-radius: 12px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9); }
.am-years b { font-family: var(--f-display); font-size: 40px; line-height: 1; -webkit-text-fill-color: #8a6a35; }
.am-years span { font-size: 13px; line-height: 1.35; font-weight: 600; }
.coach-mini { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--gold-deep); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.coach-mini:hover { transform: translateY(-2px); border-color: var(--gold); }
.cm-photo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); }
.cm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.cm-text { display: flex; flex-direction: column; }
.cm-text small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.cm-text b { font-family: var(--f-display); font-size: 22px; color: var(--gold); }
.cm-text span { font-size: 13px; color: var(--muted); }
.cm-arrow { font-size: 22px; color: var(--gold); }
.values-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.values-row div { padding: 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(32, 31, 30, .6); }
.values-row b { display: block; font-size: 14.5px; color: var(--gold); }
.values-row span { font-size: 12.5px; color: var(--muted); }

/* Thẻ khóa học có ảnh */
.pcard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pcard-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.pcard:hover { transform: translateY(-6px); border-color: var(--gold-deep); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .9); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: block; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pcard:hover .pcard-media img { transform: scale(1.07); }
.pcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 21, 20, .7), transparent 50%); }
.pcard-media .badge { position: absolute; top: 12px; left: 12px; z-index: 1; }
.pcard-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pcard-body h3 { font-family: var(--f-display); font-size: 22px; }
.pcard-body h3 a { text-decoration: none; color: var(--gold); }
.pcard-body > p { color: var(--muted); font-size: 14px; flex: 1; }
.pcard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pcard-actions .btn { min-height: 44px; padding: 10px 12px; font-size: 14px; }

/* Kết quả */
.results { background: var(--bg-2); }
.title-sm { color: var(--ink); }
.results-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.result { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--gold-deep); }
.result img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.result:hover img { transform: scale(1.06); }
.result figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(20, 21, 20, .85); color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.boards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 0 8px; margin-top: 8px; scrollbar-width: thin; }
.boards figure { margin: 0; flex: 0 0 clamp(180px, 22vw, 240px); aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; scroll-snap-align: start; }
.boards img { width: 100%; height: 100%; object-fit: cover; }

/* CrossFit nền ảnh */
.crossfit2 { position: relative; isolation: isolate; overflow: hidden; }
.crossfit2-bg { position: absolute; inset: -10% 0; z-index: -2; background-size: cover; background-position: center; background-attachment: fixed; }
.crossfit2::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 15, 14, .95), rgba(14, 15, 14, .82)); }
.crossfit2 .crossfit-grid > div > p { color: #cfc6b2; }
@media (hover: none) { .crossfit2-bg { background-attachment: scroll; } }

/* Bếp Queen */
.bq-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: 40px; }
.bq-head > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.food-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.food-mosaic figure { margin: 0; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; }
.food-mosaic figure:nth-child(1) { transform: translateY(18px); }
.food-mosaic figure:nth-child(4) { transform: translateY(-18px); }
.food-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.food-mosaic figure:hover img { transform: scale(1.08); }
.combo-img img { transition: transform .6s ease; }
.combo:hover .combo-img img { transform: scale(1.06); }
.combo { transition: transform .3s ease, border-color .3s ease; }
.combo:hover { transform: translateY(-6px); border-color: var(--green); }
.combo-body h3 a { color: #eaf5e6; text-decoration: none; }
.combo-desc { color: #b9c7b5; font-size: 14.5px; flex: 1; }
.bq-alt { background: #0f1710; }
.service-green { border-color: rgba(127, 201, 138, .45); background: linear-gradient(135deg, rgba(127, 201, 138, .08), transparent 60%); text-decoration: none; }
.service-green .service-tag { color: var(--green); }
.service-green h3 { color: #eaf5e6; }
a.service { text-decoration: none; transition: transform .25s ease, border-color .25s; }
a.service:hover { transform: translateY(-4px); border-color: var(--gold); }
a.service-green:hover { border-color: var(--green); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.steps div { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; background: var(--green-surface); border: 1px solid rgba(127, 201, 138, .2); }
.steps b { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--green-deep); color: #fff; display: grid; place-items: center; font-family: var(--f-display); }
.steps span { font-size: 14px; color: #cfe9cf; }

/* Cộng đồng */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 12px; }
.mosaic figure { margin: 0; border-radius: 14px; overflow: hidden; }
.mosaic .m0 { grid-column: span 2; grid-row: span 2; }
.mosaic .m3 { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic figure:hover img { transform: scale(1.06); }
.community-band { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 30px; border-radius: 14px; background: var(--gold-grad); color: #241e14; }
.community-band h3 { font-family: var(--f-display); font-size: 24px; }
.community-band p { color: #4a3d25; }

/* Tin tức có ảnh */
.post { padding: 0; overflow: hidden; }
.post-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post:hover .post-media img { transform: scale(1.06); }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }

/* Banner trang con */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 8vw, 110px) clamp(48px, 6vw, 80px); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 12s ease-out forwards; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 15, 14, .95) 0%, rgba(14, 15, 14, .75) 55%, rgba(14, 15, 14, .45) 100%), linear-gradient(0deg, var(--bg), transparent 40%); }
.page-hero-green::before { background: linear-gradient(90deg, rgba(10, 18, 11, .95) 0%, rgba(10, 18, 11, .75) 55%, rgba(10, 18, 11, .4) 100%), linear-gradient(0deg, var(--green-bg), transparent 40%); }
.page-hero-green .eyebrow { color: var(--green); }
.page-hero-inner { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.page-hero .display { font-size: clamp(34px, 5vw, 60px); text-transform: none; letter-spacing: 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--ink); }

/* Thư viện ảnh + lightbox */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-item { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.gallery.tall .gallery-item { aspect-ratio: 3 / 4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after { content: "+"; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 21, 20, .8); color: var(--gold); font-size: 20px; opacity: 0; transition: opacity .2s; }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 5, 5, .94); display: none; align-items: center; justify-content: center; padding: 40px max(16px, env(safe-area-inset-right, 0px)) 40px max(16px, env(safe-area-inset-left, 0px)); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 86vh; border-radius: 10px; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(32, 31, 30, .9); color: var(--gold); border: 1px solid var(--gold-deep); width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.lb-close { top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Head Coach */
.coach-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.coach-grid > div { display: flex; flex-direction: column; gap: 18px; }
.coach-portrait { margin: 0; aspect-ratio: 4 / 5; }
.coach-portrait img { height: 100%; object-fit: cover; }
.ticks-gold li::before { border-color: var(--gold); }
.ticks-green li::before { border-color: var(--green); }
.ticks-gold, .ticks-green { color: var(--ink); }
.quote { border-left: 3px solid var(--gold); padding: 14px 20px; background: var(--surface); border-radius: 0 10px 10px 0; font-family: var(--f-display); font-size: 22px; color: var(--gold); }
.quote small { display: block; font-family: var(--f-body); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.timeline { counter-reset: t; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 110px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-deep), transparent); }
.timeline li { display: flex; flex-direction: column; gap: 14px; }
.timeline figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--gold-deep); position: relative; z-index: 1; }
.timeline img { width: 100%; height: 100%; object-fit: cover; }
.timeline b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.timeline h3 { font-family: var(--f-display); font-size: 20px; color: var(--gold); }
.timeline p { color: var(--muted); font-size: 14px; }
.value-num { font-family: var(--f-display); font-size: 36px; color: var(--gold-deep); line-height: 1; }
.link-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.link-card { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; text-decoration: none; }
.link-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.link-card:hover img { transform: scale(1.07); }
.link-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 15, 14, .9), transparent 60%); }
.link-card span { position: absolute; left: 18px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; }
.link-card small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.link-card b { font-family: var(--f-display); font-size: 22px; color: var(--gold); }

/* Thực đơn tuần, bảng */
.menu-week { margin-bottom: 28px; background: var(--green-surface); border: 1px solid rgba(127, 201, 138, .22); border-radius: 14px; padding: 22px; }
.menu-week-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.menu-week-head a { color: #eaf5e6; text-decoration: none; }
.menu-week-head span { color: var(--green); font-size: 13px; font-weight: 600; }
.table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--line); }
.menu-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; }
.menu-table th, .menu-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.menu-table thead th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: rgba(0, 0, 0, .2); }
.menu-table tbody th { color: var(--gold); white-space: nowrap; }
.menu-table tbody th a { color: var(--gold); text-decoration: none; }
.menu-table tr.is-today { background: rgba(127, 201, 138, .1); }
.menu-table tr.is-today th::after { content: " · Hôm nay"; color: var(--green); font-size: 12px; }
.ingredients { margin-top: 12px; }
.ingredients h3 { font-family: var(--f-display); font-size: 22px; color: #eaf5e6; margin-bottom: 12px; }
.chips-green li { border-color: rgba(127, 201, 138, .3); background: var(--green-surface); color: #d9ecd7; }

/* Công cụ lộ trình */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.calc { display: flex; flex-direction: column; gap: 14px; background: var(--green-surface); border: 1px solid rgba(127, 201, 138, .3); border-radius: 14px; padding: clamp(20px, 3vw, 32px); }
.calc .title-sm { color: #eaf5e6; }
.calc input, .calc select { background: var(--green-bg); }
.calc-result { min-height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: 14px; border: 1px dashed rgba(127, 201, 138, .4); }
.calc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calc-cards div { background: var(--green-surface); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; }
.calc-cards small, .calc-pick small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.calc-cards b { font-family: var(--f-display); font-size: 28px; color: #eaf5e6; font-variant-numeric: tabular-nums; }
.calc-cards span { font-size: 12.5px; color: #b9c7b5; }
.calc-pick { background: rgba(127, 201, 138, .1); border: 1px solid var(--green); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.calc-pick b { font-family: var(--f-display); font-size: 22px; color: #eaf5e6; }
.calc-pick p { color: #cfe9cf; }
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan-card { background: var(--green-surface); border: 1px solid rgba(127, 201, 138, .25); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 6px; transition: transform .3s ease; }
.plan-card:hover { transform: translateY(-6px); }
.plan-card > span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.plan-card > b { font-family: var(--f-display); font-size: 34px; color: #eaf5e6; }
.plan-card > p { color: #b9c7b5; }
.plan-card ul { margin-top: 10px; padding-left: 18px; list-style: disc; display: flex; flex-direction: column; gap: 6px; color: #d9ecd7; font-size: 14.5px; }
.plan-card ul b { color: var(--green); }
.plan-card.plan-top { border-color: var(--green); background: linear-gradient(180deg, rgba(127, 201, 138, .15), var(--green-surface) 60%); }

/* Chính sách */
.policy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.policy { background: var(--green-surface); border: 1px solid rgba(127, 201, 138, .22); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.policy h3 { font-family: var(--f-display); font-size: 24px; color: #eaf5e6; }

/* Chi tiết khóa học / combo */
.specs-lg { grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--gold-deep); border-radius: 14px; }
.specs-lg div { padding: 20px 8px; }
.specs-lg dd { font-family: var(--f-display); font-size: 22px; color: var(--gold); }
.course-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.course-grid > div { display: flex; flex-direction: column; gap: 20px; }
.course-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
.course-aside .frame { display: block; margin: 0; }
.course-aside img { aspect-ratio: 4 / 3; object-fit: cover; }
.aside-card { background: var(--surface); border: 1px solid var(--gold-deep); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.aside-card b { font-family: var(--f-display); font-size: 22px; color: var(--gold); }
.aside-card p { color: var(--muted); font-size: 14px; }
.aside-green { border-color: var(--green); background: var(--green-surface); }
.aside-green b { color: #eaf5e6; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.benefit-grid li { padding: 14px 16px 14px 44px; position: relative; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.benefit-grid li::before { content: "✓"; position: absolute; left: 14px; top: 12px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1a1610; font-size: 13px; font-weight: 700; }
.macro-big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.macro-big div { border-radius: 12px; padding: 16px; text-align: center; background: var(--green-surface); border-top: 3px solid; }
.macro-big div:nth-child(1) { border-color: #e3b55a; } .macro-big div:nth-child(2) { border-color: #d07a52; } .macro-big div:nth-child(3) { border-color: #6cc07a; }
.macro-big b { display: block; font-family: var(--f-display); font-size: 34px; color: #eaf5e6; }
.macro-big span { color: #b9c7b5; font-size: 13px; }
.size-cards { display: flex; flex-wrap: wrap; gap: 10px; }
.size-cards div { min-width: 120px; flex: 1; padding: 14px; border-radius: 12px; background: var(--green-surface); border: 1px solid rgba(127, 201, 138, .3); display: flex; flex-direction: column; }
.size-cards small { font-size: 11px; color: var(--green); letter-spacing: .1em; text-transform: uppercase; }
.size-cards b { font-family: var(--f-display); font-size: 26px; color: #eaf5e6; }
.size-cards span { font-size: 13px; color: #b9c7b5; }

/* QR */
.qr-page { min-height: 70vh; display: flex; align-items: center; background: radial-gradient(60% 60% at 50% 0%, rgba(127, 201, 138, .12), transparent 70%); }
.qr-wrap { display: flex; justify-content: center; }
.qr-card { width: 100%; max-width: 520px; background: var(--surface); border: 1px solid rgba(127, 201, 138, .4); border-radius: 16px; padding: clamp(22px, 4vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.qr-size { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 10px; background: var(--green-surface); font-size: 15px; }
.qr-size b { font-family: var(--f-display); font-size: 24px; color: #eaf5e6; }
.qr-today { padding: 14px 16px; border-radius: 10px; border: 1px dashed rgba(127, 201, 138, .5); }
.qr-today small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.qr-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qr-cross { font-size: 14px; color: var(--gold); }

/* Liên hệ */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ccard { padding: 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; gap: 4px; transition: transform .25s, border-color .25s; }
.ccard:hover { transform: translateY(-4px); border-color: var(--gold); }
.ccard small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.ccard b { font-family: var(--f-display); font-size: 20px; color: var(--gold); overflow-wrap: anywhere; }
.ccard span { font-size: 13px; color: var(--muted); }

/* Bài viết */
.article-wrap { max-width: 820px; display: flex; flex-direction: column; gap: 18px; }
.article-cover { margin: 0; }
.article-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--gold-deep); }
.article-cta b { font-family: var(--f-display); font-size: 20px; color: var(--gold); }
.entry-content ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.entry-content strong { color: var(--ink); }

/* Responsive V2 */
@media (max-width: 1080px) {
  .pcard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline::before { display: none; }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero2-inner, .about2-grid, .bq-head, .coach-grid, .course-grid, .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .hero2-inner { min-height: 0; }
  .hero2::before { background: linear-gradient(180deg, rgba(14, 15, 14, .9), rgba(14, 15, 14, .8) 60%, var(--bg)); }
  .hero2-visual { height: auto; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin-inline: auto; }
  .hero2-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero2-stats .stat:nth-child(3) { border-left: 0; }
  .hero2-stats .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pcard-grid-3, .plan-cards, .link-cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .results-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .mosaic .m3 { grid-column: span 2; }
  .course-aside { position: static; }
  .specs-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs-lg div:nth-child(3) { border-left: 0; }
  .specs-lg div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .values-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pcard-grid, .timeline, .contact-cards, .steps, .policy-grid, .benefit-grid, .calc-cards { grid-template-columns: minmax(0, 1fr); }
  .hv-a { width: 70%; height: 80%; }
  .hv-b { width: 52%; height: 50%; }
  .hero2-visual .hv-coach { left: 0; top: auto; bottom: 0; max-width: 230px; padding: 10px 12px; }
  .hv-live { right: 0; bottom: auto; top: 0; padding: 8px 12px; }
  .marquee figure { width: 180px; height: 120px; }
  .about2-media { aspect-ratio: 1 / 1.05; }
  .coach-mini { grid-template-columns: 60px minmax(0, 1fr); }
  .cm-photo { width: 60px; height: 60px; }
  .cm-arrow { display: none; }
  .pcard-actions { grid-template-columns: minmax(0, 1fr); }
  .community-band { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero2-slide.is-on, .page-hero-bg img, .hv-a, .hv-b, .marquee-track, .btn-shine::after, .pulse { animation: none !important; }
  .crossfit2-bg { background-attachment: scroll; }
}

/* Fix: menu một dòng, tiêu đề hero vừa khung */
.main-nav a, .nav-cta { white-space: nowrap; }
.main-nav { gap: 20px; }
.hero2-title { font-size: clamp(38px, 5vw, 66px); }
@media (max-width: 1280px) and (min-width: 961px) {
  .main-nav ul { gap: 12px; }
  .main-nav a:not(.btn) { font-size: 13px; }
  .nav-cta { padding: 9px 14px; font-size: 13.5px; }
  .brand-name { font-size: 19px; }
}
@media (max-width: 1100px) and (min-width: 961px) {
  .nav-cta { display: none; }
}
.mosaic .m3, .mosaic .m3:nth-child(n) { grid-column: auto; }
/* Playfair mặc định dùng số kiểu cũ (old-style); ép số thẳng hàng */
body { font-variant-numeric: lining-nums; }
.stat b, .stat b span, .plan b, .plan-card > b, .hv-time b, .calc-cards b, .specs-lg dd, .macro-big b, .size-cards b, .value-num, .am-years b, .features li::before, .timeline b, .qr-size b { font-variant-numeric: lining-nums tabular-nums; }
/* Playfair trên Google Fonts không có số thẳng hàng: dùng Be Vietnam Pro cho các con số lớn */
.stat b, .plan b, .plan-card > b, .hv-time b, .calc-cards b, .specs-lg dd, .macro-big b, .size-cards b, .am-years b, .value-num, .features li::before, .qr-size b { font-family: var(--f-body); font-weight: 700; letter-spacing: -.02em; }
.stat b span { font-size: inherit; color: inherit; max-width: none; display: inline; }

/* =====================================================================
   UX FIX: khoảng cách section, ngắt dòng chữ
   ===================================================================== */
.section { padding-block: clamp(44px, 5.5vw, 76px); }
.section-tight { padding-block: clamp(28px, 3.5vw, 44px); }
.section-head { margin-bottom: clamp(20px, 2.6vw, 32px); gap: 10px; }
.page-hero { padding-block: clamp(40px, 5.5vw, 80px) clamp(32px, 4.5vw, 60px); }
.page-hero-inner { gap: 14px; }
.hero2-inner { min-height: min(78vh, 740px); padding-block: clamp(32px, 4.5vw, 60px) 28px; }
.marquee { padding-block: 14px; }
.center-actions { margin-top: 24px; }
.community-band { margin-top: 20px; }
.boards { padding-top: 14px; }
.steps { margin-top: 24px; }

/* Ngắt dòng đẹp: tránh 1 từ rơi xuống dòng cuối */
p, li, dd, figcaption, .lead, .muted, .note, span, b { text-wrap: pretty; }
h1, h2, h3, h4, .title, .title-sm, .display { text-wrap: balance; }

/* Thông số trong thẻ khóa học: dạng hàng, không bẻ chữ */
.pcard .specs { grid-template-columns: minmax(0, 1fr); border-block: 0; }
.pcard .specs div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; text-align: left; border-top: 1px solid var(--line); }
.pcard .specs div + div { border-left: 0; }
.pcard .specs div:last-child { border-bottom: 1px solid var(--line); }
.pcard .specs dt { font-size: 12px; }
.pcard .specs dd { margin: 0; white-space: nowrap; }
.specs dd { text-wrap: nowrap; }

/* Hàng giá trị trong phần giới thiệu */
.values-row { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.values-row b { white-space: nowrap; }

/* Thẻ nổi trên hero */
.hv-badge b { white-space: nowrap; }
.hv-badge span { text-wrap: balance; }

@media (max-width: 640px) {
  .section { padding-block: 40px; }
  .section-tight { padding-block: 24px; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; }
  .hero2-inner { padding-top: 24px; }
  .hero2-text { gap: 16px; }
  .hero2-visual { margin-top: 4px; }
  .hero2-stats .stat { padding: 18px 8px; }
  .hero2-visual .hv-coach { max-width: none; right: auto; }
  .hv-coach span { white-space: normal; }
  .page-hero { padding-block: 32px 28px; }
  .page-hero .display { font-size: clamp(30px, 8.5vw, 40px); }
  .title { font-size: clamp(26px, 7vw, 32px); }
  .script { font-size: 52px; }
  .section-head.row { gap: 10px; }
  .pcard-body { padding: 18px; }
  .about2-text { gap: 14px; }
  .contact-grid { gap: 28px; }
}

/* Nút liên hệ: tròn nổi trên máy tính, thanh đáy trên điện thoại */
.fc-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fc-reg { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .float-contact { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); background: rgba(14, 15, 14, .97); border-top: 1px solid rgba(175, 140, 80, .4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .float-contact .fc { flex: 1; width: auto; height: 48px; border-radius: 10px; margin: 0 3px; gap: 6px; box-shadow: none; animation: none; font: 600 13px/1 var(--f-body); }
  .float-contact .fc svg { width: 18px; height: 18px; }
  .fc-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .fc-z { display: none; }
  .fc-zalo { background: #0068ff; }
  .fc-msg { background: #1f2a3a; color: #fff; }
  .fc-msg svg { fill: #4ea4ff; }
  .fc-call { background: var(--surface-2); color: var(--gold); }
  .fc-reg { display: flex; background: var(--gold-btn); color: #1a1610; font-weight: 700; }
  .fc:hover { transform: none; }
}

/* Fix khoảng trống: thẻ combo / khóa học, Bếp Queen, liên hệ */
.combo-body > p.combo-desc, .pcard-body > p { flex: 0 1 auto; }
.combo-body .pcard-actions, .pcard-body .pcard-actions { margin-top: auto; padding-top: 6px; }
.combo-body, .pcard-body { gap: 12px; }
.pcard-actions .btn { white-space: nowrap; padding: 10px 8px; font-size: 14px; }
.combo-meals { order: -1; }
.bq-head { align-items: start; margin-bottom: 32px; }
.bq-head > div:first-child { padding-top: clamp(0px, 3vw, 40px); }
.food-mosaic figure { aspect-ratio: 4 / 3; }
.food-mosaic figure:nth-child(1), .food-mosaic figure:nth-child(4) { transform: none; }
.contact-grid { align-items: stretch; }
.contact-info { display: flex; flex-direction: column; }
.contact-info .map { flex: 1 1 auto; min-height: 280px; aspect-ratio: auto; }
.form-wrap { gap: 10px; }
.lead-form { gap: 14px; }
@media (max-width: 960px) { .contact-info .map { flex: none; aspect-ratio: 4 / 3; min-height: 0; } .bq-head > div:first-child { padding-top: 0; } }
.combo-body > p:not(.combo-meals):not(.macro-legend) { flex: 0 1 auto; }

/* =====================================================================
   FOOTER V2
   ===================================================================== */
.site-footer { position: relative; background: radial-gradient(70% 60% at 10% 0%, rgba(175, 140, 80, .14), transparent 60%), #0c0d0c; border-top: 1px solid rgba(175, 140, 80, .35); padding-block: 0 20px; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 20'%3E%3Cpath d='M2 18 L4 5 L11 12 L17 2 L23 12 L30 5 L32 18 Z' fill='none' stroke='%23AF8C50' stroke-width='.4'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .14; pointer-events: none; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.footer-cta { position: relative; z-index: 1; margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 34px); border-radius: 16px; background: var(--gold-grad); color: #1d1810; box-shadow: 0 30px 60px -30px rgba(243, 205, 130, .35); }
.fcta-text { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1 1 420px; }
.fcta-icon { width: 54px; height: 54px; border-radius: 50%; background: #1a1610; color: var(--gold); display: grid; place-items: center; flex: none; }
.fcta-icon .ic { width: 26px; height: 26px; }
.footer-cta h2 { font-family: var(--f-display); font-size: clamp(20px, 2.3vw, 28px); line-height: 1.25; }
.footer-cta p { font-size: 14.5px; color: #4a3d25; margin-top: 4px; }
.fcta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fcta-phone { background: rgba(26, 22, 16, .08); border-color: #1a1610; color: #1a1610; gap: 8px; }
.fcta-phone:hover { background: rgba(26, 22, 16, .15); }

.site-footer .footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); padding-block: clamp(36px, 4.5vw, 56px) clamp(28px, 3vw, 40px); }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand > p { font-size: 14.5px; color: var(--muted); max-width: 38ch; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges li { display: flex; flex-direction: column; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(32, 31, 30, .6); }
.footer-badges b { font-size: 16px; color: var(--gold); font-variant-numeric: lining-nums tabular-nums; }
.footer-badges span { font-size: 11.5px; color: var(--muted); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(175, 140, 80, .5); background: rgba(32, 31, 30, .6); transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s; }
.social:hover { transform: translateY(-3px); color: #1a1610; background: var(--gold); border-color: var(--gold); }
.social-zalo:hover { background: #0068ff; border-color: #0068ff; color: #fff; }
.social-facebook:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.social-tiktok:hover { background: #fff; border-color: #fff; color: #000; }

.footer-col h4 { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col h4.green { color: var(--green); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--muted); text-decoration: none; font-size: 14.5px; position: relative; transition: color .2s, padding-left .2s; }
.footer-col:not(.footer-contact) ul a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--gold); transition: width .2s; }
.footer-col:not(.footer-contact) ul a:hover { color: var(--gold); padding-left: 14px; }
.footer-col:not(.footer-contact) ul a:hover::before { width: 9px; }
.footer-contact li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14.5px; color: var(--muted); }
.footer-contact li .ic { color: var(--gold); margin-top: 2px; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--gold); }

.site-footer .footer-bottom { position: relative; z-index: 1; margin-top: 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; font-size: 13px; color: var(--muted); }
.footer-bottom p { flex: 1 1 260px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.to-top { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #1a1610; background: var(--gold-btn); transition: transform .2s; }
.to-top:hover { transform: translateY(-3px); }

@media (max-width: 1080px) {
  .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .site-footer .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .fcta-text { flex-basis: 100%; align-items: flex-start; }
  .fcta-icon { width: 44px; height: 44px; }
  .fcta-actions, .fcta-actions .btn { width: 100%; }
  .fcta-actions .btn { flex: 1 1 100%; }
  .site-footer .footer-bottom { justify-content: space-between; }
}
.site-footer .footer-grid ul.footer-badges, .site-footer .footer-grid ul.socials { flex-direction: row; flex-wrap: wrap; }
.site-footer .footer-badges li { flex: 1 1 0; min-width: 90px; }
.site-footer::before { width: 320px; height: 320px; opacity: .08; }
@media (max-width: 640px) { .site-footer::before { display: none; } }

/* =====================================================================
   POPUP ĐĂNG KÝ, BẢNG LIÊN HỆ, THANH APP, BẢN ĐỒ FOOTER
   ===================================================================== */
.register-wrap { max-width: 720px; }
.qmodal, .qsheet { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
.qmodal[hidden], .qsheet[hidden] { display: none !important; }
.qmodal-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 5, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .22s ease; }
.qmodal-panel { position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--surface); border: 1px solid var(--gold-deep); border-radius: 18px; padding: clamp(20px, 3.5vw, 32px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95); transform: translateY(24px) scale(.98); opacity: 0; transition: transform .25s cubic-bezier(.2, .7, .2, 1), opacity .22s ease; overscroll-behavior: contain; }
.qmodal.is-open .qmodal-backdrop, .qsheet.is-open .qmodal-backdrop { opacity: 1; }
.qmodal.is-open .qmodal-panel { transform: none; opacity: 1; }
.qmodal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.qmodal-close:hover { color: var(--gold); border-color: var(--gold-deep); }
.qmodal-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; padding-right: 40px; }
.qmodal-crown { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--gold-grad); color: #1a1610; display: grid; place-items: center; }
.qmodal-crown .ic { width: 24px; height: 24px; }
.qmodal-head .eyebrow { font-size: 11px; }
.qmodal-head .title-sm { margin: 2px 0 4px; color: var(--gold); }
.qmodal-head .muted { font-size: 14px; }
.qmodal .lead-form { gap: 12px; margin-top: 0; }
.qmodal .field textarea { min-height: 76px; }
.qmodal .form-success { padding: 8px 0; }

.qsheet { align-items: flex-end; padding: 0; }
.qsheet-panel { position: relative; width: 100%; max-width: 520px; background: var(--surface); border: 1px solid var(--gold-deep); border-bottom: 0; border-radius: 20px 20px 0 0; padding: 12px 18px calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 14px; transform: translateY(100%); transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.qsheet.is-open .qsheet-panel { transform: none; }
.qsheet-grip { width: 44px; height: 4px; border-radius: 2px; background: var(--line); align-self: center; }
.qsheet-panel .title-sm { color: var(--gold); text-align: center; font-size: 22px; }
.qsheet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qsheet-grid a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); text-decoration: none; text-align: center; }
.qsheet-grid b { font-size: 15px; }
.qsheet-grid small { font-size: 12px; color: var(--muted); }
.qs-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 4px; }
.qs-ic .ic { width: 22px; height: 22px; }
.qs-call { background: var(--gold-btn); color: #1a1610; }
.qs-zalo { background: #0068ff; color: #fff; }
.qs-msg { background: #1f2a3a; color: #4ea4ff; }
.qs-map { background: var(--green-deep); color: #fff; }

/* Bản đồ trong footer */
.footer-map { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; margin-bottom: 28px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(175, 140, 80, .4); background: var(--surface); }
.fmap-info { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.fmap-info h3 { font-family: var(--f-display); font-size: clamp(20px, 2.2vw, 26px); color: var(--gold); line-height: 1.3; }
.fmap-info > p:not(.eyebrow) { color: var(--muted); font-size: 14.5px; }
.fmap-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.fmap-actions .btn { gap: 8px; }
.fmap-frame { min-height: 260px; background: var(--bg-2); }
.fmap-frame iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }

/* Thanh điều hướng kiểu app (điện thoại) */
.app-nav { display: none; }
@media (max-width: 640px) {
  .float-contact { display: none !important; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .app-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; padding: 6px max(6px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px)); background: rgba(14, 15, 14, .97); border-top: 1px solid rgba(175, 140, 80, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .8); }
  .app-nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; border-radius: 10px; -webkit-tap-highlight-color: transparent; }
  .app-nav-ic { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; transition: background-color .2s, color .2s; }
  .app-nav-ic .ic { width: 22px; height: 22px; }
  .app-nav-item.is-active { color: var(--gold); }
  .app-nav-item.is-active .app-nav-ic { background: rgba(243, 205, 130, .14); }
  .app-nav-main { transform: translateY(-14px); color: var(--gold); }
  .app-nav-main .app-nav-ic { width: 54px; height: 54px; border-radius: 50%; background: var(--gold-btn); color: #1a1610; box-shadow: 0 10px 24px -8px rgba(243, 205, 130, .6), 0 0 0 5px #0e0f0e; }
  .app-nav-main .app-nav-ic .ic { width: 24px; height: 24px; }
  .app-nav-item:active .app-nav-ic { transform: scale(.94); }
  .qmodal { align-items: flex-end; padding: 0; }
  .qmodal-panel { max-width: none; border-radius: 20px 20px 0 0; border-bottom: 0; max-height: 92dvh; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); }
  .qmodal.is-open .qmodal-panel { transform: none; }
  .footer-map { grid-template-columns: minmax(0, 1fr); }
  .fmap-frame, .fmap-frame iframe { min-height: 220px; }
  .fmap-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 960px) and (min-width: 641px) { .footer-map { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   HERO TRANG CON V3 + KHỐI NỘI DUNG
   ===================================================================== */
.page-hero { padding-block: clamp(36px, 5vw, 72px) clamp(40px, 5vw, 72px); }
.page-hero-bg img { filter: blur(14px) saturate(.8); transform: scale(1.15); opacity: .55; animation: none; }
.page-hero::before { background: linear-gradient(90deg, rgba(14, 15, 14, .97) 0%, rgba(14, 15, 14, .88) 50%, rgba(14, 15, 14, .7) 100%), linear-gradient(0deg, var(--bg), transparent 35%); }
.page-hero-green::before { background: linear-gradient(90deg, rgba(10, 18, 11, .97) 0%, rgba(10, 18, 11, .88) 50%, rgba(10, 18, 11, .7) 100%), linear-gradient(0deg, var(--green-bg), transparent 35%); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 64px); align-items: center; min-height: clamp(360px, 38vw, 480px); }
.page-hero-inner { max-width: none; gap: 16px; }
.page-hero .display { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.12; }
.page-hero .lead { max-width: 58ch; }
.page-hero-media { margin: 0; position: relative; aspect-ratio: 4 / 5; max-height: 460px; justify-self: end; width: 100%; max-width: 380px; transform: rotate(1.5deg); }
.page-hero-media img { height: 100%; object-fit: cover; }
.page-hero-media figcaption { position: absolute; left: -18px; bottom: 22px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: rgba(14, 15, 14, .92); border: 1px solid var(--gold-deep); color: var(--gold); font-size: 13px; font-weight: 600; transform: rotate(-1.5deg); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .9); }
.page-hero-green .page-hero-media figcaption { color: var(--green); border-color: var(--green-deep); }
.ph-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ph-chips li { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(243, 205, 130, .35); color: var(--ink); }
@media (max-width: 960px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .page-hero-media { justify-self: start; max-width: 100%; aspect-ratio: 16 / 10; max-height: 300px; transform: none; }
  .page-hero-media figcaption { left: 12px; bottom: 12px; transform: none; }
}

/* Quy trình 4 bước */
.process { background: var(--bg-2); }
.process-green { background: #0f1710; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; position: relative; }
.process-grid::before { content: ""; position: absolute; left: 12%; right: 12%; top: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-deep), transparent); }
.process-green .process-grid::before { background: linear-gradient(90deg, transparent, var(--green-deep), transparent); }
.process-grid li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 24px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.process-green .process-grid li { background: var(--green-surface); border-color: rgba(127, 201, 138, .2); }
.pr-num { position: absolute; top: 12px; left: 14px; font-size: 12px; font-weight: 700; color: var(--gold-deep); }
.pr-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-btn); color: #1a1610; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--surface); }
.process-green .pr-ic { background: var(--green-deep); color: #fff; box-shadow: 0 0 0 6px var(--green-surface); }
.process-green .pr-num { color: var(--green); }
.pr-ic .ic { width: 24px; height: 24px; }
.process-grid h3 { font-family: var(--f-display); font-size: 19px; color: var(--gold); }
.process-green .process-grid h3 { color: #eaf5e6; }
.process-grid p { font-size: 14px; color: var(--muted); }

/* Buổi tập */
.cf-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.cf-grid > div { display: flex; flex-direction: column; gap: 16px; }
.cf-media { margin: 0; aspect-ratio: 4 / 5; max-height: 560px; }
.cf-media img { height: 100%; object-fit: cover; }
.cf-steps { display: flex; flex-direction: column; gap: 10px; }
.cf-steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.cf-steps li:hover { border-color: var(--gold-deep); transform: translateX(4px); }
.cf-steps span { font-family: var(--f-body); font-weight: 700; font-size: 22px; color: var(--gold-deep); font-variant-numeric: lining-nums; }
.cf-steps b { font-size: 16px; color: var(--gold); }
.cf-steps p { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.faq-intro { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details { border-radius: 12px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s; }
.faq-list details[open] { border-color: var(--gold-deep); }
.faq-list summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; position: relative; font-weight: 600; font-size: 15.5px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--gold); font-size: 18px; transition: transform .2s; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 18px 18px; color: var(--muted); font-size: 14.5px; }
.faq-green .faq-list details { background: var(--green-surface); border-color: rgba(127, 201, 138, .2); }
.faq-green .faq-list details[open] { border-color: var(--green); }
.faq-green .faq-list summary::after { color: var(--green); }
.faq-green { background: var(--green-bg); }

/* Dải CTA ảnh nền */
.cta-band { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: clamp(28px, 4vw, 48px); border-radius: 18px; background-size: cover; background-position: center; border: 1px solid var(--gold-deep); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 15, 14, .95) 0%, rgba(14, 15, 14, .8) 55%, rgba(14, 15, 14, .55) 100%); }
.cta-green { border-color: var(--green-deep); }
.cta-green::before { background: linear-gradient(90deg, rgba(10, 18, 11, .95) 0%, rgba(10, 18, 11, .8) 55%, rgba(10, 18, 11, .5) 100%); }
.cta-band-inner { max-width: 560px; display: flex; flex-direction: column; gap: 8px; }
.cta-band h2 { font-family: var(--f-display); font-size: clamp(24px, 3vw, 36px); line-height: 1.2; color: var(--gold); }
.cta-green h2 { color: #eaf5e6; }
.cta-band p { color: #d7cfbd; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band-actions .btn { gap: 8px; }

/* QR tem hộp */
.qrx-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.qrx-grid > div { display: flex; flex-direction: column; gap: 14px; }
.qrx-media { margin: 0; max-width: 380px; justify-self: center; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 10px rgba(127, 201, 138, .12); }
.qrx-media img { width: 100%; }

/* Lưu ý khi đến lớp */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.visit-grid > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.visit-list { display: flex; flex-direction: column; gap: 12px; }
.visit-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: start; }
.visit-list li > span { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--gold-deep); color: var(--gold); }
.visit-list b { font-size: 15.5px; }
.visit-list p { font-size: 14px; color: var(--muted); }
.gallery.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid::before { display: none; }
  .cf-grid, .faq-grid, .qrx-grid, .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .cf-media { aspect-ratio: 16 / 10; max-height: 340px; }
  .faq-intro { position: static; }
}
@media (max-width: 640px) {
  .process-grid { grid-template-columns: minmax(0, 1fr); }
  .process-grid li { flex-direction: row; text-align: left; align-items: flex-start; padding: 16px; }
  .process-grid li > div { display: contents; }
  .pr-num { display: none; }
  .pr-ic { width: 46px; height: 46px; flex: none; box-shadow: none; }
  .process-grid li h3 { font-size: 17px; }
  .cta-band-actions, .cta-band-actions .btn { width: 100%; }
  .page-hero .display { font-size: clamp(30px, 8.5vw, 40px); }
}

/* Ảnh có chữ (poster, chứng chỉ): hiện đủ, không cắt */
.course-aside .poster-frame img, .poster-frame img { aspect-ratio: auto; height: auto; object-fit: contain; }
.gallery.contain .gallery-item { background: #111; }
.gallery.contain .gallery-item img { object-fit: contain; }
.gallery.contain .gallery-item:hover img { transform: scale(1.03); }
/* Hai nút trong thẻ bên phải nằm cùng dòng */
.aside-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.aside-actions .btn { white-space: nowrap; padding: 12px 10px; min-height: 46px; }

/* =====================================================================
   THANH APP CÂN ĐỐI + NÚT CÙNG HÀNG TRÊN ĐIỆN THOẠI + ẢNH KẾT QUẢ
   ===================================================================== */
.result-board { aspect-ratio: 3 / 4; }
.result-board img { object-position: center 30%; }
.gallery.mini { grid-template-columns: repeat(auto-fill, minmax(150px, 206px)); justify-content: center; }
.gallery.mini .gallery-item { aspect-ratio: 1 / 1; max-width: 206px; }
.hide-sm { display: inline; }

@media (max-width: 640px) {
  .hide-sm { display: none; }
  /* Nút: 2 nút cùng một hàng như desktop */
  .actions { flex-wrap: nowrap; gap: 10px; }
  .actions .btn, .cta-band-actions .btn, .fcta-actions .btn, .fmap-actions .btn { flex: 1 1 0; min-width: 0; width: auto; white-space: nowrap; padding-inline: 10px; font-size: 14.5px; }
  .actions .btn-lg { min-height: 50px; font-size: 15px; }
  .cta-band-actions, .fcta-actions, .fmap-actions { width: 100%; flex-wrap: nowrap; }
  .goal-chips { gap: 6px; }

  /* Thanh app: 5 cột đều nhau, nhãn thẳng hàng */
  .app-nav { align-items: stretch; padding-top: 4px; height: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .app-nav-item { justify-content: flex-end; gap: 4px; padding: 4px 0 6px; position: relative; font-size: 11px; line-height: 1.1; }
  .app-nav-ic { width: 26px; height: 26px; border-radius: 0; background: none !important; }
  .app-nav-ic .ic { width: 22px; height: 22px; }
  .app-nav-item.is-active { color: var(--gold); }
  .app-nav-item.is-active::before { content: ""; position: absolute; top: 0; left: 50%; width: 22px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); transform: translateX(-50%); }
  .app-nav-main { transform: none; color: var(--gold); }
  .app-nav-main .app-nav-ic { width: 48px; height: 48px; margin-top: -26px; border-radius: 50% !important; background: var(--gold-btn) !important; color: #1a1610; box-shadow: 0 8px 20px -8px rgba(243, 205, 130, .55), 0 0 0 4px #0e0f0e; }
  .app-nav-main .app-nav-ic .ic { width: 22px; height: 22px; }
  .app-nav-main::before { display: none; }

  /* Footer cuối trang: nút lên đầu trang ẩn (đã có thanh app) */
  .to-top { display: none; }
  .site-footer .footer-bottom p { flex-basis: 100%; }
}
@media (max-width: 360px) {
  .actions .btn, .cta-band-actions .btn { font-size: 13.5px; padding-inline: 6px; }
}

/* =====================================================================
   POPUP TRẠNG THÁI GỬI ĐĂNG KÝ
   ===================================================================== */
.qstatus { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 20px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
.qstatus[hidden] { display: none !important; }
.qstatus.is-open .qmodal-backdrop { opacity: 1; }
.qstatus-card { position: relative; width: 100%; max-width: 420px; text-align: center; background: var(--surface); border: 1px solid var(--gold-deep); border-radius: 20px; padding: 32px 26px 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95); transform: scale(.94); opacity: 0; transition: transform .22s cubic-bezier(.2, .7, .2, 1), opacity .2s ease; }
.qstatus.is-open .qstatus-card { transform: none; opacity: 1; }
.qs-state { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qs-state[hidden] { display: none !important; }
.qs-state h3 { font-family: var(--f-display); font-size: 24px; color: var(--gold); }
.qs-state p { color: var(--muted); font-size: 14.5px; }
.qs-state p b { color: var(--ink); }
.qs-spinner { width: 56px; height: 56px; border-radius: 50%; border: 4px solid rgba(243, 205, 130, .18); border-top-color: var(--gold); animation: qspin .8s linear infinite; margin-bottom: 6px; }
@keyframes qspin { to { transform: rotate(360deg); } }
.qs-badge { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 4px; }
.qs-badge svg { width: 36px; height: 36px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.qs-badge-ok { background: var(--gold-btn); box-shadow: 0 0 0 8px rgba(243, 205, 130, .14); animation: qpop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.qs-badge-ok svg { stroke: #1a1610; stroke-dasharray: 24; stroke-dashoffset: 24; animation: qdraw .45s .25s ease forwards; }
.qs-badge-err { background: rgba(200, 66, 58, .18); box-shadow: 0 0 0 8px rgba(200, 66, 58, .1); }
.qs-badge-err svg { stroke: #f08a80; }
@keyframes qpop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes qdraw { to { stroke-dashoffset: 0; } }
.qs-chip { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(243, 205, 130, .12); color: var(--gold); border: 1px solid rgba(243, 205, 130, .3); }
.qs-actions { display: flex; gap: 10px; width: 100%; margin-top: 8px; }
.qs-actions .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; padding-inline: 10px; }
@media (prefers-reduced-motion: reduce) { .qs-spinner { animation-duration: 2s; } .qs-badge-ok, .qs-badge-ok svg { animation: none; stroke-dashoffset: 0; } }

/* Form đặt combo */
.food-fields { display: flex; flex-direction: column; gap: 12px; }
.food-fields[hidden] { display: none !important; }
.field-row-3 { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1fr); }
.qty { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--bg); min-height: 48px; }
.qty input { border: 0 !important; border-radius: 0 !important; text-align: center; padding: 0 !important; min-height: 46px !important; -moz-appearance: textfield; background: transparent !important; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { border: 0; background: var(--surface-2); color: var(--gold); font-size: 20px; cursor: pointer; }
.qty-btn:hover { background: rgba(243, 205, 130, .12); }
.field input[type="date"] { color-scheme: dark; }
@media (max-width: 640px) { .field-row-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field-row-3 .field:last-child { grid-column: 1 / -1; } }

/* Lightbox slider */
.lightbox { flex-direction: column; gap: 10px; padding: calc(12px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); z-index: 500; }
.lb-top { width: 100%; max-width: 1200px; display: flex; justify-content: space-between; align-items: center; }
.lb-count { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.lightbox .lb-close { position: static; }
.lb-stage { flex: 1 1 auto; width: 100%; display: flex; align-items: center; justify-content: center; min-height: 0; }
.lb-stage img { max-width: min(1200px, 100%); max-height: 100%; border-radius: 10px; object-fit: contain; opacity: 0; transform: scale(.98); transition: opacity .25s ease, transform .25s ease; }
.lb-stage img.is-in { opacity: 1; transform: none; }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); z-index: 2; }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next, .lightbox.is-single .lb-thumbs { display: none; }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; max-width: 100%; padding: 4px 2px; scrollbar-width: none; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button { flex: none; width: 58px; height: 58px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: none; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.lb-thumbs button.is-active { border-color: var(--gold); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.marquee img, .results-grid img, .boards img, .mosaic img, .food-mosaic img, .about2-media img, .hero2-visual img, .timeline img, .coach-portrait img, .cf-media img, .page-hero-media img, .schedule-img img, .bq-banner img, .qrx-media img { cursor: zoom-in; }
.hero2-visual { pointer-events: auto; }
@media (max-width: 640px) { .lightbox .lb-prev, .lightbox .lb-next { width: 40px; height: 40px; font-size: 22px; } .lb-prev { left: 6px; } .lb-next { right: 6px; } }
/* Popup form gọn hơn: rộng hơn để chứa 2 cột */
.qmodal-panel { max-width: 620px; }
.qmodal .field-row { gap: 12px; }
.qmodal .field label { font-size: 13.5px; }
.qmodal .field input, .qmodal .field select { min-height: 44px; padding-block: 10px; }
.qmodal .qty { min-height: 44px; }
.qmodal .qty input { min-height: 42px !important; }
.qmodal .field textarea { min-height: 64px; }
.qmodal-head { margin-bottom: 12px; }
@media (max-width: 640px) {
  .qmodal .field-row, .lead-form .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .qmodal .field input, .qmodal .field select { font-size: 15px; padding-inline: 10px; }
  .qmodal-head .muted { display: none; }
}

/* Khối nội dung SEO địa phương */
.local-seo { background: var(--bg-2); }
.local-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.local-text { display: flex; flex-direction: column; gap: 14px; }
.local-text > p { color: var(--muted); }
.local-text a { color: var(--gold); }
.local-text b { color: var(--ink); }
.local-facts { display: grid; gap: 8px; margin-top: 6px; }
.local-facts li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; }
.local-facts b { color: var(--gold); }
@media (max-width: 960px) { .local-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .local-facts li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Tiêu đề hero không rớt chữ trên màn hình nhỏ */
@media (max-width: 640px) {
  .hero2-title { font-size: clamp(28px, 8.6vw, 40px); }
  .hero2-title .line { white-space: nowrap; }
}

/* Icon nút liên hệ to hơn, logo Zalo */
.fc svg { width: 30px; height: 30px; }
.fc-call svg { width: 26px; height: 26px; }
.fc-zalo { padding: 0; }
.fc-zalo .zalo-logo { width: 38px; height: 38px; }
.qs-zalo .zalo-logo { width: 34px; height: 34px; }
.social-zalo .zalo-logo { width: 28px; height: 28px; }
.social-zalo { background: #0068ff; border-color: #0068ff; }
.social-zalo:hover { background: #0057d6; }

/* iOS: ô ngày không tràn cột, cao bằng ô chọn bên cạnh */
.field-row > .field { min-width: 0; }
.lead-form input[type="date"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; text-align: left; }
.lead-form input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.lead-form input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.8); }
/* Trang QR: 2 nút đều nhau */
.qr-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qr-actions .btn { width: 100%; justify-content: center; text-align: center; padding-left: 12px; padding-right: 12px; }
@media (max-width: 380px) { .qr-actions { grid-template-columns: 1fr; } }