/*
Theme Name: AlKim Global Logistics
Theme URI: https://alkimlogistics.com
Author: Herncho Group
Description: Custom theme for AlKim Global Logistics. Moving Possibilities. Activating the theme creates all pages, menus and sample Insights automatically.
Version: 1.5.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: alkim
*/

/* ---------- Tokens ---------- */
:root {
	--purple: #4C1D95;
	--purple-600: #5B21B6;
	--purple-deep: #2E1065;
	--purple-ink: #1C0A42;
	--lilac: #C4B5FD;
	--mist: #F5F2FB;
	--black: #1A1A1A;
	--white: #FFFFFF;
	--text: #17131F;
	--muted: #5D566B;
	--line: #E4DEEE;
	--line-dark: rgba(255, 255, 255, .14);
	--wa: #25D366;
	--tint: #F1ECFB;
	--ink: #1A1A1A;

	--font-display: "Poppins", Arial, Helvetica, sans-serif;
	--font-body: "Inter", Arial, Helvetica, sans-serif;

	--wrap: 1240px;
	--gutter: 24px;
	--section: clamp(72px, 9vw, 112px);
	--radius: 4px;
	--radius-btn: 6px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--purple-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--purple); color: #fff; padding: 10px 16px; border-radius: var(--radius-btn); }
.skip-link:focus { top: 12px; color: #fff; }

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

.h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.06; }
.h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }

/* ---------- Buttons and links ---------- */
.btn {
	position: relative; overflow: hidden; isolation: isolate;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 24px;
	border: 1.5px solid transparent; border-radius: 999px;
	font-family: var(--font-display); font-weight: 700; font-size: .95rem; line-height: 1.2; letter-spacing: .005em;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn .icon, .btn .li { width: 19px; height: 19px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .li { transform: translateX(3px); }
.btn--lg { min-height: 56px; padding: 15px 30px; font-size: 1rem; }
.btn--primary { background: var(--purple); color: #fff; box-shadow: 0 10px 24px -12px rgba(76,29,149,.7); }
.btn--primary:hover { background: var(--purple-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(76,29,149,.85); }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: var(--purple); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--purple); }
.btn--light:hover { background: var(--lilac); color: var(--purple-ink); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--purple); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn--line { background: transparent; color: var(--text); border-color: #CFC6DE; }
.btn--line:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); }
.btn--glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--purple); border-color: #fff; transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1EBE5A; color: #fff; transform: translateY(-2px); }

.link { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--purple); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.link:hover { text-decoration-color: var(--lilac); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }

/* Status labels: plain text, no dots */
.badge { display: inline-block; font-family: var(--font-display); font-size: .82rem; font-weight: 700; line-height: 1.4; color: var(--purple); }
.badge--next { color: var(--muted); }

.icon { width: 18px; height: 18px; flex: none; }
.li { width: 24px; height: 24px; flex: none; display: block; }

.ticks { list-style: none; display: grid; gap: 10px; margin: 18px 0 0; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--purple); margin-top: 4px; }
.ticks--cols { grid-template-columns: 1fr 1fr; gap: 10px 24px; }

/* ---------- Header: floating rounded bar, turns to glass on scroll ---------- */
.site-header { position: fixed; top: 18px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); pointer-events: none; transition: top .45s var(--ease); }
.site-header__bar {
	position: relative; pointer-events: auto;
	max-width: calc(var(--wrap) + 40px); margin: 0 auto;
	display: flex; align-items: center; gap: 20px;
	height: 78px; padding: 0 11px 0 28px;
	background: #fff; border: 1px solid rgba(255,255,255,.7); border-radius: 999px;
	box-shadow: 0 22px 50px -28px rgba(26,26,26,.55);
	transition: background-color .5s var(--ease), height .45s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.site-header.is-scrolled { top: 10px; }
.site-header.is-scrolled .site-header__bar {
	height: 68px;
	background: rgba(255,255,255,.58);
	-webkit-backdrop-filter: blur(18px) saturate(1.7); backdrop-filter: blur(18px) saturate(1.7);
	border-color: rgba(255,255,255,.55);
	box-shadow: 0 24px 60px -30px rgba(26,26,26,.55), inset 0 1px 0 rgba(255,255,255,.6);
}
.admin-bar .site-header { top: 50px; }
.admin-bar .site-header.is-scrolled { top: 42px; }

.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--purple); flex: none; }
.logo__svg { display: block; width: auto; height: 38px; }
.logo--light { color: #fff; }
.custom-logo { max-height: 48px; width: auto; }

.nav { margin: 0 auto; }
.nav__list { list-style: none; display: flex; gap: 4px; }
.nav__list a { display: block; padding: 11px 16px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--text); text-decoration: none; transition: background-color .3s var(--ease), color .3s var(--ease); }
.nav__list a:hover { background: var(--tint, #F1ECFB); color: var(--purple); }
.nav__list .current-menu-item > a, .nav__list .current_page_item > a, .nav__list .current_page_parent > a { background: var(--purple); color: #fff; }
.nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #F1ECFB; color: var(--purple); transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.header-icon .li { width: 21px; height: 21px; }
.header-icon:hover { background: var(--purple); color: #fff; transform: rotate(-12deg); }
.site-header__cta { border-radius: 999px; min-height: 56px; padding: 14px 28px; }
.site-header.is-scrolled .header-icon, .site-header.is-scrolled .site-header__cta { min-height: 48px; }
.site-header.is-scrolled .header-icon { width: 48px; height: 48px; }

.nav-toggle { display: none; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--ink, #1A1A1A); color: #fff; cursor: pointer; }
.nav-toggle__lines { position: relative; display: block; width: 20px; height: 10px; }
.nav-toggle__lines span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle__lines span:first-child { top: 0; }
.nav-toggle__lines span:last-child { top: 8px; }
.nav-open .nav-toggle__lines span:first-child { top: 4px; transform: rotate(45deg); }
.nav-open .nav-toggle__lines span:last-child { top: 4px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
	.site-header__bar { gap: 12px; padding-left: 22px; }
	.nav__list a { padding: 10px 11px; font-size: .9rem; }
}
@media (max-width: 1020px) {
	.nav-toggle { display: grid; }
	.nav {
		position: absolute; top: calc(100% + 10px); left: 0; right: 0; margin: 0;
		max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); overflow-y: auto;
		padding: 14px; background: #fff; border-radius: 28px;
		box-shadow: 0 30px 60px -30px rgba(26,26,26,.55);
		opacity: 0; transform: translateY(-10px) scale(.98); transform-origin: top center; visibility: hidden;
		transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
	}
	.nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .3s var(--ease), transform .3s var(--ease); }
	.nav__list { flex-direction: column; gap: 4px; }
	.nav__list a { padding: 15px 18px; font-size: 1.08rem; border-radius: 16px; }
	.nav__mobile-extra { display: grid; gap: 10px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
	.nav__mobile-extra .btn { border-radius: 16px; }
	.nav-open { overflow: hidden; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 62px; }
	.admin-bar .site-header.is-scrolled { top: 56px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header.is-scrolled { top: 10px; }
}
@media (max-width: 640px) {
	.site-header { top: 12px; }
	.site-header__bar, .site-header.is-scrolled .site-header__bar { height: 64px; padding: 0 7px 0 18px; }
	.site-header__cta { display: none; }
	.header-icon, .nav-toggle, .site-header.is-scrolled .header-icon { width: 48px; height: 48px; }
	.logo__svg { height: 31px; }
	.hide-sm { display: none; }
}

/* ---------- Footer: brand, links, contact, big wordmark ---------- */
.site-footer { position: relative; overflow: hidden; background: #1A1A1A; color: rgba(255,255,255,.62); font-size: .97rem; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: -280px; width: 900px; height: 560px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(91,33,182,.42), transparent); pointer-events: none; }
.site-footer > .wrap { position: relative; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; transition: color .25s var(--ease); }
.site-footer a:hover { color: #fff; }

.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; margin-top: clamp(64px, 7vw, 96px); padding: clamp(32px, 4vw, 52px) clamp(28px, 4vw, 56px); border-radius: 28px; background: linear-gradient(120deg, var(--purple) 0%, var(--purple-deep) 100%); box-shadow: 0 40px 80px -40px rgba(91,33,182,.8); }
.footer-cta__title { margin: 0; font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.footer-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer .footer-cta .btn--light { color: var(--purple); }
.site-footer .footer-cta .btn--light:hover { color: var(--purple-ink); }
.site-footer .footer-cta .btn--wa:hover { color: #fff; }

.footer-main { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 48px; align-items: start; padding: clamp(64px, 7vw, 88px) 0 clamp(48px, 6vw, 72px); }
.footer-brand p { margin: 20px 0 0; max-width: 18em; font-size: 1.02rem; line-height: 1.6; }
.footer-nav__list { list-style: none; display: grid; grid-template-columns: repeat(2, max-content); gap: 14px 64px; }
.footer-nav__list a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: #fff; }
.footer-nav__list a::before { content: ""; width: 0; height: 2px; background: var(--lilac); transition: width .35s var(--ease); }
.footer-nav__list a:hover::before { width: 16px; }
.footer-reach { display: grid; gap: 16px; justify-items: start; }
.footer-reach a, .footer-reach span { display: inline-flex; align-items: center; gap: 12px; }
.footer-reach .li { width: 19px; height: 19px; color: var(--lilac); }

.footer-pattern { height: 150px; margin-top: 8px; background: url("assets/brand/pattern-purple.svg") repeat-x center top / 213px 209px; }

.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding: 24px 0 8px; border-top: 1px solid var(--line-dark); font-size: .88rem; color: rgba(255,255,255,.5); }
.footer-bottom p { margin: 0; }
.social { list-style: none; display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.social a:hover { background: var(--purple); border-color: var(--purple); transform: translateY(-3px); }
.social .icon { width: 17px; height: 17px; }

@media (max-width: 960px) {
	.footer-main { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.footer-main { grid-template-columns: 1fr; gap: 36px; }
	.footer-nav__list { gap: 14px 40px; }
	.footer-cta { border-radius: 22px; }
	.footer-cta__actions { width: 100%; }
	.footer-cta__actions .btn { flex: 1; }
	.footer-bottom { justify-content: center; text-align: center; }
}

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: wa-pulse 2.6s ease-out infinite; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float .icon { width: 28px; height: 28px; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 59; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--purple); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility 0s linear .3s; }
.to-top .li { width: 18px; height: 18px; transform: rotate(-45deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s; }
.to-top:hover { background: var(--purple-deep); }


@media (max-width: 640px) {
	:root { --gutter: 18px; }
	body { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.nav-open .wa-float { display: none; }
