/* Liên hệ 2027 – template-contact-2027.php, loaded after site-2027.css, blocks-2027.css and about-2027.css
   (breadcrumb and the optional editor article reuse Giới thiệu's styles). */

.vmt-ct-body {
	/* Open / online green: the logo green darkened for small text (5.4:1 on white). */
	--vmt-open: #067d2e;
}

/* ---------- Hero: copy + online channels ---------- */
.vmt-ct-hero {
	padding: clamp(36px, 6vw, 88px) 0 clamp(48px, 7vw, 96px);
	background:
		radial-gradient(55% 120% at 100% 0%, rgba(255, 68, 11, 0.1), rgba(255, 68, 11, 0) 70%),
		var(--tint);
}
.vmt-ct-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(32px, 6vw, 96px);
}
.vmt-h27 .vmt-ct-title {
	max-width: 14em;
	margin: 18px 0 18px;
	font-size: clamp(36px, 4.6vw, 60px);
	line-height: 1.08;
	letter-spacing: -0.015em;
	text-wrap: balance;
}
.vmt-ct-lead {
	max-width: 32em;
	color: var(--ink-2);
	font-size: 18px;
	line-height: 1.6;
	text-wrap: pretty;
}
.vmt-ct-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 30px;
}
.vmt-ct-text-link {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 0 6px;
	font-weight: 600;
	text-decoration: underline !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 6px;
	transition: text-underline-offset 0.25s;
}
.vmt-h27 .vmt-ct-text-link:hover {
	color: var(--accent);
	text-underline-offset: 3px;
}

/* Open / closed, worked out in the visitor's browser from the office's local time (contact-2027.js). */
.vmt-ct-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	color: var(--ink-2);
	font-size: 15px;
	font-weight: 500;
}
.vmt-ct-status::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ink-3);
}
.vmt-ct-status.is-open {
	color: var(--vmt-open);
}
.vmt-ct-status.is-open::before {
	background: var(--vmt-open);
	box-shadow: 0 0 0 4px rgba(6, 125, 46, 0.14);
}
.vmt-ct-status[hidden] {
	display: none;
}
.vmt-ct-status--sm {
	flex: none;
	margin-top: 4px;
	padding: 5px 10px;
	border-radius: 9999px;
	background: var(--tint);
	font-size: 13px;
	white-space: nowrap;
}
.vmt-ct-status--sm.is-open {
	background: rgba(6, 125, 46, 0.08);
}
.vmt-ct-status--sm.is-open::before {
	box-shadow: none;
}

/* Channels card */
.vmt-ct-channels {
	padding: clamp(20px, 2.4vw, 28px);
	border-radius: 24px;
	background: var(--surface);
	box-shadow: var(--shadow);
}
.vmt-ct-channels-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 8px 12px;
	color: var(--vmt-open);
	font-size: 14.5px;
	font-weight: 600;
}
/* The dot means "someone is answering now": online channels are staffed around the clock. */
.vmt-ct-live {
	position: relative;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--vmt-open);
}
.vmt-ct-live::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--vmt-open);
	animation: vmt-ct-live 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes vmt-ct-live {
	from {
		opacity: 0.5;
		transform: scale(1);
	}
	to {
		opacity: 0;
		transform: scale(2.6);
	}
}
.vmt-ct-channel {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px;
	border-radius: var(--radius);
	transition: background 0.25s;
}
.vmt-ct-channel:hover {
	background: var(--tint);
}
.vmt-ct-channel-icon {
	--c-bg: var(--accent);
	flex: none;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--c-bg);
	color: #fff;
	transition: transform 0.35s var(--ease);
}
.vmt-ct-channel:hover .vmt-ct-channel-icon {
	transform: scale(1.06);
}
.vmt-ct-channel-icon :is(svg, .vmt-h27-icon) {
	width: 22px;
	height: 22px;
}
.is-zalo .vmt-ct-channel-icon {
	--c-bg: #0068ff;
}
.is-messenger .vmt-ct-channel-icon {
	--c-bg: linear-gradient(45deg, #0a7cff 0%, #a033ff 55%, #ff5c87 100%);
}
.is-email .vmt-ct-channel-icon {
	--c-bg: var(--ink);
}
.vmt-ct-channel-text {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}
.vmt-ct-channel-text strong {
	color: var(--ink);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}
.vmt-ct-channel-text small {
	overflow: hidden;
	color: var(--ink-2);
	font-size: 14.5px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.is-hotline .vmt-ct-channel-text small {
	color: var(--ink);
	font-size: 16px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.vmt-ct-channel-note {
	flex: none;
	padding: 4px 10px;
	border-radius: 9999px;
	background: var(--tint);
	color: var(--ink-2);
	font-size: 13px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.vmt-ct-channel:hover .vmt-ct-channel-note {
	background: #fff;
}
.vmt-ct-socials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin: 12px 8px 0;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	color: var(--ink-2);
	font-size: 14.5px;
}
.vmt-ct-socials .vmt-h27-socials {
	margin: 0;
}
.vmt-ct-socials .vmt-h27-socials a {
	width: 38px;
	height: 38px;
	background: var(--tint);
	color: var(--ink-2);
}

/* ---------- Offices ---------- */
.vmt-ct-head {
	max-width: 40em;
	margin-bottom: clamp(24px, 3vw, 36px);
}
.vmt-ct-head p,
.vmt-ct-faq-intro p {
	margin-top: 14px;
	color: var(--ink-2);
	font-size: 17px;
	line-height: 1.65;
	text-wrap: pretty;
}

/* Hours: the office week next to the always-on online line. */
.vmt-ct-hours {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	margin-bottom: clamp(24px, 3vw, 36px);
	border-radius: var(--radius);
	background: var(--tint);
}
.vmt-ct-hours-block {
	padding: clamp(20px, 2.4vw, 28px);
	color: var(--ink-2);
	font-size: 15.5px;
	line-height: 1.6;
}
.vmt-ct-hours-block + .vmt-ct-hours-block {
	border-left: 1px solid var(--line);
}
.vmt-ct-hours-block strong {
	color: var(--ink);
	font-weight: 600;
}
.vmt-ct-hours-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
}
.vmt-ct-hours-title .vmt-h27-icon {
	width: 20px;
	height: 20px;
	color: var(--accent);
}
.vmt-ct-week {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}
.vmt-ct-week li {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
}
.vmt-ct-week li.is-off {
	background: transparent;
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--ink-3);
}
.vmt-ct-week li.is-today {
	background: var(--accent);
	color: #fff;
}
.vmt-ct-week li.is-off.is-today {
	background: var(--ink-3);
	box-shadow: none;
	color: #fff;
}
/* The whole week, so visitors see every day's hours at once; today's row is marked like today's chip. */
.vmt-ct-schedule {
	display: grid;
	gap: 2px;
	max-width: 360px;
	margin: 0;
}
.vmt-ct-schedule div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0 -10px;
	padding: 6px 10px;
	border-radius: var(--radius-sm);
	transition: background 0.25s;
}
.vmt-ct-schedule :is(dt, dd) {
	margin: 0;
	color: var(--ink-2);
	font-size: 15.5px;
	font-weight: 400;
}
.vmt-ct-schedule dd {
	color: var(--ink);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.vmt-ct-schedule .is-off dd {
	color: var(--ink-3);
	font-weight: 500;
}
.vmt-ct-schedule .is-today {
	background: #fff;
}
.vmt-ct-schedule .is-today dt {
	color: var(--accent-strong);
	font-weight: 600;
}
.vmt-ct-hours-note {
	margin-top: 10px;
	color: var(--ink-2);
	font-size: 14px;
}
.vmt-ct-hours-big {
	margin: -4px 0 6px;
	color: var(--vmt-open);
	font-family: var(--serif);
	font-size: 40px;
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: lining-nums;
}

/* Offices list + map */
.vmt-ct-office-layout {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: start;
	gap: clamp(20px, 3vw, 40px);
}
.vmt-ct-office-list {
	display: grid;
	gap: 14px;
}
.vmt-ct-office {
	position: relative;
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	transition:
		border-color 0.3s,
		box-shadow 0.45s var(--ease);
}
.vmt-ct-office.is-active {
	border-color: var(--accent);
	box-shadow: var(--shadow-sm);
}
/* Only offices with a map listing (data-vmt-office) can be picked; the US office has none. */
.vmt-ct-js .vmt-ct-office[data-vmt-office] {
	cursor: pointer;
}
.vmt-ct-js .vmt-ct-office[data-vmt-office]:not(.is-active):hover {
	border-color: rgba(255, 68, 11, 0.4);
}
.vmt-ct-office-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}
.vmt-ct-office-label {
	color: var(--accent-strong);
	font-size: 13.5px;
	font-weight: 600;
}
.vmt-ct-office h3 {
	margin-top: 2px;
	font-size: 24px;
	line-height: 1.2;
}
.vmt-ct-office address {
	display: grid;
	gap: 8px;
	font-style: normal;
}
.vmt-ct-line {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--ink-2);
	font-size: 15.5px;
	line-height: 1.5;
}
.vmt-ct-line .vmt-h27-icon {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: var(--ink-3);
}
.vmt-ct-line a {
	color: var(--ink);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	transition: color 0.2s;
}
.vmt-h27 .vmt-ct-line a:hover {
	color: var(--accent-strong);
}
.vmt-ct-sep {
	margin: 0 8px;
	color: var(--ink-3);
}
.vmt-ct-office-actions {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}
.vmt-ct-map-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 9999px;
	background: var(--tint);
	color: var(--ink);
	font-size: 14.5px;
	font-weight: 600;
	transition:
		background 0.25s,
		color 0.25s;
}
.vmt-ct-map-btn .vmt-h27-icon {
	width: 18px;
	height: 18px;
}
.vmt-ct-map-btn:hover,
.vmt-ct-map-btn[aria-pressed="true"] {
	background: var(--accent-soft);
	color: var(--accent-strong);
}
.vmt-ct-map-btn[hidden] {
	display: none;
}

.vmt-ct-map-col {
	position: sticky;
	top: calc(var(--header-h) + 24px);
}
.admin-bar .vmt-ct-map-col {
	top: calc(var(--header-h) + 56px);
}
.vmt-ct-map[hidden] {
	display: none;
}
.vmt-ct-map-frame {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 24px;
	background: var(--tint);
	box-shadow: var(--shadow-sm);
}
.vmt-ct-map-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	opacity: 0;
	transition: opacity 0.6s var(--ease);
}
.vmt-ct-map-frame iframe.is-loaded {
	opacity: 1;
}
.vmt-ct-map-wait {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--ink-3);
	font-size: 15px;
}
.vmt-ct-map-wait .vmt-h27-icon {
	width: 20px;
	height: 20px;
}
.vmt-ct-map figcaption {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-top: 14px;
	color: var(--ink-2);
	font-size: 15px;
}

/* ---------- FAQ ---------- */
.vmt-ct-faq-inner {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	align-items: start;
	gap: clamp(32px, 6vw, 96px);
}
.vmt-ct-faq-intro {
	position: sticky;
	top: calc(var(--header-h) + 32px);
}
.vmt-ct-faq-intro .vmt-h27-link {
	margin-top: 20px;
}
.vmt-ct-faq-list {
	display: grid;
	gap: 12px;
}
.vmt-ct-faq-item {
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}
.vmt-ct-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	color: var(--ink);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}
.vmt-ct-faq-item summary::-webkit-details-marker {
	display: none;
}
.vmt-ct-faq-item summary .vmt-h27-icon {
	width: 20px;
	height: 20px;
	color: var(--ink-3);
	transition:
		transform 0.3s var(--ease),
		color 0.2s;
}
.vmt-ct-faq-item summary:hover .vmt-h27-icon {
	color: var(--accent-strong);
}
.vmt-ct-faq-item[open] summary .vmt-h27-icon {
	transform: rotate(180deg);
}
/* While it slides closed (vmt27.animateDetails) the box is still [open]; the caret already turns back. */
.vmt-ct-faq-item.is-closing summary .vmt-h27-icon {
	transform: none;
}
.vmt-ct-faq-body {
	padding: 0 24px 22px;
	color: var(--ink-2);
	font-size: 16px;
	line-height: 1.7;
}

/* ---------- Editor article (optional) ---------- */
.vmt-ct-article .vmt-about-content {
	margin-inline: auto;
}
.vmt-h27-section.vmt-ct-article {
	padding-bottom: clamp(16px, 3vw, 32px);
}

/* ---------- Tablets ---------- */
@media (max-width: 1023px) {
	.vmt-ct-hero-inner {
		grid-template-columns: minmax(0, 1fr);
		max-width: calc(720px + 2 * var(--gutter));
	}
	.vmt-ct-faq-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	.vmt-ct-faq-intro {
		position: static;
	}
}
/* One column from here: the map follows the selected office (moved there by contact-2027.js). */
@media (max-width: 899px) {
	.vmt-ct-office-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.vmt-ct-map-col {
		display: none;
	}
	.vmt-ct-office-list .vmt-ct-map {
		margin-top: -2px;
	}
	.vmt-ct-office-list .vmt-ct-map-frame {
		aspect-ratio: 4 / 3;
		border-radius: var(--radius);
	}
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
	.vmt-ct-lead {
		font-size: 17px;
	}
	.vmt-ct-actions .vmt-h27-btn {
		width: 100%;
	}
	.vmt-ct-actions {
		justify-content: center;
	}
	.vmt-ct-hours {
		grid-template-columns: minmax(0, 1fr);
	}
	.vmt-ct-hours-block + .vmt-ct-hours-block {
		border-top: 1px solid var(--line);
		border-left: 0;
	}
	.vmt-ct-week {
		gap: 6px;
	}
	.vmt-ct-week li {
		width: 38px;
		height: 38px;
		font-size: 13.5px;
	}
	.vmt-ct-office {
		padding: 18px;
	}
	.vmt-ct-office-top {
		flex-direction: column;
		gap: 8px;
	}
	.vmt-ct-office-top .vmt-ct-status--sm {
		margin-top: 0;
	}
	.vmt-ct-faq-item summary {
		padding: 18px;
		font-size: 16px;
	}
	.vmt-ct-faq-body {
		padding: 0 18px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vmt-ct-live::after {
		animation: none;
	}
	.vmt-ct-channel-icon,
	.vmt-ct-map-frame iframe,
	.vmt-ct-faq-item summary .vmt-h27-icon {
		transition: none;
	}
}
