:root {
    --inner-width: min(calc(100% - 62px), 1144px);
    --block-padding: 72px;
    --color-overlay: rgba(0, 0, 0, 0.4);
    --color-rose: #FA65C2;
    --color-mauvelous: #F195AE;
    --color-dark: #191D2D;
    --color-pink: #FF95B2;
    --color-light-pink: #FFB3B9;
    --color-pale-pink: #FFD8DB;
    --color-levander: #FCECF5;
    --color-light: #E16463;
    --color-yellow: #E9C178;
    --color-strawberry: #FF5A87;
    --transition: all 0.3s ease;
}

@font-face {
    font-family: 'GoodVibesCyr';
    src: url('../fonts/GoodVibesCyr.ttf');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

/* HEADER */
header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    background-color: var(--color-overlay);
    backdrop-filter: blur(5px);
}

body:has(#wpadminbar) header {
    top: 32px;
}

    .header__inner {
        width: var(--inner-width);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .header__logo {
            padding: 8px 0;
            width: auto;
            height: 100%;
            display: flex;
        }

            .header__logo > img {
                width: auto;
                height: 100%;
                object-fit: contain;
            }

        .header__nav {
            display: flex;
            gap: 48px;
        }

            .header__nav > a {
                font-size: 14px;
                font-weight: 600;
                letter-spacing: 1px;
                text-decoration: none;
                text-transform: uppercase;
                color: #fff;
                transition: var(--transition);
            }

            .header__nav > a:hover {
                color: var(--color-mauvelous);
            }

        .header__social {
            display: flex;
            gap: 24px;
        }

            .header__social > a {
                font-size: 16px;
                text-decoration: none;
                color: #fff;
                transition: var(--transition);
            }

            .header__social > a:hover {
                color: var(--color-mauvelous);
            }

        .header__burger {
            display: none;
            background-color: transparent;
            border: none;
            outline: none;
            cursor: pointer;
            font-size: 24px;
            color: #fff;
        }

/* MOBILE NAV */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(100%);
    padding: 31px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    background-color: #fff;
    transition: var(--transition);
}

body:has(#wpadminbar) .mobile-nav {
    top: 32px;
}

.mobile-nav--open {
    transform: translateX(0);
}

.mobile-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-image: url('../img/mobile-nav.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 100% 100%;
}

    .mobile-nav__header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .mobile-nav__logo {
            width: 75%;
            height: auto;
            display: flex;
        }

            .mobile-nav__logo > img {
                width: 100%;
                height: auto;
                object-fit: contain;
                object-position: left;
            }

        .mobile-nav__close {
            background-color: transparent;
            border: none;
            outline: none;
            cursor: pointer;
            font-size: 24px;
            color: var(--color-dark);
        }

    .mobile-nav__nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 48px;
        overflow-y: auto;
    }

        .mobile-nav__nav > a {
            font-size: 16px;
            font-weight: 600;
            letter-spacing: 1px;
            text-decoration: none;
            text-transform: uppercase;
            color: var(--color-dark);
            transition: var(--transition);
        }

        .mobile-nav__nav > a:hover {
            color: var(--color-mauvelous);
        }

    .mobile-nav__footer {
        width: 100%;
        display: flex;
        gap: 24px;
    }

        .mobile-nav__footer > a {
            font-size: 16px;
            text-decoration: none;
            color: var(--color-dark);
            transition: var(--transition);
        }

        .mobile-nav__footer > a:hover {
            color: var(--color-mauvelous);
        }

/* SEMI BLOCK */
.semi-block {
    padding: var(--block-padding) 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.semi-block--dark {
    background-color: var(--color-levander);
}

    .semi-block__inner {
        width: var(--inner-width);
        display: flex;
        gap: 96px;
    }

    .semi-block--reverse > .semi-block__inner {
        flex-direction: row-reverse;
    }

        .semi-block__content-outer {
            width: calc(60% - 96px);
            display: flex;
            flex-direction: column;
            gap: 48px;
        }

            .semi-block__header {
                width: 100%;
                display: flex;
                flex-direction: column;
                gap: 8px;
            }

            .semi-block__header::before,
            .semi-block__header::after {
                content: '';
                width: 100px;
                height: 2px;
                display: block;
                background-color: var(--color-light-pink);
            }

            .semi-block__header::before {
                display: none;
            }

                .semi-block__header > h2 {
                    width: 100%;
                    font-family: 'Playfair Display', serif;
                    font-size: 36px;
                    font-weight: 600;
                    color: var(--color-light);
                }

            .semi-block__content-inner {
                width: 100%;
                display: flex;
                flex-direction: column;
                gap: 24px;
            }

                .semi-block__content {
                    width: 100%;
                    display: flex;
                    flex-direction: column;
                    gap: 16px;
                }

                    .semi-block__content > p {
                        font-size: 16px;
                        font-weight: 300;
                    }

                    .semi-block__content > h3 {
                        font-size: 16px;
                        font-weight: 500;
                    }

                    .semi-block__content > ul {
                        list-style-type: square;
                        list-style-position: inside;
                        font-size: 16px;
                        font-weight: 300;
                    }

                        .semi-block__content > ul > li::marker {
                            color: var(--color-dark);
                        }

        .semi-block__img-outer {
            position: relative;
            width: 40%;
        }

            .semi-block__img-inner {
                position: sticky;
                top: 10px;
                width: 100%;
                aspect-ratio: 3/4;
            }

            .semi-block__img-inner::before {
                content: '';
                position: absolute;
                top: 24px;
                left: -24px;
                z-index: -1;
                width: 100%;
                height: 100%;
                border: 3px solid var(--color-yellow);
                border-radius: 12px 12px 80px 12px;
            }

            .semi-block--reverse .semi-block__img-inner::before {
                left: unset;
                right: -24px;
                border-radius: 12px 12px 12px 80px;
            }

            .semi-block__img-inner::after {
                content: '';
                position: absolute;
                bottom: -44px;
                left: -37px;
                z-index: 1;
                width: 29px;
                height: 32px;
                background: url('../img/star.png') no-repeat center center;
                background-size: contain;
            }

            .semi-block--reverse .semi-block__img-inner::after {
                left: unset;
                right: -37px;
            }

                .semi-block__img {
                    width: 100%;
                    height: 100%;
                    border-radius: 12px 12px 80px 12px;
                    box-shadow: 0 4px 25px 0 rgba(183, 183, 183, 0.15);
                    overflow: hidden;
                }

                .semi-block--reverse .semi-block__img {
                    border-radius: 12px 12px 12px 80px;
                }

                    .semi-block__img > img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }

/* BLOCK HEADER */
.block-header {
    width: 100%;
    display: flex;
    justify-content: center;
}

    .block-header__inner {
        width: var(--inner-width);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

        .block-header__title {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 32px;
        }

        .block-header__title::before,
        .block-header__title::after {
            content: '';
            height: 2px;
            display: block;
            flex-grow: 1;
            background-color: var(--color-light-pink);
        }

            .block-header__title > h2 {
                max-width: 60%;
                font-family: 'Playfair Display', serif;
                font-size: 36px;
                font-weight: 600;
                text-align: center;
                color: var(--color-light);
            }

        .block-header__inner > p {
            max-width: 60%;
            font-size: 16px;
            font-weight: 300;
            text-align: center;
            color: var(--color-dark);
        }

/* FOOTER */
footer {
    width: 100%;
    display: flex;
    flex-direction: column;
}

    .footer__main {
        position: relative;
        padding: 192px 0 96px;
        width: 100%;
        display: flex;
        justify-content: center;
        background-color: var(--color-levander);
    }

    .footer__main::before {
        content: '';
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        width: 100%;
        height: 150px;
        background-image: url('../img/footer_wave.svg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }


        .footer__main-inner {
            width: var(--inner-width);
            display: flex;
            justify-content: space-between;
        }

            .footer__main-block {
                display: flex;
                flex-direction: column;
            }

            .footer__main-block:first-child {
                max-width: 360px;
            }

                .footer__logo {
                    margin-bottom: 32px;
                    width: 100%;
                    height: auto;
                    display: flex;
                }

                    .footer__logo > img {
                        width: 100%;
                        height: auto;
                        object-fit: contain;
                        object-position: left;
                    }

                .footer__main-block > h6 {
                    margin-bottom: 32px;
                    font-family: 'Playfair Display', serif;
                    font-size: 18px;
                    font-weight: 600;
                    text-transform: uppercase;
                    color: var(--color-light);
                }

                .footer__main-block p {
                    font-size: 16px;
                    font-weight: 500;
                    color: var(--color-light);
                }

                .footer__hours {
                    margin-bottom: 32px;
                    width: 100%;
                    display: flex;
                    flex-direction: column;
                    gap: 16px;
                }

                .footer__nav {
                    display: flex;
                    flex-direction: column;
                    gap: 16px;
                }

                    .footer__nav > a {
                        font-size: 16px;
                        font-weight: 500;
                        text-decoration: none;
                        color: var(--color-light);
                        transition: var(--transition);
                    }

                    .footer__nav > a:hover {
                        color: var(--color-rose);
                    }
                
            .footer__contacts {
                width: 100%;
                display: flex;
                flex-direction: column;
                gap: 16px;
            }

                .footer__contacts > a {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    text-decoration: none;
                    color: var(--color-light);
                    transition: var(--transition);
                }

                .footer__contacts > a:hover {
                    color: var(--color-rose);
                }

                    .footer__contacts > a > i {
                        font-size: 18px;
                    }

                    .footer__contacts > a > span {
                        font-size: 16px;
                        font-weight: 500;
                    }

    .footer__bottom {
        padding: 16px 0;
        width: 100%;
        display: flex;
        justify-content: center;
        background-color: var(--color-pink);
    }

        .footer__bottom-inner {
            width: var(--inner-width);
            display: flex;
            justify-content: space-between;
        }

            .footer__bottom-inner > p {
                font-size: 14px;
                font-weight: 300;
                color: #fff;
            }

                .footer__bottom-inner > p > a {
                    text-decoration: none;
                    color: #fff;
                }

@media screen and (max-width: 1023px) {
    body:has(#wpadminbar) header {
        top: 46px;
    }

        .header__nav {
            display: none;
        }

        .header__social {
            display: none;
        }

        .header__burger {
            display: block;
        }

    body:has(#wpadminbar) .mobile-nav {
        top: 46px;
    }

    .semi-block__inner {
        width: 100%;
        flex-direction: column;
        gap: 48px;
    }

    .semi-block--reverse > .semi-block__inner {
        flex-direction: column;
    }

        .semi-block__content-outer {
            width: 100%;
            align-items: center;
        }

            .semi-block__header {
                flex-direction: row;
                align-items: center;
                gap: 16px;
            }

            .semi-block__header::before {
                display: block;
            }

            .semi-block__header::before,
            .semi-block__header::after {
                width: unset;
                flex-grow: 1;
            }

                .semi-block__header > h2 {
                    width: unset;
                    max-width: 60%;
                    font-size: 24px;
                }

            .semi-block__content-inner {
                width: var(--inner-width);
            }

                .semi-block__content > p,
                .semi-block__content > h3,
                .semi-block__content > ul {
                    font-size: 14px;
                }

        .semi-block__img-outer {
            padding: 0 16px;
            width: 100%;
            display: flex;
            justify-content: center;
        }

            .semi-block__img-inner {
                width: var(--inner-width);
            }

            .semi-block__img-inner::before {
                top: 16px;
                left: -16px;
                border-width: 2px;
            }

            .semi-block--reverse .semi-block__img-inner::before {
                left: unset;
                right: -16px;
            }

            .semi-block__img-inner::after {
                bottom: -35px;
                left: -29px;
            }

            .semi-block--reverse .semi-block__img-inner::after {
                left: unset;
                right: -29px;
            }

    .block-header__inner {
        width: 100%;
    }

        .block-header__title {
            gap: 16px;
        }

            .block-header__title > h2 {
                font-size: 24px;
            }

        .block-header__inner > p {
            max-width: var(--inner-width);
            font-size: 14px;
        }

    .footer__main-inner {
        flex-direction: column;
        gap: 48px;
    }

    .footer__bottom-inner {
        flex-direction: column-reverse;
        gap: 16px;
    }

        .footer__bottom-inner > p {
            text-align: center;
        }
}