/* Hero */

.home-hero {
    padding-top: 64px;
}

.home-hero__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.home-hero__slider {
    width: 50%;
}

.home-hero__slider {
    outline: none;
}

.home-hero__slide {
    position: relative;
    width: 100%;
}

.home-hero__slide img {
    display: block;
    width: 100%;
}

.home-hero__gradient {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.home-hero__text {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 36px;
    line-height: 42px;
    flex: 1;
    flex-shrink: 0;
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    .home-hero {
        padding-top: 40px;
    }

    .home-hero__slider,
    .home-hero__text {
        width: 100%;
    }
    .home-hero__slider {
        order: 2;
    }

    .home-hero__text {
        order: 1;
        margin-top: 20px;
        font-weight: 500;
        font-size: 27px;
        line-height: 30px;
    }
}


/* Services */

.home-services {
    padding: 64px 0;
    background: var(--soft);
}

.home-services__list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.home-services__cell {
    width: calc(50% - 15px);
}

.home-card {
    display: flex;
    gap: 28px;
    height: 100%;
    padding: 36px;
    border-radius: 20px;
    background: var(--white);
    transition: 0.3s;
}

.home-card:hover {
    background: #f0f2f5;
}

.home-card__icon {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-card__icon img {
    width: 100%;
    height: auto;
}

.home-card__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.home-card__title {
    font-weight: 700;
    font-size: 26px;
    line-height: 1;
    margin-bottom: 12px;
}

.home-card__desc {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black);
    margin-bottom: 8px;
}

.home-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--green);
}

.home-card__link:hover {
    color: var(--green);
}

.home-card__arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s;
}

.home-card__arrow img {
    display: block;
    width: 18px;
    height: auto;
}

.home-card__link:hover .home-card__arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .home-services {
        padding: 40px 0;
    }

    .home-services__list {
        gap: 16px;
    }

    .home-services__cell {
        width: 100%;
    }

    .home-card {
        gap: 20px;
        padding: 24px;
    }

    .home-card__icon,
    .home-card__icon img {
        width: 60px;
    }

    .home-card__title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .home-card {
        flex-direction: column;
    }
}

/* Mission */

.home-mission {
    padding-top: 64px;
}

.home-mission__inner {
    display: flex;
    flex-direction: column;
}

.home-mission__img {
    width: 100%;
    height: 100%;
}

/* Experience */

.home-experience {
    padding: 64px 0;
    background: var(--soft);
}

.home-experience__row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 24px;
    padding-top: 16px;
}

.home-experience__col {
    width: calc(25% - 18px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.home-experience__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.home-experience__stat > h3 {
    font-weight: 900;
    font-size: 60px;
    line-height: 1;
    color: var(--orange);
    margin: 0;
}

.home-experience__stat > p {
    font-weight: 700;
    font-size: 16px;
    color: var(--ink);
    margin: 0;
}

.home-experience__col > img {
    width: 100%;
    height: auto;
    margin: 0;
}

.home-experience__col > p {
    font-weight: normal;
    font-size: 15px;
    line-height: 1.5;
    color: var(--black);
    text-align: center;
    width: 100%;
    margin: 0;
}

@media (max-width: 768px) {
    .home-experience {
        padding: 40px 0;
    }

    .home-experience__col {
        width: calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .home-experience__stat > h3 {
        font-size: 55px;
        line-height: 101%;
    }
}

/* Clients */

.home-clients {
    padding-top: 64px;
}

.home-clients__slider {
    overflow: hidden;
    padding-top: 36px;
}

/* linear timing = even, marquee-like scroll */
.home-clients__slider .swiper-wrapper {
    transition-timing-function: linear !important;
    align-items: center;
}

.home-clients__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 120px;
}

.home-clients__logo {
    max-height: 90px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .home-clients__slide {
        height: 110px;
    }
    .home-clients__logo {
        max-height: 64px;
        max-width: 180px;
    }
}

/* Works */

.home-featured {
    padding: 64px 0;
}

.home-featured__note {
    text-align: center;
    font-size: 24px;
    line-height: 28px;
    margin-top: 0;
    margin-bottom: 36px;
}

.home-featured__grid {
    margin-top: 24px;
}

.home-more {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

@media (max-width: 768px){
    .home-featured {
        padding: 40px 0;
    }

    .home-featured__note {
        text-align: left;
        font-size: 18px;
        margin-bottom: 18px;
    }
}

/* Map */

.home-map {
    display: block;
    width: 100%;
    height: auto;
    border-top: 3px solid var(--soft);
}
