/*
Theme Name: APKK Logistics
Theme URI: https://www.hurryup.world/
Author: APKK Logistics
Author URI: https://www.hurryup.world/
Description: 面向国际物流、跨境电商和外贸企业的阿普快快定制官网主题。
Version: 1.0.4
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: apkk-logistics
*/

:root {
	--apkk-navy: #062b54;
	--apkk-blue: #005fcb;
	--apkk-cyan: #14a8e8;
	--apkk-orange: #ff9d2e;
	--apkk-ink: #142237;
	--apkk-muted: #5f6f83;
	--apkk-line: #dfe8f2;
	--apkk-soft: #f3f7fb;
	--apkk-white: #ffffff;
	--apkk-radius: 20px;
	--apkk-shadow: 0 18px 55px rgba(6, 43, 84, 0.1);
	--apkk-container: 1200px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--apkk-white);
	color: var(--apkk-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
	top: 32px;
}

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

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

button,
input,
select,
textarea {
	font: inherit;
}

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 99999;
	padding: 10px 16px;
	background: var(--apkk-white);
	color: var(--apkk-navy);
	border-radius: 8px;
	box-shadow: var(--apkk-shadow);
}

.apkk-container {
	width: min(calc(100% - 40px), var(--apkk-container));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid rgba(223, 232, 242, 0.9);
	backdrop-filter: blur(18px);
}

.header-inner {
	display: flex;
	align-items: center;
	min-height: 76px;
	gap: 28px;
}

.site-branding {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.custom-logo,
.brand-logo {
	width: auto;
	max-height: 50px;
}

.brand-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--apkk-navy);
}

.brand-wordmark::before {
	content: "A";
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--apkk-blue), var(--apkk-cyan));
	color: var(--apkk-white);
}

.primary-navigation {
	margin-left: auto;
}

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

.primary-navigation a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	color: #33445a;
	font-size: 15px;
	font-weight: 600;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible,
.primary-navigation .current-menu-item > a {
	background: var(--apkk-soft);
	color: var(--apkk-blue);
}

.header-cta,
.apkk-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--apkk-blue);
	color: var(--apkk-white);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 10px 24px rgba(0, 95, 203, 0.2);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta {
	min-height: 42px;
	padding-inline: 18px;
}

.apkk-button:hover,
.apkk-button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
	background: #004fa9;
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(0, 95, 203, 0.26);
}

.apkk-button--ghost {
	background: rgba(255, 255, 255, 0.74);
	border-color: rgba(0, 95, 203, 0.2);
	color: var(--apkk-blue);
	box-shadow: none;
}

.apkk-button--ghost:hover,
.apkk-button--ghost:focus-visible {
	background: var(--apkk-white);
	color: var(--apkk-blue);
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	margin-left: auto;
	border: 1px solid var(--apkk-line);
	border-radius: 12px;
	background: var(--apkk-white);
	color: var(--apkk-navy);
	cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
	display: block;
	width: 19px;
	height: 2px;
	margin: auto;
	background: currentColor;
	border-radius: 999px;
}

.menu-toggle-lines {
	position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-toggle-lines::before { top: -6px; }
.menu-toggle-lines::after { top: 6px; }

.apkk-hero {
	position: relative;
	overflow: hidden;
	padding: 96px 0 78px;
	background:
		radial-gradient(circle at 82% 18%, rgba(20, 168, 232, 0.18), transparent 28%),
		radial-gradient(circle at 12% 74%, rgba(255, 157, 46, 0.12), transparent 26%),
		linear-gradient(140deg, #eef6ff 0%, #ffffff 48%, #f2fbff 100%);
}

.apkk-hero::after {
	content: "";
	position: absolute;
	right: -140px;
	bottom: -230px;
	width: 520px;
	height: 520px;
	border: 78px solid rgba(0, 95, 203, 0.055);
	border-radius: 50%;
}

.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
	align-items: center;
	gap: 70px;
}

.hero-kicker,
.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	color: var(--apkk-blue);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before {
	content: "";
	width: 26px;
	height: 3px;
	background: var(--apkk-orange);
	border-radius: 999px;
}

.hero-title {
	max-width: 760px;
	margin: 0;
	color: var(--apkk-navy);
	font-size: clamp(42px, 5.4vw, 72px);
	line-height: 1.08;
	letter-spacing: -0.055em;
}

.hero-title span {
	color: var(--apkk-blue);
}

.hero-description {
	max-width: 650px;
	margin: 24px 0 0;
	color: var(--apkk-muted);
	font-size: clamp(17px, 2vw, 20px);
	line-height: 1.85;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
	color: #456077;
	font-size: 14px;
	font-weight: 600;
}

.hero-trust li::before {
	content: "✓";
	margin-right: 7px;
	color: #13a470;
	font-weight: 900;
}

.hero-panel {
	position: relative;
	padding: 28px;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 28px 80px rgba(6, 43, 84, 0.16);
	backdrop-filter: blur(20px);
}

.panel-label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.panel-label strong {
	font-size: 18px;
	color: var(--apkk-navy);
}

.panel-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #23845f;
	font-size: 12px;
	font-weight: 700;
}

.panel-status::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2dc98b;
	box-shadow: 0 0 0 5px rgba(45, 201, 139, 0.12);
}

.tracking-form {
	display: grid;
	gap: 14px;
}

.form-field label {
	display: block;
	margin-bottom: 7px;
	color: #41556b;
	font-size: 13px;
	font-weight: 700;
}

.form-field input,
.form-field select {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 1px solid var(--apkk-line);
	border-radius: 14px;
	background: #fbfdff;
	color: var(--apkk-ink);
	outline: none;
}

.form-field input:focus,
.form-field select:focus {
	border-color: var(--apkk-cyan);
	box-shadow: 0 0 0 4px rgba(20, 168, 232, 0.12);
}

.tracking-submit {
	width: 100%;
	margin-top: 4px;
	cursor: pointer;
}

.panel-note {
	margin: 14px 0 0;
	color: #8290a0;
	font-size: 12px;
	text-align: center;
}

.apkk-section {
	padding: 88px 0;
}

.apkk-section--soft {
	background: var(--apkk-soft);
}

.section-heading {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 30px;
	margin-bottom: 42px;
}

.section-heading--center {
	display: block;
	max-width: 720px;
	margin: 0 auto 44px;
	text-align: center;
}

.section-heading--center .section-kicker {
	justify-content: center;
}

.section-title {
	margin: 0;
	color: var(--apkk-navy);
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.2;
	letter-spacing: -0.04em;
}

.section-description {
	max-width: 600px;
	margin: 12px 0 0;
	color: var(--apkk-muted);
	font-size: 17px;
}

.about-grid,
.services-grid,
.routes-grid,
.tools-grid {
	display: grid;
	gap: 20px;
}

.about-grid {
	grid-template-columns: repeat(4, 1fr);
}

.about-card,
.service-card,
.tool-card,
.route-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--apkk-line);
	border-radius: var(--apkk-radius);
	background: var(--apkk-white);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-card:hover,
.service-card:hover,
.tool-card:hover,
.route-card:hover {
	transform: translateY(-5px);
	border-color: rgba(0, 95, 203, 0.28);
	box-shadow: var(--apkk-shadow);
}

.about-card {
	padding: 28px;
}

.card-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 22px;
	border-radius: 13px;
	background: #eaf4ff;
	color: var(--apkk-blue);
	font-size: 13px;
	font-weight: 900;
}

.about-card h3,
.service-card h3,
.route-card h3,
.tool-card h3 {
	margin: 0 0 10px;
	color: var(--apkk-navy);
	font-size: 19px;
}

.about-card p,
.service-card p,
.route-card p,
.tool-card p {
	margin: 0;
	color: var(--apkk-muted);
	font-size: 14px;
}

.tools-grid {
	grid-template-columns: repeat(5, 1fr);
}

.tool-card {
	min-height: 180px;
	padding: 26px 22px;
}

.tool-symbol {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 26px;
	border-radius: 15px;
	background: linear-gradient(145deg, #e8f4ff, #f5fbff);
	color: var(--apkk-blue);
	font-size: 17px;
	font-weight: 900;
}

.tool-card::after,
.route-card::after {
	content: "↗";
	position: absolute;
	right: 18px;
	top: 18px;
	color: #91a4b7;
	font-size: 18px;
}

.client-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 34px;
}

.client-chip {
	padding: 11px 20px;
	border: 1px solid var(--apkk-line);
	border-radius: 999px;
	background: var(--apkk-white);
	color: #40566e;
	font-size: 14px;
	font-weight: 700;
}

.routes-grid {
	grid-template-columns: repeat(3, 1fr);
}

.route-card {
	display: block;
	min-height: 150px;
	padding: 28px 56px 28px 28px;
}

.route-card .route-code {
	display: inline-block;
	margin-bottom: 18px;
	color: var(--apkk-blue);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.1em;
}

.services-grid {
	grid-template-columns: repeat(3, 1fr);
}

.service-card {
	padding: 30px;
}

.service-card .card-index {
	margin-bottom: 24px;
	background: var(--apkk-navy);
	color: var(--apkk-white);
}

.stats-band {
	background: linear-gradient(125deg, var(--apkk-navy), #064b87);
	color: var(--apkk-white);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.stat-item {
	position: relative;
	padding: 56px 32px;
	text-align: center;
}

.stat-item + .stat-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 25%;
	width: 1px;
	height: 50%;
	background: rgba(255, 255, 255, 0.16);
}

.stat-value {
	display: block;
	font-size: clamp(36px, 5vw, 54px);
	font-weight: 850;
	line-height: 1;
	letter-spacing: -0.04em;
}

.stat-label {
	display: block;
	margin-top: 12px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
}

.faq-list {
	max-width: 900px;
	margin: 0 auto;
	border-top: 1px solid var(--apkk-line);
}

.faq-item {
	border-bottom: 1px solid var(--apkk-line);
}

.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 24px 0;
	border: 0;
	background: transparent;
	color: var(--apkk-navy);
	font-size: 17px;
	font-weight: 750;
	text-align: left;
	cursor: pointer;
}

.faq-question::after {
	content: "+";
	flex: 0 0 auto;
	margin-left: 20px;
	color: var(--apkk-blue);
	font-size: 26px;
	font-weight: 400;
}

.faq-question[aria-expanded="true"]::after {
	content: "−";
}

.faq-answer {
	padding: 0 48px 24px 0;
	color: var(--apkk-muted);
}

.faq-answer > :first-child { margin-top: 0; }
.faq-answer > :last-child { margin-bottom: 0; }

.site-footer {
	background: #051d37;
	color: rgba(255, 255, 255, 0.74);
}

.footer-cta {
	padding: 64px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta-grid {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 50px;
}

.footer-cta h2 {
	max-width: 700px;
	margin: 0;
	color: var(--apkk-white);
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.2;
	letter-spacing: -0.04em;
}

.footer-cta p {
	max-width: 650px;
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.68);
}

.footer-contact {
	display: flex;
	align-items: center;
	gap: 18px;
}

.wechat-qr {
	width: 108px;
	padding: 7px;
	border-radius: 14px;
	background: var(--apkk-white);
}

.contact-phone {
	display: block;
	color: var(--apkk-white);
	font-size: 22px;
	font-weight: 800;
}

.contact-label {
	display: block;
	margin-bottom: 3px;
	font-size: 12px;
}

.footer-main {
	display: grid;
	grid-template-columns: 1.3fr 0.8fr 1fr;
	gap: 60px;
	padding: 54px 0;
}

.footer-title {
	margin: 0 0 16px;
	color: var(--apkk-white);
	font-size: 15px;
}

.footer-brand p,
.footer-address {
	margin: 14px 0 0;
	font-size: 14px;
}

.footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links li + li {
	margin-top: 8px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
	color: var(--apkk-white);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	font-size: 13px;
}

.footer-privacy-link { color: #d0dfed; text-decoration: underline; text-underline-offset: 4px; }
.footer-privacy-link:hover, .footer-privacy-link:focus-visible { color: #fff; }

.content-shell {
	min-height: 55vh;
	padding: 72px 0 96px;
}

.content-header {
	max-width: 820px;
	margin-bottom: 42px;
}

.content-title {
	margin: 0;
	color: var(--apkk-navy);
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1.2;
	letter-spacing: -0.04em;
}

.content-meta {
	margin-top: 14px;
	color: var(--apkk-muted);
	font-size: 14px;
}

.entry-content {
	max-width: 820px;
	color: #34475d;
	font-size: 17px;
}

.entry-content h2,
.entry-content h3 {
	color: var(--apkk-navy);
}

.entry-content a {
	color: var(--apkk-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.post-card {
	padding: 26px;
	border: 1px solid var(--apkk-line);
	border-radius: var(--apkk-radius);
	background: var(--apkk-white);
}

.post-card h2 {
	margin: 0 0 10px;
	font-size: 21px;
	line-height: 1.35;
}

.post-card p {
	margin: 0;
	color: var(--apkk-muted);
}

@media (max-width: 1080px) {
	.header-cta { display: none; }
	.primary-navigation a { padding-inline: 9px; }
	.hero-grid { gap: 38px; }
	.about-grid { grid-template-columns: repeat(2, 1fr); }
	.tools-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
	body.admin-bar .site-header { top: 46px; }
	.header-inner { min-height: 68px; }
	.menu-toggle { display: block; }
	.primary-navigation {
		position: absolute;
		left: 20px;
		right: 20px;
		top: calc(100% + 10px);
		display: none;
		padding: 14px;
		border: 1px solid var(--apkk-line);
		border-radius: 16px;
		background: var(--apkk-white);
		box-shadow: var(--apkk-shadow);
	}
	.primary-navigation.is-open { display: block; }
	.primary-navigation ul { display: block; }
	.primary-navigation a { padding: 11px 12px; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-panel { max-width: 620px; }
	.routes-grid,
	.services-grid,
	.posts-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-cta-grid,
	.footer-main { grid-template-columns: 1fr; }
	.footer-main { gap: 34px; }
}

@media (max-width: 640px) {
	.apkk-container { width: min(calc(100% - 28px), var(--apkk-container)); }
	.apkk-hero { padding: 64px 0 56px; }
	.hero-title { font-size: 42px; }
	.hero-actions { display: grid; }
	.apkk-button { width: 100%; }
	.hero-panel { padding: 22px; border-radius: 22px; }
	.apkk-section { padding: 66px 0; }
	.section-heading { display: block; }
	.about-grid,
	.tools-grid,
	.routes-grid,
	.services-grid,
	.posts-grid { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat-item { padding: 38px 18px; }
	.stat-item:nth-child(3)::before { display: none; }
	.footer-contact { align-items: flex-start; }
	.footer-bottom { display: block; }
	.footer-bottom span { display: block; }
	.footer-bottom span + span { margin-top: 6px; }
}

@media (max-width: 420px) {
	.brand-logo,
	.custom-logo { max-width: 130px; }
	.hero-title { font-size: 36px; }
	.hero-trust { display: block; }
	.hero-trust li + li { margin-top: 8px; }
	.footer-contact { display: block; }
	.wechat-qr { margin-bottom: 18px; }
}
