/*
Theme Name: Transit Logistics Express
Theme URI: https://transitlogisticsexpress.com
Author: Transit Logistics Express
Description: White-and-blue block theme for Transit Logistics Express. Tracking-first homepage whose tracking form can be replaced by your plugin's shortcode, inner pages (Track and Trace, Global Network, Services, About Us, Contact, Get a Quote), quick tools, product carousel, contact and quote forms, and a multi-number tracking shortcode. Only links to pages that exist are shown.
Version: 1.5.2
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: movefast
*/

/* Inter, served from the theme (variable font, Latin). */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

/* =========================================================
   1. Tokens and base
   ========================================================= */
:root {
	--mf-radius: 16px;
	--mf-radius-sm: 10px;
	--mf-shadow-sm: 0 1px 2px rgba(10, 42, 102, .06), 0 4px 12px rgba(10, 42, 102, .06);
	--mf-shadow-md: 0 10px 28px rgba(10, 42, 102, .14);
	--mf-shadow-lg: 0 28px 60px rgba(3, 16, 48, .32);
	--mf-ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* WordPress adds a block gap between header, main and footer; sections already own their spacing */
.wp-site-blocks > * { margin-block-start: 0; }
img, svg { max-width: 100%; }
a { text-underline-offset: 3px; }
[hidden] { display: none !important; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--wp--preset--color--blue);
	outline-offset: 3px;
	border-radius: 6px;
}
.mf-on-dark :where(a, button, input, select, textarea):focus-visible { outline-color: #fff; }

.mf-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.mf-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; color: var(--wp--preset--color--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.mf-skip:focus { left: 12px; }

/* 12-column grid, 16px gutters on mobile, 24px from tablet up */
.mf-container { width: 100%; max-width: 1248px; margin-inline: auto; padding-inline: 16px; }
.mf-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.mf-col { grid-column: span 12; min-width: 0; }
@media (min-width: 768px) {
	.mf-container { padding-inline: 24px; }
	.mf-grid { gap: 24px; }
	.mf-md-6 { grid-column: span 6; }
}
@media (min-width: 1024px) {
	.mf-lg-3 { grid-column: span 3; }
	.mf-lg-4 { grid-column: span 4; }
	.mf-lg-5 { grid-column: span 5; }
	.mf-lg-6 { grid-column: span 6; }
	.mf-lg-7 { grid-column: span 7; }
	.mf-lg-9 { grid-column: span 9; }
}

/* Buttons, links, badges */
.mf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px;
	border: 2px solid transparent; border-radius: 10px;
	font: 700 1rem/1 var(--wp--preset--font-family--body);
	text-decoration: none; cursor: pointer;
	transition: background-color .2s var(--mf-ease), color .2s var(--mf-ease), transform .2s var(--mf-ease), box-shadow .2s var(--mf-ease), border-color .2s var(--mf-ease);
}
.mf-btn:hover { transform: translateY(-1px); }
.mf-btn svg { width: 18px; height: 18px; transition: transform .2s var(--mf-ease); }
.mf-btn:hover svg { transform: translateX(3px); }
.mf-btn--dark { background: var(--wp--preset--color--navy); color: #fff; }
.mf-btn--dark:hover { background: #061a45; color: #fff; }
.mf-btn--accent { background: var(--wp--preset--color--accent); color: #fff; }
.mf-btn--accent:hover { background: var(--wp--preset--color--accent-dark); color: #fff; }
.mf-btn--light { background: #fff; color: var(--wp--preset--color--navy); }
.mf-btn--light:hover { background: var(--wp--preset--color--sky); color: var(--wp--preset--color--navy); }
.mf-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.mf-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

.mf-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--wp--preset--color--blue); text-decoration: none; }
.mf-link:hover { text-decoration: underline; color: var(--wp--preset--color--navy); }
.mf-link svg { width: 16px; height: 16px; transition: transform .2s var(--mf-ease); }
.mf-link:hover svg { transform: translateX(3px); }

.mf-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--wp--preset--color--sky); color: var(--wp--preset--color--navy); }
.mf-badge svg { width: 14px; height: 14px; }
.mf-badge--danger { background: #FEE4E2; color: #912018; }
.mf-badge--warning { background: #FEF0C7; color: #93370D; }
.mf-badge--info { background: #D1E4FF; color: #0A2A66; }
.mf-badge--accent { background: #FFEDD5; color: #9A3412; }

.mf-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--wp--preset--color--navy); cursor: pointer; transition: background-color .2s var(--mf-ease), color .2s var(--mf-ease), opacity .2s; }
.mf-iconbtn:hover:not(:disabled) { background: var(--wp--preset--color--sky); }
.mf-iconbtn svg { width: 22px; height: 22px; }
.mf-iconbtn:disabled { opacity: .35; cursor: not-allowed; }

.mf-eyebrow { margin: 0 0 .5rem; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--blue); }
.mf-section { padding-block: clamp(3rem, 6vw, 5rem); }
.mf-section__head { margin-bottom: 2rem; max-width: 820px; }
.mf-section__head h2 { margin: 0 0 .5rem; }
.mf-section__head p { margin: 0; color: var(--wp--preset--color--muted); }

/* Reveal on scroll (only when JS is running) */
.mf-js .mf-reveal { opacity: 0; }
.mf-js .mf-reveal.is-visible { opacity: 1; animation: mf-rise .6s var(--mf-ease) var(--d, 0ms) both; }
@keyframes mf-rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

/* =========================================================
   2. Utility bar
   ========================================================= */
.mf-utility { background: var(--wp--preset--color--navy); color: #fff; font-size: .875rem; }
.mf-utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.mf-utility a, .mf-lang__btn { color: #fff; }
.mf-utility__nav { margin-left: auto; }
.mf-utility__nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mf-utility__nav a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 6px; text-decoration: none; font-weight: 500; transition: background-color .2s; }
.mf-utility__nav a:hover { background: rgba(255, 255, 255, .14); }
.mf-lang { position: relative; }
.mf-lang__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; background: none; border: 0; border-radius: 6px; font: inherit; font-weight: 500; cursor: pointer; transition: background-color .2s; }
.mf-lang__btn:hover { background: rgba(255, 255, 255, .14); }
.mf-lang__btn svg { width: 16px; height: 16px; }
.mf-lang__menu { position: absolute; left: 0; top: calc(100% + 4px); z-index: 70; min-width: 180px; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 12px; box-shadow: var(--mf-shadow-md); }
.mf-lang__menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--wp--preset--color--ink); text-decoration: none; font-weight: 500; }
.mf-lang__menu a:hover, .mf-lang__menu a[aria-current="true"] { background: var(--wp--preset--color--sky); color: var(--wp--preset--color--navy); }
.mf-lang__menu a[aria-current="true"] { font-weight: 700; }

/* =========================================================
   3. Header and navigation
   ========================================================= */
.wp-block-template-part.mf-hdr-part { display: contents; }
.mf-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--wp--preset--color--border); transition: box-shadow .25s var(--mf-ease); }
.mf-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 42, 102, .12); }
.admin-bar .mf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mf-header { top: 46px; } }

.mf-header__inner { display: flex; align-items: center; gap: 12px; min-height: 76px; }
.mf-header__inner > * { margin-block: 0 !important; }
.mf-header__actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.mf-header__cta { min-height: 44px; padding: 0 20px; font-size: .9375rem; }

.mf-logo { display: inline-flex; align-items: center; flex: none; margin-right: 12px; text-decoration: none; }
.mf-logo__img { display: block; width: auto; height: 46px; max-width: none; }

.mf-header .wp-block-navigation { margin-left: auto; font-weight: 600; font-size: .9875rem; }
.mf-header .wp-block-navigation-item__content { display: flex; align-items: center; min-height: 44px; padding: 0 .85rem; white-space: nowrap; color: var(--wp--preset--color--ink); text-decoration: none; transition: color .2s, box-shadow .2s; }
.mf-header .wp-block-navigation-item__content[aria-current="page"],
.mf-header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.mf-header .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover,
.mf-header .wp-block-navigation__container > .wp-block-navigation-item:focus-within > .wp-block-navigation-item__content { color: var(--wp--preset--color--blue); box-shadow: inset 0 -3px 0 var(--wp--preset--color--blue); }
.mf-header .wp-block-navigation__submenu-container { min-width: 250px; padding: 8px; border: 1px solid var(--wp--preset--color--border); border-radius: 14px; box-shadow: var(--mf-shadow-md); }
.mf-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0 .85rem; border-radius: 8px; font-weight: 500; }
.mf-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--sky); box-shadow: none; color: var(--wp--preset--color--navy); }

/* Switch to the hamburger at 1023px and below (core only does it below 600px) */
@media (max-width: 1023px) {
	.mf-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.mf-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	/* logo left, search + menu button right */
	.mf-header__actions { order: 2; margin-left: auto; }
	.mf-header .wp-block-navigation { order: 3; margin-left: 0; }
}
@media (max-width: 1199px) { .mf-header__cta { display: none; } }

/* Phone and tablet menu: full-screen panel with large tap targets and a quote button */
.mf-header .wp-block-navigation-item.mf-nav-cta { display: none; }
.mf-header .wp-block-navigation__responsive-container.is-menu-open { background: #fff; color: var(--wp--preset--color--ink); padding: 0; }
.mf-header .is-menu-open .wp-block-navigation__responsive-container-close { top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; background: var(--wp--preset--color--sky); color: var(--wp--preset--color--navy); }
.mf-header .is-menu-open .wp-block-navigation__responsive-container-close svg { width: 24px; height: 24px; }
.mf-header .is-menu-open .wp-block-navigation__responsive-container-content { padding: 88px 24px 32px; }
.mf-header .is-menu-open .wp-block-navigation__container { --navigation-layout-justification-setting: flex-start; width: 100%; align-items: stretch; gap: 0; }
.mf-header .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--wp--preset--color--border); }
.mf-header .is-menu-open .wp-block-navigation-item__content { min-height: 60px; padding: 0 14px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; color: var(--wp--preset--color--navy); box-shadow: none; }
/* every link has the same left padding; the current page gets a bar in it (also while it has focus, which would otherwise swap the bar for the desktop underline) */
.mf-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { padding-inline: 14px; box-shadow: none; }
.mf-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content[aria-current="page"] { color: var(--wp--preset--color--blue); box-shadow: inset 4px 0 0 var(--wp--preset--color--blue); }
.mf-header .is-menu-open .wp-block-navigation-item.mf-nav-cta { display: block; margin-top: 28px; border-bottom: 0; }
.mf-header .is-menu-open .wp-block-navigation-item.mf-nav-cta .wp-block-navigation-item__content { justify-content: center; min-height: 56px; padding: 0 24px; border-radius: 12px; background: var(--wp--preset--color--accent); color: #fff; font-size: 1.0625rem; box-shadow: none; }
.mf-header .is-menu-open .wp-block-navigation-item.mf-nav-cta .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--accent-dark); box-shadow: none; color: #fff; }

.mf-searchbar { padding: 16px 0; background: var(--wp--preset--color--grey); border-top: 1px solid var(--wp--preset--color--border); }
.mf-searchbar__form { display: flex; gap: 12px; }
.mf-searchbar__form input { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; font: inherit; border: 2px solid var(--wp--preset--color--border); border-radius: 10px; background: #fff; color: var(--wp--preset--color--ink); }
.mf-searchbar__form input:focus { border-color: var(--wp--preset--color--blue); outline: none; box-shadow: 0 0 0 3px rgba(20, 86, 217, .2); }

/* =========================================================
   4. Hero
   ========================================================= */
.mf-hero {
	position: relative; overflow: hidden; color: #fff;
	padding-block: clamp(2.5rem, 6vw, 5rem) calc(clamp(2.5rem, 6vw, 5rem) + 4.5rem);
	background:
		radial-gradient(1100px 520px at 88% -10%, rgba(96, 150, 255, .45), transparent 62%),
		linear-gradient(135deg, var(--wp--preset--color--navy) 0%, #0D3585 55%, var(--wp--preset--color--blue) 100%);
}
.mf-hero__map { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mf-hero__map .mf-route path { animation: mf-dash 22s linear infinite; }
.mf-hero__map .mf-ping { transform-box: fill-box; transform-origin: center; animation: mf-ping 3.2s var(--mf-ease) infinite; }
@keyframes mf-dash { to { stroke-dashoffset: -240; } }
@keyframes mf-ping { 0% { transform: scale(.6); opacity: .8; } 70%, 100% { transform: scale(2.4); opacity: 0; } }
.mf-hero .mf-container { position: relative; }
.mf-hero__grid { align-items: center; }
.mf-pill { color: #fff; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); font-size: .8125rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.mf-hero h1 { margin: 18px 0 16px; color: #fff; font-size: clamp(2.375rem, 1.5rem + 3.6vw, 4.25rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; }
.mf-hero h1 span { color: #A9CBFF; }
.mf-lead { max-width: 560px; margin: 0; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); color: #DCE8FF; }

.mf-hero-search { max-width: 660px; margin-top: 28px; }
.mf-hero-search__field { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; background: #fff; border-radius: 16px; box-shadow: var(--mf-shadow-lg); }
.mf-hero-search__field:focus-within { outline: 3px solid #fff; outline-offset: 3px; }
.mf-hero-search__field > svg { width: 22px; height: 22px; flex: none; color: var(--wp--preset--color--muted); }
.mf-hero-search__field input { flex: 1; min-width: 0; min-height: 52px; border: 0; background: transparent; font: inherit; font-size: 1.0625rem; color: var(--wp--preset--color--ink); outline: none; }
.mf-hero-search__field input::placeholder { color: var(--wp--preset--color--muted); opacity: 1; }
.mf-hero-search__field .mf-btn { min-height: 52px; }
.mf-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.mf-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; color: #fff; font-weight: 600; font-size: .9375rem; text-decoration: none; transition: background-color .2s, border-color .2s; }
.mf-chips a:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }

.mf-promo { position: relative; overflow: hidden; padding: 28px; border-radius: 22px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--mf-shadow-lg); }
.mf-promo h2 { margin: 14px 0 10px; color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.02em; }
.mf-promo p { margin: 0 0 20px; color: #E4EEFF; }
.mf-promo__art { display: block; width: 100%; height: auto; max-height: 150px; margin-top: 22px; }

/* =========================================================
   5. Quick tools grid
   ========================================================= */
.mf-main > .mf-tools { position: relative; z-index: 2; margin-top: -4rem; }
.mf-tools__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.mf-tool { display: flex; align-items: center; gap: 14px; height: 100%; min-height: 92px; padding: 16px 18px; background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: 16px; box-shadow: var(--mf-shadow-sm); color: var(--wp--preset--color--ink); text-decoration: none; transition: transform .25s var(--mf-ease), box-shadow .25s var(--mf-ease), border-color .25s var(--mf-ease); }
.mf-tool:hover { transform: translateY(-3px); border-color: var(--wp--preset--color--blue); box-shadow: var(--mf-shadow-md); }
.mf-tool__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--wp--preset--color--sky); color: var(--wp--preset--color--blue); transition: background-color .25s, color .25s; }
.mf-tool:hover .mf-tool__icon { background: var(--wp--preset--color--blue); color: #fff; }
.mf-tool__icon svg { width: 26px; height: 26px; }
.mf-tool__body { display: grid; gap: 2px; min-width: 0; line-height: 1.3; }
.mf-tool__body strong { color: var(--wp--preset--color--navy); font-size: 1rem; font-weight: 700; }
.mf-tool__body span { color: var(--wp--preset--color--muted); font-size: .875rem; }
.mf-tool__arrow { width: 18px; height: 18px; margin-left: auto; flex: none; color: var(--wp--preset--color--blue); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--mf-ease); }
.mf-tool:hover .mf-tool__arrow, .mf-tool:focus-visible .mf-tool__arrow { opacity: 1; transform: none; }

/* =========================================================
   6. Featured cards
   ========================================================= */
.mf-features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.mf-feature { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: var(--mf-radius); box-shadow: var(--mf-shadow-sm); transition: transform .25s var(--mf-ease), box-shadow .25s var(--mf-ease); }
.mf-feature:hover { transform: translateY(-4px); box-shadow: var(--mf-shadow-md); }
.mf-feature__media { position: relative; display: grid; place-items: center; height: 220px; overflow: hidden; background: linear-gradient(160deg, #EAF2FF, #D6E6FF); }
.mf-feature__media--warm { background: linear-gradient(160deg, #FFF3E8, #FFE0C7); }
.mf-feature__media--grey { background: linear-gradient(160deg, #F4F4F4, #E2E8F0); }
.mf-feature__media--deep { background: linear-gradient(160deg, #DCE8FF, #BFD6FF); }
.mf-feature__media > svg { width: 78%; max-width: 240px; height: auto; }
.mf-feature__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.mf-feature__body h3 { margin: 10px 0 8px; font-size: 1.25rem; }
.mf-feature__body p { margin: 0 0 14px; color: var(--wp--preset--color--muted); font-size: .9875rem; }
.mf-feature__body .mf-link { margin-top: auto; }

/* Phone mockup (decorative) */
.mf-phone { position: absolute; left: 50%; bottom: -44px; width: 152px; height: 248px; padding: 7px; transform: translateX(-50%); background: #0B1220; border-radius: 28px; box-shadow: 0 20px 40px rgba(3, 16, 48, .35); }
.mf-phone__notch { position: absolute; top: 11px; left: 50%; z-index: 2; width: 46px; height: 10px; transform: translateX(-50%); border-radius: 8px; background: #0B1220; }
.mf-phone__screen { height: 100%; padding: 30px 8px 8px; overflow: hidden; border-radius: 22px; background: linear-gradient(180deg, #EAF2FF, #fff); }
.mf-phone__time { margin: 0 0 8px; text-align: center; font-size: 10px; font-weight: 700; color: var(--wp--preset--color--navy); }
.mf-notif { display: flex; align-items: flex-start; gap: 6px; margin-bottom: 6px; padding: 7px; background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(10, 42, 102, .14); font-size: 8.5px; line-height: 1.3; }
.mf-notif i { flex: none; width: 16px; height: 16px; border-radius: 5px; background: var(--wp--preset--color--blue); }
.mf-notif i.is-accent { background: var(--wp--preset--color--accent); }
.mf-notif b { display: block; font-size: 9.5px; color: var(--wp--preset--color--navy); }
.mf-notif small { display: block; font-size: 8.5px; color: var(--wp--preset--color--muted); }

/* =========================================================
   7. Product carousel
   ========================================================= */
.mf-shop { background: var(--wp--preset--color--grey); }
.mf-shop__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; margin-bottom: 24px; }
.mf-shop__head h2 { margin: 0; }
.mf-carousel__controls { display: flex; flex: none; gap: 8px; }
.mf-carousel__controls .mf-iconbtn { background: #fff; border: 1px solid var(--wp--preset--color--border); box-shadow: var(--mf-shadow-sm); }
.mf-carousel { position: relative; }
.mf-carousel__track { display: flex; gap: 16px; margin: -4px -4px 0; padding: 4px 4px 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--wp--preset--color--blue) transparent; }
.mf-slide { position: relative; flex: 0 0 calc((100% - 32px) / 3); display: flex; flex-direction: column; overflow: hidden; scroll-snap-align: start; background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: var(--mf-radius); transition: box-shadow .25s var(--mf-ease), transform .25s var(--mf-ease); }
.mf-slide:hover { box-shadow: var(--mf-shadow-md); transform: translateY(-3px); }
.mf-slide__media { display: grid; place-items: center; height: 190px; background: linear-gradient(160deg, #EAF2FF, #D6E6FF); }
.mf-slide__media--warm { background: linear-gradient(160deg, #FFF3E8, #FFE0C7); }
.mf-slide__media svg { width: 56%; max-width: 180px; height: auto; }
.mf-slide__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 18px; }
.mf-slide__body h3 { margin: 0 0 6px; font-size: 1.1875rem; }
.mf-slide__body p { margin: 0 0 10px; color: var(--wp--preset--color--muted); font-size: .9375rem; }
.mf-slide__body .mf-link { margin-top: auto; }

/* =========================================================
   9. Footer
   ========================================================= */
.mf-footer { background: var(--wp--preset--color--navy); color: #D6E2F5; }
.mf-footer a { color: #D6E2F5; text-decoration: none; }
.mf-footer a:hover { color: #fff; text-decoration: underline; }
.mf-footer h2 { margin: 0 0 14px; color: #fff; font-size: 1rem; letter-spacing: 0; }
.mf-footer ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.mf-footer ul a { display: inline-flex; align-items: center; min-height: 36px; }
.mf-footer__main { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px 56px; padding-block: clamp(2.5rem, 5vw, 3.75rem) 2.5rem; }
.mf-footer__brand .mf-logo { margin: 0 0 16px; }
.mf-footer__brand p { max-width: 360px; margin: 0 0 14px; }
.mf-footer__brand .mf-footer__contact p { margin: 0; font-weight: 600; line-height: 1.7; overflow-wrap: anywhere; }
.mf-footer__brand .mf-footer__contact a { color: #fff; }
.mf-footer__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 32px 24px; align-content: start; }
.mf-footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-block: 1.25rem 1.75rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .875rem; }
.mf-footer__bottom p { margin: 0; }
.mf-footer__top-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }
.mf-footer__top-link svg { width: 16px; height: 16px; }
.mf-footer ul.mf-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.mf-footer .mf-social a { display: grid; place-items: center; width: 44px; height: 44px; min-height: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; color: #fff; transition: background-color .2s, color .2s, transform .2s var(--mf-ease); }
.mf-footer .mf-social a:hover { background: #fff; color: var(--wp--preset--color--navy); transform: translateY(-2px); text-decoration: none; }
.mf-social svg { width: 20px; height: 20px; }

/* =========================================================
   10. Shared cards, forms and notices
   ========================================================= */
.mf-card { height: 100%; padding: 1.75rem; background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: var(--mf-radius); transition: box-shadow .25s var(--mf-ease), transform .25s var(--mf-ease); }
.mf-card:hover { box-shadow: var(--mf-shadow-md); transform: translateY(-2px); }
.mf-card h3 { margin-top: 0; color: var(--wp--preset--color--navy); }
.mf-icon { width: 44px; height: 44px; margin-bottom: .75rem; color: var(--wp--preset--color--blue); }
.mf-step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: .75rem; border-radius: 50%; background: var(--wp--preset--color--blue); color: #fff; font: 700 1.1rem var(--wp--preset--font-family--heading); }
.mf-cta { background: var(--wp--preset--color--sky); border-top: 1px solid var(--wp--preset--color--border); border-bottom: 1px solid var(--wp--preset--color--border); }

.mf-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 760px; }
.mf-form .mf-full { grid-column: 1 / -1; }
.mf-form label { display: block; margin-bottom: .35rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.mf-form input, .mf-form select, .mf-form textarea { width: 100%; min-height: 48px; padding: .65rem .9rem; font: inherit; border: 2px solid var(--wp--preset--color--border); border-radius: 10px; background: #fff; color: var(--wp--preset--color--ink); }
.mf-form select { padding-right: 2.25rem; text-overflow: ellipsis; }
.mf-form textarea { min-height: 120px; }
.mf-form input:focus, .mf-form select:focus, .mf-form textarea:focus { border-color: var(--wp--preset--color--blue); outline: none; box-shadow: 0 0 0 3px rgba(20, 86, 217, .2); }
.mf-form .mf-hp { position: absolute; left: -9999px; }
.mf-form button { min-height: 52px; padding: 0 2rem; font: 700 1rem var(--wp--preset--font-family--heading); color: #fff; background: var(--wp--preset--color--accent); border: 0; border-radius: 10px; cursor: pointer; }
.mf-form button:hover { background: var(--wp--preset--color--accent-dark); }
.mf-notice { max-width: 760px; margin-bottom: 1.25rem; padding: 1rem 1.25rem; background: var(--wp--preset--color--sky); border: 1px solid var(--wp--preset--color--border); border-radius: 10px; }
.mf-notice.is-error { background: #FEF3F2; border-color: #FDA29B; }
.mf-timeline { margin: 1rem 0 0; padding: 0 0 0 1.25rem; list-style: none; border-left: 3px solid var(--wp--preset--color--border); }
.mf-timeline li { position: relative; padding: 0 0 1.25rem 1rem; }
.mf-timeline li::before { content: ""; position: absolute; left: -1.7rem; top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--wp--preset--color--blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--wp--preset--color--blue); }
.mf-timeline small { display: block; color: var(--wp--preset--color--muted); }

/* =========================================================
   11. Responsive
   ========================================================= */
@media (max-width: 1023px) {
	.mf-tools__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mf-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mf-slide { flex-basis: calc((100% - 16px) / 2); }
	.mf-footer__main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.mf-utility__nav a { padding: 0 8px; }
	.mf-hero-search__field { padding-left: 14px; }
	.mf-hero-search__field .mf-btn { padding: 0 18px; }
	.mf-main > .mf-tools { margin-top: -3rem; }
	.mf-tool { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; padding: 16px; }
	.mf-tool__arrow { display: none; }
	.mf-features__grid { grid-template-columns: 1fr; }
	.mf-slide { flex-basis: 84%; }
	.mf-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mf-form { grid-template-columns: minmax(0, 1fr); }
	.mf-shop__head { align-items: center; }
}
@media (max-width: 359px) {
	.mf-utility__inner { flex-wrap: wrap; justify-content: center; }
	.mf-utility__nav ul { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 479px) {
	.mf-utility { font-size: .8125rem; }
	.mf-utility__inner { gap: 4px; }
	.mf-utility__nav a, .mf-lang__btn { padding: 0 6px; }
	.mf-hero-search__field { flex-wrap: wrap; padding: 12px; }
	.mf-hero-search__field input { flex: 1 1 calc(100% - 40px); }
	.mf-hero-search__field .mf-btn { flex: 1 1 100%; }
	.mf-logo__img { height: 38px; }
	.mf-logo { margin-right: 4px; }
	.mf-tool__body span { display: none; }
	.mf-footer__cols { grid-template-columns: 1fr; }
	.mf-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

/* =========================================================
   12. Inner pages: Track and Trace, Global Network, Services, About Us, Contact
   ========================================================= */
.mf-section--sky { background: var(--wp--preset--color--sky); }
.mf-section--grey { background: var(--wp--preset--color--grey); }
.mf-hl { color: var(--wp--preset--color--blue); font-weight: 800; }
.mf-badge--solid { background: var(--wp--preset--color--navy); color: #fff; }

/* focus rings on white controls that sit inside a dark hero */
.mf-hero-search__field .mf-btn:focus-visible,
.mf-trackcard :where(a, button, input, select, textarea):focus-visible { outline-color: var(--wp--preset--color--blue); }

/* ---- Page hero ---- */
.mf-phero {
	position: relative; overflow: hidden; color: #fff;
	padding-block: clamp(2.25rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4.5rem);
	background:
		radial-gradient(900px 440px at 92% -20%, rgba(96, 150, 255, .42), transparent 62%),
		linear-gradient(135deg, var(--wp--preset--color--navy) 0%, #0D3585 58%, var(--wp--preset--color--blue) 100%);
}
.mf-phero--overlap { padding-bottom: calc(clamp(2.5rem, 6vw, 4.5rem) + 3.25rem); }
.mf-phero .mf-container { position: relative; }
.mf-phero__grid { align-items: center; }
.mf-phero .mf-eyebrow { margin: 0; }
.mf-phero h1 { margin: 16px 0 14px; color: #fff; font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; }
.mf-phero .mf-lead { max-width: 660px; }
.mf-phero .mf-chips { margin-top: 24px; }
.mf-phero__visual { display: grid; place-items: center; }

/* ---- Track and Trace ---- */
.mf-trackcard { max-width: 660px; margin-top: 28px; padding: clamp(18px, 3vw, 26px); color: var(--wp--preset--color--ink); background: #fff; border-radius: 20px; box-shadow: var(--mf-shadow-lg); }
.mf-trackform label { display: block; margin: 0 0 8px; font-weight: 700; color: var(--wp--preset--color--navy); }
.mf-trackform textarea { display: block; width: 100%; min-height: 96px; padding: 14px 16px; font: inherit; font-size: 1.0625rem; line-height: 1.5; color: var(--wp--preset--color--ink); background: #fff; border: 2px solid var(--wp--preset--color--border); border-radius: 12px; resize: vertical; }
.mf-trackform textarea::placeholder { color: var(--wp--preset--color--muted); opacity: 1; }
.mf-trackform textarea:focus { border-color: var(--wp--preset--color--blue); outline: none; box-shadow: 0 0 0 3px rgba(20, 86, 217, .2); }
.mf-trackform__help { margin: 10px 0 0; font-size: .9375rem; color: var(--wp--preset--color--muted); }
.mf-trackform__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.mf-trackform__count { font-size: .875rem; font-weight: 600; color: var(--wp--preset--color--muted); font-variant-numeric: tabular-nums; }
.mf-trackform__count.is-over { color: #B42318; }
.mf-trackform .mf-btn { min-height: 52px; cursor: pointer; }

.mf-trackmock { position: relative; width: min(100%, 400px); padding: 24px; border-radius: 24px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--mf-shadow-lg); }
.mf-trackmock__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.mf-trackmock__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--wp--preset--color--navy); }
.mf-trackmock__icon svg { width: 26px; height: 26px; }
.mf-trackmock .mf-badge { background: #fff; color: var(--wp--preset--color--navy); }
.mf-trackmock__line { position: relative; display: flex; justify-content: space-between; align-items: center; margin: 0 4px 28px; }
.mf-trackmock__line::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: rgba(255, 255, 255, .35); transform: translateY(-50%); }
.mf-trackmock__dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .22); }
.mf-trackmock__dot.is-next { background: var(--wp--preset--color--blue); border: 2px solid rgba(255, 255, 255, .7); box-shadow: none; }
.mf-trackmock__dot.is-now { width: 18px; height: 18px; background: var(--wp--preset--color--accent); box-shadow: 0 0 0 5px rgba(255, 255, 255, .35); }
.mf-trackmock__row { height: 11px; margin-top: 12px; border-radius: 6px; background: rgba(255, 255, 255, .28); }
.mf-trackmock__float { position: absolute; right: -14px; bottom: -22px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 14px; background: #fff; color: var(--wp--preset--color--navy); font-size: .875rem; font-weight: 700; box-shadow: var(--mf-shadow-md); }
.mf-trackmock__float svg { width: 22px; height: 22px; color: var(--wp--preset--color--blue); }

/* results */
.mf-results { padding-block: clamp(2.5rem, 5vw, 4rem); background: var(--wp--preset--color--grey); scroll-margin-top: 110px; }
.mf-results:focus { outline: none; }
.mf-results--inline { padding: 0; margin-top: 24px; background: none; }
.mf-results__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 20px; }
.mf-results__head h2 { margin: 0 0 4px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.mf-results__sum { margin: 0; color: var(--wp--preset--color--muted); }
.mf-results .mf-notice { max-width: none; }
.mf-results__list { display: grid; gap: 16px; }
.mf-result { padding: clamp(18px, 3vw, 28px); background: #fff; border: 1px solid var(--wp--preset--color--border); border-left: 6px solid var(--wp--preset--color--blue); border-radius: 14px; box-shadow: var(--mf-shadow-sm); }
.mf-result.is-missing { border-left-color: #B54708; }
.mf-result__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.mf-result__num { margin: 0; font-size: 1.1875rem; overflow-wrap: anywhere; }
.mf-result__meta { margin: 4px 0 0; color: var(--wp--preset--color--muted); font-size: .9375rem; }
.mf-result > p { margin: 10px 0 0; }
.mf-result .mf-timeline { margin-top: 22px; }
.mf-progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.mf-progress li { position: relative; padding-top: 16px; font-size: .8125rem; font-weight: 600; line-height: 1.3; color: var(--wp--preset--color--muted); }
.mf-progress li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 999px; background: var(--wp--preset--color--border); }
.mf-progress li.is-done { color: var(--wp--preset--color--navy); }
.mf-progress li.is-done::before { background: var(--wp--preset--color--blue); }
.mf-progress li.is-current { color: var(--wp--preset--color--accent-dark); font-weight: 800; }
.mf-progress li.is-current::before { background: var(--wp--preset--color--accent); }

/* milestone stepper: vertical on small screens, a row of five from 1100px */
.mf-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.mf-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 18px; padding-bottom: 30px; }
.mf-step:last-child { padding-bottom: 0; }
.mf-step::after { content: ""; position: absolute; left: 27px; top: 66px; bottom: 6px; width: 2px; background: repeating-linear-gradient(to bottom, var(--wp--preset--color--blue) 0 6px, transparent 6px 12px); opacity: .5; }
.mf-step:last-child::after { display: none; }
.mf-step__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wp--preset--color--sky); color: var(--wp--preset--color--blue); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--wp--preset--color--blue); }
.mf-step__icon svg { width: 26px; height: 26px; }
.mf-step:last-child .mf-step__icon { background: var(--wp--preset--color--blue); color: #fff; }
.mf-step__num { display: block; margin: 2px 0 2px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--blue); }
.mf-step h3 { margin: 0 0 6px; font-size: 1.25rem; }
.mf-step p { max-width: 46ch; margin: 0; color: var(--wp--preset--color--muted); }

/* ---- Shared info cards ---- */
.mf-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mf-cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mf-cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.mf-infocard { height: 100%; padding: 28px 26px; background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: var(--mf-radius); box-shadow: var(--mf-shadow-sm); transition: transform .25s var(--mf-ease), box-shadow .25s var(--mf-ease), border-color .25s var(--mf-ease); }
.mf-infocard:hover { transform: translateY(-4px); border-color: var(--wp--preset--color--blue); box-shadow: var(--mf-shadow-md); }
.mf-infocard__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 16px; background: var(--wp--preset--color--sky); color: var(--wp--preset--color--blue); transition: background-color .25s, color .25s; }
.mf-infocard:hover .mf-infocard__icon { background: var(--wp--preset--color--blue); color: #fff; }
.mf-infocard__icon svg { width: 28px; height: 28px; }
.mf-infocard h3 { margin: 0 0 8px; font-size: 1.25rem; }
.mf-infocard p { margin: 0; color: var(--wp--preset--color--muted); }
.mf-section--sky .mf-infocard { border-color: #CFE0FF; }
.mf-infocard--row { display: flex; align-items: flex-start; gap: 20px; }
.mf-infocard--row .mf-infocard__icon { flex: none; margin-bottom: 0; }
.mf-infocard--row .mf-infocard__body { min-width: 0; }
.mf-infocard--row h3 { margin-top: 2px; }

/* ---- Global Network ---- */
.mf-globe { display: block; width: min(100%, 420px); height: auto; margin-inline: auto; }
.mf-globe .mf-route path { animation: mf-dash 22s linear infinite; }
.mf-globe .mf-ping { transform-box: fill-box; transform-origin: center; animation: mf-ping 3.2s var(--mf-ease) infinite; }
.mf-main > .mf-stats { position: relative; z-index: 2; margin-top: -3.25rem; }
.mf-stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.mf-stat { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: 16px; box-shadow: var(--mf-shadow-md); }
.mf-stat__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--wp--preset--color--sky); color: var(--wp--preset--color--blue); }
.mf-stat__icon svg { width: 26px; height: 26px; }
.mf-stat strong { display: block; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1; letter-spacing: -.02em; font-weight: 800; color: var(--wp--preset--color--navy); }
.mf-stat span:not(.mf-stat__icon) { display: block; margin-top: 4px; color: var(--wp--preset--color--muted); font-size: .9375rem; line-height: 1.3; }
.mf-hubs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.mf-hub { position: relative; overflow: hidden; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: var(--mf-radius); box-shadow: var(--mf-shadow-sm); color: var(--wp--preset--color--blue); transition: transform .25s var(--mf-ease), box-shadow .25s var(--mf-ease); }
.mf-hub:hover { transform: translateY(-4px); box-shadow: var(--mf-shadow-md); }
.mf-hub::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--wp--preset--color--blue), #6096FF); }
.mf-hub__chain { display: block; width: 100%; max-width: 160px; height: 24px; margin: 0 0 16px; }
.mf-hub h3 { margin: 0 0 8px; font-size: 1.25rem; }
.mf-hub p { margin: 0; color: var(--wp--preset--color--muted); font-size: .9875rem; }
.mf-hub strong { color: var(--wp--preset--color--navy); font-weight: 700; }

/* ---- Services ---- */
.mf-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: min(100%, 340px); padding-bottom: 28px; }
.mf-tile { display: grid; place-items: center; aspect-ratio: 1; border-radius: 26px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; box-shadow: var(--mf-shadow-lg); }
.mf-tile svg { width: 42%; height: 42%; stroke-width: 1.5; }
.mf-tile:nth-child(even) { transform: translateY(28px); }
.mf-tile:nth-child(1) { background: rgba(255, 255, 255, .22); }
.mf-svc { padding-block: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: 90px; }
.mf-svc--alt { background: var(--wp--preset--color--grey); }
.mf-svc__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.mf-svc__num::before { content: attr(data-num); }
.mf-svc__num { display: block; margin-bottom: 6px; font-size: clamp(3rem, 2rem + 4vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: #C3D6F8; }
.mf-svc__intro h2 { margin: 0; font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); }
.mf-svc__list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.mf-svcitem { display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: 16px; box-shadow: var(--mf-shadow-sm); transition: transform .25s var(--mf-ease), box-shadow .25s var(--mf-ease), border-color .25s var(--mf-ease); }
.mf-svcitem:hover { transform: translateX(4px); border-color: var(--wp--preset--color--blue); box-shadow: var(--mf-shadow-md); }
.mf-svcitem__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--wp--preset--color--sky); color: var(--wp--preset--color--blue); transition: background-color .25s, color .25s; }
.mf-svcitem:hover .mf-svcitem__icon { background: var(--wp--preset--color--blue); color: #fff; }
.mf-svcitem__icon svg { width: 28px; height: 28px; }
.mf-svcitem h3 { margin: 2px 0 6px; font-size: 1.25rem; }
.mf-svcitem p { margin: 0; color: var(--wp--preset--color--muted); }

/* ---- About ---- */
.mf-brandmark { width: min(100%, 340px); }
.mf-brandmark svg { display: block; width: 100%; height: auto; }
.mf-brandmark .mf-route path { animation: mf-dash 22s linear infinite; }
.mf-mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mf-mv__card { position: relative; overflow: hidden; padding: clamp(26px, 4vw, 44px); border-radius: 22px; }
.mf-mv__card--mission { color: #fff; background: radial-gradient(520px 280px at 100% 0, rgba(96, 150, 255, .42), transparent 62%), linear-gradient(135deg, var(--wp--preset--color--navy) 0%, #0D3585 60%, var(--wp--preset--color--blue) 100%); box-shadow: var(--mf-shadow-md); }
.mf-mv__card--vision { background: var(--wp--preset--color--sky); border: 1px solid #CFE0FF; }
.mf-mv__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px; background: #fff; color: var(--wp--preset--color--blue); }
.mf-mv__icon svg { width: 28px; height: 28px; }
.mf-mv__card h3 { margin: 0 0 12px; font-size: 1.5rem; }
.mf-mv__card--mission h3 { color: #fff; }
.mf-mv__card p { margin: 0; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; }
.mf-mv__card--mission p { color: #E4EEFF; }
.mf-mv__card--vision p { color: var(--wp--preset--color--ink); }

/* ---- Contact ---- */
.mf-supportcard { position: relative; display: grid; place-items: center; width: min(100%, 330px); aspect-ratio: 1; }
.mf-supportcard__ring { position: absolute; inset: 14%; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .32); }
.mf-supportcard__ring--2 { inset: 0; border-style: dashed; border-color: rgba(255, 255, 255, .24); }
.mf-supportcard__icon { display: grid; place-items: center; width: 40%; aspect-ratio: 1; border-radius: 50%; background: #fff; color: var(--wp--preset--color--navy); box-shadow: var(--mf-shadow-lg); }
.mf-supportcard__icon svg { width: 46%; height: 46%; }
.mf-supportcard__chip { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mf-supportcard__chip svg { width: 24px; height: 24px; }
.mf-supportcard__chip--a { top: 8%; left: 18%; }
.mf-supportcard__chip--b { top: 36%; right: -4%; }
.mf-supportcard__chip--c { bottom: 6%; left: 22%; }
.mf-contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.mf-contact h2 { margin: 0 0 20px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.mf-cinfo { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.mf-cinfo__item { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: 16px; box-shadow: var(--mf-shadow-sm); }
.mf-cinfo__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--wp--preset--color--sky); color: var(--wp--preset--color--blue); }
.mf-cinfo__icon svg { width: 24px; height: 24px; }
.mf-cinfo__label { margin: 0 0 4px; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.mf-cinfo__value { margin: 0; font-size: 1.125rem; font-weight: 700; line-height: 1.4; color: var(--wp--preset--color--navy); overflow-wrap: anywhere; }
.mf-cinfo__value a { color: inherit; text-decoration: none; }
.mf-cinfo__value a:hover { color: var(--wp--preset--color--blue); text-decoration: underline; }
.mf-cinfo__line { display: block; text-wrap: balance; }
.mf-cinfo__note { margin: 2px 0 0; color: var(--wp--preset--color--muted); font-size: .9375rem; }
.mf-formcard { padding: clamp(22px, 4vw, 36px); background: #fff; border: 1px solid var(--wp--preset--color--border); border-top: 6px solid var(--wp--preset--color--blue); border-radius: 18px; box-shadow: var(--mf-shadow-md); }
.mf-formcard .mf-form, .mf-formcard .mf-notice { max-width: none; }
.mf-formcard .mf-notice { margin-top: 0; }
.mf-formcard .mf-notice:focus { outline: none; }

/* ---- Closing call-to-action band ---- */
.mf-ctaband { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 5vw, 4rem); color: #fff; background: linear-gradient(135deg, var(--wp--preset--color--navy) 0%, #0D3585 60%, var(--wp--preset--color--blue) 100%); }
.mf-ctaband__art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mf-ctaband__inner { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 32px; }
.mf-ctaband h2 { margin: 0 0 8px; color: #fff; font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); }
.mf-ctaband p { max-width: 560px; margin: 0; color: #DCE8FF; }
.mf-ctaband__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Inner pages: responsive ---- */
@media (min-width: 1100px) {
	.mf-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
	.mf-step { grid-template-columns: minmax(0, 1fr); align-content: start; justify-items: center; padding-bottom: 0; text-align: center; }
	.mf-step::after { left: calc(50% + 42px); top: 27px; bottom: auto; width: calc(100% - 64px); height: 2px; background: repeating-linear-gradient(to right, var(--wp--preset--color--blue) 0 6px, transparent 6px 12px); }
	.mf-step__icon { margin-bottom: 18px; }
	.mf-step p { margin-inline: auto; max-width: 30ch; }
}
@media (max-width: 1199px) {
	.mf-hubs, .mf-cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
	.mf-cards2, .mf-cards3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1023px) {
	.mf-phero__visual { display: none; }
	.mf-svc__grid, .mf-contact__grid { grid-template-columns: minmax(0, 1fr); }
	.mf-svc__intro { display: flex; align-items: baseline; gap: 16px; }
	.mf-svc__num { margin: 0; font-size: 3rem; }
}
@media (max-width: 767px) {
	.mf-cards3, .mf-cards4, .mf-hubs, .mf-stats__grid, .mf-mv { grid-template-columns: minmax(0, 1fr); }
	.mf-main > .mf-stats { margin-top: -2.5rem; }
	.mf-phero--overlap { padding-bottom: calc(clamp(2.5rem, 6vw, 4.5rem) + 2.5rem); }
	.mf-svcitem { padding: 18px; gap: 14px; }
	.mf-svcitem__icon { width: 48px; height: 48px; }
	.mf-ctaband__actions, .mf-ctaband__actions .mf-btn { width: 100%; }
}
@media (max-width: 479px) {
	.mf-cinfo__item { gap: 14px; padding: 16px; }
	.mf-cinfo__icon { width: 44px; height: 44px; }
	.mf-cinfo__value { font-size: 1rem; }
}
@media (max-width: 359px) {
	.mf-cinfo__item { flex-direction: column; gap: 10px; }
}
@media (max-width: 559px) {
	.mf-infocard--row { flex-direction: column; gap: 16px; }
	.mf-progress { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.mf-progress li { padding: 0 0 0 26px; }
	.mf-progress li::before { top: 3px; right: auto; width: 12px; height: 12px; border-radius: 50%; }
	.mf-trackform__bar { flex-direction: column-reverse; align-items: stretch; }
	.mf-trackform__bar .mf-btn { width: 100%; }
	.mf-trackform__count { text-align: right; }
}

/* =========================================================
   13. Plugin slots (homepage banner, Track and Trace, forms) and Contact Form 7
   ========================================================= */
/* the sections of a page template sit flush against each other; each one owns its spacing */
.mf-main > * { margin-block: 0; }
.mf-main:focus { outline: none; }

/* your tracking plugin's form inside the homepage banner */
.mf-hero-tracker { max-width: 720px; margin-top: 28px; padding: clamp(16px, 3vw, 24px); overflow-x: auto; text-align: left; color: var(--wp--preset--color--ink); background: #fff; border-radius: 20px; box-shadow: var(--mf-shadow-lg); }
.mf-hero .mf-hero-tracker :is(h1, h2, h3, h4, h5, h6) { margin: 0 0 .75rem; color: var(--wp--preset--color--navy); font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); line-height: 1.25; letter-spacing: -.01em; }
.mf-hero .mf-hero-tracker h1 span { color: inherit; }
.mf-hero-tracker a { color: var(--wp--preset--color--blue); }
.mf-hero-tracker :where(a, button, input, select, textarea):focus-visible { outline-color: var(--wp--preset--color--blue); }
.mf-hero-tracker :where(input, select, textarea, button) { max-width: 100%; font-family: inherit; }
.mf-hero-tracker img { max-width: 100%; height: auto; }
.mf-hero-tracker > :first-child { margin-top: 0; }
.mf-hero-tracker > :last-child { margin-bottom: 0; }

/* your tracking plugin's form on the Track and Trace page */
.mf-main > .mf-trackslot { position: relative; z-index: 2; margin-top: -3.25rem; padding-bottom: clamp(2rem, 4vw, 3rem); }
.mf-trackslot__panel { padding: clamp(18px, 3vw, 32px); overflow-x: auto; color: var(--wp--preset--color--ink); background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: 20px; box-shadow: var(--mf-shadow-md); }
.mf-trackslot__panel > :first-child, .mf-slot > :first-child { margin-top: 0; }
.mf-trackslot__panel > :last-child, .mf-slot > :last-child { margin-bottom: 0; }
.mf-trackslot__panel img { max-width: 100%; height: auto; }
.mf-trackslot__panel :where(a) { color: var(--wp--preset--color--blue); }

/* Contact Form 7 (and other form plugins) inside the form card */
.mf-slot .wpcf7 { margin: 0; }
.mf-slot .wpcf7 form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; margin: 0; }
.mf-slot .wpcf7 form > p { margin: 0; }
.mf-slot .wpcf7 form > p.mf-full,
.mf-slot .wpcf7 form > p:has(textarea),
.mf-slot .wpcf7 form > p:has(:is(input, select)[name*="subject" i]),
.mf-slot .wpcf7 form > p:has(.wpcf7-submit),
.mf-slot .wpcf7 form > .wpcf7-response-output,
.mf-slot .wpcf7 form > fieldset { grid-column: 1 / -1; }
.mf-slot .wpcf7 form > fieldset { margin: 0; padding: 0; border: 0; }
.mf-slot .wpcf7 label { display: block; font-weight: 600; color: var(--wp--preset--color--navy); }
.mf-slot .wpcf7 label br { display: none; }
.mf-slot .wpcf7-form-control-wrap { position: relative; display: block; margin-top: .35rem; }
.mf-slot .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select, textarea) { display: block; box-sizing: border-box; width: 100%; max-width: 100%; min-height: 52px; padding: .65rem .9rem; font: inherit; font-weight: 400; color: var(--wp--preset--color--ink); background: #fff; border: 2px solid var(--wp--preset--color--border); border-radius: 10px; }
.mf-slot .wpcf7 textarea { min-height: 120px; height: 140px; }
.mf-slot .wpcf7 select { padding-right: 2.25rem; text-overflow: ellipsis; }
.mf-slot .wpcf7 :is(input, select, textarea):focus { border-color: var(--wp--preset--color--blue); outline: none; box-shadow: 0 0 0 3px rgba(20, 86, 217, .2); }
.mf-slot .wpcf7 .wpcf7-not-valid { border-color: var(--wp--preset--color--danger); }
/* error text is positioned, not in the flow, so showing it never moves the button the visitor is about to click */
.mf-slot .wpcf7 .wpcf7-not-valid-tip { position: absolute; left: 0; top: 100%; margin-top: 2px; font-size: .8125rem; line-height: 1.2; color: var(--wp--preset--color--danger); }
.mf-slot .wpcf7 .wpcf7-submit { min-height: 52px; padding: 0 2rem; font: 700 1rem var(--wp--preset--font-family--heading); color: #fff; background: var(--wp--preset--color--accent); border: 0; border-radius: 10px; cursor: pointer; transition: background-color .2s var(--mf-ease); }
.mf-slot .wpcf7 .wpcf7-submit:hover { background: var(--wp--preset--color--accent-dark); }
.mf-slot .wpcf7 .wpcf7-submit:disabled { opacity: .6; cursor: progress; }
.mf-slot .wpcf7 .wpcf7-spinner { margin: 0 0 0 12px; vertical-align: middle; }
.mf-slot .wpcf7 form .wpcf7-response-output { margin: 0; padding: 1rem 1.25rem; font-size: 1rem; background: var(--wp--preset--color--sky); border: 1px solid #B2CCFF; border-radius: 10px; color: var(--wp--preset--color--ink); }
.mf-slot .wpcf7 form.init .wpcf7-response-output { display: none; }
.mf-slot .wpcf7 form:is(.invalid, .unaccepted, .failed, .aborted, .spam) .wpcf7-response-output { background: #FEF3F2; border-color: #FDA29B; color: #7A271A; }
.mf-slot .wpcf7 .wpcf7-list-item { display: block; margin: 0 0 .35rem; }
.mf-slot .wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 767px) {
	.mf-slot .wpcf7 form { grid-template-columns: minmax(0, 1fr); }
	.mf-main > .mf-trackslot { margin-top: -2.5rem; }
}

/* illustration plates for the featured cards and the carousel */
.mf-feature__art, .mf-slide__art { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 32px; background: #fff; color: var(--wp--preset--color--blue); box-shadow: var(--mf-shadow-md); }
.mf-feature__art svg { width: 56px; height: 56px; max-width: none; stroke-width: 1.5; }
.mf-slide__art { width: 108px; height: 108px; border-radius: 50%; }
.mf-slide__art svg { width: 50px; height: 50px; max-width: none; height: 50px; stroke-width: 1.5; }

/* =========================================================
   14. Ordinary pages and posts, blog list, 404
   ========================================================= */
.mf-pagehead { padding-block: clamp(2rem, 4vw, 3.25rem); background: var(--wp--preset--color--sky); border-bottom: 1px solid #CFE0FF; }
.mf-pagehead h1 { margin: 0; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.mf-pagehead .mf-meta { margin: .75rem 0 0; }
.mf-meta { color: var(--wp--preset--color--muted); font-size: .9375rem; }
.mf-prose { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.mf-prose :where(h2) { margin-top: 2em; }
.mf-prose :where(h3) { margin-top: 1.6em; }
.mf-prose :where(table) { width: 100%; border-collapse: collapse; }
.mf-prose :where(th, td) { padding: .6rem .75rem; text-align: left; border: 1px solid var(--wp--preset--color--border); }
.mf-prose :where(img) { height: auto; border-radius: 12px; }
.mf-prose :where(ul, ol) { padding-left: 1.4em; }
.mf-posts { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.mf-postcard { height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: var(--mf-radius); box-shadow: var(--mf-shadow-sm); transition: transform .25s var(--mf-ease), box-shadow .25s var(--mf-ease); }
.mf-postcard:hover { transform: translateY(-3px); box-shadow: var(--mf-shadow-md); }
.mf-postcard .wp-block-post-featured-image { margin: 0; }
.mf-postcard .wp-block-post-featured-image img { display: block; width: 100%; height: 190px; object-fit: cover; }
.mf-postcard__body { padding: 20px 22px 22px; }
.mf-postcard__body h2 { margin: 6px 0 8px; font-size: 1.25rem; }
.mf-postcard__body h2 a { color: var(--wp--preset--color--navy); text-decoration: none; }
.mf-postcard__body h2 a:hover { color: var(--wp--preset--color--blue); text-decoration: underline; }
.mf-postcard__body .wp-block-post-excerpt { margin: 0; color: var(--wp--preset--color--muted); font-size: .9875rem; }
.mf-postcard__body .wp-block-post-date { margin: 0; color: var(--wp--preset--color--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.mf-quicklinks { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.mf-js .mf-reveal { opacity: 1; transform: none; }
}
