/* ==========================================================================
   Sửa Điện Tử Hà Nội – giao diện chính
   Màu thương hiệu lấy từ logo: xanh #2a86c8 và cam #f7991c
   ========================================================================== */

:root {
	--blue: #2a86c8;
	--blue-600: #1f70b3;
	--blue-700: #175a93;
	--blue-50: #eaf4fc;
	--blue-100: #d5e8f7;
	--orange: #f7991c;
	--orange-600: #e2850a;
	--orange-50: #fff4e4;
	--ink: #0d1b2a;
	--ink-2: #3a4b5f;
	--ink-3: #6a7a8e;
	--line: #e2e8f0;
	--soft: #f4f7fb;
	--white: #fff;
	--night: #07121e;
	--night-2: #0e2134;
	--night-3: #13304c;
	--ok: #18a058;
	--err: #d93838;

	--radius: 20px;
	--radius-sm: 12px;
	--shadow-sm: 0 2px 8px -2px rgba(13, 27, 42, .08);
	--shadow: 0 14px 34px -14px rgba(13, 27, 42, .22);
	--shadow-lg: 0 34px 70px -24px rgba(7, 18, 30, .45);

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section-y: clamp(64px, 8vw, 112px);
	--header-h: 76px;
	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink-2);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.22; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

.container,
.container-narrow { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(820px + var(--gutter) * 2); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--orange); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Nút ---------- */
.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 48px;
	padding: .7em 1.4em;
	border-radius: 999px;
	border: 2px solid transparent;
	font: 700 16px/1.2 var(--font);
	text-decoration: none;
	cursor: pointer;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
	white-space: nowrap;
}
.btn:hover,
.wp-block-button__link:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 54px; padding: .8em 1.6em; font-size: 17px; }
.btn--primary,
.wp-block-button__link { background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 112, 179, .7); }
.btn--primary:hover,
.wp-block-button__link:hover { background: var(--blue-700); color: #fff; }
.btn--accent,
.sdt-btn-accent .wp-block-button__link { background: var(--orange); color: var(--ink); box-shadow: 0 12px 26px -12px rgba(247, 153, 28, .9); }
.btn--accent:hover,
.sdt-btn-accent .wp-block-button__link:hover { background: #ffab3d; color: var(--ink); }
.btn--ghost,
.sdt-btn-ghost .wp-block-button__link,
.is-style-outline .wp-block-button__link { background: transparent; color: var(--blue-600); border-color: currentColor; box-shadow: none; }
.btn--ghost:hover,
.sdt-btn-ghost .wp-block-button__link:hover,
.is-style-outline .wp-block-button__link:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.btn--ghost .icon-zalo { color: #0068ff; }
.btn--ghost:hover .icon-zalo { color: #fff; }

.btn-row,
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 1.6em 0 0; }
.btn-row.is-center,
.is-center > .wp-block-buttons { justify-content: center; }
.btn-row--stack { flex-direction: column; align-items: stretch; }
.btn-row--stack .btn { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; color: var(--blue-600); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.icon-btn .icon { width: 22px; height: 22px; }

.tag { display: inline-flex; align-items: center; padding: .2em .75em; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: 13px; font-weight: 700; text-decoration: none; }
.tag--light { background: rgba(255, 255, 255, .12); color: #fff; }

/* Dòng nhỏ phía trên tiêu đề, có biểu tượng "sóng âm" chuyển động */
.kicker,
.sdt-kicker {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	margin: 0 0 .9em;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--blue-600);
}
.kicker::before,
.sdt-kicker::before {
	content: "";
	width: 18px;
	height: 14px;
	flex: none;
	background:
		linear-gradient(currentColor, currentColor) 0 100% / 4px 60% no-repeat,
		linear-gradient(currentColor, currentColor) 7px 100% / 4px 100% no-repeat,
		linear-gradient(currentColor, currentColor) 14px 100% / 4px 40% no-repeat;
	animation: eq 1.2s ease-in-out infinite;
}
.kicker--light,
.is-dark .sdt-kicker,
.sdt-hero .sdt-kicker { color: #ffb44d; }
@keyframes eq {
	0%, 100% { background-size: 4px 60%, 4px 100%, 4px 40%; }
	33% { background-size: 4px 100%, 4px 35%, 4px 80%; }
	66% { background-size: 4px 30%, 4px 75%, 4px 100%; }
}
@media (prefers-reduced-motion: reduce) { .kicker::before, .sdt-kicker::before { animation: none; } }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-title,
.sdt-title { font-size: clamp(1.65rem, 3.1vw, 2.5rem); margin-bottom: .4em; }

/* ==========================================================================
   Thanh trên cùng + Đầu trang
   ========================================================================== */
.topbar { background: var(--night); color: rgba(255, 255, 255, .78); font-size: 14px; }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.topbar__item .icon { width: 15px; height: 15px; color: var(--orange); }
.topbar a.topbar__item:hover { color: #fff; }
.topbar__phone { margin-left: auto; color: #fff; }
.topbar__phone strong { color: var(--orange); }

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .3s, border-color .3s;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(13, 27, 42, .35); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-logo { display: inline-flex; align-items: center; flex: none; }
.site-logo img { width: 220px; max-width: 46vw; height: auto; }
.site-logo__text { font-weight: 800; color: var(--blue); font-size: 20px; }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-call { min-height: 46px; padding-inline: 1.1em; }
.nav-toggle { display: none; }

/* Menu chính */
.main-nav { margin-left: auto; }
.main-nav__head,
.main-nav__foot { display: none; }
.main-nav .menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
	display: flex;
	white-space: nowrap;
	align-items: center;
	gap: 4px;
	padding: 10px 14px;
	border-radius: 999px;
	color: var(--ink);
	font-weight: 600;
	font-size: 15.5px;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
.main-nav .menu > li > a:hover,
.main-nav .menu > li:focus-within > a,
.main-nav .menu > .current-menu-item > a,
.main-nav .menu > .current-menu-ancestor > a,
.main-nav .menu > .current_page_parent > a { color: var(--blue-600); background: var(--blue-50); }
.main-nav .menu-item-has-children > a::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: 4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: .6;
}

.main-nav .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	width: 560px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin: 0;
	padding: 12px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.main-nav .sub-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.main-nav .menu > li:hover > .sub-menu,
.main-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .sub-menu a {
	display: block;
	padding: 12px 14px;
	border-radius: 14px;
	color: var(--ink);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.35;
	text-decoration: none;
	transition: background-color .2s;
}
.main-nav .sub-menu a:hover,
.main-nav .sub-menu .current-menu-item > a { background: var(--soft); color: var(--blue-600); }
.main-nav .menu-desc { display: block; margin-top: 4px; font-weight: 400; font-size: 13.5px; color: var(--ink-3); }

@media (min-width: 1100px) { .main-nav .submenu-toggle { display: none; } }

.nav-overlay { position: fixed; inset: 0; z-index: 140; background: rgba(7, 18, 30, .55); backdrop-filter: blur(2px); }

@media (max-width: 1240px) {
	.main-nav .menu > li > a { padding-inline: 10px; font-size: 15px; }
	.header-call span { display: none; }
	.header-call { width: 46px; padding: 0; }
}

@media (max-width: 1099px) {
	:root { --header-h: 66px; }
	.topbar__branches,
	.topbar__note { display: none; }
	.topbar__inner { gap: 16px; font-size: 13px; }
	@media (max-width: 600px) {
		.topbar__phone { display: none; }
		.topbar__inner { justify-content: center; min-height: 34px; }
	}
	.nav-toggle { display: inline-grid; }
	.site-logo img { width: 190px; }

	.main-nav {
		position: fixed;
		inset: 0 0 0 auto;
		z-index: 150;
		width: min(400px, 88vw);
		display: flex;
		flex-direction: column;
		background: #fff;
		box-shadow: var(--shadow-lg);
		/* Đóng: mờ đi + lệch nhẹ (không đẩy ra ngoài màn hình để tránh tràn ngang trên điện thoại). */
		transform: scale(.97);
		transform-origin: right center;
		opacity: 0;
		transition: transform .3s var(--ease), opacity .25s, visibility .3s;
		overflow-y: auto;
		overscroll-behavior: contain;
		visibility: hidden;
	}
	.main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.main-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
	.site-logo--sm img { width: 170px; }
	.main-nav__foot { display: block; margin-top: auto; padding: 16px; border-top: 1px solid var(--line); }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 8px 16px; }
	.main-nav .menu > li { border-bottom: 1px solid var(--soft); }
	.main-nav .menu > li > a { padding: 14px 12px; border-radius: 12px; font-size: 16.5px; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .submenu-toggle {
		position: absolute;
		right: 4px;
		top: 6px;
		width: 44px;
		height: 44px;
		display: grid;
		place-items: center;
		border: 0;
		border-radius: 12px;
		background: var(--soft);
		color: var(--ink);
		cursor: pointer;
	}
	.main-nav .submenu-toggle .icon { transition: transform .25s; }
	.main-nav .is-expanded > .submenu-toggle .icon { transform: rotate(180deg); }
	.main-nav .sub-menu {
		position: static;
		width: auto;
		display: none;
		grid-template-columns: 1fr;
		padding: 0 0 10px 8px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}
	.main-nav .sub-menu::before { display: none; }
	.main-nav .is-expanded > .sub-menu { display: grid; }
	.main-nav .sub-menu a { padding: 10px 12px; }
	body.nav-open { overflow: hidden; }
	/* backdrop-filter tạo khung chứa mới cho phần tử fixed → tắt khi mở menu */
	body.nav-open .site-header { z-index: 160; backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}

/* ==========================================================================
   Khối nội dung dạng "dải" (do trình soạn thảo tạo)
   ========================================================================== */
.entry--builder > .sdt-section,
.entry--builder > .sdt-hero,
.band {
	position: relative;
	padding-block: var(--section-y);
	padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
}
.band { padding-inline: 0; }
.entry--builder > .sdt-section + .sdt-section:not(.is-soft):not(.is-dark):not(.is-brand) { padding-top: 0; }
.entry--builder > .sdt-section.is-soft + .sdt-section.is-soft { padding-top: 0; }
.entry--builder > :not(.sdt-section):not(.sdt-hero):not(section) { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.sdt-section.is-soft,
.band--soft { background: var(--soft); }
.sdt-section.is-center > .sdt-kicker,
.sdt-section.is-center > .sdt-title,
.sdt-section.is-center > .sdt-lead { text-align: center; margin-inline: auto; display: block; max-width: 820px; }
.sdt-section.is-center > .sdt-kicker { display: flex; justify-content: center; }
.sdt-section > .sdt-title { margin-bottom: .5em; }
.sdt-lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--ink-3); max-width: 760px; }
.sdt-section > .sdt-title + :not(.sdt-lead),
.sdt-section > .sdt-lead { margin-bottom: clamp(28px, 4vw, 48px); }

.sdt-section.is-dark,
.band--dark {
	color: rgba(255, 255, 255, .78);
	background:
		radial-gradient(900px 500px at 90% 0%, rgba(42, 134, 200, .28), transparent 60%),
		radial-gradient(700px 420px at 0% 100%, rgba(247, 153, 28, .14), transparent 60%),
		linear-gradient(160deg, var(--night), var(--night-2));
	overflow: hidden;
}
.is-dark h1, .is-dark h2, .is-dark h3, .is-dark h4 { color: #fff; }

/* Danh sách dấu tích */
.is-style-checklist,
.sdt-checklist { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 12px; }
.is-style-checklist > li,
.sdt-checklist > li { position: relative; padding-left: 36px; line-height: 1.55; }
.is-style-checklist > li::before,
.sdt-checklist > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .1em;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f70b3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.is-dark .is-style-checklist > li::before,
.sdt-hero .is-style-checklist > li::before { background-color: rgba(247, 153, 28, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb44d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.is-style-checklist h5 { margin: 0; font: inherit; color: inherit; }

/* Cột */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); align-items: center; margin: 0; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }
@media (max-width: 860px) {
	.wp-block-columns { flex-direction: column; align-items: stretch; }
	.wp-block-column { flex-basis: auto !important; }
}

/* Ảnh */
.wp-block-image { margin: 0; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-image.is-plain img { border-radius: 0; }
figcaption, .wp-element-caption { font-size: 14px; color: var(--ink-3); text-align: center; margin-top: 8px; }

/* ---------- Hero ---------- */
.entry--builder > .sdt-hero {
	padding-top: clamp(48px, 6vw, 88px);
	padding-bottom: clamp(64px, 8vw, 120px);
	color: rgba(255, 255, 255, .8);
	background:
		radial-gradient(1100px 620px at 88% 10%, rgba(42, 134, 200, .42), transparent 62%),
		radial-gradient(760px 480px at -5% 105%, rgba(247, 153, 28, .22), transparent 60%),
		linear-gradient(165deg, var(--night) 0%, var(--night-2) 60%, var(--night-3) 100%);
	overflow: hidden;
	isolation: isolate;
}
.sdt-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.sdt-hero::after {
	/* sóng âm thanh dưới đáy */
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 90px;
	z-index: -1;
	opacity: .5;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 90' preserveAspectRatio='none'%3E%3Cpath d='M0 45 Q 25 5 50 45 T 100 45 T 150 45 T 200 45 T 250 45 T 300 45 T 350 45 T 400 45 T 450 45 T 500 45 T 550 45 T 600 45 T 650 45 T 700 45 T 750 45 T 800 45 T 850 45 T 900 45 T 950 45 T 1000 45 T 1050 45 T 1100 45 T 1150 45 T 1200 45' fill='none' stroke='%232a86c8' stroke-width='1.5'/%3E%3Cpath d='M0 45 Q 50 80 100 45 T 200 45 T 300 45 T 400 45 T 500 45 T 600 45 T 700 45 T 800 45 T 900 45 T 1000 45 T 1100 45 T 1200 45' fill='none' stroke='%23f7991c' stroke-opacity='.6' stroke-width='1.2'/%3E%3C/svg%3E") 0 0 / 1200px 90px repeat-x;
	animation: wave 18s linear infinite;
}
@keyframes wave { to { background-position: -1200px 0; } }
@media (prefers-reduced-motion: reduce) { .sdt-hero::after { animation: none; } }

.sdt-hero h1,
.sdt-hero .sdt-hero__title {
	color: #fff;
	font-size: clamp(2.05rem, 4.8vw, 3.75rem);
	line-height: 1.12;
	letter-spacing: -.025em;
	margin-bottom: .45em;
	text-wrap: balance;
}
.sdt-hero h4 { color: #ffb44d; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8em; }
.sdt-hero .sdt-lead { color: rgba(255, 255, 255, .78); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 600px; }
.sdt-hero .is-style-checklist { color: rgba(255, 255, 255, .86); }
.sdt-hero .is-style-outline .wp-block-button__link,
.sdt-hero .sdt-btn-ghost .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .5); }
.sdt-hero .is-style-outline .wp-block-button__link:hover,
.sdt-hero .sdt-btn-ghost .wp-block-button__link:hover { background: #fff; color: var(--ink); border-color: #fff; }

.sdt-rotate {
	display: inline-block;
	color: transparent;
	background: linear-gradient(90deg, #ffb44d, var(--orange) 45%, #ffd08a);
	-webkit-background-clip: text;
	background-clip: text;
	transition: opacity .35s, transform .35s var(--ease);
}
.sdt-rotate.is-out { opacity: 0; transform: translateY(12px); }
.sdt-rotate-words { display: none; }

.sdt-hero__media { position: relative; }
.sdt-hero__media::before {
	/* màng loa – vòng tròn đồng tâm */
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 118%;
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background:
		radial-gradient(circle, rgba(42, 134, 200, .35) 0 18%, transparent 19%),
		repeating-radial-gradient(circle, rgba(255, 255, 255, .07) 0 1px, transparent 1.5px 34px);
	z-index: 0;
	animation: pulse-ring 6s ease-in-out infinite;
}
@keyframes pulse-ring { 50% { transform: translate(-50%, -50%) scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .sdt-hero__media::before { animation: none; } }
.sdt-hero__media .wp-block-image { position: relative; z-index: 1; }
.sdt-hero__media .wp-block-image img { border-radius: 28px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); margin-inline: auto; max-height: 560px; width: auto; }
.sdt-hero--home .sdt-hero__media .wp-block-image img { border-radius: 0; }

.hero-chips { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px 10px 10px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .95);
	box-shadow: var(--shadow-lg);
	color: var(--ink);
	font-size: 13.5px;
	line-height: 1.25;
	animation: float 6s ease-in-out infinite;
}
.hero-chip b { display: block; font-size: 20px; font-weight: 800; color: var(--blue-600); }
.hero-chip i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--orange-50); color: var(--orange-600); font-style: normal; }
.hero-chip--a { left: -4%; bottom: 14%; }
.hero-chip--b { right: -2%; top: 10%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-chip { animation: none; } }
@media (max-width: 860px) {
	.sdt-hero__media { max-width: 460px; margin-inline: auto; }
	.hero-chip--a { left: 0; }
	.hero-chip--b { right: 0; }
}

.sdt-hero.is-text-only .wp-block-column { text-align: center; }
.sdt-hero.is-text-only .sdt-lead { margin-inline: auto; }
.sdt-hero.is-text-only .wp-block-buttons { justify-content: center; }

/* Thanh breadcrumb nằm trên hero */
.crumbs-bar { background: var(--night); padding: 14px 0 0; }
.crumbs-bar + .entry--builder > .sdt-hero:first-child { padding-top: clamp(32px, 4vw, 56px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; opacity: .45; }
.crumbs a { color: inherit; text-decoration: none; opacity: .8; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
.crumbs--light { color: rgba(255, 255, 255, .85); }
@media (max-width: 640px) {
	.page-hero--post .crumbs li[aria-current] { display: none; }
	.crumbs [aria-current] { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
}
.crumbs--light [aria-current] { color: #ffb44d; }

/* ---------- Tiêu đề trang thường ---------- */
.page-hero {
	position: relative;
	padding: clamp(36px, 5vw, 56px) 0 clamp(44px, 6vw, 72px);
	color: rgba(255, 255, 255, .8);
	background:
		radial-gradient(900px 400px at 85% 0%, rgba(42, 134, 200, .45), transparent 60%),
		radial-gradient(600px 300px at 0% 100%, rgba(247, 153, 28, .18), transparent 60%),
		linear-gradient(160deg, var(--night), var(--night-2));
	overflow: hidden;
}
.page-hero__title { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin: .5em 0 .3em; max-width: 900px; text-wrap: balance; }
.page-hero__lead { max-width: 720px; font-size: 1.08rem; }
.page-hero--post .page-hero__title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; font-size: 14.5px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .icon { width: 16px; height: 16px; color: #ffb44d; }

.search-form { position: relative; max-width: 520px; margin-top: 24px; }
.search-form input { width: 100%; height: 54px; padding: 0 60px 0 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .1); color: #fff; font: 16px var(--font); }
.search-form input::placeholder { color: rgba(255, 255, 255, .6); }
.search-form input:focus { outline: none; border-color: var(--orange); background: rgba(255, 255, 255, .14); }
.search-form button { position: absolute; right: 6px; top: 6px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; cursor: pointer; }

/* ---------- Thẻ dịch vụ ---------- */
.sdt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.sdt-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.sdt-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.sdt-card > .wp-block-image { margin: 0; overflow: hidden; background: var(--soft); }
.sdt-card > .wp-block-image img { width: 100%; border-radius: 0; aspect-ratio: 606 / 315; object-fit: cover; transition: transform .6s var(--ease); }
.sdt-card:hover > .wp-block-image img { transform: scale(1.04); }
.sdt-card.is-product > .wp-block-image { background: radial-gradient(circle at 50% 60%, #fff 0 30%, var(--blue-50) 75%); }
.sdt-card.is-product > .wp-block-image img { aspect-ratio: 4 / 3; object-fit: contain; padding: 18px; }
.sdt-card > :not(.wp-block-image) { margin-inline: 24px; }
.sdt-card > h3 { margin-top: 22px; margin-bottom: .45em; font-size: 1.22rem; }
.sdt-card > h3 a { color: inherit; text-decoration: none; }
.sdt-card > h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sdt-card > p { color: var(--ink-3); font-size: 15.5px; }
.sdt-card > .wp-block-buttons { margin-top: auto; padding: 4px 0 24px; position: relative; z-index: 2; }
.sdt-card .wp-block-button__link { min-height: 42px; padding: .55em 1.1em; font-size: 15px; }
.sdt-card .sdt-more .wp-block-button__link { background: transparent; color: var(--blue-600); box-shadow: none; padding-inline: .4em; }
.sdt-card .sdt-more .wp-block-button__link::after { content: "→"; transition: transform .25s; }
.sdt-card .sdt-more .wp-block-button__link:hover::after { transform: translateX(4px); }

/* Dải banner quảng cáo */
.sdt-banners {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(78vw, 380px);
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 4px 4px 14px;
	scrollbar-width: thin;
}
.sdt-banners > .wp-block-image { scroll-snap-align: start; }
.sdt-banners img { width: 100%; aspect-ratio: 606 / 315; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.sdt-banners a:hover img { transform: translateY(-4px); }
.entry--builder > .sdt-banners-wrap { padding-block: 0; margin-top: -54px; position: relative; z-index: 3; }
@media (min-width: 1200px) {
	.sdt-banners { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; }
}

/* Lợi ích */
.sdt-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.sdt-benefit {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 0 0 22px;
	overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s;
}
.sdt-benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sdt-benefit > .wp-block-image { background: linear-gradient(160deg, var(--blue-50), #fff); padding: 18px 18px 6px; }
.sdt-benefit > .wp-block-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 0; }
.sdt-benefit > :not(.wp-block-image) { margin-inline: 22px; }
.sdt-benefit > h3 { margin-top: 16px; font-size: 1.15rem; }
.sdt-benefit .is-style-checklist { margin: 0; gap: 8px; font-size: 15.5px; }

/* Quy trình */
.sdt-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; counter-reset: step; }
.sdt-step {
	position: relative;
	padding: 28px 26px 24px;
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid var(--line);
	counter-increment: step;
	overflow: hidden;
	transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.sdt-step:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-4px); }
.sdt-step::after {
	content: "0" counter(step);
	position: absolute;
	right: 18px;
	top: 6px;
	font-size: 64px;
	font-weight: 800;
	line-height: 1;
	color: var(--blue-50);
	letter-spacing: -.04em;
	z-index: 0;
}
.sdt-step > * { position: relative; z-index: 1; }
.sdt-step > .wp-block-image { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; background: var(--orange-50); margin-bottom: 18px; }
.sdt-step > .wp-block-image img { width: 36px; height: 36px; border-radius: 0; object-fit: contain; }
.sdt-step > h3 { font-size: 1.12rem; margin-bottom: .4em; }
.sdt-step > p { margin: 0; color: var(--ink-3); font-size: 15.5px; }
.is-dark .sdt-step { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
.is-dark .sdt-step::after { color: rgba(255, 255, 255, .06); }
.is-dark .sdt-step > p { color: rgba(255, 255, 255, .7); }

/* Cam kết */
.sdt-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1099px) { .sdt-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sdt-features { grid-template-columns: 1fr; } }
.sdt-feature {
	padding: 28px 24px;
	border-radius: var(--radius);
	background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
	border: 1px solid rgba(255, 255, 255, .1);
	transition: transform .35s var(--ease), border-color .3s;
}
.sdt-feature:hover { transform: translateY(-5px); border-color: rgba(247, 153, 28, .5); }
.sdt-feature > .wp-block-image { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: #fff; margin-bottom: 18px; }
.sdt-feature > .wp-block-image img { width: 40px; height: 40px; border-radius: 0; object-fit: contain; }
.sdt-feature > h3 { font-size: 1.15rem; margin-bottom: .4em; }
.sdt-feature > p { margin: 0; font-size: 15.5px; }
.sdt-section:not(.is-dark) .sdt-feature { background: #fff; border-color: var(--line); }
.sdt-section:not(.is-dark) .sdt-feature > .wp-block-image { background: var(--blue-50); }

/* Hỗ trợ + video */
.sdt-split .wp-block-column.is-media { position: relative; }
.yt-lite {
	position: relative;
	margin: 0;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius);
	overflow: hidden;
	background: #000;
	box-shadow: var(--shadow-lg);
	cursor: pointer;
}
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .6s var(--ease); }
.yt-lite:hover img { opacity: .95; transform: scale(1.03); }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-lite__play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 84px;
	height: 84px;
	transform: translate(-50%, -50%);
	border: 0;
	border-radius: 50%;
	background: var(--orange);
	color: var(--ink);
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 0 0 0 0 rgba(247, 153, 28, .6);
	animation: ping 2.2s infinite;
}
.yt-lite__play .icon { width: 30px; height: 30px; margin-left: 4px; }
@keyframes ping { 70% { box-shadow: 0 0 0 26px rgba(247, 153, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(247, 153, 28, 0); } }
@media (prefers-reduced-motion: reduce) { .yt-lite__play { animation: none; } }

.sdt-video-thumb { position: relative; }
.sdt-video-thumb > .wp-block-image { display: grid; place-items: center; padding: 6%; border-radius: var(--radius); background: radial-gradient(circle at 50% 55%, #fff 0 32%, var(--blue-50) 72%); }
.sdt-video-thumb > .wp-block-image img { max-height: 440px; width: auto; border-radius: 0; }
.sdt-video-thumb > .wp-block-buttons { position: absolute; left: 24px; bottom: 24px; margin: 0; }
.sdt-play .wp-block-button__link { background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.sdt-play .wp-block-button__link::before { content: ""; width: 0; height: 0; border-left: 11px solid var(--orange); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.sdt-play .wp-block-button__link:hover { background: var(--orange); color: var(--ink); }
.sdt-play .wp-block-button__link:hover::before { border-left-color: var(--ink); }
.video-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(7, 18, 30, .85); backdrop-filter: blur(4px); }
.video-modal__box { position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video-modal__box iframe { width: 100%; height: 100%; border: 0; }
.video-modal__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }

.sdt-video-band { text-align: center; }
.sdt-video-band .yt-lite { max-width: 920px; margin: 0 auto; }

/* Câu hỏi thường gặp */
.sdt-faq .wp-block-columns { align-items: flex-start; }
.sdt-faq .wp-block-column:first-child { flex-grow: 1.4; }
.wp-block-details {
	margin: 0 0 12px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	transition: border-color .25s, box-shadow .25s;
}
.wp-block-details[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.wp-block-details summary {
	position: relative;
	padding: 18px 56px 18px 22px;
	font-weight: 700;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	border-radius: 50%;
	background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f70b3' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='6' x2='12' y2='18'/%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: transform .3s var(--ease), background-color .3s;
}
.wp-block-details[open] summary::after { transform: rotate(135deg); background-color: var(--orange-50); }
.wp-block-details > :not(summary) { padding: 0 22px; margin: 0 0 18px; color: var(--ink-2); }
.sdt-faq .wp-block-column.is-media { position: sticky; top: calc(var(--header-h) + 24px); }

/* ==========================================================================
   Khối dùng chung (mã ngắn)
   ========================================================================== */
.band--brand {
	color: rgba(255, 255, 255, .85);
	background:
		radial-gradient(900px 400px at 100% 0%, rgba(247, 153, 28, .25), transparent 60%),
		linear-gradient(135deg, #0d3c66 0%, var(--blue-700) 45%, var(--blue) 100%);
	overflow: hidden;
}
.band--brand h2 { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 44px; }
.stat {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .14);
}
.stat__icon { flex: none; width: 60px; height: 60px; border-radius: 18px; background: #fff; display: grid; place-items: center; }
.stat__icon img { width: 36px; height: 36px; object-fit: contain; }
.stat__num { margin: 0; font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 800; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__num sup { color: var(--orange); font-size: .6em; top: -.6em; margin-left: 2px; }
.stat__label { margin: 4px 0 0; font-size: 15px; color: rgba(255, 255, 255, .8); }
@media (max-width: 1180px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
	.stats { gap: 12px; }
	.stat { flex-direction: column; align-items: flex-start; padding: 16px; gap: 10px; }
	.stat__icon { width: 48px; height: 48px; border-radius: 14px; }
	.stat__icon img { width: 28px; height: 28px; }
}

.marquee {
	position: relative;
	overflow: hidden;
	padding: 6px 0;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; width: 170px; height: 86px; display: grid; place-items: center; padding: 12px 18px; border-radius: 16px; background: #fff; }
.marquee__item img { max-height: 58px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) {
	.marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
	.marquee__item[aria-hidden] { display: none; }
}
.partners-band__end { margin-top: 40px; text-align: center; }
.partners-band__closing { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; color: #fff; max-width: 760px; margin: 0 auto 20px; }

/* Ý kiến khách hàng */
.reviews__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.reviews__grid > *,
.cta-band__inner > *,
.post-layout > * { min-width: 0; }
.reviews__media img { width: 100%; max-width: 520px; margin-inline: auto; }
@media (max-width: 900px) {
	.reviews__grid { grid-template-columns: 1fr; }
	.reviews__media { max-width: 380px; margin-inline: auto; order: -1; }
}
.slider { position: relative; }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; gap: 20px; }
.slider__track::-webkit-scrollbar { display: none; }
.review-card {
	flex: 0 0 100%;
	scroll-snap-align: start;
	position: relative;
	margin: 0;
	padding: clamp(24px, 3vw, 36px);
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
}
.review-card__quote { position: absolute; right: 24px; top: 22px; width: 48px; height: 48px; color: var(--blue-50); }
.review-card__stars { color: var(--orange); letter-spacing: 3px; font-size: 18px; margin-bottom: 10px; }
.review-card blockquote { margin: 0 0 22px; }
.review-card blockquote p { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--ink); font-weight: 500; }
.review-card figcaption { display: flex; align-items: center; gap: 14px; }
.review-card__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--blue-50); }
.review-card figcaption strong { display: block; color: var(--ink); font-size: 1.05rem; }
.review-card figcaption small { color: var(--ink-3); font-size: 14px; }
.slider__nav { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.slider__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.slider__btn:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.slider__btn[data-prev] .icon { transform: rotate(180deg); }
.slider__dots { display: flex; gap: 8px; }
.slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--blue-100); cursor: pointer; transition: width .3s, background-color .3s; }
.slider__dots button[aria-selected="true"] { width: 28px; background: var(--blue-600); }

/* Bài viết */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
@media (max-width: 1023px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--blue-100); }
.post-card__placeholder .icon { width: 56px; height: 56px; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-3); margin-bottom: 10px; }
.post-card__title { font-size: 1.1rem; line-height: 1.4; margin-bottom: .5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--blue-600); }
.post-card__excerpt { font-size: 15px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link-arrow { margin-top: auto; font-size: 15px; }

.sdt-blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.sdt-blog-head > .wp-block-group { max-width: 720px; }
.sdt-blog-head .sdt-title { margin-bottom: .3em; }
.sdt-blog-head p:last-child { margin: 0; }
.sdt-blog-head .wp-block-buttons { margin: 0; }

/* Chi nhánh + bản đồ */
.branches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; }
.branch { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.branch .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--orange); }
.branch strong { display: block; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; opacity: .7; }
.branch a { color: inherit; text-decoration: none; font-weight: 600; }
.branch a:hover { text-decoration: underline; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-embed iframe { width: 100%; height: 420px; border: 0; }

/* Trang liên hệ */
.sdt-contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); }
.sdt-contact-info .branches { grid-template-columns: 1fr 1fr; color: var(--ink-2); }
.sdt-contact-info .branch strong { color: var(--ink-3); opacity: 1; }
@media (max-width: 560px) { .sdt-contact-info .branches, .branches { grid-template-columns: 1fr; } }

/* ==========================================================================
   Form
   ========================================================================== */
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .field { display: flex; flex-direction: column; gap: 6px; }
.lead-form .field--full { grid-column: 1 / -1; }
.lead-form label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.lead-form abbr { color: var(--err); text-decoration: none; }
.lead-form input,
.lead-form textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	border: 1.5px solid var(--line);
	border-radius: 14px;
	background: var(--soft);
	font: 16px/1.4 var(--font);
	color: var(--ink);
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.lead-form textarea { resize: vertical; min-height: 110px; }
.lead-form input:focus,
.lead-form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(42, 134, 200, .15); }
.lead-form [aria-invalid="true"] { border-color: var(--err); background: #fff6f6; }
.lead-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.lead-form__foot .btn { flex: 0 0 auto; }
.lead-form__note { margin: 0; font-size: 14.5px; color: var(--ink-3); }
.lead-form__note a { font-weight: 700; }
.lead-form__status { margin: 0; font-weight: 600; font-size: 15px; }
.lead-form__status:empty { display: none; }
.lead-form__status.is-ok { color: var(--ok); padding: 14px 16px; background: #eafaf1; border-radius: 12px; }
.lead-form__status.is-err { color: var(--err); }
.lead-form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .lead-form { grid-template-columns: 1fr; } .lead-form__foot .btn { width: 100%; } }

/* ==========================================================================
   Kêu gọi liên hệ + Chân trang
   ========================================================================== */
.cta-band {
	position: relative;
	padding-block: var(--section-y);
	color: rgba(255, 255, 255, .8);
	background:
		radial-gradient(800px 420px at 100% 100%, rgba(247, 153, 28, .28), transparent 60%),
		radial-gradient(800px 420px at 0% 0%, rgba(42, 134, 200, .35), transparent 60%),
		var(--night-2);
	overflow: hidden;
}
.cta-band__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); text-wrap: balance; }
.cta-band__text > p { font-size: 1.08rem; max-width: 520px; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.cta-band .btn--ghost .icon-zalo { color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn--ghost:hover .icon-zalo { color: #0068ff; }
.cta-band__form { background: #fff; border-radius: 24px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-lg); }
.cta-band__form h3 { font-size: 1.4rem; margin-bottom: 18px; }
@media (max-width: 900px) { .cta-band__inner { grid-template-columns: 1fr; } }

.site-footer { background: var(--night); color: rgba(255, 255, 255, .7); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.25fr .9fr .7fr 1.6fr; gap: clamp(28px, 4vw, 48px); padding-block: clamp(56px, 7vw, 88px) 40px; }
.site-footer h3 { color: #fff; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-logo--chip { background: #fff; padding: 12px 16px; border-radius: 14px; margin-bottom: 18px; }
.site-logo--chip img { width: 200px; }
.site-footer__brand p { line-height: 1.7; }
.footer-phone { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.35rem; margin-top: 4px; }
.footer-phone .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--orange); color: var(--ink); }
.footer-phone small { display: block; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .6); letter-spacing: .08em; text-transform: uppercase; }
.footer-hours { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; }
.footer-hours .icon { width: 16px; height: 16px; color: var(--orange); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: inherit; text-decoration: none; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.site-footer .branch a { color: rgba(255, 255, 255, .85); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer__bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; font-size: 14px; }
.site-footer__bottom p { margin: 0; }
.to-top { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.to-top:hover { background: var(--orange); color: var(--ink); }
.to-top .icon { width: 18px; height: 18px; }
@media (max-width: 1100px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Nút liên hệ nổi (máy tính) */
.float-contact { position: fixed; right: 20px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; gap: 14px; }
.float-contact__btn {
	position: relative;
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45);
}
.float-contact__btn .icon { width: 28px; height: 28px; }
.float-contact__btn--zalo { background: #0068ff; }
.float-contact__btn--call { background: var(--orange); color: var(--ink); animation: ring 2.4s infinite; }
.float-contact__btn--call .icon { width: 24px; height: 24px; animation: shake 2.4s infinite; }
.float-contact__btn span {
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translate(6px, -50%);
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s, transform .2s;
}
.float-contact__btn:hover span,
.float-contact__btn:focus-visible span { opacity: 1; transform: translate(0, -50%); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(247, 153, 28, .55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(247, 153, 28, 0); } }
@keyframes shake { 0%, 50%, 100% { transform: rotate(0); } 5%, 15%, 25% { transform: rotate(-14deg); } 10%, 20% { transform: rotate(14deg); } }
@media (prefers-reduced-motion: reduce) { .float-contact__btn--call, .float-contact__btn--call .icon { animation: none; } }

/* Thanh liên hệ cố định (điện thoại) */
.action-bar { display: none; }
@media (max-width: 767px) {
	.float-contact { display: none; }
	body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
	.action-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 120;
		display: grid;
		grid-template-columns: 1.15fr .85fr 1.2fr;
		gap: 6px;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border-top: 1px solid var(--line);
		box-shadow: 0 -10px 30px -16px rgba(13, 27, 42, .3);
	}
	.action-bar a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		min-height: 50px;
		border-radius: 14px;
		background: var(--soft);
		color: var(--ink);
		font-weight: 700;
		font-size: 14px;
		white-space: nowrap;
		text-decoration: none;
	}
	.action-bar a .icon { width: 20px; height: 20px; }
	.action-bar a .icon-zalo { width: 24px; height: 24px; color: #0068ff; }
	.action-bar__call { background: var(--orange) !important; }
	.site-footer__bottom .container { padding-bottom: 18px; }
}

/* ==========================================================================
   Nội dung văn bản (bài viết, giới thiệu)
   ========================================================================== */
.entry--prose { padding-block: clamp(36px, 5vw, 64px); font-size: 17.5px; line-height: 1.8; color: var(--ink-2); }
.entry--prose > * { max-width: 100%; }
.entry--prose * { font-family: var(--font) !important; }
.entry--prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 1.8em 0 .6em; }
.entry--prose h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); margin: 1.6em 0 .5em; }
.entry--prose h4 { font-size: 1.15rem; margin: 1.4em 0 .5em; }
.entry--prose > :first-child { margin-top: 0; }
.entry--prose ul,
.entry--prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry--prose li { margin-bottom: .45em; }
.entry--prose li::marker { color: var(--blue); }
.entry--prose img { border-radius: 16px; margin-inline: auto; }
.entry--prose figure,
.entry--prose .wp-caption { margin: 1.8em 0; max-width: 100% !important; }
.entry--prose .aligncenter { margin-inline: auto; }
.entry--prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.entry--prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.entry--prose blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 4px solid var(--orange); background: var(--orange-50); border-radius: 0 16px 16px 0; color: var(--ink); }
.entry--prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15.5px; display: block; overflow-x: auto; }
.entry--prose th,
.entry--prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry--prose th { background: var(--soft); color: var(--ink); }
.entry--prose a { font-weight: 600; }
.entry--prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; }
.entry--prose::after { content: ""; display: table; clear: both; }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.post-layout .entry--prose { padding-top: 0; margin-top: -36px; position: relative; z-index: 2; }
.post-cover { margin: 0 0 32px !important; }
.post-cover img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.post-layout .entry--prose:not(:has(.post-cover)) { margin-top: 0; padding-top: clamp(36px, 5vw, 56px); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; padding-block: 40px; }
.aside-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.aside-card--dark { background: linear-gradient(160deg, var(--night), var(--night-3)); border: 0; color: rgba(255, 255, 255, .78); }
.aside-card__title { font-weight: 800; color: var(--ink); font-size: 1.2rem; margin-bottom: .4em; }
.aside-card--dark .aside-card__title { color: #fff; }
.aside-card--dark .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.aside-card--dark .btn--ghost .icon-zalo { color: #fff; }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.aside-links a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.aside-links a:hover { background: var(--soft); color: var(--blue-600); }
.aside-links .icon { width: 16px; height: 16px; color: var(--orange); }
@media (max-width: 1023px) {
	.post-layout { grid-template-columns: 1fr; }
	.post-aside { position: static; padding-top: 0; }
}

/* Dịch vụ cùng nhóm */
.related-services { border-top: 1px solid var(--line); }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; transition: all .2s; }
.chip .icon { width: 16px; height: 16px; color: var(--blue-600); }
.chip:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-2px); }
.chip--solid { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.chip--solid .icon { color: #fff; }
.chip--solid:hover { color: #fff; background: var(--blue-700); }
.notfound .chip-list a { display: inline-flex; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }

/* Phân trang */
.pagination { margin-top: 48px; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pagination a,
.pagination span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .current { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.pagination a:hover { border-color: var(--blue-600); color: var(--blue-600); }

.empty-state { text-align: center; padding: 40px 0; }

/* 404 */
.notfound { padding-block: clamp(64px, 10vw, 120px); text-align: center; }
.notfound__inner { max-width: 760px; }
.notfound__code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; margin: 0; color: transparent; background: linear-gradient(135deg, var(--blue), var(--orange)); -webkit-background-clip: text; background-clip: text; }
.notfound .chip-list { justify-content: center; margin-top: 40px; }

/* ---------- Hiệu ứng xuất hiện khi cuộn ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* In ấn */
@media print {
	.topbar, .site-header, .cta-band, .site-footer, .float-contact, .action-bar { display: none !important; }
}
