/* =========================================================
   LOGISTICS-QN – matched to logistics-qn.com Elementor kit
   Primary #205C70 | Secondary #59BEE2 | Accent #00640E
   Font: Quicksand + Roboto Slab (slides)
   ========================================================= */

:root {
	--lqn-primary: #205c70;
	--lqn-secondary: #59bee2;
	--lqn-text: #181818;
	--lqn-accent: #00640e;
	--lqn-white: #ffffff;
	--lqn-cream: #fff8f1;
	--lqn-gray: #ebebeb;
	--lqn-muted: #555555;
	--lqn-red: #c62828;
	--lqn-footer: #1a1a1a;
	--lqn-footer-bottom: #111111;
	--container: 1250px;
	--header-h: 84px;
	--font: "Quicksand", Sans-serif;
	--font-slide: "Roboto Slab", Serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--lqn-text);
	background: var(--lqn-white);
}

/* Tránh phá background-attachment:fixed của stats — không đặt overflow trên body */
html {
	scroll-behavior: smooth;
	overflow-x: clip;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--lqn-primary);
	text-decoration: none;
	transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--lqn-secondary);
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.container {
	width: min(100% - 30px, var(--container));
	margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--lqn-white);
	border-bottom: 1px solid #e8e8e8;
	box-shadow: none;
	height: auto;
	min-height: var(--header-h);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 84px;
	padding: 10px 0;
}

.site-branding {
	flex-shrink: 0;
}

.logo-link {
	display: inline-flex;
	align-items: center;
}

.site-logo,
.custom-logo {
	height: 68px;
	width: auto;
	object-fit: contain;
}

.main-navigation {
	flex: 1;
	display: flex;
	justify-content: center;
	margin-left: 0;
	margin-right: 0;
	min-width: 0;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: 2px;
	flex-wrap: wrap;
	justify-content: center;
}

.primary-menu > li {
	position: relative;
}

.primary-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 20px 16px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--lqn-primary);
	white-space: nowrap;
	line-height: 1.2;
}

.primary-menu > li > a .menu-caret {
	font-size: 11px;
	opacity: 0.85;
	margin-top: 1px;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a,
.primary-menu > li:hover > a {
	color: var(--lqn-secondary);
}

.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 280px;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #e5e5e5;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
	z-index: 1100;
}

.primary-menu > li:hover > .sub-menu,
.primary-menu > li:focus-within > .sub-menu,
.primary-menu > li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-menu .sub-menu li {
	border-bottom: 1px solid #eee;
}

.primary-menu .sub-menu li:last-child {
	border-bottom: 0;
}

.primary-menu .sub-menu a {
	display: block;
	padding: 11px 16px;
	font-size: 15px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	color: #333;
	white-space: normal;
	line-height: 1.4;
}

.primary-menu .sub-menu a:hover {
	background: #f7fafb;
	color: var(--lqn-primary);
}

.header-tools {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.lang-switch {
	position: relative;
}

.lang-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #e0e0e0;
	background: #f7f7f7;
	color: var(--lqn-text);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	padding: 9px 12px;
	min-width: 140px;
	border-radius: 2px;
}

.lang-btn .lang-caret {
	font-size: 11px;
	margin-left: auto;
	color: #666;
	transition: transform 0.15s ease;
}

.lang-switch.is-open .lang-btn .lang-caret {
	transform: rotate(180deg);
}

.flag {
	width: 22px;
	height: 15px;
	display: inline-block;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid rgba(0, 0, 0, 0.08);
	flex-shrink: 0;
	position: relative;
}

.flag-vn {
	background: #da251d;
}

.flag-vn::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 7px;
	height: 7px;
	transform: translate(-50%, -50%);
	background: #ff0;
	clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.flag-us {
	background-image: linear-gradient(
		180deg,
		#fff 0 7.7%,
		#b22234 7.7% 15.4%,
		#fff 15.4% 23.1%,
		#b22234 23.1% 30.8%,
		#fff 30.8% 38.5%,
		#b22234 38.5% 46.2%,
		#fff 46.2% 53.9%,
		#b22234 53.9% 61.6%,
		#fff 61.6% 69.3%,
		#b22234 69.3% 77%,
		#fff 77% 84.7%,
		#b22234 84.7% 92.4%,
		#fff 92.4% 100%
	);
	box-shadow: inset 8px 0 0 0 #3c3b6e;
}

.lang-menu {
	position: absolute;
	top: calc(100% + 2px);
	right: 0;
	left: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #f7f7f7;
	border: 1px solid #e0e0e0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	z-index: 1200;
}

.lang-menu[hidden] {
	display: none;
}

.lang-option {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	border: 0;
	background: transparent;
	padding: 8px 10px;
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	color: var(--lqn-text);
	cursor: pointer;
	text-align: left;
}

.lang-option:hover,
.lang-option.is-active {
	background: #eee;
}

.nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 8px;
}

.nav-toggle span {
	display: block;
	height: 2px;
	margin: 6px 0;
	background: var(--lqn-primary);
}

/* ---------- Hero ---------- */
.hero-slider {
	position: relative;
	height: 86vh;
	min-height: 420px;
	max-height: 780px;
	overflow: hidden;
	background: #1a2a33;
}

.slider-track {
	height: 100%;
}

.slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.9s ease, visibility 0.9s ease;
}

.slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.slide-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.28);
}

.slide-content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	padding-block: 40px;
	max-width: 80%;
	margin-inline: auto;
	text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.85);
}

.slide-title {
	margin: 0 0 8px;
	font-family: var(--font-slide);
	font-size: 28px;
	font-weight: 700;
	line-height: 36px;
	text-transform: uppercase;
	color: #fff;
}

.slide-tel {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 500;
	color: #fff;
}

.slide-btn {
	display: inline-block;
	padding: 10px 22px;
	border: 1px solid #fff;
	background: transparent;
	color: #fff !important;
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
	text-shadow: none;
}

.slide-btn:hover {
	background: var(--lqn-primary);
	border-color: var(--lqn-primary);
	color: #fff !important;
}

.slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	opacity: 0.75;
}

.slider-nav:hover {
	opacity: 1;
}

.slider-nav.prev {
	left: 18px;
}

.slider-nav.next {
	right: 18px;
}

.slider-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	z-index: 5;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.slider-dots .dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.55);
	padding: 0;
	cursor: pointer;
}

.slider-dots .dot.is-active {
	background: #fff;
}

/* ---------- Section helpers ---------- */
.section-title {
	margin: 0;
	text-align: center;
	color: var(--lqn-primary);
	font-size: 22px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.section-title--on-dark {
	color: var(--lqn-secondary);
}

.section-divider {
	width: 8%;
	height: 2px;
	margin: 10px auto 16px;
	background: var(--lqn-secondary);
}

.section-divider--secondary {
	background: var(--lqn-secondary);
	width: 10%;
}

.section-divider--light {
	background: #fff;
	width: 10%;
}

.section-desc {
	margin: 0 auto 28px;
	max-width: 820px;
	text-align: center;
	color: var(--lqn-muted);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
}

.section-desc--on-dark {
	color: #fff;
	font-size: 15px;
	line-height: 18px;
}

/* ---------- About ---------- */
.about-section {
	padding: 28px 0 20px;
	background: #fff;
}

.about-brand {
	margin: 0;
	text-align: center;
	color: var(--lqn-primary);
	font-size: 22px;
	font-weight: 600;
}

.about-panel {
	background: var(--lqn-primary);
	border-radius: 5px;
	padding: 5px;
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 0;
	background: var(--lqn-cream);
	border-radius: 4px;
	overflow: hidden;
}

.about-content {
	padding: 0;
}

.about-banner {
	background: var(--lqn-primary);
	color: #fff;
	padding: 14px 18px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.35;
}

.about-text {
	padding: 14px 18px 18px;
	background: var(--lqn-cream);
}

.about-text p {
	margin: 0 0 10px;
	color: var(--lqn-text);
	font-size: 15px;
}

.about-text ul {
	margin: 0 0 14px;
	padding-left: 18px;
	list-style: disc;
}

.about-text li {
	margin-bottom: 4px;
	color: var(--lqn-text);
}

.about-more {
	color: var(--lqn-red);
	font-weight: 700;
	font-size: 14px;
}

.about-more:hover {
	color: var(--lqn-accent);
}

.about-media {
	min-height: 280px;
}

.about-media img {
	width: 100%;
	height: 100%;
	min-height: 335px;
	object-fit: cover;
	object-position: center;
	border-radius: 5px 5px 0 0;
}

/* ---------- Stats (pill + background-attachment:fixed như logistics-qn.com) ---------- */
.stats-section {
	padding: 18px 0 10px;
	background: #fff;
}

.stats-pill {
	border-radius: 99px;
	padding: 22px 28px 18px;
	position: relative;
	background-color: #0b2f40;
	background-image: url("../images/stats-bg.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	/* Ảnh neo theo viewport — pill scroll thì khung ảnh “chạy” */
	background-attachment: fixed;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.stats-pill::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(11, 47, 64, 0.58);
	border-radius: inherit;
	pointer-events: none;
}

.stats-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	text-align: center;
	color: #fff;
}

.stat-icon {
	width: auto;
	height: auto;
	margin: 0 auto 6px;
	background: transparent;
	display: flex;
	justify-content: center;
	align-items: center;
}

.stat-icon img {
	width: 42px;
	height: 42px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.stat-value {
	font-family: var(--font);
	font-size: 25px;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 2px;
	color: #fff;
}

.stat-label {
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
	color: #fff;
	line-height: 1.25;
}

/* ---------- Services (dark) ---------- */
.services-section {
	position: relative;
	padding: 28px 0 32px;
	background: var(--lqn-primary) url("../images/slide-1.jpg") center / cover no-repeat;
	background-attachment: fixed;
	isolation: isolate;
}

.services-overlay {
	position: absolute;
	inset: 0;
	background: rgba(24, 24, 24, 0.8);
	z-index: 0;
}

.services-inner {
	position: relative;
	z-index: 1;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-items: stretch;
}

.service-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--lqn-gray);
	border-radius: 5px;
	padding: 5px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.service-thumb {
	display: block;
	/* Giống Elementor: padding-bottom 55% */
	aspect-ratio: 100 / 55;
	overflow: hidden;
	border-radius: 3px;
	flex-shrink: 0;
	margin-bottom: 8px;
}

.service-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.service-card:hover .service-thumb img {
	transform: scale(1.04);
}

.service-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
	padding: 0 4px 8px;
	text-align: center;
	background: #fff;
}

.service-title {
	margin: 0 0 5px;
	width: 100%;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-transform: uppercase;
	white-space: nowrap;
}

.service-title a {
	color: var(--lqn-primary);
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.service-title a:hover {
	color: var(--lqn-secondary);
}

.service-link {
	margin-top: auto;
	padding-top: 2px;
	font-size: 13px;
	font-weight: 600;
	color: var(--lqn-accent);
}

.service-link:hover {
	color: var(--lqn-secondary);
}

/* ---------- News & docs (bảng tin) – match logistics-qn.com ---------- */
.news-docs-section {
	padding: 36px 0 0;
	background: #fff;
}

.bangtin-head {
	padding-bottom: 8px;
}

.bangtin-cats {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0;
	margin: 6px 0 18px;
}

.bangtin-cat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--lqn-primary);
	font-size: 16px;
	font-weight: 500;
	padding: 6px 18px;
	position: relative;
}

.bangtin-cat:not(:last-child)::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 55%;
	border-left: 1px solid #ddd;
}

.bangtin-cat i {
	font-size: 14px;
	color: var(--lqn-primary);
}

.bangtin-cat:hover {
	color: var(--lqn-accent);
}

.bangtin-cat:hover i {
	color: var(--lqn-secondary);
}

/* Dark parallax block */
.bangtin-main {
	position: relative;
	padding: 20px 0;
	background-color: var(--lqn-primary);
	background-image: url("../images/slide-tinthanh-006.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	isolation: isolate;
}

.bangtin-main-overlay {
	position: absolute;
	inset: 0;
	background: #181818;
	opacity: 0.7;
	z-index: 0;
}

.bangtin-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: stretch;
}

.bangtin-col {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

/* News feed (white list above dark band) */
.bangtin-feed {
	padding: 4px 0 28px;
}

.bangtin-feed-item {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 14px;
	align-items: start;
	padding: 10px 0;
	border-bottom: 1px solid #ebebeb;
}

.bangtin-feed-thumb {
	display: block;
	overflow: hidden;
	border: 1px solid #ebebeb;
}

.bangtin-feed-thumb img {
	width: 100%;
	height: 68px;
	object-fit: cover;
	display: block;
}

.bangtin-feed-title {
	display: block;
	color: var(--lqn-primary);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 4px;
}

.bangtin-feed-title:hover {
	color: var(--lqn-accent);
}

.bangtin-empty {
	grid-column: 1 / -1;
	padding: 24px 0;
	color: #666;
	font-size: 15px;
}

.bangtin-feed--archive {
	padding: 8px 0 32px;
}

.bangtin-feed-excerpt {
	margin: 0;
	color: #181818;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.bangtin-banner {
	text-align: center;
}

.bangtin-banner img {
	width: 100%;
	max-width: 20%;
	height: auto;
	display: inline-block;
	border: 5px solid #fff;
	border-radius: 5px;
	vertical-align: middle;
}

.featured-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #111;
	overflow: hidden;
	border-radius: 4px;
	min-height: 220px;
}

.featured-video iframe,
.video-frame iframe,
.featured-video .video-frame-slot iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.video-poster {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	cursor: pointer;
	background: #000;
}

.video-poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.95;
}

.video-play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 48px;
	border-radius: 12px;
	background: #f00;
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 20px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.bangtin-more {
	text-align: center;
	margin-top: 4px;
}

.bangtin-more-btn {
	display: inline-block;
	padding: 8px 18px;
	background: var(--lqn-primary);
	color: #fff !important;
	font-size: 15px;
	font-weight: 400;
	border-radius: 2px;
	line-height: 1.2;
}

.bangtin-more-btn:hover {
	background: var(--lqn-secondary);
}

.featured-video .video-frame-slot {
	position: absolute;
	inset: 0;
}

.featured-video .video-frame-slot[hidden] {
	display: none !important;
}

.bangtin-list-box {
	background: #fff;
	padding: 5px;
	border-radius: 0;
	flex: 1;
	min-height: 0;
	max-height: none;
	overflow: auto;
	align-self: stretch;
}

.bangtin-list-box .docs-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bangtin-list-box .docs-list li {
	border: 0;
	margin: 0;
}

.bangtin-list-box .docs-list a {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 10px;
	color: var(--lqn-primary);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.bangtin-list-box .docs-list a:hover {
	background: transparent;
	color: var(--lqn-secondary);
}

.bangtin-list-box .docs-list a:hover .docs-icon {
	color: var(--lqn-secondary);
}

.bangtin-list-box .docs-icon {
	flex-shrink: 0;
	width: 18px;
	text-align: center;
	margin-top: 2px;
	color: var(--lqn-primary);
	font-size: 14px;
	line-height: 1;
	transition: color 0.3s;
}

.bangtin-list-box .docs-text {
	flex: 1;
	min-width: 0;
}

/* Right column stretches so white box matches video height */
.bangtin-right {
	align-self: stretch;
}

.bangtin-left .bangtin-more {
	margin-top: auto;
}

/* ---------- Partners ---------- */
.partners-section {
	padding: 20px 0 24px;
	background: #fff;
	overflow: hidden;
}

.partners-carousel {
	overflow: hidden;
	width: 100%;
}

.partners-track {
	display: flex;
	gap: 15px;
	align-items: center;
	will-change: transform;
}

.partner-item {
	width: calc((100% - 75px) / 6);
	aspect-ratio: 1 / 1;
	height: auto;
	background: #fff;
	border: 0;
	border-radius: 0;
	display: grid;
	place-items: center;
	padding: 0;
	flex-shrink: 0;
	box-sizing: border-box;
}

.partner-item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border: 1px solid #ebebeb;
	border-radius: 5px;
	display: block;
	background: #fff;
}

.partner-item:hover img {
	border-color: var(--lqn-secondary);
}

/* ---------- Subscribe ---------- */
.subscribe-section {
	background: var(--lqn-cream);
	padding: 50px 0;
}

.subscribe-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.subscribe-text {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 22px;
	color: var(--lqn-primary);
}

.subscribe-form {
	display: flex;
	gap: 0;
	min-width: min(100%, 420px);
	flex: 1;
	max-width: 520px;
	justify-content: flex-end;
}

.subscribe-form input {
	flex: 1;
	border: 1px solid #ddd;
	border-right: 0;
	padding: 12px 14px;
	font: inherit;
	font-size: 15px;
	outline: none;
	background: #fff;
}

.subscribe-form button {
	border: 0;
	background: var(--lqn-primary);
	color: #fff;
	font-family: var(--font);
	font-size: 15px;
	font-weight: 600;
	padding: 12px 18px;
	cursor: pointer;
	white-space: nowrap;
}

.subscribe-form button:hover {
	background: var(--lqn-secondary);
}

/* ---------- Video ---------- */
.video-showcase {
	padding: 24px 0 40px;
	background: #0d0d0d;
}

.video-frame {
	position: relative;
	aspect-ratio: 16 / 8.5;
	background: #000;
	overflow: hidden;
}

/* ---------- Footer (match Elementor footer post-347) ---------- */
.site-footer {
	background: #181818 url("../images/slide-tinthanh-006.jpg") center center / cover no-repeat;
	color: #fff;
	position: relative;
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #181818;
	opacity: 0.78;
}

.footer-main,
.footer-bottom {
	position: relative;
	z-index: 1;
}

.footer-main {
	display: grid;
	grid-template-columns: 26% 26% 1fr;
	gap: 20px;
	padding: 20px 0;
	align-items: start;
}

.footer-title {
	margin: 0 0 0;
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.3;
}

.footer-divider {
	width: 10%;
	height: 3px;
	background: #fff;
	margin: 2px auto 12px;
}

.fanpage-box {
	background: #fff;
	color: var(--lqn-text);
	padding: 16px 12px;
	min-height: 200px;
	display: grid;
	place-items: center;
	text-align: center;
	border-radius: 0;
}

.fanpage-placeholder img {
	width: 72px;
	margin: 0 auto 10px;
}

.fanpage-placeholder p {
	margin: 0 0 12px;
	font-weight: 700;
	color: var(--lqn-primary);
}

.fb-follow {
	display: inline-block;
	background: #1877f2;
	color: #fff !important;
	padding: 8px 14px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 700;
}

.map-embed {
	overflow: hidden;
	background: #222;
}

.map-embed iframe {
	display: block;
	width: 100%;
	height: 235px;
	min-height: 235px;
	border: 0;
}

.contact-list {
	display: grid;
	gap: 4px;
	font-size: 15px;
	font-weight: 400;
	color: #fff;
}

.contact-list li {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	padding: 2px 0;
}

.contact-list i {
	color: #fff;
	width: 14px;
	font-size: 14px;
	margin-top: 4px;
	flex-shrink: 0;
	text-align: center;
}

.contact-list a {
	color: #fff;
}

.contact-list a:hover {
	color: var(--lqn-secondary);
}

.footer-social {
	margin-top: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	color: #fff;
	font-size: 15px;
}

.footer-social-icons {
	display: flex;
	gap: 10px;
}

.footer-social a {
	width: 28px;
	height: 28px;
	border-radius: 5px;
	border: 1px solid #fff;
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 15px;
	background: transparent;
}

.footer-social a:hover {
	border-color: var(--lqn-primary);
	background: var(--lqn-primary);
	color: #fff;
}

.footer-bottom {
	background: var(--lqn-primary);
	padding: 3px 0;
	text-align: center;
	font-size: 10px;
	font-weight: 400;
	color: #fff;
}

.footer-bottom p {
	margin: 0;
	color: #fff;
	font-size: 10px;
}

/* ---------- Floating contact (button-contact-vr style) ---------- */
#button-contact-vr {
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 99999;
}

#button-contact-vr .button-contact {
	position: relative;
	margin-top: -5px;
}

#button-contact-vr .phone-vr {
	position: relative;
	visibility: visible;
	background-color: transparent;
	width: 90px;
	height: 90px;
	cursor: pointer;
	z-index: 11;
	display: block;
}

.phone-vr-circle-fill {
	width: 65px;
	height: 65px;
	top: 12px;
	left: 12px;
	position: absolute;
	box-shadow: 0 0 0 0 #c31d1d;
	background-color: rgba(230, 8, 8, 0.7);
	border-radius: 50%;
	border: 2px solid transparent;
	animation: phone-vr-zoom 1.3s infinite;
	transform-origin: 50% 50%;
}

.phone-vr-img-circle {
	background-color: #e60808;
	width: 40px;
	height: 40px;
	line-height: 40px;
	top: 25px;
	left: 25px;
	position: absolute;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	animation: phone-vr-shake 1s infinite ease-in-out;
	transform-origin: 50% 50%;
}

.phone-vr-img-circle a {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
}

.phone-vr-img-circle img {
	max-height: 25px;
	max-width: 27px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Map – tím */
#map-vr .phone-vr-circle-fill,
#map-vr .phone-vr-img-circle {
	background-color: #8224e3;
}

#map-vr .phone-vr-circle-fill {
	opacity: 0.7;
	box-shadow: 0 0 0 0 #8224e3;
}

/* Zalo – xanh dương */
#zalo-vr .phone-vr-circle-fill {
	box-shadow: 0 0 0 0 #2196f3;
	background-color: rgba(33, 150, 243, 0.7);
}

#zalo-vr .phone-vr-img-circle {
	background-color: #2196f3;
}

/* WhatsApp – xanh lá */
#whatsapp-vr .phone-vr-circle-fill {
	box-shadow: 0 0 0 0 #1fd744;
	background-color: rgb(35 217 72 / 70%);
}

#whatsapp-vr .phone-vr-img-circle {
	background: #1cd741;
}

#whatsapp-vr .phone-vr-img-circle img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 50%;
}

/* Phone – đỏ */
#phone-vr .phone-vr-circle-fill {
	box-shadow: 0 0 0 0 #c31d1d;
	background-color: rgba(230, 8, 8, 0.7);
}

#phone-vr .phone-vr-img-circle {
	background-color: #e60808;
}

@keyframes phone-vr-zoom {
	0% {
		transform: scale(0.9);
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 15px transparent;
	}
	100% {
		transform: scale(0.9);
		box-shadow: 0 0 0 0 transparent;
	}
}

@keyframes phone-vr-shake {
	0% {
		transform: rotate(0) scale(1) skew(1deg);
	}
	10% {
		transform: rotate(-25deg) scale(1) skew(1deg);
	}
	20% {
		transform: rotate(25deg) scale(1) skew(1deg);
	}
	30% {
		transform: rotate(-25deg) scale(1) skew(1deg);
	}
	40% {
		transform: rotate(25deg) scale(1) skew(1deg);
	}
	50% {
		transform: rotate(0) scale(1) skew(1deg);
	}
	100% {
		transform: rotate(0) scale(1) skew(1deg);
	}
}

/* ---------- Generic page ---------- */
.content-wrap {
	padding: 40px 0 60px;
}

.page-title {
	margin: 0 0 20px;
	color: var(--lqn-primary);
	font-size: 24px;
	font-weight: 600;
}

/* ---------- Service detail page ---------- */
.service-hero {
	position: relative;
	min-height: 340px;
	display: flex;
	align-items: stretch;
	background-color: var(--lqn-primary);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.service-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(12, 36, 46, 0.55) 0%,
		rgba(12, 36, 46, 0.48) 45%,
		rgba(12, 36, 46, 0.62) 100%
	);
	pointer-events: none;
	z-index: 0;
}

.service-hero .service-hero-inner {
	position: relative;
	z-index: 1;
	width: min(100% - 64px, var(--container));
	max-width: var(--container);
	min-height: 340px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	padding: 76px 0 56px;
	box-sizing: border-box;
}

.service-breadcrumb {
	position: absolute;
	top: 28px;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0 4px;
	font-size: 13px;
	line-height: 1.4;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.88);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.service-breadcrumb a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
}

.service-breadcrumb a:hover {
	color: var(--lqn-secondary);
}

.service-breadcrumb .sep {
	color: rgba(255, 255, 255, 0.45);
	font-size: 12px;
}

.service-breadcrumb .current {
	color: #fff;
}

.service-hero-center {
	width: min(920px, 100%);
	margin-inline: auto;
	text-align: center;
	padding: 0 12px;
}

.service-hero-title {
	margin: 0;
	color: #fff;
	font-family: "Quicksand", sans-serif;
	font-size: clamp(28px, 3.5vw, 42px);
	font-weight: 700;
	line-height: 1.22;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.service-hero-line {
	display: block;
	width: 48px;
	height: 3px;
	margin: 18px auto 0;
	background: var(--lqn-secondary);
	border-radius: 2px;
}

.service-hero-hotline {
	margin: 18px 0 0;
	font-size: 17px;
	font-weight: 600;
	color: #fff;
	letter-spacing: 0.02em;
}

.service-hero-hotline a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #fff;
	text-decoration: none;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 4px;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.service-hero-hotline a:hover {
	background: rgba(89, 190, 226, 0.18);
	border-color: var(--lqn-secondary);
	color: #fff;
}

.service-hero-hotline i {
	font-size: 14px;
	color: var(--lqn-secondary);
}

.service-detail {
	padding: 36px 0 56px;
	background: #fff;
}

.service-detail-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 36px;
	align-items: start;
}

.service-detail-hotline {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 600;
}

.service-detail-hotline a {
	color: var(--lqn-primary);
}

.service-detail-hotline a:hover {
	color: var(--lqn-accent);
}

.service-detail-content {
	color: #181818;
	font-size: 15px;
	line-height: 1.7;
}

.service-detail-content .service-hotline {
	font-weight: 600;
	margin-bottom: 12px;
}

.service-detail-content .service-hotline a {
	color: var(--lqn-primary);
}

.service-detail-content img {
	max-width: 100%;
	height: auto;
}

.service-detail-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid #ebebeb;
}

.service-detail-nav a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-width: 48%;
	color: var(--lqn-primary);
}

.service-detail-nav .svc-next {
	text-align: right;
	margin-left: auto;
}

.service-detail-nav .lbl {
	font-size: 12px;
	text-transform: uppercase;
	color: #888;
}

.service-detail-nav .ttl {
	font-size: 15px;
	font-weight: 600;
}

.service-detail-nav a:hover .ttl {
	color: var(--lqn-secondary);
}

.service-detail-aside {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.svc-aside-block {
	border: 1px solid #e5e5e5;
	background: #fff;
	overflow: hidden;
}

.svc-aside-title {
	margin: 0;
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #fff;
	background: var(--lqn-primary);
}

.svc-aside-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.svc-aside-list li {
	border-bottom: 1px solid #eee;
}

.svc-aside-list li:last-child {
	border-bottom: 0;
}

.svc-aside-list a {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 14px;
	color: #181818;
	font-size: 13px;
	line-height: 1.4;
	transition: background 0.15s ease, color 0.15s ease;
}

.svc-aside-thumb {
	flex: 0 0 70px;
	width: 70px;
	height: 70px;
	background-color: #e8e8e8;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.svc-aside-text {
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.svc-aside-list li.is-current a,
.svc-aside-list a:hover {
	color: var(--lqn-primary);
	background: #f7fafb;
}

.svc-aside-list li.is-current .svc-aside-text,
.svc-aside-list a:hover .svc-aside-text {
	font-weight: 600;
}

.svc-aside-empty {
	padding: 14px;
	font-size: 13px;
	color: #888;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.about-grid,
	.bangtin-grid,
	.footer-main,
	.service-detail-grid {
		grid-template-columns: 1fr;
	}

	.service-hero,
	.service-hero-inner {
		min-height: 280px;
	}

	.service-hero .service-hero-inner {
		width: min(100% - 48px, var(--container));
		min-height: 280px;
		padding: 68px 0 44px;
	}

	.service-breadcrumb {
		top: 18px;
		font-size: 12px;
		gap: 6px;
	}

	.service-hero-title {
		font-size: 24px;
		letter-spacing: 0.02em;
	}

	.service-hero-hotline {
		font-size: 15px;
	}

	.service-hero-hotline a {
		padding: 7px 12px;
	}

	.footer-title {
		font-size: 16px;
	}

	.contact-list {
		font-size: 13px;
	}

	.contact-list i {
		font-size: 11px;
	}

	.bangtin-main {
		background-attachment: scroll;
	}

	.bangtin-banner img {
		max-width: 40%;
	}

	.partner-item {
		width: calc((100% - 45px) / 4);
	}

	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.services-section {
		background-attachment: scroll;
	}

	.services-inner {
		max-width: none;
	}

	.service-thumb {
		aspect-ratio: 100 / 50;
	}

	.service-title,
	.service-title a {
		white-space: normal;
		font-size: 14px;
	}

	.stats-pill {
		border-radius: 24px;
		padding: 20px 16px;
		/* Mobile/iOS: fixed attachment gần như không chạy */
		background-attachment: scroll;
	}

	.stats-grid {
		grid-template-columns: repeat(3, 1fr);
		row-gap: 18px;
	}

	.slide-title {
		font-size: 22px;
		line-height: 30px;
	}

	.hero-slider {
		height: 64vh;
	}
}

@media (max-width: 860px) {
	.nav-toggle {
		display: block;
		order: 3;
	}

	.header-inner {
		flex-wrap: wrap;
	}

	.site-branding {
		flex: 1;
	}

	.main-navigation {
		display: none;
		width: 100%;
		order: 4;
		justify-content: stretch;
		margin-left: 0;
		margin-right: 0;
		background: #fff;
		border-top: 1px solid #eee;
		padding: 8px 0 12px;
	}

	.main-navigation.is-open {
		display: block;
	}

	.primary-menu {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
	}

	.primary-menu > li > a {
		padding: 12px 4px;
		border-bottom: 1px solid #f0f0f0;
		justify-content: space-between;
	}

	.primary-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-left: 2px solid var(--lqn-secondary);
		display: none;
		min-width: 0;
		background: #fafafa;
	}

	.primary-menu > li.is-open > .sub-menu {
		display: block;
	}

	.header-tools {
		order: 2;
	}

	.hero-slider {
		height: 52vh;
		min-height: 360px;
	}
}

@media (max-width: 640px) {
	.services-grid {
		grid-template-columns: 1fr;
	}

	.stats-grid {
		grid-template-columns: 1fr;
	}

	.stats-pill {
		border-radius: 16px;
	}

	.subscribe-inner {
		flex-direction: column;
		align-items: stretch;
	}

	.subscribe-form {
		max-width: none;
	}

	.subscribe-section {
		padding: 28px 0;
	}

	#button-contact-vr {
		transform: scale(0.88);
		transform-origin: left bottom;
	}

	.video-frame {
		aspect-ratio: 16 / 10;
	}

	.slide-title {
		font-size: 18px;
		line-height: 26px;
	}

	.slide-tel {
		font-size: 16px;
	}

	.bangtin-feed-item {
		grid-template-columns: 96px 1fr;
		gap: 10px;
	}

	.bangtin-banner img {
		max-width: 55%;
	}

	.bangtin-list-box {
		max-height: 360px;
	}

	.partner-item {
		width: calc((100% - 15px) / 2);
	}
}
