/* ==========================================================================
   NDA Realty – giao diện chính
   Màu & font lấy từ Giao diện → Tùy biến (biến CSS :root được in tự động).
   ========================================================================== */
:root {
	--bg: #0a2119;
	--bg-alt: #0e2b21;
	--accent: #c9a24b;
	--accent-2: #ecd08a;
	--text: #ece6d6;
	--font-heading: "Montserrat", serif;
	--font-body: "Be Vietnam Pro", system-ui, sans-serif;
	--heading-transform: uppercase;
	--heading-weight: 400;
	--hero-overlay: .7;

	--muted: color-mix(in srgb, var(--text) 62%, var(--bg));
	--line: color-mix(in srgb, var(--accent) 24%, transparent);
	--line-soft: color-mix(in srgb, var(--text) 10%, transparent);
	--card: color-mix(in srgb, var(--text) 4%, var(--bg));
	--gold-grad: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 55%, color-mix(in srgb, var(--accent) 70%, #5a4310) 100%);
	--radius: 4px;
	--container: 1200px;
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: calc(16px * var(--b-scale, 1));
	line-height: 1.7;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-2); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--heading-weight); line-height: 1.2; margin: 0 0 .5em; color: var(--text); }
::selection { background: var(--accent); color: var(--bg); }
.icon { flex: none; vertical-align: -4px; }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background: var(--accent); color: var(--bg); padding: 8px 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; padding-top: 48px; padding-bottom: 80px; }

/* Eyebrow & section head ---------------------------------------------- */
.eyebrow {
	display: flex; align-items: center; gap: 16px;
	margin: 0 0 20px;
	font-family: var(--font-heading);
	font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
	color: var(--accent);
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { content: ""; width: 40px; height: 1px; background: var(--accent); }
.section-title { font-size: calc(clamp(28px, 4vw, 44px) * var(--h-scale, 1)); text-transform: var(--heading-transform); letter-spacing: .06em; margin: 0; }
.section-desc { margin: 18px 0 0; color: var(--muted); font-size: 17px; }

/* Buttons --------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 30px; border-radius: var(--radius);
	font-family: var(--font-heading); font-size: 13px; font-weight: 500;
	letter-spacing: .2em; text-transform: uppercase; line-height: 1.2;
	border: 1px solid transparent; cursor: pointer;
	transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn--gold { background: var(--gold-grad); color: #1b160a; }
.btn--gold:hover { color: #1b160a; transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--accent); }
.btn--outline { border-color: var(--accent); color: var(--accent-2); background: transparent; }
.btn--outline:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.btn--sm { padding: 10px 18px; font-size: 11.5px; }
.btn--block { display: flex; width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2); font-size: 14px; letter-spacing: .06em; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Header ---------------------------------------------------------------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
	transition: background .3s, box-shadow .3s, height .3s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled, body:not(.home) .site-header {
	background: color-mix(in srgb, var(--bg) 92%, transparent);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 var(--line);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__emblem { height: var(--logo-h, 46px); width: auto; }
.brand__word { height: calc(var(--logo-h, 46px) * .48); width: auto; }
.brand__img { height: var(--logo-h, 46px); max-height: calc(var(--header-h) - 12px); width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav__list a { font-family: var(--font-heading); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--text); padding: 6px 0; position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--accent); transition: right .3s; }
.nav__list a:hover::after, .nav__list a.is-active::after { right: 0; }
.nav__list .sub-menu { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--accent-2); width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer; place-items: center; }
.nav-toggle__close { display: none; }

@media (max-width: 960px) {
	.nav-toggle { display: grid; }
	.nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
		padding: 24px; background: var(--bg);
		transform: translateX(100%); transition: transform .35s ease; overflow-y: auto;
	}
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { display: block; padding: 18px 0; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
	.nav__list a::after { display: none; }
	.nav__cta { margin-top: 24px; padding: 16px; }
	body.nav-open { overflow: hidden; }
	body.nav-open .nav { transform: none; }
	body.nav-open .nav-toggle__open { display: none; }
	body.nav-open .nav-toggle__close { display: block; }
	body.nav-open .site-header { background: var(--bg); }
}

/* Hero ------------------------------------------------------------------ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 48px) 0 56px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) calc(var(--hero-overlay) * 100%), transparent) 60%, color-mix(in srgb, var(--bg) calc(var(--hero-overlay) * 70%), transparent) 100%); }
.hero__glow { position: absolute; z-index: -1; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; right: -10vw; top: 50%; transform: translateY(-55%); background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 60%); pointer-events: none; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__title { font-size: calc(clamp(30px, 4.8vw, 56px) * var(--h-scale, 1)); text-transform: var(--heading-transform); letter-spacing: .05em; line-height: 1.15; margin-bottom: 28px; }
.hero__subtitle { color: var(--accent-2); font-size: 18px; letter-spacing: .04em; margin-bottom: 36px; font-weight: 400; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { display: flex; justify-content: center; }
.hero__emblem { width: min(440px, 100%); opacity: .95; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.hero__portrait { position: relative; width: min(420px, 100%); aspect-ratio: 4/5; }
.hero__portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent); }
.hero__portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); margin: 72px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-soft); }
.highlights li { padding: 32px 32px 28px 0; }
.highlights li + li { padding-left: 32px; border-left: 1px solid var(--line-soft); }
.highlights h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 8px; font-weight: 500; }
.highlights p { color: var(--muted); font-size: 15px; margin: 0; }

/* Sections -------------------------------------------------------------- */
.section { padding: 112px 0; position: relative; }
.section:nth-of-type(odd) { background: var(--bg-alt); }
.section--tight { padding-top: 56px; padding-bottom: 96px; }
.section-more { text-align: center; margin: 48px 0 0; }
.empty-note { text-align: center; color: var(--muted); border: 1px dashed var(--line); padding: 32px; }

/* About */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
.about__frame { position: relative; aspect-ratio: 4/5; }
.about__frame::before { content: ""; position: absolute; inset: -20px 20px 20px -20px; border: 1px solid var(--accent); z-index: 0; }
.about__frame img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.about__placeholder { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; background: var(--card); color: var(--muted); font-size: 13px; padding: 24px; }
.about__placeholder img { width: 120px; height: auto; opacity: .7; }
.about__position { color: var(--accent-2); font-size: 18px; margin: 14px 0 24px; letter-spacing: .03em; font-weight: 400; }
.about__bio { color: color-mix(in srgb, var(--text) 85%, var(--bg)); font-size: 17px; }
.about__quote { margin: 28px 0 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent); font-family: var(--font-heading); font-size: 20px; font-style: italic; color: var(--accent-2); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 24px; margin: 40px 0 0; padding-top: 32px; border-top: 1px solid var(--line-soft); }
.stats dt { font-family: var(--font-heading); font-size: 40px; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.cert { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 96px; padding-top: 64px; border-top: 1px solid var(--line-soft); }
.cert__title { font-size: 28px; text-transform: var(--heading-transform); letter-spacing: .06em; }
.cert__img img { border: 1px solid var(--line); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.team-card { background: var(--card); border: 1px solid var(--line-soft); transition: border-color .3s, transform .3s; }
.team-card:hover { border-color: var(--line); transform: translateY(-4px); }
.team-card--featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.team-card__photo { display: block; aspect-ratio: 3/4; overflow: hidden; background: color-mix(in srgb, var(--accent) 8%, var(--bg)); position: relative; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.team-card:hover .team-card__photo img { transform: scale(1.05); }
.team-card__initial { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-heading); font-size: 64px; color: var(--accent); }
.team-card__body { padding: 22px 22px 24px; }
.team-card--featured .team-card__body { align-self: end; }
.team-card__name { font-size: 18px; letter-spacing: .04em; margin-bottom: 4px; }
.team-card__role { color: var(--accent); font-size: 14px; margin: 0 0 14px; }
.team-card__links { display: flex; gap: 8px; }
.team-card__links a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent-2); }
.team-card__links a:hover { background: var(--accent); color: var(--bg); }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.project-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line-soft); transition: border-color .3s, transform .3s; }
.project-card:hover { border-color: var(--line); transform: translateY(-4px); }
.project-card__media, .activity-card__media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: color-mix(in srgb, var(--accent) 8%, var(--bg)); }
.project-card__media img, .activity-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover .project-card__media img, .activity-card:hover .activity-card__media img { transform: scale(1.05); }
.project-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); }
.project-card__ph .icon { width: 56px; height: 56px; opacity: .6; }
.tag { position: absolute; top: 16px; left: 16px; padding: 6px 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: var(--gold-grad); color: #1b160a; font-weight: 600; }
.tag--da-ban-giao { background: color-mix(in srgb, var(--text) 85%, var(--bg)); }
.project-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.project-card__title { font-size: 21px; letter-spacing: .03em; margin-bottom: 8px; }
.project-card__loc { display: flex; gap: 8px; color: var(--accent-2); font-size: 14px; margin-bottom: 14px; }
.project-card__excerpt { color: var(--muted); font-size: 15px; }
.project-card__facts { list-style: none; margin: 0 0 20px; padding: 0; font-size: 14px; }
.project-card__facts li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.project-card__facts span { color: var(--muted); }
.project-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Activities – lưới thumbnail đều nhau, bấm mở bài viết ngắn */
.activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.activity-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.activity-card__link:hover { color: inherit; }
.activity-card__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.activity-card__media { aspect-ratio: 4/3; }
.activity-card__count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 4px 10px; }
.activity-card__view { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 55%, transparent); color: var(--accent-2); font-family: var(--font-heading); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.activity-card__link:hover .activity-card__view, .activity-card__link:focus-visible .activity-card__view { opacity: 1; }
.activity-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 0 0; }
.activity-card__meta { display: block; color: var(--accent); font-size: 13px; letter-spacing: .08em; }
.activity-card__title { display: block; font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: 19px; letter-spacing: .02em; line-height: 1.3; color: var(--text); transition: color .2s; }
.activity-card__link:hover .activity-card__title { color: var(--accent-2); }
.activity-card__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 14.5px; }
.activity-card__tpl { display: none; }

/* Cửa sổ xem nhanh hoạt động */
.activity-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 32px 16px; background: rgba(3, 10, 8, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.activity-modal[hidden] { display: none; }
.activity-modal__panel { position: relative; width: min(880px, 100%); max-height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 40px 100px -30px rgba(0,0,0,.8); }
.activity-modal__close { position: sticky; top: 0; float: right; z-index: 2; margin: 12px 12px -56px 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 80%, transparent); color: var(--text); cursor: pointer; }
.activity-modal__close:hover { color: var(--accent-2); border-color: var(--accent); }
.activity-modal__cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.activity-modal__body { padding: 32px 40px 40px; }
.activity-modal__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; color: var(--accent); font-size: 14px; letter-spacing: .06em; margin-bottom: 10px; }
.activity-modal__meta span { display: inline-flex; gap: 6px; align-items: center; }
.activity-modal__title { font-size: clamp(22px, 3vw, 30px); letter-spacing: .03em; margin-bottom: 18px; }
.activity-modal__h { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 32px 0 14px; }
.activity-modal__more { margin: 28px 0 0; }
body.modal-open { overflow: hidden; }

/* Popup Đặt lịch tư vấn */
.booking-modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 24px 16px; background: rgba(3, 10, 8, .8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.booking-modal[hidden] { display: none; }
.booking-modal__panel { position: relative; width: min(460px, 100%); max-height: 100%; overflow-y: auto; padding: 40px 36px 32px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 40px 100px -30px rgba(0,0,0,.85); animation: pop .3s ease; }
.booking-modal__panel::before { content: ""; position: absolute; inset: -1px -1px auto -1px; height: 3px; background: var(--gold-grad); }
.booking-modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.booking-modal__close:hover { color: var(--accent-2); border-color: var(--accent); }
.booking-modal .eyebrow { margin-bottom: 12px; }
.booking-modal__title { font-size: 26px; text-transform: var(--heading-transform); letter-spacing: .06em; margin-bottom: 8px; }
.booking-modal__desc { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.booking-form { display: grid; gap: 16px; }
.booking-form .btn { margin-top: 4px; }
.booking-form .nda-result.is-ok { color: #8fe0a8 !important; }
.booking-form .nda-result.is-error { color: #ff9b8f !important; }
.booking-modal__note { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.field select:invalid { color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 680px) {
	.booking-modal { padding: 0; place-items: end stretch; }
	.booking-modal__panel { width: 100%; padding: 32px 18px calc(24px + env(safe-area-inset-bottom, 0px)); border-width: 1px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .booking-modal__panel { animation: none; } }

/* Video trình chiếu */
.vshow__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -24px 0 32px; }
.chip { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: 13px; letter-spacing: .06em; cursor: pointer; transition: background .2s, color .2s; }
.chip:hover { color: var(--accent-2); }
.chip.is-active { background: var(--gold-grad); color: #1b160a; border-color: transparent; }
.vshow__main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.vshow__stage { position: relative; background: #000; border: 1px solid var(--line); }
.vshow__frame { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.vshow__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vshow__poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.vshow__poster img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s; }
.vshow__poster:hover img { opacity: 1; transform: scale(1.02); }
.vshow__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--gold-grad); display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0,0,0,.5); transition: transform .2s; }
.vshow__play::after { content: ""; margin-left: 6px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #1b160a; }
.vshow__poster:hover .vshow__play { transform: scale(1.08); }
.vshow__fade { animation: vfade .5s ease; }
@keyframes vfade { from { opacity: 0; } to { opacity: 1; } }
.vshow__nav { position: absolute; top: calc(50% - 60px); z-index: 2; width: 44px; height: 64px; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; opacity: .75; transition: opacity .2s, background .2s; }
.vshow__nav:hover { opacity: 1; background: rgba(0,0,0,.7); }
.vshow__nav--prev { left: 0; }
.vshow__nav--next { right: 0; }
.vshow__info { padding: 20px 24px 24px; background: var(--card); }
.vshow__cat { color: var(--accent); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 6px; min-height: 1em; }
.vshow__title { font-size: 22px; letter-spacing: .02em; margin: 0; }
.vshow__desc { color: var(--muted); margin: 10px 0 0; font-size: 15px; }
.vshow__desc:empty { display: none; }
.vshow__list { list-style: none; margin: 0; padding: 0 4px 0 0; display: flex; flex-direction: column; gap: 10px; max-height: 620px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.vshow__item[hidden] { display: none; }
.vshow__item a { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 12px; align-items: start; padding: 8px; border: 1px solid transparent; color: var(--text); transition: background .2s, border-color .2s; }
.vshow__item a:hover { background: var(--card); }
.vshow__item.is-active a { background: var(--card); border-color: var(--line); }
.vshow__thumb { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.vshow__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vshow__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); opacity: 0; }
.vshow__bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.vshow__item.is-active .vshow__bar { opacity: 1; }
.vshow__meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vshow__tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.vshow__name { font-size: 14.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vshow__item.is-active .vshow__name { color: var(--accent-2); }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.contact__list { margin: 0; }
.contact__list div { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.contact__list dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact__list dd { margin: 0; font-size: 18px; }
.contact__list a { border-bottom: 1px solid var(--line); }
.contact__map { margin-top: 32px; aspect-ratio: 16/10; border: 1px solid var(--line); }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

.lead-form { background: var(--card); border: 1px solid var(--line); padding: 40px; position: relative; }
.lead-form::before { content: ""; position: absolute; inset: -1px -1px auto -1px; height: 3px; background: var(--gold-grad); }
.lead-form__title { font-size: 22px; text-transform: var(--heading-transform); letter-spacing: .08em; margin-bottom: 24px; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.field { display: block; }
.field--full { grid-column: 1 / -1; }
.field span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
	width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--text);
	background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line-soft); border-radius: var(--radius);
	transition: border-color .2s;
}
.field select option { background: var(--bg); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.lead-form [data-nda-result] { font-size: 15px; }
.lead-form .nda-result.is-ok { color: #8fe0a8 !important; }
.lead-form .nda-result.is-error { color: #ff9b8f !important; }
.lead-form__warn { color: var(--muted); font-size: 13px; margin: 12px 0 0; }

/* Inner pages ----------------------------------------------------------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 72px) 0 64px; background: var(--bg-alt); isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.page-hero--image { padding-top: calc(var(--header-h) + 160px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 100%); }
.page-hero--center { text-align: center; min-height: 70vh; display: grid; place-items: center; }
.page-hero--center .eyebrow { justify-content: center; }
.page-title { font-size: calc(clamp(30px, 5vw, 54px) * var(--h-scale, 1)); text-transform: var(--heading-transform); letter-spacing: .05em; margin: 0; }
.page-hero__sub { color: var(--accent-2); margin: 16px 0 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lead { font-size: 20px; color: var(--accent-2); font-weight: 400; }
.entry-content { font-size: 17px; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; color: var(--accent-2); }
.entry-content a { color: var(--accent-2); border-bottom: 1px solid var(--line); }
.entry-content img { margin: 1.5em 0; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { border: 1px solid var(--line-soft); padding: 10px; }
.feature-img { margin: 0 0 32px; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; padding-top: 56px; padding-bottom: 96px; }
.detail__h { font-size: 22px; text-transform: var(--heading-transform); letter-spacing: .08em; margin: 48px 0 20px; }
.facts-card { border: 1px solid var(--line); padding: 28px; margin-bottom: 24px; }
.facts-card__title { font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.facts-card dl { margin: 0 0 20px; }
.facts-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.facts-card dt { color: var(--muted); }
.facts-card dd { margin: 0; text-align: right; }
.sticky-form { position: sticky; top: calc(var(--header-h) + 24px); }
.sticky-form .lead-form { padding: 28px; }
.sticky-form .lead-form__grid { grid-template-columns: 1fr; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-grid--wide { margin-top: 40px; }
.gallery-grid__item { display: block; aspect-ratio: 4/3; overflow: hidden; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery-grid__item:hover img { transform: scale(1.05); opacity: .9; }
.back-link { margin-top: 48px; }

.profile { display: grid; grid-template-columns: 400px 1fr; gap: 64px; padding-top: calc(var(--header-h) + 64px); padding-bottom: 96px; align-items: start; }
.profile__photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border: 1px solid var(--line); }
.profile .hero__actions { margin-top: 32px; }

.pagination { margin-top: 56px; text-align: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; margin: 0 3px; border: 1px solid var(--line-soft); }
.pagination .page-numbers.current { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.pagination .screen-reader-text { position: absolute; left: -9999px; }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: color-mix(in srgb, var(--bg) 80%, #000); border-top: 1px solid var(--line); padding: 80px 0 0; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; }
.site-footer__brand p { color: var(--muted); margin-top: 20px; max-width: 380px; }
.brand--footer .brand__emblem { height: 56px; }
.site-footer__title { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.site-footer__list, .site-footer .nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer .nav__list a { font-size: 13px; padding: 0; }
.site-footer .nav__list a::after { display: none; }
.site-footer__list li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__list .icon { color: var(--accent); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 19px; color: var(--accent-2); font-size: 12px; font-weight: 600; }
.socials a:hover { background: var(--accent); color: var(--bg); }
.site-footer__bottom { margin-top: 64px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line-soft); }
.site-footer__copy { color: var(--muted); font-size: 13px; margin: 0; }

/* Floating contact ------------------------------------------------------ */
.float-contact { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; gap: 12px; }
.float-contact__btn { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.35); font-weight: 700; font-size: 13px; }
.float-contact__btn--zalo { background: #0068ff; color: #fff; }
.float-contact__btn--zalo:hover { color: #fff; }
.float-contact__btn--call { background: var(--gold-grad); color: #1b160a; animation: pulse 2.4s infinite; }
.float-contact__btn--call .icon { width: 24px; height: 24px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70% { box-shadow: 0 0 0 16px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* Lightbox -------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4, 12, 9, .94); display: grid; place-items: center; padding: 56px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 44px; line-height: 1; padding: 12px; }
.lightbox__close { top: 8px; right: 8px; }
.lightbox__close .icon { width: 32px; height: 32px; }
.lightbox__prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 4px; top: 50%; transform: translateY(-50%); }

/* Reveal animation ------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.float-contact__btn--call { animation: none; }
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
	.vshow__main { grid-template-columns: 1fr; }
	.vshow__list { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 0 0 8px; scroll-snap-type: x mandatory; }
	.vshow__item { flex: 0 0 240px; scroll-snap-align: start; }
	.vshow__item a { grid-template-columns: 1fr; }
	.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.detail { grid-template-columns: 1fr; }
	.sticky-form { position: static; }
}
@media (max-width: 960px) {
	.hero__inner, .about__grid, .contact__grid, .cert, .profile { grid-template-columns: 1fr; gap: 48px; }
	.hero__visual { order: -1; }
	.hero__emblem { width: 180px; }
	.hero__portrait { width: min(320px, 80%); }
	.project-grid, .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
	.about__media { max-width: 440px; }
	.profile__photo { max-width: 400px; }
}
@media (max-width: 680px) {
	:root { --header-h: 64px; }
	.container { padding: 0 16px; }
	.section { padding: 80px 0; }
	.section-head { margin-bottom: 40px; }
	.brand__emblem { height: 38px; }
	.brand__word { height: 18px; }
	.hero { padding-top: calc(var(--header-h) + 32px); }
	.hero__actions .btn { flex: 1 1 100%; }
	.highlights { grid-template-columns: 1fr; margin-top: 48px; }
	.highlights li, .highlights li + li { padding: 22px 0; border-left: 0; }
	.highlights li + li { border-top: 1px solid var(--line-soft); }
	.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.team-card--featured { grid-column: 1 / -1; grid-template-columns: 1fr; }
	.team-card__body { padding: 14px; }
	.team-card__name { font-size: 15px; }
	.team-card__role { font-size: 13px; }
	.team-card__links a { width: 32px; height: 32px; }
	.project-grid { grid-template-columns: 1fr; }
	.vshow__filters { margin-top: -16px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
	.chip { flex: none; }
	.vshow__item { flex-basis: 64%; }
	.vshow__info { padding: 16px; }
	.vshow__title { font-size: 18px; }
	.vshow__nav { width: 36px; height: 52px; font-size: 28px; top: calc(28vw - 26px); }
	.vshow__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
	.activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
	.activity-card__title { font-size: 15.5px; }
	.activity-card__excerpt { display: none; }
	.activity-card__view { display: none; }
	.activity-modal { padding: 0; place-items: end stretch; }
	.activity-modal__panel { max-height: 92vh; border-width: 1px 0 0; }
	.activity-modal__body { padding: 22px 18px 32px; }
	.lead-form { padding: 24px 18px; }
	.lead-form__grid { grid-template-columns: 1fr; }
	.contact__list div { grid-template-columns: 96px 1fr; gap: 12px; }
	.contact__list dd { font-size: 16px; }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr; gap: 40px; }
	.float-contact { right: 14px; bottom: 14px; }
	.float-contact__btn { width: 50px; height: 50px; }
	.about__frame::before { inset: -12px 12px 12px -12px; }
	.about__media { padding-left: 12px; }
}
.vshow__demo { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--accent-2); background: var(--card); font-size: 15px; }

/* ===== v1.2: tùy chỉnh bố cục, ảnh nền mục, breadcrumb ===== */
.field input, .field select, .field textarea { border-radius: min(var(--radius), 12px); }
.team-grid[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-grid[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-grid[data-cols="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.project-grid[data-cols="2"], .activity-grid[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-grid[data-cols="4"], .activity-grid[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) {
	.team-grid[data-cols="5"], .team-grid[data-cols="4"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.project-grid[data-cols="4"], .activity-grid[data-cols="4"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.project-grid[data-cols], .activity-grid[data-cols] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.team-grid[data-cols] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.project-grid[data-cols] { grid-template-columns: 1fr; }
	.activity-grid[data-cols] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.section.has-bg { background-image: linear-gradient(color-mix(in srgb, var(--bg) 86%, transparent), color-mix(in srgb, var(--bg) 92%, transparent)), var(--section-bg); background-size: cover; background-position: center; }
.breadcrumb { margin: 0 0 18px; font-size: 13px; letter-spacing: .06em; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--text); }
address { font-style: normal; }
.lead-form__note { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* ===== v1.5: Đội ngũ – thẻ đầy đủ + hàng avatar trượt ngang ===== */
.team-card__phone { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 15px; font-weight: 500; color: var(--accent-2); letter-spacing: .02em; }
.team-card__phone .icon { width: 16px; height: 16px; }
.team-strip { margin-top: 48px; }
.team-strip__label { text-align: center; font-family: var(--font-heading); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 20px; }
.team-strip__label span { color: var(--muted); letter-spacing: 0; }
.team-strip__wrap { position: relative; }
.team-strip__list { display: flex; gap: 22px; margin: 0; padding: 4px 4px 14px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--line) transparent; justify-content: safe center; }
.mini-member { flex: none; width: 104px; scroll-snap-align: start; text-align: center; }
.mini-member a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text); }
.mini-member__photo { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); border: 2px solid var(--line); transition: border-color .25s, transform .25s; color: var(--accent); font-family: var(--font-heading); font-size: 28px; }
.mini-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.mini-member a:hover .mini-member__photo { border-color: var(--accent); transform: translateY(-3px); }
.mini-member__name { font-size: 14px; line-height: 1.3; }
.mini-member__role { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.team-strip__nav { position: absolute; top: 34px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--accent-2); font-size: 22px; line-height: 1; cursor: pointer; display: none; }
.team-strip__nav--prev { left: -8px; }
.team-strip__nav--next { right: -8px; }
.team-strip.is-scrollable .team-strip__nav { display: grid; place-items: center; }
@media (max-width: 680px) {
	.mini-member { width: 82px; }
	.mini-member__photo { width: 66px; height: 66px; font-size: 22px; }
	.team-strip__list { gap: 14px; justify-content: flex-start; }
	.team-strip.is-scrollable .team-strip__nav { display: none; }
	.team-card__phone { font-size: 13px; }
}

/* ===== v1.6: Top 1-2-3 + hàng avatar chạy ngang ===== */
.team-podium { display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: 28px; align-items: end; max-width: 1040px; margin: 0 auto; }
.team-podium .team-card { position: relative; }
.team-podium .team-card--rank-1 { grid-column: 2; grid-row: 1; transform: translateY(-18px); border-color: var(--accent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--accent) 55%, transparent); }
.team-podium .team-card--rank-2 { grid-column: 1; grid-row: 1; }
.team-podium .team-card--rank-3 { grid-column: 3; grid-row: 1; }
.team-podium .team-card--rank-1:hover { transform: translateY(-22px); }
.team-podium .team-card--rank-1 .team-card__name { font-size: 21px; }
.team-card__rank { position: absolute; z-index: 2; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; font-family: var(--font-heading); font-weight: 600; font-size: 19px; line-height: 1; color: #1b160a; background: linear-gradient(135deg, #e5e7eb, #9ca3af); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.team-card__rank small { font-size: 8.5px; letter-spacing: .14em; margin-bottom: 1px; }
.team-card--rank-1 .team-card__rank { width: 58px; height: 58px; font-size: 24px; background: var(--gold-grad); }
.team-card--rank-3 .team-card__rank { background: linear-gradient(135deg, #f3c19a, #b0703f); }
.team-podium .team-card__photo { aspect-ratio: 4/5; }
.team-podium .team-card--rank-1 .team-card__photo { aspect-ratio: 4/4.6; }

.team-strip__list.is-marquee { justify-content: flex-start; scroll-snap-type: none; scroll-behavior: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.team-strip__list.is-marquee::-webkit-scrollbar { display: none; }

@media (max-width: 760px) {
	.team-podium { grid-template-columns: 1fr 1fr; gap: 14px; max-width: 520px; }
	.team-podium .team-card--rank-1 { grid-column: 1 / -1; grid-row: 1; transform: none; display: grid; grid-template-columns: 44% 1fr; align-items: stretch; }
	.team-podium .team-card--rank-1:hover { transform: none; }
	.team-podium .team-card--rank-1 .team-card__photo { aspect-ratio: auto; height: 100%; min-height: 200px; }
	.team-podium .team-card--rank-1 .team-card__body { display: flex; flex-direction: column; justify-content: center; padding: 18px 16px; }
	.team-podium .team-card--rank-1 .team-card__name { font-size: 19px; }
	.team-podium .team-card--rank-2 { grid-column: 1; grid-row: 2; }
	.team-podium .team-card--rank-3 { grid-column: 2; grid-row: 2; }
	.team-card__rank { width: 40px; height: 40px; font-size: 16px; top: 8px; left: 8px; }
	.team-card--rank-1 .team-card__rank { width: 48px; height: 48px; font-size: 20px; }
}
.team-podium { align-items: stretch; }
.team-podium .team-card { display: flex; flex-direction: column; }
.team-podium .team-card__body { flex: 1; }
.team-podium .team-card--rank-2, .team-podium .team-card--rank-3 { margin-top: 26px; }
@media (max-width: 760px) {
	.team-podium .team-card--rank-1 { display: grid; }
	.team-podium .team-card--rank-2, .team-podium .team-card--rank-3 { margin-top: 0; }
}

/* ===== v1.6.1: Top 1-2-3 trên điện thoại – 3 người cùng hàng, avatar tròn vừa phải ===== */
@media (max-width: 760px) {
	.team-podium {
		grid-template-columns: 1fr 1.14fr 1fr;
		gap: clamp(6px, 2.4vw, 14px);
		align-items: end;
		max-width: 560px;
		margin: 0 auto;
	}
	.team-podium .team-card,
	.team-podium .team-card--rank-1 {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		grid-row: 1;
		margin-top: 0;
		padding: clamp(14px, 4vw, 20px) clamp(4px, 1.6vw, 10px) clamp(12px, 3.4vw, 16px);
		transform: none;
		box-shadow: none;
		border-radius: 14px;
		background: var(--card);
	}
	.team-podium .team-card--rank-1 { grid-column: 2; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--card)); padding-top: clamp(18px, 5vw, 26px); padding-bottom: clamp(16px, 4.4vw, 22px); }
	.team-podium .team-card--rank-2 { grid-column: 1; }
	.team-podium .team-card--rank-3 { grid-column: 3; }
	.team-podium .team-card:hover, .team-podium .team-card--rank-1:hover { transform: none; }

	.team-podium .team-card__photo,
	.team-podium .team-card--rank-1 .team-card__photo {
		width: clamp(58px, 19vw, 86px);
		height: clamp(58px, 19vw, 86px);
		min-height: 0;
		aspect-ratio: 1;
		border-radius: 50%;
		border: 2px solid var(--line);
		flex: none;
	}
	.team-podium .team-card--rank-1 .team-card__photo {
		width: clamp(70px, 23vw, 104px);
		height: clamp(70px, 23vw, 104px);
		border-color: var(--accent);
		box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
	}
	.team-podium .team-card__initial { font-size: clamp(22px, 7vw, 34px); }

	.team-podium .team-card__body,
	.team-podium .team-card--rank-1 .team-card__body {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		flex: 1;
		width: 100%;
		padding: 10px 0 0;
	}
	.team-podium .team-card__name,
	.team-podium .team-card--rank-1 .team-card__name {
		font-size: clamp(12.5px, 3.5vw, 16px);
		line-height: 1.25;
		letter-spacing: 0;
		margin: 0 0 3px;
		word-break: break-word;
	}
	.team-podium .team-card--rank-1 .team-card__name { font-size: clamp(13.5px, 3.9vw, 17px); }
	.team-podium .team-card__role {
		font-size: clamp(10.5px, 2.9vw, 12.5px);
		line-height: 1.3;
		margin: 0 0 8px;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.team-podium .team-card__phone { display: none; }
	.team-podium .team-card__links { margin-top: auto; gap: clamp(6px, 2vw, 10px); justify-content: center; }
	.team-podium .team-card__links a { display: none; }
	.team-podium .team-card__links a[href^="tel:"],
	.team-podium .team-card__links a[href*="zalo.me"] {
		display: grid;
		width: clamp(30px, 9vw, 38px);
		height: clamp(30px, 9vw, 38px);
	}
	.team-podium .team-card__links a[href^="tel:"] { background: var(--gold-grad); color: #1b160a; border-color: transparent; }
	.team-podium .team-card__links a[href*="zalo.me"] { background: #0068ff; color: #fff; border-color: transparent; }
	.team-podium .team-card__links .icon { width: 16px; height: 16px; }

	.team-podium .team-card__rank,
	.team-podium .team-card--rank-1 .team-card__rank {
		top: auto;
		left: 50%;
		transform: translate(-50%, -50%);
		width: auto;
		height: auto;
		flex-direction: row;
		gap: 3px;
		padding: 2px 8px;
		border-radius: 999px;
		font-size: 11px;
		position: relative;
		margin: 0 0 -10px;
		order: -1;
		align-self: center;
		left: 0;
		transform: none;
		z-index: 2;
	}
	.team-podium .team-card__rank small { font-size: 8px; margin: 0; }
	.team-podium .team-card--rank-1 .team-card__rank { font-size: 12px; padding: 3px 10px; }
	.team-podium .team-card .team-card__rank { margin-bottom: 8px; }
}
@media (max-width: 340px) {
	.team-podium .team-card__role { display: none; }
}
@media (max-width: 760px) {
	.team-podium { align-items: stretch; }
	.team-podium .team-card--rank-2, .team-podium .team-card--rank-3 { margin-top: clamp(10px, 3.5vw, 18px); }
}

/* Mục Liên hệ chỉ còn form Đăng ký tư vấn */
.contact__solo { max-width: 680px; }
.contact__solo .lead-form__title { text-align: center; font-size: calc(clamp(22px, 3vw, 30px) * var(--h-scale, 1)); }
@media (max-width: 680px) { .contact__solo { padding-left: 16px; padding-right: 16px; } }

/* ===== v1.7: Đăng nhập quản lý trên web ===== */
.header-login { display: flex; align-items: center; margin-left: 12px; }
.site-header__inner .nav + .header-login { order: 0; }
.login-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px 0 10px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font-family: var(--font-heading); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.login-btn:hover { border-color: var(--accent); color: var(--accent-2); }
.login-btn .icon { width: 18px; height: 18px; color: var(--accent-2); }
.login-btn__ava { width: 24px; height: 24px; border-radius: 50%; }
.login-btn.is-in { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.site-footer__login { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.site-footer__login:hover { color: var(--accent-2); }
.site-footer__login .icon { width: 15px; height: 15px; }
.login-modal__head { text-align: center; }
.login-modal__head img { margin: 0 auto 10px; width: 56px; height: auto; }
.login-modal .booking-modal__title { margin-bottom: 6px; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 44px !important; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.pw-toggle:hover { color: var(--accent-2); }
.remember { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.remember input { width: 18px; height: 18px; accent-color: var(--accent); }
.login-modal__err { min-height: 1.2em; margin: 0; color: #ff9b8f; font-size: 14px; }
.booking-modal__note a { color: var(--accent-2); }
@media (max-width: 960px) {
	.header-login { margin-left: auto; margin-right: 8px; }
	.login-btn { height: 44px; padding: 0 10px; }
}
@media (max-width: 480px) {
	.login-btn__txt { display: none; }
	.login-btn { width: 44px; justify-content: center; padding: 0; }
}
/* Menu không xuống dòng khi có nút Đăng nhập */
.nav__list a { white-space: nowrap; }
@media (min-width: 961px) {
	.nav { gap: clamp(16px, 2vw, 32px); }
	.nav__list { gap: clamp(14px, 1.7vw, 30px); }
	.nav__list a { font-size: clamp(11.5px, .95vw, 13px); letter-spacing: .12em; }
	.nav__cta { white-space: nowrap; }
}
@media (min-width: 961px) and (max-width: 1360px) {
	.header-login .login-btn__txt { display: none; }
	.header-login .login-btn { width: 38px; padding: 0; justify-content: center; }
}

/* Đăng ký tài khoản */
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 4px 36px 18px 0; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); }
.auth-tabs button { border: 0; background: none; color: var(--muted); padding: 9px; font: inherit; font-family: var(--font-heading); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; border-radius: var(--radius); }
.auth-tabs button.is-on { background: var(--gold-grad); color: #1b160a; font-weight: 600; }
.signup-desc { margin: 0 0 4px !important; font-size: 14px !important; }
.signup-done { text-align: center; display: grid; gap: 14px; justify-items: center; }
.signup-done[hidden] { display: none; }
.signup-ok { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #1b160a; font-size: 30px; font-weight: 700; }
.signup-done p { margin: 0; color: var(--text); }
[hidden] { display: none !important; }

/* ===== v1.9: Chat tư vấn trực tuyến ===== */
.float-contact__btn--chat { position: relative; border: 0; cursor: pointer; background: var(--text); color: var(--bg); padding: 0; }
.float-contact__btn--chat .icon { width: 25px; height: 25px; }
.float-contact__btn--chat.has-new { animation: lchatShake 1.2s ease 3; }
.lchat-badge { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #e11d48; color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.lchat-dot { position: absolute; bottom: 2px; right: 2px; width: 13px; height: 13px; border-radius: 50%; background: #22c55e; border: 2px solid var(--bg); }
.float-contact__tip { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.25); pointer-events: none; opacity: 0; transition: opacity .2s; }
.float-contact__btn--chat:hover .float-contact__tip, .float-contact__btn--chat:focus-visible .float-contact__tip { opacity: 1; }
@keyframes lchatShake { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(4deg); } }
.lchat-open .float-contact__btn--zalo, .lchat-open .float-contact__btn--call { opacity: 0; pointer-events: none; }

.lchat { position: fixed; right: 20px; bottom: 92px; z-index: 60; width: 370px; height: min(580px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.45); overflow: hidden; opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity .2s, transform .2s; }
.lchat[hidden] { display: none; }
.lchat.is-in { opacity: 1; transform: none; }
.lchat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--gold-grad); color: #1b160a; }
.lchat__ava { position: relative; width: 42px; height: 42px; border-radius: 50%; background: #0b2a20; display: grid; place-items: center; flex: none; }
.lchat__ava img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.lchat__ava img[src*="emblem"] { width: 30px; height: auto; border-radius: 0; object-fit: contain; }
.lchat.is-online .lchat__ava::after { content: ''; position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid #e8cf8a; }
.lchat__who { flex: 1; min-width: 0; line-height: 1.25; }
.lchat__who b { display: block; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lchat__who small { font-size: 12.5px; opacity: .8; }
.lchat__close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.12); color: inherit; display: grid; place-items: center; cursor: pointer; flex: none; }
.lchat__close .icon { width: 18px; height: 18px; }
.lchat__body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.lchat__msgs { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.lchat__m { max-width: 82%; padding: 9px 12px 6px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; word-wrap: break-word; }
.lchat__m p { margin: 0; }
.lchat__m a { color: inherit; text-decoration: underline; }
.lchat__m img { display: block; max-width: 100%; border-radius: 10px; margin-bottom: 4px; }
.lchat__m time { display: block; font-size: 10.5px; opacity: .6; text-align: right; margin-top: 2px; }
.lchat__m--them { align-self: flex-start; background: var(--card); border: 1px solid var(--line-soft, var(--line)); border-bottom-left-radius: 4px; }
.lchat__m--me { align-self: flex-end; background: var(--gold-grad); color: #1b160a; border-bottom-right-radius: 4px; }
.lchat__m--greet time { display: none; }
.lchat__m.is-sending { opacity: .6; }
.lchat__m.is-error { outline: 2px solid #e11d48; }
.lchat__name { display: block; font-size: 11.5px; color: var(--accent-2); margin-bottom: 2px; }
.lchat__del { font-style: italic; opacity: .6; }
.lchat__file { display: inline-block; font-weight: 600; }
.lchat__sys { align-self: center; font-size: 12px; color: var(--muted); background: var(--card); padding: 4px 12px; border-radius: 999px; text-align: center; }
.lchat__typing { display: flex; gap: 4px; padding: 0 18px 8px; }
.lchat__typing[hidden] { display: none; }
.lchat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: lchatDot 1.2s infinite; }
.lchat__typing i:nth-child(2) { animation-delay: .15s; } .lchat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes lchatDot { 0%,60%,100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.lchat__start { padding: 12px 14px 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--bg-alt, var(--bg)); }
.lchat__start[hidden], .lchat__composer[hidden], .lchat__ended[hidden], .lchat__err[hidden] { display: none; }
.lchat__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lchat__start input, .lchat__start textarea, .lchat__composer textarea { width: 100%; min-width: 0; font: inherit; font-size: 15px; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; resize: none; }
.lchat__start input:focus, .lchat__start textarea:focus, .lchat__composer textarea:focus { outline: none; border-color: var(--accent); }
.lchat__start .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lchat__err { margin: 0; color: #f87171; font-size: 13px; }
.lchat__note { color: var(--muted); font-size: 11.5px; text-align: center; }
.lchat__ended { padding: 12px 14px 14px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; color: var(--muted); }
.lchat__ended p { margin: 0 0 8px; }
.lchat__composer { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--bg-alt, var(--bg)); }
.lchat__composer textarea { flex: 1; max-height: 110px; border-radius: 20px; padding: 10px 14px; }
.lchat__composer button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold-grad); color: #1b160a; display: grid; place-items: center; cursor: pointer; flex: none; }
.lchat__composer button .icon { width: 20px; height: 20px; }
@media (max-width: 640px) {
	.lchat { inset: 0; width: auto; height: 100%; height: 100dvh; border-radius: 0; border: 0; transform: translateY(24px); }
	.lchat__head { padding-top: max(14px, env(safe-area-inset-top)); }
	.lchat__composer, .lchat__start { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
	.lchat-open body { overflow: hidden; }
	.lchat-open .float-contact { display: none; }
	.float-contact__tip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lchat, .float-contact__btn--chat.has-new { transition: none; animation: none; } }

/* ===== 1.9.2: Nút Đặt lịch tư vấn ở ảnh bìa – vệt sáng lướt qua lại ===== */
.btn--shine { position: relative; overflow: hidden; isolation: isolate; box-shadow: 0 0 0 0 rgba(233, 205, 128, .5); animation: ndaGlow 3s ease-in-out infinite; }
.btn--shine::after {
	content: ''; position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%; z-index: -1; pointer-events: none;
	background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .15) 30%, rgba(255, 255, 255, .75) 50%, rgba(255, 255, 255, .15) 70%, transparent 100%);
	transform: translateX(-160%) skewX(-20deg);
	animation: ndaShine 3s ease-in-out infinite;
}
.btn--shine:hover::after, .btn--shine:focus-visible::after { animation-duration: 1.2s; }
@keyframes ndaShine {
	0% { transform: translateX(-160%) skewX(-20deg); }
	45% { transform: translateX(330%) skewX(-20deg); }
	50% { transform: translateX(330%) skewX(-20deg); }
	95% { transform: translateX(-160%) skewX(-20deg); }
	100% { transform: translateX(-160%) skewX(-20deg); }
}
@keyframes ndaGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(233, 205, 128, 0); } 50% { box-shadow: 0 0 22px 2px rgba(233, 205, 128, .35); } }
@media (prefers-reduced-motion: reduce) { .btn--shine, .btn--shine::after { animation: none; } }

/* ===== 1.9.3: Form "Đăng ký tư vấn" (mục Liên hệ) gọn hơn ===== */
.section:has(> .contact__solo) { padding-top: 64px; padding-bottom: 72px; }
.contact__solo { max-width: 540px; }
.contact__solo .lead-form { padding: 26px 30px 28px; }
.contact__solo .lead-form__title { font-size: calc(clamp(19px, 2vw, 24px) * var(--h-scale, 1)); margin-bottom: 16px; letter-spacing: .06em; }
.contact__solo .lead-form__grid { gap: 12px; margin-bottom: 14px; }
.contact__solo .field span { font-size: 11px; letter-spacing: .12em; margin-bottom: 5px; }
.contact__solo .field input, .contact__solo .field select, .contact__solo .field textarea { padding: 10px 12px; font-size: 15px; }
.contact__solo .field textarea { min-height: 72px; height: 72px; }
.contact__solo .btn--block { padding-top: 13px; padding-bottom: 13px; }
.contact__solo .lead-form__note, .contact__solo .lead-form__warn { font-size: 12.5px; }
@media (max-width: 680px) {
	.section:has(> .contact__solo) { padding-top: 44px; padding-bottom: 52px; }
	.contact__solo .lead-form { padding: 20px 16px 22px; }
	.contact__solo .lead-form__title { font-size: 19px; margin-bottom: 12px; }
	.contact__solo .lead-form__grid { grid-template-columns: 1fr 1fr; gap: 10px 8px; margin-bottom: 12px; }
	.contact__solo .field span { font-size: 10.5px; letter-spacing: .1em; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.contact__solo .btn--block { padding-top: 12px; padding-bottom: 12px; font-size: 12px; }
	.contact__solo .field input, .contact__solo .field select, .contact__solo .field textarea { padding: 9px 12px; font-size: 16px; }
	.contact__solo .field textarea { min-height: 58px; height: 58px; }
}

/* ===== Trợ lý SEO: ảnh xen giữa bài viết ===== */
.entry-figure { margin: 1.8em 0; }
.entry-figure a { display: block; overflow: hidden; border-radius: min(var(--radius), 10px); }
.entry-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin: 0; transition: transform .5s; }
.entry-figure a:hover img { transform: scale(1.02); }
.entry-figure figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; font-style: italic; }
.entry-content h2 { font-size: calc(clamp(20px, 2.4vw, 26px) * var(--h-scale, 1)); }
.entry-content h3 { font-size: calc(clamp(18px, 2vw, 21px) * var(--h-scale, 1)); }
.entry-content li { margin: .35em 0; }
.entry-content strong { color: var(--text); }

/* ===== 1.9.4: Ổn định khi cuộn & tối ưu mọi cỡ màn hình ===== */
/* Safari iPhone: overflow-x:hidden trên body làm thanh tiêu đề cố định bị trượt/giật khi vuốt.
   Dùng "clip" (không tạo vùng cuộn riêng) – trình duyệt cũ vẫn dùng hidden như trước. */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html { overscroll-behavior-y: none; }
/* (2.3.1) Không dùng transform trên thanh tiêu đề: transform/backdrop-filter khiến menu điện thoại (position: fixed bên trong) bị nhốt trong thanh tiêu đề → không hiện danh mục. */
.site-header { padding-top: env(safe-area-inset-top); height: calc(var(--header-h) + env(safe-area-inset-top)); }
/* Chữ & ảnh không bao giờ tràn ra ngoài khung */
h1, h2, h3, h4, .hero__title, .section-title, .page-title { overflow-wrap: break-word; hyphens: manual; }
.entry-content, .lead, .project-card__title, .activity-card__title { overflow-wrap: anywhere; }
iframe, video, embed { max-width: 100%; }
@media (max-width: 680px) {
	.team-card__rank small { font-size: 10px; }
	.team-card__role { font-size: 12px; }
	.contact__solo .field span, .field span { font-size: 11.5px; }
	/* Vùng chạm tối thiểu ~40px cho các link nhỏ */
	.site-footer .nav__list a, .site-footer__list a { display: inline-block; padding: 8px 0; }
	.site-footer__list, .site-footer .nav__list { gap: 2px; }
	.site-footer__login { display: inline-flex; align-items: center; min-height: 40px; }
	.link-arrow { min-height: 40px; }
	.breadcrumb a { display: inline-block; padding: 8px 0; }
	.project-card__title a { display: inline-block; padding: 4px 0; }
}
/* Màn hình rất nhỏ (≤360px) */
@media (max-width: 360px) {
	.container { padding: 0 16px; }
	.hero__title { font-size: 26px; }
	.btn { padding: 13px 18px; letter-spacing: .14em; }
	.hero__actions { gap: 10px; }
}
/* Màn hình rất lớn: giữ chữ dễ đọc, không giãn quá */
@media (min-width: 1800px) { :root { --container: 1320px; } }
@media (max-width: 680px) {
	.team-podium .team-card__rank small { font-size: 9.5px; }
	.team-podium .team-card__role { font-size: clamp(11px, 2.9vw, 12.5px); }
	.team-podium .team-card__name a { display: inline-block; padding: 4px 0; }
}

/* v1.9.5 – rà soát cỡ chữ & vùng chạm */
.team-card__rank small, .team-podium .team-card__rank small { font-size: 10px; letter-spacing: .1em; }
.team-card__name a { display: inline-block; padding: 4px 0; min-height: 30px; }

/* v1.9.6 – Sửa menu điện thoại không hiện danh mục */
@media (max-width: 960px) {
	.nav { top: calc(var(--header-h) + env(safe-area-inset-top)); height: auto; bottom: 0; }
	body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; box-shadow: 0 1px 0 var(--line); }
	body.nav-open .nav { visibility: visible; }
	.nav { visibility: hidden; transition: transform .35s ease, visibility 0s linear .35s; }
	body.nav-open .nav { transition: transform .35s ease, visibility 0s; }
}

/* v1.9.7 – Tự căn theo thiết bị */
.dev-xs .container { padding-left: 14px; padding-right: 14px; }
.dev-xs .hero__title { font-size: clamp(26px, 8.4vw, 34px); }
.dev-inapp .float-contact { bottom: calc(18px + env(safe-area-inset-bottom)); }

/* ===== v1.9.8 – Chân trang: danh sách liên kết thẳng hàng, gọn trên điện thoại ===== */
.site-footer .nav__list a, .site-footer__list a { border-bottom: 0 !important; }
@media (max-width: 960px) {
	.site-footer .nav__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
	.site-footer .nav__list li { border-bottom: 1px solid var(--line-soft); }
	.site-footer .nav__list a { display: flex; align-items: center; width: 100%; min-height: 46px; padding: 0; font-size: 13px; letter-spacing: .14em; }
	.site-footer__brand .brand { max-width: 100%; }
}

/* ===== v1.9.8 – Tin tức (kiểu báo điện tử) ===== */
.news-cat { display: inline-block; font-family: var(--font-heading); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.news-cat--sm { font-size: 10.5px; margin-bottom: 4px; }
.news-meta-sm { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.news-meta-sm span + span::before, .news-meta-sm time + span::before { content: "·"; margin-right: 12px; }
.news-meta-sm__cat { color: var(--accent); font-weight: 600; }
.news-home { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
.news-lead { display: grid; gap: 16px; }
.news-lead__img { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16/9; background: color-mix(in srgb, var(--text) 6%, var(--bg)); }
.news-lead__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-lead:hover .news-lead__img img { transform: scale(1.04); }
.news-lead__title { font-size: clamp(21px, 2.3vw, 28px); line-height: 1.3; margin: 0; letter-spacing: 0; text-transform: none; }
.news-lead__title a:hover, .news-row__title a:hover, .news-card__title a:hover { color: var(--accent-2); }
.news-lead__excerpt { color: var(--muted); margin: 8px 0 0; }
.news-lead--page { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 32px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-soft); }
.news-list { display: grid; gap: 0; }
.news-row { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.news-row:first-child { padding-top: 0; }
.news-row__img { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: color-mix(in srgb, var(--text) 6%, var(--bg)); }
.news-row__img img { width: 100%; height: 100%; object-fit: cover; }
.news-row__title { font-size: 15.5px; line-height: 1.4; margin: 0 0 4px; letter-spacing: 0; text-transform: none; }
.news-row__date { font-size: 12px; color: var(--muted); }
.news-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; }
.news-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.news-chips a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--text); }
.news-chips a:hover, .news-chips a.is-active { background: var(--accent); border-color: var(--accent); color: #1b160a; }
.news-chips--tabs { margin-bottom: 32px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
.news-chips--tabs a { white-space: nowrap; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.news-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-card { display: grid; gap: 14px; align-content: start; }
.news-card__img { display: block; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius); background: color-mix(in srgb, var(--text) 6%, var(--bg)); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card__img img { transform: scale(1.05); }
.news-card__ph { display: grid; place-items: center; height: 100%; color: var(--accent); }
.news-card__title { font-size: 17px; line-height: 1.4; margin: 0; letter-spacing: 0; text-transform: none; }
.news-card__excerpt { color: var(--muted); font-size: 14px; margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Bài viết */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress i { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width .1s linear; }
.news-article { padding: calc(var(--header-h) + 32px) 0 72px; }
.news-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.news-main { min-width: 0; max-width: 760px; }
.news-main .breadcrumb { margin-bottom: 18px; }
.news-title { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.25; letter-spacing: 0; text-transform: none; margin: 0 0 16px; }
.news-byline { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.news-byline > * { display: inline-flex; align-items: center; gap: 6px; }
.news-byline .icon { width: 16px; height: 16px; color: var(--accent); }
.news-byline__who { color: var(--text); font-weight: 500; }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 24px; }
.share-bar__label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-right: 4px; }
.share-bar__label .icon { width: 16px; height: 16px; }
.share-bar__btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font: 600 11px/1 var(--font-heading); transition: background .2s, color .2s, border-color .2s; }
.share-bar__btn .icon { width: 18px; height: 18px; }
.share-bar__btn:hover { background: var(--accent); border-color: var(--accent); color: #1b160a; }
.share-bar__btn--facebook:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-bar__btn--zalo { color: #0068ff; border-color: color-mix(in srgb, #0068ff 50%, var(--line)); }
.share-bar__btn--zalo:hover { background: #0068ff; border-color: #0068ff; color: #fff; }
.share-bar__btn.is-done { background: #16a34a; border-color: #16a34a; color: #fff; }
.news-sapo { font-size: 18.5px; line-height: 1.65; font-weight: 600; color: var(--text); margin: 0 0 24px; }
.news-figure { margin: 0 0 28px; }
.news-figure img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.news-figure figcaption, .news-content figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; font-style: italic; }
.news-toc { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 28px; background: color-mix(in srgb, var(--accent) 5%, transparent); }
.news-toc summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); display: flex; align-items: center; gap: 8px; list-style: none; min-height: 32px; }
.news-toc summary::-webkit-details-marker { display: none; }
.news-toc ol { margin: 10px 0 0; padding-left: 0; list-style: none; display: grid; gap: 6px; counter-reset: toc; }
.news-toc li { font-size: 15px; display: flex; gap: 6px; }
.news-toc li:not(.news-toc__l3) { counter-increment: toc; }
.news-toc li:not(.news-toc__l3)::before { content: counter(toc) "."; color: var(--accent-2); min-width: 18px; font-weight: 600; }
.news-toc .news-toc__l3 { margin-left: 24px; font-size: 14px; }
.news-toc .news-toc__l3::before { content: "–"; color: var(--muted); }
.news-toc a { color: var(--text); } .news-toc a:hover { color: var(--accent-2); }
.news-content { font-size: 17.5px; line-height: 1.8; }
.news-content h2, .news-content h3 { scroll-margin-top: calc(var(--header-h) + 20px); text-transform: none; letter-spacing: 0; }
.news-content h2 { font-size: 24px; margin: 1.6em 0 .6em; }
.news-content h3 { font-size: 20px; margin: 1.4em 0 .5em; }
.news-content blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); font-style: italic; color: var(--text); }
.news-content figure { margin: 1.6em 0; } .news-content figure img { width: 100%; height: auto; border-radius: var(--radius); }
.news-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em auto; width: 40%; }
.news-content ol, .news-content ul { padding-left: 1.3em; }
.news-content a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.news-source { font-size: 14px; color: var(--muted); text-align: right; font-style: italic; margin: 24px 0 0; }
.news-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.news-tags a { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); }
.news-tags a:hover { background: var(--accent); color: #1b160a; }
.news-endshare { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.news-cta { margin: 32px 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 7%, var(--bg)); text-align: center; }
.news-cta p { margin: 0 0 16px; font-size: 16px; }
.news-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.news-h { font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.news-related { margin-top: 48px; }
.news-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 36px; }
.news-side__list { list-style: none; counter-reset: n; margin: 0; padding: 0; display: grid; gap: 14px; }
.news-side__list li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; font-size: 14.5px; line-height: 1.45; }
.news-side__list li::before { content: counter(n); grid-row: span 2; font: 600 22px/1 var(--font-heading); color: var(--accent); }
.news-side__list a { color: var(--text); } .news-side__list a:hover { color: var(--accent-2); }
.news-side__list time { font-size: 12px; color: var(--muted); }
@media (max-width: 1024px) {
	.news-wrap { grid-template-columns: 1fr; gap: 40px; }
	.news-main { max-width: none; }
	.news-side { position: static; grid-template-columns: 1fr 1fr; }
	.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	.news-home, .news-lead--page { grid-template-columns: 1fr; }
	.news-grid, .news-grid--2, .news-side { grid-template-columns: 1fr; }
	.news-grid { gap: 28px; }
	.news-article { padding-top: calc(var(--header-h) + 18px); }
	.news-content { font-size: 16.5px; }
	.news-sapo { font-size: 17px; }
	.news-row { grid-template-columns: 104px 1fr; }
	.news-foot { flex-direction: column; align-items: stretch; }
	.news-foot .btn { text-align: center; }
	.share-bar__btn { width: 42px; height: 42px; }
}

/* v1.9.8: vùng chạm tối thiểu cho nhãn chuyên mục & liên kết danh sách tin trên điện thoại */
a.news-cat { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 0; margin-bottom: 2px; }
.news-cat--sm { font-size: 11px; }
@media (max-width: 960px) {
	.news-side__list a, .news-related a:not(.news-card__img), .news-row__title a, .news-card__title a { display: inline-block; padding: 4px 0; }
}
.news-toc a { display: inline-block; padding: 4px 0; }

/* ===================== v2.5.1: Yêu thích · Chia sẻ link · Bình luận */
.news-act { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.news-act__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; transition: border-color .2s, background .2s, color .2s, transform .15s; }
.news-act__btn svg { width: 18px; height: 18px; }
.news-act__btn b { font-weight: 600; color: var(--accent-2); }
.news-act__btn b:empty { display: none; }
.news-act__btn:hover { border-color: var(--accent); color: var(--accent-2); }
.news-act__btn.is-done { border-color: #22c55e; color: #4ade80; }
.news-act__like.is-on { border-color: #e11d48; color: #fb7185; background: color-mix(in srgb, #e11d48 12%, transparent); }
.news-act__like.is-on svg { fill: currentColor; }
.news-act__like.pop svg { animation: nda-pop .4s ease; }
@keyframes nda-pop { 40% { transform: scale(1.35); } }
.news-act--big .news-act__btn { min-height: 46px; padding: 10px 20px; font-size: 15px; }
.news-comments { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-soft, var(--line)); scroll-margin-top: calc(var(--header-h, 70px) + 16px); }
.news-comments .news-h { display: flex; align-items: center; gap: 8px; }
.news-comments .news-h svg { width: 22px; height: 22px; color: var(--accent); }
.news-comments__n { color: var(--muted); font-weight: 400; }
.news-comments__login { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); margin: 0 0 18px; }
.news-comments__login .btn { display: inline-flex; align-items: center; gap: 6px; }
.news-comments__login .btn svg { width: 16px; height: 16px; }
.btn--sm { padding: 9px 16px; font-size: 12px; min-height: 40px; }
.news-comments__new { display: flex; gap: 12px; margin: 0 0 22px; }
.news-comments__new[hidden] { display: none; }
.news-comments__box { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 10px 12px; transition: border-color .2s; }
.news-comments__box:focus-within { border-color: var(--accent); }
.news-comments__box textarea { width: 100%; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 15px; resize: none; outline: none; min-height: 44px; }
.news-comments__bar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.news-comments__bar small { margin-right: auto; color: var(--muted); font-size: 13px; }
.news-comments__bar small button { background: none; border: 0; color: var(--accent-2); cursor: pointer; font: inherit; padding: 6px 2px; }
.news-comments__ava, .cmt__ava { flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 22%, var(--bg)); color: var(--accent-2); font-weight: 600; }
.cmt__ava img, .news-comments__ava img { width: 100%; height: 100%; object-fit: cover; }
.news-comments__list, .news-comments__list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.news-comments__empty { color: var(--muted); padding: 8px 0; }
.cmt { display: flex; gap: 12px; }
.cmt.is-new .cmt__b { animation: nda-flash 1.6s ease; }
@keyframes nda-flash { 0% { background: color-mix(in srgb, var(--accent) 22%, transparent); } 100% { background: transparent; } }
.cmt__b { flex: 1; min-width: 0; border-radius: 12px; padding: 2px 8px 2px 0; }
.cmt__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cmt__h b { font-size: 15px; } .cmt__h time { font-size: 12.5px; color: var(--muted); }
.cmt__role { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.cmt__b p { margin: 4px 0 2px; line-height: 1.6; overflow-wrap: anywhere; }
.cmt__a { display: flex; gap: 14px; }
.cmt__a button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 6px 0; min-height: 32px; }
.cmt__a button:hover { color: var(--accent-2); }
.cmt-kids { padding-left: 52px; }
.cmt--child .cmt__ava { width: 32px; height: 32px; font-size: 13px; }
@media (max-width: 600px) { .cmt-kids { padding-left: 28px; } .news-act__btn span { font-size: 13.5px; } }

/* ===================== v2.6.0: Vinh danh nhân sự xuất sắc */
.honors__period { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -8px 0 36px; color: var(--accent-2); letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.honors__period svg { width: 16px; height: 16px; }
.honors__podium { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 20px; max-width: 980px; }
.honors__podium--2 { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; }
.honors__podium--1 { grid-template-columns: minmax(0, 320px); justify-content: center; }
.honor { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 26px 18px 0; border: 1px solid var(--line); border-radius: calc(var(--radius) * 2 + 6px) calc(var(--radius) * 2 + 6px) 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, var(--card)), var(--card)); overflow: hidden; }
.honor--1 { border-color: color-mix(in srgb, #e5b53a 70%, transparent); box-shadow: 0 30px 80px -40px color-mix(in srgb, #e5b53a 60%, transparent); }
.honor__photo { position: relative; width: 112px; height: 112px; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, #b8bcc4, #eef0f3); }
.honor--1 .honor__photo { width: 140px; height: 140px; background: linear-gradient(135deg, #a8782a, #f6dc8c, #c9962f); }
.honor--3 .honor__photo { background: linear-gradient(135deg, #8a5a33, #e3a979); }
.honor__photo img, .honor__photo span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center top; display: grid; place-items: center; background: var(--bg); font-size: 40px; color: var(--accent-2); }
.honor__medal { position: absolute; right: 2px; bottom: 2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; color: #1b160a; background: linear-gradient(135deg, #f6dc8c, #c9962f); border: 2px solid var(--bg); }
.honor--2 .honor__medal { background: linear-gradient(135deg, #f1f3f6, #9ea3ad); }
.honor--3 .honor__medal { background: linear-gradient(135deg, #f0c09a, #a86b3d); }
.honor__rank { margin: 14px 0 4px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.honor__name { margin: 0; font-size: 20px; line-height: 1.3; } .honor--1 .honor__name { font-size: 23px; }
.honor__name a { color: inherit; text-decoration: none; } .honor__name a:hover { color: var(--accent-2); }
.honor__pos { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.honor__stats { list-style: none; display: flex; justify-content: center; gap: 22px; margin: 14px 0 0; padding: 0; }
.honor__stats li { display: grid; gap: 2px; } .honor__stats b { font-size: 22px; color: var(--accent-2); font-family: var(--font-heading); } .honor__stats span { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.honor__step { width: calc(100% + 36px); margin-top: 20px; height: 54px; display: grid; place-items: center; font-family: var(--font-heading); font-size: 26px; font-weight: 600; color: color-mix(in srgb, var(--accent) 70%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); border-top: 1px solid var(--line); }
.honor--1 .honor__step { height: 96px; font-size: 34px; color: #e5b53a; }
.honor--3 .honor__step { height: 36px; }
.honors__empty { text-align: center; color: var(--muted); }
@media (max-width: 760px) {
	.honors__podium, .honors__podium--2 { grid-template-columns: 1fr; gap: 12px; max-width: 440px; }
	.honor { order: 2; display: grid; grid-template-columns: 84px 1fr; column-gap: 16px; row-gap: 2px; align-items: center; text-align: left; padding: 16px; border-radius: calc(var(--radius) * 2 + 6px); }
	.honor--1 { order: 1; } .honor--3 { order: 3; }
	.honor__photo, .honor--1 .honor__photo { grid-column: 1; grid-row: 1 / span 4; width: 84px; height: 84px; }
	.honor > :not(.honor__photo) { grid-column: 2; }
	.honor__medal { width: 28px; height: 28px; font-size: 13px; }
	.honor__rank { margin: 0; }
	.honor__name, .honor--1 .honor__name { font-size: 18px; }
	.honor__pos { margin: 0; font-size: 13px; }
	.honor__stats { justify-content: flex-start; gap: 18px; margin: 6px 0 0; }
	.honor__stats b { font-size: 18px; }
	.honor__step { display: none; }
}
/* 2.0.2: thêm Điểm & Booking vào bục vinh danh */
.honor__stats { flex-wrap: wrap; gap: 10px 18px; }
.honor__pts b { color: var(--accent, #c9a24b); }
