/* ==========================================================================
   Thợ Sửa Điện Nước — giao diện element UX Builder trên nền Flatsome
   Breakpoint thiết kế: ≥1100 desktop · 640–1099 tablet · <640 điện thoại (kiểu app).
   Lưới Row/Col của Flatsome đổi cột ở 850 / 550.
   ========================================================================== */

:root {
	--tsdn-navy: #0a2a78;
	--tsdn-navy-2: #061c55;
	--tsdn-blue: #1559d6;
	--tsdn-cta: #0f4cc4;
	--tsdn-cta-h: #0b3a99;
	--tsdn-link: #0d43b0;
	--tsdn-yellow: #ffc20e;
	--tsdn-text: #24304a;
	--tsdn-text-2: #46506a;
	--tsdn-muted: #56607a;
	--tsdn-bg: #f5f8fd;
	--tsdn-soft: #eaf0f8;
	--tsdn-tint: #e6eefc;
	--tsdn-img: #eef3fb;
	--tsdn-line: #e4eaf4;
	--tsdn-line-2: #dde4f0;
	--tsdn-dash: #dbe3f0;
	--tsdn-foot: #dbe4f2;
	--tsdn-pad: clamp(16px, 3.5vw, 56px);
	--tsdn-gap: clamp(48px, 6vw, 80px);
	--tsdn-shadow: 0 14px 36px -24px rgba(10, 42, 120, .35);
	--tsdn-shadow-h: 0 26px 54px -28px rgba(10, 42, 120, .5);
	--tsdn-orb-grad: radial-gradient(circle at 30% 25%, #4d8dff 0%, #1559d6 45%, #0a2a78 100%);
	--tsdn-font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Nền trang & chữ ---------- */
html { scroll-behavior: smooth; }
body.tsdn, .tsdn #wrapper, .tsdn #main { background-color: var(--tsdn-bg); }
body.tsdn { color: #1B1F27; font-family: var(--tsdn-font); -webkit-font-smoothing: antialiased; }
.tsdn :focus-visible { outline: 3px solid var(--tsdn-blue); outline-offset: 2px; }
.tsdn-accent { color: var(--tsdn-blue); }
.tsdn-icon { display: block; flex: none; }

/* ---------- Khung Section / Row của Flatsome ---------- */
.tsdn .section.tsdn-sec { padding: var(--tsdn-gap) 0 0 !important; }
.tsdn .section.tsdn-sec-hero { padding: 0 0 clamp(20px, 3vw, 32px) !important; background: linear-gradient(180deg, #FFFFFF 0%, #f3f7fd 100%); overflow: hidden; }
.tsdn .section.tsdn-footer { margin-top: var(--tsdn-gap); padding: 0 !important; background-color: var(--tsdn-foot); color: #3d4762; }
.tsdn [class*="tsdn-sec"] .section-content > .row,
.tsdn .tsdn-footer .section-content > .row {
	--g: 30px;
	max-width: calc(1520px + 2 * var(--tsdn-pad));
	padding-left: calc(var(--tsdn-pad) - var(--g) / 2);
	padding-right: calc(var(--tsdn-pad) - var(--g) / 2);
}
/* !important vì rule đặt --g: 30px cho mọi .row trong section có độ đặc hiệu cao hơn. */
.tsdn .row.tsdn-g12 { --g: 12px !important; }
.tsdn .row.tsdn-g18 { --g: 18px !important; }
.tsdn .row.tsdn-g24 { --g: 24px !important; }
.tsdn .row.tsdn-g12 > .col, .tsdn .row.tsdn-g18 > .col, .tsdn .row.tsdn-g24 > .col { padding: 0 calc(var(--g) / 2) var(--g); }
.tsdn [class*="tsdn-sec"] .section-content > .row:last-child { margin-bottom: calc(var(--g) * -1); }
.tsdn .row.tsdn-stretch > .col > .col-inner, .tsdn .row.tsdn-stretch > .col > .col-inner > * { height: 100%; }
.tsdn .row.tsdn-center { align-items: center; }
.tsdn .row > .col:has(> .col-inner > .tsdn-heading:only-child) { padding-bottom: 0; }
.tsdn .tsdn-heading[id], .tsdn [id].tsdn-rail, .tsdn [id].tsdn-prices { scroll-margin-top: 100px; }
.tsdn .tsdn-p { margin: 0 0 18px; font-size: 16px; line-height: 1.7; color: var(--tsdn-text-2); text-wrap: pretty; }

/* ---------- Ô giữ chỗ ảnh ---------- */
.tsdn-ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 80px; padding: 12px; background: repeating-linear-gradient(135deg, #e6ecf5 0 12px, #eef3fb 12px 24px); color: var(--tsdn-muted); font-size: 13px; text-align: center; }

/* ---------- Vòng icon gradient ---------- */
.tsdn-orb { position: relative; z-index: 1; display: block; width: var(--orb, var(--orb-base, 56px)); height: var(--orb, var(--orb-base, 56px)); flex: none; padding: 4px; border-radius: 50%; background: #fff; box-shadow: 0 12px 24px -10px rgba(13, 67, 176, .5); }
.tsdn-orb__in { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--tsdn-orb-grad); color: #fff; box-shadow: inset 0 2px 4px rgba(255, 255, 255, .45), inset 0 -4px 8px rgba(5, 20, 70, .35); }
.tsdn-orb__in .tsdn-icon { filter: drop-shadow(0 2px 3px rgba(5, 20, 70, .4)); }
.tsdn-orb__dot { position: absolute; top: 1px; right: 1px; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: var(--tsdn-yellow); box-shadow: 0 2px 6px rgba(255, 160, 0, .5); }

/* ---------- Nút ---------- */
.tsdn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 50px; padding: 0 24px; border: 1.5px solid transparent; border-radius: 999px; font: 700 15px/1 var(--tsdn-font); letter-spacing: 0; text-transform: none; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.tsdn-btn:hover { text-decoration: none; }
.tsdn-btn--sm { height: 46px; padding: 0 20px; }
.tsdn-btn--md { height: 54px; padding: 0 28px; font-size: 16px; }
.tsdn-btn--lg { height: 56px; padding: 0 28px; font-size: 18px; gap: 16px; }
.tsdn-btn--ring { padding-right: 8px; gap: 14px; }
.tsdn-btn--lg.tsdn-btn--ring { padding-left: 30px; }
.tsdn-btn__ring { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); color: #fff; }
.tsdn-btn--md .tsdn-btn__ring { width: 36px; height: 36px; }
.tsdn-btn--lg .tsdn-btn__ring { width: 40px; height: 40px; }
.tsdn-btn--primary { background: var(--tsdn-cta); color: #fff; }
.tsdn-btn--primary:hover, .tsdn-btn--primary:focus-visible { background: var(--tsdn-cta-h); color: #fff; }
.tsdn-btn--glow { box-shadow: 0 12px 28px -12px rgba(21, 89, 214, .7); }
.tsdn-btn--outline { border-color: var(--tsdn-navy); background: rgba(255, 255, 255, .9); color: var(--tsdn-navy); }
.tsdn-btn--outline:hover, .tsdn-btn--outline:focus-visible { background: var(--tsdn-tint); border-color: var(--tsdn-blue); color: var(--tsdn-navy); }
.tsdn-btn--outline .tsdn-btn__ring { background: var(--tsdn-navy); }
.tsdn-btn--dark { background: var(--tsdn-navy); color: #fff; }
.tsdn-btn--dark:hover, .tsdn-btn--dark:focus-visible { background: var(--tsdn-navy-2); color: #fff; }
.tsdn-btn--soft { background: var(--tsdn-tint); color: var(--tsdn-link); }
.tsdn-btn--soft:hover { background: var(--tsdn-cta); color: #fff; }
.tsdn-btn--ghost-light { border-color: rgba(255, 255, 255, .7); background: transparent; color: #fff; padding: 0 22px; }
.tsdn-btn--ghost-light:hover, .tsdn-btn--ghost-light:focus-visible { background: #fff; color: var(--tsdn-link); }
.tsdn-btn--block { display: flex; width: 100%; }
.tsdn-btn-wrap { display: flex; margin: 8px 0 0; }
.tsdn-rail + .tsdn-btn-wrap { margin-top: 32px; }
.tsdn-btn-wrap--center { justify-content: center; }
.tsdn-ring { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--tsdn-blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(21, 89, 214, .7); }

/* ---------- Tiêu đề khối ---------- */
.tsdn-heading { display: flex; flex-direction: column; gap: 16px; }
.tsdn-heading--center { align-items: center; text-align: center; }
.tsdn-heading--center .tsdn-heading__main { align-items: center; max-width: 680px; }
.tsdn-heading--split { flex-direction: row; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: flex-end; }
.tsdn-heading__main { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.tsdn-heading__text { margin: 6px 0 0; font-size: 15.5px; line-height: 1.65; color: var(--tsdn-muted); text-wrap: pretty; }
.tsdn-heading--mb-none { margin-bottom: 0; }
.tsdn-heading--mb-sm { margin-bottom: 22px; }
.tsdn-heading--mb-md { margin-bottom: 40px; }
.tsdn-heading--mb-lg { margin-bottom: clamp(36px, 4vw, 48px); }
.tsdn-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--tsdn-link); text-transform: uppercase; line-height: 1.4; }
.tsdn .tsdn-title { margin: 0; padding: 0; font-family: var(--tsdn-font); font-weight: 800; letter-spacing: -.02em; color: var(--tsdn-navy); text-wrap: balance; }
.tsdn .tsdn-title--lg { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; }
.tsdn .tsdn-title--md { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; }
.tsdn .tsdn-title--sm { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
.tsdn-ybar { display: block; width: 56px; height: 4px; margin-top: 6px; border-radius: 999px; background: var(--tsdn-yellow); }

/* ---------- Hero ---------- */
.tsdn-hero { position: relative; display: flex; align-items: center; min-height: max(44vw, 560px); }
.tsdn-hero__media { position: absolute; inset: 0; z-index: 1; }
.tsdn-hero__media img, .tsdn-hero__media .tsdn-ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.tsdn-hero__media::before, .tsdn-hero__media::after { content: ''; position: absolute; left: 0; right: 0; pointer-events: none; }
.tsdn-hero__media::before { top: 0; bottom: 0; background: linear-gradient(90deg, rgba(245, 248, 253, .85) 0%, rgba(245, 248, 253, .55) 25%, rgba(245, 248, 253, 0) 42%); }
.tsdn-hero__media::after { bottom: -1px; height: 26%; background: linear-gradient(0deg, #f3f7fd 0%, rgba(243, 247, 253, .7) 35%, rgba(243, 247, 253, 0) 100%); }
.tsdn-hero__body { position: relative; z-index: 2; width: 100%; max-width: calc(1520px + 2 * var(--tsdn-pad)); margin: 0 auto; padding: clamp(130px, 11vw, 156px) var(--tsdn-pad) clamp(80px, 8vw, 120px); }
.tsdn-hero__inner { max-width: 600px; }
.tsdn-hero__copy { display: flex; flex-direction: column; gap: 16px; }
.tsdn-hero__stats, .tsdn-hero__mtext { display: none; }
.tsdn .tsdn-hero__title { margin: 0; padding: 0; font-family: var(--tsdn-font); font-size: clamp(32px, 3.8vw, 50px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--tsdn-navy); }
.tsdn-hero__text { margin: 0; max-width: 480px; font-size: 16px; font-weight: 500; line-height: 1.6; color: #2b3550; text-wrap: pretty; text-shadow: 0 0 12px rgba(255, 255, 255, .9), 0 0 2px rgba(255, 255, 255, .9); }
.tsdn-hero__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.tsdn-hero .tsdn-btn--outline { justify-content: space-between; gap: 18px; padding-right: 8px; }

/* ---------- Thẻ dịch vụ ---------- */
.tsdn-svc { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 0 0 18px; overflow: hidden; border: 1px solid var(--tsdn-line); border-radius: 16px; background: #fff; text-decoration: none; box-shadow: 0 14px 36px -22px rgba(10, 42, 120, .35); transition: transform .2s, box-shadow .2s; }
.tsdn-svc:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -18px rgba(10, 42, 120, .45); text-decoration: none; }
.tsdn-svc__media { display: block; width: 100%; aspect-ratio: 5 / 4; overflow: hidden; background: #e6ecf5; }
.tsdn-svc__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tsdn-svc .tsdn-orb { margin-top: -30px; box-shadow: 0 14px 28px -10px rgba(13, 67, 176, .55), 0 0 0 6px rgba(255, 255, 255, .55); }
.tsdn-svc__name { display: flex; align-items: center; min-height: 2.7em; margin-top: 14px; padding: 0 10px; font-size: 15px; font-weight: 800; line-height: 1.35; color: var(--tsdn-link); text-align: center; text-transform: uppercase; text-wrap: balance; }

/* ---------- Ảnh kèm huy hiệu + đặc điểm ---------- */
.tsdn-imgbadge { position: relative; padding-bottom: 28px; }
.tsdn-imgbadge__media { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; }
.tsdn-imgbadge__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tsdn-imgbadge__badge { position: absolute; right: clamp(12px, 3vw, 28px); bottom: 0; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 16px; background: #fff; color: var(--tsdn-blue); box-shadow: 0 18px 40px -18px rgba(10, 42, 120, .35); }
.tsdn-imgbadge__badge > span { display: flex; flex-direction: column; line-height: 1.25; }
.tsdn-imgbadge__badge strong { font-size: 30px; font-weight: 800; color: var(--tsdn-navy); }
.tsdn-imgbadge__badge > span > span { font-size: 13.5px; color: var(--tsdn-muted); }
.tsdn .tsdn-features { list-style: none; margin: 4px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.tsdn .tsdn-feature { display: flex; flex-direction: column; gap: 6px; margin: 0; color: var(--tsdn-blue); }
.tsdn-feature strong { font-size: 15.5px; line-height: 1.35; color: var(--tsdn-navy); }
.tsdn-feature span { font-size: 13.5px; line-height: 1.4; color: var(--tsdn-muted); }

/* ---------- Vì sao chọn: ảnh tròn + 6 chip ---------- */
.tsdn-why { display: grid; gap: 24px; align-items: stretch; }
.tsdn-why__img { position: relative; justify-self: center; width: min(100%, 340px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #e6ecf5; box-shadow: 0 0 0 8px #fff, 0 20px 50px -20px rgba(10, 42, 120, .45); }
.tsdn-why__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tsdn .tsdn-why__list { display: contents; list-style: none; margin: 0; padding: 0; }
.tsdn .tsdn-why__item { display: flex; gap: 16px; align-items: flex-start; margin: 0; padding: 18px 22px 18px 14px; border: 1px solid var(--tsdn-line); border-radius: 999px; background: #fff; box-shadow: var(--tsdn-shadow); }
.tsdn-why__tx { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tsdn-why__tx strong { font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--tsdn-navy); }
.tsdn-why__tx span { font-size: 14.5px; line-height: 1.6; color: var(--tsdn-muted); text-wrap: pretty; }
.tsdn-why__s { display: none; }
@media (min-width: 640px) { .tsdn-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tsdn-why__img { grid-column: 1 / -1; margin-bottom: 12px; } }
@media (min-width: 1100px) {
	.tsdn-why { grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 400px) minmax(0, 1fr); gap: 24px 32px; }
	.tsdn-why__img { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 100%; margin: 0 8px; box-shadow: 0 0 0 10px #fff, 0 24px 60px -20px rgba(10, 42, 120, .45); outline: 2px dashed #b9cbeb; outline-offset: 22px; }
	.tsdn .tsdn-why__item { align-items: center; padding: 14px 26px 14px 14px; white-space: nowrap; }
	/* 3 chip đầu cột trái (chữ canh phải, icon bên phải), 3 chip sau cột phải; chip trên/dưới dịch 44px về phía ảnh thành vòng cung. */
	.tsdn .tsdn-why__item:nth-child(-n+3) { grid-column: 1; flex-direction: row-reverse; text-align: right; padding: 14px 14px 14px 26px; }
	.tsdn .tsdn-why__item:nth-child(n+4) { grid-column: 3; }
	/* Gán hàng rõ ràng: để tự xếp thì cột phải bắt đầu từ hàng 3 (sau chip cuối cột trái) nên bị tụt xuống. */
	.tsdn .tsdn-why__item:nth-child(1), .tsdn .tsdn-why__item:nth-child(4) { grid-row: 1; }
	.tsdn .tsdn-why__item:nth-child(2), .tsdn .tsdn-why__item:nth-child(5) { grid-row: 2; }
	.tsdn .tsdn-why__item:nth-child(3), .tsdn .tsdn-why__item:nth-child(6) { grid-row: 3; }
	.tsdn .tsdn-why__item:nth-child(1), .tsdn .tsdn-why__item:nth-child(3) { transform: translateX(44px); }
	.tsdn .tsdn-why__item:nth-child(4), .tsdn .tsdn-why__item:nth-child(6) { transform: translateX(-44px); }
	.tsdn .tsdn-why__item:nth-child(1), .tsdn .tsdn-why__item:nth-child(4) { align-self: start; }
	.tsdn .tsdn-why__item:nth-child(2), .tsdn .tsdn-why__item:nth-child(5) { align-self: center; }
	.tsdn .tsdn-why__item:nth-child(3), .tsdn .tsdn-why__item:nth-child(6) { align-self: end; }
	.tsdn .tsdn-why__item:nth-child(n+4) .tsdn-why__tx { align-items: flex-start; }
	.tsdn .tsdn-why__item:nth-child(-n+3) .tsdn-why__tx { align-items: flex-end; }
}

/* ---------- Bảng giá ---------- */
.tsdn-prices__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; align-items: start; }
.tsdn-price { overflow: hidden; border: 1px solid var(--tsdn-line); border-radius: 20px; background: #fff; box-shadow: var(--tsdn-shadow); }
.tsdn-price__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; background: var(--tsdn-navy); color: #fff; }
.tsdn .tsdn-price__head h3 { margin: 0; font-size: 18px; font-weight: 800; color: #fff; }
.tsdn-price__head span { flex: none; font-size: 13px; color: #c9d6f2; white-space: nowrap; }
.tsdn .tsdn-price__rows { list-style: none; margin: 0 0 -1px; padding: 6px 24px; }
.tsdn .tsdn-price__rows li { display: flex; align-items: baseline; gap: 12px; margin: 0; padding: 14px 0; border-bottom: 1px dashed var(--tsdn-dash); }
.tsdn-price__rows li span { flex: 1; min-width: 0; font-size: 15.5px; color: var(--tsdn-text); }
.tsdn-price__rows li strong { flex: none; font-size: 15.5px; font-weight: 800; color: var(--tsdn-cta); white-space: nowrap; }
.tsdn-prices__tabs { display: none; }

/* ---------- Dải thẻ: lưới desktop / vuốt ngang điện thoại ---------- */
.tsdn-rail { display: grid; gap: 24px 20px; }
.tsdn-rail--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tsdn-rail--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tsdn-rail--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tsdn-rail > * { min-width: 0; }
@media (max-width: 1099px) and (min-width: 640px) {
	.tsdn-rail--md2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tsdn-rail--md3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
	.tsdn-rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; gap: 14px; margin: 0 calc(var(--tsdn-pad) * -1); padding: 26px var(--tsdn-pad) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--tsdn-pad); scrollbar-width: none; }
	.tsdn-rail::-webkit-scrollbar { display: none; }
	.tsdn-rail--m72 { grid-auto-columns: 72%; }
	.tsdn-rail--m86 { grid-auto-columns: 86%; }
	.tsdn-rail > * { scroll-snap-align: start; }
}

/* ---------- Bước quy trình ---------- */
.tsdn-step { position: relative; display: flex; flex-direction: column; height: 100%; counter-increment: tsdn-step; border: 1px solid var(--tsdn-line); border-radius: 22px; background: #fff; box-shadow: 0 18px 44px -30px rgba(10, 42, 120, .45); transition: transform .2s, box-shadow .2s; }
.tsdn-rail { counter-reset: tsdn-step; }
.tsdn-step:hover { transform: translateY(-4px); box-shadow: var(--tsdn-shadow-h); }
.tsdn-step__media { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 21px 21px 0 0; overflow: hidden; background: var(--tsdn-img); }
.tsdn-step__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tsdn-step__dot { position: relative; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px auto 0; border: 2px solid var(--tsdn-navy); border-radius: 50%; outline: 5px solid #fff; background: #fff; font-weight: 800; font-size: 17px; color: var(--tsdn-navy); }
.tsdn-step__dot::before { content: counter(tsdn-step, decimal-leading-zero); }
.tsdn-step:last-child .tsdn-step__dot { background: var(--tsdn-blue); border-color: var(--tsdn-blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(21, 89, 214, .8); }
.tsdn-step__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 20px 26px; text-align: center; }
.tsdn .tsdn-step h3 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.3; color: var(--tsdn-navy); white-space: nowrap; }
.tsdn .tsdn-step p { margin: 0; min-height: 3.1em; font-size: 14.5px; line-height: 1.55; color: var(--tsdn-muted); text-wrap: balance; }
@media (max-width: 999px) and (min-width: 640px) {
	.tsdn-rail--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.tsdn-rail--5 > .tsdn-step:nth-child(-n+3) { grid-column: span 2; }
	.tsdn-rail--5 > .tsdn-step:nth-child(n+4) { grid-column: span 3; }
	.tsdn-rail--5 > .tsdn-step:nth-child(n+4) .tsdn-step__media { aspect-ratio: 2 / 1; }
}

/* ---------- Thẻ công trình ---------- */
.tsdn-prj { display: flex; flex-direction: column; height: 100%; padding: 10px; border: 1px solid var(--tsdn-line-2); border-radius: 20px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.tsdn-prj:hover { border-color: var(--tsdn-blue); box-shadow: 0 20px 44px -26px rgba(10, 42, 120, .4); }
.tsdn-prj__media { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.tsdn-prj__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tsdn-prj__tags { position: absolute; left: 10px; top: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.tsdn-tag { padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.3; }
/* Nhãn chữ trắng dùng xanh nút chính (#0f4cc4) thay #1559d6: chữ 13px trên #1559d6 chỉ đạt 4.3:1. */
.tsdn-tag--blue { background: var(--tsdn-cta); color: #fff; }
.tsdn-tag--light { background: rgba(255, 255, 255, .95); color: var(--tsdn-navy); }
.tsdn-prj__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 8px 6px; }
.tsdn-prj__area { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--tsdn-link); text-transform: uppercase; letter-spacing: .06em; }
.tsdn-prj__area .tsdn-icon { color: var(--tsdn-blue); }
.tsdn .tsdn-prj__title { margin: 0 0 14px; min-height: 2.6em; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--tsdn-navy); text-wrap: balance; }
.tsdn-prj__foot { display: flex; margin-top: auto; padding-top: 12px; border-top: 1px solid #e6ecf5; }
.tsdn .tsdn-prj__open { width: 100%; min-height: 44px; margin: 0; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 700 14.5px/1.3 var(--tsdn-font); color: var(--tsdn-navy); text-transform: none; letter-spacing: 0; cursor: pointer; }
.tsdn .tsdn-prj__open:hover { color: var(--tsdn-link); }

/* ---------- Nhận xét ---------- */
.tsdn .tsdn-review { position: relative; display: flex; flex-direction: column; gap: 18px; height: 100%; margin: 0; padding: 32px 28px 24px; border: 1px solid var(--tsdn-line); border-radius: 24px; background: #fff; box-shadow: 0 18px 44px -28px rgba(10, 42, 120, .4); transition: transform .2s, box-shadow .2s; }
.tsdn .tsdn-review:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -26px rgba(10, 42, 120, .45); }
.tsdn-review__badge { position: absolute; top: -22px; right: 24px; }
.tsdn-review__badge .tsdn-orb { padding: 0; box-shadow: 0 0 0 5px #fff, 0 12px 24px -10px rgba(13, 67, 176, .6); }
.tsdn-review__stars { display: flex; gap: 2px; color: var(--tsdn-yellow); }
.tsdn .tsdn-review blockquote { margin: 0; padding: 0; border: 0; font-size: 16.5px; font-style: normal; line-height: 1.7; color: var(--tsdn-text); text-wrap: pretty; }
.tsdn .tsdn-review blockquote::before, .tsdn .tsdn-review blockquote::after { display: none; }
.tsdn-review figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--tsdn-dash); }
.tsdn-review__av { width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--tsdn-tint); color: var(--tsdn-link); font-weight: 800; font-size: 16px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #dbe5f5; }
.tsdn-review__av img { width: 100%; height: 100%; object-fit: cover; }
.tsdn-review__who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tsdn-review__who strong { font-size: 15.5px; font-weight: 800; color: var(--tsdn-navy); }
.tsdn-review__who span { font-size: 13.5px; color: var(--tsdn-muted); }
.tsdn-rail:has(> .tsdn-review) { padding-top: 26px; }
@media (max-width: 1099px) and (min-width: 1000px) { .tsdn-rail--3:has(> .tsdn-review) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Hỏi đáp (Accordion của Flatsome) ---------- */
.tsdn .tsdn-faq { counter-reset: tsdn-faq; display: flex; flex-direction: column; gap: 10px; }
.tsdn .tsdn-faq .accordion-item { counter-increment: tsdn-faq; border: 1px solid var(--tsdn-line-2); border-radius: 20px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.tsdn .tsdn-faq .accordion-item:has(> .accordion-title.active) { border-color: var(--tsdn-blue); box-shadow: 0 18px 40px -26px rgba(10, 42, 120, .35); }
.tsdn .tsdn-faq .accordion-title { position: relative; display: grid; grid-template-columns: 30px 1fr 34px; align-items: center; gap: 16px; min-height: 64px; padding: 18px 20px; border: 0; font-size: 16.5px; font-weight: 700; line-height: 1.4; color: var(--tsdn-navy); text-wrap: pretty; }
.tsdn .tsdn-faq .accordion-title::before { content: counter(tsdn-faq, decimal-leading-zero); font: 500 13px 'JetBrains Mono', monospace; color: #6B7280; }
.tsdn .tsdn-faq .accordion-title.active::before { color: var(--tsdn-blue); }
.tsdn .tsdn-faq .accordion-title > span { grid-column: 2; grid-row: 1; }
.tsdn .tsdn-faq .accordion-title .toggle { position: relative; grid-column: 3; grid-row: 1; width: 34px; height: 34px; min-height: 0; margin: 0; padding: 0; border-radius: 50%; background: var(--tsdn-soft); color: var(--tsdn-navy); opacity: 1; transition: transform .25s, background-color .2s; }
.tsdn .tsdn-faq .accordion-title .toggle i { display: none; }
.tsdn .tsdn-faq .accordion-title .toggle::before, .tsdn .tsdn-faq .accordion-title .toggle::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.6px; margin: -1.3px 0 0 -7px; border-radius: 2px; background: currentColor; }
.tsdn .tsdn-faq .accordion-title .toggle::after { transform: rotate(90deg); }
.tsdn .tsdn-faq .accordion-title.active .toggle { transform: rotate(45deg); background: var(--tsdn-blue); color: #fff; }
.tsdn .tsdn-faq .accordion-inner { padding: 0 64px 20px 66px; font-size: 15px; line-height: 1.75; color: var(--tsdn-text-2); }
.tsdn .tsdn-faq .accordion-inner p { margin: 0; }

/* ---------- Thẻ bài viết ---------- */
.tsdn-art { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 10px 10px 14px; border: 1px solid var(--tsdn-line-2); border-radius: 20px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.tsdn-art:hover { border-color: var(--tsdn-blue); box-shadow: 0 20px 44px -26px rgba(10, 42, 120, .4); }
.tsdn-art__media { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; }
.tsdn-art__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tsdn .tsdn-art__title { margin: 4px 0 0; padding: 0 6px; min-height: 2.7em; font-size: 16.5px; line-height: 1.35; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tsdn .tsdn-art__title a { color: var(--tsdn-navy); text-decoration: none; }
.tsdn .tsdn-art__title a::after { content: ''; position: absolute; inset: 0; border-radius: 20px; }
.tsdn .tsdn-art__text { margin: 0; padding: 0 6px; font-size: 14.5px; line-height: 1.5; color: var(--tsdn-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tsdn-art__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 10px 6px 0; border-top: 1px solid #e6ecf5; }
.tsdn-art__cat { font-size: 12.5px; font-weight: 700; color: var(--tsdn-link); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Dải kêu gọi liên hệ ---------- */
.tsdn-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 36px); border-radius: 20px; }
.tsdn-cta__text { display: flex; flex-direction: column; gap: 4px; }
.tsdn-cta__text strong { font-size: clamp(19px, 2vw, 24px); font-weight: 800; line-height: 1.3; color: #fff; }
.tsdn-cta__text span { font-size: 15px; line-height: 1.5; color: #dde8fb; }
.tsdn-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.tsdn-cta__btns .tsdn-btn { flex: 1 1 auto; }
.tsdn-cta--navy { margin-top: clamp(32px, 4vw, 48px); background: var(--tsdn-navy); }
/* Dải xanh dùng #0f4cc4 thay #1559d6 để chữ phụ 15px đạt tương phản ≥ 4.5. */
.tsdn-cta--blue { position: relative; top: -40px; margin-bottom: -12px; background: var(--tsdn-cta); box-shadow: 0 24px 50px -28px rgba(21, 89, 214, .8); }

/* ---------- Chân trang ---------- */
.tsdn-foot-logo img { display: block; height: 48px; width: auto; }
.tsdn-foot-logo { margin-bottom: 16px; }
.tsdn .tsdn-footer .tsdn-p { font-size: 14.5px; line-height: 1.65; color: #3d4762; margin-bottom: 16px; }
.tsdn-foot-title { display: block; margin-bottom: 14px; font-size: 16px; font-weight: 700; color: var(--tsdn-navy); }
.tsdn .tsdn-footer .ux-menu-title { margin: 0 0 4px; padding: 0; border: 0; font-size: 16px; font-weight: 700; color: var(--tsdn-navy); text-transform: none; letter-spacing: 0; }
.tsdn .tsdn-footer .ux-menu-link { border: 0; }
.tsdn .tsdn-footer .ux-menu-link__link { min-height: 0; padding: 5px 0; border: 0; font-size: 14.5px; color: #3d4762; }
.tsdn .tsdn-footer .ux-menu-link__link:hover { color: var(--tsdn-blue); }
.tsdn-social { display: flex; flex-wrap: wrap; gap: 8px; }
.tsdn-social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #d9e1ee; border-radius: 12px; background: #fff; color: var(--tsdn-navy); font-weight: 800; font-size: 13px; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.tsdn-social a:hover { background: var(--tsdn-blue); border-color: var(--tsdn-blue); color: #fff; }
.tsdn .tsdn-contact ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; }
.tsdn .tsdn-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin: 0; line-height: 1.5; }
.tsdn-contact__ic { width: 20px; height: 1.5em; display: grid; place-items: center; color: var(--tsdn-blue); }
.tsdn-contact__val { min-width: 0; color: var(--tsdn-navy); font-weight: 600; overflow-wrap: anywhere; }
.tsdn-contact__val a { color: var(--tsdn-navy); }
.tsdn-contact__val a:hover { color: var(--tsdn-blue); }
.tsdn-contact__strong { font-weight: 700; }
.tsdn-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 20px 0 28px; border-top: 1px solid #cfd9ea; font-size: 13.5px; color: var(--tsdn-muted); }
.tsdn-foot-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.tsdn-foot-bottom a { color: var(--tsdn-text-2); }
.tsdn-foot-bottom a:hover { color: var(--tsdn-blue); }
.tsdn .tsdn-footer .tsdn-foot-cols { padding-top: 8px; }
.tsdn .tsdn-footer .tsdn-foot-cols > .col { padding-bottom: 36px; }

/* ---------- Header dạng viên thuốc (Header Builder của Flatsome) ---------- */
.tsdn #header .header-bg-color, .tsdn #header .header-bg-image { background: transparent !important; }
.tsdn #header .header-main { background: transparent !important; box-shadow: none !important; }
.tsdn #header .header-wrapper.stuck { box-shadow: none !important; }
.tsdn #header .top-divider { display: none; }
.tsdn #masthead .header-inner { position: relative; top: 14px; max-width: calc(100% - 2 * clamp(12px, 3vw, 24px)); height: auto; min-height: 64px; padding: 8px 8px 8px 18px; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px -14px rgba(10, 42, 120, .28); }
.tsdn #masthead #logo { width: auto !important; margin-right: clamp(16px, 2.4vw, 36px); }
.tsdn #masthead #logo img { height: 38px !important; max-height: 38px; width: auto; padding: 0; }
.tsdn #masthead .header-nav-main > li { margin: 0; }
.tsdn #masthead .header-nav-main > li > a { display: flex; align-items: center; padding: 10px; font-family: var(--tsdn-font); font-size: 15px; font-weight: 500; color: var(--tsdn-text); text-transform: none; letter-spacing: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.tsdn #masthead .header-nav-main > li > a:hover { color: var(--tsdn-blue); }
.tsdn #masthead .header-nav-main > li.active > a, .tsdn #masthead .header-nav-main > li.current-menu-item > a, .tsdn #masthead .header-nav-main > li > a.is-current { color: var(--tsdn-blue); font-weight: 700; border-bottom-color: var(--tsdn-blue); }
.tsdn #masthead .header-nav-main > li > a::before { display: none; }
.tsdn #masthead .flex-right .tsdn-btn { height: 48px; padding-left: 22px; padding-right: 10px; font-size: 15px; gap: 10px; }
.tsdn #masthead .flex-right .tsdn-btn__ring { width: 30px; height: 30px; }
.tsdn #masthead .html_top_right_text { margin: 0; }
.tsdn #masthead .nav-icon > a, .tsdn #masthead .header-nav .nav-icon > a { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid #d3dcec; border-radius: 12px; background: #fff; color: var(--tsdn-navy); }
.tsdn #masthead .nav-icon .menu-title { display: none !important; }
.tsdn #masthead .html_nav_position_text { margin: 0 8px 0 0; }
.tsdn-pill { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 10px 0 8px; border-radius: 999px; background: var(--tsdn-tint); color: var(--tsdn-navy); font-size: 12.5px; font-weight: 700; line-height: 1; white-space: nowrap; }
.tsdn-pill .tsdn-icon { color: var(--tsdn-blue); }
.tsdn #masthead .nav-icon .icon-menu { display: block; margin: 0; font-size: 20px; line-height: 1; color: var(--tsdn-navy); }
@media (min-width: 1100px) {
	.tsdn #masthead .header-inner { width: fit-content; margin: 0 auto; gap: clamp(16px, 2.4vw, 36px); }
	.tsdn #masthead .header-inner > .flex-col.flex-left, .tsdn #masthead .header-inner > .flex-col.flex-right { flex: none; }
}
@media (max-width: 1099px) { .tsdn #masthead .header-inner { width: auto; margin: 0 clamp(12px, 3vw, 24px); max-width: none; } }
.tsdn .mobile-sidebar .nav-sidebar > li > a { font-family: var(--tsdn-font); font-size: 16px; font-weight: 600; color: var(--tsdn-navy); text-transform: none; letter-spacing: 0; }
.tsdn .mobile-sidebar .tsdn-btn { margin: 14px 20px 0; display: flex; }

/* ---------- Thanh đáy kiểu app (tablet + điện thoại) ---------- */
.tsdn-bar { display: none; }
@media (max-width: 1099px) {
	body.tsdn { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
	.tsdn-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid #d9e1ee; background: #fff; box-shadow: 0 -8px 24px -12px rgba(10, 42, 120, .25); }
	.tsdn-bar a { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; min-height: 52px; padding: 4px 0; color: var(--tsdn-muted); font-size: 11.5px; font-weight: 600; line-height: 1; text-decoration: none; }
	.tsdn-bar a:hover, .tsdn-bar a:focus-visible, .tsdn-bar a.is-current { color: var(--tsdn-blue); }
	.tsdn-bar a.is-current .tsdn-icon { color: var(--tsdn-blue); }
	.tsdn-bar__item .tsdn-icon { color: var(--tsdn-navy); }
	.tsdn-bar__zalo { display: grid; place-items: center; width: 24px; height: 22px; border: 2px solid var(--tsdn-navy); border-radius: 7px; font-size: 9px; font-weight: 800; color: var(--tsdn-navy); }
	.tsdn-bar__fab { color: var(--tsdn-link); }
	.tsdn-bar__fab-btn { display: grid; place-items: center; width: 56px; height: 56px; margin-top: -26px; border: 3px solid #fff; border-radius: 50%; background: var(--tsdn-orb-grad); color: #fff; box-shadow: 0 12px 24px -8px rgba(13, 67, 176, .6); }
	.tsdn-bar__fab span:last-child { font-weight: 800; }
}

/* ---------- Cửa sổ chi tiết công trình ---------- */
.tsdn-modal { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 16px; background: rgba(6, 28, 85, .6); }
.tsdn-modal[hidden] { display: none; }
.tsdn-modal__dialog { width: min(920px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); border-radius: 20px; background: #fff; outline: 0; }
.tsdn-modal__media { position: relative; min-height: 300px; }
.tsdn-modal__media img, .tsdn-modal__media .tsdn-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tsdn-modal__body { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px; }
.tsdn .tsdn-modal__close { align-self: flex-end; width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; display: grid; place-items: center; border: 1.5px solid #d3dcec; border-radius: 50%; background: #fff; color: var(--tsdn-navy); cursor: pointer; }
.tsdn .tsdn-modal__title { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.25; color: var(--tsdn-navy); }
.tsdn-modal__detail { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.tsdn .tsdn-modal__dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 10px 14px; font-size: 14.5px; }
.tsdn .tsdn-modal__dl dt, .tsdn .tsdn-modal__dl dd { display: block; margin: 0; padding: 0; text-transform: none; opacity: 1; font-size: 14.5px; letter-spacing: 0; }
.tsdn .tsdn-modal__dl dt { color: var(--tsdn-muted); font-weight: 400; }
.tsdn .tsdn-modal__dl dd { color: var(--tsdn-navy); font-weight: 600; }
.tsdn .tsdn-modal__scope { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--tsdn-text-2); }
.tsdn-modal__quote { margin-top: auto; height: 50px; border-radius: 12px; }
body.tsdn-lock { overflow: hidden; }

/* ==========================================================================
   Tablet (640–1099)
   ========================================================================== */
@media (max-width: 1099px) {
	.tsdn-hero__media::before { background: linear-gradient(90deg, rgba(245, 248, 253, .92) 0%, rgba(245, 248, 253, .75) 45%, rgba(245, 248, 253, 0) 70%); }
	.tsdn .tsdn-faq .accordion-inner { padding: 0 20px 20px; }
	/* Lưới Flatsome đổi cột ở 850px; thiết kế muốn 3 thẻ dịch vụ mỗi hàng tới 1099px. */
	.tsdn .row.tsdn-svcs > .col { flex-basis: 33.333%; max-width: 33.333%; }
}

/* ==========================================================================
   Điện thoại (<640) — kiểu app
   ========================================================================== */
@media (max-width: 639px) {
	/* Header phẳng trên ảnh (không khung trắng nổi); khi cuộn (Flatsome thêm .stuck) mới đổ nền trắng. */
	.tsdn #masthead .header-inner { top: 0; margin: 0; max-width: none; min-height: 60px; padding: 6px 12px; border-radius: 0; background: transparent; box-shadow: none; }
	.tsdn #header .header-wrapper.stuck .header-inner { background: #fff; box-shadow: 0 6px 20px -12px rgba(10, 42, 120, .25); }
	.tsdn #masthead #logo img { max-width: 128px; }
	/* Hero kiểu app: dùng CHÍNH ảnh nền máy tính, canh theo điểm nhìn --tsdn-focus; chữ trái, 1 nút; thẻ 3 huy hiệu bên dưới. */
	.tsdn-hero { display: block; min-height: 0; }
	/* Ảnh phóng 115% và kéo lên 29px để đỉnh mũ thợ (27% chiều cao ảnh) ngang tiêu đề khi hero cao 356px; phần dư phía dưới bị thẻ huy hiệu che. */
	.tsdn-hero__media { overflow: hidden; }
	.tsdn-hero__media img { position: absolute; top: -29px; left: 0; width: 100%; height: 115%; object-position: var(--tsdn-focus, 70%) center; }
	/* Ảnh giờ định vị tuyệt đối nên lớp mờ cho chữ phải nằm trên ảnh. */
	.tsdn-hero__media::before { z-index: 1; }
	.tsdn-hero__media::before { background: linear-gradient(90deg, rgba(238, 244, 255, .96) 0%, rgba(238, 244, 255, .9) 40%, rgba(238, 244, 255, .35) 62%, rgba(238, 244, 255, 0) 80%); }
	/* Mép dưới ảnh mờ dần vào nền trang để không lộ đường cắt ngang. */
	.tsdn-hero__media::after { display: block; z-index: 1; height: 70px; background: linear-gradient(0deg, #f5f8fd 0%, rgba(245, 248, 253, .55) 45%, rgba(245, 248, 253, 0) 100%); }
	/* Tiêu đề bám sát dưới header; thẻ huy hiệu đẩy xuống đáy hero (cao tối thiểu 430px). */
	.tsdn-hero__body { display: flex; flex-direction: column; min-height: 356px; padding: 82px 16px 0; }
	/* Khoảng thở giữa thẻ huy hiệu và tiêu đề "Dịch vụ nổi bật". */
	.tsdn .section.tsdn-sec-hero .tsdn-hero + .row { margin-top: 62px; }
	.tsdn-hero__inner { max-width: none; }
	.tsdn-hero__copy { gap: 10px; max-width: 62%; padding-bottom: 22px; }
	.tsdn .tsdn-hero__title { font-size: 25px; line-height: 1.12; }
	.tsdn-hero__text { display: none; }
	.tsdn-hero__mtext { display: block; margin: 0; font-size: 13px; line-height: 1.5; color: #2b3550; text-wrap: pretty; text-shadow: 0 0 8px rgba(238, 244, 255, .9); }
	.tsdn-hero__btns { gap: 0; }
	.tsdn-hero__btns .tsdn-btn--outline { display: none; }
	.tsdn-hero__btns .tsdn-btn--primary { align-self: flex-start; height: 46px; padding: 0 20px; font-size: 14.5px; gap: 8px; }
	.tsdn-hero__btns .tsdn-btn--primary .tsdn-icon { width: 18px; height: 18px; }
	.tsdn .tsdn-hero__stats { position: relative; z-index: 2; display: flex; justify-content: space-evenly; align-items: center; gap: 4px; list-style: none; margin: auto 0 -26px; padding: 10px 6px; border-radius: 16px; background: #fff; box-shadow: 0 14px 36px -24px rgba(10, 42, 120, .35); }
	.tsdn .tsdn-hero__stats li { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 11.5px; font-weight: 700; line-height: 1.25; color: var(--tsdn-navy); }
	.tsdn-hero__stats .tsdn-orb { --orb: 30px; padding: 3px; box-shadow: none; }
	/* Điện thoại hẹp (≤ 360px): giấu chữ pill khu vực (còn icon), huy hiệu xếp dọc. */
	@media (max-width: 360px) { .tsdn-pill span { display: none; } .tsdn-pill { padding: 0 10px; } .tsdn .tsdn-hero__title { font-size: 23px; } .tsdn .tsdn-hero__stats li { flex-direction: column; text-align: center; gap: 4px; } }
	/* Dịch vụ nổi bật: 3 ô mỗi hàng (ô ~110px) — icon và chữ thu nhỏ theo. */
	.tsdn .row.tsdn-svcs { --g: 10px !important; }
	.tsdn .row.tsdn-svcs > .col { flex-basis: 33.333%; max-width: 33.333%; }
	.tsdn-svc { padding-bottom: 12px; border-radius: 14px; }
	.tsdn-svc .tsdn-orb { --orb: 44px; margin-top: -22px; padding: 3px; box-shadow: 0 10px 20px -8px rgba(13, 67, 176, .55), 0 0 0 4px rgba(255, 255, 255, .55); }
	.tsdn-svc .tsdn-orb__in .tsdn-icon { width: 18px; height: 18px; }
	.tsdn-svc .tsdn-orb__dot { width: 10px; height: 10px; }
	.tsdn-svc__name { margin-top: 8px; padding: 0 6px; font-size: 12.5px; line-height: 1.3; min-height: 2.6em; }
	.tsdn .tsdn-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.tsdn .tsdn-feature { align-items: center; text-align: center; }
	.tsdn-feature strong { font-size: 14px; }
	.tsdn-feature span { font-size: 12.5px; }
	.tsdn-imgbadge__badge { padding: 12px 16px; gap: 10px; }
	.tsdn-imgbadge__badge strong { font-size: 24px; }
	/* Vì sao chọn: ảnh tròn giữa, 3 chip gọn mỗi bên (icon + 1 dòng chữ ngắn), như bản mẫu app. */
	.tsdn-why { display: grid; grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr); grid-template-rows: repeat(3, auto); gap: 8px 6px; align-items: center; }
	.tsdn-why__img { grid-column: 2; grid-row: 1 / span 3; width: 104px; margin: 0; box-shadow: 0 0 0 5px #fff, 0 16px 36px -18px rgba(10, 42, 120, .45); }
	.tsdn .tsdn-why__list { display: contents; }
	.tsdn .tsdn-why__item { gap: 5px; align-items: center; padding: 7px 6px; border-radius: 14px; box-shadow: 0 10px 24px -18px rgba(10, 42, 120, .35); }
	.tsdn .tsdn-why__item:nth-child(-n+3) { grid-column: 1; }
	.tsdn .tsdn-why__item:nth-child(n+4) { grid-column: 3; }
	.tsdn .tsdn-why__item:nth-child(1), .tsdn .tsdn-why__item:nth-child(4) { grid-row: 1; }
	.tsdn .tsdn-why__item:nth-child(2), .tsdn .tsdn-why__item:nth-child(5) { grid-row: 2; }
	.tsdn .tsdn-why__item:nth-child(3), .tsdn .tsdn-why__item:nth-child(6) { grid-row: 3; }
	.tsdn-why__item .tsdn-orb { --orb: 26px; padding: 3px; box-shadow: none; }
	.tsdn-why__tx { gap: 0; }
	.tsdn-why__tx strong { font-size: 11.5px; line-height: 1.2; }
	.tsdn-why__tx span { display: none; }
	.tsdn-why__s { display: block; }
	.tsdn-why__tx:has(.tsdn-why__s) .tsdn-why__t { display: none; }
	/* Nút đơn lẻ (vd "Xem thêm về chúng tôi") canh giữa trên điện thoại. */
	.tsdn-btn-wrap--left { justify-content: center; }
	/* Quy trình: thẻ trắng xếp dọc — ảnh trái, số đè góc trên-trái ảnh, chữ phải (như mẫu). */
	.tsdn-rail:has(> .tsdn-step) { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
	.tsdn .tsdn-step { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; height: auto; padding: 10px; border: 1px solid var(--tsdn-line); border-radius: 16px; background: #fff; box-shadow: var(--tsdn-shadow); scroll-snap-align: none; }
	.tsdn .tsdn-step:hover { transform: none; box-shadow: var(--tsdn-shadow); }
	.tsdn-step__media { grid-column: 1; grid-row: 1; aspect-ratio: 1; border-radius: 12px; }
	.tsdn .tsdn-step__dot { position: absolute; left: 2px; top: 2px; grid-area: auto; width: 34px; height: 34px; margin: 0; border: 2px solid #fff; outline: 0; background: var(--tsdn-blue); color: #fff; font-size: 12px; box-shadow: 0 6px 14px -6px rgba(21, 89, 214, .7); }
	.tsdn-step__body { grid-column: 2; grid-row: 1; gap: 4px; padding: 0 4px 0 0; text-align: left; }
	.tsdn .tsdn-step h3 { font-size: 16px; white-space: normal; }
	.tsdn .tsdn-step p { min-height: 0; font-size: 13.5px; line-height: 1.5; text-wrap: pretty; }
	/* Công trình: lưới 2 cột, thẻ gọn. */
	.tsdn-rail:has(> .tsdn-prj) { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
	.tsdn-prj { padding: 6px; border-radius: 14px; }
	.tsdn-prj__media { border-radius: 10px; }
	.tsdn-prj__tags { left: 6px; top: 6px; right: 6px; gap: 4px; }
	.tsdn-tag { padding: 3px 7px; font-size: 10.5px; }
	.tsdn-prj__body { gap: 4px; padding: 10px 4px 2px; }
	.tsdn-prj__area { font-size: 11px; }
	.tsdn .tsdn-prj__title { margin-bottom: 8px; min-height: 2.6em; font-size: 14px; }
	.tsdn-prj__foot { padding-top: 8px; }
	.tsdn .tsdn-prj__open { min-height: 36px; font-size: 12.5px; }
	.tsdn-prj .tsdn-ring { width: 30px; height: 30px; }
	/* Tiêu đề hai bên có nút (Mẹo & kiến thức): main.js dời nút xuống DƯỚI dải thẻ trên điện thoại. */
	.tsdn-heading__side--below { display: flex; justify-content: center; align-items: center; max-width: none; margin-top: 20px; }
	/* Bảng giá: 2 tab. */
	.tsdn-prices__tabs { display: flex; gap: 6px; margin-bottom: 14px; padding: 4px; border-radius: 999px; background: var(--tsdn-soft); }
	.tsdn .tsdn-prices__tab { flex: 1; height: 42px; margin: 0; padding: 0; border: 0; border-radius: 999px; background: transparent; font: 700 14.5px/1 var(--tsdn-font); color: var(--tsdn-muted); text-transform: none; letter-spacing: 0; cursor: pointer; }
	.tsdn .tsdn-prices__tab[aria-selected="true"] { background: #fff; color: var(--tsdn-navy); box-shadow: 0 6px 16px -10px rgba(10, 42, 120, .4); }
	.tsdn-prices--tabbed .tsdn-price { display: none; }
	.tsdn-prices--tabbed .tsdn-price.is-active { display: block; }
	.tsdn-price__rows li span, .tsdn-price__rows li strong { font-size: 14.5px; }
	.tsdn .tsdn-faq .accordion-title { grid-template-columns: 26px 1fr 34px; gap: 12px; padding: 16px; font-size: 15.5px; }
	.tsdn .tsdn-step h3 { font-size: 17px; }
	.tsdn .tsdn-review { padding: 28px 22px 20px; }
	.tsdn-cta--blue { top: -28px; margin-bottom: 0; }
	.tsdn-cta__btns { width: 100%; }
	.tsdn-foot-bottom { flex-direction: column; }
}

/* Điện thoại hẹp (≤360px): "Vì sao chọn" đưa ảnh lên trên, 6 chip thành 2 cột — đặt cuối tệp để thắng khối ≤639. */
@media (max-width: 360px) { .tsdn-why { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; } .tsdn-why__img { grid-column: 1 / -1; grid-row: 1; width: 140px; justify-self: center; margin-bottom: 10px; } .tsdn .tsdn-why__item:nth-child(-n+3) { grid-column: 1; } .tsdn .tsdn-why__item:nth-child(n+4) { grid-column: 2; } .tsdn .tsdn-why__item:nth-child(1), .tsdn .tsdn-why__item:nth-child(4) { grid-row: 2; } .tsdn .tsdn-why__item:nth-child(2), .tsdn .tsdn-why__item:nth-child(5) { grid-row: 3; } .tsdn .tsdn-why__item:nth-child(3), .tsdn .tsdn-why__item:nth-child(6) { grid-row: 4; } }
