/* ==========================================================================
   Meest — Commercial Shipping landing
   Values follow the Figma file (frames 1440 / 1200 / 992 / 768 / 576 / 375).
   ========================================================================== */

@font-face { font-family: "Montserrat"; src: url("https://com-delivery.meestcn.cn/wp-content/themes/meest-commercial/assets/fonts/montserrat-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("https://com-delivery.meestcn.cn/wp-content/themes/meest-commercial/assets/fonts/montserrat-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("https://com-delivery.meestcn.cn/wp-content/themes/meest-commercial/assets/fonts/montserrat-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("https://com-delivery.meestcn.cn/wp-content/themes/meest-commercial/assets/fonts/montserrat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--blue-100: #DDE9FA;
	--blue-200: #97BDF2;
	--blue-400: #488AE5;
	--blue-600: #0061AF;
	--blue-700: #1A488E;
	--navy: #0F2447;
	--black-900: #16191D;
	--black-500: #8B97A8;
	--black-400: #D3DDE3;
	--placeholder: #B6BEC9;
	--red: #E60033;
	--green: #07C160;
	--white: #fff;

	--font: "Montserrat", -apple-system, "Segoe UI", Roboto, Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;

	--container: 1360px;
	--gutter: 40px;
	--section: 100px;
	--radius: 16px;
	--shadow-sm: 0 2px 6px rgba(0, 0, 0, .1);
	--ease: cubic-bezier(.4, 0, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);

	--fs-display: 60px;
	--fs-h1: 48px;
	--fs-h3: 30px;
	--fs-overline: 16px;
	--head-gap: 16px;
	--block-gap: 48px;
}

@media (max-width: 1199px) { :root { --gutter: 32px; } }
@media (max-width: 1199px) and (min-width: 992px) { :root { --section: 80px; } }
@media (max-width: 991px)  { :root { --gutter: 24px; --section: 80px; --fs-display: 32px; --fs-h1: 30px; --fs-h3: 24px; --fs-overline: 14px; --head-gap: 8px; --block-gap: 32px; } }
@media (max-width: 575px)  { :root { --gutter: 16px; } }

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.4;
	color: var(--black-900);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.has-modal, body.menu-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4 { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link {
	position: fixed;
	left: 16px; top: -100px;
	z-index: 1000;
	padding: 8px 16px;
	background: var(--white);
	border-radius: 8px;
}
.skip-link:focus { top: 8px; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
.h1 { font-size: var(--fs-h1); font-weight: 600; line-height: 1; }
.h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; }
.h4 { font-size: 24px; font-weight: 600; line-height: 1.33; }
.h5 { font-size: 20px; font-weight: 600; line-height: 1.4; }
.accent { color: var(--blue-600); }
.lang-zh .h1, .lang-zh .hero__title { line-height: 1.2; }
@media (max-width: 991px) { .h1 { line-height: 1.2; } .h3 { line-height: 1.33; } }

.overline {
	display: flex;
	align-items: center;
	gap: 4px;
	color: var(--blue-600);
	font-size: var(--fs-overline);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .03em;
	text-transform: uppercase;
}
.overline .icon--dot { flex: none; width: 20px; height: 20px; }
.overline--white { color: var(--white); }

.section { padding-block: var(--section); }
.section-head { display: grid; gap: var(--head-gap); }
.section-head__text { margin-top: calc(24px - var(--head-gap)); }
.section-head--narrow { max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	padding: 0 24px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	border-radius: 100px;
	transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { flex: none; width: 24px; height: 24px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--md { height: 54px; font-size: 18px; line-height: 24px; }
.btn--lg { height: 64px; font-size: 18px; line-height: 24px; }
.btn--xl { height: 64px; font-size: 18px; line-height: 24px; }
.btn--primary { background: var(--blue-600); color: var(--white); }
.btn--primary:hover { background: var(--blue-700); box-shadow: 0 8px 20px rgba(0, 97, 175, .25); }
.btn--white { background: var(--white); color: var(--black-900); }
.btn--white:hover { background: var(--blue-100); }
.btn--ghost { background: var(--white); color: var(--black-900); }
.btn--ghost:hover { color: var(--blue-600); }
.btn--outline { background: var(--white); color: var(--black-900); box-shadow: inset 0 0 0 1px var(--black-400); }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	top: 8px;
	left: 0;
	right: 0;
	z-index: 100;
	padding-inline: var(--gutter);
	pointer-events: none;
	transition: transform .35s var(--ease);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 60px)); }
.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: var(--container);
	height: 80px;
	margin-inline: auto;
	padding: 16px 16px 16px 32px;
	background: var(--white);
	border-radius: 200px;
	box-shadow: var(--shadow-sm);
	pointer-events: auto;
	transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled .site-header__bar { box-shadow: 0 8px 24px rgba(15, 36, 71, .12); }
.site-header__brand { display: flex; align-items: center; gap: 20px; min-width: 0; }
.site-header__logo { flex: none; }
.site-header__logo img { width: 104px; height: 40px; }
.site-header__title {
	padding-left: 20px;
	border-left: 1.5px solid var(--black-400);
	color: var(--black-500);
	font-size: 14px;
	font-weight: 600;
	line-height: 24px;
	white-space: nowrap;
}
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__toggle { display: none; place-items: center; width: 40px; height: 40px; color: var(--black-900); }
.site-header__toggle .icon { width: 28px; height: 28px; }

.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 500; }
.lang-switch__item { padding: 8px 10px; color: var(--black-500); border-radius: 100px; transition: color .2s var(--ease); }
.lang-switch__item:hover, .lang-switch__item.is-active { color: var(--blue-600); }

.mobile-menu {
	position: fixed;
	inset: 0 0 auto;
	padding-bottom: 16px;
	background: var(--white);
	box-shadow: 0 10px 30px rgba(15, 36, 71, .15);
	pointer-events: auto;
	animation: mc-drop .3s var(--ease-out);
}
.mobile-menu__head { display: flex; align-items: center; gap: 16px; height: 72px; padding: 0 28px 0 36px; }
.mobile-menu__head .site-header__logo img { width: 88px; height: 34px; }
.mobile-menu__head .site-header__title { padding-left: 16px; font-size: 12px; }
.mobile-menu__close { display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; }
.mobile-menu__buttons { display: grid; gap: 8px; padding: 16px 16px 0; }
.mobile-menu__buttons .btn { width: 100%; }
.mobile-menu__lang { justify-content: center; padding-top: 8px; }

@media (max-width: 991px) {
	.site-header__bar { height: 64px; padding: 12px 12px 12px 20px; }
	.site-header__actions { display: none; }
	.site-header__toggle { display: grid; }
	.site-header__brand { gap: 16px; }
	.site-header__logo img { width: 88px; height: 34px; }
	.site-header__title { padding-left: 16px; font-size: 12px; }
}
@media (min-width: 992px) { .mobile-menu { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 800px;
	padding: 140px 0 120px;
	color: var(--white);
	background: var(--navy);
	overflow: hidden;
}
.hero__media, .hero__img, .hero__video, .hero__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img, .hero__video { object-fit: cover; }
.hero__video { transform: scaleX(-1); }
.hero__img { animation: mc-kenburns 24s ease-in-out infinite alternate; transform-origin: 60% 40%; }
.hero__overlay { background: rgba(15, 36, 71, .65); }
.hero__inner { position: relative; display: flex; align-items: flex-end; gap: 80px; }
.hero__content { flex: 1 1 0; display: grid; gap: 40px; min-width: 0; }
.hero__heading { display: grid; gap: 16px; }
.hero__overline { font-size: var(--fs-overline); font-weight: 500; line-height: 1.2; letter-spacing: .03em; text-transform: uppercase; }
.hero__title { max-width: 780px; font-size: var(--fs-display); font-weight: 700; line-height: 1; }
.hero__cta { display: flex; align-items: center; gap: 16px; }
.hero__btn { width: 240px; }
.hero__offer { display: grid; gap: 4px; padding-left: 16px; border-left: 1.5px solid var(--black-400); font-weight: 600; }
.hero__offer-title { font-size: 30px; line-height: 1.2; }
.hero__offer-text { font-size: 14px; }
.hero__aside { flex: none; display: grid; gap: 16px; width: 480px; }
.hero__modes { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 20px; font-weight: 600; }
.hero__modes li { display: flex; align-items: center; gap: 4px; }
.hero__modes .icon { width: 24px; height: 24px; }

/* entrance */
.hero__overline, .hero__title, .hero__cta, .hero__modes li, .hero__text { animation: mc-rise .9s var(--ease-out) both; }
.hero__title { animation-delay: .1s; }
.hero__cta { animation-delay: .25s; }
.hero__modes li { animation-delay: calc(.35s + var(--n, 0) * .08s); }
.hero__modes li:nth-child(2) { --n: 1; }
.hero__modes li:nth-child(3) { --n: 2; }
.hero__modes li:nth-child(4) { --n: 3; }
.hero__text { animation-delay: .6s; }

@media (max-width: 1439px) { .hero__inner { gap: 32px; } .hero__aside { width: 400px; } }
@media (max-width: 1199px) {
	.hero__inner { flex-direction: column; align-items: stretch; gap: 64px; }
	.hero__aside { width: auto; }
}
@media (max-width: 991px) {
	.hero { padding-bottom: 80px; }
	.hero__content { gap: 24px; }
	.hero__heading { gap: 8px; }
	.hero__title { max-width: none; }
	.hero__btn { width: 172px; height: 48px; font-size: 16px; }
	.hero__offer-title { font-size: 24px; }
	.hero__aside { width: auto; }
	.hero__modes { gap: 4px 16px; font-size: 16px; }
}

/* ---------- Metrics ---------- */
.metrics { padding: 40px 0 16px; }
.metrics__list { display: flex; gap: 20px; }
.metrics__item { position: relative; flex: 1 1 0; display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; }
.metrics__item + .metrics__item::before { content: ""; position: absolute; left: -10px; top: 0; bottom: 0; border-left: 1.5px solid var(--black-400); }
.metrics__value { color: var(--blue-600); font-size: 48px; font-weight: 600; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.metrics__label { font-size: 20px; }

@media (max-width: 1199px) {
	.metrics { padding-top: 32px; }
	.metrics__value { font-size: 36px; line-height: 1.1; }
	.metrics__label { font-size: 16px; }
}
@media (max-width: 767px) {
	.metrics { padding: 32px 0 16px; }
	.metrics__list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.metrics__item { justify-items: start; text-align: left; }
	.metrics__item::before { display: none; }
	.metrics__value { font-size: 30px; line-height: 1.2; }
	.metrics__label { font-size: 18px; }
}

/* ---------- Who we work with ---------- */
.audience__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 80px; }
.audience__heading { display: grid; gap: var(--head-gap); max-width: 660px; }
.audience__arrows { flex: none; width: 200px; height: 200px; padding: 26px 21px; animation: mc-nudge 2.8s var(--ease) infinite; }
.audience__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 48px; margin-top: 80px; }
.audience__list::before { content: ""; position: absolute; left: 0; right: 0; top: 80px; border-top: 1.5px solid var(--blue-200); transform-origin: left; transition: transform 1.2s var(--ease-out) .2s; }
.js .audience__list:not(.is-visible)::before { transform: scaleX(0); }
.audience__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 64px; background: var(--blue-600); border-radius: 50%; transition: transform .3s var(--ease); }
.audience__item:hover .audience__icon { transform: translateY(-4px) rotate(-6deg); }
.audience__icon img { width: 24px; height: 24px; }
.audience__title { margin-bottom: 16px; color: var(--blue-600); }

@media (max-width: 1439px) { .audience__head { gap: 120px; } }
@media (max-width: 1199px) { .audience__head { gap: 64px; } .audience__arrows { width: 160px; height: 160px; padding: 21px 17px; } }
@media (max-width: 991px) {
	.audience__head { display: block; }
	.audience__heading { max-width: none; }
	.audience__arrows { display: none; }
	.audience__list { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
	.audience__list::before { display: none; }
	.audience__icon { margin-bottom: 16px; }
}

/* ---------- Commercial shipments banner ---------- */
.criteria__card { overflow: hidden; color: var(--white); background: var(--blue-600); border-radius: var(--radius); }
.criteria__main {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas: "head list" "btn list";
	align-items: center;
	gap: 24px 48px;
	padding: 40px;
}
.criteria__heading { grid-area: head; display: grid; gap: 8px; align-self: end; }
.criteria__btn { grid-area: btn; justify-self: start; align-self: start; width: 200px; }
.criteria__list { grid-area: list; display: grid; gap: 16px; }
.criteria__list li { display: flex; align-items: center; gap: 16px; }
.criteria__list strong { font-weight: 600; }
.criteria__check { flex: none; display: grid; place-items: center; width: 28px; height: 28px; background: var(--blue-700); border-radius: 50%; }

.postal { display: flex; align-items: center; gap: 32px; padding: 24px; background: var(--blue-700); border-radius: var(--radius); }
.postal__content { flex: 1 1 0; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: center; }
.postal__icon { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; background: var(--white); border-radius: 50%; }
.postal__title { font-size: 18px; font-weight: 600; align-self: end; }
.postal__text { align-self: start; }
.postal__link { flex: none; display: inline-flex; align-items: center; gap: 4px; font-weight: 500; line-height: 1.2; }
.postal__link span { text-decoration: underline; text-underline-offset: 3px; }
.postal__link img { margin: 0 5px; transition: transform .25s var(--ease); }
.postal__link:hover img { transform: translateX(4px); }

@media (max-width: 1199px) and (min-width: 992px) { .criteria .container { padding-inline: 32px; } }
@media (max-width: 991px) {
	.criteria__main { grid-template-columns: 1fr; grid-template-areas: "head" "list" "btn"; gap: 24px; padding: 32px 24px; }
	.criteria__heading p { font-size: 14px; }
	.criteria__btn { width: 100%; }
	.postal { flex-direction: column; align-items: flex-start; gap: 16px; }
	.postal__content { width: 100%; }
}
@media (max-width: 767px) {
	.criteria__list li { gap: 12px; }
	.postal__content { grid-template-columns: 44px 1fr; row-gap: 16px; }
	.postal__icon { grid-row: auto; width: 44px; height: 44px; }
	.postal__text { grid-column: 1 / -1; font-size: 14px; }
	.postal__title { align-self: center; }
}

/* ---------- Geography ---------- */
.geography__body { margin-top: var(--block-gap); }
.geography__map { position: relative; width: 95.44%; margin-left: 3.09%; }
.geography__map > img { width: 100%; }

.routes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route { transition: opacity .3s var(--ease); }
.route__line {
	fill: none;
	stroke: var(--blue-600);
	stroke-width: 2;
	stroke-opacity: .55;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.4s var(--ease-out) calc(.4s + var(--i) * .12s), stroke-opacity .3s var(--ease);
}
.route__flow {
	fill: none;
	stroke: var(--blue-600);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 2 10;
	opacity: 0;
	vector-effect: non-scaling-stroke;
	animation: mc-flow 1.2s linear infinite;
	transition: opacity .3s var(--ease);
}
.route__cargo { fill: var(--red); stroke: var(--white); stroke-width: 2; opacity: 0; transition: opacity .4s var(--ease) calc(1.6s + var(--i) * .12s); }
.geography__map.is-visible .route__line { stroke-dashoffset: 0; }
.geography__map.is-visible .route__cargo { opacity: 1; }
.geography__map.is-focus .route { opacity: .3; }
.geography__map.is-focus .route.is-active { opacity: 1; }
.route.is-active .route__line { stroke-opacity: .9; }
.route.is-active .route__flow { opacity: 1; }

.geography__pin {
	position: absolute;
	width: 2.16%;
	min-width: 14px;
	aspect-ratio: 1;
	transform: translate(-50%, -92%);
	background: url("https://com-delivery.meestcn.cn/wp-content/themes/meest-commercial/assets/images/icons/map-pin.svg") center / contain no-repeat;
	opacity: 0;
	transition: transform .3s var(--ease);
}
.geography__pin::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 4%;
	width: 60%;
	aspect-ratio: 2.4;
	border-radius: 50%;
	background: rgba(230, 0, 51, .35);
	transform: translate(-50%, 50%) scale(.4);
	opacity: 0;
	z-index: -1;
}
.geography__map.is-visible .geography__pin { animation: mc-pin-drop .6s var(--ease-out) calc(1.2s + var(--i, 0) * .12s) both; }
.geography__map.is-visible .geography__pin::after { animation: mc-ripple 2.4s ease-out calc(1.8s + var(--i, 0) * .25s) infinite; }
.geography__map .geography__pin.is-active { animation: none; opacity: 1; transform: translate(-50%, -100%) scale(1.3); }
.geography__pin--hub { width: 1.4%; min-width: 10px; background: var(--blue-600); border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 1px var(--blue-200), 0 4px 10px rgba(0, 97, 175, .4); transform: translate(-50%, -50%); }
.geography__pin--hub::after { left: 50%; top: 50%; bottom: auto; width: 360%; aspect-ratio: 1; background: transparent; border: 2px solid var(--blue-600); transform: translate(-50%, -50%) scale(.3); }
.geography__map.is-visible .geography__pin--hub { animation: mc-fade-in .5s var(--ease) .2s both; }
.geography__map.is-visible .geography__pin--hub::after { animation: mc-hub-pulse 2s ease-out .6s infinite; }

.geography__cards { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -120px; }
.country {
	display: grid;
	align-content: start;
	gap: 16px;
	padding: 16px 24px;
	background: rgba(221, 233, 250, .2);
	border: 1px solid var(--blue-200);
	border-radius: var(--radius);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	transition: opacity .8s var(--ease-out), transform .4s var(--ease-out), box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.country[data-country] { cursor: default; }
.country[data-country]:hover, .country.is-active { background: rgba(221, 233, 250, .6); }
.country__name { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; line-height: 1.4; }
.country__name img { flex: none; width: 32px; height: 32px; transition: transform .4s var(--ease-out); }
.country[data-country]:hover .country__name img { transform: rotate(-12deg) scale(1.1); }
.country__badges { display: grid; justify-items: start; gap: 8px; }
.country__row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; padding: 4px 8px; color: var(--blue-600); font-size: 14px; font-weight: 600; line-height: 1.4; background: var(--blue-100); border-radius: 4px; }
.badge--blue { color: var(--white); background: var(--blue-600); }
.country--other { grid-column: span 2; padding: 0; }
.country--other a { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 56px; padding: 16px; color: var(--blue-600); font-size: 20px; font-weight: 600; border-radius: inherit; transition: background-color .2s var(--ease); }
.country--other a:hover { background: rgba(221, 233, 250, .5); }
.country--other .icon { flex: none; transition: transform .3s var(--ease); }
.country--other a:hover .icon { transform: rotate(90deg); }

@media (max-width: 1199px) { .country { padding: 16px; } }
@media (max-width: 991px) {
	.geography__map { width: 100%; margin-left: 0; }
	.geography__cards { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
	.country { gap: 12px; padding: 16px; }
}
@media (max-width: 575px) {
	.geography__cards { grid-template-columns: 1fr; }
	.country--other { grid-column: auto; }
	.geography__pin { min-width: 12px; }
}

/* ---------- Features ---------- */
.features { padding-top: 0; }
.features__list { display: flex; gap: 20px; height: 400px; margin-top: var(--block-gap); }
.feature {
	position: relative;
	display: flex;
	flex: 0 0 100px;
	min-width: 0;
	overflow: hidden;
	background: var(--blue-100);
	border-radius: var(--radius);
	transition: flex .6s var(--ease-out), background-color .4s var(--ease);
}
.feature.is-open { flex: 1 1 100%; background: var(--blue-600); }
.feature__tab { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100px; height: 100%; padding: 24px; text-align: left; transition: background-color .2s var(--ease); }
.feature__tab:hover { background: #cfe0f7; }
.feature.is-open .feature__tab { display: none; }
.feature__arrow { color: var(--blue-600); transition: transform .25s var(--ease); }
.feature__tab:hover .feature__arrow { transform: translateX(4px); }
.feature__tab-title {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	min-height: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}
.feature__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; background: var(--white); border-radius: 50%; }
.feature__icon img { width: 28px; height: 28px; }

.feature__panel { display: none; flex: 1 1 auto; min-width: 0; }
.feature.is-open .feature__panel { display: flex; }
.feature__content { flex: 1 1 0; display: flex; align-items: flex-end; gap: 24px; min-width: 0; padding: 24px; color: var(--white); }
.feature__text { flex: 1 1 0; display: flex; flex-direction: column; gap: 24px; align-self: stretch; padding-block: 24px; max-width: 480px; }
.feature__copy { display: grid; gap: 16px; }
.feature__highlight { padding-top: 24px; border-top: 1px solid var(--blue-200); font-size: 18px; font-weight: 600; }
.feature__image { flex: none; height: 100%; aspect-ratio: 320 / 400; }
.feature__image img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 0; }
.feature.is-open .feature__text > *, .feature.is-open .feature__content > .feature__icon { animation: mc-rise .6s var(--ease-out) both; }
.feature.is-open .feature__highlight { animation-delay: .12s; }
.feature.is-open .feature__image img { animation: mc-slide-in .7s var(--ease-out) both; }

@media (max-width: 1439px) {
	.features__list { height: auto; min-height: 426px; }
	.feature { flex-basis: 86px; }
	.feature__tab { width: 86px; padding: 24px 16px; }
	.feature.is-open .feature__panel { display: grid; grid-template-columns: 1fr 192px; grid-template-areas: "copy copy" "side image"; column-gap: 24px; width: 100%; }
	.feature__content, .feature__text { display: contents; }
	.feature__copy { grid-area: copy; padding: 24px; color: var(--white); }
	.feature__copy::after { content: ""; display: block; margin-top: 24px; border-top: 1px solid var(--blue-200); }
	.feature__text .h3 { font-size: 24px; line-height: 1.33; }
	.feature__highlight { grid-area: side; align-self: start; padding: 0 0 0 24px; border-top: 0; color: var(--white); }
	.feature__content > .feature__icon { grid-area: side; align-self: end; margin: 0 0 24px 24px; }
	.feature__image { grid-area: image; width: 192px; height: 240px; aspect-ratio: auto; }
}
@media (max-width: 1199px) and (min-width: 992px) { .features__list { min-height: 448px; } }
@media (max-width: 991px) {
	.features__list { flex-direction: column; height: auto; gap: 12px; }
	.feature, .feature.is-open { flex: none; flex-direction: column; }
	.feature__tab { flex-direction: row; width: 100%; height: auto; gap: 16px; padding: 12px; }
	.feature__tab-title { order: 2; flex: 1 1 auto; writing-mode: horizontal-tb; transform: none; white-space: normal; font-size: 20px; }
	.feature__tab .feature__icon { order: 1; width: 40px; height: 40px; }
	.feature__tab .feature__icon img { width: 24px; height: 24px; }
	.feature__arrow { order: 3; }
	.feature__arrow .icon { width: 24px; height: 24px; }
	.feature.is-open .feature__panel {
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-areas: "text text" "icon image";
		column-gap: 24px;
	}
	.feature__content { display: contents; }
	.feature__text { grid-area: text; display: flex; max-width: none; padding: 24px; color: var(--white); }
	.feature__copy { grid-area: auto; padding: 0; }
	.feature__copy::after { display: none; }
	.feature__highlight { grid-area: auto; padding: 24px 0 0; border-top: 1px solid var(--blue-200); }
	.features__list { min-height: 0; }
	.feature__content > .feature__icon { grid-area: icon; align-self: end; margin: 0 0 24px 24px; }
	.feature__image { grid-area: image; justify-self: end; width: 192px; height: 240px; aspect-ratio: auto; }
	.feature__image img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 0; }
}
@media (max-width: 767px) { .feature__tab-title { font-size: 18px; } }

/* ---------- How it works ---------- */
.steps__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.steps__head { display: grid; justify-items: start; align-content: start; gap: 24px; }
.steps__head .section-head { max-width: 520px; }
.step { display: grid; grid-template-columns: 84px 1fr; gap: 24px; align-items: center; padding: 24px 0; border-top: 1px solid var(--blue-200); }
.step:first-child { border-top: 0; }
.step__num { color: var(--blue-600); font-size: 60px; font-weight: 700; line-height: 1; transition: transform .3s var(--ease); }
.step:hover .step__num { transform: translateX(6px); }
.step__text { display: grid; gap: 8px; }

@media (max-width: 991px) {
	.steps__inner { grid-template-columns: 1fr; gap: 32px; }
	.steps__head .section-head { max-width: none; }
	.steps__head .btn { width: 100%; }
	.step, .step:first-child, .step:last-child { grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 16px 0; }
	.step__num { font-size: 30px; font-weight: 600; line-height: 1.2; }
}

/* ---------- Get a quote ---------- */
.quote { position: relative; padding: 120px 0; color: var(--white); background: var(--navy); overflow: hidden; }
.quote__bg { position: absolute; inset: 0; }
.quote__bg img { width: 100%; height: 100%; object-fit: cover; }
.quote__bg::after { content: ""; position: absolute; inset: 0; background: rgba(15, 36, 71, .7); }
.quote__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 1439px) { .quote__inner { grid-template-columns: calc((100% - 48px) / 2 - 24px) 1fr; } }
.quote__intro { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-top: 8px; }
.quote__heading { display: grid; gap: var(--head-gap); max-width: 600px; }
.quote__text { margin-top: calc(24px - var(--head-gap)); }
.quote__badges { display: grid; justify-items: start; gap: 16px; }
.quote__badges li { display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; color: var(--black-900); background: rgba(221, 233, 250, .92); border-radius: 8px; }
.quote__badges .icon { flex: none; width: 24px; height: 24px; color: var(--blue-600); }
.quote__badges strong { color: var(--blue-600); font-weight: 600; }

.quote-form { padding: 24px; color: var(--black-900); background: var(--white); border-radius: 12px; box-shadow: 0 24px 60px rgba(15, 36, 71, .25); }
.quote-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 14px; font-weight: 400; line-height: 1.4; }
.field__error { color: var(--red); font-size: 12px; }
.field__error:empty { display: none; }
.field__phone { display: grid; grid-template-columns: 104px 1fr; gap: 8px; }
.field[data-other-field] { animation: mc-rise .35s var(--ease-out); }
.input {
	width: 100%;
	height: 54px;
	padding: 0 16px;
	font: inherit;
	font-size: 16px;
	color: var(--black-900);
	background: var(--white);
	border: 1px solid var(--black-400);
	border-radius: 12px;
	outline: 0;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
	-webkit-appearance: none;
	appearance: none;
}
.input::placeholder { color: var(--placeholder); opacity: 1; }
.input:hover { border-color: var(--blue-200); }
.input:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(0, 97, 175, .12); }
.field.is-invalid .input { border-color: var(--red); animation: mc-shake .35s var(--ease); }
.select { position: relative; }
.select .input { padding-right: 48px; cursor: pointer; }
.select select:invalid, .select select.is-empty { color: var(--placeholder); }
.select option { color: var(--black-900); }
.select .icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.select--code .input { padding-right: 36px; }
.select--code .icon { right: 12px; }
.quote-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form__submit { position: relative; width: 100%; margin-top: 24px; overflow: hidden; }
.quote-form__submit[disabled] { opacity: .7; cursor: progress; }
.quote-form__submit[disabled]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent); animation: mc-shimmer 1s linear infinite; }
.quote-form__status { margin-top: 12px; color: var(--red); font-size: 14px; text-align: center; }
.quote-form__note { margin-top: 24px; font-size: 16px; text-align: center; }
.quote-form__note a { color: var(--blue-600); font-weight: 600; }
.quote-form__note a:hover { text-decoration: underline; }

@media (max-width: 1199px) { .quote { padding: 100px 0; } }
@media (max-width: 991px) {
	.quote__inner { grid-template-columns: 1fr; gap: 48px; }
	.quote__intro { gap: 24px; padding-top: 0; }
	.quote__heading { max-width: none; }
	.quote-form { padding: 24px 16px; border-radius: 12px; }
	.quote-form__grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 24px; color: var(--white); background: var(--navy); }
.site-footer__top { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.site-footer__top > * + * { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .15); }
.site-footer__logo img { width: 207px; height: 80px; }
.site-footer__rating { display: grid; gap: 16px; min-height: 100px; align-content: center; }
.stars { display: flex; gap: 8px; }
.stars .icon { width: 20px; height: 20px; }
.site-footer__qr { display: flex; align-items: center; gap: 24px; }
.site-footer__qr img { flex: none; width: 100px; height: 100px; padding: 4px; background: var(--white); border-radius: 4px; }
.site-footer__qr p { max-width: 220px; }
.site-footer__middle { display: grid; grid-template-columns: repeat(3, 1fr); padding: 32px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.site-footer__middle > * + * { padding-left: 32px; }
.site-footer__contacts { display: grid; align-content: start; gap: 24px; }
.site-footer__contacts ul:not(.socials) { display: grid; gap: 16px; }
.site-footer__contacts li { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer__contacts a { font-weight: 600; }
.site-footer__contacts a:hover { text-decoration: underline; }
.site-footer__menu ul { display: grid; gap: 16px; }
.site-footer__menu a { font-weight: 600; transition: color .2s var(--ease); }
.site-footer__menu a:hover { color: var(--blue-200); }
.site-footer__bottom { display: grid; gap: 4px; padding-top: 32px; font-size: 12px; }

.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.socials__item { position: relative; }
.socials__link { display: grid; place-items: center; width: 40px; height: 40px; background: var(--blue-700); border-radius: 50%; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.socials__link:hover, .socials__link[aria-expanded="true"] { background: var(--blue-600); transform: translateY(-2px); }
.socials__link img { width: 24px; height: 24px; object-fit: contain; filter: brightness(0) invert(1); }

.qr-pop { position: absolute; z-index: 20; display: grid; justify-items: center; gap: 8px; padding: 12px; color: var(--black-900); font-size: 14px; font-weight: 600; text-align: center; background: var(--white); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); animation: mc-pop .25s var(--ease-out); }
.socials__qr { bottom: calc(100% + 12px); left: 0; width: 184px; }
.socials__qr img { width: 160px; height: 160px; object-fit: contain; }

@media (max-width: 991px) {
	.site-footer__top { grid-template-columns: auto 1fr; gap: 24px; padding-bottom: 24px; }
	.site-footer__top > * + * { padding-left: 0; border-left: 0; }
	.site-footer__logo img { width: 166px; height: 64px; }
	.site-footer__rating { min-height: 0; justify-self: end; gap: 8px; font-size: 14px; }
	.stars { gap: 8px; }
	.stars .icon { width: 20px; height: 20px; }
	.site-footer__qr { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); }
	.site-footer__qr p { max-width: none; }
	.site-footer__middle { grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 0; }
	.site-footer__contacts { grid-column: 1 / -1; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
	.site-footer__middle > * + * { padding-left: 0; }
	.site-footer__menu a { font-size: 14px; }
	.site-footer__bottom { padding-top: 24px; padding-right: 140px; }
}

/* ---------- Floating WeChat ---------- */
.wechat-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; animation: mc-rise .6s var(--ease-out) 1s both; }
.wechat-float__btn { position: relative; display: flex; align-items: center; gap: 4px; height: 48px; padding: 8px 16px; color: var(--white); font-size: 16px; font-weight: 600; background: var(--green); border-radius: 200px; box-shadow: 0 8px 24px rgba(7, 193, 96, .35); transition: transform .2s var(--ease); }
.wechat-float__btn:hover { transform: translateY(-2px); }
.wechat-float__btn .icon { width: 24px; height: 24px; }
.wechat-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: mc-wechat 3s ease-out 2s infinite; }
.wechat-pop { right: 0; bottom: calc(100% + 12px); width: 240px; padding: 16px; gap: 16px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0, 0, 0, .1); }
.wechat-pop__head { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.wechat-pop__title { display: flex; align-items: center; gap: 8px; color: var(--black-900); font-size: 20px; font-weight: 600; }
.wechat-pop__title .icon { color: var(--green); }
.wechat-pop__title .icon { width: 28px; height: 28px; }
.wechat-pop__close { display: grid; place-items: center; width: 24px; height: 24px; color: var(--black-900); }
.wechat-pop img { width: 180px; height: 180px; object-fit: contain; }
.wechat-pop__text { font-size: 16px; font-weight: 400; }
@media (max-width: 575px) { .wechat-float { right: 16px; } }

/* ---------- Success modal ----------
   No dedicated frame in Figma: built from the Figma "WeChat Pop-up" component (1:39058) —
   radius 12, shadow 0 5 15 rgba(0,0,0,.1), 24px close, title 20/600 #16191D, QR 180×180 r4, text 16/400. */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 36, 71, .6); animation: mc-fade-in .2s var(--ease); }
.modal__dialog { position: relative; display: grid; justify-items: center; gap: 16px; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; padding: 48px 24px 24px; text-align: center; color: var(--black-900); background: var(--white); border-radius: 12px; box-shadow: 0 5px 15px rgba(0, 0, 0, .1); animation: mc-pop .3s var(--ease-out); outline: 0; }
.modal__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 24px; height: 24px; color: var(--black-900); }
.modal__close .icon { width: 24px; height: 24px; }
.modal__icon { display: grid; place-items: center; width: 52px; height: 52px; color: var(--white); background: var(--blue-600); border-radius: 50%; animation: mc-pop .5s var(--ease-out) .1s both; }
.modal__icon .icon { width: 28px; height: 28px; }
.modal__icon path { stroke-dasharray: 20; stroke-dashoffset: 20; animation: mc-draw .5s var(--ease-out) .35s forwards; }
.modal__title { font-size: 20px; font-weight: 600; line-height: 1.4; }
.modal__text { font-size: 16px; }
.modal__qr { display: grid; justify-items: center; gap: 16px; width: 100%; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--black-400); }
.modal__qr img { width: 180px; height: 180px; border-radius: 4px; object-fit: contain; }
.modal__qr-title { margin-bottom: 4px; font-size: 20px; font-weight: 600; line-height: 1.4; }
.modal__qr p:not(.modal__qr-title) { font-size: 16px; }
.modal__btn { width: 100%; margin-top: 8px; }
@media (max-width: 575px) { .modal__dialog { padding: 48px 16px 16px; } }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .country[data-reveal].is-visible { transition-delay: 0s; }

/* ---------- Keyframes ---------- */
@keyframes mc-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes mc-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mc-pop { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes mc-drop { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes mc-slide-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes mc-kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, 1%); } }
@keyframes mc-nudge { 0%, 60%, 100% { transform: translateX(0); } 30% { transform: translateX(14px); } }
@keyframes mc-flow { to { stroke-dashoffset: -24; } }
@keyframes mc-pin-drop { 0% { opacity: 0; transform: translate(-50%, -260%); } 60% { opacity: 1; transform: translate(-50%, -80%); } 80% { transform: translate(-50%, -100%); } 100% { opacity: 1; transform: translate(-50%, -92%); } }
@keyframes mc-ripple { 0% { opacity: .9; transform: translate(-50%, 50%) scale(.4); } 100% { opacity: 0; transform: translate(-50%, 50%) scale(2.6); } }
@keyframes mc-hub-pulse { 0% { opacity: .9; transform: translate(-50%, -50%) scale(.3); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.4); } }
@keyframes mc-wechat { 0% { box-shadow: 0 0 0 0 rgba(7, 193, 96, .5); } 70%, 100% { box-shadow: 0 0 0 14px rgba(7, 193, 96, 0); } }
@keyframes mc-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes mc-shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes mc-draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.route__line { stroke-dashoffset: 0; }
	.geography__pin, .route__cargo { opacity: 1; }
}

/* WP admin bar (logged-in editors) */
.admin-bar .site-header { top: 40px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 54px; } }

/* Editor line breaks in titles are for desktop; let text flow on small screens */
@media (max-width: 767px) { .h1 br, .hero__title br { display: none; } }
