/*
 * Final responsive fidelity layer for Figma nodes 7:69, 7:430 and 7:777.
 * Loaded last so these reference measurements win over legacy responsive CSS.
 */

.hero h1 span {
    display: block;
}

.process__lead {
    display: none;
}

@media (min-width: 781px) {
    .transport,
    .delivery,
    .process,
    .solutions,
    .quote {
        margin-top: 64px;
    }

    .solutions {
        height: 520px;
        overflow: hidden;
    }

    .solutions__pin {
        height: 100%;
    }

    .solutions-grid {
        overflow: visible;
        transform: none !important;
    }
}

@media (max-width: 780px) {
    html,
    body {
        width: 100%;
        min-width: 0;
        overflow-x: clip;
        scrollbar-width: none;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none;
    }

    .container {
        width: calc(100% - 32px);
        max-width: 358px;
    }

    .site-header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        padding: 16px 0;
        background: transparent;
    }

    .site-header__inner {
        width: calc(100% - 32px);
        max-width: 358px;
        height: 48px;
        margin: 0 auto;
    }

    .desktop-nav,
    .site-header__actions > a {
        display: none;
    }

    .brand,
    .brand img {
        width: 136px;
        height: 48px;
    }

    .menu-toggle {
        display: flex;
        width: 40px;
        height: 40px;
    }

    .hero {
        height: 1164px;
        min-height: 1164px;
        padding: 0;
        overflow: hidden;
    }

    .hero__inner {
        min-height: 0;
    }

    .hero__copy {
        position: absolute;
        top: 120px;
        left: 16px;
        width: calc(100% - 32px);
        padding: 0;
    }

    .hero h1 {
        width: 100%;
        max-width: none;
        font-size: 32px;
        line-height: 32px;
        letter-spacing: 0;
    }

    .hero h1 span {
        display: inline;
    }

    .hero__copy p {
        width: 100%;
        max-width: none;
        margin: 24px 0 48px;
        font-size: 20px;
        line-height: 24px;
        letter-spacing: -.25px;
    }

    .hero__copy .button {
        width: 100%;
        min-height: 48px;
        justify-content: center;
        border-radius: 12px;
    }

    .hero__visual {
        position: absolute;
        top: 413px;
        right: auto;
        left: 0;
        width: 100%;
        height: 529px;
        margin: 0;
        overflow: hidden;
    }

    .hero__asset {
        top: 0;
        right: auto;
        left: -22.46%;
        width: 154.08%;
        height: 100%;
        object-fit: initial;
    }

    .hero-stats {
        position: absolute;
        top: 548px;
        bottom: auto;
        left: 16px;
        display: flex;
        flex-direction: column;
        width: calc(100% - 32px);
        height: 584px;
        margin: 0;
        padding: 0;
        gap: 24px;
        transform: none;
    }

    .hero-stats article {
        width: 100%;
        height: 128px;
        min-height: 128px;
        padding: 24px;
        border-radius: 24px;
    }

    .hero-stats strong {
        font-size: 32px;
        line-height: 32px;
    }

    .hero-stats span {
        font-size: 16px;
        line-height: 20px;
    }

    .section {
        border-radius: 32px;
    }

    .section-title {
        font-size: 48px;
        line-height: 48px;
        letter-spacing: -2px;
    }

    .section-lead {
        font-size: 20px;
        line-height: 24px;
        letter-spacing: -.25px;
    }

    .advantages {
        height: 1112px;
        margin-top: 0;
        padding: 36px 16px;
        overflow: hidden;
        border-radius: 32px;
    }

    .advantages .container,
    .transport .container,
    .delivery .container,
    .process .container,
    .solutions .container {
        width: 100%;
        max-width: none;
    }

    .advantages .section-title {
        height: 96px;
        margin: 0;
    }

    .advantages-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 48px;
    }

    .advantage-card {
        flex: 0 0 auto;
        min-height: 0;
        padding: 24px;
        border-radius: 24px;
    }

    .advantage-card:nth-child(1) { order: 1; height: 148px; }
    .advantage-card:nth-child(3) { order: 2; height: 128px; }
    .advantage-card:nth-child(5) { order: 3; height: 128px; }
    .advantage-card:nth-child(2) { order: 4; height: 137.333px; }
    .advantage-card:nth-child(4) { order: 5; height: 137.333px; }
    .advantage-card:nth-child(6) { order: 6; height: 137.333px; }

    .advantage-card h3 {
        font-size: 24px;
        line-height: 24px;
        letter-spacing: -.5px;
    }

    .advantage-card p {
        font-size: 20px;
        line-height: 20px;
        letter-spacing: -.33px;
    }

    .transport,
    .delivery,
    .process,
    .solutions,
    .quote,
    .contacts {
        margin-top: 48px;
    }

    .transport,
    .delivery,
    .solutions {
        padding: 36px 16px;
        overflow: hidden;
    }

    .transport {
        height: 749.091px;
    }

    .transport__heading {
        height: 152px;
    }

    .transport .section-title {
        height: 96px;
        margin: 0;
    }

    .transport .section-lead {
        height: 48px;
        margin: 8px 0 0;
    }

    .transport-grid,
    .delivery__cards,
    .solutions-grid {
        display: flex;
        width: calc(100% + 32px);
        max-width: none;
        margin-right: -16px;
        margin-left: -16px;
        padding: 0 16px;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .transport-grid::-webkit-scrollbar,
    .delivery__cards::-webkit-scrollbar,
    .solutions-grid::-webkit-scrollbar {
        display: none;
    }

    .transport-grid {
        height: 465.091px;
        margin-top: 24px;
    }

    .transport-card,
    .delivery-card,
    .solution-card {
        flex: 0 0 326px;
        width: 326px;
        min-width: 326px;
        scroll-snap-align: start;
    }

    .transport-card {
        height: 465.091px;
    }

    .transport-card__visual,
    .delivery-card__visual {
        width: 326px;
        height: 201.091px;
    }

    .transport-card__visual {
        margin-bottom: -140px;
    }

    .transport-card__body {
        width: 326px;
        height: 404px;
        padding: 172px 24px 24px;
        border-radius: 48px;
    }

    .transport-card h3,
    .transport-card strong,
    .delivery-card h3,
    .delivery-card strong {
        font-size: 32px;
        line-height: 32px;
    }

    .transport-card p,
    .delivery-card p {
        font-size: 20px;
        line-height: 24px;
    }

    .mobile-slider-dots {
        height: 12px;
        margin-top: 24px;
    }

    .delivery {
        height: 789.091px;
    }

    .delivery__heading {
        height: 176px;
    }

    .delivery .section-title {
        height: 144px;
        margin: 0;
    }

    .delivery .section-lead {
        height: 24px;
        margin: 8px 0 0;
    }

    .delivery__cards {
        height: 457.091px;
        margin-top: 48px;
    }

    .delivery-card {
        height: 457.091px;
    }

    .delivery-card__visual {
        margin-bottom: -200px;
    }

    .delivery-card__body {
        width: 326px;
        height: 456px;
        padding: 200px 32px 32px;
        gap: 32px;
        border-radius: 48px;
    }

    .process {
        height: 1020px;
        padding: 36px 16px;
        overflow: hidden;
    }

    .process .section-title {
        height: 96px;
        margin: 0;
    }

    .process__lead {
        display: block;
        height: 56px;
        margin: 8px 0 0;
        text-align: center;
    }

    .process__content {
        display: grid;
        grid-template-columns: 64px 270px;
        width: 358px;
        height: 764px;
        margin-top: 24px;
        gap: 24px;
    }

    .process__timeline {
        display: flex;
        flex-direction: column;
        width: 64px;
        height: 640px;
        margin-top: 62px;
        gap: 16px;
    }

    .process-marker {
        position: relative;
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
        border: 2px dashed #212124;
        border-radius: 64px;
    }

    .process-marker--4 {
        border-width: 1px;
    }

    .process-marker > span {
        position: absolute;
        inset: 0;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        line-height: 32px;
    }

    .process-marker__arc {
        position: absolute;
        z-index: 2;
        display: block;
        max-width: none;
        border: 0;
        pointer-events: none;
    }

    .process-marker--1 > .process-marker__arc { top: -1px; left: 32px; width: 33px; height: 33px; }
    .process-marker--2 > .process-marker__arc { top: -1px; left: 32px; width: 33px; height: 66px; }
    .process-marker--3 > .process-marker__arc,
    .process-marker--4 > .process-marker__arc { top: -1px; left: -1px; width: 66px; height: 66px; }

    .process-connector,
    .process-connector img {
        flex: 0 0 96px;
        width: 2px;
        height: 96px;
    }

    .process-connector {
        align-self: center;
    }

    .process-connector img {
        display: block;
        object-fit: fill;
    }

    .process__cards {
        display: flex;
        flex-direction: column;
        width: 270px;
        height: 764px;
        gap: 24px;
    }

    .process-step {
        display: flex;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: center;
        width: 270px;
        min-height: 0;
        padding: 32px;
        border-radius: 32px;
        background: #fff;
        text-align: center;
    }

    .process-step:nth-child(1),
    .process-step:nth-child(3),
    .process-step:nth-child(4) {
        height: 168px;
    }

    .process-step:nth-child(2) {
        height: 188px;
    }

    .process-step h3 {
        margin: 0;
        padding: 0;
        font-size: 24px;
        line-height: 24px;
        letter-spacing: -.5px;
    }

    .process-step p {
        margin-top: 16px;
        font-size: 16px;
        line-height: 20px;
    }

    .solutions {
        height: 636px;
    }

    .solutions .section-title {
        height: 144px;
        margin: 0;
        text-align: left;
    }

    .solutions-grid {
        height: 336px;
        margin-top: 48px;
    }

    .solutions-grid .solution-card {
        height: 336px;
        min-height: 336px;
        padding: 32px;
        gap: 24px;
        border-radius: 32px;
    }

    .solutions-grid .solution-card > i {
        flex: 0 0 72px;
        width: 72px;
        height: 72px;
        padding: 12px;
        border-radius: 24px;
    }

    .solutions-grid .solution-card > i img {
        width: 48px !important;
        height: 48px !important;
    }

    .solutions-grid .solution-card h3 {
        font-size: 32px;
        line-height: 32px;
        letter-spacing: -1px;
    }

    .solutions-grid .solution-card p {
        font-size: 20px;
        line-height: 24px;
        letter-spacing: -.25px;
    }

    .solution-card__copy {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .solutions-grid .solution-card h3,
    .solutions-grid .solution-card p {
        width: 100%;
        margin: 0;
    }

    .quote {
        height: 834px;
        padding: 0;
        overflow: hidden;
        border-radius: 32px;
    }

    .quote .quote__layout {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        max-width: none;
        height: 834px !important;
        min-height: 834px !important;
        padding: 36px 16px 0;
        overflow: hidden;
        border-radius: 32px;
    }

    .quote__content {
        display: flex;
        flex-direction: column;
        flex: 0 0 420px;
        width: 100%;
        height: 420px;
        padding: 0;
        gap: 36px;
    }

    .quote__copy {
        display: flex;
        flex-direction: column;
        gap: 16px;
        height: 152px;
        padding: 0;
    }

    .quote__copy h2 {
        margin: 0;
        font-size: 32px;
        line-height: 32px;
        letter-spacing: -1px;
    }

    .quote__copy p {
        margin: 0;
        font-size: 20px;
        line-height: 24px;
    }

    .quote__copy p span {
        display: inline;
    }

    .quote__copy p span + span {
        margin-top: 0;
    }

    .quote-form {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        height: 226px;
        gap: 16px;
    }

    .quote-form > label:not(.checkbox) {
        height: 48px;
    }

    .quote-form .checkbox {
        min-height: 40px;
    }

    .quote-form .checkbox span {
        white-space: normal;
        font-size: 20px !important;
        line-height: 20px;
    }

    .quote-form .button {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    .quote__asset {
        flex: 0 0 354px;
        order: 3;
        width: 100% !important;
        height: 354px !important;
        margin-top: 24px;
        object-fit: cover !important;
    }

    .contacts {
        height: 1352px;
        padding: 32px 16px 0;
        overflow: hidden;
        border-radius: 32px 32px 0 0;
    }

    .contacts .container {
        width: 100%;
        max-width: none;
        height: 1320px;
    }

    .contacts .section-title {
        height: 40px;
        margin: 0 0 48px;
        font-size: 32px;
        line-height: 40px;
    }

    .contacts__grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 1200px;
        gap: 24px;
    }

    .contacts__grid article {
        flex: 0 0 auto;
        width: 100%;
        min-height: 0;
        padding: 24px;
        border-radius: 32px;
    }

    .contacts__grid article:nth-child(1) { height: 384px; }
    .contacts__grid article:nth-child(2) { height: 432px; }
    .contacts__grid article:nth-child(3) { height: 144px; }
    .contacts__grid article:nth-child(4) { height: 168px; }

    .contacts__grid h3 {
        font-size: 24px;
        line-height: 32px;
    }

    .contacts__grid p {
        font-size: 20px;
        line-height: 24px;
    }

    .site-footer {
        height: 580px;
        padding: 0 16px 32px;
    }

    .site-footer .site-footer__card {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
        height: 548px;
        min-height: 548px;
        padding: 24px;
        gap: 32px;
        border-radius: 48px;
    }

    .site-footer__top {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
        height: 296px;
        padding: 0;
        gap: 32px;
    }

    .site-footer__links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .footer-socials {
        width: 100%;
    }

    .site-footer__bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
        height: 172px;
        margin: 0;
        padding: 0;
        gap: 32px;
    }

    .site-footer__bottom > div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        height: 92px;
        gap: 32px;
        white-space: normal;
    }

    .site-footer__shake {
        display: block;
        width: 188px;
        height: 48px;
    }

    .mobile-menu {
        padding: 16px;
        background: #212124;
    }

    .mobile-menu__top {
        height: 48px;
    }

    .mobile-menu .brand img {
        width: 136px;
        height: 48px;
    }

    .menu-close {
        display: grid;
        width: 40px;
        height: 40px;
        padding: 0;
    }

    .menu-close img {
        width: 40px;
        height: 40px;
    }

    .mobile-menu__nav {
        gap: 32px;
        margin-top: 69px;
        font-size: 24px;
        line-height: 32px;
        font-weight: 500;
    }

    .mobile-menu__bottom {
        position: absolute;
        right: 16px;
        bottom: 32px;
        left: 16px;
        width: auto;
        gap: 12px;
        margin: 0;
    }

    .mobile-menu__bottom .header-phone,
    .mobile-menu__bottom .button {
        display: flex;
        width: 100%;
        min-height: 48px;
        justify-content: center;
        border-radius: 16px;
        font-size: 16px;
    }

    .mobile-menu__bottom .header-phone {
        background: #505759;
    }

    .mobile-menu__bottom .button {
        background: #ea2a2a;
        color: #fff;
    }
}
