.hero-section {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: var(--surface-color);
}

.hero-image {
    position: absolute;
    top: 0;
    left: calc(50% - 145px);
    width: 657px;
    height: 350px;
    max-width: none;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--surface-color) 0%, var(--surface-color) calc(50% - 125px), rgba(243, 243, 243, 0) calc(50% + 215px));
}

.hero-container {
    height: 100%;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    grid-column: 1 / 8;
    width: 531px;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content h1 {
    margin-bottom: 10px;
    font-size: 32px;
    line-height: 1.1;
}

.hero-content p {
    width: max-content;
    font-size: 11px;
    line-height: 1.25;
}

.hero-copy-mobile {
    display: none;
}

.hero-button {
    margin-top: 50px;
}

.about-section {
    min-height: 438px;
    background: #ffffff;
}

.about-container {
    min-height: 438px;
    padding-top: 40px;
}

.about-copy {
    grid-column: 1 / 7;
    width: 100%;
}

.about-copy h2 {
    margin-bottom: 14px;
}

.about-text {
    width: min(421px, 100%);
    font-size: 11px;
    line-height: 1.25;
}

.about-text p + p {
    margin-top: 14px;
}

.service-scroller {
    grid-column: 7 / 13;
    min-width: 0;
}

.service-scroller:focus-visible,
.features-scroller:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.service-card-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
}

.service-card {
    width: 100%;
    height: 174px;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--card-color);
}

.service-icon {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    margin: 12px 0 8px;
    font-size: 11px;
    line-height: 1.25;
}

.service-card p {
    font-size: 11px;
    line-height: 1.25;
}

.activity-section,
.products-section,
.features-section {
    position: relative;
}

.activity-section::after,
.products-section::after,
.features-section::after {
    position: absolute;
    z-index: 3;
    inset: 0;
    box-shadow: inset 0 4px 14.6px rgba(0, 0, 0, 0.05), inset 0 -4px 14.6px rgba(0, 0, 0, 0.05);
    content: "";
    pointer-events: none;
}

.products-section::after {
    box-shadow: inset 0 4px 14.6px rgba(0, 0, 0, 0.05);
}

.activity-section {
    min-height: 310px;
    overflow: hidden;
    background: var(--card-color);
}

.activity-container {
    min-height: 310px;
    padding-top: 40px;
}

.activity-copy {
    position: relative;
    z-index: 2;
    grid-column: 1 / 7;
}

.activity-copy h2 {
    width: 421px;
    margin-bottom: 14px;
    font-size: 11px;
    line-height: 1.25;
}

.okved-list {
    display: flex;
    width: 367px;
    flex-direction: column;
    gap: 8px;
    font-size: 11px;
    line-height: 1.25;
}

.okved-list > div {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 10px;
}

.okved-list > div::after {
    position: absolute;
    top: 7px;
    height: 1px;
    background: var(--border-color);
    content: "";
}

.okved-list > div:nth-child(1)::after {
    left: 43px;
    width: 34px;
}

.okved-list > div:nth-child(2)::after {
    left: 40px;
    width: 37px;
}

.okved-list > div:nth-child(3)::after {
    left: 45px;
    width: 32px;
}

.okved-list > div:nth-child(4)::after {
    left: 33px;
    width: 44px;
}

.okved-list > div:nth-child(5)::after {
    left: 29px;
    width: 48px;
}

.okved-list dt {
    color: var(--primary-color);
    font-weight: 700;
}

.ministry-code {
    display: flex;
    width: 252px;
    height: 44px;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding: 8px 11px;
    border-radius: 4px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 11px;
    line-height: 1.25;
}

.ministry-code img {
    width: 24px;
    height: 24px;
}

.activity-image {
    position: absolute;
    top: 0;
    left: 425px;
    width: 557px;
    height: 310px;
    max-width: none;
    object-fit: cover;
}

.workflow-section {
    min-height: 225px;
    background: #ffffff;
}

.workflow-container {
    min-height: 225px;
    align-content: start;
    padding-top: 40px;
}

.workflow-container h2 {
    grid-column: 1 / 13;
}

.workflow-list {
    display: flex;
    grid-column: 1 / 13;
    flex-wrap: wrap;
    gap: 20px;
    min-height: 86px;
    margin-top: 24px;
}

.workflow-item {
    position: relative;
    display: flex;
    width: auto;
    min-width: 0;
    flex: 1 1 180px;
    align-items: center;
    gap: 18px;
    font-size: 11px;
    line-height: 1.25;
}

.workflow-item:not(:last-child)::after {
    position: absolute;
    top: 35.31px;
    right: -11.5px;
    width: 24px;
    height: 15.3815px;
    background: url("../assets/step-arrow.svg") center / contain no-repeat;
    content: "";
    transform: rotate(90deg);
}

.workflow-number {
    position: relative;
    display: grid;
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
    place-items: center;
}

.workflow-number picture {
    position: absolute;
    inset: 0;
    width: 86px;
    height: 86px;
}

.workflow-number picture img {
    position: absolute;
    max-width: none;
}

.workflow-item:nth-child(-n + 3) .workflow-number picture:first-of-type img {
    top: -1px;
    left: -1px;
    width: 88px;
    height: 88px;
}

.workflow-item:nth-child(1) .workflow-number picture:nth-of-type(2) img {
    top: -2px;
    left: 41px;
    width: 47px;
    height: 47px;
}

.workflow-item:nth-child(2) .workflow-number picture:nth-of-type(2) img {
    top: -2px;
    left: 41px;
    width: 47px;
    height: 90px;
}

.workflow-item:nth-child(3) .workflow-number picture:nth-of-type(2) img,
.workflow-item:nth-child(4) .workflow-number picture:nth-of-type(2) img {
    top: -2px;
    left: -2px;
    width: 90px;
    height: 90px;
}

.workflow-item:nth-child(4) .workflow-number picture:first-of-type img {
    inset: 0;
    width: 86px;
    height: 86px;
}

.workflow-number b {
    position: relative;
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
}

.products-section {
    min-height: 324px;
    background: #ffffff;
}

.products-container {
    display: block;
    min-height: 324px;
    padding-top: 40px;
}

.products-container h2 {
    width: 619px;
}

.products-container > p {
    margin-top: 14px;
    font-size: 11px;
    line-height: 1.25;
}

.brand-list {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 24px;
}

.brand-list li {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 18px;
    border-radius: 4px;
    background: var(--surface-secondary-color);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.brand-list li.__active {
    background: var(--primary-color);
    color: #ffffff;
}

.features-section {
    min-height: 386px;
    overflow: hidden;
    background: var(--card-color);
}

.warehouse-image {
    position: absolute;
    top: 0;
    left: calc(50% - 57px);
    width: 663px;
    height: 386px;
    max-width: none;
    object-fit: cover;
}

.features-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--card-color) 0%, var(--card-color) calc(50% - 60px), rgba(253, 253, 253, 0) calc(50% + 280px));
}

.features-container {
    min-height: 386px;
    padding-top: 40px;
}

.features-scroller {
    position: relative;
    z-index: 2;
    grid-column: 1 / 7;
}

.feature-list {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.feature-item {
    display: flex;
    min-height: 72px;
    gap: 26px;
}

.feature-item + .feature-item {
    min-height: 126px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.feature-item picture,
.feature-item picture img {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
}

.feature-item > div {
    min-width: 0;
    flex: 1;
}

.feature-item h3,
.feature-item p {
    width: 100%;
    font-size: 11px;
    line-height: 1.25;
}

.feature-item h3 {
    margin-bottom: 6px;
}

.contacts-section {
    min-height: 307px;
    background: #ffffff;
}

.contacts-container {
    min-height: 307px;
    padding-top: 40px;
}

.contacts-details {
    grid-column: 1 / 6;
    width: 379px;
}

.contacts-details h2 {
    margin-bottom: 14px;
}

.company-name {
    margin-bottom: 14px;
    font-size: 11px;
    line-height: 1.25;
}

.company-requisites {
    display: flex;
    width: 360px;
    flex-direction: column;
    gap: 8px;
    font-size: 11px;
    line-height: 1.25;
}

.company-requisites > div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 10px;
}

.company-requisites dt {
    color: var(--primary-color);
    font-weight: 700;
}

.company-requisites a {
    text-decoration: none;
}

.contact-emails {
    position: absolute;
    z-index: 1;
    top: 89px;
    left: 400px;
    display: flex;
    width: 379px;
    height: 142px;
    flex-direction: column;
    gap: 14px;
    padding: 0;
}

.contact-emails::before {
    position: absolute;
    top: 0;
    left: -40px;
    width: 1px;
    height: 198px;
    background: var(--border-color);
    content: "";
}

.email-item > img {
    width: 24px;
    height: 24px;
}

.email-item p,
.email-item a {
    width: 379px;
    font-size: 11px;
    line-height: 1.25;
}

.email-item p {
    margin-top: 6px;
}

.email-item a {
    display: block;
    margin-top: 6px;
    color: var(--primary-color);
    font-weight: 700;
}

.contacts-map {
    position: absolute;
    z-index: 2;
    top: 89px;
    left: 640px;
    width: min(300px, calc(100% - 640px));
    height: 198px;
    margin: 0;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 0 17.4px rgba(0, 0, 0, 0.05);
}

@media (max-width: 879px) {
    .hero-section {
        min-height: 0;
        height: auto;
    }

    .hero-image {
        top: 0;
        left: 0;
        width: 100%;
        height: 206px;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(6, 12, 59, 0.05) 0 206px, var(--surface-color) 206px 100%);
    }

    .hero-container {
        height: auto;
        align-items: start;
        padding-bottom: 35px;
    }

    .hero-content {
        display: grid;
        grid-column: 1 / 13;
        width: 100%;
        grid-template-rows: 206px auto;
    }

    .hero-content h1 {
        align-self: start;
        width: 100%;
        margin: 118px 0 0;
        color: #ffffff;
        font-size: 20px;
        line-height: 1.1;
        text-shadow: 0 1px 6px rgba(6, 12, 59, 0.3);
    }

    .hero-content p {
        width: 100%;
        margin-top: 32px;
        font-size: 9px;
        line-height: 1.25;
    }

    .hero-copy-desktop {
        display: none;
    }

    .hero-copy-mobile {
        display: inline;
    }

    .hero-button {
        width: 130px;
        min-height: 36px;
        margin-top: 25px;
        justify-self: start;
        font-size: 11px;
    }

    .about-section,
    .about-container {
        min-height: 0;
    }

    .about-container {
        padding-top: 38px;
        padding-bottom: 40px;
    }

    .about-copy {
        grid-column: 1 / 13;
        width: 100%;
    }

    .about-copy h2 {
        margin-bottom: 14px;
    }

    .about-text {
        width: 100%;
        font-size: 9px;
        line-height: 1.25;
    }

    .about-text p + p {
        margin-top: 8px;
    }

    .service-scroller {
        grid-column: 1 / 13;
        width: calc(100% + 24px);
        margin-top: 24px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .service-scroller::-webkit-scrollbar {
        display: none;
    }

    .service-card-list {
        display: flex;
        width: max-content;
        gap: 12px;
    }

    .service-card {
        width: 201px;
        height: 158px;
        flex: 0 0 201px;
        padding: 12px 18px;
        scroll-snap-align: start;
    }

    .service-card p {
        font-size: 9px;
    }

    .activity-section,
    .activity-container {
        min-height: 576px;
    }

    .activity-container {
        display: block;
        padding-top: 38px;
        padding-bottom: 30px;
    }

    .activity-copy h2 {
        width: 100%;
        margin-bottom: 14px;
        font-size: 20px;
        line-height: 1.1;
    }

    .okved-list {
        width: 100%;
        gap: 8px;
        font-size: 9px;
    }

    .okved-list > div {
        grid-template-columns: 59px 1fr;
        gap: 12px;
    }

    .okved-list > div::after {
        top: 8px;
    }

    .okved-list > div:nth-child(1)::after {
        left: 34px;
        width: 32px;
    }

    .okved-list > div:nth-child(2)::after {
        left: 31px;
        width: 35px;
    }

    .okved-list > div:nth-child(3)::after {
        left: 35px;
        width: 31px;
    }

    .okved-list > div:nth-child(4)::after {
        left: 26px;
        width: 40px;
    }

    .okved-list > div:nth-child(5)::after {
        left: 25px;
        width: 41px;
    }

    .ministry-code {
        width: min(271px, 100%);
        height: 44px;
        margin-top: 17px;
        padding-left: 33px;
        font-size: 9px;
    }

    .activity-image {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 319 / 177;
        margin-top: 24px;
    }

    .workflow-section,
    .workflow-container {
        min-height: 0;
    }

    .workflow-container {
        display: block;
        padding-top: 38px;
        padding-bottom: 40px;
    }

    .workflow-list {
        width: 100%;
    }

    .workflow-item {
        min-width: min(250px, 100%);
        min-height: 59px;
        flex: 1 1 calc(50% - 10px);
        gap: 12px;
        font-size: 9px;
    }

    .workflow-item:not(:last-child)::after {
        display: none;
    }

    .workflow-number {
        width: 59px;
        height: 59px;
        flex-basis: 59px;
    }

    .workflow-number picture {
        width: 59px;
        height: 59px;
    }

    .workflow-item:nth-child(1) .workflow-number picture:first-of-type img {
        top: -0.69px;
        left: -0.69px;
        width: 60.37px;
        height: 60.37px;
    }

    .workflow-item:nth-child(1) .workflow-number picture:nth-of-type(2) img {
        top: -1.37px;
        left: 28.13px;
        width: 32.24px;
        height: 32.24px;
    }

    .workflow-item:nth-child(2) .workflow-number picture:first-of-type img,
    .workflow-item:nth-child(3) .workflow-number picture:first-of-type img {
        top: -0.69px;
        left: -0.69px;
        width: 60.26px;
        height: 60.26px;
    }

    .workflow-item:nth-child(2) .workflow-number picture:nth-of-type(2) img {
        top: -1.37px;
        left: 28.08px;
        width: 32.18px;
        height: 61.63px;
    }

    .workflow-item:nth-child(3) .workflow-number picture:nth-of-type(2) img,
    .workflow-item:nth-child(4) .workflow-number picture:nth-of-type(2) img {
        top: -1.37px;
        left: -1.37px;
        width: 61.63px;
        height: 61.63px;
    }

    .workflow-item:nth-child(4) .workflow-number picture:first-of-type img {
        inset: 0;
        width: 58.89px;
        height: 58.89px;
    }

    .workflow-number b {
        font-size: 22px;
    }

    .products-section,
    .products-container {
        min-height: 0;
    }

    .products-container {
        padding-top: 38px;
        padding-bottom: 37.5px;
    }

    .products-container h2 {
        width: 100%;
    }

    .products-container > p {
        width: 100%;
        margin-top: 14px;
        font-size: 9px;
    }

    .brand-list {
        margin-top: 25px;
    }

    .brand-list li {
        min-height: 31px;
        flex: 0 0 auto;
        justify-content: center;
        padding: 0;
        font-size: 9px;
    }

    .brand-list li:nth-child(1) { width: 63px; }
    .brand-list li:nth-child(2) { width: 74px; }
    .brand-list li:nth-child(3) { width: 54px; }
    .brand-list li:nth-child(4) { width: 70px; }
    .brand-list li:nth-child(5) { width: 69px; }
    .brand-list li:nth-child(6) { width: 72px; }
    .brand-list li:nth-child(7) { width: 65px; }
    .brand-list li:nth-child(8) { width: 74px; }
    .brand-list li:nth-child(9) { width: 85px; }
    .brand-list li:nth-child(10) { width: 58px; }
    .brand-list li:nth-child(11) { width: 77px; }
    .brand-list li:nth-child(12) { width: 69px; }
    .brand-list li:nth-child(13) { width: 53px; }
    .brand-list li:nth-child(14) { width: 114px; }
    .brand-list li:nth-child(15) { width: 52px; }
    .brand-list li:nth-child(16) { width: 63px; }
    .brand-list li:nth-child(17) { width: 69px; }
    .brand-list li:nth-child(18) { width: 63px; }
    .brand-list li:nth-child(19) { width: 90px; }
    .brand-list li:nth-child(20) { width: 66px; }
    .brand-list li:nth-child(21) { width: 123px; }
    .brand-list li:nth-child(22) { width: 65px; }
    .brand-list li:nth-child(23) { width: 73px; }

    .features-section {
        min-height: 489px;
    }

    .warehouse-image {
        inset: 0 0 auto;
        width: 100%;
        height: 489px;
        object-position: 50% center;
    }

    .features-overlay {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0 265px, rgba(255, 255, 255, 0.05) 100%);
    }

    .features-container {
        min-height: 489px;
        padding-top: 41px;
    }

    .features-scroller {
        position: absolute;
        grid-column: 1 / 13;
        top: 41px;
        left: 0;
        width: calc(100% + 24px);
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .features-scroller::-webkit-scrollbar {
        display: none;
    }

    .feature-list {
        width: max-content;
        flex-direction: row;
        gap: 12px;
    }

    .feature-item,
    .feature-item + .feature-item {
        display: block;
        width: 201px;
        min-height: 216px;
        flex: 0 0 201px;
        padding: 12px 18px;
        border: 0;
        border-radius: 6px;
        background: var(--card-color);
        scroll-snap-align: start;
    }

    .feature-item picture,
    .feature-item picture img {
        width: 40px;
        height: 40px;
    }

    .feature-item h3,
    .feature-item p {
        width: 165px;
    }

    .feature-item h3 {
        margin-top: 12px;
        margin-bottom: 8px;
        font-size: 11px;
    }

    .feature-item p {
        font-size: 9px;
    }

    .contacts-section,
    .contacts-container {
        min-height: 600px;
    }

    .contacts-container {
        display: block;
        padding-top: 38px;
    }

    .contacts-details {
        width: 100%;
    }

    .contacts-details h2 {
        margin-bottom: 14px;
    }

    .company-name,
    .company-requisites {
        font-size: 9px;
    }

    .company-name {
        margin-bottom: 14px;
    }

    .company-requisites {
        width: 100%;
    }

    .company-requisites > div {
        grid-template-columns: 59px 1fr;
        gap: 12px;
    }

    .contact-emails {
        position: static;
        display: grid;
        width: 100%;
        height: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 24px;
        padding: 24px 0 0;
        border: 0;
        border-top: 1px solid var(--border-color);
    }

    .contact-emails::before {
        display: none;
    }

    .email-item p,
    .email-item a {
        width: auto;
        font-size: 9px;
    }

    .contacts-map {
        position: absolute;
        z-index: auto;
        top: 382px;
        left: 0;
        width: 100%;
        height: 180px;
    }
}

@media (min-width: 640px) and (max-width: 879px) {
    .service-scroller {
        width: 100%;
        overflow: visible;
        scroll-snap-type: none;
    }

    .service-card-list {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .service-card {
        width: 100%;
        min-height: 174px;
        height: auto;
        padding: 12px;
    }

    .activity-section,
    .activity-container {
        min-height: 0;
    }

    .activity-container {
        padding-bottom: 40px;
    }

    .workflow-section,
    .workflow-container {
        min-height: 225px;
    }

    .features-scroller {
        width: 100%;
        overflow: visible;
        scroll-snap-type: none;
    }

    .feature-list {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .feature-item,
    .feature-item + .feature-item {
        width: 100%;
        min-height: 216px;
        height: auto;
        padding: 12px;
    }

    .feature-item h3,
    .feature-item p {
        width: 100%;
    }

    .contacts-section,
    .contacts-container {
        min-height: 478px;
    }

    .contacts-container {
        display: grid;
    }

    .contacts-details {
        grid-column: 1 / 7;
        width: 100%;
    }

    .contact-emails {
        position: absolute;
        top: 89px;
        left: calc(50% + 6px);
        display: flex;
        width: calc(50% - 6px);
        height: 142px;
        flex-direction: column;
        gap: 14px;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .email-item p,
    .email-item a {
        width: 100%;
    }

    .contacts-map {
        top: 260px;
        height: 198px;
    }
}

@media (max-width: 639px) {
    .about-section,
    .about-container {
        min-height: 495px;
    }

    .activity-image {
        width: calc(100% + 47px);
        max-width: none;
        margin-top: 26.5px;
        margin-left: -23px;
    }

    .service-scroller {
        margin-top: 19.5px;
    }

    .service-scroller,
    .features-scroller {
        width: calc(100% + 48px);
        margin-left: -24px;
        scroll-padding-left: 24px;
    }

    .service-card-list {
        padding-right: calc(100vw - 225px);
        padding-left: 24px;
    }

    .feature-list {
        padding-right: calc(100vw - 225px);
        padding-left: 24px;
    }
}

@media (min-width: 880px) {
    .features-overlay::after {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent 0, transparent calc(50% + 286px), var(--card-color) calc(50% + 606px), var(--card-color) 100%);
        content: "";
    }
}

@media (min-width: 880px) {
    .hero-overlay::after {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent 0, transparent calc(50% + 192px), var(--surface-color) min(calc(50% + 512px), 100%), var(--surface-color) 100%);
        content: "";
    }
}
