@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #12324b;
    --primary-dark: #0a2236;
    --accent: #c9a052;
    --teal: #2b8584;
    --text: #192b38;
    --text-light: #61717b;
    --bg: #ffffff;
    --bg-light: #f3f6f5;
    --border: #dce4e3;
    --white: #ffffff;
    --shadow: 0 12px 32px rgba(18, 50, 75, 0.09);
    --shadow-hover: 0 18px 40px rgba(18, 50, 75, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    color: var(--text);
    background: var(--bg);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
a { text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 3px;
}
.container { width: min(1200px, calc(100% - 48px)); padding: 0; }

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 18px rgba(18, 50, 75, 0.05);
    backdrop-filter: blur(14px);
}
.top-bar { display: none; }
.top-bar .container { justify-content: flex-end; }
.contact-info { gap: 24px; }
.contact-item { gap: 9px; }
.contact-item span { color: var(--accent); }
.nav-container {
    position: relative;
    min-height: 86px;
    padding: 10px 0;
    gap: 24px;
}
.logo { gap: 12px; flex: 0 0 auto; }
.logo img {
    width: 82px;
    height: 58px;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
}
.logo-text h1, .footer-logo h3 {
    color: var(--primary);
    font-family: 'Manrope', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
}
.logo-text span {
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
nav > ul { align-items: center; gap: 18px; }
nav a {
    display: block;
    padding: 9px 0;
    color: var(--text);
    font-size: 0.77rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    transition: color 160ms ease;
}
nav a:hover { color: var(--teal); }
nav a[aria-current="page"], .nav-dropdown details.nav-current > summary { color: var(--teal); }
.nav-dropdown { position: relative; }
.nav-dropdown summary {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 0;
    color: var(--text);
    cursor: pointer;
    font-size: 0.77rem;
    font-weight: 700;
    line-height: 1.3;
    list-style: none;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-chevron {
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 160ms ease, margin 160ms ease;
}
.nav-dropdown details[open] .nav-chevron { margin-top: 4px; transform: rotate(225deg); }
.nav-submenu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    display: grid;
    align-items: stretch;
    gap: 0;
    min-width: 230px;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--white);
    box-shadow: var(--shadow);
    list-style: none;
}
nav .nav-dropdown details:not([open]) > .nav-submenu { display: none; }
.nav-submenu li { border-bottom: 1px solid var(--border); }
.nav-submenu li:last-child { border-bottom: 0; }
.nav-submenu a { padding: 10px 12px; font-size: 0.84rem; white-space: normal; }
.nav-submenu a:hover { background: var(--bg-light); }
.mobile-menu-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--white);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 570px;
    display: flex;
    align-items: center;
    padding: 0;
    text-align: left;
    color: var(--white);
    background-color: var(--primary-dark);
    background-image: linear-gradient(90deg, rgba(7, 24, 39, 0.08) 0%, rgba(7, 24, 39, 0.42) 36%, rgba(7, 24, 39, 0.88) 100%), url('/img/logistics-hero.jpg');
    background-position: center 55%;
    background-size: cover;
}
.hero .container { width: min(1200px, calc(100% - 48px)); }
.hero-content { max-width: 650px; margin: 0 0 0 auto; text-align: left; }
.hero h2, .page-header h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}
.hero h2 { max-width: 620px; margin-bottom: 20px; font-size: 3.25rem; }
.hero p { max-width: 560px; margin: 0 0 30px; color: rgba(255, 255, 255, 0.86); font-size: 1.08rem; }
.hero-actions { justify-content: flex-start; gap: 12px; }
.btn-primary, .btn-accent {
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.btn-primary { background: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--primary-dark); }
.btn-accent:hover { background: #dfb96f; transform: translateY(-1px); }

.trust-band { position: relative; z-index: 1; background: var(--white); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item {
    display: flex;
    align-items: center;
    gap: 17px;
    min-height: 104px;
    padding: 18px 28px;
    border-right: 1px solid var(--border);
}
.trust-item:first-child { border-left: 1px solid var(--border); }
.trust-item > span {
    color: var(--accent);
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
}
.trust-item strong { display: block; color: var(--primary); font-size: 0.96rem; }
.trust-item p { margin: 2px 0 0; color: var(--text-light); font-size: 0.83rem; }

.services, .about, .contact, .contact-form-section, .job-form-section, .jobs-intro, .legal-page {
    padding: 76px 0;
}
.services, .contact, .jobs-intro { background: var(--bg-light); }
.section-title { margin-bottom: 38px; }
.section-title h3, .about-text h3, .jobs-intro h2, .contact-form h2, .job-form h2 {
    color: var(--primary);
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}
.section-title h3 { margin-bottom: 10px; font-size: 2rem; }
.section-title p, .jobs-intro p { color: var(--text-light); }
.section-divider { width: 44px; height: 3px; margin: 0 auto 17px; background: var(--accent); }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.service-card, .contact-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--white);
    box-shadow: 0 6px 20px rgba(18, 50, 75, 0.04);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.service-card:hover, .contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(43, 133, 132, 0.45);
    box-shadow: var(--shadow-hover);
}
.service-icon, .contact-icon { margin-bottom: 15px; color: var(--teal); font-size: 1.8rem; }
.service-card h4, .contact-card h4 {
    margin-bottom: 10px;
    color: var(--primary);
    font-family: 'Manrope', sans-serif;
    font-size: 1.12rem;
    font-weight: 800;
}
.service-card p, .contact-card p, .service-card ul li { color: var(--text-light); font-size: 0.93rem; }
.service-card ul { padding-left: 18px; }
.service-card ul li { margin: 7px 0; }
.about-content { gap: 64px; }
.about-text h3 { margin: 0 0 14px; font-size: 1.55rem; }
.about-text p { color: var(--text-light); }
.values-list li { margin-bottom: 11px; color: var(--text-light); }
.values-list li::before { color: var(--teal); }
.about-image img { max-height: 340px; object-fit: contain; }
.company-info { padding: 26px; border: 1px solid var(--border); border-radius: 5px; background: var(--bg-light); }
.company-info h4 { color: var(--primary); font-family: 'Manrope', sans-serif; }
.company-info p, .company-info a { color: var(--text-light); }

.page-header {
    position: relative;
    overflow: hidden;
    padding: 64px 0;
    background: var(--primary);
    color: var(--white);
    text-align: left;
}
.page-header::after {
    position: absolute;
    right: max(24px, calc((100vw - 1200px) / 2));
    bottom: 0;
    width: 84px;
    height: 4px;
    background: var(--accent);
    content: '';
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { margin-bottom: 9px; font-size: 2.6rem; }
.page-header p { color: rgba(255, 255, 255, 0.78); font-size: 1rem; }

.contact-grid { gap: 18px; }
.contact-card { text-align: left; }
.contact-card a { color: var(--teal); overflow-wrap: anywhere; }
.contact-form-section { background: var(--bg-light); }
.contact-form, .job-form {
    max-width: 760px;
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--white);
    box-shadow: var(--shadow);
}
.contact-form h2, .job-form h2 { margin-bottom: 24px; font-size: 1.75rem; text-align: left; }
.form-group label { color: var(--primary); font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #cbd6d6;
    border-radius: 3px;
    background: #fff;
    color: var(--text);
}
.form-group textarea { min-height: 128px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(43, 133, 132, 0.12);
}
.checkbox-group { align-items: flex-start; margin: 20px 0; color: var(--text-light); font-size: 0.9rem; }
.checkbox-group input { accent-color: var(--teal); }
.file-input { border-color: #b8c8c8; background: var(--bg-light); }
.file-input:hover { border-color: var(--teal); }
.file-input span { color: var(--teal); }
.form-message { border-radius: 3px; }
.legal-content {
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: 5px;
    box-shadow: var(--shadow);
}
.legal-content h1, .legal-content h2 { color: var(--primary); font-family: 'Manrope', sans-serif; }
.legal-content h1 { font-size: 2rem; }
.legal-content h2 { font-size: 1.3rem; }
.legal-content p, .legal-content ul li { color: var(--text-light); }
.back-link { color: var(--teal); }

footer { padding: 54px 0 18px; background: var(--primary-dark); }
.footer-grid { grid-template-columns: 1.35fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-logo { gap: 12px; }
.footer-logo img { width: 68px; height: 46px; object-fit: contain; border-radius: 3px; background: #fff; }
.footer-logo h3 { color: var(--white); font-size: 1.15rem; }
.footer-section h4 { color: var(--accent); font-family: 'Manrope', sans-serif; font-size: 0.88rem; }
.footer-section p, .footer-section ul li { color: rgba(255, 255, 255, 0.66); font-size: 0.84rem; overflow-wrap: anywhere; }
.footer-section ul li a { color: rgba(255, 255, 255, 0.72); }
.footer-section ul li a:hover { color: var(--white); }
.footer-bottom { border-color: rgba(255, 255, 255, 0.16); }

@media (max-width: 1024px) {
    .nav-container { flex-direction: row; align-items: center; }
    .logo { justify-content: flex-start; }
    .mobile-menu-btn { display: block; }
    .nav-container nav { position: absolute; top: 100%; left: 0; right: 0; }
    nav > ul {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 24px 16px;
        border: 1px solid var(--border);
        border-top: 0;
        background: var(--white);
        box-shadow: var(--shadow);
    }
    nav > ul.active { display: flex; }
    nav > ul > li { margin: 0; border-bottom: 1px solid var(--border); }
    nav > ul > li:last-child { border-bottom: 0; }
    nav a { padding: 11px 0; font-size: 0.9rem; white-space: normal; }
    .nav-dropdown summary { padding: 11px 0; font-size: 0.9rem; }
    .nav-submenu {
        position: static;
        min-width: 0;
        padding: 0 0 5px 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .nav-submenu li { border: 0; }
    .nav-submenu a { padding: 9px 0; }
}

@media (max-width: 760px) {
    .container, .hero .container { width: min(100% - 36px, 560px); }
    .top-bar .container { align-items: flex-start; }
    .contact-info { flex-direction: column; align-items: flex-start; gap: 2px; }
    .nav-container { min-height: 76px; }
    .logo img { width: 64px; height: 48px; }
    .logo-text h1 { font-size: 1.15rem; }
    .logo-text span { font-size: 0.52rem; }
    .hero {
        min-height: 590px;
        background-image: linear-gradient(90deg, rgba(7, 24, 39, 0.68), rgba(7, 24, 39, 0.72)), url('/img/logistics-hero.jpg');
        background-position: 38% center;
    }
    .hero-content { margin: 0; }
    .hero h2 { font-size: 2.45rem; }
    .hero p { font-size: 1rem; }
    .hero-actions { align-items: stretch; flex-direction: column; max-width: 330px; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item, .trust-item:first-child { min-height: 78px; padding: 12px 2px; border: 0; border-bottom: 1px solid var(--border); }
    .trust-item:last-child { border-bottom: 0; }
    .services, .about, .contact, .contact-form-section, .job-form-section, .jobs-intro, .legal-page { padding: 54px 0; }
    .section-title { margin-bottom: 28px; }
    .section-title h3 { font-size: 1.65rem; }
    .about-content { gap: 28px; }
    .about-image { order: -1; }
    .about-image img { max-height: 220px; }
    .page-header { padding: 48px 0; }
    .page-header h1 { font-size: 2rem; }
    .page-header::after { right: 18px; width: 54px; }
    .contact-form, .job-form, .legal-content { padding: 23px; }
    .contact-form h2, .job-form h2 { font-size: 1.45rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
    .footer-section:first-child { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
    .container, .hero .container { width: calc(100% - 30px); }
    .contact-item { font-size: 0.72rem; }
    .hero h2 { font-size: 2.05rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-section:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

.cookie-consent[hidden], .cookie-settings[hidden], .cookie-settings-actions[hidden], [data-cookie-main-actions][hidden] { display: none !important; }
.cookie-consent {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 2000;
    max-width: 1080px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent);
    background: var(--white);
    box-shadow: 0 18px 55px rgba(10, 34, 54, 0.24);
}
.cookie-consent-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 34px; padding: 24px 28px; }
.cookie-kicker { margin: 0 0 5px; color: var(--teal); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; }
.cookie-copy h2, .cookie-settings h3 { margin: 0 0 7px; color: var(--primary); font-family: 'Manrope', sans-serif; font-size: 1.15rem; font-weight: 800; line-height: 1.3; }
.cookie-copy > p:last-child { max-width: 620px; margin: 0; color: var(--text-light); font-size: 0.86rem; line-height: 1.55; }
.cookie-copy a { color: var(--teal); font-weight: 700; }
.cookie-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.cookie-button { min-height: 42px; padding: 9px 13px; border: 1px solid var(--primary); border-radius: 3px; background: transparent; color: var(--primary); cursor: pointer; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.cookie-button-primary { background: var(--primary); color: var(--white); }
.cookie-button-primary:hover { background: var(--primary-dark); }
.cookie-button-secondary:hover { background: var(--bg-light); }
.cookie-button-text { border-color: transparent; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.cookie-button-text:hover { background: var(--bg-light); }
.cookie-settings { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--border); }
.cookie-settings h3 { font-size: 1rem; }
.cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 0; border-top: 1px solid var(--border); }
.cookie-option strong, .cookie-option small { display: block; }
.cookie-option strong { color: var(--primary); font-size: 0.86rem; }
.cookie-option small { color: var(--text-light); font-size: 0.78rem; }
.cookie-status { color: var(--text-light); font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.cookie-settings-actions { grid-column: 1 / -1; }
.cookie-policy-button { margin-top: 16px; padding: 10px 14px; border: 1px solid var(--primary); border-radius: 3px; background: var(--white); color: var(--primary); cursor: pointer; font-weight: 700; }
.cookie-policy-button:hover { background: var(--bg-light); }

@media (max-width: 760px) {
    .cookie-consent { right: 10px; bottom: 10px; left: 10px; max-height: calc(100dvh - 20px); overflow-y: auto; }
    .cookie-consent-inner { grid-template-columns: 1fr; gap: 17px; padding: 20px; }
    .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; justify-content: stretch; }
    .cookie-button { white-space: normal; }
    .cookie-button-text { grid-column: 1 / -1; grid-row: 1; }
    .cookie-settings-actions { grid-column: auto; }
}

@media (max-width: 420px) {
    .cookie-actions { grid-template-columns: 1fr; }
    .cookie-button-text { grid-column: auto; grid-row: auto; }
}