/*hero-start*/

.hero__video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #F9F8F5;
}

.hero__video-item {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero__video-item.is-ready {
    opacity: 1;
}

.hero {
    border-bottom: 1px solid var(--clr-brown-light);
}

.hero__swiper {
    width: 100%;
    max-height: 92vh;
}

.hero__swiper-slide {
    background: var(--clr-white);
}

.hero__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    width: calc(35 / 1440 * 100vw);
    height: calc(4 / 1440 * 100vw);

    border-radius: calc(4 / 1440 * 100vw);
    border: 1px solid var(--clr-brown);
    background-color: #F9F8F5;

    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: var(--clr-brown);
}

@media screen and (max-width: 1024px) {

    .hero__swiper {
        max-height: 100%;
    }

    .hero__video {
        border-bottom: 1px solid var(--clr-border);
    }
    
}

@media screen and (max-width: 768px) {

    .hero__video {
        aspect-ratio: 9 / 16;
    }

}

@media screen and (max-width: 480px) {
    
    .swiper-pagination-bullet {
        width: 35px;
        height: 4px;

        border-radius: 4px;
    }

}

/*hero-end*/

/*product*/

.product {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    box-sizing: border-box;
    border-bottom: 1px solid var(--clr-brown-light);
}

.product__article {
    position: sticky;
    top: 0;

    padding: calc(80 / 1440 * 100vw);
    height: min-content;
}

.product__title {
    margin: 0;
    text-transform: uppercase;
}

.product__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    border-left: 1px solid var(--clr-brown-light);
}

.product__item {
    border-bottom: 1px solid var(--clr-brown-light);
}

.product__item:nth-child(2n) {
    border-left: 1px solid var(--clr-brown-light);
}

@media screen and (max-width: 768px) {
    
    .product {
        display: flex;
        flex-direction: column;
    }

    .product__article {
        position: relative;
        top: inherit;

        padding: 40px 20px;
        display: flex;
        justify-content: center;

        border-bottom: 1px solid var(--clr-brown-light);
    }

}

@media screen and (max-width: 480px) {

    .product {
        border-bottom: 0;
    }

    .product__article {
        height: 100%;
        padding: 40px 20px;
    }

    .product__list {
        border-left: 0;
    }

}

/*about*/

.about {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;

    border-bottom: 1px solid var(--clr-brown-light);
}

.about__content {
    position: sticky;
    top: 80px;

    width: 50%;
    height: 100%;

    padding: calc(80 / 1440 * 100vw); /*webkit and firefox*/

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;

    box-sizing: border-box;
}

.about__article {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
}

.about__title {
    margin: 0;
}

.about__article-subtitle {
    margin: 0;
}

.about__picture {
    width: 50%;
    height: 100%;

    border-left: 1px solid var(--clr-brown-light);
    overflow: hidden;
    box-sizing: border-box;
}

@media screen and (max-width: 1024px) {
    
    .about {
        flex-direction: column-reverse;
    }

    .about__content {
        position: relative;
        top: inherit;

        padding: 40px 20px;

        width: 100%;
    }

    .about__picture {
        display: none;
    }

}

/*category*/

.category {
    display: flex;
    flex-direction: column;

    border-bottom: 1px solid var(--clr-brown-light);
}

.category__title {
    text-transform: uppercase;
}

.category__swiper {
    width: 100%;
    height: 100%;

    transition-timing-function: linear !important;
}

.category__slide {
    display: flex;
    flex-direction: column;
}

.category__slide:not(:last-child) {
    border-right: 1px solid var(--clr-brown-light);
}

.category__slide-img {
    aspect-ratio: 1/1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category__slide {
    position: relative;

    width: 30%;
    text-decoration: none;
}

.category__slide:nth-child(2n) {
    width: 30%;
}

.category__slide:nth-child(3n) {
    width: 30%;
}

.category__slide-article {
    padding: calc(32 / 1440 * 100vw) 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.category__slide-title {
    margin: 0;
    text-transform: uppercase;
}

.category__hover {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;

    opacity: 0;
    transition: all 0.3s ease;
}

.category__slide:hover .category__hover {
    opacity: 1;
}

.category__hover-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    z-index: 1;
}

.category__hover-article {
    position: absolute;
    bottom: calc(24 / 1440 * 100vw);
    right: calc(24 / 1440 * 100vw);
    left: calc(24 / 1440 * 100vw);

    padding: calc(16 / 1440 * 100vw);

    display: flex;
    flex-direction: column;
    gap: calc(16 / 1440 * 100vw);

    background-color: var(--clr-extra-light);
    z-index: 2;
}

.category__hover-subtitle {
    margin: 0;
}

.category__hover-title {
    margin: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    text-transform: uppercase;
}

.category__hover-title::after {
    content: '';
    display: block;

    width: 18px;
    height: 14px;

    background: no-repeat url(../icons/product-card-arrow.svg) center / cover;
}

@media screen and (max-width: 1024px) {

    .category__slide {
        width: 50%;
    }
    
    .category__slide:nth-child(2n) {
        width: 50%;
    }
    
    .category__slide:nth-child(3n) {
        width: 50%;
    }

    .category__hover {
        display: none;
    }

    .category__slide-article {
        padding: 32px 0;
    }
    
}

@media screen and (max-width: 480px) {

    .category__slide {
        width: 90%;
    }
    
    .category__slide:nth-child(2n) {
        width: 90%;
    }
    
    .category__slide:nth-child(3n) {
        width: 90%;
    }
    
}

/*advantage*/

.advantage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    border-bottom: 1px solid var(--clr-brown-light);
}

.advantage__list {
    display: flex;
    flex-direction: column;

    border-left: 1px solid var(--clr-brown-light);
}

.advantage__item {
    padding: calc(80 / 1440 * 100vw);

    display: flex;
    flex-direction: column;
    gap: 14px;
}

.advantage__item:not(:last-child) {
    border-bottom: 1px solid var(--clr-brown-light);
}

.advantage__article {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.advantage__title {
    margin: 0;
    text-transform: uppercase;
}

.advantage__subtitle {
    margin: 0;
}

@media screen and (max-width: 768px) {

    .advantage__heading {
        text-align: center;
    }

    .advantage__item {
        padding: 40px;
    }
    
    .advantage {
        display: flex;
        flex-direction: column;
    }

    .advantage__icon {
        height: 60px;
        width: 60px;
    }

}

@media screen and (max-width: 480px) {

    .advantage__item {
        padding: 40px 20px;
    }

    .advatage__title {
        max-width: 280px;
    }

}

/*cta*/

.cta {
    position: relative;

    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;

    border-bottom: 1px solid var(--clr-brown-light);
}

.cta__content {
    padding: calc(80 / 1440 * 100vw);

    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 56px;

    z-index: 1;
}

.cta__article {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cta__title {
    margin: 0;

    color: var(--clr-white);
    text-transform: uppercase;
}

.cta__subtitle {
    margin: 0;

    color: var(--clr-white);
}

.cta__picture {
    width: 100%;
}

.cta__img {
    position: absolute;
    top: 0;
    right: 0;

    width: 100%;
    height: 100%;
}

.cta__btns {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.cta__btn:first-child {
    color: var(--clr-brown);
    border: 1px solid var(--clr-white);
    background-color: var(--clr-white);

    cursor: pointer;
}

.cta__btn:first-child:hover {
    color: var(--clr-white);
    background-color: var(--clr-brown);
    border: 1px solid var(--clr-brown);
}

.cta__btn:first-child:active {
    color: var(--clr-brown);
    border: 1px solid var(--clr-white);
    background-color: var(--clr-white);
}

.cta__btn:last-child {
    color: var(--clr-white);
    border: 1px solid var(--clr-white);
    background-color: transparent;

    cursor: pointer;
}

.cta__btn:last-child:hover {
    color: var(--clr-brown);
    background-color: var(--clr-white);
}

.cta__btn:last-child:active {
    color: var(--clr-brown);
    background-color: var(--clr-white);
}

@media screen and (max-width: 1024px) {

    .cta {
        flex-direction: column-reverse;
    }
    
    .cta__img {
        position: relative;
        top: inherit;
        right: inherit;
    }

    .cta__content {
        width: auto;
    }

    .cta__title {
        color: var(--clr-black);
    }
    
    .cta__subtitle {
        color: var(--clr-black);
    }

    .cta__btns {
        width: 100%;
        flex-direction: column;
    }

    .cta__btn {
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .cta__btn:first-child {
        color: var(--clr-white);
        background-color: var(--clr-brown);
        border: 1px solid var(--clr-brown);
    
        cursor: pointer;
    }
    
    .cta__btn:first-child:hover {
        background-color: var(--clr-dark-gray);
    }
    
    .cta__btn:first-child:active {
        background-color: var(--clr-brown);
    }

    .cta__btn:last-child {
        color: var(--clr-brown);
        border: 1px solid var(--clr-brown);
        background-color: transparent;
    
        cursor: pointer;
    }
    
    .cta__btn:last-child:hover {
        color: var(--clr-white);
        background-color: var(--clr-brown);
    }
    
    .cta__btn:last-child:active {
        color: var(--clr-brown);
        background-color: transparent;
    }

}

/*work*/

.work {
    display: flex;
    flex-direction: column;

    border-bottom: 1px solid var(--clr-brown-light);
}

.work__heading {
    text-transform: uppercase;
}

.work__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.work__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: calc(360 / 1440 * 100vw);
    gap: 1px;

    background-color: var(--clr-brown-light);
}

.work__item {
    padding: calc(40 / 1440 * 100vw);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;

    background-color: var(--clr-white);
}

.work__header {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.work__span {
    height: 44px;
    width: 44px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid var(--clr-brown);
    border-radius: 50%;
}

.work__article {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.work__title {
    margin: 0;
    text-transform: uppercase;
}

.work__subtitle {
    margin: 0;
}

.work__preview {
    position: relative;
    border-left: 1px solid var(--clr-brown-light);
}

.work__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.work__preview-article {
    position: absolute;
    bottom: calc(40 / 1440 * 100vw);
    left: calc(40 / 1440 * 100vw);
    right: calc(40 / 1440 * 100vw);

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.work__preview-title {
    margin: 0;
}

.work__preview-subtitle {
    margin: 0;
}

@media screen and (max-width: 1024px) {
    
    .work__list {
        display: flex;
        flex-direction: column;
    }

    .work__list {
        border-bottom: 1px solid var(--clr-brown-light);
    }

}

@media screen and (max-width: 480px) {

    .work__list {
        display: flex;
        flex-direction: column;
    }

    .work__item {
        padding: 40px 20px;

        display: flex;
        flex-direction: column;
        gap: 14px;

        aspect-ratio: inherit;
    }

}

/*sertificate*/

.sertificate {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    border-bottom: 1px solid var(--clr-brown-light);
}

.sertificate__picture {
    width: 100%;
    height: 100%;
}

.sertificate__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sertificate__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;

    box-sizing: border-box;
    border-left: 1px solid var(--clr-brown-light);
}

.sertificate__article {
    position: sticky;
    top: 80px;

    padding: calc(80 / 1440 * 100vw);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
}

.sertificate__title {
    margin: 0;
    text-transform: uppercase;
}

.sertificate__list {
    padding: 0;
    margin: 0;
    list-style: none;

    width: 100%;
}

.sertificate__item {
    padding: calc(24 / 1440 * 100vw) 0px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    box-sizing: border-box;
    border-bottom: 1px solid var(--clr-brown-light);
}

.sertificate__item-title {
    margin: 0;
}

@media screen and (max-width: 768px) {
    
    .sertificate {
        display: flex;
        flex-direction: column;
    }

    .sertificate__article {
        position: relative;
        top: inherit;

        padding: 60px 40px;
        align-self: stretch;
    }

    .sertificate__item {
        padding: 24px 0;
    }

}

@media screen and (max-width: 480px) {

    .sertificate__article {
        padding: 40px 20px;
    }

}

/*care*/

/* .care {
    display: flex;
    flex-direction: column;

    border-bottom: 1px solid var(--clr-brown-light);
}

.care__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.care__item {
    padding: calc(40 / 1440 * 100vw);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;

    box-sizing: border-box;
}

.care__item:not(:first-child) {
    border-left: 1px solid var(--clr-brown-light);
}

.care__title {
    margin: 0;
}

.care__subtitle {
    margin: 0;
}

.care__link {
    margin: 0;

    display: flex;
    justify-content: center;

    text-decoration: none;
}

.care__link::after {
    margin-left: 4px;
    content: '';

    display: block;
    height: calc(24 / 1440 * 100vw);
    width: calc(24 / 1440 * 100vw);

    background: no-repeat url(../icons/arrow-right.svg) center / cover;
    transition: .3s ease-in-out;
}

.care__link:hover::after {
    margin-left: 8px;
}

@media screen and (max-width: 1024px) {

    .care {
        border-bottom: 0;
    }
    
    .care__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .care__item {
        padding: 40px;
    }

    .care__item:not(:first-child) {
        border-left: 0;
    }

    .care__item:nth-child(2n) {
        border-left: 1px solid var(--clr-brown-light);
    }

    .care__item {
        border-bottom: 1px solid var(--clr-brown-light);
    }

}

@media screen and (max-width: 480px) {

    .care__list {
        display: flex;
        flex-direction: column;
    }

    .care__item {
        padding: 40px 20px;
    }

    .care__item:nth-child(2n) {
        border-left: 0;
    }

} */