/*
 * Tân Vinh Mỹ service detail and archive.
 * All page-specific rules stay scoped to the service templates.
 */

body.tanvinhmy-service-detail-view,
body.tanvinhmy-service-archive-view {
	background: var(--tvm-white, #fff);
	color: var(--tvm-ink, #18130f);
	font-family: var(--tvm-body, "Inter", Arial, sans-serif);
	overflow-x: hidden;
	overflow-x: clip;
}

.tvm-service-detail,
.tvm-service-archive {
	--tvm-service-walnut: #68401e;
	--tvm-service-walnut-deep: #2d2118;
	--tvm-service-copper: #9a612f;
	--tvm-service-soft: #f8f5f1;
	--tvm-service-line: #e6ddd3;
	--tvm-service-ease: cubic-bezier(0.22, 1, 0.36, 1);
	background: var(--tvm-white, #fff);
	color: var(--tvm-ink, #18130f);
	font-family: var(--tvm-body, "Inter", Arial, sans-serif);
	overflow-x: hidden;
	overflow-x: clip;
}

.tvm-service-detail,
.tvm-service-detail *,
.tvm-service-detail *::before,
.tvm-service-detail *::after,
.tvm-service-archive,
.tvm-service-archive *,
.tvm-service-archive *::before,
.tvm-service-archive *::after {
	box-sizing: border-box;
}

.tvm-service-detail .tvm-container,
.tvm-service-archive .tvm-container,
body.tanvinhmy-service-detail-view .tvm-site-header .th-header-inner,
body.tanvinhmy-service-archive-view .tvm-site-header .th-header-inner {
	max-width: 1200px;
	width: calc(100% - 32px);
}

body.tanvinhmy-service-detail-view .tvm-site-footer .th-footer-main-section > .elementor-container,
body.tanvinhmy-service-archive-view .tvm-site-footer .th-footer-main-section > .elementor-container,
body.tanvinhmy-service-detail-view .tvm-site-footer .th-footer-bottom-section > .elementor-container,
body.tanvinhmy-service-archive-view .tvm-site-footer .th-footer-bottom-section > .elementor-container {
	max-width: 1200px !important;
	width: calc(100% - 32px);
}

.tvm-service-detail h1,
.tvm-service-detail h2,
.tvm-service-detail h3,
.tvm-service-archive h1,
.tvm-service-archive h2,
.tvm-service-archive h3 {
	font-family: var(--tvm-display, "Inter", Arial, sans-serif);
	font-kerning: normal;
	overflow-wrap: anywhere;
	text-wrap: balance;
}

.tvm-service-detail p,
.tvm-service-archive p {
	text-wrap: pretty;
}

.tvm-service-detail__article {
	margin: 0;
}

/* Shared image-led heroes */
.tvm-service-detail__hero,
.tvm-service-archive__hero {
	align-items: stretch;
	background: var(--tvm-service-walnut-deep);
	display: grid;
	min-height: 430px;
	overflow: hidden;
	position: relative;
}

.tvm-service-detail__hero-media,
.tvm-service-detail__hero-shade,
.tvm-service-archive__hero-media,
.tvm-service-archive__hero-shade {
	inset: 0;
	position: absolute;
}

.tvm-service-detail__hero-image,
.tvm-service-archive__hero-image {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: 62% center;
	width: 100%;
}

.tvm-service-detail__hero-shade,
.tvm-service-archive__hero-shade {
	background: linear-gradient(180deg, rgba(18, 13, 10, 0.28) 0%, rgba(18, 13, 10, 0.48) 38%, rgba(18, 13, 10, 0.94) 100%);
}

.tvm-service-detail__hero-inner,
.tvm-service-archive__hero-inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 430px;
	padding-block: 24px 72px;
	position: relative;
	z-index: 1;
}

.tvm-service-detail__breadcrumb ol,
.tvm-service-archive__breadcrumb ol {
	align-items: center;
	display: flex;
	font-size: 0.8125rem;
	gap: 8px;
	list-style: none;
	margin: 0;
	overflow: hidden;
	padding: 0;
	white-space: nowrap;
}

.tvm-service-detail__breadcrumb li,
.tvm-service-archive__breadcrumb li {
	align-items: center;
	color: rgba(255, 255, 255, 0.74);
	display: inline-flex;
	gap: 8px;
	min-width: 0;
}

.tvm-service-detail__breadcrumb li:last-child,
.tvm-service-archive__breadcrumb li:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
}

.tvm-service-detail__breadcrumb li + li::before,
.tvm-service-archive__breadcrumb li + li::before {
	color: rgba(255, 255, 255, 0.48);
	content: "/";
}

.tvm-service-detail__breadcrumb a,
.tvm-service-archive__breadcrumb a {
	align-items: center;
	color: #fff;
	display: inline-flex;
	min-height: 44px;
	text-decoration: none;
	text-underline-offset: 4px;
}

.tvm-service-detail__breadcrumb a:hover,
.tvm-service-detail__breadcrumb a:focus-visible,
.tvm-service-archive__breadcrumb a:hover,
.tvm-service-archive__breadcrumb a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.tvm-service-detail__hero-copy,
.tvm-service-archive__hero-copy {
	max-width: 760px;
}

.tvm-service-detail__hero h1,
.tvm-service-archive__hero h1 {
	color: #fff;
	font-size: clamp(2.25rem, 9vw, 4.75rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.04;
	margin: 0;
	max-width: 18ch;
}

.tvm-service-detail__hero-copy > p,
.tvm-service-archive__hero-copy > p {
	color: rgba(255, 255, 255, 0.86);
	font-size: 1rem;
	line-height: 1.7;
	margin: 16px 0 0;
	max-width: 62ch;
}

/* Floating section navigation */
.tvm-service-detail__anchor-nav {
	margin-top: -32px;
	position: sticky;
	top: 12px;
	z-index: var(--tvm-z-nav, 40);
}

body.admin-bar .tvm-service-detail__anchor-nav {
	top: 58px;
}

.tvm-service-detail__anchor-scroll {
	align-items: center;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(34, 25, 18, 0.14);
	display: flex;
	gap: 4px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	padding: 8px;
	scrollbar-color: var(--tvm-bronze-light, #d5b38d) transparent;
	scrollbar-width: thin;
}

.tvm-service-detail__anchor-scroll a {
	align-items: center;
	border-radius: 999px;
	color: var(--tvm-copy, #514b45);
	display: inline-flex;
	flex: 1 0 auto;
	font-size: 0.8125rem;
	font-weight: 650;
	gap: 8px;
	justify-content: center;
	min-height: 44px;
	padding-inline: 14px;
	text-decoration: none;
	transition: background-color 200ms var(--tvm-service-ease), color 200ms var(--tvm-service-ease);
	white-space: nowrap;
}

.tvm-service-detail__anchor-scroll a:hover,
.tvm-service-detail__anchor-scroll a:focus-visible {
	background: #f7eee5;
	color: var(--tvm-button, #75491d);
}

.tvm-service-detail__anchor-scroll a.is-active {
	background: var(--tvm-button, #75491d);
	color: #fff;
}

.tvm-service-detail__anchor-scroll i {
	font-size: 0.875rem;
}

/* Shared section typography */
.tvm-service-detail__section-heading {
	margin: 0 auto clamp(28px, 5vw, 44px);
	max-width: 760px;
	text-align: center;
}

.tvm-service-detail__section-heading h2,
.tvm-service-detail__faq-heading h2,
.tvm-service-archive__intro h2 {
	color: var(--tvm-ink, #18130f);
	font-size: clamp(1.875rem, 5vw, 2.75rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.12;
	margin: 0;
}

.tvm-service-detail__section-heading p,
.tvm-service-detail__faq-heading > p,
.tvm-service-archive__intro p {
	color: var(--tvm-copy, #514b45);
	font-size: 1rem;
	line-height: 1.7;
	margin: 10px 0 0;
}

#tong-quan,
#quy-trinh,
#loi-ich,
#phong-cach,
#ho-so-thiet-ke,
#cau-hoi-thuong-gap {
	scroll-margin-top: 112px;
}

/* Overview and benefits */
.tvm-service-detail__overview {
	background: #fff;
	padding-block: clamp(72px, 10vw, 112px) clamp(64px, 9vw, 104px);
}

.tvm-service-detail__overview-grid {
	display: grid;
	gap: clamp(36px, 7vw, 72px);
}

.tvm-service-detail__overview-copy {
	min-width: 0;
}

.tvm-service-detail__section-label {
	color: var(--tvm-service-copper);
	font-size: 0.75rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	line-height: 1.35;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.tvm-service-detail__overview-copy > h2 {
	color: var(--tvm-ink, #18130f);
	font-size: clamp(2rem, 5.5vw, 3.25rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.08;
	margin: 0;
	max-width: 19ch;
}

.tvm-service-detail__prose,
.tvm-service-detail__overview-fallback {
	color: var(--tvm-copy, #514b45);
	font-size: 1rem;
	line-height: 1.75;
	margin-top: 22px;
	max-width: 68ch;
}

.tvm-service-detail__prose > :first-child {
	margin-top: 0;
}

.tvm-service-detail__prose > :last-child {
	margin-bottom: 0;
}

.tvm-service-detail__prose a {
	color: var(--tvm-button, #75491d);
	font-weight: 650;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.tvm-service-detail__benefits {
	margin-top: 34px;
}

.tvm-service-detail__benefits ul {
	display: grid;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tvm-service-detail__benefits li {
	display: grid;
	gap: 14px;
	grid-template-columns: 34px minmax(0, 1fr);
}

.tvm-service-detail__benefits li > i {
	color: var(--tvm-service-copper);
	font-size: 1.375rem;
	line-height: 1;
	padding-top: 3px;
	text-align: center;
}

.tvm-service-detail__benefits strong {
	color: var(--tvm-service-walnut);
	display: block;
	font-size: 0.9375rem;
	font-weight: 750;
	line-height: 1.4;
}

.tvm-service-detail__benefits p {
	color: var(--tvm-copy, #514b45);
	font-size: 0.875rem;
	line-height: 1.6;
	margin: 5px 0 0;
}

.tvm-service-detail__overview-media {
	align-self: start;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	margin: 0;
	overflow: hidden;
}

.tvm-service-detail__overview-image {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* Process sequence */
.tvm-service-detail__process {
	background: var(--tvm-service-soft);
	padding-block: clamp(60px, 8vw, 92px);
}

.tvm-service-detail__process-list {
	display: flex;
	gap: 0;
	list-style: none;
	margin: 0 -16px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	padding: 8px 16px 16px;
	position: relative;
	scroll-snap-type: x proximity;
	scrollbar-color: var(--tvm-bronze-light, #d5b38d) transparent;
	scrollbar-width: thin;
}

.tvm-service-detail__process-list > li {
	flex: 0 0 218px;
	padding-inline: 14px;
	position: relative;
	scroll-snap-align: start;
	text-align: center;
	z-index: 1;
}

.tvm-service-detail__process-list > li::before {
	border-top: 1px solid var(--tvm-bronze-light, #d5b38d);
	content: "";
	left: -50%;
	position: absolute;
	right: 50%;
	top: 58px;
	z-index: -1;
}

.tvm-service-detail__process-list > li:first-child::before {
	display: none;
}

.tvm-service-detail__process-number {
	color: var(--tvm-service-copper);
	display: block;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1;
	margin-bottom: 8px;
}

.tvm-service-detail__process-icon {
	align-items: center;
	background: #fff;
	border: 1px solid var(--tvm-bronze-light, #d5b38d);
	border-radius: 50%;
	color: var(--tvm-service-copper);
	display: inline-flex;
	font-size: 1.25rem;
	height: 64px;
	justify-content: center;
	width: 64px;
}

.tvm-service-detail__process-list h3 {
	color: var(--tvm-service-walnut);
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.035em;
	line-height: 1.4;
	margin: 18px 0 0;
	text-transform: uppercase;
}

.tvm-service-detail__process-list p {
	color: var(--tvm-copy, #514b45);
	font-size: 0.875rem;
	line-height: 1.6;
	margin: 8px auto 0;
	max-width: 24ch;
}

/* Style gallery */
.tvm-service-detail__styles {
	background: #fff;
	padding-block: clamp(64px, 9vw, 104px);
}

.tvm-service-detail__style-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr);
}

.tvm-service-detail__style-card {
	background: #fff;
	border: 1px solid var(--tvm-service-line);
	border-radius: 10px;
	height: 100%;
	overflow: hidden;
	scroll-snap-align: start;
}

.tvm-service-detail__style-media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.tvm-service-detail__style-image {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--tvm-service-ease);
	width: 100%;
}

.tvm-service-detail__style-copy {
	padding: 16px;
	text-align: center;
}

.tvm-service-detail__style-copy h3 {
	color: var(--tvm-service-walnut);
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.025em;
	line-height: 1.4;
	margin: 0;
	text-transform: uppercase;
}

.tvm-service-detail__style-copy p {
	color: var(--tvm-copy, #514b45);
	font-size: 0.875rem;
	line-height: 1.6;
	margin: 7px auto 0;
	max-width: 28ch;
}

/* Deliverables */
.tvm-service-detail__deliverables {
	background: var(--tvm-service-soft);
	padding-block: clamp(60px, 8vw, 92px);
}

.tvm-service-detail__deliverable-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.tvm-service-detail__deliverable-grid li {
	background: #fff;
	border: 1px solid var(--tvm-service-line);
	border-radius: 10px;
	min-height: 190px;
	padding: 28px 22px;
	text-align: center;
}

.tvm-service-detail__deliverable-grid li > i {
	color: var(--tvm-service-copper);
	font-size: 2rem;
	line-height: 1;
}

.tvm-service-detail__deliverable-grid h3 {
	color: var(--tvm-ink, #18130f);
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.025em;
	line-height: 1.4;
	margin: 18px 0 0;
	text-transform: uppercase;
}

.tvm-service-detail__deliverable-grid p {
	color: var(--tvm-copy, #514b45);
	font-size: 0.875rem;
	line-height: 1.6;
	margin: 8px auto 0;
	max-width: 30ch;
}

/* Featured projects carousel */
.tvm-service-detail__projects {
	background: #fff;
	padding-block: clamp(64px, 9vw, 104px);
}

.tvm-service-detail__projects-heading {
	align-items: end;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: clamp(28px, 5vw, 42px);
}

.tvm-service-detail__projects-heading .tvm-service-detail__section-heading {
	margin: 0;
	max-width: 700px;
	text-align: left;
}

.tvm-service-detail__carousel-controls {
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
}

.tvm-service-detail__carousel-controls button {
	align-items: center;
	background: #fff;
	border: 1px solid var(--tvm-service-line);
	border-radius: 50%;
	color: var(--tvm-button, #75491d);
	cursor: pointer;
	display: inline-flex;
	font-size: 0.75rem;
	height: 44px;
	justify-content: center;
	padding: 0;
	transition: background-color 180ms var(--tvm-service-ease), border-color 180ms var(--tvm-service-ease), color 180ms var(--tvm-service-ease);
	width: 44px;
}

.tvm-service-detail__carousel-controls button:hover,
.tvm-service-detail__carousel-controls button:focus-visible {
	background: var(--tvm-button, #75491d);
	border-color: var(--tvm-button, #75491d);
	color: #fff;
}

.tvm-service-detail__carousel-controls button:disabled {
	background: #f3efeb;
	border-color: #e8e1da;
	color: #9b928a;
	cursor: default;
}

.tvm-service-detail__projects-viewport {
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	padding: 2px 2px 14px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-color: var(--tvm-bronze-light, #d5b38d) transparent;
	scrollbar-width: thin;
}

.tvm-service-detail__projects-track {
	display: flex;
	gap: 16px;
}

.tvm-service-detail__projects-track .tvm-project-card {
	background: #fff;
	border: 1px solid var(--tvm-service-line);
	border-radius: 10px;
	box-shadow: none;
	display: flex;
	flex: 0 0 min(82vw, 320px);
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	scroll-snap-align: start;
}

.tvm-service-detail__projects-track .tvm-project-card__media-link {
	aspect-ratio: 16 / 10;
	display: block;
	overflow: hidden;
}

.tvm-service-detail__projects-track .tvm-project-card__image {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--tvm-service-ease);
	width: 100%;
}

.tvm-service-detail__projects-track .tvm-project-card__body {
	height: auto;
	min-height: 0;
	padding: 16px;
}

.tvm-service-detail__projects-track .tvm-project-card__type {
	color: var(--tvm-service-copper);
	display: block;
	font-size: 0.6875rem;
	font-weight: 750;
	letter-spacing: 0.05em;
	line-height: 1.35;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.tvm-service-detail__projects-track .tvm-project-card__title {
	font-size: 1rem;
	font-weight: 750;
	line-height: 1.4;
	margin: 0 0 7px;
}

.tvm-service-detail__projects-track .tvm-project-card__title-link {
	align-items: flex-start;
	color: var(--tvm-ink, #18130f);
	display: inline-flex;
	min-height: 44px;
	text-decoration: none;
	text-underline-offset: 3px;
}

.tvm-service-detail__projects-track .tvm-project-card__title-link:hover,
.tvm-service-detail__projects-track .tvm-project-card__title-link:focus-visible {
	color: var(--tvm-button, #75491d);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.tvm-service-detail__projects-track .tvm-project-card__meta {
	color: var(--tvm-muted, #756e67);
	display: inline;
	font-size: 0.8125rem;
	line-height: 1.5;
	margin: 0;
}

.tvm-service-detail__projects-track .tvm-project-card__meta + .tvm-project-card__meta::before {
	color: var(--tvm-bronze-light, #d5b38d);
	content: " · ";
}

.tvm-service-detail__projects-action {
	margin-top: 24px;
	text-align: center;
}

.tvm-service-detail__projects-action .tvm-button {
	min-height: 44px;
}

/* FAQ */
.tvm-service-detail__faq {
	background: var(--tvm-service-soft);
	padding-block: clamp(64px, 9vw, 104px);
}

.tvm-service-detail__faq-grid {
	display: grid;
	gap: clamp(36px, 7vw, 84px);
}

.tvm-service-detail__faq-heading {
	max-width: 440px;
}

.tvm-service-detail__faq-heading > a {
	align-items: center;
	color: var(--tvm-button, #75491d);
	display: inline-flex;
	font-size: 0.875rem;
	font-weight: 750;
	gap: 10px;
	margin-top: 22px;
	min-height: 44px;
	text-decoration: none;
}

.tvm-service-detail__faq-heading > a:hover,
.tvm-service-detail__faq-heading > a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.tvm-service-detail__faq-list {
	border-top: 1px solid var(--tvm-service-line);
}

.tvm-service-detail__faq-list details {
	border-bottom: 1px solid var(--tvm-service-line);
}

.tvm-service-detail__faq-list summary {
	align-items: center;
	color: var(--tvm-ink, #18130f);
	cursor: pointer;
	display: flex;
	font-size: 1rem;
	font-weight: 700;
	gap: 20px;
	justify-content: space-between;
	line-height: 1.45;
	list-style: none;
	min-height: 68px;
	padding-block: 16px;
}

.tvm-service-detail__faq-list summary::-webkit-details-marker {
	display: none;
}

.tvm-service-detail__faq-list summary i {
	color: var(--tvm-service-copper);
	flex: 0 0 auto;
	font-size: 0.75rem;
	transition: transform 250ms var(--tvm-service-ease);
}

.tvm-service-detail__faq-list details[open] summary i {
	transform: rotate(180deg);
}

.tvm-service-detail__faq-answer {
	color: var(--tvm-copy, #514b45);
	font-size: 1rem;
	line-height: 1.75;
	max-width: 68ch;
	padding: 0 48px 22px 0;
}

.tvm-service-detail__faq-answer > :first-child {
	margin-top: 0;
}

.tvm-service-detail__faq-answer > :last-child {
	margin-bottom: 0;
}

/* Consultation banners */
.tvm-service-detail__consultation,
.tvm-service-archive__consultation {
	background: var(--tvm-service-walnut-deep);
	color: #fff;
	min-height: 250px;
	overflow: hidden;
	position: relative;
}

.tvm-service-detail__consultation-media,
.tvm-service-detail__consultation-shade,
.tvm-service-archive__consultation-media,
.tvm-service-archive__consultation-shade {
	inset: 0;
	position: absolute;
}

.tvm-service-detail__consultation-image,
.tvm-service-archive__consultation-media img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center 62%;
	width: 100%;
}

.tvm-service-detail__consultation-shade,
.tvm-service-archive__consultation-shade {
	background: linear-gradient(90deg, rgba(26, 19, 14, 0.96) 0%, rgba(26, 19, 14, 0.87) 58%, rgba(26, 19, 14, 0.7) 100%);
}

.tvm-service-detail__consultation-inner,
.tvm-service-archive__consultation-inner {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 24px;
	justify-content: center;
	min-height: 250px;
	padding-block: 40px;
	position: relative;
	z-index: 1;
}

.tvm-service-detail__consultation-inner > div,
.tvm-service-archive__consultation-inner > div {
	max-width: 760px;
}

.tvm-service-detail__consultation h2,
.tvm-service-archive__consultation h2 {
	color: #fff;
	font-size: clamp(1.75rem, 5vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.12;
	margin: 0;
}

.tvm-service-detail__consultation p,
.tvm-service-archive__consultation p {
	color: rgba(255, 255, 255, 0.82);
	font-size: 1rem;
	line-height: 1.7;
	margin: 12px 0 0;
	max-width: 68ch;
}

.tvm-service-detail__consultation .tvm-button,
.tvm-service-archive__consultation .tvm-button {
	flex: 0 0 auto;
	min-height: 46px;
}

/* Service archive */
.tvm-service-archive__hero {
	min-height: 420px;
}

.tvm-service-archive__hero-inner {
	min-height: 420px;
}

.tvm-service-archive__body {
	background: #fff;
	padding-block: clamp(64px, 9vw, 108px);
}

.tvm-service-archive__intro {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-bottom: clamp(34px, 6vw, 56px);
}

.tvm-service-archive__intro > div {
	max-width: 720px;
}

.tvm-service-archive__intro > span {
	align-items: center;
	background: var(--tvm-service-soft);
	border-radius: 999px;
	color: var(--tvm-service-walnut);
	display: inline-flex;
	font-size: 0.8125rem;
	font-weight: 750;
	min-height: 36px;
	padding-inline: 14px;
	width: max-content;
}

.tvm-service-archive__grid {
	display: grid;
	gap: 48px 24px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}

.tvm-service-archive__grid .tvm-service-card {
	background: #fff;
	border-bottom: 1px solid var(--tvm-service-line);
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding-bottom: 24px;
}

.tvm-service-archive__grid .tvm-service-card__media {
	aspect-ratio: 16 / 10;
	border-radius: 10px;
	display: block;
	height: auto;
	margin: 0 0 30px;
	overflow: visible;
	position: relative;
}

.tvm-service-archive__grid .tvm-service-card__media-link {
	aspect-ratio: 16 / 10;
	border-radius: 10px;
	display: block;
	height: auto;
	overflow: hidden;
}

.tvm-service-archive__grid .tvm-service-card__image {
	aspect-ratio: 16 / 10;
	border-radius: 10px;
	display: block;
	height: auto;
	object-fit: cover;
	overflow: hidden;
	transition: transform 500ms var(--tvm-service-ease);
	width: 100%;
}

.tvm-service-archive__grid .tvm-service-card__icon {
	align-items: center;
	background: #fff;
	border-radius: 50%;
	bottom: -24px;
	box-shadow: 0 4px 12px rgba(46, 32, 22, 0.14);
	color: var(--tvm-service-copper);
	display: inline-flex;
	font-size: 1.25rem;
	height: 52px;
	justify-content: center;
	left: 20px;
	position: absolute;
	width: 52px;
}

.tvm-service-archive__grid .tvm-service-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	height: auto;
	min-height: 0;
	padding: 0;
}

.tvm-service-archive__grid .tvm-service-card__title {
	color: var(--tvm-ink, #18130f);
	font-size: 1.125rem;
	font-weight: 750;
	line-height: 1.4;
	margin: 0 0 8px;
}

.tvm-service-archive__grid .tvm-service-card__title a {
	align-items: flex-start;
	color: inherit;
	display: inline-flex;
	min-height: 44px;
	text-decoration: none;
	text-underline-offset: 4px;
}

.tvm-service-archive__grid .tvm-service-card__title a:hover,
.tvm-service-archive__grid .tvm-service-card__title a:focus-visible {
	color: var(--tvm-button, #75491d);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.tvm-service-archive__grid .tvm-service-card__text {
	color: var(--tvm-copy, #514b45);
	font-size: 0.9375rem;
	line-height: 1.7;
	margin: 0 0 10px;
	min-height: 0;
}

.tvm-service-archive__grid .tvm-service-card__link {
	align-items: center;
	color: var(--tvm-button, #75491d);
	display: inline-flex;
	font-size: 0.875rem;
	font-weight: 750;
	gap: 8px;
	margin-top: auto;
	min-height: 44px;
	text-decoration: none;
}

.tvm-service-archive__grid .tvm-service-card__link:hover,
.tvm-service-archive__grid .tvm-service-card__link:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.tvm-service-archive__empty {
	background: var(--tvm-service-soft);
	border-radius: 12px;
	padding: clamp(36px, 7vw, 64px) 24px;
	text-align: center;
}

.tvm-service-archive__empty > i {
	color: var(--tvm-service-copper);
	font-size: 2.5rem;
}

.tvm-service-archive__empty h3 {
	font-size: 1.5rem;
	margin: 20px 0 0;
}

.tvm-service-archive__empty p {
	color: var(--tvm-copy, #514b45);
	font-size: 1rem;
	line-height: 1.7;
	margin: 10px auto 22px;
	max-width: 58ch;
}

.tvm-service-archive__admin-link {
	align-items: center;
	color: var(--tvm-button, #75491d);
	display: inline-flex;
	font-size: 0.875rem;
	font-weight: 700;
	margin-top: 16px;
	min-height: 44px;
}

/* Focus and interaction polish */
.tvm-service-detail a:focus-visible,
.tvm-service-detail button:focus-visible,
.tvm-service-detail summary:focus-visible,
.tvm-service-detail [tabindex="0"]:focus-visible,
.tvm-service-archive a:focus-visible,
.tvm-service-archive button:focus-visible {
	outline: 3px solid var(--tvm-bronze-light, #d5b38d);
	outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
	.tvm-service-detail__style-card:hover .tvm-service-detail__style-image,
	.tvm-service-detail__projects-track .tvm-project-card:hover .tvm-project-card__image,
	.tvm-service-archive__grid .tvm-service-card:hover .tvm-service-card__image {
		transform: scale(1.035);
	}
}

@media (min-width: 640px) {
	.tvm-service-detail .tvm-container,
	.tvm-service-archive .tvm-container,
	body.tanvinhmy-service-detail-view .tvm-site-header .th-header-inner,
	body.tanvinhmy-service-archive-view .tvm-site-header .th-header-inner,
	body.tanvinhmy-service-detail-view .tvm-site-footer .th-footer-main-section > .elementor-container,
	body.tanvinhmy-service-archive-view .tvm-site-footer .th-footer-main-section > .elementor-container,
	body.tanvinhmy-service-detail-view .tvm-site-footer .th-footer-bottom-section > .elementor-container,
	body.tanvinhmy-service-archive-view .tvm-site-footer .th-footer-bottom-section > .elementor-container {
		width: calc(100% - 48px);
	}

	.tvm-service-detail__benefits ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tvm-service-detail__style-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tvm-service-detail__projects-track .tvm-project-card {
		flex-basis: calc((100% - 16px) / 2);
	}

	.tvm-service-archive__intro {
		align-items: end;
		flex-direction: row;
		justify-content: space-between;
	}
}

@media (min-width: 783px) {
	body.admin-bar .tvm-service-detail__anchor-nav {
		top: 44px;
	}
}

@media (min-width: 820px) {
	.tvm-service-detail__hero,
	.tvm-service-archive__hero {
		min-height: clamp(440px, 42vw, 540px);
	}

	.tvm-service-detail__hero-image,
	.tvm-service-archive__hero-image {
		object-position: center 56%;
	}

	.tvm-service-detail__hero-shade,
	.tvm-service-archive__hero-shade {
		background: linear-gradient(90deg, rgba(16, 12, 9, 0.93) 0%, rgba(16, 12, 9, 0.76) 38%, rgba(16, 12, 9, 0.24) 74%, rgba(16, 12, 9, 0.06) 100%);
	}

	.tvm-service-detail__hero-inner,
	.tvm-service-archive__hero-inner {
		min-height: clamp(440px, 42vw, 540px);
		padding-block: 30px clamp(58px, 7vw, 86px);
	}

	.tvm-service-detail__anchor-scroll {
		padding: 10px;
	}

	.tvm-service-detail__anchor-scroll a {
		padding-inline: 18px;
	}

	.tvm-service-detail__faq-grid {
		grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
	}

	.tvm-service-detail__consultation-inner,
	.tvm-service-archive__consultation-inner {
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
	}

	.tvm-service-detail__style-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tvm-service-detail__projects-track .tvm-project-card {
		flex-basis: calc((100% - 32px) / 3);
	}
}

@media (min-width: 1024px) {
	.tvm-service-detail__overview-grid {
		align-items: center;
		grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
	}

	.tvm-service-detail__process-list:not(.is-scrollable) {
		margin-inline: 0;
		overflow: visible;
		padding-inline: 0;
	}

	.tvm-service-detail__process-list:not(.is-scrollable) > li {
		flex: 1 1 0;
		min-width: 0;
		padding-inline: 10px;
	}

	.tvm-service-detail__style-grid {
		grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	}

	.tvm-service-detail__projects-track .tvm-project-card {
		flex-basis: calc((100% - 48px) / 4);
	}
}

@media (max-width: 419px) {
	.tvm-service-detail__hero h1,
	.tvm-service-archive__hero h1 {
		font-size: clamp(2rem, 10.5vw, 2.625rem);
	}

	.tvm-service-detail__projects-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.tvm-service-detail__faq-answer {
		padding-right: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tvm-service-detail *,
	.tvm-service-detail *::before,
	.tvm-service-detail *::after,
	.tvm-service-archive *,
	.tvm-service-archive *::before,
	.tvm-service-archive *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media (forced-colors: active) {
	.tvm-service-detail__anchor-scroll a.is-active,
	.tvm-service-detail__process-icon,
	.tvm-service-detail__carousel-controls button,
	.tvm-service-archive__intro > span {
		border: 1px solid currentColor;
	}
}
