/*
Theme Name: Xe Cau 24h Clone
Theme URI: https://local.xecau
Author: OpenAI
Author URI: https://openai.com
Description: Theme landing page doanh nghiep lay cam hung tu mau xecau24h.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: xecau24h-clone
*/

:root {
	--xc-bg: #ffffff;
	--xc-surface: #ffffff;
	--xc-surface-alt: #f3f5f7;
	--xc-dark: #234a57;
	--xc-dark-2: #193945;
	--xc-text: #5f6a73;
	--xc-heading: #24424f;
	--xc-accent: #f8ab1e;
	--xc-accent-2: #ff8f3c;
	--xc-border: #e8edf0;
	--xc-radius: 10px;
	--xc-shadow: 0 16px 40px rgba(16, 44, 56, 0.09);
	--xc-container: 1110px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--xc-bg);
	color: var(--xc-text);
	font-family: "Be Vietnam Pro", Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	animation: fadeInBody 0.6s ease both;
}
.main-navigation{
	width: 100%;
}
@keyframes fadeInBody {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	left: -9999px;
}

.xc-container {
	width: min(calc(100% - 48px), var(--xc-container));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid rgba(18, 49, 60, 0.08);
	backdrop-filter: blur(14px);
	animation: slideDownHeader 0.5s ease both;
}

@keyframes slideDownHeader {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 66px;
}

.site-branding {
	display: flex;
	align-items: center;
	min-width: 0;
}

.site-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.site-logo {
	display: block;
	max-height: 70px;
	width: auto;
	transition: transform 0.25s ease;
}

.site-logo-link:hover .site-logo,
.site-logo-link:focus-visible .site-logo {
	transform: scale(1.04);
}

.site-description {
	display: none;
}

.site-nav-wrap {
	display: flex;
	align-items: center;
	gap: 18px;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation a {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #6e7680;
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a {
	color: var(--xc-heading);
}

.site-phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff8d50, #ff6d48);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	box-shadow: 0 10px 20px rgba(255, 109, 72, 0.26);
	min-width: max-content;
}

.site-phone::before {
	content: "\260E";
	font-size: 14px;
}

.site-main {
	padding: 0;
}

.xc-hero {
	position: relative;
	overflow: hidden;
	background-image: linear-gradient(90deg, rgb(0 19 26 / 88%) 0%, rgb(0 0 0 / 50%) 100%), url(images/banner.png);
	background-size: cover;
	background-position: center;
	color: #fff;
}

.xc-hero::after {
	content: "";
	position: absolute;
	left: -5%;
	right: -5%;
	bottom: -54px;
	height: 145px;
	background: #fff;
	border-top-left-radius: 50% 100%;
	border-top-right-radius: 50% 100%;
}

.xc-hero__inner {
	position: relative;
	z-index: 1;
	padding: 110px 0 150px;
	max-width: 690px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--xc-accent);
}

.eyebrow::before {
	content: "\2605";
	font-size: 12px;
}

.xc-hero__title,
.section-heading,
.service-card__title,
.footer-brand__title,
.cta-strip__title,
.gallery-cta {
	margin: 0;
	color: #fff;
	font-weight: 900;
	font-family: "Barlow Condensed", "Be Vietnam Pro", Arial, sans-serif;
	text-transform: uppercase;
}

.xc-hero__title {
	margin-top: 18px;
	font-size: clamp(44px, 7vw, 72px);
	line-height: 1.2;
}

.xc-hero__title .accent {
	color: var(--xc-accent);
}

.xc-hero__text {
	max-width: 620px;
	margin: 22px 0 0;
	font-size: 18px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.88);
}

.xc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 32px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 24px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	border: 1px solid transparent;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
	transform: translateY(-3px) scale(1.01);
	box-shadow: 0 18px 28px rgba(0, 0, 0, 0.18);
}

.feature-card,
.service-card,
.gallery-card,
.footer-panel {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.service-card:hover,
.gallery-card:hover,
.footer-panel:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(16, 44, 56, 0.12);
}

.section {
	animation: fadeUpSection 0.7s ease both;
}

@keyframes fadeUpSection {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.btn-icon {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 1;
	margin-right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.btn-primary {
	background: var(--xc-accent);
	color: #193945;
	box-shadow: 0 12px 30px rgba(248, 171, 30, 0.28);
}

.btn-secondary {
	background: #fff;
	color: var(--xc-heading);
	box-shadow: 0 10px 24px rgba(18, 49, 60, 0.1);
}

.floating-zalo {
	position: fixed;
	left: 12px;
	bottom: 84px;
	z-index: 35;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 10px 20px rgba(217, 35, 35, 0.22);
	display: grid;
	place-items: center;
	border: 2px solid #ffd0d0;
}

.floating-zalo::before {
	content: "";
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #ff6a6a 0, #ff1717 68%, #c50000 100%);
}

.section {
	padding: 76px 0;
}

.section-light {
	background: #fff;
}

.section-muted {
	background: var(--xc-surface-alt);
}

.section-head {
	max-width: 720px;
	margin: 0 auto 38px;
	text-align: center;
}

.section-heading {
	color: var(--xc-heading);
	font-size: clamp(34px, 5vw, 52px);
	line-height: 1;
}

.section-divider {
	width: 82px;
	height: 5px;
	margin: 16px auto 0;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--xc-accent), #ffe1aa);
}

.section-subtext {
	margin: 16px auto 0;
	max-width: 620px;
	font-size: 17px;
	line-height: 1.8;
	color: #8b98a1;
}

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

.feature-card,
.service-card,
.gallery-card,
.footer-panel,
.content-card,
.widget-area .widget {
	background: #fff;
	border-radius: 8px;
	box-shadow: var(--xc-shadow);
}

.feature-card {
	padding: 30px 28px 28px;
	text-align: center;
	border-bottom: 3px solid var(--xc-accent);
}

.feature-card__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: linear-gradient(180deg, #fff 0%, #f4f7f9 100%);
	box-shadow: inset 0 0 0 1px rgba(32, 61, 73, 0.06);
	display: grid;
	place-items: center;
	color: var(--xc-accent);
}

.feature-card__icon svg,
.feature-card__icon img,
.feature-card__icon i {
	width: 24px;
	height: 24px;
	font-size: 24px;
	line-height: 1;
	object-fit: contain;
	fill: currentColor;
}

.feature-card__title,
.service-card__title {
	margin: 0;
	color: var(--xc-heading);
	font-size: 26px;
	line-height: 1.05;
	font-weight: 900;
	font-family: "Barlow Condensed", "Be Vietnam Pro", Arial, sans-serif;
}

.feature-card__title {
	font-size: 22px;
	text-transform: none;
}

.feature-card__text,
.service-card__text {
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.8;
	color: #7f8a93;
}

.service-card {
	overflow: hidden;
}

.service-card__media {
	aspect-ratio: 1.18 / 1;
	background: #d8e2e8;
}

.service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-card__body {
	padding: 16px 18px 18px;
}

.service-card__title {
	font-size: 20px;
	text-transform: none;
}

.service-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 800;
	color: var(--xc-accent);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.gallery-card {
	overflow: hidden;
	border-radius: 6px;
}

.gallery-card img {
	width: 100%;
	height: 100%;
	aspect-ratio: 0.76 / 1;
	object-fit: cover;
}

.video-section {
	display: grid;
	grid-template-columns: 1.3fr 1.7fr;
	gap: 24px;
	margin: 32px 0 24px;
	align-items: center;
}

.video-content {
	padding: 24px 26px;
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--xc-shadow);
}

.video-player {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--xc-shadow);
}

.video-player__media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 560px;
	background: #000;
	object-fit: cover;
}

@media (max-width: 900px) {
	.video-section {
		grid-template-columns: 1fr;
	}
}

.gallery-action {
	margin-top: 24px;
	text-align: center;
}

.gallery-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 24px;
	background: var(--xc-dark);
	border-radius: 4px;
	font-size: 13px;
}

.cta-strip {
	background: linear-gradient(90deg, #f4a51a 0%, #ffb422 100%);
}

.cta-strip__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 0;
}

.cta-strip__title {
	font-size: clamp(26px, 4vw, 40px);
	line-height: 1;
	color: var(--xc-heading);
}

.cta-strip__text {
	margin: 8px 0 0;
	color: rgba(36, 66, 79, 0.9);
}

.cta-hotline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 4px;
	background: #f56f4c;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	min-width: max-content;
}

@media (max-width: 980px) {
	.site-header__inner {
		flex-wrap: wrap;
		padding: 12px 0;
	}

	.site-nav-wrap {
		width: 100%;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.main-navigation ul {
		gap: 16px;
		flex-wrap: wrap;
	}

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

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

	.cta-strip__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 700px) {
	.xc-container {
		width: min(calc(100% - 24px), var(--xc-container));
	}

	.site-header__inner {
		gap: 12px;
	}

	.site-branding {
		width: 100%;
		justify-content: center;
	}

	.site-logo {
		max-height: 56px;
	}

	.site-nav-wrap {
		justify-content: center;
		flex-direction: column;
		align-items: center;
	}

	.main-navigation ul {
		justify-content: center;
		gap: 10px 14px;
	}

	.site-phone {
		width: 100%;
		justify-content: center;
	}

	.xc-hero__inner {
		padding: 84px 0 120px;
	}

	.xc-hero__title {
		font-size: clamp(34px, 8vw, 46px);
	}

	.xc-hero__text {
		font-size: 16px;
	}

	.xc-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.btn {
		width: 100%;
	}

	.section {
		padding: 64px 0;
	}

	.section-heading {
		font-size: clamp(28px, 7vw, 36px);
	}

	.feature-grid,
	.service-grid,
	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.gallery-cta,
	.cta-hotline {
		width: 100%;
	}

	.cta-strip__title {
		font-size: clamp(24px, 7vw, 32px);
	}

	.floating-zalo {
		left: 10px;
		bottom: 20px;
	}
}

.site-footer {
	background: linear-gradient(180deg, #0f3340 0%, #133745 100%);
	color: rgba(255, 255, 255, 0.76);
}

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 520px;
	gap: 44px;
	padding: 54px 0 34px;
}

.footer-brand__title {
	font-size: 44px;
	line-height: 0.95;
}

.footer-brand__title .accent {
	color: var(--xc-accent);
}

.footer-meta {
	margin-top: 24px;
	display: grid;
	gap: 12px;
}

.footer-meta strong {
	display: block;
	margin-bottom: 4px;
	color: #fff;
	font-size: 14px;
}

.footer-socials {
	display: flex;
	gap: 12px;
	margin-top: 22px;
}

.footer-socials a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}

.footer-panel {
	padding: 28px 30px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: none;
	text-align: center;
}

.footer-panel__title {
	margin: 0;
	font-size: 32px;
	line-height: 1;
	font-weight: 900;
	font-family: "Barlow Condensed", "Be Vietnam Pro", Arial, sans-serif;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
}

.footer-panel__text {
	margin: 14px auto 0;
	max-width: 400px;
	text-align: center;
	color: rgba(255, 255, 255, 0.72);
}

.zalo-button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	margin-top: 18px;
	border-radius: 999px;
	background: #1c71ff;
	color: #fff;
	font-size: 18px;
	font-weight: 800;
}

.qr-block {
	width: 170px;
	margin: 22px auto 0;
	text-align: center;
}

.qr-code {
	padding: 10px;
	background: #fff;
	border-radius: 6px;
}

.qr-code svg {
	display: block;
	width: 100%;
	height: auto;
}

.footer-copy {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 18px 0 28px;
	text-align: center;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.52);
}

.content-shell {
	padding: 54px 0;
}

.content-card {
	padding: 26px;
}

.search-form {
	display: none;
}

@media (max-width: 1080px) {

	.feature-grid,
	.service-grid,
	.gallery-grid,
	.site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.xc-hero__inner {
		padding: 86px 0 138px;
	}
}

@media (max-width: 860px) {
	.xc-container {
		width: min(calc(100% - 28px), var(--xc-container));
	}

	.site-header__inner,
	.site-nav-wrap,
	.cta-strip__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-header {
		position: static;
	}

	.main-navigation ul {
		flex-wrap: nowrap;
		gap: 18px;
		overflow-x: auto;
		padding-bottom: 6px;
	}

	.feature-grid,
	.service-grid,
	.gallery-grid,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.xc-hero__title,
	.section-heading,
	.footer-brand__title,
	.footer-panel__title,
	.cta-strip__title {
		font-size: 38px;
	}

	.xc-hero__text,
	.section-subtext {
		font-size: 16px;
	}
}