/* BeyondMove Logistics | production stylesheet
   Palette: royal #1848c8 | ink #0b1224 | slate #4b5566 | mist #f2f5fa | white */

:root {
    --blue: #1848c8;
    --blue-deep: #10339a;
    --ink: #0b1224;
    --slate: #4b5566;
    --mist: #f2f5fa;
    --line: #dde4ee;
    --white: #ffffff;
    --radius: 10px;
    --shadow: 0 10px 30px rgba(11, 18, 36, .08);
    --display: "Overpass", sans-serif;
    --body: "Inter", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
    font-family: var(--body);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--display); font-weight: 700; font-size: 15px;
    letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
    padding: 15px 28px; border-radius: 7px; border: 2px solid transparent;
    cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn-line { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-line:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue); width: 100%; justify-content: center; }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 12px 22px; font-size: 13.5px; }

/* ---------- header ---------- */
.site-head {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 22px; height: 84px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); flex: none; }
.brand-logo-frame {
    display: block; position: relative; width: 205px; height: 66px; overflow: hidden;
    flex: none; border-radius: 8px; background: var(--ink);
}
.brand-logo { position: absolute; width: 205px; height: 205px; left: 0; top: 50%; transform: translateY(-50%); display: block; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
    font-weight: 600; font-size: 14px; letter-spacing: .05em; text-transform: uppercase;
    color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--blue); border-bottom-color: var(--blue); }
.site-nav .nav-signup { color: var(--blue); }
.head-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.hc-mail { font-size: 12.5px; color: var(--slate); text-decoration: none; }
.hc-phone { font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.hc-phone small { font-family: var(--body); font-weight: 600; font-size: 11px; color: var(--blue); }
.hc-mail:hover, .hc-phone:hover { color: var(--blue); }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }
.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero {
    background:
        radial-gradient(1100px 480px at 85% 10%, #e2eaf8 0%, rgba(226, 234, 248, 0) 60%),
        linear-gradient(180deg, #f7f9fd 0%, #eef3fb 100%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 {
    font-size: clamp(38px, 5.2vw, 62px);
    font-weight: 900; text-transform: uppercase; letter-spacing: -.02em;
    margin-bottom: 22px;
}
.hero h1 .hl { color: var(--blue); }
.hero-copy p { font-size: 18px; color: var(--slate); max-width: 52ch; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; }
.hero-art::after {
    content: ""; position: absolute; inset: 0; border-radius: 22px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42); pointer-events: none;
}
.hero-art img {
    width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 62% center;
    display: block; border-radius: 22px; box-shadow: 0 26px 52px rgba(11, 18, 36, .22);
}

/* ---------- values ---------- */
.values { background: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 56px; padding-bottom: 56px; }
.val { text-align: center; padding: 0 22px; border-right: 1px solid var(--line); }
.val:last-child { border-right: 0; }
.val .ic { width: 42px; height: 42px; fill: var(--blue); margin-bottom: 14px; }
.val-title { font-size: 15.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.val p { font-size: 14px; color: var(--slate); line-height: 1.55; }

/* ---------- services ---------- */
.services { background: var(--mist); padding: 72px 0 84px; }
.sec-title {
    text-align: center; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900;
    text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 44px;
}
.sec-title .hl-u {
    color: var(--blue); padding-bottom: 10px;
    background-image: repeating-linear-gradient(90deg, var(--blue) 0 22px, transparent 22px 36px);
    background-size: 100% 5px; background-position: 0 100%; background-repeat: no-repeat;
}
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 38px 36px;
    display: flex; flex-direction: column; align-items: flex-start;
}
.svc-photo {
    width: calc(100% + 72px); height: 220px; object-fit: cover;
    margin: -38px -36px 28px; border-radius: var(--radius) var(--radius) 0 0;
}
.svc-badge {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--blue); display: grid; place-items: center; margin-bottom: 22px;
}
.svc-badge svg { width: 36px; height: 36px; fill: #fff; }
.svc-card h3 { font-size: 23px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.svc-card > p { color: var(--slate); margin-bottom: 20px; }
.checks { list-style: none; width: 100%; margin-bottom: 26px; }
.checks li { position: relative; padding: 6px 0 6px 32px; font-weight: 500; font-size: 15.5px; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: 8px; width: 19px; height: 19px;
    border-radius: 50%; background: var(--blue);
}
.checks li::after {
    content: ""; position: absolute; left: 5px; top: 13px; width: 9px; height: 5px;
    border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg);
}
.svc-card .btn { margin-top: auto; }

/* ---------- tri band ---------- */
.tri { background: #fff; padding: 72px 0; }
.tri-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: 26px; align-items: stretch; }
.tri-card {
    background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 30px; display: flex; flex-direction: column;
}
.tri-title { font-size: 21px; font-weight: 800; text-transform: uppercase; margin-bottom: 16px; }
.tri-title .hl { color: var(--blue); }
.tri-card p { color: var(--slate); font-size: 15.5px; margin-bottom: 22px; }
.tri-card .btn { align-self: flex-start; margin-top: auto; }
.cols2 { columns: 2; column-gap: 18px; margin-bottom: 18px; }
.cols2 li { break-inside: avoid; }
.tri-note { font-size: 14px !important; }

.tri-form { background: var(--blue); border-color: var(--blue-deep); box-shadow: var(--shadow); }
.tri-form .tri-title.inv { color: #fff; }
.inv-p { color: #d7e2ff !important; }
.tri-form .field { margin-bottom: 12px; }
.tri-form input, .tri-form select {
    width: 100%; padding: 14px 16px; font: 500 15px var(--body); color: var(--ink);
    background: #fff; border: 1px solid var(--blue-deep); border-radius: 7px;
}
.tri-form select:invalid { color: #6b7280; }
.tri-form input::placeholder { color: #6b7280; }
.tri-form .btn { width: 100%; justify-content: center; align-self: stretch; margin-top: 6px; }

/* ---------- stats ---------- */
.stats { background: var(--blue); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 40px; padding-bottom: 40px; }
.stat { text-align: center; padding: 0 16px; border-right: 1px solid rgba(255, 255, 255, .25); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: -.01em; }
.stat span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #cdddff; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #b9c2d4; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 52px; padding-bottom: 36px; }
.footer-logo { width: 230px; height: 76px; background: transparent; border-radius: 0; margin-bottom: 8px; }
.footer-logo .brand-logo { width: 230px; height: 230px; }
.foot-line { font-size: 14px; max-width: 34ch; }
.foot-nav { display: flex; flex-direction: column; gap: 10px; }
.foot-nav a, .foot-contact a { color: #b9c2d4; text-decoration: none; font-size: 14.5px; }
.foot-nav a:hover, .foot-contact a:hover { color: #fff; }
.foot-contact { display: flex; flex-direction: column; gap: 10px; }
.foot-contact a:first-child { font-family: var(--display); font-weight: 800; font-size: 19px; color: #fff; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: 22px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.foot-legal p { font-size: 13px; color: #7f8aa1; }
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-links a { color: #9aa6bc; text-decoration: none; font-size: 13px; }
.legal-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- interior pages ---------- */
.page-hero { background: linear-gradient(180deg, #f7f9fd, #eef3fb); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 900; text-transform: uppercase; letter-spacing: -.015em; margin-bottom: 14px; }
.page-hero h1 .hl { color: var(--blue); }
.page-hero p { font-size: 17.5px; color: var(--slate); max-width: 62ch; }
.page-body { padding: 64px 0 84px; }
.signup-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.form-card { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); }
.form-card .field { margin-bottom: 14px; }
.form-card label { display: block; font-weight: 600; font-size: 13.5px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }
.form-card input, .form-card select, .form-card textarea {
    width: 100%; padding: 13px 15px; font: 500 15px var(--body); color: var(--ink);
    background: #fff; border: 1px solid var(--line); border-radius: 7px;
}
.form-card textarea { min-height: 110px; resize: vertical; }
.form-card .btn { width: 100%; justify-content: center; }
.page-body .checks { margin: 18px 0 28px; }
.page-body h2 { font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.page-body .lede { color: var(--slate); }
.legal-body { padding: 58px 0 88px; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.legal-copy { max-width: 760px; }
.legal-copy h2 { font-size: 23px; margin: 38px 0 12px; text-transform: none; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p, .legal-copy li { color: var(--slate); }
.legal-copy p { margin-bottom: 16px; }
.legal-copy ul { margin: 0 0 18px 22px; }
.legal-copy li { margin-bottom: 7px; }
.legal-copy a { color: var(--blue); text-underline-offset: 3px; }
.legal-aside { position: sticky; top: 112px; padding: 24px; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); background: var(--mist); }
.legal-aside h2 { font-size: 17px; margin-bottom: 10px; }
.legal-aside p { color: var(--slate); font-size: 14px; margin-bottom: 14px; }
.legal-aside a { color: var(--blue); overflow-wrap: anywhere; }
.signup-photo {
    width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center;
    display: block; border-radius: var(--radius); margin-bottom: 30px; box-shadow: var(--shadow);
}

.thanks { text-align: center; padding: 110px 24px 130px; }
.thanks h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; text-transform: uppercase; margin-bottom: 14px; }
.thanks p { color: var(--slate); max-width: 54ch; margin: 0 auto 30px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .head-contact { display: none; }
    .values-grid { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
    .val:nth-child(3) { border-right: 0; }
    .val { padding: 0 16px; }
    .tri-grid { grid-template-columns: 1fr 1fr; }
    .tri-form { grid-column: 1 / -1; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
    .stat:nth-child(3) { border-right: 0; }
}

@media (max-width: 860px) {
    .site-nav { display: none; }
    .nav-toggle { display: flex; }
    .mobile-nav { display: block; border-top: 1px solid var(--line); background: #fff; }
    .mobile-nav[hidden] { display: none; }
    .mobile-nav a { display: block; padding: 15px 24px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
    .mobile-nav a:hover { color: var(--blue); }
    .hero-grid { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 52px; }
    .hero-art { order: -1; max-width: 520px; }
    .svc-grid { grid-template-columns: 1fr; }
    .signup-grid { grid-template-columns: 1fr; }
    .legal-layout { grid-template-columns: 1fr; gap: 36px; }
    .legal-aside { position: static; }
    .foot-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 620px) {
    .brand-logo-frame { width: 170px; height: 56px; }
    .brand-logo { width: 170px; height: 170px; }
    .footer-logo { width: 170px; height: 56px; }
    .footer-logo .brand-logo { width: 170px; height: 170px; }
    .foot-legal { align-items: flex-start; flex-direction: column; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .val { border-right: 0; }
    .tri-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat { border-right: 0; padding: 8px 0; }
    .cols2 { columns: 2; }
    .bar { height: 72px; }
}


/* ---------- signature: highway lane system ---------- */
.route-chip {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--display); font-weight: 700; font-size: 12.5px;
    letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 18px 7px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.rc-seg {
    width: 34px; height: 4px; border-radius: 2px;
    background-image: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 14px);
}

.lane {
    height: 6px; width: 100%;
    background-color: var(--ink);
    background-image: repeating-linear-gradient(90deg, #f4b400 0 34px, transparent 34px 62px);
    background-size: 124px 2.5px; background-position: 0 center; background-repeat: repeat-x;
    animation: lane-move 2.4s linear infinite;
}
@keyframes lane-move { from { background-position-x: 0; } to { background-position-x: -124px; } }
@media (prefers-reduced-motion: reduce) { .lane { animation: none; } }

/* values: route connector */
.values-grid { position: relative; }
.values-grid::before {
    content: ""; position: absolute; left: 6%; right: 6%; top: 88px; height: 2px;
    background-image: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}
@media (max-width: 1080px) { .values-grid::before { display: none; } }
.val { position: relative; }
.val .ic {
    position: relative; z-index: 1;
    background: #fff; border: 2px solid var(--line); border-radius: 50%;
    padding: 10px; width: 64px; height: 64px;
    transition: border-color .2s, transform .2s;
}
.val:hover .ic { border-color: var(--blue); transform: translateY(-3px); }

/* button arrow slide */
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* card hover lift */
.svc-card, .tri-card { transition: transform .25s, box-shadow .25s, opacity .5s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(11, 18, 36, .12); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}

/* stats separators: dashed */
.stat { border-right: 0; position: relative; }
.stat:not(:last-child)::after {
    content: ""; position: absolute; right: 0; top: 8px; bottom: 8px; width: 2px;
    background-image: repeating-linear-gradient(180deg, rgba(255,255,255,.4) 0 7px, transparent 7px 13px);
}
@media (max-width: 1080px) { .stat:nth-child(3)::after { display: none; } }
@media (max-width: 620px) { .stat:not(:last-child)::after { display: none; } }

/* header compresses on scroll (progressive enhancement, CSS only) */
@supports (animation-timeline: scroll()) {
    .bar { animation: bar-shrink linear both; animation-timeline: scroll(); animation-range: 0 160px; }
    @keyframes bar-shrink { to { height: 66px; } }
}
