/* Fold */

.fold {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: calc(2 * var(--space-xxxl));

    padding: calc(2 * var(--space-xxxl)) var(--space-xxxl);

    position: relative;
}

.fold__img-wrapper {
    width: 100%;
    height: 100%;

    display: flex;

    position: absolute;

    top: 0;
    left: 0;
}

.fold__img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.fold__body {
    width: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-m);

    position: relative;

    z-index: 2;
}

.fold__heading-line {
    text-align: center;
}

/* Intro */

.intro {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: var(--space-m);

    padding: calc(2 * var(--space-xxxl)) var(--space-xxxl);
}

.intro__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-m)
}

/* Quality */

.quality {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: var(--space-m);

    padding: calc(2 * var(--space-xxxl)) var(--space-xxxl);
    padding: 0 var(--space-xxxl);
}

.gallery {
    width: 100%;

    display: flex;
    gap: var(--space-m);
}

.gallery__media-wrapper {
    display: flex;

    position: relative;
}

.gallery__media-wrapper--01 {
    width: calc(50% - (var(--space-m) / 2));
}

.gallery__media {
    width: 100%;
    height: 100%;
}

.gallery__media-heading-wrapper {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: var(--space-m);

    position: absolute;

    top: 0;
    left: 0;

    z-index: 2;
}

.gallery__media-heading {
    color: var(--color-02);
}

.gallery__right {
    width: calc(50% - (var(--space-m) / 2));

    display: flex;
    flex-direction: column;
    gap: var(--space-m);
}

.gallery__media-wrapper--02 {
    width: 100%;
}

.gallery__right-group {
    display: flex;
    gap: var(--space-m);
    height: 100%;
}

.gallery__media-wrapper--03,
.gallery__media-wrapper--04 {
    width: calc(50% - (var(--space-m) / 2));
    height: 100%;
}

.quality__wrapper {
    width: 100%;

    display: flex;
    gap: var(--space-m);
}

.quality__body {
    width: calc(50% - (var(--space-m) / 2));

    display: flex;
    flex-direction: column;
    /* align-items: flex-start; */
    justify-content: space-between;
    gap: var(--space-m);
}

.quality__body-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
}

.quality__media-wrapper {
    width: calc(50% - (var(--space-m) / 2));

    display: flex;

    position: relative;
}

.quality__media {
    width: 100%;
    height: 100%;
}

.quality__media-heading-wrapper {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: var(--space-m);

    position: absolute;

    top: 0;
    left: 0;

    z-index: 2;
}

.quality__media-heading {
    color: var(--color-02);
}

/* Categories */

.categories {
    width: 100%;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-xxxl);

    padding: calc(2 * var(--space-xxxl)) var(--space-xxxl);
}

.category {
    width: calc(25% - (3 * var(--space-xxxl) / 4));

    display: flex;
    align-items: center;
    justify-content: center;
}

.category__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-m);
}

.category__img-wrapper {
    width: 120px;

    display: flex;

    transition: var(--transition-02);
    -webkit-transition: var(--transition-02);
}

.category__link:hover > .category__img-wrapper {
    transform: scale(0.88);
    -webkit-transform: scale(0.88);
}

.category__img {
    width: 100%;
}

/* CTA */

.cta {
    background-image: url("../../assets/media/pages/home/cta.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: calc(2 * var(--space-xxxl)) var(--space-xxxl);

    position: relative;
}

.cta__body {
    width: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-m);

    position: relative;

    z-index: 2;
}

/* Testimonials */

.testimonials {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: calc(2 * var(--space-xxxl));

    /* padding: calc(2 * var(--space-xxxl)) var(--space-xxxl) calc(4 * var(--space-xxxl) + 1px) var(--space-xxxl); */
    padding: calc(2 * var(--space-xxxl)) var(--space-xxxl);
}

.testimonials__slider-outer-wrapper {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: var(--space-m);
}

.testimonials__slider {
    max-width: 100%;
}

.testimonial__slide {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-m);
}

.testimonial__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
}

.testimonial__stars {
    display: flex;
    gap: var(--space-xs);
}

.testimonial__star-img {
    height: 16px;
}

.testimonials__slider-nav {
    width: 100%;

    display: flex;
    justify-content: space-between;
    gap: var(--space-m);
}

.testimonials__slider-nav-btn {
    width: 40px;
    height: 40px;

    justify-content: center;

    padding: 0;
}

.testimonials__slider-nav-btn-icon {
    height: 16px;
}

@media (max-width: 1280px) {
    
}

@media (max-width: 1024px) {
    /* Quality */

    .quality__wrapper {
        flex-direction: column;
    }

    .quality__body,
    .quality__media-wrapper {
        width: 100%;
    }

    /* Categories */

    .category {
        width: calc(50% - (var(--space-xxxl) / 2));
    }

    .category__img-wrapper {
        width: 60px;
    }
}

@media (max-width: 768px) {
    /* Fold */

    .fold__body {
        width: 100%;
    }

    /* Quality */

    .gallery {
        flex-direction: column;
    }

    .gallery__media-wrapper--01,
    .gallery__right {
        width: 100%;
    }

    /* CTA */

    .cta__body {
        width: 100%;
    }
}

@media (max-width: 480px) {
    /* Categories */

    .categories {
        flex-direction: column;
    }

    .category {
        width: 100%;
    }
}