/* =====================================================================
   Norvexa Logistics — Modern stylesheet
   Palette: deep navy + teal accent, generous whitespace, soft shadows.
   ===================================================================== */

:root {
    --navy-900: #0a1626;
    --navy-800: #0e2036;
    --navy-700: #14304f;
    --navy-600: #1d4272;
    --ink:      #16263b;
    --slate:    #56657a;
    --muted:    #8494a6;
    --line:     #e6ebf1;
    --bg:       #ffffff;
    --bg-soft:  #f5f8fc;
    --teal:     #12b8a6;
    --teal-600: #0e9c8d;
    --amber:    #f5a524;
    --white:    #ffffff;

    --radius:   16px;
    --radius-sm: 10px;
    --shadow:   0 18px 40px -20px rgba(13, 38, 66, .28);
    --shadow-sm: 0 8px 24px -14px rgba(13, 38, 66, .30);
    --container: 1200px;
    --font:     'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --display:  'Sora', var(--font);
    --ease:     cubic-bezier(.22, .61, .36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p  { color: var(--slate); }
.muted { color: var(--muted); }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: 84px 0; }
.section--alt { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); }
.section--dark h2, .section--dark .eyebrow { color: var(--white); }
.section__head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section__head p { margin-top: 12px; font-size: 1.05rem; }

.eyebrow {
    display: inline-block; font-family: var(--display); font-weight: 600;
    font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--teal-600); margin-bottom: 14px;
}
.eyebrow--light { color: var(--teal); }
.grad { background: linear-gradient(100deg, var(--teal), #38d1c1); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    font-family: var(--display); font-weight: 600; font-size: .95rem;
    padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; white-space: nowrap;
}
.btn svg { transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -10px rgba(18,184,166,.7); }
.btn--primary:hover { background: var(--teal-600); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-600); }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---- Topbar ---- */
.topbar { background: var(--navy-900); color: #b9c6d6; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; color: #b9c6d6; }
.topbar__contacts { display: flex; gap: 22px; }
.topbar a:hover { color: #fff; }
.topbar svg { color: var(--teal); }

/* ---- Header ---- */
.header {
    position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9);
    backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.logo__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--teal), var(--navy-600)); color: #fff; }
.logo__text b { color: var(--teal); }
.logo--light { color: #fff; }
.logo--light .logo__text b { color: var(--teal); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav__link {
    font-family: var(--display); font-weight: 500; font-size: .95rem; color: var(--slate);
    padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--ink); background: var(--bg-soft); }
.nav__link.is-active { color: var(--teal-600); }
.header__cta { margin-left: 8px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; border-radius: 8px; }

/* ---- Hero ---- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-900); }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, var(--navy-900) 30%, rgba(10,22,38,.72) 70%, rgba(18,184,166,.35)); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: center; padding: 96px 0 104px; }
.hero__content .eyebrow { color: var(--teal); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero__lead { color: #c7d3e0; font-size: 1.15rem; margin-top: 20px; max-width: 46ch; }
.hero__actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero__actions.center { justify-content: center; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn--ghost:hover { border-color: #fff; color: #fff; }

.track-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.track-card h3 { font-size: 1.25rem; }
.track-card p { font-size: .92rem; margin-top: 6px; }
.track-card__form { display: flex; gap: 10px; margin-top: 18px; }
.track-card__form input { flex: 1; }
.track-card__form .btn { padding: 12px 16px; }
.track-card__note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .82rem; color: var(--muted); }
.track-card__note svg { color: var(--teal); }

/* ---- Inputs ---- */
input, select, textarea {
    width: 100%; font-family: var(--font); font-size: .95rem; color: var(--ink);
    padding: 12px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(18,184,166,.14); }
textarea { resize: vertical; }
label { display: block; font-family: var(--display); font-weight: 500; font-size: .88rem; margin-bottom: 7px; color: var(--ink); }

/* ---- Stats ---- */
.stats { background: var(--navy-800); }
.section .stats { border-radius: var(--radius); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 46px 24px; }
.stats--inline { background: linear-gradient(120deg, var(--navy-800), var(--navy-600)); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat { text-align: center; color: #fff; }
.stat__value { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.9rem); color: #fff; letter-spacing: -.02em; }
.stat__value::after { content: attr(data-suffix); color: var(--teal); }
.stat__label { color: #9fb0c3; font-size: .92rem; margin-top: 4px; }

/* ---- Grids ---- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Service cards ---- */
.service-card {
    display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(18,184,166,.12); color: var(--teal-600); margin-bottom: 18px; }
.service-card__icon--lg { width: 66px; height: 66px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: .95rem; }
.service-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--teal-600); }
.service-card--full { padding: 0; overflow: hidden; }
.service-card__img { height: 180px; background-size: cover; background-position: center; }
.service-card__body { padding: 26px 28px 30px; }
.service-card--full .service-card__icon { margin-top: -46px; position: relative; background: #fff; box-shadow: var(--shadow-sm); }

/* ---- Split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--form { align-items: start; grid-template-columns: 1.4fr .8fr; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split__badge { position: absolute; right: -14px; bottom: -14px; background: var(--teal); color: #fff; border-radius: 14px; padding: 16px 22px; box-shadow: var(--shadow); text-align: center; }
.split__badge strong { display: block; font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.split__badge span { font-size: .8rem; opacity: .9; }
.split__body h2 { margin-bottom: 16px; }
.split__body > p { margin-bottom: 14px; }

/* ---- Check list ---- */
.check-list { margin: 22px 0 26px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list span:last-child { color: var(--slate); font-size: .96rem; }
.check-list__icon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(18,184,166,.14); color: var(--teal-600); margin-top: 2px; }

/* ---- Steps ---- */
.step { position: relative; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step__num { font-family: var(--display); font-weight: 800; font-size: 2.2rem; color: rgba(18,184,166,.28); }
.step h3 { margin: 6px 0 8px; }
.step p { font-size: .93rem; }

/* ---- Features ---- */
.feature { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: left; }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; background: var(--navy-900); color: var(--teal); margin-bottom: 16px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: .93rem; }

/* ---- Testimonials ---- */
.quote { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius); padding: 30px; }
.quote blockquote { color: #dbe4ee; font-size: 1.02rem; line-height: 1.7; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; color: #fff; font-family: var(--display); }
.quote figcaption em { color: var(--teal); font-style: normal; font-size: .85rem; }

/* ---- CTA strip ---- */
.cta-strip { background: linear-gradient(120deg, var(--teal), var(--navy-600)); color: #fff; }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 54px 0; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255,255,255,.9); margin-top: 6px; }

/* ---- Page hero ---- */
.page-hero { background: var(--navy-900); color: #fff; padding: 72px 0; position: relative; }
.page-hero .eyebrow { color: var(--teal); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c7d3e0; margin-top: 12px; font-size: 1.08rem; }
.page-hero--media { background-size: cover; background-position: center; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(110deg, var(--navy-900) 35%, rgba(10,22,38,.6)); }
.page-hero--media .container { position: relative; z-index: 2; }
.breadcrumbs { font-size: .88rem; color: #9fb0c3; margin-bottom: 14px; }
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs span { color: #fff; }

/* ---- Side cards ---- */
.split__aside { display: grid; gap: 22px; position: sticky; top: 92px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.side-card h3 { margin-bottom: 14px; }
.side-card--cta { background: var(--navy-900); color: #fff; }
.side-card--cta h3 { color: #fff; }
.side-card--cta p { color: #b9c6d6; margin-bottom: 16px; font-size: .93rem; }
.side-nav li a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; font-family: var(--display); font-weight: 500; font-size: .92rem; color: var(--slate); transition: .2s; }
.side-nav li a:hover { background: var(--bg-soft); color: var(--ink); }
.side-nav li a.is-active { background: rgba(18,184,166,.12); color: var(--teal-600); }
.side-nav svg { color: var(--teal-600); }

/* ---- Forms ---- */
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { margin-bottom: 18px; }
.form__error { display: block; color: #dc2626; font-size: .82rem; margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); }
.alert--success { background: rgba(18,184,166,.1); border: 1px solid rgba(18,184,166,.3); color: var(--teal-600); }
.alert--error { background: rgba(220,38,38,.1); border: 1px solid rgba(220,38,38,.3); color: #991b1b; }
.alert--error svg { color: #dc2626; }
.alert strong { color: var(--ink); }
.alert div { color: var(--slate); }

.footer__contacts { display: grid; gap: 14px; }
.footer__contacts li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--slate); }
.footer__contacts svg { flex: none; color: var(--teal-600); margin-top: 2px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

/* ---- Track ---- */
.track-form { display: flex; gap: 12px; margin-bottom: 34px; }
.track-form input { flex: 1; }
.track-empty { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 48px 30px; box-shadow: var(--shadow-sm); }
.track-empty__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; background: rgba(245,165,36,.12); color: var(--amber); margin-bottom: 20px; }
.track-empty h2 { margin-bottom: 12px; }
.track-empty p { max-width: 46ch; margin: 0 auto 8px; }
.track-empty a { color: var(--teal-600); text-decoration: underline; }
.track-result { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.track-result__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.track-result__head span.muted { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.track-result__head strong { font-family: var(--display); font-size: 1.15rem; }
.track-result__note { margin-top: 24px; font-size: .82rem; }
.badge { font-family: var(--display); font-weight: 600; font-size: .82rem; padding: 6px 14px; border-radius: 999px; }
.badge--blue { background: rgba(18,184,166,.14); color: var(--teal-600); }
.badge--green { background: rgba(34,197,94,.14); color: #16a34a; }

.timeline { display: flex; justify-content: space-between; position: relative; }
.timeline::before { content: ""; position: absolute; top: 13px; left: 6%; right: 6%; height: 2px; background: var(--line); }
.timeline li { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; text-align: center; }
.timeline__dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: #fff; }
.timeline li.is-done .timeline__dot { background: var(--teal); border-color: var(--teal); }
.timeline li.is-current .timeline__dot { box-shadow: 0 0 0 5px rgba(18,184,166,.2); }
.timeline__label { font-size: .82rem; color: var(--muted); }
.timeline li.is-done .timeline__label { color: var(--ink); }

/* ---- Accordion ---- */
.accordion__item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; background: #fff; }
.accordion__head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: none; border: 0; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--ink); text-align: left; }
.accordion__icon { flex: none; position: relative; width: 18px; height: 18px; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--teal-600); transition: .25s; }
.accordion__icon::before { width: 14px; height: 2px; }
.accordion__icon::after { width: 2px; height: 14px; }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.accordion__body { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.accordion__body p { padding: 0 24px 22px; }
.faq-cta { text-align: center; margin-top: 40px; }
.faq-cta p { margin-bottom: 14px; }

/* ---- Video player ---- */
.video-player { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-player video { width: 100%; display: block; height: auto; }
.walkthrough-info a { color: var(--teal-600); text-decoration: underline; }

/* ---- Legal ---- */
.legal h2 { font-size: 1.35rem; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--slate); }
.legal ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.legal a { color: var(--teal-600); text-decoration: underline; }

/* ---- Footer ---- */
.footer { background: var(--navy-900); color: #b9c6d6; padding: 68px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { color: #94a5b8; margin: 18px 0 20px; font-size: .95rem; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { color: #b9c6d6; font-size: .93rem; transition: color .2s; }
.footer__col a:hover { color: var(--teal); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); font-family: var(--display); font-weight: 700; font-size: .85rem; color: #fff; transition: .2s; }
.social a:hover { background: var(--teal); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; flex-wrap: wrap; }
.footer__bottom p { color: #7b8da0; font-size: .85rem; }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { font-size: .85rem; color: #b9c6d6; }
.footer__legal a:hover { color: var(--teal); }

/* ---- 404 ---- */
.section--error { padding: 120px 0; }
.error-code { font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; background: linear-gradient(120deg, var(--teal), var(--navy-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---- Responsive ---- */
@media (max-width: 980px) {
    .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 72px 0 84px; }
    .split, .split--form { grid-template-columns: 1fr; gap: 40px; }
    .split__aside { position: static; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .topbar { display: none; }
    .nav { position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; transform: translateY(-120%); transition: transform .3s var(--ease); box-shadow: var(--shadow); }
    .nav.is-open { transform: translateY(0); }
    .nav__link { padding: 13px 6px; border-radius: 8px; }
    .header__cta { display: none; }
    .nav-toggle { display: flex; }
    .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
    .section { padding: 60px 0; }
    .form__row { grid-template-columns: 1fr; gap: 0; }
    .cta-strip__inner { flex-direction: column; align-items: flex-start; }
    .timeline { flex-wrap: wrap; gap: 18px; }
    .timeline::before { display: none; }
    .timeline li { flex-direction: row; flex: 0 0 45%; }
    .footer__grid { grid-template-columns: 1fr; gap: 30px; }
}
