/* ==========================================================
   Sức Sống Trẻ – Jumping Fitness Tuyên Quang
   Phong cách: nâu ô-liu + kem ấm + chữ viết tay (cảm hứng resort núi rừng)
   ========================================================== */
:root {
	--olive: #524915;       /* màu chữ & màu chủ đạo */
	--olive-2: #6B6024;
	--olive-3: #8A7D3C;
	--olive-dark: #2E290B;
	--cream: #FFF8EF;       /* nền chính */
	--paper: #FFFDF9;
	--sand: #F1E8D8;
	--sand-2: #DED7C5;
	--sand-3: #C8C1B1;
	--amber: #B8742A;       /* điểm nhấn: nút bấm */
	--amber-2: #9A5F1F;
	--amber-soft: #F4E4CC;
	--muted: #7D7550;
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--script: "Dancing Script", "Brush Script MT", cursive;
	--radius: 4px;
	--shadow: 0 24px 50px -28px rgba(46, 41, 11, .45);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--olive); font-family: var(--sans); font-size: 16px; line-height: 1.75; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.script { font-family: var(--script); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--olive); color: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; }
.ic { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Chữ ---------- */
.eyebrow { margin: 0 0 14px; font-family: var(--serif); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--olive-3); }
.eyebrow-light { color: var(--sand-2); }
.h2 { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 50px); color: var(--olive); margin-bottom: 20px; text-transform: none; }
.h2 em, .h3 em { font-family: var(--script); font-style: normal; font-weight: 600; color: var(--amber); font-size: 1.15em; }
.h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 20px; }
.lead { font-size: 17px; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 30px; border: 1px solid transparent; border-radius: 0; font-family: var(--serif); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn-coral { background: var(--olive); color: var(--cream); }
.btn-coral:hover { background: var(--amber); }
.btn-outline { border-color: var(--olive); color: var(--olive); }
.btn-outline:hover { background: var(--olive); color: var(--cream); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--olive); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.link-arrow .ic { transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Header: menu trái · logo giữa · nút phải ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; color: #fff; padding: 18px 0; transition: background .45s, color .45s, padding .45s, box-shadow .45s; }
.site-header.scrolled, .is-inner .site-header { background: var(--cream); color: var(--olive); padding: 10px 0; box-shadow: 0 1px 0 rgba(82, 73, 21, .1); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 max(3vw, 18px); }
.header-left { display: flex; align-items: center; gap: 26px; }
.header-right { display: flex; justify-content: flex-end; }
.nav-toggle { background: none; border: 0; padding: 8px 4px; cursor: pointer; color: inherit; }
.burger { display: grid; gap: 6px; width: 26px; }
.burger i { display: block; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s, width .3s; }
.burger i:nth-child(2) { width: 70%; }
.burger i:nth-child(3) { width: 85%; }
.nav-toggle:hover .burger i { width: 100%; }
.nav-open .burger i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); width: 100%; }
.nav-open .burger i:nth-child(2) { opacity: 0; }
.nav-open .burger i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); width: 100%; }
.header-phone { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 15px; letter-spacing: .04em; }
.brand { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-logo { max-height: 62px; width: auto; }
.brand-name { font-family: var(--script); font-size: 32px; font-weight: 600; line-height: 1; margin-top: 2px; }
.brand-mark { display: block; width: 34px; aspect-ratio: 660 / 607; background: currentColor; -webkit-mask: url(../img/logo-young-vitality.png) center / contain no-repeat; mask: url(../img/logo-young-vitality.png) center / contain no-repeat; transition: width .45s var(--ease); }
.scrolled .brand-name { font-size: 26px; }
.scrolled .brand-mark { width: 26px; }
.header-cta { font-family: var(--serif); text-transform: uppercase; letter-spacing: .12em; font-size: 14px; font-weight: 600; padding: 8px 0; position: relative; }
.header-cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.header-cta:hover::after { transform: scaleX(1); transform-origin: left; }

/* Menu toàn màn hình */
.nav { position: fixed; inset: 0; z-index: 55; background: var(--cream); color: var(--olive); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.nav-open .nav { opacity: 1; visibility: visible; }
.nav-open .site-header { background: transparent; color: var(--olive); box-shadow: none; }
.nav-inner { text-align: center; padding: 110px 24px 40px; }
.nav .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nav .menu a { font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); display: inline-block; padding: 4px 0; transition: color .3s, transform .4s var(--ease); }
.nav .menu a:hover { color: var(--amber); transform: translateX(6px); }
.nav .menu li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.nav-open .nav .menu li { opacity: 1; transform: none; }
.nav-open .nav .menu li:nth-child(2) { transition-delay: .05s; } .nav-open .nav .menu li:nth-child(3) { transition-delay: .1s; }
.nav-open .nav .menu li:nth-child(4) { transition-delay: .15s; } .nav-open .nav .menu li:nth-child(5) { transition-delay: .2s; }
.nav-open .nav .menu li:nth-child(6) { transition-delay: .25s; } .nav-open .nav .menu li:nth-child(7) { transition-delay: .3s; }
.nav .sub-menu { list-style: none; padding: 0; }
.nav-contact { margin-top: 36px; display: grid; gap: 4px; font-size: 15px; color: var(--muted); }
.nav-contact .script { font-size: 30px; color: var(--olive); margin: 0 0 6px; }
.nav-contact a { font-family: var(--serif); font-size: 20px; color: var(--olive); }
body.nav-open { overflow: hidden; }

/* ---------- Hero: video toàn màn hình, không chữ ---------- */
.hero { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: var(--olive-dark); }
.hero-media { position: absolute; inset: 0; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster { animation: kenburns 24s ease-in-out infinite alternate; }
/* Trình chiếu ảnh: mỗi ảnh 6 giây, chuyển mờ + zoom chậm */
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: slide 24s linear infinite; animation-delay: calc(var(--i) * 6s); }
.hero-slides img:first-child { opacity: 1; }
@keyframes slide { 0% { opacity: 0; transform: scale(1.1); } 5% { opacity: 1; } 30% { opacity: 1; } 31% { opacity: 0; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.hero-video-tall { display: none; }
@media (max-aspect-ratio: 4/5) { .hero-video-tall { display: block; } .hero-video-wide { display: none; } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 26, 6, .45) 0%, transparent 22%, transparent 75%, rgba(30, 26, 6, .35) 100%); }
.hero-fallback { position: absolute; inset: 0; background: radial-gradient(110% 90% at 70% 30%, #6B6024 0%, #3D360F 55%, #2E290B 100%); overflow: hidden; }
.hero-fallback i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: float 16s ease-in-out infinite alternate; }
.hero-fallback i:nth-child(1) { width: 560px; height: 560px; background: #B8742A; right: -100px; top: 5%; }
.hero-fallback i:nth-child(2) { width: 460px; height: 460px; background: #8A9A5B; left: 10%; bottom: -160px; animation-duration: 20s; }
.hero-fallback i:nth-child(3) { width: 320px; height: 320px; background: #DED7C5; left: 40%; top: 20%; animation-duration: 12s; opacity: .25; }
@keyframes float { to { transform: translate(-60px, 40px) scale(1.15); } }
.scroll-cue { position: absolute; left: 50%; bottom: 34px; width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Lời chào: trích dẫn viết tay ---------- */
.intro { padding: clamp(70px, 9vw, 120px) 0 clamp(50px, 6vw, 80px); text-align: center; }
.intro-inner { max-width: 900px; }
.intro-h1 { font-family: var(--serif); font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--olive-3); font-weight: 500; margin-bottom: 26px; }
.quote { font-family: var(--script); font-size: clamp(34px, 5vw, 58px); line-height: 1.3; font-weight: 500; color: var(--olive); margin: 0 0 28px; text-wrap: balance; }
.intro-text { max-width: 640px; margin: 0 auto 34px; font-size: 17px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Khung chung ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-head { margin-bottom: 50px; }
.section-head.center { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 50px; }
.section-head.split { display: flex; align-items: end; justify-content: space-between; gap: 32px; }

/* Ảnh giữ chỗ */
.ph { position: relative; width: 100%; height: 100%; min-height: 200px; background: radial-gradient(80% 60% at 30% 20%, rgba(255,255,255,.5), transparent 60%), linear-gradient(135deg, var(--sand) 0%, var(--sand-3) 100%); display: flex; align-items: end; padding: 18px; overflow: hidden; }
.ph::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -18%; top: -22%; border-radius: 50%; border: 1.5px solid rgba(82, 73, 21, .12); box-shadow: 0 0 0 26px rgba(82,73,21,.04), 0 0 0 60px rgba(82,73,21,.03); }
.ph span { position: relative; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(82, 73, 21, .5); font-weight: 600; max-width: 80%; line-height: 1.4; }

/* Giới thiệu */
.about { padding-top: 20px; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-media { position: relative; padding: 0 12% 16% 0; }
.about-media .about-img1 { aspect-ratio: 4/5; object-fit: cover; width: 100%; height: auto; min-height: 0; border-radius: 300px 300px 0 0; }
.about-media .about-img2 { position: absolute; right: 0; bottom: 0; width: 45%; aspect-ratio: 3/4; object-fit: cover; border: 10px solid var(--cream); min-height: 0; height: auto; }
.about-badge { position: absolute; left: -16px; bottom: 24%; background: var(--olive); color: var(--cream); padding: 16px 20px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.about-badge strong { font-family: var(--serif); font-size: 32px; line-height: 1; font-weight: 500; }
.about-badge span { font-size: 11px; line-height: 1.35; text-transform: uppercase; letter-spacing: .1em; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.coach { margin-top: 26px; display: flex; flex-direction: column; }
.coach-sign { font-family: var(--script); font-size: 40px; line-height: 1.1; }
.coach-role { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Lợi ích */
.benefits { background: var(--sand); }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--sand-3); }
.benefit { padding: 40px 28px; text-align: center; border-right: 1px solid var(--sand-3); transition: background .45s; }
.benefit:last-child { border-right: 0; }
.benefit:hover { background: var(--cream); }
.benefit-ic { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; border: 1px solid var(--olive-3); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s, color .4s; }
.benefit:hover .benefit-ic { transform: rotate(-10deg); background: var(--olive); color: var(--cream); }
.benefit-ic .ic { width: 26px; height: 26px; }
.benefit h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 10px; }
.benefit p { font-size: 15px; color: var(--muted); margin: 0; }

/* Lớp tập: thẻ ảnh dọc, chữ phủ trên ảnh */
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 0 4px; }
.program { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; color: #fff; }
.program-bg, .program .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.program:hover .program-bg, .program:hover .ph { transform: scale(1.07); }
.program .ph span { display: none; }
.program-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(46, 41, 11, .82) 100%); transition: background .5s; }
.program:hover .program-overlay { background: linear-gradient(180deg, rgba(46,41,11,.1) 0%, rgba(46, 41, 11, .9) 100%); }
.program-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.program-meta { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sand-2); margin-bottom: 8px; }
.program h3 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 8px; }
.program-text { font-size: 15px; line-height: 1.6; opacity: .9; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease), margin .6s; }
.program:hover .program-text, .program:focus-visible .program-text { max-height: 120px; margin-bottom: 14px; }
.program-more { display: inline-flex; gap: 8px; align-items: center; font-family: var(--serif); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 3px; }

/* Con số */
.stats { position: relative; color: var(--cream); padding: clamp(80px, 10vw, 140px) 0; background-color: var(--olive-dark); background-image: linear-gradient(rgba(46, 41, 11, .7), rgba(46, 41, 11, .7)), var(--bg, radial-gradient(90% 120% at 10% 0%, #6B6024, #2E290B 70%)); background-size: cover; background-position: center; background-attachment: fixed; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat-num { font-family: var(--serif); font-size: clamp(48px, 6vw, 72px); line-height: 1; color: #fff; display: flex; justify-content: center; align-items: baseline; gap: 4px; }
.stat-num small { font-size: .38em; color: var(--sand-2); font-family: var(--serif); }
.stat-label { margin-top: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* Dinh dưỡng */
.nutri-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; border: 1px solid var(--olive); margin-top: 2px; }
.nutri-media { position: relative; }
.nutri-media .nutri-img { aspect-ratio: 5/6; object-fit: cover; width: 100%; height: auto; border-radius: 0 0 300px 300px; }
.nutri-card { position: absolute; left: -30px; bottom: 50px; background: var(--paper); padding: 18px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; animation: bob 6s ease-in-out infinite; max-width: 260px; }
.nutri-card span { font-size: 11px; color: var(--amber); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.nutri-card strong { font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.35; }

/* Bảng giá */
.pricing { background: var(--sand); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price { position: relative; background: var(--paper); padding: 44px 34px 34px; display: flex; flex-direction: column; text-align: center; transition: transform .5s var(--ease), box-shadow .5s; }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price h3 { font-family: var(--serif); font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--olive-3); margin-bottom: 14px; }
.price-amt { font-family: var(--serif); font-size: 44px; line-height: 1; margin-bottom: 26px; display: flex; justify-content: center; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-amt small { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.price ul { list-style: none; padding: 24px 0 0; margin: 0 0 30px; border-top: 1px solid var(--sand-2); display: grid; gap: 10px; flex: 1; align-content: start; text-align: left; }
.price li { display: flex; gap: 10px; font-size: 15px; }
.price li .ic { color: var(--amber); margin-top: 5px; }
.price-featured { background: var(--olive); color: var(--cream); }
.price-featured h3 { color: var(--sand-2); }
.price-featured .price-amt small { color: rgba(255, 248, 239, .7); }
.price-featured ul { border-color: rgba(255, 248, 239, .2); }
.price-featured li .ic { color: var(--sand-2); }
.price-featured .btn-coral { background: var(--amber); }
.price-featured .btn-coral:hover { background: var(--cream); color: var(--olive); }
.price-flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--amber); color: #fff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 16px; }
.price-note { text-align: center; color: var(--muted); margin: 30px 0 0; font-size: 15px; }
.schedule { margin-top: 70px; background: var(--paper); padding: clamp(28px, 4vw, 48px); }
.schedule-table { display: grid; }
.srow { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--sand); align-items: center; transition: background .3s, padding .3s; }
.srow:last-child { border-bottom: 0; }
.srow:hover { background: var(--cream); padding-inline: 16px; }
.stime { font-family: var(--serif); font-size: 20px; white-space: nowrap; }
.sclass { justify-self: end; font-size: 13px; letter-spacing: .06em; color: var(--amber-2); background: var(--amber-soft); padding: 5px 14px; }

/* Cảm nhận */
.testi-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { margin: 0; background: var(--paper); padding: 38px 32px; display: flex; flex-direction: column; text-align: center; align-items: center; transition: transform .5s var(--ease); }
.testi:hover { transform: translateY(-6px); }
.testi-q { font-family: var(--script); font-size: 90px; line-height: .6; height: 36px; color: var(--amber); margin-bottom: 10px; }
.testi blockquote { margin: 0 0 26px; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.55; flex: 1; }
.testi figcaption { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.testi figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.testi figcaption strong { font-weight: 600; }
.testi figcaption em { font-style: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: var(--cream); font-family: var(--serif); font-size: 20px; }

/* Thư viện: dải ảnh tự chạy */
.gallery { padding-top: 0; overflow: hidden; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.g { width: clamp(220px, 24vw, 320px); aspect-ratio: 4/5; overflow: hidden; flex: none; }
.g:nth-child(even) { aspect-ratio: 1; align-self: center; }
.g img, .g .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; transition: transform 1s var(--ease); }
.g:hover img { transform: scale(1.06); }

/* Hỏi đáp */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); }
.faq-grid .muted a { color: var(--amber); font-weight: 600; }
.faq-list details { border-bottom: 1px solid var(--sand-2); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-family: var(--serif); font-size: 19px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { width: 28px; height: 28px; padding: 6px; border-radius: 50%; border: 1px solid var(--olive-3); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq-list details[open] summary .ic { transform: rotate(45deg); background: var(--olive); color: var(--cream); }
.faq-list details p { color: var(--muted); padding-right: 50px; margin: -6px 0 22px; animation: fadeDown .5s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* Bài viết */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--paper); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-img { display: block; aspect-ratio: 16/10; overflow: hidden; }
.post-card-img img, .post-card-img .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; transition: transform 1s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.06); }
.post-card-body { padding: 24px 26px 28px; }
.post-card time { font-size: 12px; letter-spacing: .14em; color: var(--amber); }
.post-card h3 { font-family: var(--serif); font-size: 22px; margin: 6px 0 10px; }
.post-card p { font-size: 15px; color: var(--muted); margin: 0; }

/* Đăng ký */
.booking { position: relative; padding: clamp(80px, 10vw, 130px) 0; color: var(--cream); background-color: var(--olive-dark); background-image: linear-gradient(100deg, rgba(46, 41, 11, .92) 30%, rgba(46, 41, 11, .65)), var(--bg, radial-gradient(80% 120% at 100% 0%, #6B6024, #2E290B 65%)); background-size: cover; background-position: center; }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.booking .h2 { color: #fff; }
.booking .h2 em { color: var(--sand-2); }
.booking .lead { color: rgba(255, 248, 239, .85); }
.booking-phone { display: inline-flex; align-items: center; gap: 16px; margin-top: 18px; }
.booking-phone > .ic { width: 54px; height: 54px; padding: 15px; border-radius: 50%; border: 1px solid var(--sand-2); animation: ring 2.4s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(222, 215, 197, .45); } 70%, 100% { box-shadow: 0 0 0 18px rgba(222, 215, 197, 0); } }
.booking-phone span { display: flex; flex-direction: column; font-family: var(--serif); font-size: 28px; line-height: 1.15; }
.booking-phone small { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.booking-form { background: var(--cream); color: var(--olive); padding: clamp(28px, 4vw, 44px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); display: grid; gap: 16px; }
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--sand-3); background: transparent; border-radius: 0; padding: 24px 2px 8px; outline: none; transition: border-color .3s; appearance: none; -webkit-appearance: none; font-size: 16px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23524915' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; background-size: 16px; padding-right: 30px; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--olive); }
.field label { position: absolute; left: 2px; top: 20px; font-size: 15px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { top: 2px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--olive-3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.form-small { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
.notice { padding: 14px 16px; font-size: 15px; }
.notice-ok { background: #EBEBD3; }
.notice-err { background: var(--amber-soft); color: var(--amber-2); }

/* Liên hệ */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; min-height: 500px; }
.contact-info { padding: clamp(60px, 8vw, 110px) clamp(24px, 6vw, 90px); }
.contact-list { list-style: none; padding: 0; margin: 10px 0 34px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { color: var(--amber); margin-top: 6px; }
.contact-list a { font-weight: 600; }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: sepia(.25) saturate(.8); }
.map-ph { height: 100%; min-height: 420px; display: grid; place-content: center; justify-items: center; gap: 10px; background: repeating-linear-gradient(45deg, var(--sand) 0 2px, transparent 2px 22px), var(--sand-2); }
.map-ph .ic { width: 44px; height: 44px; color: var(--amber); animation: bob 3s ease-in-out infinite; }

/* Chân trang: canh giữa, nền phong cảnh mờ dần từ màu kem */
.site-footer { position: relative; text-align: center; color: var(--olive); padding: clamp(70px, 9vw, 110px) 0 0; background-color: var(--cream); background-image: linear-gradient(180deg, var(--cream) 0%, rgba(255, 248, 239, .9) 45%, rgba(255, 248, 239, .72) 100%), var(--bg, linear-gradient(180deg, var(--cream), var(--sand))); background-size: cover; background-position: center bottom; }
.footer-center { display: flex; flex-direction: column; align-items: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; }
.footer-brand .brand-name { font-size: 54px; }
.footer-brand .brand-mark { width: 70px; margin-bottom: 8px; }
.footer-sub { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.footer-tagline { font-size: clamp(30px, 4vw, 44px); margin: 18px 0 18px; line-height: 1.3; }
.footer-lines { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 2px; font-size: 15px; }
.footer-lines a:hover { color: var(--amber); }
.socials { display: flex; gap: 30px; justify-content: center; margin: 6px 0 30px; }
.socials a { display: grid; place-items: center; color: var(--olive); transition: color .3s, transform .3s var(--ease); }
.socials a .ic { width: 30px; height: 30px; }
.socials a:hover { color: var(--amber); transform: translateY(-3px); }
.footer-nav .menu { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; font-family: var(--serif); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.footer-bottom { border-top: 1px solid rgba(82, 73, 21, .15); padding: 20px 24px; font-size: 13px; color: var(--muted); }

/* Nút nổi */
.floating { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; flex-direction: column; gap: 12px; }
.fl { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.fl:hover { transform: scale(1.08); }
.fl .ic { width: 22px; height: 22px; }
.fl-zalo { background: #0068FF; font-weight: 700; font-size: 12px; }
.fl-msg { background: linear-gradient(135deg, #00B2FF, #A033FF); }
.fl-call { background: var(--olive); animation: ring 2.4s infinite; }

/* Trang con */
.page-hero { padding: 170px 0 90px; color: #fff; text-align: center; background-color: var(--olive-dark); background-image: linear-gradient(rgba(46, 41, 11, .6), rgba(46, 41, 11, .6)), var(--bg, radial-gradient(90% 120% at 90% 0%, #6B6024, #2E290B 65%)); background-size: cover; background-position: center; }
.page-title { font-family: var(--serif); font-size: clamp(34px, 5vw, 60px); max-width: 22ch; margin-inline: auto; font-weight: 500; }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-size: 32px; margin: 1.6em 0 .6em; }
.prose h3 { font-family: var(--serif); font-size: 24px; margin: 1.4em 0 .5em; }
.prose a { color: var(--amber-2); text-decoration: underline; text-underline-offset: 3px; }
.prose img { margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; text-align: center; font-family: var(--script); font-size: 32px; line-height: 1.3; }
.post-cta { margin-top: 60px; background: var(--sand); padding: 40px; text-align: center; }
.post-cta h2 { margin-top: 0; }
.pagination { margin-top: 50px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--sand-3); font-family: var(--serif); }
.pagination .current { background: var(--olive); color: var(--cream); }

/* ---------- Hiệu ứng xuất hiện khi cuộn ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Màn hình nhỏ ---------- */
@media (max-width: 1080px) {
	.header-phone span { display: none; }
	.benefit-grid { grid-template-columns: repeat(2, 1fr); }
	.benefit:nth-child(2) { border-right: 0; }
	.benefit { border-bottom: 1px solid var(--sand-3); }
}
@media (max-width: 920px) {
	.about-grid, .nutri-grid, .booking-grid, .faq-grid, .contact { grid-template-columns: 1fr; }
	.program-grid { grid-template-columns: 1fr; gap: 4px; }
	.program { aspect-ratio: 4/3; }
	.program-text { max-height: none; margin-bottom: 14px; }
	.price-grid, .testi-track, .post-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
	.stat-grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
	.section-head.split { flex-direction: column; align-items: flex-start; }
	.nutri-media { order: -1; }
	.nutri-card { left: 16px; }
	.stats { background-attachment: scroll; }
}
@media (max-width: 600px) {
	body { font-size: 15.5px; }
	.wrap { width: calc(100% - 36px); }
	.header-inner { grid-template-columns: 44px 1fr auto; }
	.header-phone { display: none; }
	.brand-name { font-size: 28px; }
	.brand-mark { width: 38px; }
	.header-cta { font-size: 12px; letter-spacing: .08em; }
	.hero { height: 78svh; }
	.hero-ctas .btn { width: 100%; }
	.benefit-grid { grid-template-columns: 1fr; }
	.benefit { border-right: 0; }
	.program { aspect-ratio: 4/5; }
	.field-row { grid-template-columns: 1fr; }
	.srow { grid-template-columns: 1fr auto; row-gap: 2px; }
	.srow > span:first-child { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
	.about-badge { left: 0; }
	.faq-list details p { padding-right: 0; }
	.g { width: 62vw; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.hero-video { display: none; }
	.marquee { overflow-x: auto; }
}

/* =====================================================
   CÔNG CỤ SỨC KHỎE (BMI + máy đo cơ thể)
   ===================================================== */
:root { --ok: #5E7D3A; --ok-soft: #E6EDD8; --warn: #C27C1E; --warn-soft: #F7E7CC; --bad: #B4472F; --bad-soft: #F5DCD3; --info: #7D7550; --info-soft: #EFE9DA; }
.tool-alt { background: var(--sand); }
.tool-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.tool-card { background: var(--paper); padding: clamp(24px, 3.5vw, 38px); display: grid; gap: 20px; box-shadow: var(--shadow); align-content: start; }
.seg { border: 0; margin: 0; padding: 0; display: inline-flex; border: 1px solid var(--sand-3); width: max-content; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 10px 26px; font-family: var(--serif); letter-spacing: .08em; font-size: 15px; transition: background .3s, color .3s; }
.seg input:checked + span { background: var(--olive); color: var(--cream); }
.seg input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.tool-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.tool-fields-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tool-fields-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tf { display: grid; gap: 6px; }
.tf > span { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.tf small { font-weight: 400; color: var(--muted); font-size: 12px; }
.tf input, .tf select { width: 100%; font-size: 18px; padding: 12px 12px; border: 1px solid var(--sand-3); background: var(--cream); border-radius: 0; outline: none; transition: border-color .3s, background .3s; -webkit-appearance: none; appearance: none; }
.tf select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23524915' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 32px; font-size: 16px; }
.tf input:focus, .tf select:focus { border-color: var(--olive); background: #fff; }
.tool-result { background: var(--olive); color: var(--cream); padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: 100%; }
.result-empty { text-align: center; opacity: .8; }
.result-empty p { margin: 8px 0 0; }
.result-top { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.result-label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
.result-big { font-family: var(--serif); font-size: clamp(56px, 7vw, 84px); line-height: 1; }
.result-big small { font-size: .4em; opacity: .7; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }
.badge-info { background: var(--info-soft); color: var(--info); }
.scale { position: relative; margin: 10px 0 18px; }
.scale-bar { display: flex; height: 10px; }
.scale-bar i:nth-child(1) { background: #D9B26B; } .scale-bar i:nth-child(2) { background: #8FAE5D; } .scale-bar i:nth-child(3) { background: #E3A24A; } .scale-bar i:nth-child(4) { background: #D7713F; } .scale-bar i:nth-child(5) { background: #B4472F; }
.scale-pin { position: absolute; top: -7px; width: 4px; height: 24px; margin-left: -2px; background: #fff; box-shadow: 0 0 0 2px var(--olive); transition: left .8s var(--ease); }
.scale-ticks { position: relative; height: 18px; font-size: 11px; opacity: .75; }
.scale-ticks span { position: absolute; top: 4px; transform: translateX(-50%); }
.r-line { margin: 0; font-size: 15.5px; }
.r-line b { color: #fff; }
.r-bad b, .r-warn b { color: #F7C59F; }
.r-tip { margin: 4px 0 0; padding: 12px 14px; background: rgba(255, 248, 239, .1); border-left: 3px solid var(--sand-2); font-size: 15px; }
.tool-result .link-arrow { color: var(--sand-2); margin-top: 4px; }
.bmi-table { margin-top: 40px; background: var(--paper); padding: clamp(24px, 3.5vw, 40px); }
.bmi-rows { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.bmi-rows > div { display: flex; flex-direction: column; gap: 2px; padding: 14px; background: var(--cream); border-top: 4px solid; transition: transform .4s var(--ease), box-shadow .4s; }
.bmi-rows > div:nth-child(1) { border-color: #D9B26B; } .bmi-rows > div:nth-child(2) { border-color: #8FAE5D; } .bmi-rows > div:nth-child(3) { border-color: #E3A24A; } .bmi-rows > div:nth-child(4) { border-color: #D7713F; } .bmi-rows > div:nth-child(5) { border-color: #B4472F; }
.bmi-rows > div.on { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.bmi-rows > div.on::after { content: "Bạn ở đây"; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-top: 4px; }
.bmi-rows .dot { display: none; }
.bmi-rows b { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.bmi-rows span { font-size: 14px; color: var(--muted); }
button.link-arrow { background: none; border: 0; border-bottom: 1px solid var(--olive-3); color: var(--olive); cursor: pointer; padding: 0 0 3px; }
.tanita-form { max-width: 1000px; margin: 0 auto; }
.tanita-form .btn { justify-self: start; }
.tanita-result { max-width: 1100px; margin: 30px auto 0; scroll-margin-top: 90px; }
.t-summary { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; background: var(--olive); color: var(--cream); padding: 22px 28px; margin-bottom: 18px; }
.t-summary > div { flex: 1; min-width: 220px; }
.t-summary b { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.t-summary p { margin: 2px 0 0; opacity: .85; font-size: 15px; }
.t-summary .btn-coral { background: var(--amber); }
.m-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.m-card { background: var(--paper); padding: 22px 22px 18px; border-top: 4px solid var(--info); display: flex; flex-direction: column; gap: 10px; animation: fadeUp .6s var(--ease) both; }
.m-card:nth-child(2) { animation-delay: .05s; } .m-card:nth-child(3) { animation-delay: .1s; } .m-card:nth-child(4) { animation-delay: .15s; } .m-card:nth-child(5) { animation-delay: .2s; } .m-card:nth-child(6) { animation-delay: .25s; } .m-card:nth-child(n+7) { animation-delay: .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.m-ok { border-color: var(--ok); } .m-warn { border-color: var(--warn); } .m-bad { border-color: var(--bad); }
.m-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.m-name { font-family: var(--serif); font-size: 18px; }
.m-val { font-family: var(--serif); font-size: 40px; line-height: 1; }
.m-val small { font-size: 16px; color: var(--muted); margin-left: 4px; font-family: var(--sans); }
.m-card p { margin: 0; font-size: 14.5px; color: #5d5640; line-height: 1.6; }
.m-more { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-2); margin-top: auto; }
.m-bar { position: relative; display: flex; height: 8px; margin: 4px 0 6px; }
.m-bar i.t-ok { background: #8FAE5D; } .m-bar i.t-warn { background: #E3A24A; } .m-bar i.t-bad { background: #C65A3C; }
.m-bar b { position: absolute; top: -5px; width: 3px; height: 18px; margin-left: -1.5px; background: var(--olive); }
.metric-body { padding-bottom: 20px; }
.metric-body p { color: #5d5640; margin: 0 0 10px; }
.metric-body h4 { font-family: var(--serif); font-weight: 500; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--olive-3); margin: 14px 0 6px; }
.metric-body ul { margin: 0; padding-left: 18px; color: #5d5640; }
.metric-body li { margin-bottom: 3px; }
.metric-ex { background: var(--sand); padding: 12px 14px; font-style: italic; }
.health-cta .quote { margin-bottom: 14px; }
.disclaimer { max-width: 640px; margin: 30px auto 0; }

/* Khối BMI nhanh trên trang chủ */
.mini-bmi { background: var(--paper); }
.mini-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.mini-grid .tool-card { margin-top: 10px; box-shadow: none; border: 1px solid var(--sand-2); }
.mini-grid .tool-result { min-height: 380px; }
.mini-link { margin-top: 18px; }

/* =====================================================
   CÂU CHUYỆN THAY ĐỔI
   ===================================================== */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.case { display: flex; flex-direction: column; background: var(--paper); transition: transform .5s var(--ease), box-shadow .5s; }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.case-img img, .case-img .ph { width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease); }
.case:hover .case-img img { transform: scale(1.05); }
.case-tag { position: absolute; left: 14px; top: 14px; background: rgba(255, 248, 239, .92); font-family: var(--serif); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; }
.case-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.case-body strong { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.3; }
.case-body em { font-style: normal; font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.case-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.case-badges b { background: var(--amber-soft); color: var(--amber-2); font-size: 13px; padding: 3px 10px; }
.case-full { width: 100%; max-height: 80vh; object-fit: contain; background: var(--sand); margin: 0 0 24px !important; }
.case-table { width: 100%; border-collapse: collapse; margin: 0 0 26px; background: var(--paper); }
.case-table th, .case-table td { padding: 12px 16px; border-bottom: 1px solid var(--sand-2); text-align: left; }
.case-table thead th { font-family: var(--serif); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; color: var(--olive-3); }
.case-table td { font-family: var(--serif); font-size: 20px; }
.case-note { font-size: 14px; color: var(--muted); font-style: italic; }

/* Nút sửa nhanh khi đã đăng nhập */
.ssl-edit-fab { position: fixed; left: 16px; bottom: 16px; z-index: 80; background: var(--amber); color: #fff; font-size: 16px; font-weight: 600; padding: 12px 18px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); }
.ssl-edit-fab:hover { background: var(--olive); color: #fff; }
.ssl-edit-home { bottom: 70px; background: var(--olive); }

@media (max-width: 920px) {
	.tool-grid, .mini-grid { grid-template-columns: 1fr; }
	.tool-fields-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bmi-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.m-grid, .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mini-grid .tool-result { min-height: 0; }
}
@media (max-width: 600px) {
	.tool-fields-3 { grid-template-columns: 1fr 1fr; }
	.tool-fields-3 .tf:first-child { grid-column: 1 / -1; }
	.m-grid, .case-grid { grid-template-columns: 1fr; }
	.tanita-form .btn { justify-self: stretch; }
	.bmi-rows > div:last-child { grid-column: 1 / -1; }
}

/* =====================================================
   LỊCH TẬP · HÀNH TRÌNH · TRÍCH DẪN · BÁO CHÍ
   ===================================================== */
.program-time { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 42px) !important; font-weight: 500; letter-spacing: .02em; }
.week { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 34px; }
.week span { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--olive-3); font-family: var(--serif); font-size: 15px; }
.week em { flex-basis: 100%; text-align: center; font-style: normal; color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.week em a { color: var(--amber-2); font-weight: 600; }
.nutri-more { margin-top: 28px; }

.journey { background: var(--paper); }
.journey-line { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.journey-line::before { content: ""; position: absolute; left: 16%; right: 16%; top: 54px; height: 1px; background: var(--sand-3); }
.journey-line li { text-align: center; padding: 0 22px; position: relative; }
.j-num { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 108px; height: 108px; border-radius: 50%; background: var(--cream); border: 1px solid var(--olive-3); font-family: var(--serif); font-size: 44px; line-height: 1; position: relative; z-index: 1; margin-bottom: 20px; transition: background .5s, color .5s; }
.j-num small { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; color: var(--muted); }
.journey-line li:last-child .j-num { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.journey-line li:last-child .j-num small { color: var(--sand-2); }
.journey-line p { margin: 0; font-size: 16px; }
.journey-note { margin: 50px 0 0; color: var(--amber); }

.quote-band { position: relative; text-align: center; color: #fff; padding: clamp(90px, 12vw, 160px) 0; background-color: var(--olive-dark); background-image: linear-gradient(rgba(46, 41, 11, .72), rgba(46, 41, 11, .72)), var(--bg, none); background-size: cover; background-position: center; background-attachment: fixed; }
.quote-band .quote { color: #fff; max-width: 900px; margin: 0 auto 18px; }
.quote-sub { font-family: var(--serif); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--sand-2); margin: 0; }

.press-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.press-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--olive-dark); }
.press-video { width: 100%; height: 100%; object-fit: cover; }
.press-tag { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 248, 239, .92); font-size: 12px; letter-spacing: .08em; padding: 6px 12px; }
.press-card { display: grid; gap: 10px; background: var(--paper); padding: 26px 28px; border-left: 3px solid var(--amber); transition: transform .4s var(--ease), box-shadow .4s; }
.press-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.press-src { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-2); }
.press-card strong { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.3; }
.press-card > span:not(.press-src):not(.link-arrow) { color: var(--muted); font-size: 15px; }
.press-yt { margin-top: 18px; }

/* Bệnh do thừa mỡ */
.risks { background: var(--sand); }
.risk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--sand-3); border: 1px solid var(--sand-3); }
.risk { background: var(--paper); padding: 30px 28px; transition: background .4s; }
.risk:hover { background: var(--cream); }
.risk-n { font-family: var(--serif); color: var(--amber); font-size: 14px; letter-spacing: .12em; }
.risk h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 6px 0 8px; }
.risk p { margin: 0; color: #5d5640; font-size: 15px; }
.risk-cta { margin-top: 30px; }
.risk-cta a { color: var(--amber-2); font-weight: 600; }

/* =====================================================
   TRANG DINH DƯỠNG
   ===================================================== */
.ratio-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.ratio-saying { font-size: clamp(36px, 4vw, 50px); color: var(--amber); margin: 20px 0 4px; line-height: 1.2; }
.ratio-bars { display: grid; grid-template-rows: 4fr 1fr; gap: 10px; height: 460px; }
.rb { display: flex; align-items: flex-end; justify-content: space-between; padding: 22px 26px; }
.rb b { font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 8vw, 104px); line-height: .9; }
.rb b small { font-size: .4em; }
.rb span { font-family: var(--serif); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; }
.rb-80 { background: var(--olive); color: var(--cream); }
.rb-20 { background: var(--amber-soft); color: var(--amber-2); align-items: center; }
.rb-20 b { font-size: 44px; }
.needs { background: var(--paper); }
.need-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--sand-2); border-left: 1px solid var(--sand-2); }
.need { padding: 28px 24px; border-right: 1px solid var(--sand-2); border-bottom: 1px solid var(--sand-2); display: flex; flex-direction: column; gap: 8px; transition: background .4s; }
.need:hover { background: var(--cream); }
.need-n { font-family: var(--serif); color: var(--amber); font-size: 14px; letter-spacing: .12em; }
.need h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.need p { margin: 0; font-size: 15px; color: #5d5640; flex: 1; }
.need em { font-style: normal; font-size: 13px; color: var(--muted); border-top: 1px dashed var(--sand-2); padding-top: 10px; }
.pyr-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.pyr-legend { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.pyr-legend i { display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; }
.l1, .t1 { background: #E9D9BD; } .l2, .t2 { background: #D9C49A; } .l3, .t3 { background: #B9C79A; } .l4, .t4 { background: var(--olive); }
.pyramid { display: grid; gap: 6px; justify-items: center; }
.tier { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 18px; }
.tier b { font-family: var(--serif); font-weight: 500; font-size: 17px; }
.tier span { font-size: 13.5px; color: #5d5640; line-height: 1.45; }
.pyramid .tier:nth-child(1) { width: 34%; } .pyramid .tier:nth-child(2) { width: 42%; } .pyramid .tier:nth-child(3) { width: 50%; }
.pyramid .tier:nth-child(4) { width: 64%; } .pyramid .tier:nth-child(5) { width: 72%; } .pyramid .tier:nth-child(6) { width: 80%; } .pyramid .tier:nth-child(7) { width: 88%; }
.pyramid .tier:nth-child(8) { width: 100%; color: var(--cream); }
.pyramid .tier:nth-child(8) span { color: var(--sand-2); }
.water { background: var(--sand); }
.water-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.water-fig { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.drop { width: 220px; aspect-ratio: 1; border-radius: 0 50% 50% 50%; transform: rotate(45deg); background: radial-gradient(circle at 30% 30%, #fff8, transparent 45%), var(--olive); color: var(--cream); display: grid; place-content: center; }
.drop > div { transform: rotate(-45deg); text-align: center; } .drop b, .drop span { display: block; }
.drop b { font-family: var(--serif); font-weight: 500; font-size: 56px; line-height: 1; }
.drop span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.water-fig ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.water-fig li { font-size: 15px; color: #5d5640; }
.water-fig li b { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--olive); margin-right: 8px; }
.tip { margin-top: 22px; background: var(--paper); padding: 14px 18px; border-left: 3px solid var(--amber); font-size: 15px; }
.bf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 980px; margin: 0 auto; }
.bf { padding: 32px 32px 26px; }
.bf h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin-bottom: 14px; }
.bf ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.bf-bad { background: var(--paper); border-top: 4px solid #D7713F; }
.bf-bad li::marker { content: "✕  "; color: #C65A3C; }
.bf-good { background: var(--olive); color: var(--cream); border-top: 4px solid #8FAE5D; }
.bf-good li::marker { content: "✓  "; color: #B9C79A; }
.habits { background: var(--paper); }
.habit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.habit { text-align: center; padding: 30px 22px; border: 1px solid var(--sand-2); display: grid; gap: 8px; }
.habit b { font-family: var(--script); font-size: 34px; font-weight: 600; color: var(--olive); line-height: 1.1; }
.habit span { font-size: 15px; color: #5d5640; }

@media (max-width: 920px) {
	.press-grid, .ratio-grid, .pyr-grid, .water-grid { grid-template-columns: 1fr; }
	.risk-grid, .need-grid, .habit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ratio-bars { height: 340px; }
	.quote-band { background-attachment: scroll; }
}
@media (max-width: 600px) {
	.journey-line { grid-template-columns: 1fr; gap: 30px; }
	.journey-line::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
	.journey-line li { background: var(--paper); padding: 0 10px 10px; }
	.risk-grid, .need-grid, .habit-grid, .bf-grid { grid-template-columns: 1fr; }
	.pyramid .tier { width: 100% !important; }
	.drop { width: 160px; } .drop b { font-size: 40px; }
	.week span { width: 40px; height: 40px; }
}

/* Zalo */
.btn-zalo { background: #0068FF; color: #fff; }
.btn-zalo:hover { background: #0050c4; color: #fff; }
.btn .ic-zalo, .zalo-link .ic-zalo { width: 1.3em; height: 1.3em; }
.booking-zalo { margin: 22px 0 0; }
.tool-result .btn-zalo { align-self: flex-start; margin-top: 4px; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.nav-contact .nav-zalo { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-family: var(--sans); font-size: 16px; color: #0068FF; }
.nav-contact .nav-zalo .ic { width: 22px; height: 22px; }

/* Truyền hình & báo chí (bố cục mới) */
.press .press-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 3vw, 40px); }
.press-main { margin: 0; background: var(--paper); }
.press-main .press-media, .press-media-sm { aspect-ratio: 16 / 9; background: var(--olive-dark); overflow: hidden; position: relative; }
.press-media video, .press-media img { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.press-main figcaption { padding: 24px 28px 26px; display: grid; gap: 10px; }
.press-main strong { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }
.press-sum { color: var(--muted); font-size: 15px; }
.press-credit { font-style: normal; font-size: 12px; color: var(--sand-3); }
.press-side { display: grid; gap: 22px; }
.press-item { background: var(--paper); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; }
.press-item .press-media-sm { aspect-ratio: auto; min-height: 100%; }
.press-side .press-sum { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 600px) { .press-item { grid-template-columns: 1fr; } .press-item .press-media-sm { aspect-ratio: 16 / 9; } }
.press-body { padding: 18px 22px 22px; display: grid; gap: 8px; }
.press-body strong { font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.35; }
.press-body .press-sum { font-size: 14px; }
.quote-band { overflow: hidden; }
.quote-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.quote-band.has-video::before { content: ""; position: absolute; inset: 0; background: rgba(46, 41, 11, .66); z-index: 1; }
.quote-band .wrap { position: relative; z-index: 2; }
@media (max-width: 920px) { .press .press-grid { grid-template-columns: 1fr; } }

/* Biểu tượng nét mảnh (PNG tô màu bằng mask) */
.lic { display: inline-block; width: 1.2em; height: 1.2em; flex: none; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; vertical-align: middle; }
.ic.lic { width: 1.25em; height: 1.25em; }
.benefit-ic .lic { width: 40px; height: 40px; }
.program-ic { width: 54px; height: 54px; margin-bottom: 10px; color: var(--cream); }
.need-top { display: flex; align-items: center; justify-content: space-between; }
.need-ic { width: 44px; height: 44px; color: var(--olive); }
.habit-ic { width: 52px; height: 52px; margin: 0 auto 6px; color: var(--amber); }
.metric-title { display: inline-flex; align-items: center; gap: 14px; }
.metric-ic { width: 30px; height: 30px; color: var(--amber); }
.m-name { display: inline-flex; align-items: center; gap: 10px; }
.m-ic { width: 26px; height: 26px; color: var(--olive-3); }
.fl-zalo { background: #fff; }
.fl-zalo img { width: 30px; height: auto; }
.contact-list .ic.lic, .footer-list .ic.lic { width: 22px; height: 22px; }
.btn-zalo .lic { width: 1.4em; height: 1.4em; }
.socials a .ic.lic { width: 30px; height: 30px; }
.booking-phone .ring { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--sand-2); display: grid; place-items: center; flex: none; animation: ring 2.4s infinite; }
.booking-phone .ring .lic { width: 26px; height: 26px; }

/* ===== Bài viết (trang /bai-viet/ do worker tạo + khối bài mới ở trang chủ) ===== */
.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.post-card{display:flex;flex-direction:column;background:var(--paper);box-shadow:var(--shadow);transition:transform .4s var(--ease)}
.post-card:hover{transform:translateY(-4px)}
.post-card-img{aspect-ratio:16/10;overflow:hidden;background:var(--sand)}
.post-card-img img{width:100%;height:100%;object-fit:cover}
.post-card-body{display:flex;flex-direction:column;gap:6px;padding:20px 22px 24px}
.post-card-body time{font-size:13px;letter-spacing:.12em;color:var(--olive-3)}
.post-card-body strong{font-family:var(--serif);font-size:21px;line-height:1.35;font-weight:500}
.post-card-body span{color:var(--muted);font-size:15px;line-height:1.6}
.post-empty{text-align:center;color:var(--muted)}
.article{max-width:760px;margin-inline:auto}
.article-meta{text-align:center;color:var(--olive-3);letter-spacing:.12em;font-size:14px;margin:-10px 0 30px}
.article-cover{margin:0 0 36px}
.article-cover img{width:100%;height:auto;box-shadow:var(--shadow)}
.prose{font-size:18px;line-height:1.85}
.prose h2,.prose h3{font-family:var(--serif);font-weight:500;margin:1.6em 0 .6em;line-height:1.3}
.prose h2{font-size:30px}.prose h3{font-size:24px}
.prose p{margin:0 0 1.1em}
.prose img{display:block;max-width:100%;height:auto;margin:1.4em auto}
.prose a{text-decoration:underline;color:var(--amber-2)}
.prose blockquote{margin:1.4em 0;padding:4px 0 4px 22px;border-left:3px solid var(--olive-3);font-style:italic;color:var(--olive-2)}
.prose ul,.prose ol{padding-left:1.4em;margin:0 0 1.1em}
.prose .ql-align-center{text-align:center}.prose .ql-align-right{text-align:right}.prose .ql-align-justify{text-align:justify}
.prose iframe,.prose .ql-video{display:block;width:100%;aspect-ratio:16/9;border:0;margin:1.4em 0}
.share{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:44px 0 0;padding-top:26px;border-top:1px solid var(--sand-2)}
.share-label{font-family:var(--serif);margin-right:4px}
.share-btn{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border:1px solid var(--olive);background:transparent;color:var(--olive);font:inherit;font-size:15px;cursor:pointer}
.share-btn:hover{background:var(--olive);color:var(--cream)}
.share-btn svg{width:18px;height:18px}
.share-native{background:var(--olive);color:var(--cream)}
.article-back{margin-top:40px;text-align:center}
@media (max-width:900px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.post-grid{grid-template-columns:1fr}.prose{font-size:17px}}
.latest-posts .post-grid{margin-top:10px}
.admin-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; display: flex; gap: 4px; padding: 6px; border-radius: 99px; background: var(--olive-dark); box-shadow: 0 12px 34px rgba(0,0,0,.35); max-width: calc(100vw - 110px); overflow-x: auto; }
.admin-bar a { flex: none; padding: 10px 16px; border-radius: 99px; color: var(--cream); font-size: 15px; font-weight: 500; white-space: nowrap; }
.admin-bar a:hover { background: rgba(255,255,255,.12); }
.admin-bar a.ab-main { background: var(--amber); }
.admin-bar { scrollbar-width: none; }
@media (max-width: 600px) { .admin-bar { left: 12px; transform: none; bottom: 12px; max-width: calc(100vw - 96px); } .admin-bar a { padding: 9px 12px; font-size: 14px; } .admin-bar .ab-x { display: none; } }
/* Link đăng nhập trên header (chỉ máy tính; điện thoại dùng menu ☰) */
.header-right { align-items: center; gap: 26px; }
/* Menu ☰ cao hơn màn hình: cho cuộn để không bị cắt mất phần dưới */
.nav { overflow-y: auto; place-items: safe center; }
.nav-open .site-header { background: var(--cream); }
/* Link đăng nhập: cùng kiểu chữ với "Tập thử miễn phí" (serif, chữ hoa, giãn chữ) */
.header-login::after { content: ""; position: absolute; left: 22px; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.header-login:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-login { justify-self: center; display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--serif) !important; font-size: 13px !important; text-transform: uppercase; letter-spacing: .14em; color: var(--olive-3) !important; transition: color .3s; }
.nav-login .ic { width: 16px; height: 16px; margin-top: -2px; }
.nav-login:hover { color: var(--amber) !important; }
.header-login { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; font-family: var(--serif); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 500; color: inherit; opacity: .72; white-space: nowrap; transition: opacity .3s; }
.header-login:hover { opacity: 1; }
.header-right .header-login + .header-cta::before { content: ""; position: absolute; left: -13px; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: currentColor; opacity: .3; }
@media (max-width: 900px) { .header-login, .header-right .header-login + .header-cta::before { display: none; } }
.header-login .ic { width: 15px; height: 15px; margin-top: -2px; }

/* Mạng xã hội: TikTok nhúng (tự cập nhật video mới) */
.social-feed { background: var(--cream); }
.social-grid { display: grid; gap: 28px; max-width: 780px; margin: 0 auto; }
.social-box { min-width: 0; }
.social-box .tiktok-embed { border-radius: 14px; overflow: hidden; }
.social-fallback { text-align: center; margin: 18px 0 0; }
