


:root {
    
    --color-primary: #2d314c;
    --color-primary-deep: #1a1d33;
    --color-primary-hover: #4c527a;
    --color-primary-soft: #949ac5;
    --color-primary-light: #eef0f7;

    --color-accent: #c6202f;
    --color-accent-hover: #a30a0b;
    --color-accent-soft: #fef2f2;

    
    --color-blue: #0039a6;
    --color-blue-hover: #002b80;
    --color-blue-soft: #e6efff;

    --color-bg: #ffffff;
    --color-bg-alt: #f6f7fa;
    --color-bg-dark: #1a1d33;
    --color-border: #e3e6ee;
    --color-text: #1a1d33;
    --color-text-muted: #6b7390;
    --color-success: #16a34a;

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(26, 29, 51, 0.06);
    --shadow-md: 0 6px 18px rgba(26, 29, 51, 0.08);
    --shadow-lg: 0 18px 40px rgba(26, 29, 51, 0.14);
    --shadow-red: 0 12px 28px rgba(198, 32, 47, 0.25);

    --container: 1140px;
    --transition: 0.2s ease;

    
    --chevron-flag: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 14px 50%);
    --service-flag-clip: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}


* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    margin: 0;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
button { font-family: inherit; cursor: pointer; }


h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-primary);
    margin: 0 0 0.6em;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(22px, 2.6vw, 30px); }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.container { max-width: var(--container); }
section { padding: 90px 0; }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--color-text-muted); font-size: 17px; margin: 0; }


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    padding: 14px 26px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary,
.redbuton {
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(198, 32, 47, 0.3);
}
.btn-primary:hover,
.redbuton:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}
.btn-secondary,
.go_sotr {
    background: linear-gradient(180deg, var(--color-primary-hover) 0%, var(--color-primary) 100%);
    color: #fff;
    border-color: transparent;
}
.btn-secondary:hover,
.go_sotr:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-border);
}
.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-bg-alt);
}
.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn-link {
    background: none; border: none;
    color: var(--color-primary);
    font-weight: 700;
    padding: 14px 8px;
}
.btn-link:hover { color: var(--color-accent); }


.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.25s ease;
}

.site-header::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(to right,
        #ffffff 0%, #ffffff 33.33%,
        var(--color-blue) 33.33%, var(--color-blue) 66.66%,
        var(--color-accent) 66.66%, var(--color-accent) 100%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.site-header.is-stuck {
    box-shadow: 0 4px 20px rgba(15, 17, 36, 0.08);
}


.site-header-minimal .topbar { border-bottom: none; }
.site-header-minimal .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 16px 0;
}
.site-header-minimal .brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 18px;
    border-right: 1px solid var(--color-border);
}
.site-header-minimal .brand img { width: 56px; height: auto; flex-shrink: 0; }
.site-header-minimal .brand-text strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}
.site-header-minimal .brand-text strong em {
    font-style: normal;
    color: var(--color-accent);
}
.site-header-minimal .brand-text > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: var(--color-text-muted);
    margin-top: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.site-header-minimal .brand-text > span::before {
    content: "";
    width: 5px;
    height: 5px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
}


.mainnav-inline {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0;
    background: none;
    border: none;
}
.mainnav-inline .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    gap: 4px;
}
.mainnav-inline .nav-link {
    color: var(--color-text) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 14px !important;
    border-radius: var(--radius);
    border-bottom: none !important;
    transition: all var(--transition);
    line-height: 1;
    white-space: nowrap;
}
.mainnav-inline .nav-link:hover {
    color: var(--color-primary) !important;
    background: var(--color-bg-alt);
}
.mainnav-inline .nav-link.active {
    color: var(--color-accent) !important;
    background: var(--color-accent-soft);
}


.nav-dropdown-wrap {
    position: relative;
    display: inline-flex;
}
.nav-link-with-arrow {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}
.nav-arrow {
    width: 10px;
    height: 10px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.nav-dropdown-wrap:hover .nav-arrow {
    transform: rotate(180deg);
}


.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: -8px;
    min-width: 260px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 36px rgba(15, 17, 36, 0.14),
                0 2px 8px rgba(15, 17, 36, 0.06);
    border: 1px solid var(--color-border);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 200;
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -10px; left: 0; right: 0;
    height: 10px;
}
.nav-dropdown-wrap:hover > .nav-dropdown,
.nav-dropdown-wrap:focus-within > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    position: relative;
}
.nav-dropdown-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px !important;
    color: var(--color-text) !important;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius);
    border-bottom: none !important;
    line-height: 1.2;
    white-space: nowrap;
    transition: all 0.15s ease;
}
.nav-dropdown-item:hover > .nav-dropdown-link {
    background: var(--color-bg-alt);
    color: var(--color-primary) !important;
}
.nav-arrow-right {
    width: 10px;
    height: 10px;
    color: var(--color-text-muted);
    transition: transform 0.2s, color 0.2s;
    flex-shrink: 0;
}
.nav-dropdown-item:hover .nav-arrow-right {
    color: var(--color-accent);
    transform: translateX(2px);
}


.nav-submenu {
    position: absolute;
    top: -8px;
    left: calc(100% + 6px);
    min-width: 280px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 36px rgba(15, 17, 36, 0.14),
                0 2px 8px rgba(15, 17, 36, 0.06);
    border: 1px solid var(--color-border);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav-submenu::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: -10px;
    width: 12px;
}
.nav-dropdown-item:hover > .nav-submenu,
.nav-dropdown-item:focus-within > .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.nav-submenu a {
    display: block;
    padding: 10px 14px;
    color: var(--color-text);
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius);
    line-height: 1.3;
    white-space: nowrap;
    transition: all 0.15s ease;
}
.nav-submenu a:hover {
    background: var(--color-accent-soft);
    color: var(--color-accent);
    transform: translateX(3px);
}


.fixed-menu .nav-dropdown,
.is-stuck .nav-dropdown {
    box-shadow: 0 16px 40px rgba(15, 17, 36, 0.18);
}


.site-header-minimal .topbar-contacts {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}
.site-header-minimal .topbar-phone { font-size: 16px; line-height: 1; }
.site-header-minimal .topbar-contacts .btn {
    padding: 11px 22px;
    font-size: 14px;
}


.utility-bar {
    background: rgba(15, 17, 36, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 101;
}
.utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.utility-left,
.utility-right {
    display: flex;
    align-items: center;
    gap: 24px;
}
.utility-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    line-height: 1;
}
.utility-item svg {
    width: 14px;
    height: 14px;
    color: var(--color-accent);
    flex-shrink: 0;
}
.utility-item a,
a.utility-item {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}
.utility-item a:hover,
a.utility-item:hover { color: #fff; }
.utility-social {
    display: flex;
    gap: 6px;
}
.utility-social a {
    color: rgba(255, 255, 255, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--transition);
}
.utility-social a:hover {
    color: #fff;
    background: var(--color-accent);
}
.utility-social svg { width: 14px; height: 14px; }


.topbar {
    background: transparent;
    border-bottom: none;
    position: relative;
    z-index: 100;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.brand img { width: 50px; height: auto; }
.brand-text { line-height: 1.2; }
.brand-text strong {
    display: block;
    font-weight: 800;
    color: var(--color-primary);
    font-size: 16px;
    letter-spacing: -0.01em;
}
.brand-text > span {
    display: block;
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 2px;
    line-height: 1.3;
    font-weight: 500;
}


.route-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 10px 10px 18px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex: 1;
    max-width: 480px;
    backdrop-filter: blur(6px);
}
.route-widget-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 4px;
}
.route-widget-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}
.route-widget .city-from {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    cursor: default;
    color: #fff;
}
.route-widget .city-select {
    border: none;
    background: transparent;
    font-weight: 700;
    color: #fff;
    outline: none;
    cursor: pointer;
    max-width: 160px;
    border-bottom: 1px solid var(--color-accent);
    padding: 0;
    font-family: inherit;
}
.route-widget .city-select option {
    color: var(--color-text);
    background: #fff;
}
.route-widget .btn { padding: 11px 20px; font-size: 13px; }

.topbar-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
    flex-shrink: 0;
}
.topbar-phone {
    font-size: 17px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}
.topbar-phone:hover { color: var(--color-accent); }
.topbar-consult {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 600;
    margin-top: 4px;
}
.topbar-consult:hover { color: var(--color-accent-hover); text-decoration: underline; }


.mobile-topbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 8px;
}
.mobile-topbar .brand img { width: 44px; height: auto; }
.mobile-call,
.mobile-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--color-bg-alt);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}
.mobile-call {
    background: linear-gradient(180deg, var(--color-accent), var(--color-accent-hover));
    color: #fff;
    border-color: transparent;
}
.mobile-call:hover { color: #fff; }


.mainnav {
    background: rgba(15, 17, 36, 0.4);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
}
.mainnav .navbar-nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 0;
}
.mainnav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    font-size: 15px;
    padding: 18px 22px !important;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}
.mainnav .nav-link:hover { color: #fff !important; }
.mainnav .nav-link.active {
    color: var(--color-accent) !important;
    border-bottom-color: var(--color-accent);
}
.fixed-menu {
    position: fixed !important;
    top: 0; left: 0; width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(15, 17, 36, 0.08);
    border-bottom-color: var(--color-border) !important;
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}


.mobile-menu {
    position: fixed; top: 0; right: 0;
    width: min(85vw, 380px); height: 100vh;
    background: #fff;
    box-shadow: -16px 0 40px rgba(15, 17, 36, 0.18);
    padding: 72px 24px 32px;
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    pointer-events: none;
    visibility: hidden;
}
.mobile-menu.open {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
}
.mobile-menu a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-text);
}
.mobile-menu a:hover { color: var(--color-accent); }


.mobile-submenu {
    border-bottom: 1px solid var(--color-border);
}
.mobile-submenu > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
}
.mobile-submenu > summary::-webkit-details-marker { display: none; }
.mobile-submenu > summary::after {
    content: "›";
    font-size: 22px;
    color: var(--color-text-muted);
    transition: transform 0.2s;
    line-height: 1;
}
.mobile-submenu[open] > summary::after {
    transform: rotate(90deg);
    color: var(--color-accent);
}
.mobile-submenu[open] > summary {
    color: var(--color-accent);
    border-bottom: 1px solid var(--color-border);
}
.mobile-sub-section {
    padding-left: 14px;
    border-left: 2px solid var(--color-border);
    margin: 8px 0 8px 4px;
}
.mobile-sub-section > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-primary);
    cursor: pointer;
    list-style: none;
    border-bottom: none;
}
.mobile-sub-section > summary::-webkit-details-marker { display: none; }
.mobile-sub-section > summary::after {
    content: "+";
    font-size: 18px;
    color: var(--color-text-muted);
    transition: transform 0.2s;
    line-height: 1;
    width: 16px;
    text-align: center;
}
.mobile-sub-section[open] > summary::after {
    content: "−";
    color: var(--color-accent);
}
.mobile-sub-section a {
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    border-bottom: none;
}
.mobile-sub-section a:hover { color: var(--color-accent); }
.mobile-menu-close {
    position: absolute; top: 16px; right: 16px;
    width: 40px; height: 40px;
    border-radius: var(--radius);
    background: var(--color-bg-alt);
    border: none;
    font-size: 24px;
    color: var(--color-primary);
}
.mobile-menu-backdrop {
    position: fixed; inset: 0;
    background: rgba(26,29,51,0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
}
.mobile-menu-backdrop.open {
    opacity: 1;
    visibility: visible;
}


.hero {
    position: relative;
    padding: 120px 0 130px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(76, 82, 122, 0.35) 0%, transparent 55%),
        linear-gradient(180deg, #0f1124 0%, #181b35 50%, #0f1124 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.025) 1px, transparent 0);
    background-size: 32px 32px;
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 80% at 50% 50%, transparent 0%, transparent 50%, rgba(26, 29, 51, 0.55) 100%);
    z-index: 1;
    pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }


.hero-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}
.hero-map .route {
    fill: none;
    stroke: rgba(255, 255, 255, 0.45);
    stroke-width: 1.2;
    stroke-dasharray: 4 5;
    stroke-linecap: round;
}
.hero-map .route-main {
    stroke: rgba(198, 32, 47, 0.7);
    stroke-width: 1.6;
    stroke-dasharray: none;
    filter: drop-shadow(0 0 4px rgba(198, 32, 47, 0.4));
}
.hero-map .city-dot {
    fill: rgba(255, 255, 255, 0.7);
}
.hero-map .city-label {
    fill: rgba(255, 255, 255, 0.4);
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 500;
}
.hero-map .hub-glow {
    fill: rgba(198, 32, 47, 0.18);
}
.hero-map .hub-ring {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 1.2;
    transform-origin: center;
    animation: pulseRing 3s ease-out infinite;
}
.hero-map .hub-dot {
    fill: var(--color-accent);
    filter: drop-shadow(0 0 4px rgba(198, 32, 47, 0.6));
}
.hero-map .moving-cargo {
    fill: #fff;
    filter: drop-shadow(0 0 3px rgba(198, 32, 47, 0.6));
}
@keyframes pulseRing {
    0%   { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}


.hero-floats {
    display: none; 
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.float-card {
    position: absolute;
    max-width: 230px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    box-shadow:
        0 12px 30px rgba(45, 49, 76, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    pointer-events: auto;
    transition: transform 0.4s ease;
    animation: floatY 6s ease-in-out infinite;
}
.float-card:hover { transform: translateY(-4px); }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

.float-card .float-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.float-card.f-route .float-icon { background: var(--color-primary-light); color: var(--color-primary); }
.float-card.f-status .float-icon { background: var(--color-accent-soft); color: var(--color-accent); }
.float-card.f-time .float-icon { background: #ecfdf5; color: var(--color-success); }
.float-card .float-icon svg { width: 22px; height: 22px; }

.float-card .float-meta {
    font-size: 10px;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.float-card .float-value {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.float-card .float-value small {
    font-weight: 500;
    color: var(--color-text-muted);
    font-size: 11px;
    display: block;
    margin-top: 2px;
}


.float-card.f-route  { top: 30px;   left: 4%;   animation-delay: 0s; }
.float-card.f-status { top: 30px;   right: 4%;  animation-delay: 1.5s; }
.float-card.f-time   { bottom: 30px; right: 6%; top: auto; animation-delay: 3s; }
.hero .container { position: relative; z-index: 1; }

.hero-caption {
    font-size: clamp(14px, 1.6vw, 18px);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 24px;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.hero-brand {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin: 0 0 80px;
    letter-spacing: -0.03em;
}
.hero-brand span { color: var(--color-accent); }


.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1080px;
    margin: 0 auto 80px;
    text-align: left;
}
.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 17px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}
.hero-feature::before {
    content: "";
    flex-shrink: 0;
    width: 18px; height: 18px;
    margin-top: 3px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(198,32,47,0.3);
    position: relative;
}
.hero-feature::after {
    content: "";
    position: absolute;
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    margin: 9px 0 0 6px;
}


.hero-slogan {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    color: #fff;
    margin: 0 auto 60px;
    max-width: 900px;
    line-height: 1.3;
}


.btn-xl {
    padding: 22px 56px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero .btn-secondary {
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    border-color: transparent;
    box-shadow:
        0 12px 32px rgba(198, 32, 47, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.hero .btn-secondary:hover {
    box-shadow:
        0 16px 40px rgba(198, 32, 47, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}


.hero-scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 70px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    font-size: 14px;
    text-transform: lowercase;
    transition: color var(--transition);
}
.hero-scroll:hover { color: #fff; }
.hero-scroll-arrow {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}
.hero-scroll:hover .hero-scroll-arrow {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(3px);
}


.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 60px;
    margin-top: 50px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    justify-content: center;
}
.trust-item { text-align: center; }
.trust-item strong {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}
.trust-item strong em { color: var(--color-accent); font-style: normal; }
.trust-item span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.services {
    background:
        linear-gradient(180deg, rgba(246,247,250,0.85) 0%, rgba(246,247,250,0.95) 100%),
        url('../img/twofon.png') center / cover no-repeat;
    position: relative;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.service-photo {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--color-bg-alt);
    position: relative;
}
.service-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.service-card:hover .service-photo img { transform: scale(1.05); }

.service-body {
    padding: 0 24px 26px;
    position: relative;
}


.service-flag {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary));
    color: #fff;
    padding: 14px 38px 14px 20px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    clip-path: var(--service-flag-clip);
    margin: -28px 0 18px -24px;
    position: relative;
    z-index: 2;
    line-height: 1.25;
    max-width: 90%;
    box-shadow: 0 6px 16px rgba(45,49,76,0.25);
    transition: background var(--transition);
}
.service-card:hover .service-flag {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
}
.service-body p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}


.scheme { background: var(--color-bg); padding: 100px 0; }
.scheme-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    padding: 0 20px;
}


.scheme-grid::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 60px;
    right: 60px;
    height: 22px;
    background-image: repeating-linear-gradient(
        to right,
        rgba(45, 49, 76, 0.18) 0,
        rgba(45, 49, 76, 0.18) 4px,
        transparent 4px,
        transparent 26px
    );
    z-index: 0;
}

.scheme-grid::after {
    content: "";
    position: absolute;
    top: 32px;
    left: 60px;
    right: 60px;
    height: 14px;
    background:
        linear-gradient(to bottom,
            transparent 0,
            transparent 12%,
            #94a3b8 12%,
            #94a3b8 28%,
            transparent 28%,
            transparent 72%,
            #94a3b8 72%,
            #94a3b8 88%,
            transparent 88%);
    z-index: 0;
}

.scheme-step {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}


.scheme-station {
    width: 76px;
    height: 76px;
    background: #fff;
    border: 4px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    font-family: 'Manrope', sans-serif;
    line-height: 1;
    letter-spacing: -0.02em;
    box-shadow:
        0 0 0 6px rgba(255, 255, 255, 0.9),
        0 8px 20px rgba(45, 49, 76, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}
.scheme-step:hover .scheme-station {
    transform: translateY(-6px);
    box-shadow:
        0 0 0 6px rgba(255, 255, 255, 0.9),
        0 14px 28px rgba(45, 49, 76, 0.22);
}


.scheme-step:last-child .scheme-station {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    border-color: var(--color-accent);
    color: #fff;
    box-shadow:
        0 0 0 6px rgba(255, 255, 255, 0.9),
        0 10px 28px rgba(198, 32, 47, 0.4);
}
.scheme-step:last-child:hover .scheme-station {
    box-shadow:
        0 0 0 6px rgba(255, 255, 255, 0.9),
        0 16px 36px rgba(198, 32, 47, 0.5);
}

.scheme-label {
    margin-top: 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
    max-width: 180px;
}
.scheme-step:last-child .scheme-label {
    color: var(--color-accent);
}


.partners { background: var(--color-bg-alt); padding: 70px 0; }
.partners .slider div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
}
.partners .slider img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: all var(--transition);
}
.partners .slider div:hover img,
.partners .slider div.active-center img {
    filter: grayscale(0%);
    opacity: 1;
}
.partners .bx-wrapper {
    box-shadow: none; border: none; background: transparent;
    margin: 0 auto;
}
.partners .bx-wrapper .bx-controls-direction a {
    width: 40px; height: 40px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    top: 50%; margin-top: -20px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    z-index: 5;
}
.partners .bx-wrapper .bx-controls-direction a:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
}
.partners .bx-wrapper .bx-prev,
.partners .bx-wrapper .bx-next {
    background-image: none;
    text-indent: -9999px;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    color: transparent;
    display: flex; align-items: center; justify-content: center;
}
.partners .bx-wrapper .bx-prev::before,
.partners .bx-wrapper .bx-next::before {
    content: "";
    text-indent: 0;
    width: 11px; height: 11px;
    border-top: 2.5px solid var(--color-primary);
    border-right: 2.5px solid var(--color-primary);
    display: block;
    transition: border-color var(--transition);
    position: absolute;
    top: 50%;
    left: 50%;
}
.partners .bx-wrapper .bx-prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}
.partners .bx-wrapper .bx-next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}
.partners .bx-wrapper a:hover::before { border-color: #fff; }
.partners .bx-wrapper .bx-prev { left: -60px; }
.partners .bx-wrapper .bx-next { right: -60px; }


.cases { background: var(--color-bg); }
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.case-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}
.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.case-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-bg-alt);
}
.case-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.case-card:hover .case-card-img img { transform: scale(1.05); }
.case-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(26,29,51,0.4) 100%);
}
.case-body { padding: 24px; }
.case-body h4 { margin-bottom: 8px; font-size: 18px; }
.case-body p { color: var(--color-text-muted); font-size: 14px; margin: 0; }


.reviews-home {
    background:
        linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}
.reviews-home-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 44px;
}
.review-mini {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    gap: 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    position: relative;
}
.review-mini::before {
    content: "“";
    position: absolute;
    top: 12px; right: 24px;
    font-size: 80px;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--color-primary-light);
    pointer-events: none;
}
.review-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
    box-shadow: var(--shadow-sm);
}
.review-mini h4 { font-size: 16px; margin-bottom: 6px; color: var(--color-primary); }
.review-mini p { font-size: 14px; color: var(--color-text-muted); margin: 0; line-height: 1.6; }
.reviews-home .text-center { text-align: center; }


.contacts-block {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.contacts-block::before {
    content: "";
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 50px;
    background: var(--color-bg);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}
.contacts-block::after {
    content: "";
    position: absolute;
    bottom: 0; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(198,32,47,0.15), transparent 70%);
    pointer-events: none;
}
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    position: relative;
}
.contacts-info h3 { color: #fff; margin-bottom: 28px; }


.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(107, 155, 255, 0.12);
    border: 1px solid rgba(107, 155, 255, 0.28);
    color: #b8d0ff;
    font-size: 12px;
    font-weight: 700;
    padding: 9px 16px 9px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
    line-height: 1.3;
}
.trust-badge svg {
    width: 18px; height: 18px;
    color: #6b9bff;
    flex-shrink: 0;
}
.contacts-info .contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}
.contacts-info .contact-row svg {
    width: 20px; height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #6b9bff;
}
.contacts-info .contact-row a { color: #fff; }
.contacts-info .contact-row a:hover { color: var(--color-accent); }


.contact-map {
    display: block;
    margin-top: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    transition: all 0.3s ease;
}
.contact-map:hover {
    border-color: rgba(198, 32, 47, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.contact-map svg {
    width: 100%;
    height: auto;
    display: block;
}
.contact-map-label {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 12px 16px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 60%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.contact-map-arrow {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 600;
    transition: color 0.2s;
}
.contact-map:hover .contact-map-arrow { color: var(--color-accent); }

.team-block h3 { color: #fff; margin-bottom: 28px; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.team-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    backdrop-filter: blur(4px);
    transition: all var(--transition);
}
.team-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
.team-photo-wrap {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
}
.team-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255,255,255,0.1);
    border: 3px solid rgba(255,255,255,0.15);
    display: block;
    transition: border-color 0.3s ease;
}
.team-card:hover img { border-color: rgba(255,255,255,0.3); }


.team-online {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: #16a34a;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
    animation: pulse-online 2s ease-out infinite;
    z-index: 1;
}
@keyframes pulse-online {
    0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}


.team-chat {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    justify-content: center;
}
.team-chat-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.25s ease;
}
.team-chat-btn:hover {
    transform: translateY(-2px) scale(1.08);
    color: #fff;
}
.team-wa:hover { background: #25d366; border-color: #25d366; box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4); }
.team-tg:hover { background: #29b6f6; border-color: #29b6f6; box-shadow: 0 6px 16px rgba(41, 182, 246, 0.4); }
.team-max:hover { background: #0078ff; border-color: #0078ff; box-shadow: 0 6px 16px rgba(0, 120, 255, 0.45); }
.team-chat-btn svg { width: 17px; height: 17px; }
.team-max svg { width: 15px; height: 15px; }
.team-card .team-name {
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    margin-bottom: 2px;
}
.team-card .team-role {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.team-card .team-phone {
    font-size: 15px;
    color: #fff;
    font-weight: 700;
}
.team-card .team-phone:hover { color: var(--color-accent); }


footer { background: var(--color-bg-dark); color: rgba(255, 255, 255, 0.85); }
.foot-cta {
    padding: 70px 0;
    background: var(--color-bg-dark);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.foot-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.foot-cta h3 { color: #fff; margin-bottom: 16px; }
.foot-cta ul {
    padding: 0; margin: 0 0 24px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}
.foot-cta ul li {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}
.foot-cta ul li::before {
    content: "";
    width: 18px; height: 18px;
    background: var(--color-accent);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8l2.5 2.5L12 5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
.subscribe-form { display: flex; gap: 8px; max-width: 480px; }
.subscribe-form input {
    flex: 1;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,0.4); }
.subscribe-form input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.12);
}
#subSuccess { color: var(--color-success); }
.foot-bottom {
    padding: 24px 0;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.foot-bottom p { margin: 0; }


.case_popup_bg, .consult_popup_bg {
    position: fixed; inset: 0;
    background: rgba(26, 29, 51, 0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.case_popup, .consult_popup {
    background: #fff;
    width: 100%;
    max-width: 480px;
    padding: 40px 36px 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    text-align: center;
    animation: popIn 0.2s ease;
}
@keyframes popIn {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.case_popup_close, .consult_popup_close {
    position: absolute;
    right: 14px; top: 14px;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--color-bg-alt);
    color: var(--color-text);
    font-size: 22px;
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.case_popup_close:hover, .consult_popup_close:hover {
    background: var(--color-accent);
    color: #fff;
}
.case_popup h3, .consult_popup h3 {
    margin-bottom: 22px;
    font-size: 24px;
}
.consult_popup input,
.consult_popup textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color var(--transition);
}
.consult_popup input:focus,
.consult_popup textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}
.consult_popup textarea { resize: none; }
.route-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: end;
    margin-bottom: 12px;
}
.route-field label {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
    display: block;
    text-align: left;
}
.route-field input {
    margin-bottom: 0 !important;
    font-weight: 600;
    background: var(--color-bg-alt);
}
.route-arrow {
    font-size: 20px;
    color: var(--color-accent);
    padding-bottom: 14px;
    font-weight: 700;
}


.reviews-hero {
    padding: 80px 0 90px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(76, 82, 122, 0.35) 0%, transparent 55%),
        linear-gradient(180deg, #0f1124 0%, #181b35 50%, #0f1124 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
}
.reviews-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1.5px 1.5px, rgba(255, 255, 255, 0.04) 1.5px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
}
.reviews-hero .container { position: relative; z-index: 1; }
.reviews-hero .section-eyebrow {
    color: var(--color-accent);
}
.reviews-hero-title {
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.reviews-hero-title .accent-box {
    display: inline-block;
    background: linear-gradient(180deg, var(--color-accent), var(--color-accent-hover));
    color: #fff;
    padding: 4px 22px;
    border-radius: var(--radius);
    margin: 0 8px;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(198, 32, 47, 0.4);
}
.reviews-hero-lead {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 620px;
    margin: 0 auto 44px;
}
.reviews-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    padding: 4px;
}
.reviews-hero-stats .stat {
    padding: 22px 38px;
}
.reviews-hero-stats .stat-num {
    font-size: 44px;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    display: block;
    letter-spacing: -0.03em;
}
.reviews-hero-stats .stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 6px;
    font-weight: 600;
}
.reviews-hero-stats .stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    align-self: stretch;
}


.reviews-section { padding: 60px 0 100px; background: var(--color-bg-alt); }
.reviews-actions {
    text-align: center;
    margin-bottom: 48px;
}
.review-wrapper { margin-bottom: 24px; }
.review-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    gap: 22px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
    border: 1px solid var(--color-border);
}
.review-card.card-blue {
    background: linear-gradient(135deg, var(--color-primary-light), #fff);
    border-color: transparent;
}
.review-card.is-long.collapsed {
    max-height: 280px;
    overflow: hidden;
    position: relative;
}
.review-card.is-long.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, #fff);
}
.review-card.card-blue.is-long.collapsed::after {
    background: linear-gradient(to bottom, transparent, var(--color-primary-light));
}
.review-card .review-logo { flex: 0 0 56px; }
.review-card .logo-box {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
    box-shadow: var(--shadow-sm);
}
.review-card .review-content { flex: 1; min-width: 0; }
.review-card .review-content h4 {
    font-size: 17px;
    margin-bottom: 4px;
    color: var(--color-primary);
}
.review-meta {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 14px;
}
.review-card .review-content p {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.6;
    margin: 0 0 10px;
}
.review-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 0 0;
    cursor: pointer;
}
.review-toggle:hover { color: var(--color-accent-hover); text-decoration: underline; }
.review-card.is-long .review-toggle { display: inline-block; }


@media (max-width: 991px) {
    .topbar-inner { gap: 16px; }
    .route-widget { max-width: 100%; }
    .topbar-contacts { display: none; }
    .hero-features { grid-template-columns: 1fr; gap: 18px; max-width: 540px; }
    .hero-floats { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    
    .contacts-grid .team-block { order: -1; }
    .contacts-grid .contacts-info { order: 0; }
    .scheme-grid { gap: 32px; padding: 0; flex-wrap: wrap; justify-content: center; }
    .scheme-grid::before, .scheme-grid::after { display: none; }
    .scheme-step { flex: 1 1 calc(33% - 32px); min-width: 160px; }
    .scheme-label { margin-top: 18px; }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-home-grid { grid-template-columns: 1fr; }
    .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
    .foot-cta-grid { grid-template-columns: 1fr; gap: 32px; }
    .partners .bx-wrapper .bx-prev { left: -20px; }
    .partners .bx-wrapper .bx-next { right: -20px; }
}

@media (max-width: 767px) {
    section { padding: 60px 0; }
    .utility-bar { display: none; }
    .site-header-minimal .topbar-inner { display: none; }
    .topbar-inner { display: none; }
    .mainnav, .mainnav-inline { display: none; }
    .mobile-topbar { display: flex; }

    
    .site-header { position: sticky; top: 0; }
    .hero { padding: 60px 0 70px; }
    .hero-brand { margin-bottom: 48px; }
    .hero-features { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
    .hero-slogan { margin-bottom: 36px; }
    .hero-scroll { margin-top: 48px; }
    .btn-xl { padding: 18px 32px; font-size: 16px; width: 100%; }
    .hero-floats { display: none; }

    .services-grid { grid-template-columns: 1fr; }
    .scheme-grid { flex-direction: column; }
    .scheme-step { width: 100%; flex: none; }
    .cases-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .subscribe-form { flex-direction: column; }

    .reviews-hero-stats {
        flex-direction: column;
        gap: 0;
    }
    .reviews-hero-stats .stat { padding: 16px 32px; }
    .reviews-hero-stats .stat-divider {
        width: 60%; height: 1px;
        align-self: center;
    }
    .review-card { flex-direction: column; gap: 16px; padding: 22px; }
    .review-card .review-logo { flex: 0 0 auto; }

    .case_popup, .consult_popup { padding: 28px 22px; }
    .route-inputs { grid-template-columns: 1fr; }
    .route-arrow { display: none; }
}


.first_scroll {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}
