* {
    box-sizing: border-box;
    font-family: "Source Sans 3", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--text);
    line-height: 1.5;
    text-decoration: none;
}
.playfair {
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
            "wdth" 100;
}

:root {
    --black: #000;
    --white: #FFF;

    --bg1: #F7F8F7;


    --button-bg: #8925BF;
    --button-bg2: #F6E7FF;
    --button-bg3: #E1E1E1;

    --text: #262626;

    --max-width: 1440px;

}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.2;
    font-size: 16px;
    margin: 0;
    padding: 0;
    color: var(--base-text);
    background-color: var(--bg);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    width: 100%;
}

body::-webkit-scrollbar {
    width: 0;
}
body::-webkit-scrollbar-track {
    background: #FFF;
}
body::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 5px;
}

input {
    outline: 0;
}
section {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 20px;
    width: 100%;
    max-width: var(--max-width);
    contain: layout style;
}
.fullheight {
    min-height: 100vh;
}
.fullwidth {
    max-width: 100vw;
}
.flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
section.intro {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    background: #262626;
    position: relative;
    z-index: 1;
    display: block;
    padding: 0;
    transition: all 2s ease;
    overflow: hidden;
    contain: size layout style;
}

section.intro::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('/img/01.webp');
    background-size: cover;
    background-position: center;
    opacity: 1;
    transition: opacity 2s ease;
    z-index: -1;
}

section.intro::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('/img/02.webp');
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease;
    z-index: -1;
}

section.intro.has-background::before {
    opacity: 0;
}

section.intro.has-background::after {
    opacity: 1;
}




section.intro .back {
    width: 100%;
    height: 100%;
    padding: 5vw;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;

    background-image: linear-gradient(to bottom, rgb(95 203 255 / 11%), rgb(6 22 1 / 21%));
    background-color: #00000040;
}
section.intro .upper-text {
    font-size: 1.1vw;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #FFF;
}
section.intro .after-text {
    font-size: 1.3vw;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #FFF;
    font-weight: 300;
}

section.intro .worktime {
    font-size: 1.3vw;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #FFF;
    font-weight: 300;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
}
section.intro .worktime span {
    font-size: 1.3vw;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #FFF;
}
section.intro .worktime svg {
    width: 2vw;
}


section.intro h1 {
    margin: 0;
    font-size: 5vw;
    font-weight: 700;
    line-height: 1;
    color: #FFF;
    text-align: center;
}
h2 {
    font-size: 4vw;
    margin: 0;
    line-height: 110%;
    color: var(--text);
    text-align: center;
}

.switch {
    display: block;
    --width-of-switch: 3.5em;
    --height-of-switch: 2em;
    /* size of sliding icon -- sun and moon */
    --size-of-icon: 1.4em;
    /* it is like a inline-padding of switch */
    --slider-offset: 0.3em;
    position: absolute;
    bottom: 5vh;
    left: 50%;
    z-index: 4;
    transform: translateX(-50%);
    width: var(--width-of-switch);
    height: var(--height-of-switch);
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f4f4f5;
    transition: .4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: var(--size-of-icon,1.4em);
    width: var(--size-of-icon,1.4em);
    border-radius: 20px;
    left: var(--slider-offset,0.3em);
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(40deg,#ff0080,#ff8c00 70%);
;
    transition: .4s;
}

input:checked + .slider {
    background-color: #303136;
}

input:checked + .slider:before {
    left: calc(100% - (var(--size-of-icon,1.4em) + var(--slider-offset,0.3em)));
    background: #303136;
    /* change the value of second inset in box-shadow to change the angle and direction of the moon  */
    box-shadow: inset -3px -2px 5px -2px #8983f7, inset -10px -4px 0 0 #a3dafb;
}


.static-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.video-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

section.intro.show-video .video-bg {
    opacity: 1;
}

section.intro.show-video .static-bg {
    opacity: 0;
    transition: opacity 0.5s ease;
}

section.intro .icons {
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
    position: absolute;
    top: 5vh;
    left: 50%;
    z-index: 5;
    transform: translateX(-50%);
}
section.intro .icons .icons_item {
    width: fit-content;
    height: fit-content;
    padding: 10px 12px;
}
section.intro .icons .icons_item svg {
    width: 35px;
    height: 35px;
}
section.intro .icons .icons_item.first {
    background: url('/img/goodplace.webp') top center/contain no-repeat;
}
section.intro .icons .icons_item.second {
    background-color: #fff;
    border-radius: 100px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
section.intro .icons .icons_item.second span {
    font-size: 8px;
}
section.intro .icons .icons_item.second span.count {
    color: green;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
}
section.intro .icons .icons_item.second span.star {
    padding: 0 6px;
    border-radius: 5px;
    background-color: green;
    color: #FFF;
    font-size: 15px;
}

.buttons {
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-direction: row;
    gap: 30px;

}
.buttons button {
    padding: 20px 30px;
    background-color: #FFF;
    border: 0;
    color: #262626;
    font-size: 22px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
    cursor: pointer;
}
.buttons button:hover {
    background-color: #e9ffa1;
    transform: scale(103%);
}
.buttons button i.call {
    width: 28px;
    height: 28px;
    display: inline-block;
    margin-bottom: -8px;
    margin-right: 5px;
    background: url('/img/phone.svg') center center/contain no-repeat;
}
.buttons button:has(i.call) {
    padding-left: 30px;
}
.buttons button svg.avito {
    width: 28px;
    height: 28px;
    margin-bottom: -8px;
}
.bgwhite {
    position: relative;
    background-color: #dbe1d9;
}


.benefits {
    width: 100%;
    max-width: var(--max-width);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    height: fit-content;
}
.benefits .item {
    width: 100%;
    height: 100%;
    padding: 20px;
    border-radius: 30px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    background-color: #ededed;
    transition: all 0.3s;
}
.benefits .item span {
    font-size: 22px;
    color: #262626;
    text-align: center;
    line-height: 1.2;
}
.benefits .item svg {
    width: 44px;
}
.benefits .item:hover {
    transform: scale(103%);
    box-shadow: 0 4px 10px #26262630;
}

.bg2,
.bg3,
.bgwhite {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}
.bg2 {
    background-color: #ededed;
}
.address-box {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
}
.address-box .left,
.address-box .right {
    flex: 1;
    padding: 20px;
    border-radius: 30px;
    background-color: #FFF;
}

.address-box .buttons button {
    border: 1px solid #CCC;
    padding: 10px 15px;
    font-size: 20px;
}
.address-box .buttons button:hover {
    border: 0;
}
.address-box .buttons {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}
.address-box .buttons button i.call {
    width: 24px;
    height: 24px;
}
.address-box .buttons button svg.avito {
    width: 24px;
    height: 24px;
    margin-bottom: -8px;
}
.address-box .buttons button:has(i.call) {
    padding-left: 20px;
}

h3 {
    font-size: 46px;
    line-height: 1;
    margin: 0;
}
h4 {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
}
.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: var(--max-width);
}
.gallery .images {
    gap: 15px;
    max-width: 100%;
    margin: 0;
    columns: 5 310px;
    list-style: none;
    margin-top: 30px;
}
.gallery .images .img {
    display: flex;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
    border-radius: 10px;
}
.gallery .images img {
    width: 100%;
    transition: transform 0.2s ease;
}
.gallery .images .img a {
    line-height: 0;
}
.gallery .images .img:hover img {
    transform: scale(1.1);
}

.gallery .gallery-show-more-wrap {
    display: none;
}

footer {
    border-top: 1px solid #ccc;
}

footer section {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}
footer a {
    color: #707070;
    text-decoration: none;
    border-bottom: 1px solid #70707050;
    transition: all 0.3s;
}
footer a:hover {
    color: #262626;
    border-bottom: 1px solid #262626;
}
footer span {
    color: #707070;
}
.map {
    width: 100%;
    max-width: var(--max-width);
}
.map-box {
    padding: 12px;
    border-radius: 20px;
    width: 100%;
    background-color: #FFF;
}
.contact-box .address-box {
    display: grid;
    grid-template-columns: 1fr 2fr;
}
.contact-box .address-box {
    display: grid;
    grid-template-columns: 1fr 2fr;
}
iframe {
    border-radius: 12px;
    overflow: hidden;
}
section.testimonials .icons {
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}
section.testimonials .icons .icons_item {
    width: fit-content;
    height: fit-content;
    padding: 10px 12px;
}
section.testimonials .icons .icons_item svg {
    width: 35px;
    height: 35px;
}
section.testimonials .icons .icons_item.first {
    background: url('/img/goodplace.webp') top center/contain no-repeat;
}
section.testimonials .icons .icons_item.second {
    background-color: #fff;
    border-radius: 100px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 3px solid #5fb336;
    margin-top: 20px;
}
section.testimonials .icons .icons_item.second span {
    font-size: 8px;
}
section.testimonials .icons .icons_item.second span.count {
    color: green;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
}
section.testimonials .icons .icons_item.second span.star {
    padding: 0 6px;
    border-radius: 5px;
    background-color: green;
    color: #FFF;
    font-size: 15px;
}

.testimonials-list {
    width: 100%;
    max-width: var(--max-width);
    margin-top: 30px;
}
.testimonials-item {
    background-color: #FFF;
    width: 100%;
    padding: 30px 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    min-height: 180px;
}
.testimonials-item-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 10px;
}
.testimonials-item-stars svg {
    fill: #f5a623;
}
.testimonials-item .name {
    font-weight: 700;
    font-size: 15px;
    margin: 0 0 5px;
}
.testimonials-item .date {
    font-size: 13px;
    color: #888;
    margin: 0 0 10px;
}
.testimonials-item .text {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}
.testimonials-list .owl-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.testimonials-list .owl-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #FFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 1px solid #ccc !important;
}
.testimonials-list .owl-nav button:hover {
    background-color: #e9ffa1 !important;
    border-color: #e9ffa1 !important;
}
.testimonials-list .owl-nav button svg {
    width: 20px;
    height: 20px;
}
.testimonials-list .owl-dots {
    text-align: center;
    margin-top: 15px;
}
.testimonials-list .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
    transition: all 0.3s;
}
.testimonials-list .owl-dots .owl-dot.active span {
    background: #5fb336;
    width: 24px;
    border-radius: 5px;
}

a:has(.icons) {
    transition: all 0.3s;
}
a:has(.icons):hover {
    transform: scale(103%);
}

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: var(--max-width);
}
.gallery .images {
    gap: 15px;
    max-width: 100%;
    margin: 0;
    columns: 5 310px;
    list-style: none;
    margin-top: 30px;
}
.gallery .images .img {
    display: flex;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
    border-radius: 10px;
}
.gallery .images img {
    width: 100%;
    transition: transform 0.2s ease;
}
.gallery .images .img a {
    line-height: 0;
}
.gallery .images .img:hover img {
    transform: scale(1.1);
}

.gallery .gallery-show-more-wrap {
    display: none;
}


@media screen and (max-width: 746px) {
    h3 {
        font-size: 26px;
    }
    .contact-box .address-box {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-box .address-box .left,
    .contact-box .address-box .right {
        padding: 0;
    }

    .wrapper .preview-img {
        margin-top: 15px;
    }
    .gallery .images {
        max-width: 100%;
        padding: 0;
        margin-top: 30px;
    }
    .gallery .images .img {
        margin-bottom: 10px;
    }
    .gallery:not(.gallery-more-open) .images .img.gallery-extra {
        display: none;
    }
    .gallery .gallery-show-more-wrap {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 20px;
    }
    .gallery.gallery-more-open .gallery-show-more-wrap {
        display: none;
    }
    .lightboxOverlay,
    .lightbox {
        display: none !important;
    }
    .address-box {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
    .address-box .buttons {
        align-items: flex-start;
    }
    .map-box {
        margin-top: 0;
    }
    footer section {
        display: flex;
        flex-direction: column;
    }
    section.intro h1 {
        font-size: 34px;
    }
    section.intro .upper-text {
        font-size: 12px;
        text-align: center;
    }
    section.intro .after-text {
        font-size: 15px;
        text-align: center;
    }
    section.intro .worktime span {
        font-size: 15px;
        letter-spacing: 1px;
        line-height: 1.2;
        color: #FFF;
    }
    section.intro .worktime svg {
        width: 20px;
    }
    .address-box .buttons {
        gap: 10px;
    }
    section {
        padding: 40px 10px;
    }
    .benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 30px;
        height: fit-content;
    }
    .benefits .item svg {
        width: 40px;
    }
    .benefits .item span {
        font-size: 14px;
    }
    h2 {
        font-size: 26px;
    }
    .buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .buttons button {
        padding: 10px 20px;
        font-size: 16px;
    }
    .buttons button i.call {
        width: 22px;
        height: 22px;
        margin-bottom: -6px;
    }
    .buttons button svg.avito {
        width: 22px;
        height: 22px;
        margin-bottom: -8px;
    }
    section.intro {
        max-height: 600px;
    }

    .gallery .images {
        max-width: 100%;
        padding: 0;
        margin-top: 30px;
    }
    .gallery .images .img {
        margin-bottom: 10px;
    }
    .gallery:not(.gallery-more-open) .images .img.gallery-extra {
        display: none;
    }
    .gallery .gallery-show-more-wrap {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 20px;
    }
    .gallery.gallery-more-open .gallery-show-more-wrap {
        display: none;
    }
    .lightboxOverlay,
    .lightbox {
        display: none !important;
    }
}
