.logistics-hero {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 78% 48%, rgba(35, 198, 155, 0.22), transparent 34%),
        linear-gradient(118deg, #08283f 0%, #104b66 52%, #087b78 100%);
    text-align: left;
}

.logistics-hero::before,
.logistics-hero::after {
    position: absolute;
    z-index: -1;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.logistics-hero::before {
    width: 580px;
    height: 580px;
    top: -350px;
    left: -180px;
}

.logistics-hero::after {
    width: 720px;
    height: 720px;
    right: -300px;
    bottom: -590px;
}

.logistics-hero > .container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
    width: min(1200px, 100%);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.logistics-hero-copy {
    position: relative;
    z-index: 2;
    animation: logistics-copy-enter 850ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.logistics-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
    color: #9af4d3;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.logistics-hero .logistics-hero-copy h1 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    text-align: left;
    text-wrap: balance;
}

.logistics-hero .logistics-hero-copy p {
    max-width: 470px;
    margin: 0;
    color: rgba(255, 255, 255, 0.83);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.7;
    text-align: left;
}

.logistics-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.7rem;
    padding: 0.85rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.logistics-hero-link:hover {
    transform: translateY(-2px);
    border-color: #9af4d3;
    background: rgba(255, 255, 255, 0.12);
}

.logistics-hero-link i {
    transition: transform 180ms ease;
}

.logistics-hero-link:hover i {
    transform: translateX(4px);
}

.logistics-hero-art {
    position: relative;
    width: min(100%, 560px);
    height: 330px;
    justify-self: end;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
        radial-gradient(ellipse at 50% 105%, rgba(3, 25, 42, 0.58), transparent 63%);
    box-shadow: 0 28px 80px rgba(0, 15, 30, 0.28), inset 0 1px rgba(255, 255, 255, 0.14);
    animation: logistics-art-enter 900ms 120ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.logistics-hero-art::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(154, 244, 211, 0.8), transparent);
    content: "";
}

.logistics-orbit {
    position: absolute;
    top: 47%;
    left: 51%;
    border: 1px solid rgba(166, 255, 225, 0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-one {
    width: 245px;
    height: 245px;
    animation: orbit-breathe 5s ease-in-out infinite;
}

.orbit-two {
    width: 350px;
    height: 350px;
    animation: orbit-breathe 5s 800ms ease-in-out infinite reverse;
}

.logistics-route {
    position: absolute;
    top: 49%;
    left: 14%;
    width: 72%;
    height: 75px;
    border-top: 2px dashed rgba(154, 244, 211, 0.7);
    border-radius: 50%;
    transform: rotate(-8deg);
}

.logistics-route span {
    position: absolute;
    top: -5px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #b0ffe4;
    box-shadow: 0 0 16px 5px rgba(89, 255, 195, 0.7);
    animation: route-signal 3.4s ease-in-out infinite;
}

.route-node,
.hero-package {
    position: absolute;
    display: grid;
    place-items: center;
    color: #d7fff1;
    background: rgba(6, 43, 62, 0.72);
    border: 1px solid rgba(174, 255, 225, 0.35);
    box-shadow: 0 8px 22px rgba(0, 16, 29, 0.22);
}

.route-node {
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 17px;
    font-size: 1.25rem;
    animation: node-float 4s ease-in-out infinite;
}

.node-warehouse {
    top: 27%;
    left: 14%;
    animation-delay: -1s;
}

.node-package {
    top: 20%;
    left: 53%;
    animation-delay: -2.2s;
}

.node-pin {
    top: 43%;
    right: 12%;
    animation-delay: -0.5s;
}

.hero-truck {
    position: absolute;
    z-index: 3;
    top: 49%;
    left: 14%;
    color: #a4ffdc;
    font-size: clamp(3rem, 8vw, 4.4rem);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.32));
    animation: truck-delivery 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.tracking-pill {
    position: absolute;
    right: 22px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 999px;
    color: #e6fff6;
    background: rgba(5, 33, 48, 0.72);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.tracking-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5ef2ad;
    box-shadow: 0 0 0 0 rgba(94, 242, 173, 0.65);
    animation: tracking-pulse 1.8s infinite;
}

.hero-package {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    animation: package-drift 5s ease-in-out infinite;
}

.package-one {
    top: 23%;
    right: 28%;
}

.package-two {
    right: 17%;
    bottom: 26%;
    animation-delay: -2.5s;
}

.logistics-services > h3 {
    text-align: center;
}

.logistics-services .aspects-grid-modern {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.logistics-services .aspect-card.modern {
    animation: logistics-card-enter 700ms both;
}

.logistics-services .aspect-card.modern:nth-child(2) { animation-delay: 80ms; }
.logistics-services .aspect-card.modern:nth-child(3) { animation-delay: 160ms; }
.logistics-services .aspect-card.modern:nth-child(4) { animation-delay: 240ms; }
.logistics-services .aspect-card.modern:nth-child(5) { animation-delay: 320ms; }
.logistics-services .aspect-card.modern:nth-child(6) { animation-delay: 400ms; }

.logistics-services .aspect-card.modern .icon-wrapper {
    border-radius: 17px;
    transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 300ms ease;
}

.logistics-services .aspect-card.modern:hover .icon-wrapper {
    transform: translateY(-3px) rotate(-6deg) scale(1.08);
    box-shadow: 0 12px 26px rgba(12, 73, 100, 0.24);
}

.logistics-services .aspect-card.modern .icon-wrapper i {
    transition: transform 300ms ease;
}

.logistics-services .aspect-card.modern:hover .icon-wrapper i {
    transform: scale(1.08);
}

.logistics-services .aspect-card.modern:nth-child(3):hover .icon-wrapper i {
    animation: icon-travel 700ms ease-in-out;
}

.service-cta {
    margin-top: 3rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: 22px;
    color: #fff;
    text-align: center;
    background: linear-gradient(120deg, #0b3854, #087b78);
    box-shadow: 0 18px 45px rgba(9, 61, 79, 0.18);
}

.service-cta h2 {
    margin: 0 0 0.75rem;
    color: inherit;
}

.service-cta p {
    max-width: 660px;
    margin: 0 auto 1.4rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.7;
}

.service-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    color: #093b4d;
    background: #a4ffdc;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

@keyframes logistics-copy-enter {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes logistics-art-enter {
    from { opacity: 0; transform: translateX(28px) scale(0.97); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes logistics-card-enter {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes node-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@keyframes orbit-breathe {
    0%, 100% { opacity: 0.42; transform: translate(-50%, -50%) scale(0.96); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes route-signal {
    0% { transform: translate(0, 0); opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { transform: translate(330px, 46px); opacity: 0; }
}

@keyframes truck-delivery {
    0% { opacity: 0; transform: translate(0, 0) rotate(-5deg); }
    8% { opacity: 1; }
    42% { transform: translate(165px, -20px) rotate(0); }
    53% { transform: translate(165px, -20px) rotate(0) scale(1.06); }
    88% { opacity: 1; }
    100% { opacity: 0; transform: translate(325px, 0) rotate(5deg); }
}

@keyframes tracking-pulse {
    0% { box-shadow: 0 0 0 0 rgba(94, 242, 173, 0.65); }
    70% { box-shadow: 0 0 0 8px rgba(94, 242, 173, 0); }
    100% { box-shadow: 0 0 0 0 rgba(94, 242, 173, 0); }
}

@keyframes package-drift {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-11px) rotate(7deg); }
}

@keyframes icon-travel {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

@media (max-width: 760px) {
    .logistics-hero {
        min-height: auto;
        text-align: center;
    }

    .logistics-hero > .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 3.5rem;
        padding-bottom: 3rem;
    }

    .logistics-hero-copy,
    .logistics-hero .logistics-hero-copy h1,
    .logistics-hero .logistics-hero-copy p {
        text-align: center;
    }

    .logistics-hero .logistics-hero-copy p {
        margin-right: auto;
        margin-left: auto;
    }

    .logistics-hero-art {
        width: min(100%, 500px);
        height: 270px;
        justify-self: center;
    }

    .hero-truck {
        animation-name: truck-delivery-mobile;
    }

    .logistics-route span {
        animation-name: route-signal-mobile;
    }

    .logistics-services .aspects-grid-modern {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .logistics-hero-art {
        height: 230px;
    }

    .route-node {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .node-warehouse { left: 9%; }
    .node-pin { right: 8%; }
    .tracking-pill { right: 12px; bottom: 12px; }
}

@keyframes truck-delivery-mobile {
    0% { opacity: 0; transform: translate(0, 0) rotate(-5deg); }
    8% { opacity: 1; }
    42% { transform: translate(70px, -16px); }
    53% { transform: translate(70px, -16px) scale(1.04); }
    88% { opacity: 1; }
    100% { opacity: 0; transform: translate(145px, 0) rotate(5deg); }
}

@keyframes route-signal-mobile {
    0% { transform: translate(0, 0); opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { transform: translate(170px, 24px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .logistics-hero *,
    .logistics-hero *::before,
    .logistics-services .aspect-card.modern,
    .logistics-services .aspect-card.modern *,
    .service-cta .btn {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .logistics-hero-copy,
    .logistics-hero-art,
    .logistics-services .aspect-card.modern {
        opacity: 1;
        transform: none;
    }
}
