:root {
    --asset: url("../rle-reference.png");
    --hero-asset: url("../hero-logistics-bg.png");
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
}

.brand-logo {
    width: 190px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.nav-link {
    position: relative;
    transition: color .2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -16px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: #f2a10b;
    transition: width .25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #f2a10b;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.menu-open .hamburger {
    transform: rotate(45deg);
}

.menu-open .hamburger::before {
    transform: translateY(7px) rotate(90deg);
}

.menu-open .hamburger::after {
    opacity: 0;
}

.hero-grid::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 46%;
    width: min(48vw, 620px);
    height: 560px;
    background: radial-gradient(circle, rgba(242, 161, 11, .10), transparent 65%);
    pointer-events: none;
}

.btn-primary,
.btn-secondary,
.btn-gold {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-radius: 6px;
    padding: 0 28px;
    font-weight: 900;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.btn-primary {
    background: #071d49;
    color: white;
    box-shadow: 0 18px 35px rgba(7, 29, 73, .18);
}

.btn-secondary {
    border: 1px solid rgba(7, 29, 73, .35);
    color: #071d49;
    background: white;
}

.btn-gold {
    background: #f2a10b;
    color: white;
    box-shadow: 0 18px 35px rgba(242, 161, 11, .25);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-gold:hover {
    transform: translateY(-3px);
}

.mini-proof {
    display: grid;
    gap: 9px;
    align-content: start;
    color: #071d49;
}

.mini-proof span {
    color: #f2a10b;
}

.mini-proof strong {
    font-size: 10px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-photo {
    background-image: var(--hero-asset);
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-photo {
    position: absolute;
    right: -120px;
    top: 8px;
    width: min(54vw, 640px);
    height: 540px;
    border-radius: 34px 0 34px 34px;
    clip-path: polygon(18% 0, 100% 0, 100% 90%, 86% 100%, 0 100%, 12% 58%);
    box-shadow: 0 20px 45px rgba(7, 29, 73, .16);
}

.crop-hero {
    background-position: center;
}

.dashboard-mockup {
    position: absolute;
    left: 0;
    top: 72px;
    display: grid;
    grid-template-columns: 110px 1fr;
    width: min(92vw, 610px);
    min-height: 380px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 28px 70px rgba(7, 29, 73, .22);
    backdrop-filter: blur(14px);
}

.mock-sidebar {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-content: start;
    gap: 11px 9px;
    background: #071d49;
    color: white;
    padding: 18px 14px;
}

.brand-mini {
    grid-column: 1 / -1;
    color: #f2a10b;
    font-size: 14px;
    font-weight: 900;
}

.mock-sidebar i,
.mock-topbar span {
    display: block;
    border-radius: 999px;
    background: rgba(255, 255, 255, .5);
}

.mock-sidebar i {
    width: 14px;
    height: 14px;
}

.mock-sidebar small {
    min-width: 0;
    font-size: 10px;
    font-weight: 700;
}

.mock-content {
    padding: 18px;
}

.mock-topbar,
.mock-topbar div,
.metrics-grid,
.mock-panels {
    display: flex;
}

.mock-topbar {
    align-items: center;
    justify-content: space-between;
}

.mock-topbar strong {
    color: #071d49;
    font-size: 16px;
}

.mock-topbar div {
    gap: 8px;
}

.mock-topbar span {
    width: 22px;
    height: 22px;
    background: #eef3fb;
}

.metrics-grid {
    gap: 12px;
    margin-top: 18px;
}

.metrics-grid article {
    flex: 1;
    border: 1px solid #e5eaf2;
    border-radius: 8px;
    padding: 13px;
    background: white;
}

.metrics-grid small,
.metrics-grid em {
    display: block;
    color: #64748b;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.metrics-grid b {
    display: block;
    color: #071d49;
    font-size: 21px;
    margin: 5px 0;
}

.metrics-grid em {
    color: #16a34a;
}

.mock-panels {
    gap: 14px;
    margin-top: 14px;
}

.chart-line,
.donut {
    min-height: 115px;
    border: 1px solid #e5eaf2;
    border-radius: 8px;
    background: white;
}

.chart-line {
    position: relative;
    flex: 1.45;
    overflow: hidden;
}

.chart-line::before {
    content: "";
    position: absolute;
    inset: 18px;
    background:
        linear-gradient(#eef2f7 1px, transparent 1px) 0 0 / 100% 25%,
        linear-gradient(90deg, #eef2f7 1px, transparent 1px) 0 0 / 20% 100%;
}

.chart-line span {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 23px;
    height: 55px;
    clip-path: polygon(0 75%, 12% 50%, 25% 60%, 38% 22%, 50% 48%, 63% 70%, 77% 28%, 88% 38%, 100% 5%, 100% 12%, 88% 45%, 77% 35%, 63% 77%, 50% 55%, 38% 29%, 25% 67%, 12% 57%, 0 82%);
    background: linear-gradient(90deg, #2f65d8, #071d49);
}

.donut {
    flex: .8;
    display: grid;
    place-items: center;
}

.donut::before {
    content: "";
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: conic-gradient(#071d49 0 48%, #2f65d8 48% 73%, #f2a10b 73% 91%, #f05b3f 91%);
    mask: radial-gradient(circle, transparent 42%, #000 43%);
}

.shipment-table {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.shipment-table p {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    margin: 0;
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 6px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.shipment-table b {
    color: #16a34a;
}

.section-kicker {
    color: #f2a10b;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.service-card {
    overflow: hidden;
    border: 1px solid #dfe6f1;
    border-radius: 8px;
    background: white;
    box-shadow: 0 12px 30px rgba(16, 34, 71, .05);
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 50px rgba(7, 29, 73, .13);
}

.service-image {
    height: 150px;
    overflow: hidden;
    background: #dbe3ef;
}

.service-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.06);
}

.service-body {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 14px;
    align-items: start;
    min-height: 150px;
    padding: 28px 18px 20px 88px;
    background: white;
}

.service-copy {
    min-width: 0;
}

.service-arrow {
    align-self: end;
    color: #071d49;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    transition: color .2s ease, transform .2s ease;
}

.service-arrow:hover {
    color: #f2a10b;
    transform: translateX(3px);
}

.service-icon {
    display: grid;
    position: absolute;
    left: 18px;
    top: -28px;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 6px solid white;
    border-radius: 12px;
    background: #071d49;
    color: #f2a10b;
    box-shadow: 0 8px 18px rgba(7, 29, 73, .18);
}

.reason {
    min-width: 0;
}

.reason span {
    display: block;
    color: #f2a10b;
}

.reason h3 {
    margin-top: 10px;
    color: #071d49;
    font-size: 14px;
    font-weight: 900;
}

.reason p {
    margin-top: 5px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.insight-card {
    min-height: 174px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
}

.insight-card h3 {
    color: #071d49;
    font-size: 13px;
    font-weight: 900;
}

.insight-card p {
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.insight-visual {
    position: relative;
    margin-top: 14px;
    min-height: 92px;
    overflow: hidden;
    border-radius: 7px;
    background: #f4f7fb;
}

.insight-visual.map {
    background-image:
        radial-gradient(circle at 82% 22%, #071d49 0 5px, transparent 6px),
        linear-gradient(145deg, transparent 43%, #2f65d8 44% 46%, transparent 47%),
        linear-gradient(35deg, transparent 28%, rgba(47, 101, 216, .35) 29% 31%, transparent 32%),
        linear-gradient(90deg, #eaf0e4, #f7f9f4);
}

.insight-visual.map b {
    position: absolute;
    left: 10px;
    bottom: 10px;
    border-radius: 6px;
    background: white;
    padding: 8px 10px;
    color: #071d49;
    font-size: 12px;
}

.insight-visual.donut {
    display: grid;
    place-items: center;
}

.insight-visual.donut b,
.insight-visual.bars b {
    color: #071d49;
    font-size: 22px;
    font-weight: 900;
}

.insight-visual.bars {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 12px;
    padding: 12px;
}

.insight-visual.bars::before,
.insight-visual.bars::after,
.insight-visual.bars b::before,
.insight-visual.bars b::after {
    content: "";
    width: 14px;
    border-radius: 3px 3px 0 0;
    background: #2f65d8;
}

.insight-visual.bars::before { height: 35px; }
.insight-visual.bars::after { height: 58px; }
.insight-visual.bars b::before { display: inline-block; height: 48px; margin-right: 10px; vertical-align: bottom; }
.insight-visual.bars b::after { display: inline-block; height: 72px; margin-left: 10px; vertical-align: bottom; }

.insight-visual.table,
.insight-visual.alerts {
    display: grid;
    gap: 8px;
    align-content: center;
    padding: 12px;
}

.insight-visual.table i,
.insight-visual.alerts i {
    display: block;
    color: #071d49;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.insight-visual.alerts i::before {
    content: "!";
    display: inline-grid;
    width: 15px;
    height: 15px;
    margin-right: 6px;
    place-items: center;
    border-radius: 50%;
    background: #f2a10b;
    color: white;
    font-size: 10px;
}

.cta-band {
    position: relative;
    display: flex;
    min-height: 120px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(7, 29, 73, .96), rgba(7, 29, 73, .88)),
        var(--asset) center 47% / cover no-repeat;
    padding: 30px clamp(24px, 7vw, 240px);
    color: white;
    box-shadow: 0 18px 40px rgba(7, 29, 73, .16);
}

.cta-band h2 {
    max-width: 620px;
    font-size: clamp(1.7rem, 3.2vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
}

.cta-band h2 span {
    color: #f2a10b;
}

.about-section {
    position: relative;
    background:
        linear-gradient(180deg, #fff 0%, #f6f8fc 100%);
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 8% auto auto 0;
    width: min(34vw, 420px);
    height: 420px;
    background: radial-gradient(circle, rgba(47, 101, 216, .08), transparent 65%);
    pointer-events: none;
}

.about-stat {
    border: 1px solid #dfe6f1;
    border-radius: 8px;
    background: white;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(16, 34, 71, .05);
}

.about-stat strong {
    display: block;
    color: #071d49;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.about-stat span {
    display: block;
    margin-top: 9px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
    text-transform: uppercase;
}

.about-visual {
    position: relative;
    min-height: 520px;
}

.about-photo {
    position: absolute;
    inset: 0 0 50px 52px;
    overflow: hidden;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(7, 29, 73, .02), rgba(7, 29, 73, .20)),
        url("../images/rle_warehouse.png") center / cover no-repeat;
    box-shadow: 0 28px 70px rgba(7, 29, 73, .16);
}

.about-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(7, 29, 73, .24), transparent 42%),
        linear-gradient(0deg, rgba(7, 29, 73, .20), transparent 38%);
}

.about-card {
    position: absolute;
    border: 1px solid rgba(223, 230, 241, .9);
    border-radius: 10px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 60px rgba(7, 29, 73, .14);
    backdrop-filter: blur(14px);
}

.about-card-main {
    left: 0;
    bottom: 0;
    width: min(86%, 390px);
    padding: 24px;
}

.about-card-main span {
    color: #f2a10b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.about-card-main h3 {
    margin-top: 12px;
    color: #071d49;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.18;
}

.about-card-main p {
    margin-top: 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.about-card-mini {
    right: 0;
    top: 42px;
    width: 210px;
    padding: 18px;
}

.about-card-mini strong {
    display: block;
    color: #071d49;
    font-size: 26px;
    font-weight: 900;
}

.about-card-mini span {
    display: block;
    margin-top: 7px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto auto;
    width: min(48vw, 620px);
    height: 420px;
    background:
        radial-gradient(circle at 55% 40%, rgba(242, 161, 11, .16), transparent 58%),
        radial-gradient(circle at 75% 25%, rgba(7, 29, 73, .10), transparent 48%);
    pointer-events: none;
}

.contact-panel {
    position: relative;
    border: 1px solid #dfe6f1;
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    padding: clamp(20px, 4vw, 34px);
    box-shadow: 0 24px 70px rgba(7, 29, 73, .14);
    backdrop-filter: blur(14px);
}

.contact-stat,
.contact-card {
    border: 1px solid #dfe6f1;
    border-radius: 8px;
    background: white;
    box-shadow: 0 12px 30px rgba(16, 34, 71, .05);
}

.contact-stat {
    padding: 18px;
}

.contact-stat strong {
    display: block;
    color: #071d49;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.contact-stat span {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.field-label {
    display: grid;
    gap: 8px;
}

.field-label span {
    color: #071d49;
    font-size: 13px;
    font-weight: 900;
}

.field-label input,
.field-label select,
.field-label textarea {
    width: 100%;
    border: 1px solid #d8e1ee;
    border-radius: 7px;
    background: #fbfdff;
    padding: 13px 14px;
    color: #102247;
    font-size: 14px;
    font-weight: 700;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.field-label textarea {
    resize: vertical;
}

.field-label input:focus,
.field-label select:focus,
.field-label textarea:focus {
    border-color: #f2a10b;
    background: white;
    box-shadow: 0 0 0 4px rgba(242, 161, 11, .14);
}

.success-box {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
    border: 1px solid rgba(22, 163, 74, .24);
    border-radius: 8px;
    background: #f0fdf4;
    padding: 16px;
}

.success-box span {
    display: grid;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: #16a34a;
    color: white;
    font-weight: 900;
}

.success-box h2 {
    color: #071d49;
    font-size: 16px;
    font-weight: 900;
}

.success-box p {
    margin-top: 4px;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.contact-card {
    padding: 24px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(7, 29, 73, .12);
}

.contact-card span {
    color: #f2a10b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.contact-card h2 {
    margin-top: 12px;
    color: #071d49;
    font-size: 20px;
    font-weight: 900;
}

.contact-card p {
    margin-top: 10px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

footer a {
    display: block;
    margin-top: 9px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    transition: color .2s ease;
}

footer a:hover {
    color: #f2a10b;
}

footer .footer-brand {
    display: flex;
    margin-top: 0;
}

.footer-title {
    color: #071d49;
    font-size: 14px;
    font-weight: 900;
}

.footer-text {
    margin-top: 9px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.social {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #dbe3ef;
    border-radius: 50%;
    color: #071d49;
    font-weight: 900;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease var(--delay, 0ms), transform .7s ease var(--delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.float-soft {
    animation: floatSoft 6s ease-in-out infinite;
}

.float-slow {
    animation: floatSlow 9s ease-in-out infinite;
}

@keyframes floatSoft {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -12px, 0); }
}

@keyframes floatSlow {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, 10px, 0) scale(1.015); }
}

@media (max-width: 1023px) {
    .hero-grid {
        min-height: auto;
    }

    .hero-photo {
        right: -20px;
        width: 62vw;
        opacity: .88;
    }

    .dashboard-mockup {
        left: 0;
        top: 86px;
    }

    .cta-band {
        flex-direction: column;
        text-align: center;
    }

    .about-visual {
        min-height: 460px;
    }

    .about-photo {
        left: 0;
    }
}

@media (max-width: 767px) {
    .brand-logo {
        width: 145px;
        height: 46px;
    }

    .hero-photo {
        top: 20px;
        right: -80px;
        width: 310px;
        height: 410px;
    }

    .dashboard-mockup {
        grid-template-columns: 72px 1fr;
        width: 100%;
        min-height: 350px;
    }

    .mock-sidebar {
        gap: 8px;
        padding: 14px 10px;
    }

    .mock-sidebar small {
        display: none;
    }

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

    .metrics-grid article {
        padding: 9px;
    }

    .metrics-grid b {
        font-size: 15px;
    }

    .mock-panels {
        display: grid;
        grid-template-columns: 1fr .7fr;
    }

    .shipment-table p {
        grid-template-columns: 1fr auto;
    }

    .shipment-table p span:nth-child(2) {
        display: none;
    }

    .mini-proof strong {
        font-size: 9px;
    }

    .about-visual {
        min-height: auto;
    }

    .about-photo,
    .about-card {
        position: relative;
        inset: auto;
    }

    .about-photo {
        height: 280px;
        border-radius: 12px;
    }

    .about-card-main,
    .about-card-mini {
        width: 100%;
        margin-top: 16px;
    }
}

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