/*
 * Binhgiunhiet design-system bridge for Airport Transfers.
 *
 * The source theme uses a calm, card-led layout, purposeful micro motion and
 * a responsive accordion menu.  This bridge maps those rules to the English
 * Airport Transfers child-theme classes without importing Vietnamese content
 * or replacing the existing templates.
 */

:root {
	--at-sync-ease: cubic-bezier(.2, .8, .2, 1);
	--at-sync-ink: #202936;
	--at-sync-muted: #66717d;
	--at-sync-border: rgb(27 39 54 / 12%);
	--at-sync-surface: #f5f6fa;
	--at-sync-ice: #fffaf1;
	--at-sync-shadow: 0 14px 36px rgb(26 39 54 / 8%);
}

/* Keep the page rhythm close to the latest BGN source while retaining the
 * Airport brand's white canvas and yellow accent. */
.home-main > .section {
	position: relative;
	isolation: isolate;
}

.home-main > .section + .section {
	border-top: 1px solid rgb(27 39 54 / 4%);
}

.home-main [data-reveal],
.child-site-footer [data-reveal] {
	transition-timing-function: var(--at-sync-ease);
}

.home-main .button,
.child-site-footer .button,
.child-site-header .child-header-booking {
	transition-timing-function: var(--at-sync-ease);
}

.home-main .button:hover,
.child-site-footer .button:hover,
.child-site-header .child-header-booking:hover {
	transform: translateY(-3px);
}

.home-main .button span[aria-hidden="true"],
.child-site-footer .button span[aria-hidden="true"],
.child-site-header .child-header-booking__arrow {
	display: inline-block;
	transition: transform .24s var(--at-sync-ease);
}

.home-main .button:hover span[aria-hidden="true"],
.home-main .button:focus-visible span[aria-hidden="true"],
.child-site-footer .button:hover span[aria-hidden="true"],
.child-site-footer .button:focus-visible span[aria-hidden="true"],
.child-site-header .child-header-booking:hover .child-header-booking__arrow,
.child-site-header .child-header-booking:focus-visible .child-header-booking__arrow {
	transform: translate(3px, -2px);
}

/* -------------------------------------------------------------------------
 * Header and desktop mega menu
 * ---------------------------------------------------------------------- */
.child-site-header {
	isolation: isolate;
}

.child-site-header .site-header__inner {
	position: relative;
	z-index: 2;
}

.child-site-header .primary-navigation__list > .mega-menu__item {
	position: relative;
}

.child-site-header .primary-navigation__list > .mega-menu__item > a {
	letter-spacing: .01em;
	transition: color .2s ease, transform .2s var(--at-sync-ease);
}

.child-site-header .primary-navigation__list > .mega-menu__item > a:hover,
.child-site-header .primary-navigation__list > .mega-menu__item > a:focus-visible {
	transform: translateY(-1px);
}

.child-site-header .mega-menu__panel {
	border-top: 3px solid var(--at-primary);
	filter: drop-shadow(0 22px 48px rgb(5 42 72 / 10%));
}

.child-site-header .mega-menu__panel-inner {
	position: relative;
	background: var(--at-white);
	box-shadow: 0 20px 52px rgb(27 27 27 / 12%);
}

.child-site-header .mega-menu__panel-inner::after {
	position: absolute;
	inset: 0;
	border: 1px solid rgb(245 183 84 / 15%);
	border-radius: inherit;
	content: "";
	pointer-events: none;
}

.child-site-header .mega-menu__panel .mega-menu__item > a {
	min-height: 48px;
	transition: background-color .2s ease, border-color .2s ease,
		color .2s ease, transform .2s var(--at-sync-ease);
}

.child-site-header .mega-menu__panel .mega-menu__item > a:hover,
.child-site-header .mega-menu__panel .mega-menu__item > a:focus-visible {
	transform: translateX(3px);
}

.child-site-header .mega-menu__panel .mega-menu__item > a::after {
	content: "↗";
	color: var(--at-primary-dark);
	font-size: .9rem;
	opacity: 0;
	transform: translate(-4px, 4px);
	transition: opacity .2s ease, transform .2s var(--at-sync-ease);
}

.child-site-header .mega-menu__panel .mega-menu__item > a:hover::after,
.child-site-header .mega-menu__panel .mega-menu__item > a:focus-visible::after,
.child-site-header .mega-menu__panel .mega-menu__item--featured > a::after {
	opacity: .9;
	transform: none;
}

.child-site-header .mega-menu__panel .mega-menu__item--featured > a {
	box-shadow: 0 8px 20px rgb(245 183 84 / 22%);
}

.child-site-header .mega-menu__panel .mega-menu__item--featured > a:hover,
.child-site-header .mega-menu__panel .mega-menu__item--featured > a:focus-visible {
	background: var(--at-primary-dark);
	color: var(--at-white);
}

@keyframes at-sync-mega-panel-in {
	from { opacity: 0; transform: translate(-50%, -7px) scale(.985); }
	to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@media (min-width: 1051px) {
	.child-site-header .mega-menu__panel {
		animation: at-sync-mega-panel-in .28s var(--at-sync-ease) both;
	}

	.child-site-header .mega-menu__panel-inner {
		padding: 20px;
	}

	.child-site-header .mega-menu__columns {
		grid-template-columns: repeat(2, minmax(220px, 1fr));
		gap: 9px 16px;
	}
}

/* Mobile menu mirrors the source accordion: large touch targets, a clear
 * yellow rail and no hover-only interaction. */
@media (max-width: 1050px) {
	.child-site-header .primary-navigation {
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.child-site-header .primary-navigation__list > .mega-menu__item {
		transition: background-color .2s ease;
	}

	.child-site-header .primary-navigation__list > .mega-menu__item:focus-within {
		background: rgb(245 183 84 / 5%);
	}

	.child-site-header .primary-navigation .mega-menu__panel {
		will-change: max-height, opacity;
	}

	.child-site-header .primary-navigation .mega-menu__panel-inner {
		border-left-width: 3px;
		border-left-color: rgb(245 183 84 / 62%);
		background: transparent;
	}

	.child-site-header .primary-navigation .mega-menu__panel .mega-menu__item > a:hover,
	.child-site-header .primary-navigation .mega-menu__panel .mega-menu__item > a:focus-visible {
		transform: translateX(2px);
		background: var(--at-sync-ice);
	}

	.child-site-header .primary-navigation .mega-menu__panel .mega-menu__item > a::after {
		display: none;
	}
}

/* -------------------------------------------------------------------------
 * Capability / trust section
 * ---------------------------------------------------------------------- */
.home-trust {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(62px, 7vw, 96px) clamp(72px, 8vw, 108px);
	background: var(--at-white);
}

.home-trust__rings {
	position: absolute;
	top: 53%;
	right: clamp(-470px, -20vw, -130px);
	z-index: -1;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.home-trust__rings span {
	position: absolute;
	top: 0;
	left: 0;
	width: var(--at-ring-size);
	height: var(--at-ring-size);
	border: 1px solid rgb(27 39 54 / 9%);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.home-trust__rings span:nth-child(1) { --at-ring-size: 220px; }
.home-trust__rings span:nth-child(2) {
	--at-ring-size: 420px;
	animation: at-trust-orbit 26s linear -4s infinite;
}
.home-trust__rings span:nth-child(3) { --at-ring-size: 620px; }
.home-trust__rings span:nth-child(4) {
	--at-ring-size: 820px;
	animation: at-trust-orbit 34s linear -11s infinite reverse;
}
.home-trust__rings span:nth-child(5) { --at-ring-size: 1020px; }
.home-trust__rings span:nth-child(6) {
	--at-ring-size: 1220px;
	animation: at-trust-orbit 42s linear -19s infinite;
}

.home-trust__rings span:nth-child(2)::after,
.home-trust__rings span:nth-child(4)::after,
.home-trust__rings span:nth-child(6)::after {
	position: absolute;
	top: 50%;
	left: 100%;
	width: 12px;
	height: 12px;
	border: 2px solid var(--at-white);
	border-radius: 50%;
	background: var(--at-primary);
	box-shadow: 0 0 0 1px rgb(245 183 84 / 24%), 0 0 16px rgb(245 183 84 / 22%);
	content: "";
	transform: translate(-50%, -50%);
}

@keyframes at-trust-orbit {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to { transform: translate(-50%, -50%) rotate(360deg); }
}

.home-trust > .container {
	position: relative;
	z-index: 1;
}

.home-trust__header {
	display: block;
	max-width: 780px;
	margin-inline: auto;
	margin-bottom: clamp(30px, 3vw, 44px);
	text-align: center;
}

.home-trust__header .eyebrow {
	margin-bottom: 14px;
}

.home-trust__header h2 {
	margin-inline: auto;
	margin-bottom: 0;
	color: var(--at-sync-ink);
	font-size: clamp(2rem, 3.2vw, 2.7rem);
	letter-spacing: -.035em;
}

.home-trust__header > p:last-child {
	max-width: 650px;
	margin: 20px auto 0;
	color: var(--at-sync-muted);
	line-height: 1.75;
}

.home-trust__list {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(18px, 3vw, 34px);
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.home-trust__item {
	min-width: 0;
	padding: 22px 0 12px;
	border: 1px solid transparent;
	border-radius: 14px 14px 14px 0;
	transition: transform .3s var(--at-sync-ease), border-color .3s ease,
		background-color .3s ease, box-shadow .3s ease;
	transition-delay: var(--trust-delay, 0ms);
}

.home-trust__item:hover,
.home-trust__item:focus-within {
	border-color: rgb(245 183 84 / 30%);
	background: rgb(255 250 241 / 72%);
	box-shadow: var(--at-sync-shadow);
	transform: translateY(-5px);
}

.home-trust__number {
	display: inline-grid;
	width: 42px;
	height: 42px;
	margin: 0 0 17px 16px;
	place-items: center;
	border-radius: 50%;
	background: rgb(245 183 84 / 19%);
	color: var(--at-primary-dark);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .04em;
}

.home-trust__item h3,
.home-trust__item p {
	margin-inline: 16px;
}

.home-trust__item h3 {
	color: var(--at-sync-ink);
	font-size: clamp(1.05rem, 1.4vw, 1.22rem);
	line-height: 1.28;
}

.home-trust__item p {
	margin-bottom: 0;
	color: var(--at-sync-muted);
	font-size: .86rem;
	line-height: 1.72;
}

/* -------------------------------------------------------------------------
 * Reviews: source-like card rhythm and a touch-friendly mobile rail.
 * ---------------------------------------------------------------------- */
.home-reviews {
	background: var(--at-sync-surface);
}

.home-reviews__summary {
	border-radius: 18px 18px 18px 0;
	background: rgb(255 255 255 / 92%);
	box-shadow: var(--at-sync-shadow);
}

.home-review-card {
	position: relative;
	border-radius: 16px 16px 16px 0;
	box-shadow: var(--at-sync-shadow);
	transition-delay: var(--review-delay, 0ms);
}

.home-review-card::before {
	position: absolute;
	top: -1px;
	right: 24px;
	left: 24px;
	height: 3px;
	border-radius: 0 0 4px 4px;
	background: linear-gradient(90deg, var(--at-primary), rgb(245 183 84 / 15%));
	content: "";
}

.home-review-card:hover,
.home-review-card:focus-within {
	box-shadow: 0 22px 48px rgb(26 39 54 / 12%);
}

.home-reviews__control {
	transition: background-color .24s ease, border-color .24s ease,
		color .24s ease, transform .24s var(--at-sync-ease), opacity .24s ease;
}

.home-reviews__control:hover:not(:disabled),
.home-reviews__control:focus-visible:not(:disabled) {
	transform: translateY(-50%) scale(1.06);
}

/* -------------------------------------------------------------------------
 * Three-tier footer: source-like shine, rings and responsive hierarchy.
 * ---------------------------------------------------------------------- */
.child-site-footer {
	--at-footer-ink: #111315;
	isolation: isolate;
}

.child-site-footer .site-footer__cta {
	background:
		linear-gradient(105deg, rgb(245 183 84 / 9%), transparent 42%),
		linear-gradient(120deg, #23272a, #111315 74%);
}

.child-site-footer .site-footer__cta-inner,
.child-site-footer .site-footer__grid,
.child-site-footer .site-footer__bottom-inner {
	position: relative;
	z-index: 1;
}

.child-site-footer .site-footer__cta-actions .button {
	min-width: 218px;
	border-radius: 999px 999px 999px 0;
}

.child-site-footer .site-footer__main {
	background:
		radial-gradient(circle at 6% 0%, rgb(245 183 84 / 7%), transparent 28%),
		var(--at-footer-ink);
}

.child-site-footer .site-footer__wordmark {
	font-size: clamp(4.5rem, 12vw, 12rem);
	letter-spacing: -.06em;
}

.child-site-footer .footer-navigation__list a {
	min-height: 34px;
	transition: color .2s ease, transform .2s var(--at-sync-ease);
}

.child-site-footer .footer-navigation__list a:hover,
.child-site-footer .footer-navigation__list a:focus-visible {
	transform: translateX(3px);
}

.child-site-footer .site-footer__bottom a,
.child-site-footer .footer-back-to-top {
	transition: color .2s ease, background-color .2s ease,
		transform .2s var(--at-sync-ease);
}

/* Keep the three ambient dots on separate orbits, including when a browser
 * applies a reduced-motion reset to all descendants. */
.child-site-footer .site-footer__ambient span:first-child {
	animation: at-footer-dot-orbit 22s linear -3s infinite;
}

.child-site-footer .site-footer__ambient span:last-child::before {
	animation: at-footer-inner-dot-orbit 29s linear -9s infinite reverse;
}

.child-site-footer .site-footer__ambient span:last-child::after {
	animation: at-footer-core-dot-orbit 18s linear -6s infinite;
}

@keyframes at-footer-dot-orbit {
	from { transform: rotate(0deg) translateY(calc(var(--footer-orbit-size) / -2)); }
	to { transform: rotate(360deg) translateY(calc(var(--footer-orbit-size) / -2)); }
}

@keyframes at-footer-inner-dot-orbit {
	from { transform: rotate(0deg) translateY(calc(var(--footer-orbit-size) * -0.38)); }
	to { transform: rotate(360deg) translateY(calc(var(--footer-orbit-size) * -0.38)); }
}

@keyframes at-footer-core-dot-orbit {
	from { transform: rotate(0deg) translateY(calc(var(--footer-orbit-size) * -0.22)); }
	to { transform: rotate(360deg) translateY(calc(var(--footer-orbit-size) * -0.22)); }
}

@media (max-width: 1050px) {
	.home-trust__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.home-trust__item {
		padding: 18px 0 16px;
	}

	.child-site-footer .site-footer__cta-actions .button {
		min-width: 0;
	}
}

@media (max-width: 720px) {
	.home-trust {
		padding-block: 54px 62px;
	}

	.home-trust__rings {
		top: 58%;
		right: -265px;
		transform: scale(.7);
		transform-origin: center;
	}

	.home-trust__header {
		margin-bottom: 26px;
	}

	.home-trust__header h2 {
		font-size: clamp(1.8rem, 8.5vw, 2.3rem);
		line-height: 1.12;
	}

	.home-trust__header > p:last-child {
		margin-top: 14px;
		font-size: .92rem;
	}

	.home-trust__list {
		gap: 12px;
	}

	.home-trust__item {
		padding: 15px 0 14px;
		background: rgb(255 255 255 / 84%);
		box-shadow: 0 8px 22px rgb(26 39 54 / 5%);
	}

	.home-trust__number {
		width: 38px;
		height: 38px;
		margin-bottom: 12px;
	}

	.home-trust__item h3,
	.home-trust__item p {
		margin-inline: 13px;
	}

	.home-trust__item h3 {
		font-size: .94rem;
	}

	.home-trust__item p {
		display: -webkit-box;
		overflow: hidden;
		margin-top: 7px;
		font-size: .76rem;
		line-height: 1.5;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}

	.home-reviews__summary {
		justify-content: flex-start;
		margin-top: 28px;
		padding: 20px;
	}

	.child-site-footer .site-footer__cta-actions .button {
		width: 100%;
	}
}

@media (max-width: 350px) {
	.home-trust__list {
		grid-template-columns: 1fr;
	}

	.home-trust__item {
		display: grid;
		grid-template-columns: 42px minmax(0, 1fr);
		column-gap: 12px;
		align-items: start;
		padding: 14px 12px;
	}

	.home-trust__number {
		grid-row: 1 / span 2;
		margin: 0;
	}

	.home-trust__item h3,
	.home-trust__item p {
		margin-inline: 0;
	}

	.home-trust__item p {
		grid-column: 2;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-trust__rings span,
	.child-site-footer .site-footer__ambient span:first-child,
	.child-site-footer .site-footer__ambient span:last-child::before,
	.child-site-footer .site-footer__ambient span:last-child::after {
		animation-duration: 40s !important;
		animation-iteration-count: infinite !important;
	}

	.home-trust__item,
	.home-reviews__control,
	.child-site-footer .footer-navigation__list a,
	.child-site-header .mega-menu__panel .mega-menu__item > a {
		transition: none;
	}
}
