.numbers,
.find {
    display: flex;
    justify-content: space-between;
}

.our-services,
.about,
.call-us__questions,
.call-us__form-block,
.wpcf7-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about__wrapper {
    width: 100%;
}

.about__wrapper,
.call-us {
    gap: 20px;
}

.about__content,
.spec-card__content,
.questions__sub-title,
.call-us__title {
    line-height: 22px;
}

.questions__title,
.questions__tel {
    margin-bottom: 60px;
}

.spec-card__link,
.rev-card__link {
    text-decoration: underline;
}

/* offers */
.offers {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.offers .splide {
    max-width: 1030px;
    margin: 0 auto;
    overflow: visible;
}

.offers .splide__track {
    overflow: visible;
}

.offers__card {
    height: 520px;
    position: relative;
    overflow: hidden;
    cursor: grab;
}

.offers__img {
    object-fit: cover;
    object-position: 0% 0%;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    filter: brightness(1.1);
}

.offers__block {
    position: absolute;
    top: 0;
    height: 100%;
    padding: 80px 240px 80px 80px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.offers__title {
    font-weight: 700;
	display: inline;
   

   
}
.offers__btn a {
    padding: 10px 20px;
}

.offers__btn {
	    position: absolute!important;
    top: 87%!important;
   
    left: 82px!important;
}

/* numbers */
.numbers__title {
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--color-primary);
    text-align: start;
}

.numbers__item {
    flex-basis: 190px;
}

.numbers__text {
    color: var(--color-dark);
}

/* out services */

.our-services__block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.fly {
    transition: 0.2s ease-in-out;
    animation: 3s infinite linear fly;
}

.fly:hover {
    animation: none;
    transform: scale(1.065);
}

.fly:nth-child(2) {
    animation-delay: 1s;
}

.fly:nth-child(3) {
    animation-delay: 2s;
}

/* .sc__details {
    opacity: 0.5;
    text-decoration: underline;
    grid-area: details;
    margin-top: auto;
} */

.sc {
    background-color: var(--color-secondary);
    width: 100%;
    height: 321px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 1s;
    cursor: pointer;
}

.service-card__content li {
    margin-bottom: 5px;
}

.sc-front {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "title title"
        "details img";
    border-radius: 20px;
}

.sc-front__title {
    grid-area: title;
}

.sc-front__icon {
    grid-area: img;
    align-self: flex-end;
}

.sc-back {
    background-color: var(--color-primary);
    color: white;
    border-radius: 20px;
    opacity: 0;
    display: flex;
    flex-direction: column;
}

.sc-back__title {
    margin-bottom: 29px;
}

.sc-front__title {
    font-size: 30px;
    font-weight: 600;
    line-height: 36px;
}

.sc .sc-front,
.sc .sc-back {
    padding: 30px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.sc.sc-back {
    transform: rotateY(180deg);
    opacity: 1;
}

.sc .sc-back {
    transform: rotateY(180deg);
    opacity: 1;
}

.sc__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 35px;
    background-color: var(--color-primary);
    border-radius: 60px;
    align-self: flex-end;
    text-align: center;
    vertical-align: middle;
}
.sc-back .sc__btn:not(.fake-class) {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    margin-top: auto;
}

.sc__btn:not(.fake-class) {
    color: white;
}

.sc__btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 14px 6px rgba(255, 255, 255, 0.5);
}

/* about our clinic */
.about__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "img content"
        "img button";
}

.about__img {
    grid-area: img;
    width: 100%;
    border-radius: 20px;
    height: 407px;
    object-fit: cover;
}

.about__btn {
    grid-area: button;
    align-self: flex-end;
}

.about__content {
    grid-area: content;
    text-overflow: ellipsis;
    overflow: hidden;
   
}

.about__content:first-child {
    margin-bottom: 10px;
}

.about__link {
    font-size: 16px;
    text-align: start;
    display: none;
    background-color: transparent;
    border: none;
}

/* questions */
.call-us {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.call-us__questions {
    color: var(--color-primary);
    background-color: var(--color-secondary);
    border-radius: 30px;
    padding: 70px 61px;
}

.questions__title {
    font-weight: 700;
}

.questions__sub-title {
    margin-bottom: 10px;
}

.questions__tel {
    font-size: 50px;
    font-weight: 700;
    line-height: 60.25px;
}

.questions__email {
    font-size: 30px;
    font-weight: 700;
}

.call-us__form-block {
    background-color: var(--color-gray);
    border-radius: 30px;
    padding: 70px 58px;
}

.call-us__title {
    text-align: center;
    margin-bottom: 30px;
}

/* Find us */

.appointment__modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 400px;
    z-index: 11;
}

.appointment__close {
    position: absolute;
    right: 10px;
    top: 10px;
}

@media screen and (max-width: 1340px) {
    .offers {
        margin-top: 20px;
    }

    .offers .splide {
        max-width: 616px;
    }

    .offers__card {
        height: 311px;
    }

    .offers__title {
        margin-bottom: 20px;
        line-height: 36px;
    }

    .offers__block {
        width: 100%;
        padding: 0 226px 0 50px;
    }

    .our-services__block {
        gap: 10px;
    }

    .service-card__content {
        line-height: 20px;
        font-size: 16px;
    }

    .sc {
        height: 240px;
    }

    /* .sc__details {
        font-size: 14px;
    } */

    .sc .sc-front {
        padding: 20px 16px 16px 20px;
    }
    .sc__btn {
        width: 96px;
    }

    .sc .sc-back {
        padding: 12px;
    }

    .sc-front__title {
        font-size: 20px;
        line-height: 24px;
    }

    .sc-front__icon {
        width: 80px;
        height: 80px;
    }

    .sc-back__title {
        margin-bottom: 10px;
    }

    .about__link {
        display: inline;
        grid-area: link;
        opacity: 0.5;
        text-decoration: underline;
    }

    .about__wrapper {
        grid-template-columns: 1fr;
        grid-template-areas:
            "img"
            "content"
            "link"
            "button";
    }

    .about__img {
        height: fit-content;
    }

    .about__content {
        max-height: fit-content;
    }

    .about__btn {
        display: block;
        margin: 0 auto;
    }

    .about__img {
        height: 100%;
        border: radius 10px;
    }

    .call-us__questions {
        padding: 33px 14px 49px 14px;
    }

    .questions__title,
    .questions__tel {
        font-size: 30px;
        line-height: 36px;
    }

    .questions__title {
        margin-bottom: 50px;
        font-size: 22px;
        line-height: 26px;
    }

    .questions__tel {
        margin-bottom: 50px;
        letter-spacing: -0.5px;
    }

    .questions__sub-title {
        font-size: 16px;
    }

    .questions__email {
        font-size: 20px;
        line-height: 24px;
    }

    .call-us__form-block {
        padding: 25px 20px;
    }

    .call-us__title {
        margin-bottom: 16px;
    }

    .form__input {
        height: 40px;
    }

    .wpcf7-form input,
    .wpcf7-form select {
        padding: 9px 20px;
    }

    .form__checkbox-label {
        align-items: center;
    }

    .find__info {
        padding: 82px 10px 82px var(--padding-left);
    }
}

@media screen and (max-width: 720px) {
    .offers .splide {
        max-width: 372px;
    }

    .offers__card {
        height: 232px;
    }

    .offers__img {
        border-radius: 20px;
    }

    .offers__title {
        line-height: 24px;
        margin-bottom: 0;
    }

    .offers__block {
        padding: 0 60px 0 30px;
        gap: 20px;
    }

    .offers__btn {
        width: 137px;
        height: 35px;
        font-size: 14px;
        line-height: 16px;
    }

    .numbers {
        flex-direction: column;
        padding-left: 10px;
    }

    .numbers__item {
        flex-basis: 50px;
    }

    .our-services__block {
        grid-template-columns: 1fr;
    }

    .sc {
        height: 220px;
    }

    .sc-front {
        grid-template-columns: 2fr 1fr;
        grid-template-areas:
            "title img"
            "details img";
    }

    .sc-front,
    .sc-back {
        border-radius: 10px;
    }

    .sc-front__icon {
        align-self: center;
        justify-self: end;
    }

    .call-us {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 10px;
    }

    .questions__title,
    .questions__tel {
        margin-bottom: 20px;
    }

    .find {
        flex-direction: column;
    }

    .find__info {
        padding: 40px 40px 30px 40px;
    }

    .find__info,
    .find__map {
        width: 100%;
    }

    .find__title {
        margin-bottom: 10px;
    }

    .find__map iframe {
        height: 271px;
    }

    .appointment__modal {
        width: 300px;
    }
}

@media screen and (max-width: 400px) {
    /* .sc {
        width: 100%;
    } */
}