html {
    font-size: 16px;
    font-family: Arial, sans-serif;
}
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
}

@font-face {
    font-family: 'Ermilov';
    src:
        url('/fonts/Ermilov-bold.otf') 
        format('opentype');
    font-weight: bold;
    font-style: normal;
}

.display-none {
    display: none;
}

.ap-view {
    max-width: 80rem;
    padding: 0 1.5rem;
    margin: 0 auto;
}
.ap-view--default {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}
@media screen and (min-width: 768px) {
    .ap-view--default {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .ap-view--tablet-custom {
        padding-top: 3.5rem;
    }
    .ap-view--tablet-custom-m {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .ap-view--header {
        max-width: initial;
    }
}
@media screen and (min-width: 992px) {
    .ap-view {
        padding: 0 4rem;
    }
    .ap-view--default {
        padding-top: 5rem;
        padding-bottom: 3rem;
    }
}

.ap-header {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ap-header__logo {
    height: 2rem;
}
.ap-header__phone {
    display: none;
    font-size: 1rem;
    font-weight: 700;
    line-height: 145%;
    font-family: Ermilov, Arial, sans-serif;
    color: #E57817;
    letter-spacing: -0.08px;
}
.ap-header__phone-icon {
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
}
@media screen and (min-width: 992px) {
    .ap-header__logo {
        height: 2.5rem;
    }
    .ap-header__phone {
        display: block;
    }
    .ap-header__phone-icon {
        display: none;
    }
}

.ap-hero {
    display: flex;
    flex-direction: column;
}
.ap-hero__img-block {
    background-image: url('/images/interior-large-distribution-warehouse.jpg');
    height: 18.625rem;
    background-size: cover;
    background-position: center;
}
.ap-hero__block {
    background-color: #2E3091;
    padding: 3.5rem 1.5rem;
}
.ap-hero__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -0.64px;
    font-family: Ermilov, Arial, sans-serif;
    color: white;
    text-align: center;
}
.ap-hero__description {
    color: rgba(255, 255, 255, 0.80);
    text-align: center;
    font-size: 1.125rem;
    line-height: 145%;
    letter-spacing: -0.09px;
    padding-top: 1rem;
}
.ap-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding-top: 2rem;
}
@media screen and (min-width: 992px) {
    .ap-hero {
        flex-direction: row;
    }
    .ap-hero__img-block {
        order: 2;
        align-self: stretch;
        width: 50%;
        height: auto;
    }
    .ap-hero__block {
        padding: 7.5rem 4rem;
        order: 1;
        width: 50%;
    }
    .ap-hero__title {
        font-size: 3.5rem;
        letter-spacing: -1.12px;
        text-align: start;
    }
    .ap-hero__description {
        text-align: start;
        font-size: 1.5rem;
        line-height: 145%;
        letter-spacing: -0.12px;
        padding-top: 1.5rem;
    }
    .ap-hero__actions {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
    }
}

.ap-btn {
    outline: none;
    display: block;
    text-align: center;
}
.ap-btn--main {
    padding: 0.75rem 1rem;
    background: #E67817;
    border: none;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 500;
    line-height: 145%;
    letter-spacing: -0.09px;
}
.ap-btn--main:hover {
    background: #EB9345;
    color: #FFFFFF;
}
.ap-btn--main:active {
    background: #B86012;
    color: #FFFFFF;
}
.ap-btn--secondary {
    padding: 0.625rem 1rem;
    background: transparent;
    border: 2px solid rgba(230, 120, 23, 0.40);
    color: #E67817;
    font-size: 1rem;
    font-weight: 500;
    line-height: 145%;
    letter-spacing: -0.09px;
}
.ap-btn--secondary:hover {
    border: 2px solid rgba(235, 147, 69, 0.40);
    color: #EB9345;
}
.ap-btn--secondary:active {
   border: 2px solid rgba(184, 96, 18, 0.40);
    color: #B86012;
}
@media screen and (min-width: 992px) {
    .ap-btn--main, .ap-btn--secondary {
        font-size: 1.125rem;
    }
}

.ap-block-title {
    color: #E57817;
    text-align: center;
    font-family: Ermilov, Arial, sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 145%;
    letter-spacing: -0.075px;
    text-transform: uppercase;
}
.ap-block-subtitle {
    color: #2E3091;
    text-align: center;
    font-family: Ermilov, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.12px;
    padding-top: 0.5rem;
    padding-bottom: 2rem;
}
@media screen and (min-width: 768px) {
    .ap-block-subtitle {
        padding-bottom: 1.5rem;
    }
    .ap-block-subtitle--fixed-width {
        max-width: 34rem;
        margin: 0 auto;
    }
}
@media screen and (min-width: 992px) {
    .ap-block-title {
        font-size: 1.25rem;
        letter-spacing: -0.1px;
    }
    .ap-block-subtitle {
        font-size: 2.5rem;
        line-height: 145%;
        letter-spacing: -0.2px;
        padding-bottom: 2rem;
    }
    .ap-block-subtitle--fixed-width {
        max-width: 58rem;
        margin: 0 auto;
        line-height: 100%;
    }
}

.ap-services {
    display: flex;
    flex-wrap: wrap;
    padding: 0.5rem 0;
    gap: 1.5rem;
    justify-content: center;
}
.ap-services__item {
    flex-basis: calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    align-items: center;
}
.ap-services__item-img {
    width: 3.5rem;
    height: 3.5rem;
}
.ap-services__item-title {
    color: #2B3645;
    text-align: center;
    font-family: Ermilov, Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 145%;
    letter-spacing: -0.07px;
}
@media screen and (min-width: 768px) {
    .ap-services__item {
        flex-basis: calc(25% - 1.25rem);
        max-width: calc(25% - 1.25rem);
    }
}
@media screen and (min-width: 992px) {
    .ap-services {
        padding: 2rem 0;
        row-gap: 1.5rem;
        column-gap: 2rem;
    }
    .ap-services__item {
        padding: 0.5rem 0;
        flex-basis: calc((100% - 4rem) / 3);
        max-width: calc((100% - 4rem) / 3);
    }
    .ap-services__item-img {
        width: 4rem;
        height: 4rem;
    }
    .ap-services__item-title {
        font-size: 1.25rem;
        letter-spacing: -0.1px;
    }
}

.ap-background-gray {
    background-color: #EFEEED;
}

.ap-resources {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-wrap: wrap;
}
.ap-resources--blocks {
    padding-top: 2rem;
}
.ap-resources__item {
    padding-left: 2rem;
    padding-top: 1.5rem;
    color: #2B3645;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -0.4px;
    position: relative;
    padding-right: 1rem;
}
.ap-resources__item::after {
    position: absolute;
    top: 1.5rem;
    left: 0;
    content: '';
    display: block;
    background-image: url('/images/icons/arrow-block-right.svg');
    width: 1.5rem;
    height: 1.5rem;
}
.ap-resources__block {
    padding: 2rem;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.05);
    color: #2B3645;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
}
@media screen and (min-width: 768px) {
    .ap-resources {
        flex-direction: row;
    }
    .ap-resources--blocks {
        padding-top: 3rem;
        padding-bottom: 1.5rem;
    }
    .ap-resources__item {
        flex-grow: 1;
        flex-basis: calc(50% - 0.5rem);
        width: calc(50% - 0.5rem);
        padding-right: 4rem;
    }
    .ap-resources__block {
        flex-grow: 1;
        flex-basis: calc(50% - 0.5rem);
        width: calc(50% - 0.5rem);
    }
}
@media screen and (min-width: 992px) {
    .ap-resources {
        flex-direction: row;
        padding-top: 2rem;
        gap: 3rem;
    }
    .ap-resources--blocks {
        gap: 2rem;
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
    .ap-resources__item {
        flex-grow: 1;
        flex-basis: calc((100% - 6rem)/3);
        width: calc((100% - 6rem)/3);
        padding-right: 0;
    }
    .ap-resources__block {
        flex-grow: 1;
        flex-basis: calc(50% - 1rem);
        width: calc(50% - 1rem);
        font-size: 1.5rem;
        letter-spacing: -0.48px;
        min-height: 7.625rem;
        display: flex;
        align-items: center;
        padding-right: 8rem;
    }
}

.ap-forwarding {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    padding-bottom: 1rem;
}
.ap-forwarding__item {
    flex: 1 0;
    border-radius: 2px;
    outline: 1px solid rgba(0, 0, 0, 0.10);
    background: #FFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.02), 0 6px 12px 0 rgba(0, 0, 0, 0.03);
    outline-offset: -1px;
}
.ap-forwarding__item-img {
    height: 15rem;
    object-fit: cover;
    width: 100%;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}
.ap-forwarding__item-title {
    padding: 1.5rem 1.5rem 1.5rem;
    color: #000;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 145%;
    letter-spacing: -0.3px;
}
.ap-forwarding-action {
    padding-top: 1rem;
    display: flex;
    justify-content: stretch;
}
.ap-forwarding-action .ap-btn {
    width: 100%;
}
@media screen and (min-width: 768px) {
    .ap-forwarding {
        padding-top: 0.5rem;
        flex-direction: row;
        column-gap: 1rem;
        margin: 0 -1.5rem;
        overflow-y: auto;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        
    }
    .ap-forwarding__item-img {
        width: 327px;
    }
    .ap-forwarding-action {
        padding-bottom: 1.5rem;
    }
}
@media screen and (min-width: 992px) {
    .ap-forwarding {
        padding-top: 2rem;
        flex-direction: row;
        column-gap: 2rem;
    }
    .ap-forwarding__item-img {
        width: 100%;
    }
    .ap-forwarding__item-title {
        font-size: 1.5rem;
        letter-spacing: -0.48px;
    }
    .ap-forwarding-action {
        padding-top: 1.5rem;
        justify-content: center;
        padding-bottom: 2rem;
    }
    .ap-forwarding-action .ap-btn {
        width: auto;
    }
}

.ap-geography-map {
    width: 100%;
}
.ap-storages-block__btn {
    display: none;
}
.ap-storages {
    display: flex;
    column-gap: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
    margin: 0 -1.5rem;
    overflow-y: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.ap-storages__item {
    flex: 1 0;
}
.ap-storages__item-img {
    height: 12.5rem;
    object-fit: cover;
    width: 12.5rem;
    cursor: pointer;
}
.ap-storages__item-title {
    padding: 0.25rem 0;
    color: #2B3645;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 145%;
    text-align: center;
    letter-spacing: -0.07px;
    border-radius: 2px;
    background: #FFF;
    margin-top: 1rem;
}
@media screen and (min-width: 768px) {
    .ap-geography-map {
        padding-top: 1.5rem;
    }
    .ap-storages {
        padding-top: 3rem;
        column-gap: 1rem;
    }
    .ap-storages__item-img {
        height: 15rem;
        width: 15rem;
    }
    .ap-storages__item-title {
        font-size: 1.25rem;
        letter-spacing: -0.1px;
    }
}
@media screen and (min-width: 992px) {
    .ap-geography-map {
        padding-top: 2rem;
    }
    .ap-storages-block {
        position: relative;
        margin: 0 -4rem;
        padding-left: 4rem;
        padding-right: 4rem;
        overflow: hidden;
    }
    .ap-storages-block__btn {
        position: absolute;
        display: block;
        top: 50%;
        cursor: pointer;
        z-index: 1;
        border: none;
        outline: none;
        border-radius: 0;
        background-color: transparent;
    }
    .ap-storages-block__btn path {
        stroke: #E67817;
    }
    .ap-storages-block__btn:hover path {
        stroke: #EB9345;
    }
    .ap-storages-block__btn:active path {
        stroke: #B86012;
    }
    .ap-storages-block__btn-prev {
        left: 0.5rem;
        transform: translateY(-50%);
    }
    .ap-storages-block__btn-next {
        right: 0.5rem;
        transform: translateY(-50%) rotate(180deg);
    }
    .ap-storages {
        column-gap: 2rem;
        margin: auto;
        padding-left: 0;
        padding-right: 0;
        overflow: initial;
    }
    .ap-storages--start {
        transform: translateX(0);
    }
    .ap-storages--start .ap-storages__item:last-of-type{
        opacity: 0;
    }
    .ap-storages--start .ap-storages__item:first-of-type{
        opacity: 1;
    }
    .ap-storages--end {
        transform: translateX(calc((-100% + 4rem) / 3 - 2rem));
    }
    .ap-storages--end .ap-storages__item:last-of-type{
        opacity: 1;
    }
    .ap-storages--end .ap-storages__item:first-of-type{
        opacity: 0;
    }
    .ap-storages__item {
        flex-basis: calc((100% - 4rem) / 3);
        width: calc((100% - 4rem) / 3);
    }
    .ap-storages__item-img {
        height: 15rem;
        width: 100%;
    }
    .ap-storages__item-title {
        font-size: 1.25rem;
        letter-spacing: -0.1px;
    }
}

.ap-logos-container {
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0 -1.5rem;
}
.ap-logos {
    display: flex;
    gap: 0.5rem;
    animation: marquee 10s linear infinite;
    width: max-content; /* Or a specific width */
    overflow: hidden;
    white-space: nowrap;
}
.ap-logos__item {
    height: 5rem;
    padding: 1rem;
}
@keyframes marquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
}
@media screen and (min-width: 768px) {
    .ap-logos__item {
        height: 8rem;
    }
}
@media screen and (min-width: 992px) {
    .ap-logos-container {
        margin: 0 -4rem;
    }
    .ap-logos {
        gap: 0.5rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

.ap-background-blue {
    background: #2E3091;
}

.ap-footer {
    max-width: 80rem;
    padding: 3.5rem 1.5rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}
.ap-footer__title {
    color: #FFF;
    font-family: Ermilov, Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 120%; /* 38.4px */
    letter-spacing: -0.64px;
    padding-bottom: 1rem;
}
.ap-footer__text {
    color: rgba(255, 255, 255, 0.80);
    font-size: 1rem;
    line-height: 145%;
    letter-spacing: -0.08px;
}
.ap-footer__text-indentation {
    padding-top: 1.5rem;
}
.ap-footer__text-email {
    text-decoration-line: underline;
    text-decoration-style: solid;
}
.ap-footer__action {
    padding-top: 2.5rem;
}
.ap-footer__map {
    height: 20.25rem;
    width: 100%;
    background-color: white;
}
@media screen and (min-width: 768px) {
    .ap-footer {
        padding-top: 5rem;
        padding-bottom: 5rem;
        flex-direction: row;
        column-gap: 4rem;
        align-items: center;
    }
    .ap-footer__contacts {
        flex: 1 0;
    }
    .ap-footer__map {
         flex: 1 0;
    }
}
@media screen and (min-width: 992px) {
    .ap-footer {
        padding: 5rem 4rem;
    }
    .ap-footer__title {
        font-size: 3rem;
        line-height: 120%; /* 38.4px */
        letter-spacing: -0.96px;
        padding-bottom: 1.5rem;
    }
    .ap-footer__text {
        color: rgba(255, 255, 255, 0.80);
        font-size: 1.25rem;
        letter-spacing: -0.1px;
    }
    .ap-footer__text-indentation {
        padding-top: 1.875rem;
    }
    .ap-footer__action {
        padding-top: 3rem;
    }
    .ap-footer__map {
        height: 30.75rem;
    }
}

body:has(.ap-form-container--visible) {
    overflow: hidden;
}
.ap-form-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100vw;
    max-height: 100vh;
    height: 100%;
    overflow: hidden;
    display: none;
    padding: 0 1.25rem;
}
.ap-form-container::after {
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.30);
    content: '';
    position: absolute;
    top: 0;
    left: 0;
}
.ap-form-container--visible {
    display: block;
}
.ap-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 35.5rem;
    width: calc(100% - 2.5rem);
    margin: 0 auto;
    padding: 1.5rem;
    z-index: 11;
    border-radius: 2px;
    outline: 1px solid #F2ECFF;
    outline-offset: -1px;
    background: #FFF;
    box-shadow: 0 2px 4px 0 rgba(0, 72, 217, 0.10), 0 24px 60px 0 rgba(0, 72, 217, 0.05), 0 12px 24px 0 rgba(0, 72, 217, 0.05);
}
.ap-form__close-btn {
    outline: none;
    border: none;
    padding: 0;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem; 
}
.ap-form__close-btn-img {
    width: 1.5rem;
    height: 1.5rem;
}
.ap-form__title {
    font-family: Ermilov, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2B3645;
    padding-bottom: 0.75rem;
}
.ap-form__description {
    color: #495462;
    font-size: 1.125rem;
    letter-spacing: -0.2px;
    padding-bottom: 1.5rem;
}
.ap-form__row + .ap-form__row {
    padding-top: 1rem;
}
.ap-form__row {
    display: block;
}
.ap-form__row-title {
    color: #2B3645;
    font-size: 1rem;
    line-height: 150%;
    padding-bottom: 0.125rem;
}
.ap-form__row-input {
    padding: 0.75rem;
    border-radius: 2px;
    background: #EFEEED;
    border: none;
    color: #495462;
    font-size: 1rem;
    line-height: 150%;
    letter-spacing: 0.16px;
    width: 100%;
}
.ap-form__row-input:focus {
    outline: 1px solid #495462;
    outline-offset: -1px;
}
.ap-form__row-error {
    color: #ED0131;
    font-size: 0.75rem;
    padding-top: 0.125rem;
    line-height: 1;
    display: none;
}
.ap-form__row-input--invalid {
    outline: 1px solid #ED0131;
    outline-offset: -1px;
}
.ap-form__row-input--invalid + .ap-form__row-error {
    display: block;
}

.ap-form__action {
    padding-top: 1.5rem;
}
.ap-form__action .ap-btn {
    width: 100%;
}
@media screen and (min-width: 992px) {
    .ap-form {
        padding: 2.5rem;
        width: 100%;
    }
    .ap-form__close-btn {
        right: 2.5rem;
        top: 2.5rem; 
    }
}

