:root {
    --ink: #0b0d10;
    --ink-soft: #14171b;
    --page: #f5f6f3;
    --soft: #ecefeb;
    --white: #ffffff;
    --muted: #6f757c;
    --line: rgba(11, 13, 16, 0.14);
    --line-dark: rgba(255, 255, 255, 0.14);
    --accent: #93e9ff;
    --accent-ink: #071115;
    --radius: 1.25rem;
    --radius-lg: 2rem;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.10);
    --section-y: clamp(5.5rem, 9vw, 10rem);
}

html {
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--page);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 1.075rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    letter-spacing: -0.04em;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: inherit;
    text-underline-offset: 0.18em;
}

img {
    max-width: 100%;
}

.object-cover {
    object-fit: cover;
}

.bg-page { background: var(--page) !important; }
.bg-soft { background: var(--soft) !important; }
.section-dark { background: var(--ink); }
.text-white-60 { color: rgba(255, 255, 255, 0.62); }

.section-pad {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}

.py-lg-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.mb-lg-6 {
    margin-bottom: 5rem !important;
}

.g-xl-6 {
    --bs-gutter-x: 5rem;
    --bs-gutter-y: 5rem;
}

/* Navigation */
.site-navbar {
    --bs-navbar-padding-y: 0;
    min-height: 78px;
    background: rgba(11, 13, 16, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    box-shadow: none;
}

.site-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 0;
}

.site-navbar .navbar-brand img {
    display: block;
    max-height: 48px;
    width: auto;
}

.site-navbar .nav-link {
    position: relative;
    padding: 1.75rem 1rem !important;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.93rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color .2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus,
.site-navbar .nav-link.active {
    color: #fff;
}

.site-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1.15rem;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.btn-nav {
    padding: 0.7rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: none;
}

.btn-nav:hover,
.btn-nav:focus {
    color: var(--accent-ink);
    background: var(--accent);
    border-color: var(--accent);
}

.site-navbar .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.55rem 0.7rem;
}

/* Shared typography */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #555c63;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow > span {
    display: inline-block;
    width: 2.75rem;
    height: 1px;
    background: currentColor;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.66);
}

.eyebrow-light > span {
    background: var(--accent);
}

.eyebrow-simple {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-title {
    max-width: 12ch;
    font-size: clamp(3rem, 5.6vw, 6rem);
    font-weight: 520;
    line-height: 0.96;
    color: var(--ink);
}

.section-title-sm {
    max-width: 13ch;
    font-size: clamp(2.7rem, 4.6vw, 4.9rem);
}

.display-title {
    max-width: 13ch;
    font-size: clamp(3.25rem, 6vw, 6.7rem);
    font-weight: 520;
    line-height: 0.94;
}

.lead-copy {
    max-width: 30ch;
    color: #2b3035;
    font-size: clamp(1.45rem, 2.15vw, 2.15rem);
    font-weight: 400;
    line-height: 1.38;
    letter-spacing: -0.025em;
}

.lead-copy-sm {
    max-width: 34ch;
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
    color: var(--muted);
}

.section-note {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
}

.prose-lg {
    color: #444a50;
    font-size: clamp(1.1rem, 1.25vw, 1.25rem);
}

.prose-lg p {
    margin-bottom: 1.5rem;
}

.prose-compact p {
    margin-bottom: 1.2rem;
}

.text-link {
    gap: 0.6rem;
    align-items: center;
    color: var(--ink);
    font-weight: 650;
    text-decoration: none;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 0.25rem;
}

.text-link span {
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translate(2px, -2px);
}

/* Hero */
.hero-modern {
    position: relative;
    min-height: 100svh;
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.hero-modern__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(7, 9, 12, 0.86) 0%, rgba(7, 9, 12, 0.50) 48%, rgba(7, 9, 12, 0.16) 100%),
        linear-gradient(180deg, rgba(7, 9, 12, 0.16) 0%, rgba(7, 9, 12, 0.25) 62%, rgba(7, 9, 12, 0.74) 100%);
}

.hero-modern__container {
    position: relative;
    z-index: 1;
}

.hero-title {
    max-width: 9ch;
    font-size: clamp(4rem, 9vw, 9.2rem);
    font-weight: 560;
    line-height: 0.82;
    letter-spacing: -0.075em;
}

.hero-lead {
    max-width: 41ch;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.25rem, 1.75vw, 1.7rem);
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.btn-accent {
    --bs-btn-padding-y: 0.95rem;
    --bs-btn-padding-x: 1.4rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 700;
    --bs-btn-color: var(--accent-ink);
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-color: var(--accent-ink);
    --bs-btn-hover-bg: #b8f1ff;
    --bs-btn-hover-border-color: #b8f1ff;
    --bs-btn-active-color: var(--accent-ink);
    --bs-btn-active-bg: #b8f1ff;
    --bs-btn-active-border-color: #b8f1ff;
    border-radius: 999px;
    box-shadow: none;
    transition: transform .2s ease, background-color .2s ease;
}

.btn-accent:hover {
    transform: translateY(-2px);
}

/* Image sections */
.feature-banner,
.cta-band {
    position: relative;
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.feature-banner__overlay,
.cta-band__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(11, 13, 16, 0.88) 0%, rgba(11, 13, 16, 0.53) 55%, rgba(11, 13, 16, 0.18) 100%);
}

.min-banner-height {
    min-height: 72vh;
}

.min-cta-height {
    min-height: 76vh;
}

.media-frame {
    overflow: hidden;
    background: #dfe3df;
    border-radius: var(--radius);
}

.media-frame img {
    display: block;
    transition: transform .6s cubic-bezier(.2,.65,.2,1);
}

.media-frame:hover img {
    transform: scale(1.018);
}

.media-frame-tall {
    height: clamp(34rem, 52vw, 48rem);
}

/* Brands */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.brand-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 10.5rem;
    padding: 2rem;
    background: #fff;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background-color .2s ease;
}

.brand-tile:hover {
    background: var(--soft);
}

.brand-tile img {
    max-width: 74%;
    max-height: 54px;
    width: auto;
    filter: grayscale(1);
    opacity: .72;
    transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.brand-tile:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.04);
}

/* Advantages */
.logistics-media {
    height: clamp(22rem, 42vw, 38rem);
    border-radius: var(--radius-lg);
}

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

.stat-card {
    min-height: 17rem;
    padding: clamp(1.7rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
}

.stat-card-accent {
    color: var(--accent-ink);
    background: var(--accent);
    border-color: var(--accent);
}

.stat-number {
    display: block;
    color: #fff;
    font-size: clamp(4.5rem, 7vw, 7.3rem);
    font-weight: 560;
    line-height: .85;
    letter-spacing: -0.075em;
}

.stat-card-accent .stat-number {
    color: var(--accent-ink);
}

.stat-label {
    color: rgba(255, 255, 255, 0.64);
    font-size: 1rem;
}

.stat-card-accent .stat-label {
    color: rgba(7, 17, 21, .72);
}

.value-card {
    height: 100%;
    color: #fff;
    border-top: 1px solid var(--line-dark);
    padding-top: 1.2rem;
}

.value-card__num {
    color: rgba(255, 255, 255, .42);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.value-media {
    height: 23rem;
    margin: 1.25rem 0 2rem;
    border-radius: .75rem;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(1.75rem, 2.6vw, 2.4rem);
    font-weight: 520;
}

.value-card p {
    color: rgba(255, 255, 255, .58);
    font-size: 1rem;
}

/* Services */
.service-copy {
    top: 7rem;
}

.service-media {
    height: 26rem;
    border-radius: var(--radius-lg);
}

.service-list {
    border-top: 1px solid var(--line);
}

.service-item {
    display: grid;
    grid-template-columns: 3.2rem 1fr;
    gap: 1.4rem;
    padding: 1.7rem 0;
    border-bottom: 1px solid var(--line);
}

.service-item > span {
    padding-top: .15rem;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.service-item p {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.22rem, 1.6vw, 1.55rem);
    line-height: 1.35;
    letter-spacing: -0.02em;
}

/* Career */
.career-title {
    font-size: clamp(2rem, 3vw, 3.4rem);
    font-weight: 520;
    line-height: 1;
}

.career-media {
    height: 34rem;
    border-radius: var(--radius-lg);
}

.career-points {
    border-top: 1px solid var(--line);
}

.career-point {
    display: grid;
    grid-template-columns: 3.2rem 1fr;
    gap: 1.4rem;
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--line);
}

.career-point__num {
    color: var(--muted);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.career-point h3 {
    max-width: 20ch;
    margin-bottom: 1rem;
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    font-weight: 520;
    line-height: 1.08;
}

.career-point p {
    color: var(--muted);
    font-size: 1rem;
}

/* Contacts */
.contacts-modern {
    position: relative;
    min-height: 44rem;
    overflow: hidden;
    background: #dcded9;
}

.contacts-modern iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(.85) contrast(.95) brightness(.97);
}

.contact-card {
    position: relative;
    z-index: 2;
    padding: clamp(2rem, 4vw, 4rem);
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.contact-title {
    max-width: 10ch;
    font-size: clamp(2.5rem, 4.2vw, 4.6rem);
    font-weight: 520;
    line-height: .96;
}

.contact-row {
    display: grid;
    grid-template-columns: 6.7rem 1fr;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
}

.contact-row:last-child {
    border-bottom: 1px solid var(--line);
}

.contact-row__label {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.contact-row a {
    color: var(--ink);
    font-weight: 650;
    text-decoration: none;
}

/* Footer */
.site-footer {
    color: #fff;
    background: var(--ink);
}

.footer-brand img {
    display: block;
    width: auto;
    max-height: 52px;
}

.footer-copy {
    max-width: 32ch;
    color: rgba(255, 255, 255, .52);
}

.footer-heading {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, .42);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.footer-links li + li {
    margin-top: .65rem;
}

.footer-links a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    color: rgba(255, 255, 255, .4);
    border-top: 1px solid var(--line-dark);
    font-size: .86rem;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .brand-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .g-xl-6 {
        --bs-gutter-x: 3rem;
        --bs-gutter-y: 3rem;
    }
}

@media (max-width: 991.98px) {
    html { scroll-padding-top: 72px; }

    .site-navbar {
        min-height: 70px;
    }

    .site-navbar .navbar-collapse {
        margin: 0 -1rem;
        padding: .75rem 1rem 1.25rem;
        background: rgba(11, 13, 16, .97);
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .site-navbar .nav-link {
        padding: .85rem 0 !important;
        font-size: 1.1rem;
    }

    .site-navbar .nav-link::after {
        display: none;
    }

    .btn-nav {
        display: inline-flex;
        margin-top: .5rem;
    }

    .hero-modern__scrim {
        background:
            linear-gradient(90deg, rgba(7, 9, 12, 0.78), rgba(7, 9, 12, 0.38)),
            linear-gradient(180deg, rgba(7, 9, 12, 0.16), rgba(7, 9, 12, 0.75));
    }

    .section-title,
    .section-title-sm {
        max-width: 14ch;
    }

    .lead-copy {
        max-width: 100%;
    }

    .min-banner-height,
    .min-cta-height {
        min-height: 60vh;
    }

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

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

    .stat-card {
        min-height: 12.5rem;
    }

    .service-copy {
        position: static !important;
    }

    .contacts-modern {
        min-height: auto;
        padding-top: 20rem;
    }

    .contacts-modern iframe {
        height: 28rem;
    }
}

@media (max-width: 575.98px) {
    :root {
        --radius: 1rem;
        --radius-lg: 1.35rem;
        --section-y: 5rem;
    }

    body {
        font-size: 1rem;
    }

    .hero-title {
        font-size: clamp(3.6rem, 18vw, 5.4rem);
    }

    .hero-lead {
        font-size: 1.18rem;
    }

    .display-title {
        font-size: clamp(2.8rem, 13vw, 4rem);
    }

    .section-title,
    .section-title-sm {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .media-frame-tall {
        height: 29rem;
    }

    .brand-tile {
        min-height: 7.5rem;
        padding: 1.25rem;
    }

    .brand-tile img {
        max-width: 80%;
        max-height: 40px;
    }

    .logistics-media {
        height: 19rem;
    }

    .stat-card {
        min-height: 11rem;
    }

    .value-media,
    .service-media {
        height: 20rem;
    }

    .career-media {
        height: 26rem;
    }

    .service-item,
    .career-point {
        grid-template-columns: 2.3rem 1fr;
        gap: .8rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-row {
        grid-template-columns: 1fr;
        gap: .35rem;
    }
}

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