:root {
	--tc-navy: #001D3D;
	--tc-navy-2: #003566;
	--tc-orange: #FFA300;
	--tc-ink: #222529;
	--tc-r-sm: 12px;
	--tc-lift: 0 8px 20px rgba(34, 37, 41, .22);
	--tc-font: Roboto, sans-serif;
	--tc-font-head: "Roboto", Roboto, sans-serif;
}

/* ---------- 1. FOOTER ---------- */

/* Hai cột: giữ chữ bên trái vết rách của ảnh nền (ảnh cắt ở ~65% bề rộng) */
body #footer .footer-menu > .e-con-inner {
	gap: 32px;
}

body #footer .footer-menu > .e-con-inner > .e-con:first-child {
	max-width: calc(40vw - 56px);
}

/* Tiêu đề cột: navy, font heading, thanh nhấn ngắn bên dưới */
body #footer .footer-menu .elementor-heading-title.elementor-heading-title {
	position: relative;
	margin-bottom: 14px;
	padding-bottom: 10px;
	color: var(--tc-navy);
	font-family: var(--tc-font-head);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.2;
	text-transform: uppercase;
}

body #footer .footer-menu .elementor-heading-title.elementor-heading-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 3px;
	border-radius: 2px;
	background: var(--tc-navy);
}

/* Danh sách liên hệ + liên kết dịch vụ */
body #footer .elementor-icon-list-item.elementor-icon-list-item .elementor-icon-list-text {
	color: var(--tc-ink);
	font-family: var(--tc-font);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	transition: color .2s ease;
}

body #footer .elementor-icon-list-item.elementor-icon-list-item .elementor-icon-list-icon,
body #footer .elementor-icon-list-item.elementor-icon-list-item .elementor-icon-list-icon i,
body #footer .elementor-icon-list-item.elementor-icon-list-item .elementor-icon-list-icon svg {
	color: var(--tc-navy);
	fill: var(--tc-navy);
	transition: color .2s ease, fill .2s ease;
}

/* Hover: trước đây chữ chuyển trắng trên nền cam (khó đọc) -> navy + gạch chân */
body #footer .elementor-icon-list-item.elementor-icon-list-item > a:hover .elementor-icon-list-text,
body #footer .elementor-icon-list-item.elementor-icon-list-item > a:focus-visible .elementor-icon-list-text {
	color: var(--tc-navy) !important; /* theme dùng color:#fff !important ở trạng thái hover */
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

body #footer .elementor-icon-list-item.elementor-icon-list-item > a:hover .elementor-icon-list-icon,
body #footer .elementor-icon-list-item.elementor-icon-list-item > a:hover .elementor-icon-list-icon i,
body #footer .elementor-icon-list-item.elementor-icon-list-item > a:hover .elementor-icon-list-icon svg {
	color: var(--tc-navy);
	fill: var(--tc-navy);
}

body #footer .elementor-icon-list-item.elementor-icon-list-item > a:focus-visible {
	outline: 2px solid var(--tc-navy);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Mạng xã hội: vòng tròn trắng, glyph giữ màu thương hiệu (Zalo là ảnh nên không đổi màu được) */
body #footer .elementor-social-icons-wrapper .elementor-social-icon.elementor-social-icon {
	background-color: #fff;
	box-shadow: 0 2px 6px rgba(34, 37, 41, .18);
	transition: transform .2s ease, box-shadow .2s ease;
}

body #footer .elementor-social-icons-wrapper .elementor-social-icon-facebook svg {
	fill: #1877F2;
}

body #footer .elementor-social-icons-wrapper .elementor-social-icon-youtube svg {
	fill: #CD201F;
}

body #footer .elementor-social-icons-wrapper .elementor-social-icon.elementor-social-icon:hover,
body #footer .elementor-social-icons-wrapper .elementor-social-icon.elementor-social-icon:focus-visible {
	background-color: #fff;
	opacity: 1;
	transform: translateY(-3px);
	box-shadow: 0 0 0 2px var(--tc-navy), var(--tc-lift);
	outline: 0;
}

/* Copyright: nhỏ lại, ngăn cách bằng đường mảnh */
body #footer .copyright .elementor-heading-title.elementor-heading-title {
	color: var(--tc-navy);
	font-family: var(--tc-font);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	line-height: 22px;
}

body #footer .copyright .elementor-heading-title.elementor-heading-title::after {
	content: none;
}

/* ---------- 2. NÚT LIÊN HỆ NỔI ---------- */

/* Nút chính: cam + viền navy (vẫn thấy rõ khi nằm trên nền cam của footer) */
body .floating-contact.radial .triggerFloatingButton.triggerFloatingButton {
	background: var(--tc-orange) !important;
	color: var(--tc-navy);
	border: 2px solid var(--tc-navy);
	box-shadow: 0 4px 12px rgba(34, 37, 41, .28);
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

body .floating-contact.radial .triggerFloatingButton.triggerFloatingButton:hover,
body .floating-contact.radial.active .triggerFloatingButton.triggerFloatingButton {
	background: var(--tc-navy) !important;
	color: var(--tc-orange);
}

body .floating-contact.radial .triggerFloatingButton.triggerFloatingButton:focus-visible {
	outline: 3px solid var(--tc-navy);
	outline-offset: 3px;
}

/* Các item toả ra: navy + icon trắng; hover cam + icon navy.
   Plugin gán nền từng item bằng !important nên cần !important ở đây. */
body .floating-contact.radial .radialItem:nth-child(n) a {
	background: var(--tc-navy) !important;
	color: #fff;
	border: 2px solid #fff;
	box-shadow: 0 4px 12px rgba(34, 37, 41, .28);
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

body .floating-contact.radial .radialItem:nth-child(n) a:hover,
body .floating-contact.radial .radialItem:nth-child(n) a:focus-visible {
	background: var(--tc-orange) !important;
	color: var(--tc-navy);
	transform: scale(1.08);
	outline: 0;
}

body .floating-contact.radial .radialItem:nth-child(n) a:focus-visible {
	box-shadow: 0 0 0 3px var(--tc-navy), 0 4px 12px rgba(34, 37, 41, .28);
}

/* Nhãn khi hover (Địa chỉ / Hotline / Zalo) */
body .floating-contact.radial .radialItem:nth-child(n) span {
	background: var(--tc-navy) !important;
	color: #fff;
	border-radius: 8px;
	padding: 6px 12px;
	font-family: var(--tc-font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
	border: 1px solid rgba(255, 255, 255, .35);
	box-shadow: var(--tc-lift);
}

/* ---------- 3. NÚT LÊN ĐẦU TRANG ---------- */
html body #topcontrol#topcontrol {
	background: var(--tc-navy);
	color: #fff;
	border: 2px solid #fff;
	box-shadow: 0 4px 12px rgba(34, 37, 41, .28);
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

html body #topcontrol#topcontrol:hover {
	background: var(--tc-orange);
	color: var(--tc-navy);
	transform: translateY(-2px);
}

/* ---------- 4. RESPONSIVE ---------- */
@media (max-width: 767px) {
	/* cột xếp dọc: bỏ giới hạn chiều rộng */
	body #footer .footer-menu > .e-con-inner > .e-con:first-child {
		max-width: none;
	}

	/* chừa chỗ cho 2 nút nổi, tránh đè dòng bản quyền */
	body #footer .copyright > .e-con-inner {
		padding-right: 72px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body #footer .elementor-icon-list-text,
	body #footer .elementor-social-icon.elementor-social-icon,
	body .floating-contact.radial .triggerFloatingButton.triggerFloatingButton,
	body .floating-contact.radial .radialItem a,
	html body #topcontrol#topcontrol {
		transition: none;
	}

	body #footer .elementor-social-icon.elementor-social-icon:hover,
	body .floating-contact.radial .radialItem:nth-child(n) a:hover,
	html body #topcontrol#topcontrol:hover {
		transform: none;
	}
}