/**
 * Liên hệ HiTechCloud.
 *
 * A contact page is a utility, not a campaign: the fastest route to a person is
 * the first thing on screen and the form sits above the fold. The old cinematic
 * banner and its synthetic hero image are gone; the navy desk band carries the
 * live channels instead. Colour, type and radii come from the shared tokens so
 * this reads as the same system as the 2026 product pages.
 *
 * Weights and letter-spacing are owned by site-typography.css, which loads
 * after this file; the few !important declarations mirror what
 * product-pages-cloud26.css does for the same reason.
 */

.hc-wp .ct-page {
	--ct-blue: var(--hc-blue, #0969ff);
	--ct-blue-dark: var(--hc-blue-dark, #082f86);
	--ct-cyan: var(--hc-cyan, #00c2ff);
	--ct-navy: var(--hc-navy, #071832);
	--ct-deep: var(--hc-deep, #041020);
	--ct-text: var(--hc-text, #22304a);
	--ct-muted: var(--hc-muted, #071832);
	--ct-line: var(--hc-border, #d9e7f5);
	--ct-soft: var(--hc-bg, #f5f9ff);
	--ct-radius: 16px;
	--ct-shadow: 0 18px 50px rgba(8, 47, 134, .08);
	background: #fff;
	color: var(--ct-text);
	font-family: inherit;
}

.hc-wp .ct-page * {
	box-sizing: border-box;
}

.hc-wp .ct-page .site-container {
	width: min(1260px, 100%);
	max-width: 1260px;
	margin-inline: auto;
	padding-inline: 24px;
}

.hc-wp .ct-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.hc-wp .ct-eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	color: var(--ct-blue);
	font-size: 14px;
	line-height: 1.4;
}

/* ==========================================================================
   Hero — same construction as the 2026 product templates: one image layer,
   one left-to-right overlay, one left-aligned content column.
   ========================================================================== */

.hc-wp .ct-hero {
	position: relative;
	min-height: 560px;
	padding: 92px 0 0;
	background: var(--ct-deep);
	color: #fff;
	overflow: hidden;
}

.hc-wp .ct-hero__image {
	position: absolute;
	z-index: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hc-wp .ct-hero::before {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(90deg, rgba(4, 16, 32, .97) 0%, rgba(7, 24, 50, .90) 40%, rgba(4, 16, 32, .34) 70%, rgba(4, 16, 32, .10) 100%);
	pointer-events: none;
}

.hc-wp .ct-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	min-height: 468px;
	align-items: center;
}

.hc-wp .ct-hero__content {
	width: min(660px, 56%);
	padding-bottom: 58px;
}

.hc-wp .ct-hero .ct-eyebrow {
	color: var(--ct-cyan);
}

.hc-wp .ct-hero h1 {
	margin: 0 0 18px;
	color: #fff !important;
	font-size: clamp(36px, 3.4vw, 48px) !important;
	font-weight: 400 !important;
	line-height: 1.1 !important;
}

.hc-wp .ct-hero__content p {
	max-width: 560px;
	margin: 0;
	color: rgba(255, 255, 255, .90);
	font-size: 18px !important;
	line-height: 1.6 !important;
}

.hc-wp .ct-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.hc-wp .ct-hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	padding: 0 30px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 17px;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.hc-wp .ct-hero-btn--primary {
	border-color: #fff;
	background: #fff;
	color: var(--ct-navy);
}

.hc-wp .ct-hero-btn--primary:hover,
.hc-wp .ct-hero-btn--primary:focus-visible {
	background: #eaf2ff;
	color: var(--ct-blue-dark);
	text-decoration: none;
}

.hc-wp .ct-hero-btn--outline {
	border-color: rgba(255, 255, 255, .5);
	background: transparent;
	color: #fff;
}

.hc-wp .ct-hero-btn--outline:hover,
.hc-wp .ct-hero-btn--outline:focus-visible {
	border-color: #fff;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	text-decoration: none;
}

/* ==========================================================================
   Channel bar — sits directly under the hero on white, so the fastest routes
   to a person stay one screen away instead of being buried in the page.
   ========================================================================== */

.hc-wp .ct-channels-bar {
	border-bottom: 1px solid var(--ct-line);
	background: #fff;
}

.hc-wp .ct-channels {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin-inline: auto;
	padding: 0;
	list-style: none;
}

.hc-wp .ct-channels li + li {
	border-left: 1px solid var(--ct-line);
}

.hc-wp .ct-channel {
	display: block;
	height: 100%;
	padding: 28px 26px 30px;
	color: var(--ct-text);
	text-decoration: none;
	transition: background-color .18s ease;
}

.hc-wp .ct-channel:hover,
.hc-wp .ct-channel:focus-visible {
	background: var(--ct-soft);
	text-decoration: none;
}

.hc-wp .ct-channel .ct-icon {
	display: block;
	width: 24px;
	height: 24px;
	margin-bottom: 16px;
	color: var(--ct-blue);
}

.hc-wp .ct-channel__label {
	display: block;
	margin-bottom: 5px;
	color: var(--ct-muted);
	font-size: 14px;
	line-height: 1.4;
}

.hc-wp .ct-channel__value {
	display: block;
	margin-bottom: 7px;
	color: var(--ct-navy);
	font-size: 19px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.hc-wp .ct-channel__note {
	display: block;
	color: var(--ct-muted);
	font-size: 14px;
	line-height: 1.5;
}

/* ==========================================================================
   Request — form leads, routing sits beside it.
   ========================================================================== */

.hc-wp .ct-request {
	padding: 76px 0;
	background: #fff;
}

.hc-wp .ct-request__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
	gap: 56px;
	align-items: start;
}

.hc-wp .ct-form-col h2 {
	margin: 0;
	color: var(--ct-navy);
	font-size: clamp(26px, 2.4vw, 34px) !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
}

/* The aside supports the form; it must not compete with it for attention. */
.hc-wp .ct-aside__block h2 {
	margin: 0;
	color: var(--ct-navy);
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
}

.hc-wp .ct-form-col__lead {
	margin: 14px 0 30px;
	color: var(--ct-muted);
	font-size: 17px !important;
	line-height: 1.7 !important;
}

.hc-wp .ct-alert {
	margin-bottom: 26px;
	padding: 16px 18px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 15px !important;
	line-height: 1.6 !important;
}

.hc-wp .ct-alert--success {
	border-color: #b6e2c6;
	background: #eefaf1;
	color: #14683a;
}

.hc-wp .ct-alert--error {
	border-color: #f2c3c3;
	background: #fdeeee;
	color: #a12626;
}

.hc-wp .ct-form {
	display: grid;
	gap: 20px;
}

.hc-wp .ct-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.hc-wp .ct-form label {
	display: grid;
	gap: 8px;
	color: var(--ct-navy);
	font-size: 15px;
	line-height: 1.4;
}

/* One grid row for the caption so the required mark cannot wrap and knock the
   paired field out of alignment. */
.hc-wp .ct-form__caption {
	display: block;
}

.hc-wp .ct-form__caption em {
	color: #c0392b;
	font-style: normal;
}

.hc-wp .ct-form input,
.hc-wp .ct-form select,
.hc-wp .ct-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 16px;
	border: 1px solid var(--ct-line);
	border-radius: 10px;
	background: #fff;
	color: var(--ct-text);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.hc-wp .ct-form textarea {
	min-height: 150px;
	resize: vertical;
}

.hc-wp .ct-form input:focus,
.hc-wp .ct-form select:focus,
.hc-wp .ct-form textarea:focus {
	border-color: var(--ct-blue);
	box-shadow: 0 0 0 3px rgba(9, 105, 255, .14);
	outline: none;
}

.hc-wp .ct-form__trap {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.hc-wp .ct-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: start;
	min-height: 58px;
	padding: 0 34px;
	border: 1px solid var(--ct-blue);
	border-radius: 999px;
	background: var(--ct-blue);
	color: #fff;
	font-family: inherit;
	font-size: 17px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease;
}

.hc-wp .ct-btn:hover,
.hc-wp .ct-btn:focus-visible {
	border-color: var(--ct-blue-dark);
	background: var(--ct-blue-dark);
	color: #fff;
}

.hc-wp .ct-form__privacy {
	margin: 0;
	color: var(--ct-muted);
	font-size: 14px !important;
	line-height: 1.6 !important;
}

/* Aside */

.hc-wp .ct-aside {
	display: grid;
	gap: 20px;
}

.hc-wp .ct-aside__block {
	padding: 30px;
	border: 1px solid var(--ct-line);
	border-radius: var(--ct-radius);
	background: #fff;
	box-shadow: var(--ct-shadow);
}

.hc-wp .ct-routes {
	display: grid;
	gap: 22px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.hc-wp .ct-routes li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.hc-wp .ct-routes .ct-icon {
	width: 22px;
	height: 22px;
	margin-top: 2px;
	color: var(--ct-blue);
	flex: 0 0 auto;
}

.hc-wp .ct-routes strong {
	display: block;
	margin-bottom: 4px;
	color: var(--ct-navy);
	font-size: 16px;
	line-height: 1.4;
}

.hc-wp .ct-routes span {
	display: block;
	color: var(--ct-muted);
	font-size: 15px !important;
	line-height: 1.6 !important;
}

.hc-wp .ct-aside__block--note {
	border-color: transparent;
	background: var(--ct-soft);
	box-shadow: none;
}

.hc-wp .ct-aside__block--note h3 {
	margin: 0 0 10px;
	color: var(--ct-navy);
	font-size: 17px;
	line-height: 1.4;
}

.hc-wp .ct-aside__block--note p {
	margin: 0;
	color: var(--ct-muted);
	font-size: 15px !important;
	line-height: 1.68 !important;
}

.hc-wp .ct-aside__tel {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	margin-top: 18px;
	color: var(--ct-blue);
	font-size: 19px;
	text-decoration: none;
}

.hc-wp .ct-aside__tel:hover {
	text-decoration: underline;
}

.hc-wp .ct-aside__tel .ct-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

/* ==========================================================================
   Offices — a directory, not a card wall.
   ========================================================================== */

.hc-wp .ct-offices {
	padding: 76px 0;
	background: var(--ct-soft);
}

.hc-wp .ct-offices__head {
	margin-bottom: 34px;
}

.hc-wp .ct-offices__head h2 {
	margin: 0;
	color: var(--ct-navy);
	font-size: clamp(26px, 2.4vw, 34px) !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
}

.hc-wp .ct-directory {
	width: 100%;
	/* Fixed layout so the declared column widths hold; with auto layout the long
	   address column starves the email column and breaks addresses mid-word. */
	table-layout: fixed;
	border-collapse: collapse;
	border: 1px solid var(--ct-line);
	border-radius: var(--ct-radius);
	background: #fff;
	text-align: left;
	overflow: hidden;
}

.hc-wp .ct-directory th,
.hc-wp .ct-directory td {
	padding: 20px 22px;
	border-bottom: 1px solid var(--ct-line);
	font-size: 15px !important;
	line-height: 1.6 !important;
	vertical-align: top;
}

/* Give the address and email columns room; email addresses must not break
   mid-word to fit a starved column. */
.hc-wp .ct-directory :is(th, td):nth-child(1) { width: 17%; }
.hc-wp .ct-directory :is(th, td):nth-child(2) { width: 13%; }
.hc-wp .ct-directory :is(th, td):nth-child(3) { width: 42%; }
.hc-wp .ct-directory :is(th, td):nth-child(4) { width: 28%; }

.hc-wp .ct-directory thead th {
	background: #fff;
	color: var(--ct-muted);
	font-size: 14px !important;
	font-weight: 400 !important;
	white-space: nowrap;
}

.hc-wp .ct-directory tbody th {
	color: var(--ct-navy);
	font-weight: 600 !important;
	white-space: nowrap;
}

.hc-wp .ct-directory tbody tr:last-child th,
.hc-wp .ct-directory tbody tr:last-child td {
	border-bottom: 0;
}

.hc-wp .ct-directory tbody tr.is-hq {
	background: var(--ct-soft);
}

.hc-wp .ct-directory td {
	color: var(--ct-text);
}

.hc-wp .ct-directory a {
	color: var(--ct-blue);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.hc-wp .ct-directory a:hover {
	text-decoration: underline;
}

/* Block, not inline: a long role name would otherwise sit beside the country
   and spill across the neighbouring column. */
.hc-wp .ct-tag {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin-top: 7px;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(9, 105, 255, .1);
	color: var(--ct-blue);
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	white-space: normal;
}

/* The working office is a secondary location, so its tag stays neutral. */
.hc-wp .ct-tag--muted {
	background: rgba(102, 120, 149, .12);
	color: var(--ct-muted);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
	.hc-wp .ct-request__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.hc-wp .ct-channels {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hc-wp .ct-channels li:nth-child(odd) {
		border-left: 0;
	}

	.hc-wp .ct-channels li:nth-child(n + 3) {
		border-top: 1px solid var(--ct-line);
	}
}

@media (max-width: 900px) {
	.hc-wp .ct-hero__content {
		width: 64%;
	}
}

@media (max-width: 760px) {
	.hc-wp .ct-page .site-container {
		padding-inline: 16px;
	}

	.hc-wp .ct-hero {
		min-height: 620px;
		padding-top: 40px;
	}

	.hc-wp .ct-hero::before {
		background: linear-gradient(180deg, rgba(4, 16, 32, .10) 0%, rgba(4, 16, 32, .34) 34%, rgba(4, 16, 32, .96) 62%, rgba(4, 16, 32, 1) 100%);
	}

	.hc-wp .ct-hero__image {
		object-position: 72% center;
	}

	.hc-wp .ct-hero__inner {
		min-height: 580px;
		align-items: flex-end;
	}

	.hc-wp .ct-hero__content {
		width: 100%;
		padding-bottom: 42px;
	}

	.hc-wp .ct-hero h1 {
		font-size: clamp(30px, 8.4vw, 38px) !important;
	}

	.hc-wp .ct-hero__content p {
		font-size: 16px !important;
	}

	.hc-wp .ct-hero__actions {
		width: 100%;
		flex-direction: column;
	}

	.hc-wp .ct-hero-btn {
		width: 100%;
		min-height: 54px;
		padding-inline: 22px;
		font-size: 16px;
	}

	.hc-wp .ct-channels {
		grid-template-columns: 1fr;
	}

	.hc-wp .ct-channels li + li {
		border-left: 0;
		border-top: 1px solid var(--ct-line);
	}

	.hc-wp .ct-channel {
		padding: 20px 4px;
	}

	.hc-wp .ct-request,
	.hc-wp .ct-offices {
		padding: 52px 0;
	}

	.hc-wp .ct-form__row {
		grid-template-columns: 1fr;
	}

	.hc-wp .ct-aside__block {
		padding: 24px;
	}

	.hc-wp .ct-btn {
		width: 100%;
		justify-self: stretch;
		min-height: 54px;
	}

	/* The directory collapses to one labelled block per office. */
	.hc-wp .ct-directory,
	.hc-wp .ct-directory tbody,
	.hc-wp .ct-directory tbody tr,
	.hc-wp .ct-directory tbody th,
	.hc-wp .ct-directory tbody td {
		display: block;
		width: 100%;
	}

	.hc-wp .ct-directory {
		border: 0;
		background: transparent;
	}

	.hc-wp .ct-directory thead {
		display: none;
	}

	.hc-wp .ct-directory tbody tr {
		margin-bottom: 16px;
		padding: 20px;
		border: 1px solid var(--ct-line);
		border-radius: var(--ct-radius);
		background: #fff;
	}

	.hc-wp .ct-directory tbody th,
	.hc-wp .ct-directory tbody td,
	.hc-wp .ct-directory :is(th, td):nth-child(n) {
		width: auto;
		padding: 0;
		border-bottom: 0;
		white-space: normal;
	}

	.hc-wp .ct-directory tbody td {
		margin-top: 12px;
	}

	.hc-wp .ct-directory tbody td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 3px;
		color: var(--ct-muted);
		font-size: 13px;
		line-height: 1.4;
	}

	.hc-wp .ct-directory tbody th {
		font-size: 18px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hc-wp .ct-page * {
		transition: none !important;
	}
}
