.portal-main {
    position: relative;
    z-index: 1;
}

.portal-main--page {
    padding-top: 78px;
}

.portal-main--home {
    padding-top: 0;
}

.portal-messages {
    position: fixed;
    top: 84px;
    right: 24px;
    z-index: 3000;
    max-width: 360px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.portal-messages li {
    margin: 0 0 8px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #171A1F;
    border: 1px solid #2A2E34;
    border-left: 4px solid #FF6B00;
    color: #F2F3F5;
    list-style: none;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .4);
}

.portal-messages li.success {
    border-left-color: #34D399;
}

.portal-messages li.error {
    border-left-color: #F87171;
}

.portal-section {
    position: relative;
    z-index: 2;
    padding: 74px 0;
    background: #0B0C0E;
    border-top: 1px solid #1E2126;
    scroll-margin-top: 80px;
}

.portal-section--alt {
    background: #0E1014;
}

.portal-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.portal-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.portal-section__head h2 {
    margin: 0 0 6px;
    color: #FFFFFF;
    font-size: 2em;
    letter-spacing: -.01em;
}

.portal-section__head p {
    margin: 0;
    max-width: 720px;
    color: #A3A8B0;
    font-size: .95em;
}

.portal-location {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 10px 14px;
    border: 1px solid #2A2E34;
    border-radius: 10px;
    background: #171A1F;
    color: #A3A8B0;
    font-size: .86em;
}

.portal-location__icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: #FF6B00;
}

.portal-location__button {
    flex: 0 0 auto;
    padding: 6px 12px;
    border: 1px solid #3A3F47;
    border-radius: 7px;
    background: transparent;
    color: #F2F3F5;
    font: inherit;
    cursor: pointer;
}

.portal-location__button:hover {
    border-color: #FF6B00;
    color: #FFFFFF;
}

.portal-location__button:disabled {
    opacity: .55;
    cursor: default;
}

.portal-location__button--ghost {
    border-color: transparent;
    color: #FFB27A;
}

.portal-location__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: auto;
}

.portal-city-picker {
    margin: -4px 0 14px;
    padding: 14px;
    border: 1px solid #2A2E34;
    border-radius: 12px;
    background: #171A1F;
}

.portal-city-picker[hidden] {
    display: none;
}

.portal-city-picker__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #F2F3F5;
}

.portal-city-picker__head b {
    font-size: .95em;
}

.portal-city-picker__close {
    padding: 0;
    border: 0;
    background: transparent;
    color: #A3A8B0;
    font-size: 1.4em;
    line-height: 1;
    cursor: pointer;
}

.portal-city-picker__close:hover {
    color: #FFFFFF;
}

.portal-city-picker__hint {
    margin: 5px 0 10px;
    color: #A3A8B0;
    font-size: .8em;
}

.portal-city-picker__field {
    position: relative;
}

.portal-city-picker__field input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #3A3F47;
    border-radius: 8px;
    background: #101216;
    color: #F2F3F5;
    font: inherit;
    font-size: .95em;
}

.portal-city-picker__field input:focus {
    border-color: #FF6B00;
    outline: none;
}

.portal-city-picker__loading {
    position: absolute;
    top: 50%;
    right: 12px;
    color: #A3A8B0;
    font-size: .72em;
    transform: translateY(-50%);
}

.portal-city-picker__suggestions {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 260px;
    margin-top: 8px;
    overflow-y: auto;
}

.portal-city-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #2A2E34;
    border-radius: 7px;
    background: #1B1E23;
    color: #F2F3F5;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.portal-city-option:hover,
.portal-city-option.is-active {
    border-color: #FF6B00;
    background: #22262C;
}

.portal-city-option b {
    font-weight: 600;
}

.portal-city-option span {
    overflow: hidden;
    color: #A3A8B0;
    font-size: .78em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-city-picker__empty {
    padding: 10px 2px;
    color: #A3A8B0;
    font-size: .82em;
}

.portal-map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 16px;
    align-items: start;
}

.portal-map-canvas {
    position: relative;
    min-height: 520px;
    height: 62vh;
    border: 1px solid #2A2E34;
    border-radius: 14px;
    overflow: hidden;
    background: #141821;
}

.portal-map-canvas .leaflet-container {
    width: 100%;
    height: 100%;
    background: transparent;
}

.portal-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.portal-type-marker {
    background: transparent !important;
    border: none !important;
}

.portal-type-marker__badge {
    position: relative;
    box-sizing: border-box;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 3px solid #000000;
    border-radius: 50%;
    background: #FFFFFF;
    color: #171A1F;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
    transition: transform .16s ease, box-shadow .16s ease;
}

.portal-type-marker:hover .portal-type-marker__badge,
.portal-type-marker:focus-within .portal-type-marker__badge {
    transform: scale(1.1);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .55);
}

.portal-type-marker__svg {
    display: block;
    width: 31px;
    height: 31px;
}

.portal-type-marker__img {
    position: absolute;
    inset: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border-radius: 50%;
    background: #FFFFFF;
    object-fit: contain;
}

.portal-user-marker {
    background: transparent !important;
    border: none !important;
}

.portal-user-marker__dot {
    box-sizing: border-box;
    display: block;
    width: 20px;
    height: 20px;
    border: 3px solid #FFFFFF;
    border-radius: 50%;
    background: #2F80ED;
    box-shadow: 0 0 0 6px rgba(47, 128, 237, .28), 0 4px 14px rgba(0, 0, 0, .45);
}

.portal-map-side {
    padding: 14px;
    background: #171A1F;
    border: 1px solid #2A2E34;
    border-radius: 12px;
}

.portal-map-side h3 {
    margin: 0 0 10px;
    color: #FFFFFF;
    font-size: .9em;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.portal-map-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 520px;
    overflow-y: auto;
}

.portal-map-item {
    display: flex;
    gap: 9px;
    align-items: center;
    padding: 8px;
    border: 1px solid #2A2E34;
    border-radius: 9px;
    background: #1B1E23;
    color: #F2F3F5;
    text-decoration: none;
    cursor: pointer;
}

.portal-map-item:hover {
    border-color: rgba(255, 107, 0, .55);
}

.portal-map-item img {
    width: 48px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.portal-map-item b,
.portal-map-item span {
    display: block;
}

.portal-map-item span {
    color: #A3A8B0;
    font-size: .78em;
}

.portal-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 14px;
    color: #A3A8B0;
    font-size: .82em;
}

.portal-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.portal-dot--free { background: #27AE60; }
.portal-dot--busy { background: #F59E0B; }
.portal-dot--service { background: #E5484D; }

.portal-units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.portal-unit-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #171A1F;
    border: 1px solid #2A2E34;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
    transition: transform .25s ease, border-color .25s ease;
}

.portal-unit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 0, .55);
}

.portal-unit-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #0E1014;
}

.portal-unit-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
}

.portal-unit-card h3 {
    margin: 0;
    color: #FFFFFF;
    font-size: 1.05em;
}

.portal-unit-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    color: #A3A8B0;
    font-size: .8em;
}

.portal-unit-card__price {
    color: #FF6B00;
    font-weight: 800;
}

.portal-unit-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.portal-tag {
    padding: 3px 7px;
    border-radius: 5px;
    background: #1B1E23;
    border: 1px solid #2A2E34;
    color: #A3A8B0;
    font-size: .72em;
}

.portal-tag--distance {
    border-color: rgba(255, 107, 0, .45);
    color: #FFB27A;
}

.portal-unit-card__actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.portal-unit-card__actions .btn {
    flex: 1;
    text-align: center;
    padding: 9px 10px;
}

.portal-rating {
    color: #FBBF24;
    letter-spacing: .08em;
}

.portal-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.portal-step {
    padding: 20px;
    background: #171A1F;
    border: 1px solid #2A2E34;
    border-radius: 14px;
}

.portal-step b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #FF6B00;
    color: #FFFFFF;
}

.portal-step h3 {
    margin: 0 0 6px;
    color: #FFFFFF;
    font-size: 1.05em;
}

.portal-step p {
    margin: 0;
    color: #A3A8B0;
    font-size: .88em;
}

a.portal-step {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}

a.portal-step:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 107, 0, .55);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.portal-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.portal-news-card {
    padding: 20px;
    background: #171A1F;
    border: 1px solid #2A2E34;
    border-radius: 14px;
}

.portal-news-card date {
    display: block;
    margin-bottom: 8px;
    color: #FF6B00;
    font-size: .75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.portal-news-card h3 {
    margin: 0 0 8px;
    color: #FFFFFF;
    font-size: 1.05em;
}

.portal-news-card p {
    margin: 0;
    color: #A3A8B0;
    font-size: .86em;
}

.portal-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.portal-about h2 {
    margin: 0 0 12px;
    color: #FFFFFF;
    font-size: 1.8em;
}

.portal-about p {
    color: #A3A8B0;
    line-height: 1.6;
}

.portal-about__stats {
    display: grid;
    gap: 12px;
}

.portal-about__stats div {
    padding: 16px;
    background: #171A1F;
    border: 1px solid #2A2E34;
    border-left: 3px solid #FF6B00;
    border-radius: 12px;
}

.portal-about__stats b {
    display: block;
    color: #FFFFFF;
    font-size: 1.5em;
}

.portal-about__stats span {
    color: #A3A8B0;
    font-size: .82em;
}

.portal-contacts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: center;
}

.portal-contacts h2 {
    margin: 0 0 10px;
    color: #FFFFFF;
    font-size: 1.8em;
}

.portal-contacts p {
    margin: 0;
    color: #A3A8B0;
}

.portal-contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.portal-contacts__grid a,
.portal-contacts__grid div {
    display: block;
    padding: 14px 16px;
    background: #171A1F;
    border: 1px solid #2A2E34;
    border-radius: 12px;
    text-decoration: none;
}

.portal-contacts__grid a:hover {
    border-color: rgba(255, 107, 0, .55);
}

.portal-contacts__grid b {
    display: block;
    color: #FF6B00;
    font-size: .78em;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
}

.portal-contacts__grid span {
    color: #F2F3F5;
    font-weight: 600;
}

.portal-order-modal {
    max-width: 560px;
    width: 92vw;
}

.portal-order-unit {
    margin-bottom: 12px;
    padding: 10px 12px;
    background: #FFF4EA;
    border: 1px solid #FFD5B5;
    border-radius: 9px;
    color: #121317;
    font-weight: 700;
}

body.dark-theme .portal-order-unit {
    background: rgba(255, 107, 0, .12);
    border-color: rgba(255, 107, 0, .35);
    color: #FFFFFF;
}

.portal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-bottom: 12px;
    color: #5E646D;
    font-size: .82em;
    font-weight: 700;
}

.portal-field--full {
    width: 100%;
}

.portal-field input,
.portal-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #E4E6EA;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.portal-field input:focus,
.portal-field textarea:focus {
    outline: none;
    border-color: #FF6B00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, .16);
}

.portal-order-submit {
    width: 100%;
    margin-top: 4px;
}

.portal-popup {
    min-width: 220px;
    color: #121317;
    font-size: .84em;
}

.portal-popup img {
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.portal-popup h4 {
    margin: 0 0 5px;
    font-size: 1em;
}

.portal-popup p {
    margin: 3px 0;
    color: #5E646D;
}

.portal-popup .btn {
    width: 100%;
    margin-top: 8px;
    padding: 7px 10px;
    text-align: center;
}

.portal-empty {
    color: #A3A8B0;
}

@media (max-width: 1024px) {
    .portal-map-layout,
    .portal-about,
    .portal-contacts {
        grid-template-columns: 1fr;
    }

    .portal-news-grid,
    .portal-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .portal-section {
        padding: 48px 0;
    }

    .portal-section__head h2 {
        font-size: 1.6em;
    }

    .portal-map-canvas {
        min-height: 420px;
        height: 50vh;
        border-radius: 12px;
    }

    .portal-news-grid,
    .portal-steps {
        grid-template-columns: 1fr;
    }

    .portal-contacts__grid {
        grid-template-columns: 1fr;
    }

    .portal-messages {
        left: 14px;
        right: 14px;
        max-width: none;
    }
}


/* Модальное окно заявки на публичном портале */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    padding: 20px;
    align-items: center;
    justify-content: center;
    background: rgba(6, 7, 9, .78);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.modal-content {
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #E4E6EA;
}

.modal-header h3 {
    margin: 0;
    color: #121317;
    font-size: 1.1em;
}

.modal-body {
    padding: 18px 20px 22px;
}

.close-btn {
    padding: 0;
    border: none;
    background: transparent;
    color: #5E646D;
    font-size: 1.6em;
    line-height: 1;
    cursor: pointer;
}

body.dark-theme .modal-content {
    background: #171A1F;
}

body.dark-theme .modal-header {
    border-bottom-color: #2A2E34;
}

body.dark-theme .modal-header h3 {
    color: #FFFFFF;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    color: #FF8A2B !important;
    font-size: .92em;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.hero-link:hover {
    color: #FFB36B !important;
}

.hero-audience {
    margin: 18px 0 0 !important;
    color: #A3A8B0 !important;
    font-size: .9em !important;
    line-height: 1.5;
}

.portal-trust {
    position: relative;
    z-index: 2;
    padding: 22px 0;
    border-top: 1px solid #1E2126;
    border-bottom: 1px solid #1E2126;
    background: #0E1014;
}

.portal-trust__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.portal-trust__grid > div {
    padding: 14px 16px;
    border: 1px solid #2A2E34;
    border-radius: 10px;
    background: #171A1F;
}

.portal-trust__grid b {
    display: block;
    color: #FFFFFF;
    font-size: 1.5em;
    line-height: 1.1;
}

.portal-trust__grid span {
    display: block;
    margin-top: 4px;
    color: #A3A8B0;
    font-size: .82em;
}

.pricing-price {
    width: 100%;
    margin: -2px 0 16px;
    color: #FF8A2B;
    font-size: 1.02em;
    font-weight: 700;
    text-align: center;
}

.pricing-note {
    max-width: 760px;
    margin: 26px auto 0;
    color: #A3A8B0;
    font-size: .9em;
    line-height: 1.6;
    text-align: center;
}

.pricing-note a {
    color: #FF8A2B;
    font-weight: 700;
}

.portal-legal {
    max-width: 920px;
}

.portal-legal h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 2.1em;
    letter-spacing: -.02em;
}

.portal-legal__date {
    margin: 0 0 30px !important;
    color: #A3A8B0 !important;
    font-size: .88em !important;
}

.portal-legal h2 {
    margin: 30px 0 10px;
    color: #fff;
    font-size: 1.25em;
}

.portal-legal p {
    margin: 0;
    color: #C6CAD1;
    line-height: 1.7;
}

.portal-legal a {
    color: #FF8A2B;
}

.copyright__legal {
    display: inline-block;
    margin-left: 10px;
    padding-left: 12px;
    border-left: 1px solid #2A2E34;
}

.copyright__legal a {
    color: #A3A8B0;
    text-decoration: none;
}

.copyright__legal a:hover {
    color: #FF8A2B;
}

.portal-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #A3A8B0;
    font-size: .82em;
    line-height: 1.45;
}

.portal-consent input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #FF6B00;
}

.portal-consent a {
    color: #FF8A2B;
}

.logo-img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--landing-orange-soft, #FF8A2B);
    font-size: .82em;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.portal-step {
    border-color: var(--landing-border, #2A2E34);
    background: var(--landing-surface, #171A1F);
}
.portal-step:hover {
    border-color: var(--landing-orange, #FF6B00);
}

.pricing-period {
    width: 100%;
    margin: -10px 0 16px;
    color: var(--landing-muted, #A3A8B0);
    font-size: .82em;
    text-align: center;
}

/* ---------- Анимированная сцена в подвале ---------- */

.footer-motion {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 92px;
    margin: 0 0 28px;
    padding: 10px 0;
    border-bottom: 1px solid #1E2126;
    overflow: hidden;
}

.footer-motion__side {
    position: relative;
    height: 64px;
    overflow: hidden;
}

.footer-motion__side--tech {
    --truck-travel: calc(50vw - 140px);
    color: #FF6B00;
}

.footer-road {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    background: repeating-linear-gradient(90deg, #2A2E34 0 22px, transparent 22px 38px);
    opacity: .8;
}

.footer-truck {
    position: absolute;
    bottom: 7px;
    left: 0;
    width: 150px;
    height: auto;
    animation: footerTruckMove 18s linear infinite;
    filter: drop-shadow(0 10px 14px rgba(255, 107, 0, .16));
}

@keyframes footerTruckMove {
    0% { transform: translateX(-170px); }
    100% { transform: translateX(var(--truck-travel)); }
}

.footer-motion__middle {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #8F959F;
    font-size: .7em;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-motion__middle i {
    color: #FF6B00;
    font-style: normal;
}

.footer-motion__side--money {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-right: 8px;
}

.footer-coin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 176, 32, .45);
    border-radius: 50%;
    background: radial-gradient(circle at 32% 25%, #FFD37A, #E7A600 68%);
    color: #3B2A00;
    font-size: 1.1em;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(231, 166, 0, .22), inset 0 0 0 3px rgba(255, 255, 255, .16);
    animation: footerCoinFloat 4.5s ease-in-out infinite;
}

.footer-coin--2 {
    width: 32px;
    height: 32px;
    animation-delay: -1.4s;
    opacity: .9;
}

.footer-coin--3 {
    width: 24px;
    height: 24px;
    animation-delay: -2.8s;
    opacity: .72;
}

.footer-money-glow {
    position: absolute;
    right: 8%;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 196, 0, .24), transparent 68%);
    pointer-events: none;
}

@keyframes footerCoinFloat {
    0%, 100% { transform: translateY(3px) rotate(-4deg); }
    50% { transform: translateY(-7px) rotate(4deg); }
}

@media (max-width: 720px) {
    .footer-motion {
        grid-template-columns: 1fr;
        gap: 6px;
        min-height: 72px;
        margin-bottom: 20px;
    }

    .footer-motion__side {
        height: 48px;
    }

    .footer-motion__side--money {
        justify-content: flex-start;
        padding-left: 8px;
    }

    .footer-motion__middle {
        order: 2;
        justify-content: center;
    }

    .footer-motion__side--money {
        order: 3;
    }

    .footer-truck {
        width: 118px;
    }

    .footer-motion__side--tech {
        --truck-travel: calc(100vw - 80px);
    }
}

/* ---------- Тарифы: 4 карточки в ряд ---------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.pricing-grid .pricing-card {
    width: auto;
    min-width: 0;
}

@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Современный подвал портала ---------- */

.portal-footer {
    padding: 0 0 24px;
    background: #07080A !important;
    border-top: 1px solid #1E2126;
}

.portal-footer .container {
    max-width: 1240px;
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    margin: 0 0 34px;
    padding: 30px 32px;
    border: 1px solid rgba(255, 107, 0, .28);
    border-radius: 16px;
    background:
        radial-gradient(circle at 88% -20%, rgba(255, 107, 0, .22), transparent 40%),
        linear-gradient(135deg, #171A1F, #101216);
}

.footer-cta__kicker {
    display: block;
    margin-bottom: 8px;
    color: #FF8A2B;
    font-size: .7em;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.footer-cta h2 {
    max-width: 720px;
    margin: 0 0 6px;
    color: #FFFFFF;
    font-size: clamp(1.25em, 2vw, 1.6em);
    letter-spacing: -.025em;
}

.footer-cta p {
    max-width: 660px;
    margin: 0;
    color: #A3A8B0;
    font-size: .86em;
    line-height: 1.55;
}

.footer-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 0 0 auto;
}

.footer-cta__actions .btn {
    white-space: nowrap;
}

.portal-footer .footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 28px;
    margin: 0 0 28px;
}

.portal-footer .footer-column {
    display: block;
}

.portal-footer .footer-column h3 {
    margin: 0 0 14px;
    color: #FFFFFF !important;
    font-size: .76em;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.portal-footer .footer-column p {
    max-width: 320px;
    margin: 0;
    color: #8F959F;
    font-size: .84em;
    line-height: 1.6;
}

.portal-footer .footer-column ul {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portal-footer .footer-column li {
    margin: 0 0 9px;
    white-space: normal;
}

.portal-footer .footer-column a {
    color: #A3A8B0 !important;
    font-size: .86em;
    text-decoration: none;
}

.portal-footer .footer-column a:hover {
    color: #FF8A2B !important;
}

.footer-column--contacts li {
    color: #A3A8B0;
    font-size: .86em;
    overflow-wrap: anywhere;
}

.footer-note {
    display: inline-flex;
    margin-top: 16px;
    padding: 5px 8px;
    border: 1px solid #2A2E34;
    border-radius: 6px;
    color: #6E747D;
    font-size: .7em;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid #1E2126;
    color: #6E747D;
    font-size: .75em;
}

.footer-bottom a {
    color: #8F959F;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #FF8A2B;
}

@media (max-width: 900px) {
    .footer-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }

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

@media (max-width: 560px) {
    .portal-footer .footer-content {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-cta__actions,
    .footer-cta__actions .btn {
        width: 100%;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

.features-page .features-intro {
    max-width: 860px;
    margin: 0 0 32px;
}

.features-page .features-intro h1 {
    margin: 0 0 12px;
    color: #FFFFFF;
    font-size: clamp(2em, 4.2vw, 3.2em);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.features-page .features-intro p {
    margin: 0;
    color: #A3A8B0;
    font-size: 1.02em;
    line-height: 1.65;
}

.features-page .features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.features-page .feature-card {
    width: auto;
    min-width: 0;
    padding: 20px 18px;
    background: linear-gradient(160deg, #1B1E23, #111317) !important;
    border-color: #2A2E34 !important;
    text-align: left;
}

.features-page .feature-card:hover {
    border-color: rgba(255, 107, 0, .55) !important;
}

.features-page .feature-card .title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.features-page .feature-card .feature-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 107, 0, .14) !important;
    color: #FF8A2B !important;
    font-size: .72em;
    font-weight: 900;
    letter-spacing: .04em;
}

.features-page .feature-card h3 {
    width: auto;
    margin: 4px 0 0;
    padding: 0;
    color: #FFFFFF !important;
    font-size: 1em;
    line-height: 1.25;
}

.features-page .feature-card p {
    margin: 14px 0 12px;
    color: #A3A8B0 !important;
    font-size: .84em;
    line-height: 1.55;
}

.feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 13px;
    color: #C6CAD1;
    font-size: .78em;
    line-height: 1.45;
}

.feature-list li + li {
    margin-top: 5px;
}

.feature-list li::before {
    content: '';
    position: absolute;
    top: .55em;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #FF6B00;
}

.features-audience {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 26px;
    padding: 24px 26px;
    border: 1px solid #2A2E34;
    border-radius: 14px;
    background: #171A1F;
}

.features-audience h2 {
    margin: 0 0 7px;
    color: #FFFFFF;
    font-size: 1.35em;
}

.features-audience p {
    max-width: 780px;
    margin: 0;
    color: #A3A8B0;
    font-size: .88em;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .features-page .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .features-page .features-grid {
        grid-template-columns: 1fr;
    }

    .features-audience {
        align-items: flex-start;
        flex-direction: column;
    }
}

.about-page .about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 28px;
    align-items: center;
}

.about-page .about-hero h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(2em, 4vw, 3.3em);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.about-page .about-hero p {
    max-width: 680px;
    margin: 0 0 12px;
    color: #A3A8B0;
    line-height: 1.65;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.about-hero__media,
.about-image {
    margin: 0;
    overflow: hidden;
    border: 1px solid #2A2E34;
    border-radius: 16px;
    background: #171A1F;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
}

.about-hero__media img,
.about-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 430px;
    object-fit: cover;
}

.about-hero__media figcaption {
    padding: 10px 14px;
    color: #8F959F;
    font-size: .74em;
}

.about-stats {
    margin-top: 26px;
}

.about-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
    gap: 26px;
    align-items: center;
    margin-top: 26px;
    padding: 26px;
    border: 1px solid #2A2E34;
    border-radius: 16px;
    background: #171A1F;
}

.about-story--reverse {
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1fr);
}

.about-story h2 {
    margin: 8px 0 10px;
    color: #fff;
    font-size: 1.45em;
}

.about-story p {
    margin: 0 0 10px;
    color: #A3A8B0;
    line-height: 1.65;
}

.about-number {
    color: #FF8A2B;
    font-size: .72em;
    font-weight: 900;
    letter-spacing: .12em;
}

.about-image {
    min-height: 240px;
}

.about-image img {
    min-height: 240px;
    max-height: 300px;
}

.about-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    color: #C6CAD1;
    font-size: .88em;
    line-height: 1.6;
}

.about-list li {
    position: relative;
    padding-left: 16px;
}

.about-list li + li {
    margin-top: 5px;
}

.about-list li::before {
    content: '';
    position: absolute;
    top: .62em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #FF6B00;
}

.about-principles {
    margin-top: 26px;
    padding: 26px;
    border: 1px solid #2A2E34;
    border-radius: 16px;
    background: #0E1014;
}

.about-principles__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.about-principles__grid > div {
    padding: 16px;
    border: 1px solid #2A2E34;
    border-radius: 10px;
    background: #171A1F;
}

.about-principles__grid b {
    display: block;
    margin-bottom: 5px;
    color: #FF8A2B;
}

.about-principles__grid p {
    margin: 0;
    color: #A3A8B0;
    font-size: .8em;
    line-height: 1.5;
}

.about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 26px;
    padding: 24px 26px;
    border: 1px solid rgba(255, 107, 0, .35);
    border-radius: 16px;
    background: linear-gradient(120deg, rgba(255, 107, 0, .12), #171A1F 48%);
}

.about-cta h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1.3em;
}

.about-cta p {
    margin: 0;
    color: #A3A8B0;
    font-size: .86em;
}

@media (max-width: 1000px) {
    .about-page .about-hero,
    .about-story,
    .about-story--reverse {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 600px) {
    .about-principles__grid {
        grid-template-columns: 1fr;
    }

    .about-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}
