:root {
    --background: #ffffff;
    --foreground: #0b1f33;
    --primary: #082b49;
    --primary-2: #0f456f;
    --navy-deep: #061c31;
    --accent: #3c7db8;
    --accent-hover: #326a9d;
    --accent-rgb: 60, 125, 184;
    --brand-blue: #3c7db8;
    --muted: #66778a;
    --muted-bg: #eef5f8;
    --ice: #f4f9fb;
    --border: #dce6ee;
    --card: #ffffff;
    --shadow-card: 0 18px 45px rgba(8, 43, 73, .12);
    --shadow-elegant: 0 24px 80px rgba(2, 12, 24, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: var(--foreground);
    background: var(--background);
    line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; color: inherit; }
h1 { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.06; margin-bottom: 20px; }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; margin-bottom: 16px; }
h3 { font-size: 17px; line-height: 1.25; margin-bottom: 8px; }
p { color: var(--muted); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .82);
    border-bottom: 1px solid rgba(220, 230, 238, .78);
    backdrop-filter: blur(14px);
}

.nav {
    max-width: 1120px;
    height: 64px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand img {
    width: 156px;
    height: 46px;
    object-fit: contain;
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    position: relative;
    padding: 8px 0;
    color: rgba(11, 31, 51, .74);
    font-size: 14px;
    font-weight: 600;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.nav-links a:hover,
.nav-links a:focus { color: var(--primary); }
.nav-links a:hover::after,
.nav-links a:focus::after { transform: scaleX(1); }

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: 8px;
    min-height: 40px;
    padding: 0 12px;
    font: inherit;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 9px 16px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 28px rgba(var(--accent-rgb), .22); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { color: var(--foreground); background: transparent; }
.btn-outline { background: #fff; border-color: var(--border); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-soft { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.26); }
.btn-outline-light { background: rgba(255,255,255,.05); color: #fff; border-color: rgba(255,255,255,.24); }

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 620px;
    color: #fff;
}

.hero-media,
.hero-media::before,
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-media::before {
    z-index: 1;
    background: linear-gradient(90deg, rgba(8,43,73,.96), rgba(8,43,73,.72) 45%, rgba(8,43,73,.22));
}

.hero-media::after {
    z-index: 2;
    background: linear-gradient(0deg, rgba(8,43,73,.72), transparent 42%);
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .7s ease;
}

.carousel-slide.active { opacity: 1; }

.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 104px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 44px;
    align-items: center;
}

.hero-copy { max-width: 820px; }
.hero .lead { max-width: 620px; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.7; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    padding: 8px 14px;
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    backdrop-filter: blur(10px);
}

.pill span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--brand-blue);
}

.hero h1 { margin-top: 24px; color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.carousel-dots button {
    width: 18px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.carousel-dots button.active {
    width: 36px;
    background: var(--brand-blue);
}

.hero-track {
    align-self: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    background: rgba(255,255,255,.12);
    box-shadow: var(--shadow-elegant);
    padding: 22px;
    backdrop-filter: blur(14px);
}

.hero-track p {
    margin-bottom: 8px;
    color: rgba(255,255,255,.74);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.hero-track h2 {
    color: #fff;
    font-size: 25px;
    margin-bottom: 20px;
}

input, select, textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--foreground);
    padding: 12px 14px;
    font: inherit;
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: rgba(var(--accent-rgb), .5);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12);
}

textarea { min-height: 118px; resize: vertical; }
.hero-track input { margin-bottom: 12px; border-color: rgba(255,255,255,.2); }
.hero-track .btn { width: 100%; min-height: 48px; }

.stats-band {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(238,245,248,.62);
}

.stats-grid {
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stats-grid article {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card);
    padding: 24px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(8,43,73,.06);
}

.stats-grid strong {
    display: block;
    color: var(--primary);
    font-size: 32px;
    line-height: 1;
}

.stats-grid span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.network-band,
.why-band,
.footer {
    background: var(--navy-deep);
    color: #fff;
}

.network-inner,
.split-layout,
.section,
.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.network-inner {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    align-items: center;
    gap: 44px;
    padding-top: 76px;
    padding-bottom: 76px;
}

.network-band p,
.why-band p,
.footer p { color: rgba(255,255,255,.66); }

.eyebrow {
    display: inline-block;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 10px;
}

.network-band .eyebrow,
.why-band .eyebrow { color: var(--brand-blue); }

.route-visual {
    position: relative;
    min-height: 420px;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), .20), transparent 32%),
        linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.12);
}

.globe {
    position: absolute;
    inset: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18);
    background:
        linear-gradient(transparent 48%, rgba(255,255,255,.15) 49%, rgba(255,255,255,.15) 51%, transparent 52%),
        radial-gradient(circle, rgba(var(--accent-rgb), .16), transparent 66%);
    box-shadow: inset 0 0 60px rgba(var(--accent-rgb), .16);
}

.route {
    position: absolute;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
    transform-origin: left center;
}

.route-one { width: 62%; left: 16%; top: 42%; transform: rotate(-12deg); }
.route-two { width: 58%; left: 22%; top: 60%; transform: rotate(9deg); }
.route-dot {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: var(--brand-blue);
    box-shadow: 0 0 0 7px rgba(var(--accent-rgb), .14);
}

.dot-one { left: 19%; top: 47%; }
.dot-two { left: 52%; top: 40%; }
.dot-three { left: 78%; top: 58%; }

.hub {
    position: absolute;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.10);
    padding: 12px 14px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    backdrop-filter: blur(10px);
}

.hub b { color: #fff; }
.hub-lahore { left: 28px; bottom: 30px; }
.hub-global { right: 28px; top: 30px; }

.section { padding-top: 76px; padding-bottom: 76px; }
.section-head { max-width: 700px; margin-bottom: 48px; }
.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { max-width: 640px; margin-left: auto; margin-right: auto; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--accent-rgb), .32);
    box-shadow: var(--shadow-card);
}

.service-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--muted-bg);
}

.service-card div { padding: 24px; }
.service-card span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(8,43,73,.06);
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 14px;
}

.quote-band {
    background: var(--ice);
}

.quote-band .split-layout,
.pickup-layout,
.why-band .split-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 44px;
    align-items: start;
    padding-top: 76px;
    padding-bottom: 76px;
}

.form-card,
.contact-card,
.image-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card);
    box-shadow: var(--shadow-card);
}

.form-card { padding: 24px; }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--foreground);
    font-size: 14px;
    font-weight: 600;
}

.estimate-row {
    margin-top: 20px;
    border-radius: 14px;
    background: var(--muted-bg);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.estimate-row span {
    color: var(--muted);
    font-size: 14px;
}

.estimate-row strong {
    display: block;
    color: var(--primary);
    font-size: 30px;
    line-height: 1.1;
}

.image-card { overflow: hidden; }
.image-card img {
    width: 100%;
    min-height: 380px;
    height: 100%;
    object-fit: cover;
}

.inline-form { margin-top: 24px; }
.inline-form textarea { margin-top: 12px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.why-band .split-layout {
    align-items: center;
    grid-template-columns: 1fr 1fr;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.feature-grid article {
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    padding: 22px;
}

.feature-grid h3 { color: #fff; }
.feature-grid p { font-size: 14px; margin-bottom: 0; }

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    padding: 32px;
}

.contact-card form {
    display: grid;
    gap: 12px;
}

.contact-card .btn { justify-self: start; }

.result-box {
    margin-top: 16px;
    border-radius: 10px;
    border: 1px solid rgba(var(--accent-rgb), .25);
    background: rgba(var(--accent-rgb), .08);
    color: var(--primary);
    padding: 14px 16px;
    font-weight: 600;
}

.error-box {
    border-color: rgba(200, 45, 45, .25);
    background: rgba(200, 45, 45, .08);
    color: #9d2424;
}

.footer {
    padding-top: 72px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.3fr .7fr .7fr 1.2fr;
    gap: 40px;
    padding-bottom: 56px;
}

.footer img {
    width: 160px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer h4 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.footer a,
.footer p {
    display: block;
    margin: 0 0 9px;
    color: rgba(255,255,255,.66);
    font-size: 14px;
}

.footer a:hover { color: #fff; }

.city-offices {
    max-width: 1120px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,.10);
    padding: 34px 24px 44px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.city-offices article {
    border-left: 2px solid rgba(var(--accent-rgb), .75);
    padding-left: 16px;
}

.city-offices h5 {
    color: #fff;
    margin: 0 0 10px;
}

.city-offices p {
    margin-bottom: 6px;
    font-size: 14px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.10);
    padding: 24px;
    text-align: center;
    color: rgba(255,255,255,.5);
    font-size: 12px;
}

.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    background: #128c7e;
    color: #fff;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 18px 38px rgba(18,140,126,.28);
}

.track-page .track-hero {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 48px 24px 40px;
    min-height: 0;
}

.track-page .track-hero h1 {
    font-size: clamp(34px, 3.8vw, 46px);
    margin-bottom: 14px;
}

.track-page .track-hero > p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,.72);
    font-size: 16px;
}

.page-hero {
    background: var(--primary);
    color: #fff;
}

.page-hero-inner,
.page-hero-grid {
    max-width: 1120px;
    margin: 0 auto;
    padding: 76px 24px;
}

.page-hero-inner {
    max-width: 1120px;
}

.page-hero-inner h1,
.page-hero-grid h1 {
    max-width: 780px;
}

.page-hero-inner p,
.page-hero-grid p {
    max-width: 680px;
    color: rgba(255,255,255,.72);
    font-size: 16px;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 48px;
    align-items: center;
}

.service-grid.full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cta-panel {
    margin-top: 64px;
    border-radius: 20px;
    background: var(--muted-bg);
    padding: 52px;
    text-align: center;
}

.cta-panel p {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.hub-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card);
    box-shadow: var(--shadow-card);
}

.hub-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hub-card div {
    padding: 22px;
}

.network-map {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    background: #fff;
    padding: 16px;
    box-shadow: var(--shadow-elegant);
}

.network-map img {
    width: 100%;
    border-radius: 14px;
    background: #dce8f2;
    opacity: .86;
}

.network-map svg {
    position: absolute;
    inset: 16px;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
}

.story-grid,
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.story-grid p {
    font-size: 16px;
    line-height: 1.75;
}

.value-grid,
.contact-info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.value-grid article,
.contact-info-list article {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card);
    padding: 24px;
}

.value-grid span,
.contact-info-list span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(var(--accent-rgb), .10);
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 14px;
}

.span-2 {
    grid-column: 1 / -1;
}

.track-page .track-hero-inner > p { color: rgba(255,255,255,.72); }
.tracking-card.inline {
    max-width: 820px;
    margin: 36px auto 0;
    border: 0;
    border-radius: 14px;
    background: #fff;
    padding: 12px;
    text-align: left;
    box-shadow: var(--shadow-elegant);
}

.tracking-card label {
    display: block;
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.tracking-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.tracking-row.multi {
    grid-template-columns: 1fr 150px;
    align-items: stretch;
}

.tracking-row.multi textarea {
    min-height: 52px;
    border: 0;
    box-shadow: none;
    resize: none;
    font-size: 16px;
}

.tracking-row.multi .btn {
    min-height: 52px;
    border-radius: 9px;
    background: #3c7db8;
}

.track-hint {
    margin: 8px 0 0;
    padding: 0 10px;
    color: var(--muted) !important;
    font-size: 12px;
    font-weight: 600;
}

.track-output {
    max-width: 820px;
    margin: 0 auto;
    padding: 30px 0 0;
}

.tracking-batch {
    display: grid;
    gap: 24px;
}

.track-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    overflow-x: auto;
    border: 1px solid #d7e3ed;
    border-radius: 14px;
    background: var(--card);
    padding: 18px 24px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-card);
}

.track-filters button {
    flex: 0 0 auto;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    padding: 10px 0;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.track-filters .track-filter-all.active,
.track-filters .track-filter-all:hover {
    border-bottom-color: #3c7db8;
    color: var(--foreground);
    box-shadow: none;
}

.track-filter-icon {
    border-bottom-color: transparent !important;
    gap: 12px !important;
}

.track-filter-icon:hover .filter-icon,
.track-filter-icon.active .filter-icon {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(8, 43, 73, .18);
}

.filter-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease;
}

.filter-icon svg {
    width: 19px;
    height: 19px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.filter-icon.clipboard { background: #06b6d4; }
.filter-icon.customs { background: #0ea5e9; }
.filter-icon.transit { background: #f59e0b; }
.filter-icon.out { background: #7c3aed; }
.filter-icon.delivered { background: #10b981; }
.filter-icon.exception { background: #ef4444; }
.filter-icon.issue { background: #64748b; }

.track-filter-icon strong.clipboard { color: #0891b2; }
.track-filter-icon strong.customs { color: #0284c7; }
.track-filter-icon strong.transit { color: #d97706; }
.track-filter-icon strong.out { color: #7c3aed; }
.track-filter-icon strong.delivered { color: #059669; }
.track-filter-icon strong.exception { color: #dc2626; }
.track-filter-icon strong.issue { color: #64748b; }

.tracking-result-card {
    overflow: hidden;
    border: 1px solid #d7e3ed;
    border-radius: 14px;
    background: var(--card);
    box-shadow: var(--shadow-card);
}

.tracking-result-trigger {
    width: 100%;
    border: 0;
    background: var(--card);
    display: grid;
    grid-template-columns: 1.1fr .95fr 180px;
    gap: 24px;
    align-items: center;
    padding: 24px 22px;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.tracking-result-trigger.static {
    cursor: default;
}

.tracking-card-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.status-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-rgb), .10);
    color: var(--accent);
    font-weight: 900;
}

.status-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.status-icon.info-received,
.status-icon.in-transit,
.status-icon.out-for-delivery,
.status-icon.customs-processing {
    background: rgba(60, 125, 184, .10);
    color: #3c7db8;
}

.status-icon.delivered {
    background: rgba(16,185,129,.10);
    color: #059669;
}

.status-icon.issue {
    background: rgba(200,45,45,.10);
    color: #9d2424;
}

.status-icon.exception {
    background: rgba(239,68,68,.10);
    color: #dc2626;
}

.status-icon.lookup-issue {
    background: rgba(100,116,139,.12);
    color: #64748b;
}

.tracking-card-main h3 {
    margin-bottom: 6px;
    font-size: 17px;
    line-height: 1.2;
}

.sender-line {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.sender-line strong {
    color: var(--foreground);
    font-weight: 800;
}

.tracking-card-main p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.status-pill {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), .10);
    color: var(--accent);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
}

.status-pill.info-received,
.status-pill.in-transit,
.status-pill.out-for-delivery,
.status-pill.customs-processing {
    background: rgba(60, 125, 184, .10);
    color: #3c7db8;
}

.status-pill.delivered {
    background: rgba(16,185,129,.10);
    color: #047857;
}

.status-pill.issue {
    background: rgba(200,45,45,.10);
    color: #9d2424;
}

.status-pill.exception {
    background: rgba(239,68,68,.10);
    color: #dc2626;
}

.status-pill.lookup-issue {
    background: rgba(100,116,139,.12);
    color: #64748b;
}

.tracking-card-meta {
    display: grid;
    gap: 10px;
}

.tracking-card-meta div {
    border-radius: 10px;
    background: rgba(238,245,248,.70);
    padding: 12px 14px;
}

.tracking-card-meta span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.tracking-card-meta strong,
.tracking-card-meta small {
    display: block;
    margin-top: 4px;
}

.tracking-card-meta strong {
    color: var(--foreground);
    font-size: 14px;
    line-height: 1.35;
}

.tracking-card-meta small {
    color: var(--muted);
}

.shipment-visual {
    position: relative;
    min-height: 58px;
    border: 1px solid rgba(60,125,184,.22);
    border-radius: 10px;
    background: #eaf2fb;
    overflow: hidden;
}

.shipment-visual svg {
    width: 100%;
    height: 58px;
    display: block;
}

.shipment-visual .visual-line {
    fill: none;
    stroke: #c8d2dc;
    stroke-width: 4;
    stroke-linecap: round;
}

.shipment-visual .visual-pin,
.shipment-visual .visual-plane {
    fill: none;
    stroke: #3c7db8;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shipment-visual .visual-pin-dot {
    fill: #eaf2fb;
    stroke: #3c7db8;
    stroke-width: 2.4;
}

.shipment-visual.delivered {
    background: rgba(16,185,129,.10);
}

.shipment-visual.delivered span {
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, 50%);
    width: auto;
    height: auto;
    background: #fff;
    color: #047857;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 800;
}

.tracking-result-details {
    border-top: 1px solid var(--border);
    padding: 24px;
    background: linear-gradient(180deg, #fff, #f5fbfb);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    border: 1px solid rgba(var(--accent-rgb), .15);
    border-radius: 14px;
    background: linear-gradient(135deg, var(--muted-bg), #fff, rgba(238,245,248,.5));
    padding: 14px;
    margin-bottom: 16px;
}

.detail-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255,255,255,.72);
    padding: 13px;
}

.detail-item span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.detail-item strong {
    display: block;
    margin-top: 5px;
    color: var(--foreground);
    font-size: 14px;
}

.detail-item small {
    color: var(--muted);
    font-weight: 500;
}

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

.tip-card div {
    min-height: 0;
}

.shipment-summary,
.timeline,
.box-list {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    box-shadow: var(--shadow-card);
    padding: 28px;
    margin-bottom: 24px;
}

.tracking-batch .timeline,
.tracking-batch .box-list {
    margin-top: -12px;
}

.tracking-batch .timeline {
    border-radius: 12px;
    box-shadow: none;
    padding: 16px;
    margin-bottom: 0;
}

.tracking-batch .timeline h3 {
    margin-bottom: 12px;
    font-size: 14px;
}

.tracking-batch .timeline-item {
    position: relative;
    display: flex;
    gap: 12px;
    border-top: 0;
    padding: 0 0 12px 18px;
}

.tracking-batch .timeline-item::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--muted);
    opacity: .35;
}

.tracking-batch .timeline-item:first-of-type::before {
    background: var(--accent);
    opacity: 1;
}

.tracking-batch .timeline-date {
    width: 150px;
    flex: 0 0 150px;
    font-size: 13px;
}

.tracking-batch .timeline-status {
    font-size: 14px;
    line-height: 1.25;
}

.tracking-batch .timeline-location {
    font-size: 13px;
}

.error-summary .result-box {
    margin-bottom: 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.summary-item {
    border-radius: 12px;
    background: var(--ice);
    padding: 16px;
}

.summary-item span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.summary-item strong {
    display: block;
    margin-top: 6px;
    color: var(--primary);
}

.timeline-item {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 18px;
    border-top: 1px solid var(--border);
    padding: 18px 0;
}

.timeline-date { color: var(--muted); font-size: 14px; }
.timeline-status { color: var(--primary); font-weight: 800; }
.timeline-location { color: var(--muted); }

@media (max-width: 980px) {
    .nav { height: auto; min-height: 64px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
    .menu-toggle { display: inline-flex; align-items: center; }
    .nav-links,
    .nav-actions { display: none; width: 100%; }
    .nav-links.open,
    .nav-links.open + .nav-actions,
    .nav:has(.nav-links.open) .nav-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .hero-inner,
    .network-inner,
    .page-hero-grid,
    .quote-band .split-layout,
    .pickup-layout,
    .why-band .split-layout,
    .contact-card,
    .story-grid,
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
    .hero-inner { padding-top: 72px; padding-bottom: 72px; }
    .service-grid,
    .service-grid.full,
    .hub-grid,
    .stats-grid,
    .footer-inner,
    .city-offices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tracking-result-trigger {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .nav { padding-left: 16px; padding-right: 16px; }
    .brand img { width: 132px; }
    .hero-inner,
    .network-inner,
    .split-layout,
    .section,
    .footer-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
    .hero-inner { gap: 32px; }
    h1 { font-size: 34px; }
    h2 { font-size: 27px; }
    .form-grid,
    .feature-grid,
    .service-grid,
    .service-grid.full,
    .hub-grid,
    .value-grid,
    .contact-info-list,
    .stats-grid,
    .footer-inner,
    .city-offices,
    .summary-grid,
    .detail-grid,
    .tracking-row,
    .tracking-row.multi {
        grid-template-columns: 1fr;
    }
    .tracking-row.multi .btn {
        min-height: 48px;
    }
    .tracking-batch-heading {
        display: block;
    }
    .tracking-batch .timeline-item {
        display: block;
    }
    .tracking-batch .timeline-date {
        width: auto;
        margin-bottom: 4px;
    }
    .estimate-row { align-items: flex-start; flex-direction: column; }
    .timeline-item { grid-template-columns: 1fr; }
    .whatsapp { right: 14px; bottom: 14px; }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -3px;
}

.track-page .btn[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.track-page .btn.is-busy {
    opacity: .7;
}

.track-hero-inner {
    max-width: 920px;
    margin: 0 auto;
}

.track-output {
    max-width: 920px;
}

.track-state {
    margin-top: 8px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    padding: 28px 24px;
    color: #fff;
}

.track-state.idle h2,
.track-state.loading h2 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 8px;
}

.track-state.idle p,
.track-state.loading p {
    color: rgba(255,255,255,.72);
    margin: 0 auto;
    max-width: 460px;
}

.track-state-icon,
.track-spinner {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.1);
}

.track-state-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.track-spinner {
    border: 3px solid rgba(255,255,255,.2);
    border-top-color: #fff;
    border-radius: 999px;
    animation: track-spin .8s linear infinite;
}

@keyframes track-spin {
    to { transform: rotate(360deg); }
}

.tracking-result-card {
    text-align: left;
    color: var(--foreground);
}

.tracking-result-card.error-summary {
    background: #fff;
}

.tracking-result-trigger {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr) minmax(180px, .85fr);
}

.progress-steps {
    list-style: none;
    margin: 0;
    padding: 8px 4px 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.progress-steps li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.progress-steps .step-dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #e8eef4;
    color: var(--muted);
    font-size: 11px;
}

.progress-steps .step-dot svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
}

.progress-steps li.done .step-dot,
.progress-steps li.current .step-dot {
    background: var(--accent);
    color: #fff;
}

.progress-steps li.current .step-label,
.progress-steps li.done .step-label {
    color: var(--foreground);
}

.shipment-visual.exception {
    display: grid;
    place-items: center;
    min-height: 58px;
    background: rgba(239,68,68,.1);
    border-color: rgba(239,68,68,.2);
}

.shipment-visual.exception span {
    color: #dc2626;
    font-weight: 800;
}

.awb-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.awb-chip {
    display: inline-block;
    border-radius: 999px;
    background: var(--muted-bg);
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 800;
    color: var(--foreground);
}

.copy-awb {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--accent);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    padding: 2px 10px;
    cursor: pointer;
}

.carrier-number {
    display: inline-block;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), .10);
    color: var(--accent);
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.route-banner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    padding: 16px;
}

.route-banner span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.route-banner strong {
    color: var(--foreground);
    font-size: 15px;
}

.route-arrow svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.status-icon.info-received { background: rgba(6,182,212,.12); color: #0e7490; }
.status-icon.customs-processing { background: rgba(14,165,233,.12); color: #0369a1; }
.status-icon.in-transit { background: rgba(245,158,11,.14); color: #b45309; }
.status-icon.out-for-delivery { background: rgba(124,58,237,.12); color: #6d28d9; }
.status-pill.info-received { background: rgba(6,182,212,.12); color: #0e7490; }
.status-pill.customs-processing { background: rgba(14,165,233,.12); color: #0369a1; }
.status-pill.in-transit { background: rgba(245,158,11,.14); color: #b45309; }
.status-pill.out-for-delivery { background: rgba(124,58,237,.12); color: #6d28d9; }

.tracking-batch .timeline {
    position: relative;
    padding-left: 8px;
}

.tracking-batch .timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 36px 150px 1fr;
    gap: 12px;
    align-items: start;
    padding: 0 0 20px 0;
}

.tracking-batch .timeline-item:not(:last-child) .timeline-mark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 34px;
    width: 2px;
    height: calc(100% + 8px);
    background: #d7e3ed;
    transform: translateX(-50%);
}

.tracking-batch .timeline-item::before {
    display: none;
}

.timeline-mark {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1;
}

.timeline-mark.past {
    background: #e8eef4;
    color: #64748b;
}

.tracking-batch .timeline-item.is-latest .timeline-status {
    color: var(--primary);
}

.timeline-empty,
.track-help,
.error-hint {
    font-size: 13px;
    font-weight: 600;
}

.track-help {
    margin: 16px 0 0;
    color: var(--muted);
}

.track-help a {
    color: var(--accent);
    font-weight: 800;
}

.track-error-body {
    border-top: 1px solid var(--border);
    padding: 16px 22px 20px;
    background: #fff8f8;
    text-align: left;
}

.track-error-body p {
    margin: 0 0 8px;
    color: #9d2424;
    font-weight: 700;
}

.error-hint {
    color: #7f1d1d !important;
    font-weight: 600 !important;
}

.track-error-body .track-help {
    color: var(--muted);
}

.box-list {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    padding: 16px;
    margin-bottom: 16px;
}

.box-list summary {
    list-style: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    color: var(--foreground);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.box-list summary::-webkit-details-marker {
    display: none;
}

.box-list summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    transition: transform .15s ease;
}

.box-list[open] summary {
    margin-bottom: 12px;
}

.box-list[open] summary::after {
    transform: rotate(-135deg);
}

.box-list summary span {
    color: var(--muted);
    font-weight: 700;
}

.box-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.box-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
}

.box-list li.is-searched {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), .06);
}

.box-list em {
    font-style: normal;
    color: var(--accent);
    font-weight: 800;
    font-size: 12px;
}

.delivery-box { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.25); color: #047857; }
.exception-box { background: rgba(239,68,68,.08); }
.forwarding-box { margin-bottom: 16px; }

.tip-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), .1);
    color: var(--accent);
    margin-bottom: 12px;
}

.tip-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tip-card span:not(.tip-icon) {
    display: none;
}

.track-filters .filter-label {
    font-size: 12px;
    color: var(--foreground);
}

@media (max-width: 980px) {
    .tracking-result-trigger {
        grid-template-columns: 1fr;
    }
    .progress-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .route-banner,
    .detail-grid {
        grid-template-columns: 1fr;
    }
    .route-arrow {
        display: none;
    }
}

@media (max-width: 640px) {
    .track-page .track-hero {
        padding: 36px 16px 28px;
        text-align: left;
    }
    .tracking-card.inline {
        margin-top: 20px;
    }
    .track-state {
        text-align: left;
    }
    .track-state-icon,
    .track-spinner {
        margin-left: 0;
    }
    .tracking-batch .timeline-item {
        grid-template-columns: 32px 1fr;
    }
    .tracking-batch .timeline-date {
        grid-column: 2;
        width: auto;
        margin: 0;
    }
    .progress-steps .step-label {
        font-size: 10px;
        text-align: center;
    }
    .track-filters {
        justify-content: flex-start;
        padding: 12px;
        gap: 10px;
    }
    .filter-label {
        display: none;
    }
}

.track-result {
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(8, 43, 73, .12);
    padding: 28px 28px 22px;
    text-align: left;
    color: var(--foreground);
}

.track-result-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 22px;
}

.track-result-head h2 {
    margin: 4px 0 0;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.15;
    color: var(--foreground);
}

.track-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    border-radius: 999px;
    background: #eef6ff;
    color: #1d4f7a;
    padding: 8px 14px 8px 10px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.track-status-badge svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.track-status-badge.info-received { background: #ecfeff; color: #0e7490; }
.track-status-badge.in-transit { background: #fff7ed; color: #c2410c; }
.track-status-badge.customs-processing { background: #eff6ff; color: #1d4ed8; }
.track-status-badge.out-for-delivery { background: #f5f3ff; color: #6d28d9; }
.track-status-badge.delivered { background: #ecfdf5; color: #047857; }
.track-status-badge.exception { background: #fef2f2; color: #b91c1c; }

.track-updated {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.track-result .sender-line {
    margin: 0;
}

.track-journey {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(72px, .7fr) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #f6fafc;
}

.track-endpoint span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.track-endpoint strong {
    display: block;
    font-size: 16px;
    line-height: 1.3;
}

.track-endpoint.dest {
    text-align: right;
}

.track-rail {
    position: relative;
    height: 4px;
    border-radius: 999px;
    background: #d9e4ee;
}

.track-rail .rail-fill {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: #3c7db8;
}

.track-rail::before,
.track-rail::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border: 2px solid #3c7db8;
    border-radius: 999px;
    background: #fff;
    transform: translateY(-50%);
}

.track-rail::before { left: -5px; }
.track-rail::after { right: -5px; }

.track-result .progress-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 22px;
    padding: 0;
    position: relative;
}

.track-result .progress-steps::before {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    top: 14px;
    height: 2px;
    background: #d9e4ee;
}

.track-result .progress-steps li {
    position: relative;
    z-index: 1;
}

.track-alert {
    margin-bottom: 18px;
    border-radius: 14px;
    background: #fef2f2;
    color: #b91c1c;
    padding: 14px 16px;
    font-weight: 700;
}

.track-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 20px;
}

.track-facts .detail-item {
    margin: 0;
    border: 0;
    border-radius: 16px;
    background: #f6fafc;
    padding: 14px 16px;
}

.track-result .timeline,
.track-result .box-list {
    border: 0;
    box-shadow: none;
    background: #f8fbfd;
    margin-bottom: 16px;
}

.track-result .track-help {
    margin: 20px 0 0;
    padding: 16px 18px;
    border-radius: 14px;
    background: #eef5f8;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.track-result .track-help a {
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.track-result .track-help-phone {
    color: var(--accent);
}

.track-result .track-help-whatsapp {
    color: #128c7e;
}

@media (max-width: 980px) {
    .track-journey,
    .track-facts {
        grid-template-columns: 1fr 1fr;
    }
    .track-endpoint.dest { text-align: left; }
    .track-rail {
        grid-column: 1 / -1;
        margin: 4px 8px;
    }
}

@media (max-width: 640px) {
    .track-result {
        padding: 20px 16px 16px;
        border-radius: 20px;
    }
    .track-journey,
    .track-facts {
        grid-template-columns: 1fr;
        padding-left: 14px;
        padding-right: 14px;
    }
    .track-result .progress-steps .step-label {
        font-size: 11px;
    }
}

.track-page .eyebrow {
    font-weight: 400;
    letter-spacing: .14em;
    color: rgba(255,255,255,.62);
}

.track-page .track-hero h1 {
    font-weight: 400;
    letter-spacing: -.02em;
}

.track-page .track-hero-inner > p,
.track-page .track-hint,
.track-page .track-state p,
.track-page .track-state h2,
.track-page .tip-card h3,
.track-page .tip-card p {
    font-weight: 400;
}

.track-page .track-hint {
    font-size: 13px;
    color: var(--muted);
}

.track-page .track-state h2 {
    font-size: 22px;
}

.track-page .tracking-row.multi textarea {
    font-weight: 400;
}

.track-result-head h2 {
    font-weight: 600;
}

.track-status-badge {
    font-weight: 600;
}

.track-updated {
    font-weight: 400;
    font-size: 13px;
    color: #7b8c9d;
}

.awb-chip,
.carrier-number,
.copy-awb {
    font-weight: 500;
}

.carrier-number {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.track-endpoint span {
    font-weight: 400;
    letter-spacing: .08em;
    color: #8a9aab;
}

.track-city {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: var(--foreground);
    line-height: 1.35;
}

.track-result .progress-steps li {
    font-weight: 400;
    color: #8a9aab;
}

.track-result .progress-steps li.current .step-label,
.track-result .progress-steps li.done .step-label {
    color: var(--foreground);
    font-weight: 400;
}

.track-alert {
    font-weight: 400;
}

.track-result .timeline {
    background: transparent;
    padding: 4px 0 8px;
}

.track-result .timeline h3 {
    margin-bottom: 18px;
    color: #8a9aab;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.track-result .timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 14px;
    align-items: start;
    padding: 0 0 22px;
}

.track-result .timeline-item::before {
    display: none;
}

.track-result .timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 16px;
    bottom: 0;
    width: 1px;
    background: #e3ebf1;
}

.track-result .timeline-rail {
    width: 9px;
    height: 9px;
    margin-top: 5px;
    border-radius: 999px;
    background: #c5d4e0;
}

.track-result .timeline-item.is-latest .timeline-rail {
    background: var(--accent);
}

.track-result .timeline-date {
    margin: 0 0 4px;
    color: #8a9aab;
    font-size: 12px;
    font-weight: 400;
}

.track-result .timeline-status {
    margin: 0 0 3px;
    color: var(--foreground);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
}

.track-result .timeline-item.is-latest .timeline-status {
    color: var(--primary);
    font-weight: 400;
}

.track-result .timeline-location,
.track-result .timeline-notes,
.track-result .timeline-empty {
    margin: 0;
    color: #7b8c9d;
    font-size: 13px;
    font-weight: 400;
}

.track-result .box-list summary,
.track-result .box-list summary span,
.track-result .piece-id,
.track-result .box-list em {
    font-weight: 400;
}

.track-result .piece-id {
    color: var(--foreground);
    font-size: 14px;
}

.track-result .box-list em {
    color: var(--accent);
    font-size: 12px;
}

.track-result .track-help,
.track-result .track-help a,
.track-page .track-help,
.track-page .track-help a {
    font-weight: 400;
}

.track-result .track-help {
    font-size: 15px;
    color: var(--primary);
}

.track-result .track-help-phone,
.track-page .track-help-phone {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.track-result .track-help-whatsapp,
.track-page .track-help-whatsapp {
    color: #128c7e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.track-page .tracking-card-main h3,
.track-page .error-summary h3 {
    font-weight: 400;
    font-size: 22px;
}

.track-page .track-error-body p,
.track-page .error-hint {
    font-weight: 400 !important;
}

.track-page .status-pill {
    font-weight: 600;
}

.track-page .track-hero {
    background: var(--primary);
    padding: 28px 20px 36px;
}

.track-page .track-hero-inner {
    max-width: 920px;
    margin: 0 auto;
}

.track-page .track-search {
    margin: 0 auto;
    border-radius: 16px;
    background: #fff;
    padding: 14px 16px 12px;
    box-shadow: 0 18px 40px rgba(2, 12, 24, .18);
    text-align: left;
}

.track-page .track-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.track-page .track-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 48px;
    padding: 0 4px;
}

.track-page .track-search-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: none;
    stroke: #8a9aab;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.track-page .track-search-field input {
    width: 100%;
    min-height: 44px;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--foreground);
    outline: none;
}

.track-page .track-search-field input:focus {
    border: 0;
    box-shadow: none;
}

.track-page .track-search-field input::placeholder {
    color: #9aabba;
    font-weight: 400;
}

.track-page .track-search-btn,
.track-page .btn.track-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    min-width: 118px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    box-shadow: none;
}

.track-page .track-search-btn:hover,
.track-page .btn.track-search-btn:hover {
    background: var(--primary-2);
    transform: none;
}

.track-page .track-hint {
    margin: 8px 4px 0;
    padding: 0;
    color: #8a9aab !important;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.4;
}

.track-page .track-output {
    max-width: 920px;
    margin: 0 auto;
    padding: 22px 0 0;
}

.track-page .track-result {
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(8, 43, 73, .12);
    padding: 18px;
    text-align: left;
    color: var(--foreground);
}

.track-page .result-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
}

.track-page .result-hero-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.track-page .result-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 999px;
    background: #e8f7ef;
    color: #059669;
}

.track-page .result-hero-icon.info-received { background: #d9f6fb; color: #0e7490; }
.track-page .result-hero-icon.in-transit { background: #ffedd5; color: #c2410c; }
.track-page .result-hero-icon.customs-processing { background: #dbeafe; color: #1d4ed8; }
.track-page .result-hero-icon.out-for-delivery { background: #ede9fe; color: #6d28d9; }
.track-page .result-hero-icon.delivered { background: #d9f3e5; color: #059669; }
.track-page .result-hero-icon.exception { background: #fee2e2; color: #b91c1c; }

.track-page .result-hero-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.track-page .result-hero-copy {
    min-width: 0;
}

.track-page .result-hero h2 {
    margin: 0 0 8px;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

.track-page .result-status-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    border-radius: 999px;
    background: #e7f8ee;
    color: #047857;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

.track-page .result-status-chip.info-received { background: #ecfeff; color: #0e7490; }
.track-page .result-status-chip.in-transit { background: #fff7ed; color: #c2410c; }
.track-page .result-status-chip.customs-processing { background: #eff6ff; color: #1d4ed8; }
.track-page .result-status-chip.out-for-delivery { background: #f5f3ff; color: #6d28d9; }
.track-page .result-status-chip.delivered { background: #e7f8ee; color: #047857; }
.track-page .result-status-chip.exception { background: #fef2f2; color: #b91c1c; }

.track-page .result-hero-aside {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    min-height: 72px;
    padding: 10px 14px;
    border-radius: 16px;
    background: #d9f3e5;
}

.track-page .result-hero-aside:has(.info-received) { background: #d9f6fb; }
.track-page .result-hero-aside:has(.in-transit) { background: #ffedd5; }
.track-page .result-hero-aside:has(.customs-processing) { background: #dbeafe; }
.track-page .result-hero-aside:has(.out-for-delivery) { background: #ede9fe; }
.track-page .result-hero-aside:has(.delivered) { background: #d9f3e5; }
.track-page .result-hero-aside:has(.exception) { background: #fee2e2; }

.track-page .result-status-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    border-radius: 999px;
    background: #fff;
    color: #047857;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    box-shadow: 0 1px 2px rgba(8, 43, 73, .06);
}

.track-page .result-status-lg.info-received { color: #0e7490; }
.track-page .result-status-lg.in-transit { color: #c2410c; }
.track-page .result-status-lg.customs-processing { color: #1d4ed8; }
.track-page .result-status-lg.out-for-delivery { color: #6d28d9; }
.track-page .result-status-lg.delivered { color: #047857; }
.track-page .result-status-lg.exception { color: #b91c1c; }

.track-page .result-status-lg svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.track-page .result-places {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid #e6eef4;
    border-radius: 18px;
    background: #f7fafc;
}

.track-page .result-place {
    min-width: 0;
    border: 1px solid #e4edf4;
    border-radius: 14px;
    background: #fff;
    padding: 14px 16px 16px;
}

.track-page .result-place-label {
    display: block;
    margin-bottom: 8px;
    color: #8a9aab;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.track-page .result-place-title {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: var(--foreground);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.track-page .result-place-mark {
    display: inline-flex;
    margin-top: 1px;
    color: var(--accent);
}

.track-page .result-place-mark svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.track-page .result-flag {
    display: inline-flex;
    font-size: 16px;
    line-height: 1;
    margin-top: 2px;
}

.track-page .result-place-meta {
    margin: 8px 0 0 24px;
    color: #7b8c9d;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.track-page .result-forward {
    margin-bottom: 14px;
    padding: 16px 18px 14px;
    border-radius: 16px;
    background: #eef4fb;
    text-align: left;
}

.track-page .result-forward h3 {
    margin: 0 0 6px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
}

.track-page .result-forward p {
    margin: 0 0 8px;
    color: var(--foreground);
    font-size: 14px;
    font-weight: 400;
}

.track-page .result-forward .carrier-number {
    display: inline-block;
    border: 1px solid #3b82f6;
    border-radius: 4px;
    background: #fff;
    color: #2563eb;
    padding: 0 5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
}

.track-page .result-forward .carrier-number.is-plain {
    border-color: #c5d4e0;
    color: var(--foreground);
}

.track-page .result-forward .carrier-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 500;
}

.track-page .result-forward .carrier-open svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.track-page .result-history,
.track-page .track-result .timeline {
    margin: 0;
    padding: 16px 18px 8px;
    border: 1px solid #e6eef4;
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
}

.track-page .result-history h3,
.track-page .track-result .timeline h3 {
    margin: 0 0 16px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.track-page .track-result .timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 12px;
    align-items: start;
    padding: 0 0 16px;
}

.track-page .track-result .timeline-item::before,
.track-page .track-result .timeline-item::after {
    display: none;
}

.track-page .track-result .timeline-item:not(:last-child) .timeline-rail::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 14px;
    bottom: -16px;
    width: 2px;
    background: #e6eef4;
}

.track-page .track-result .timeline-rail {
    position: relative;
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 999px;
    background: #c5d4e0;
}

.track-page .track-result .timeline-item.is-latest .timeline-rail {
    background: var(--accent);
}

.track-page .track-result .timeline-status {
    margin: 0 0 2px;
    color: var(--foreground);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.track-page .track-result .timeline-item.is-latest .timeline-status {
    color: var(--foreground);
    font-weight: 500;
}

.track-page .track-result .timeline-location,
.track-page .track-result .timeline-notes,
.track-page .track-result .timeline-empty {
    margin: 0;
    color: #7b8c9d;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.track-page .track-result .timeline-notes {
    margin-top: 2px;
}

.track-page .track-result .box-list {
    margin: 0 0 14px;
    border: 1px solid #e6eef4;
    border-radius: 16px;
    background: #f8fbfd;
    box-shadow: none;
}

.track-page .track-result .box-list summary,
.track-page .track-result .box-list summary span,
.track-page .track-result .piece-id,
.track-page .track-result .box-list em {
    font-weight: 400;
}

.track-page .track-alert {
    margin: 0 0 14px;
    font-weight: 400;
}

.track-page .track-result .result-box {
    margin-bottom: 14px;
}

@media (max-width: 760px) {
    .track-page .track-search-row {
        flex-direction: column;
        align-items: stretch;
    }

    .track-page .track-search-btn,
    .track-page .btn.track-search-btn {
        width: 100%;
    }

    .track-page .result-hero {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .track-page .result-hero-main {
        order: 1;
    }

    .track-page .result-hero-aside {
        order: 2;
        min-width: 0;
        width: 100%;
        min-height: 56px;
    }

    .track-page .result-places {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .track-page .track-result {
        padding: 12px;
        border-radius: 18px;
    }
}

.track-page .error-summary.track-state {
    background: #fff;
    color: var(--foreground);
    border: 1px solid #e6eef4;
    box-shadow: 0 18px 50px rgba(8, 43, 73, .12);
}

.track-page .error-summary h3 {
    color: var(--foreground);
}

.track-page .error-summary .awb-chip {
    color: var(--foreground);
}

.track-page .result-hero-copy,
.track-page .compact-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.track-page .result-received {
    margin: 6px 0 0;
    color: #5b6b7a;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
}

.track-page .result-hero-icon.lookup-issue {
    background: #eef2f6;
    color: #64748b;
}

.track-page .track-filters {
    justify-content: flex-start;
    gap: 14px;
    margin: 0 0 12px;
    padding: 12px 16px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(8, 43, 73, .12);
}

.track-page .track-filters .filter-label {
    display: none;
}

.track-page .track-filters .track-filter-all {
    color: var(--foreground);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.track-page .track-filters .track-filter-all strong {
    font-weight: 700;
}

.track-page .track-filters .track-filter-icon {
    gap: 6px !important;
}

.track-page .track-filters .track-filter-icon strong {
    font-size: 13px;
    font-weight: 600;
}

.track-page .tracking-batch.is-compact {
    gap: 12px;
}

.track-page .track-result-compact {
    padding: 0;
    overflow: hidden;
}

.track-page .track-result-compact > summary {
    list-style: none;
    cursor: pointer;
}

.track-page .track-result-compact > summary::-webkit-details-marker {
    display: none;
}

.track-page .compact-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(200px, .95fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
}

.track-page .compact-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.track-page .compact-copy h2 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

.track-page .compact-awb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 8px 0 0;
    color: #5b6b7a;
    font-size: 13px;
    font-weight: 400;
}

.track-page .compact-company {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #7b8c9d;
}

.track-page .compact-company svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.track-page .compact-meta {
    display: grid;
    gap: 8px;
}

.track-page .compact-meta div {
    border-radius: 12px;
    background: #f4f8fb;
    padding: 10px 12px;
}

.track-page .compact-meta span {
    display: block;
    margin-bottom: 4px;
    color: #8a9aab;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.track-page .compact-meta strong {
    display: block;
    color: var(--foreground);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.track-page .compact-meta small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: #7b8c9d;
    font-size: 12px;
    font-weight: 400;
}

.track-page .compact-meta small svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.track-page .compact-aside {
    display: flex;
    align-items: center;
    gap: 10px;
}

.track-page .track-result-compact .result-hero-aside,
.track-page .compact-aside .result-status-lg {
    flex: 0 0 auto;
}

.track-page .compact-chevron {
    display: inline-flex;
    color: #8a9aab;
}

.track-page .compact-chevron svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}

.track-page .track-result-compact[open] .compact-chevron svg {
    transform: rotate(180deg);
}

.track-page .compact-detail {
    padding: 0 18px 18px;
    border-top: 1px solid #eef3f7;
}

@media (max-width: 900px) {
    .track-page .compact-summary {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
    }

    .track-page .compact-aside {
        justify-content: space-between;
    }

    .track-page .compact-aside .result-status-lg {
        flex: 1 1 auto;
        justify-content: center;
    }
}
