/* Fold */

.fold {
    width: 100%;
    min-height: calc(100% - 122px);
    min-height: calc(100vh - 122px);
    min-height: calc(100dvh - 122px);
    
    background-image: url("../../assets/media/pages/home/fold.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    position: relative;
}

.fold__body {
    width: calc(100% - 400px - var(--space-xxl));

    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    gap: var(--space-m);

    position: relative;

    z-index: 2;
}

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

.fold__slogan-text {
    color: var(--color-03);
}

.fold__body > .c-heading {
    color: var(--color-03);
}

.fold__intro {
    color: var(--color-03);
}

/* About us */

.about-us > .c-section__body {
    align-items: flex-start;
    gap: var(--space-xxl);
}

.about-us__media-wrapper {
    aspect-ratio: 3 / 2;
}

.about-us__right {
    width: calc(50% - (var(--space-xxl) / 2));

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

.about-us__advantages {
    display: flex;
    gap: var(--space-xxl);
}

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

/* Service categories */

.service-categories {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xxl);
}

.service-categories__wrapper {
    width: 100%;

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

.service-category {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-m);
}

.service-category:nth-child(even) {
    flex-direction: row-reverse;
}

.service-category__number {
    width: 400px;
}

.service-category__info {
    width: calc(100% - 800px - (2 * var(--space-xxl)));

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

.service-category__header {
    width: 100%;

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

.service-category__name {
    width: calc(100% - var(--space-m) - 40px);
}

.service-category__header > .c-icon-wrapper {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.service-category__media-wrapper {
    width: 400px;

    aspect-ratio: 3 / 2;

    border-radius: var(--radius-l);

    display: flex;

    overflow: hidden;
}

.service-category__media {
    width: 100%;
}

/* CTA */

.cta__body {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xxl);
}

.cta__message {
    text-align: center;
}

/* Testimonials */

.testimonials {
    gap: var(--space-xxl);
}

.testimonials__wrapper {
    display: flex;
    gap: var(--space-xxl);
}

.testimonial {
    width: calc((100% / 3) - ((2 * var(--space-xxl)) / 3));

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

.testimonial__bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
}

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

.testimonial__star-wrapper {
    width: 16px;
    height: 16px;

    border-radius: var(--radius-m);

    aspect-ratio: 1 / 1;
}

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

.testimonial__author-name {
    line-height: 1;
}

.testimonial__date {
    line-height: 1;
}

/* Advantages */

.advantages__body {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xxl);
}

.advantages__message {
    text-align: center;
}

.advantages__wrapper {
    width: 100%;

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

.advantage {
    width: calc((100% / 3) - ((2 * var(--space-xxl)) / 3));
    
    display: flex;
    align-items: center;
    gap: var(--space-m);
}

/* Booking */

.booking {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xxl);

    padding: var(--space-xxl);
}

.booking__media-wrapper {
    aspect-ratio: 3 / 2;
}

.booking__right {
    width: calc(50% - (var(--space-xxl) / 2));

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

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

.booking__form > .c-fields-wrapper > .c-field-wrapper {
    width: calc(50% - (var(--space-m) / 2));
}

.booking__form-submit-btn-label {
    width: 100%;
}

/* Blog */

.blog {
    gap: var(--space-xxl);
}

.blog__header {
    width: calc(100% - 400px - var(--space-xxl));
}

.blog__wrapper {
    width: 100%;

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

.blog__slider-nav {
    width: 100%;

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

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

.post {
    height: 100%;

    display: flex;
}

.post > a {
    width: 100%;
    height: 100%;

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

.swiper-slide {
    height: auto !important;
}

.post__header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-xs);
}

.post__category {
    color: var(--color-01);

    font-size: var(--font-size-s);
    font-weight: 600;
}

.post__main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-m);
}

.post__media-wrapper {
    aspect-ratio: 3 / 2;

    border-radius: var(--radius-l);

    display: flex;

    overflow: hidden;
}

.post__media {
    width: 100%;
}

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

    .fold__body {
        width: 100%;
    }

    /* About us */

    .about-us__advantages {
        flex-direction: column;
    }

    /* Service categories */

    .service-category__number {
        display: none;
    }

    .service-category__info {
        width: calc(100% - 400px - var(--space-m));
    }
}

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

    .fold {
        min-height: calc(100% - 90px);
        min-height: calc(100vh - 90px);
        min-height: calc(100dvh - 90px);
    }

    /* About us */

    .about-us__right {
        width: 100%;
    }

    .about-us__advantages {
        flex-direction: column;
    }

    /* Service categories */

    .service-category {
        flex-direction: column;
        align-items: initial;
    }
    
    .service-category:nth-child(even) {
        flex-direction: column;
    }

    .service-category__number {
        display: flex;
    }

    .service-category__info {
        width: 100%;
    }

    .service-category__media-wrapper {
        width: 100%;
    }

    /* Testimonials */

    .testimonials__wrapper {
        flex-direction: column;
    }

    .testimonial {
        width: 100%;
    }

    /* Advantages */

    .advantages__wrapper {
        flex-direction: column;
        align-items: center;
    }

    .advantage {
        width: max-content;

        flex-direction: column;
        align-items: center;
    }

    .advantage > span {
        text-align: center;
    }

    /* Booking */

    .booking {
        flex-direction: column;
    }

    .booking__right {
        width: 100%;
    }

    /* Blog */

    .blog__header {
        width: 100%;
    }
}

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

    .booking__form > .c-fields-wrapper {
        flex-direction: column;
    }

    .booking__form > .c-fields-wrapper > .c-field-wrapper {
        width: 100%;
    }
}

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

    /* .fold__slogan {
        flex-direction: column;
        align-items: flex-start;
    } */

    .fold__slogan {
        display: none;
    }
}