:root {
    --wrapper: 1240px;
    --offer-width: 1030px;

    --color-primary: rgb(41, 143, 137);
    --color-secondary: #e9fffc;
    --color-accent: #853444;
    --color-gray: #f5f5f5;
    --color-gray-2: #d9d9d9;

    --color-tertiary: #e8dfc6;

    --color-primary-filter: invert(46%) sepia(8%) saturate(5401%) hue-rotate(130deg) brightness(95%) contrast(68%);
    --color-accent-filter: invert(27%) sepia(11%) saturate(3850%) hue-rotate(300deg) brightness(87%) contrast(88%);
    --color-tertiary-filter: invert(94%) sepia(14%) saturate(547%) hue-rotate(331deg) brightness(103%) contrast(82%);

    --btn-text: white;
    --color-dark: rgb(10, 45, 54);
    --box-shadow: 0 4px 10px 0 rgba(41, 143, 137, 0.1) inset;
    --left-to-full: calc((-100vw + var(--wrapper)) / 2);

    --font-family: "Space Grotesk", sans-serif;
}

*:not(.fakeClass)

/* .header *,
.footer * */
    {
    /* font-family: "Noi Grotesk Fix"; */
    font-family: var(--font-family);
}

html {
    overflow-x: hidden;
}

html *,
.footer * {
    font-size: 16px;
    /* line-height: 19.28px; */
    line-height: 19px;
    font-weight: 400;
}

main {
    color: var(--color-dark);
}

.site section {
    margin-bottom: 60px;
}

a,
button {
    cursor: pointer;
}

button {
    border: none;
    background-color: transparent;
}
:is(b,strong):not(.fakeClass) {
    font-weight: 700;
}
table b {
    font-weight: 700;
    font-size: 1.1rem;
}

/* general styles */
.wrapper {
    max-width: var(--wrapper);
    margin: 0 auto;
}

/* text styles */
.title,
.title_secondary {
    font-size: 40px;
    line-height: 48.2px;
    font-weight: 600;
}

.title_small {
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}

.text {
    font-size: 20px;
    font-weight: 400;
    line-height: 22px;
}

.lh22 {
    line-height: 22px;
}
.mb-20 {
    margin-bottom: 20px;
}

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

.title_secondary {
    margin-bottom: 20px;
}

.btn,
.btn_h,
.btn_big {
    background-color: var(--color-primary);
    color: var(--btn-text);
    border-radius: 60px;
    transition: all 0.2s ease-in-out;
}

.btn:active,
.btn_h:active,
.btn_big:active {
    opacity: 25%;
    box-shadow: 0px 0px 12px 5px rgba(41, 143, 137, 0.25);
}

.btn:hover,
.btn_h:hover,
.btn_big:hover {
    box-shadow: 0px 0px 12px 5px rgba(41, 143, 137, 0.25);
}



.btn {
    width: 190px;
    height: 50px;
}

.btn_h {
    width: 140px;
    height: 40px;
}

.btn_big {
    width: 230px;
    height: 60px;
}

.btn:disabled {
    opacity: 30%;
}

.more,
.more_alt {
    text-decoration: underline;
}

.more {
    line-height: 22px;
    opacity: 50%;
    text-align: start;
}

.more_alt, .more_alt:visited {
    line-height: 24px;
    color: var(--color-primary);
}

/* fonts */
/* to remove */
@font-face {
    font-family: "Noi Grotesk Fix";
    src: url("assets/fonts/NoiGroteskTrial-Regular.ttf");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Noi Grotesk Fix";
    src: url("assets/fonts/NoiGroteskTrial-Bold.ttf");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* splide */
.splide__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-45px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(41, 143, 137, 0.3);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.splide__arrow::after {
    content: "";
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.splide__arrow svg {
    display: none;
}

.splide__arrow--next {
    right: -25px;
}

.splide__arrow--next::after {
    background: no-repeat center url("assets/svg/right.svg");
}

.splide__arrow--prev {
    left: -25px;
}

.splide__arrow--prev::after {
    background: no-repeat center url("assets/svg/left.svg");
}

.splide__pagination {
    display: flex;
    gap: 10px;
}

.splide__pagination li:nth-child(n + 10) {
    display: none;
}

.splide__pagination__page {
    padding: 0;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    background-color: var(--color-gray);
    border: none;
}

.splide__track {
    margin-bottom: 10px;
}

.splide__pagination__page.is-active {
    background-color: var(--color-primary);
}

/* ac reset */

body .ac {
    border: none;
    margin-top: 0;
}

.ac .ac-trigger {
    padding: 0;
}

body .ac .ac-trigger {
    font: inherit;
}

body .ac .ac-trigger::after {
    content: "";
}

.ac.is-active .ac__arrow {
    transform: rotate(180deg);
}

/* cool animation */
.hide {
    transform: translateX(-40%);
    filter: blur(8px);
    transition: all 1.2s;
    opacity: 0;
}

.show {
    transform: translateX(0);
    filter: blur(0);
    opacity: 1;
}

body .block {
    display: block;
}

.fw-700 {
    font-weight: 700;
}

/* features */
.backdrop,
.appointment__backdrop {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(14, 66, 114, 0.7);
    z-index: 10;
    display: none;
}

.appointment__modal .call-us__title,
.appointment__modal .wpcf7-list-item-label,
.appointment__modal .wpcf7-response-output {
    color: black;
}

.appointment__modal form[data-status = "submitting"]::after {
    content: '';
    top: 0;
    left: 0;
    color: var(--color-primary);
    width: 4px;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 19px 0 0 7px, 38px 0 0 3px, 57px 0 0 0;
    transform: translateX(-38px);
    animation: l21 .5s infinite alternate linear;
}

.burger {
    width: 20px;
    height: 2px;
    background-color: white;
    position: relative;
    transition: .4s ease-in-out

}

.burger::after,
.burger::before {
    content: "";
    width: 20px;
    height: 2px;
    background-color: white;
    position: absolute;
    left: 0;
    transform: rotate(0) translate(0, 0);
    transition: .3s ease-in-out;
}

.burger::after {
    bottom: -8px;
}

.burger::before {
    bottom: 8px;
}
.burger_active {
    transition: .3s ease-in-out;
    width: 22px
}
.burger_active::after, .burger_active::before{
    transition: .3s ease-in-out;
    transform-origin: left;
    width: 60%;
    border-radius: 20%;
}
.burger_active::after {
    transform: rotate(21deg) translate(-2px, -7px) ;
}
.burger_active::before {
    
    transform: rotate(-21deg) translate(-2px, 7px);
}



.close {
    border: none;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.close::after,
.close::before {
    position: absolute;
    content: "";
    width: 20px;
    height: 2px;
    background-color: var(--color-dark);
    top: 48%;
    left: 18%;
}

.close::after {
    transform: rotateZ(45deg);
}

.close::before {
    transform: rotateZ(-45deg);
}

.opened:not(#fakeId) {
    display: block;
}

.hidden:not(#fakeId) {
    display: none;
}

.icon_primary {
    filter: invert(42%) sepia(76%) saturate(372%) hue-rotate(127deg) brightness(95%) contrast(90%);
}

.wpcf7-form {
    width: 100%;
}

.wpcf7-form input,
.wpcf7-form select {
    border: 1px solid var(--color-gray-2);
    padding: 20px;
}

.wpcf7-form select,
select {
    appearance: none;
    background: url("assets/svg/down-small.svg");
    background-repeat: no-repeat;
    background-position: 95% 50%;
    background-color: white;
}

.wpcf7-form a,
.wpcf7-form a:visited {
    color: var(--color-primary);
    text-decoration: underline;
}

.wpcf7-form select::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100%;
}

.wpcf7-not-valid-tip {
    padding: 8px 8px 2px 20px;
}

.form__input {
    width: 100%;
    font-size: 16px;
    border-radius: 109px;
    height: 60px;
}

.form__checkbox-label {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 10px;
    line-height: 12.05px;
}

.wpcf7-form {
    gap: 10px;
}

.wpcf7-form p {
    width: 100%;
}

.wpcf7-spinner {
    display: none;
}

.wpcf7-list-item {
    margin: 0;
}

.read-more-expanded:not(#fakeClass) {
    max-height: fit-content;
}
.medflex-round-widget__button:not(#fakeId) {
    width: 64px;
    height: 64px;
    font-size: 16px;
    bottom:55px;
}

@media screen and (max-width: 1340px) {
    :root {
        --wrapper: 660px;
        --offer-width: 621px;
    }

    .btn_h {
        height: 30px;
    }

    .title,
    .title_secondary {
        font-size: 30px;
        line-height: 36px;
    }

    .title_secondary {
        margin-bottom: 10px;
    }

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

    .text {
        font-size: 16px;
        line-height: 22px;
    }
}

@media screen and (max-width: 720px) {
    :root {
        --wrapper: 390px;
    }

    .site section {
        margin-bottom: 50px;
    }

    .title,
    .title_secondary {
        font-size: 22px;
        line-height: 26px;
    }

    .title_small {
        font-size: 16px;
        line-height: 19px;
    }

    .splide__track:not(.fake-class) {
        overflow: visible;
    }

    .splide__arrow {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 420px) {
    :root {
        --wrapper: 300px;
    }

    .splide__arrow--next {
        right: 2px;
    }

    .splide__arrow--prev {
        left: 2px;
    }
}