/*
    Fonts
*/

@font-face {
    font-family: "Montserrat";
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/Montserrat/Montserrat-Light.woff2") format("woff2"),
        url("../fonts/Montserrat/Montserrat-Light.woff") format("woff"),
        url("../fonts/Montserrat/Montserrat-Light.ttf") format("truetype");
}

@font-face {
    font-family: "Montserrat";
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/Montserrat/Montserrat-Regular.woff2") format("woff2"),
        url("../fonts/Montserrat/Montserrat-Regular.woff") format("woff"),
        url("../fonts/Montserrat/Montserrat-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Montserrat";
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/Montserrat/Montserrat-Bold.woff2") format("woff2"),
        url("../fonts/Montserrat/Montserrat-Bold.woff") format("woff"),
        url("../fonts/Montserrat/Montserrat-Bold.ttf") format("truetype");
}

@font-face {
    font-family: "Montserrat";
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/Montserrat/Montserrat-Medium.woff2") format("woff2"),
        url("../fonts/Montserrat/Montserrat-Medium.woff") format("woff"),
        url("../fonts/Montserrat/Montserrat-Medium.ttf") format("truetype");
}

@font-face {
    font-family: "Montserrat";
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/Montserrat/Montserrat-SemiBold.woff2") format("woff2"),
        url("../fonts/Montserrat/Montserrat-SemiBold.woff") format("woff"),
        url("../fonts/Montserrat/Montserrat-SemiBold.ttf") format("truetype");
}


/*
    General Styles
    All colors are to be used with rgb/rgba(var(--name-color-detail))
*/

:root {
    --blue-color-main: 41, 182, 246;
    --blue-color-second: 106, 204, 249;
    --blue-color-light: 179, 229, 252;


    --blue-color-hover: 75, 174, 220;

    --white-color: 255, 255, 255;
    --gray-color: 245, 245, 245;

    --black-color: 23, 23, 23;

    --red-color: 253, 96, 98;

    --text-color: var(--black-color);
    --background-color: var(--white-color);


    --c-black: 35, 31, 32;
    --c-black-brown: 54, 48, 49;

    --c-white: 241, 241, 241;
    --c-white-gold: 240, 230, 219;
    
    --c-gray-light: 250, 250, 250;
    --c-gray-dark: 198, 195, 188;
    
    --c-brown: 78, 55, 33;
    --c-brown-dark: 45, 33, 20;
    --c-brown-darker: 29, 21, 13;
    
    --c-cream: 179, 159, 128;
    --c-cream-light: 217, 214, 206;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body.show-menu {
    overflow: hidden !important;
}

ol,
ul {
    list-style: none;
}

a {
    text-decoration: none;
}

h1 {
    font-size: 60px;
    line-height: 1.2em;
    font-weight: bold;
}

h1 span {
    color: rgb(var(--c-brown));
}

h2 {
    font-size: 36px;
    line-height: 1.25em;
    font-weight: 600;
    text-align: center;
}

.sa__button {
    border-radius: 6px;
    min-width: 140px;
    font-size: 22px;
    line-height: 1.5em;
    padding: 12px 24px;
    font-weight: 600;

    cursor: pointer;
    border: none;
    outline: none;
    background: none;

    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

a.sa__button {
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.sa__button.primary {
    background-color: rgb(var(--c-brown));
    color: rgb(var(--white-color));
}

.sa__button.primary:hover {
    background-color: rgb(var(--c-brown-dark));
    transform: scale(1.02);
}

.sa__button.primary:active {
    background-color: rgb(var(--c-brown-darker));
    transform: scale(0.98);
}

.sa__button.primary.outline {
    background-color: transparent;
    box-shadow: inset 0 0 0 2px rgb(var(--c-brown));
    color: rgb(var(--c-brown));
}

.sa__button.primary.outline:hover {
    background-color: transparent;
    color: rgb(var(--c-brown));
}

.sa__button.secondary {
    box-shadow: inset 0 0 0 2px rgb(var(--c-cream));
    color: rgb(var(--c-black));
}

.sa__button.secondary.outline {
    background-color: transparent;
    box-shadow: inset 0 0 0 2px rgb(var(--c-cream));
    color: rgb(var(--c-cream));
}

img {
    object-fit: contain;
    object-position: center;
}


/*
    Header Section
*/

header {
    width: 100%;
    padding: 0 60px;
    position: relative;
    z-index: 100;
}

#header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1800px;
    margin: auto;
    background-color: rgb(var(--c-cream-light));
    padding: 40px 100px;
}

#header-navlist {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

#header-navlist li {
    display: flex;
    position: relative;
    align-items: center;
    color: var(--say9-text-blue);
    height: 100%;
}

#header-navlist li a,
#header-navlist li span {
    color: inherit;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 16px;
    transition: box-shadow 0.3s ease-out, color 0.3s ease-out;
}

#header-navlist li.dropdown-menu {
    cursor: pointer;
}

#header-navlist li.dropdown-menu>span {
    display: flex;
    align-items: center;
    gap: 6px;
}

#header-navlist ul.sub-menu {
    position: absolute;
    top: 48px;
    margin-left: 16px;
    padding: 6px 0;
    background-color: rgba(var(--c-cream-light), 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);

    /* backdrop-filter: blur(10px); */
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    width: max-content;
    min-width: 100px;
    transition: opacity 0.2s ease;
}

#header-navlist li.dropdown-menu ul.sub-menu a {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    width: 100%;
    padding: 6px 10px;
    margin: 0;
}

#header-navlist li.dropdown-menu ul.sub-menu li {
    background-color: transparent;
    transition: background-color .2s ease;
}

#header-navlist li.dropdown-menu ul.sub-menu li:hover {
    background-color: rgba(var(--c-cream), 0.8);
}

#header-navlist .dropdown-menu:hover ul.sub-menu {
    opacity: 1;
    pointer-events: all;
}

#header-navlist .dropdown-menu svg {
    transition: transform .3s ease;
    transform: rotate(0deg);
}

#header-navlist .dropdown-menu:hover svg,
#header-navlist .dropdown-menu.active svg {
    transform: rotate(-180deg);
}

#header-navlist .contact-us-link {
    margin-left: 12px;
}

#header-navlist .contact-us-link a {
    border-radius: 6px;
    background-color: rgb(var(--blue-color-main));
    color: rgb(var(--white-color));
}

header .da {
    width: 24px;
    height: 24px;
}

#mobile-menu-switch {
    display: none;
    cursor: pointer;
    position: relative;
    width: 26px;
    height: 20px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
}

#mobile-menu-switch span {
    display: block;
    position: absolute;
    height: 2px;
    width: 26px;
    background: rgb(var(--text-color));
    border-radius: 10px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
}

#mobile-menu-switch span:first-child {
    top: 0;
}

#mobile-menu-switch span:nth-child(2) {
    top: 10px;
}

#mobile-menu-switch span:nth-child(3) {
    top: 20px;
}

#mobile-menu-switch.open span:first-child {
    transform: rotate(45deg) translate(7px, 7px);
}

#mobile-menu-switch.open span:nth-child(2) {
    /* transform: rotate(45deg); */
    opacity: 0;
}

#mobile-menu-switch.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

#navigation-block {
    display: flex;
    column-gap: 16px;
}

#menu-language-switcher-custom a img {
    width: 21px !important;
    height: 14px !important;
}

.pll-parent-menu-item {
    position: relative;
}

.pll-parent-menu-item>a {
    display: inline-block;
    padding: 16px 0 0 0;
    cursor: pointer;
}

.pll-parent-menu-item .sub-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 8px;
    padding: 12px 8px;
    border-radius: 8px;
    background-color: rgb(var(--background-color));
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pll-parent-menu-item .sub-menu.show {
    opacity: 1;
    pointer-events: all;
}

@media screen and (min-width: 1025px) {
    .pll-parent-menu-item:hover .sub-menu {
        opacity: 1;
        pointer-events: all;
    }
}

@media screen and (max-width: 1400px) {

    header {
        padding: 0;
    }

    #header-inner {
        padding: 24px 40px;
        height: 92px;
    }

    /* header, */
    section {
        padding-left: 40px;
        padding-right: 40px;
    }

    section {
        --page-x-padding: 40px;
    }
}

@media screen and (max-width: 1024px) {

    section {
        padding-left: 30px;
        padding-right: 30px;
    }

    section {
        --page-x-padding: 30px;
    }

    #navigation-block {
        position: absolute;
        top: calc(100% - 1px);
        height: calc(100vh - 91px);
        width: 100%;
        left: 0;    
        z-index: 100;
        background-color: rgb(var(--c-cream-light));
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        padding: 0 30px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        row-gap: 16px;
    }

    #header-navigation {
        width: 100%;
    }

    #navigation-block:has(#header-navigation.show-menu) {
        display: flex;
        opacity: 1;
        pointer-events: auto;
    }

    .menu-language-switcher-custom-container {
        align-self: flex-start;
    }

    #header-navlist {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        row-gap: 12px;
        height: max-content;
    }

    #header-navlist li:not(.contact-us-link) a,
    #header-navlist li:not(.contact-us-link) span {
        padding-left: 0;
    }

    #header-navlist li.menu-item-has-children,
    #header-navlist li.menu-item-has-children span {
        width: 100%;
    }

    #header-navlist li.menu-item-has-children span {
        justify-content: space-between;
    }

    #header-navlist .contact-us-link {
        margin-left: 0;
        margin-top: 12px;
    }

    #header-navlist ul.sub-menu {
        position: relative;
        opacity: 1;
        pointer-events: none;
        top: 0;
        margin-left: 0;
        text-align: center;
    }

    #header-navigation.show-menu ul.sub-menu {
        pointer-events: auto;
    }

    #header-navigation ul.sub-menu {
        background-color: transparent !important;
        border: none !important;
        padding: 0;
        row-gap: 5px;
        display: flex;
        flex-direction: column;
        box-shadow: none;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease-out;
    }

    #header-navlist li.dropdown-menu.active ul.sub-menu {
        padding-bottom: 5px;
    }

    #header-navlist li.dropdown-menu ul.sub-menu a {
        text-align: left;
        padding: 3px 4px;
    }

    #header-navigation.show-menu ul.sub-menu a:hover {
        background-color: transparent;
    }

    #header-navlist li.dropdown-menu a,
    #header-navlist li.dropdown-menu span {
        margin-bottom: 12px;
        width: 100%;
        justify-content: space-between;
    }

    #header-navlist ul.sub-menu li {
        justify-content: center;
    }

    #header-navlist ul.sub-menu a {
        padding: 8px 16px;
        font-size: 14px;
        font-weight: 500;
        text-align: center;
    }

    #header-navlist li {
        height: unset;
        flex-direction: column;
    }

    #mobile-menu-switch {
        display: block;
    }

    #menu-language-switcher-custom a img {
        width: 27px !important;
        height: 22px !important;
    }

}

@media screen and (max-width: 500px) {
    #header-logo {
        width: 150px;
        height: auto;
    }

    #header-logo img {
        width: 100%;
        height: auto;
    }
}

/*
    Sections
*/

section {
    --page-x-padding: 60px;
    padding: 0 var(--page-x-padding);
}

.section-inner {
    margin: 0 auto;
    width: 100%;
    max-width: 1800px;
}

/* 
    Why Choose Us Section
*/

#why-choose-us {
    margin-top: 80px;
    padding: 40px 60px 40px 60px;    
}

#why-choose-us h2 {
    margin-bottom: 40px;
}


#why-choose-us .cards {
    display: flex;
    justify-content: space-between;
    column-gap: 2%;
}

.why-choose-us-card {
    display: flex;
    width: 25%;
    flex-direction: column;
    align-items: center;
    background-color: rgb(var(--c-black-brown));
    padding: 60px 18px 60px;
    border-radius: 20px;
    row-gap: 20px;
    transition: transform .2s ease, background-color .2s ease;
}

@media screen and (min-width: 1025px) {
    .why-choose-us-card:hover {
        background-color: rgb(var(--c-black));
        transform: translateY(-10px);
    }
}

.why-choose-us-card * {
    color: rgb(var(--background-color));
}

.why-choose-us-card img {
    width: 134px;
    height: 134px;
    margin-bottom: 40px;
    user-select: none;
    -webkit-user-drag: none;
}

.why-choose-us-card h3 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
}

.why-choose-us-card p {
    font-size: 18px;
    line-height: 1.5em;
    text-align: center;
}

@media screen and (max-width: 1024px) {
    #why-choose-us .cards {
        flex-wrap: wrap;
        row-gap: 24px;
    }

    #why-choose-us .cards .why-choose-us-card {
        width: calc((100% - 24px) / 2);
        max-width: 400px;
        margin: auto;
        aspect-ratio: 10 / 12;
        height: auto;
    }
}

@media screen and (max-width: 768px) {

    #why-choose-us {
        margin-top: 60px;
    }

    #why-choose-us .cards .why-choose-us-card {
        width: 100%;
        max-width: 100%;
        aspect-ratio: unset;
        height: auto;
        padding: 32px 16px;
    }

    .why-choose-us-card p {
        font-size: 14px;
    }
}

/*
    Book a Visit Section
*/

#book-a-visit {
    height: 660px;
    width: 100%;
    position: relative;
    background-color: rgb(var(--c-black));
}

#book-a-visit>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    height: 100%;
}

#book-a-visit .form-wrapper {
    height: 100%;
    width: 100%;
    max-width: 750px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

#book-a-visit .form-wrapper>p,
#book-a-visit .form-wrapper>h2 {
    text-align: center;
    color: rgb(var(--c-cream-light));
}

#book-a-visit .form-wrapper h2 {
    margin-bottom: 4px;
}

#book-a-visit .form-wrapper p {
    margin-bottom: 44px;
    font-size: 22px;
    font-weight: 400;
}

#fluentform_3 * {
    font-family: "Montserrat", sans-serif;
}

#fluentform_3 .ff-el-input--label label {
    color: rgba(var(--c-cream-light), 1);
    font-weight: 400 !important;
    margin-bottom: 8px !important;
}

#fluentform_3 .ff-el-input--content input {
    color: rgb(var(--c-cream-light)) !important;
    border-radius: 4px !important;
    border-color: rgba(var(--c-cream-light), 1) !important;
    border-width: 2px !important;
    background-color: rgb(var(--c-black)) !important;
    font-size: 16px;
    line-height: 16px;
}

#fluentform_3 .ff-el-input--content input:-webkit-autofill,
#fluentform_3 .ff-el-input--content input:-webkit-autofill:hover,
#fluentform_3 .ff-el-input--content input:-webkit-autofill:focus,
#fluentform_3 .ff-el-input--content input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px rgb(var(--c-black)) inset !important;
    -webkit-text-fill-color: rgb(var(--c-cream-light)) !important;
    transition: background-color 5000s ease-in-out 0s;
}

#fluentform_3 .ff-el-input--content input::placeholder {
    color: rgba(var(--c-cream-light), .6);
}

#fluentform_3 .ff-btn-submit {
    background-color: transparent !important;
    border: 2px solid rgba(var(--c-cream), 1) !important;
    color: rgba(var(--c-cream), 1) !important;
    font-weight: 600 !important;
    transition: opacity .2s ease, background-color .2s ease, color .2s ease !important;
}

.fluentform_wrapper_3 {
    min-height: 300px;
}

.fluentform_wrapper_3 .ff-t-container {
    min-height: 118px;
}

#fluentform_3 .ff-btn-submit:hover {
    background-color: rgba(var(--c-cream), 1) !important;
    color: rgba(var(--c-black), 1) !important;
}

#fluentform_3 .fluentform .ff-el-group {
    margin-bottom: 26px !important;
}

@media screen and (max-width: 1024px) {
    #book-a-visit .form-wrapper>h2 {
        font-size: 28px;
    }
}

@media screen and (max-width: 768px) {

    #book-a-visit {
        height: auto;
    }

    #book-a-visit>div {
        flex-direction: column-reverse;
    }

    #book-a-visit .right {
        width: 100%;
        height: 100%;
    }

    #book-a-visit .right img {
        border-radius: 24px 24px 0 0;
    }

    #book-a-visit .left {
        width: 100%;
        padding: 14px;
    }
}

/* 
    Footer
*/

footer {
    width: 100%;
    margin: 0 auto;
}

#footer-inner {
    width: 100%;
    border-radius: 24px 24px 0 0;
    background-color: rgb(var(--c-cream-light));
    padding: 40px 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer * {
    color: rgb(var(--c-brown));
    font-size: 20px;
    line-height: 32px;
    font-weight: 500;
}

#footer-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 80px;
}

#footer-menus {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    margin-bottom: 80px;
    flex-wrap: wrap;
    column-gap: 32px;
    row-gap: 24px;
}

#footer-mobile-placeholder {
    display: none;
}

#footer-wrapper .bold {
    margin-bottom: 16px;
    padding: 4px 16px;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.35em;
    border-radius: 4px;
    background-color: rgba(var(--c-brown), 1);
    color: rgb(var(--c-cream-light));
    width: fit-content;
}

#footer-info,
#footer-general ul,
#footer-social {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

#footer-info-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 40px;
}

#f-services-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 40px;
}

.info__phone_numbers {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

#footer-info .info svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

#footer-info .info.info__phone {
    align-items: flex-start;
}

#footer-info .info.info__phone svg {
    margin-top: 6px;
}

footer .divider {
    width: 100%;
    height: 2px;
    background-color: rgba(var(--c-brown), .6);
    margin: 8px 0;
}

footer .divider.lower {
    margin: 0 0 8px 0;
}

#footer-copyright {
    font-weight: 400;
    font-size: 16px;
    text-align: center;
}

#footer-info .info {
    display: flex;
    column-gap: 6px;
    align-items: center;
}

#yandex-maps-widget {
    width: 100%;
}

#yandex-maps-widget iframe {
    width: 100%;
}

#footer-closer + footer {
    margin-top: 60px;
}

#social-icons {
    display: flex;
    column-gap: 24px;
}

#social-icons a {
    width: 32px;
    height: 32px;
    transition: transform .2s ease;
}

#social-icons a:hover {
    transform: scale(1.2);
}

#four-o-four {
    padding: 0 var(--page-x-padding);
    margin-top: 40px;
}

#four-o-four h1 {
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

#four-o-four .section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 24px;
    row-gap: 30px;
    border-radius: 24px;
}

#four-o-four p {
    font-size: 32px;
    line-height: 48px;
    text-align: center;
}

#four-o-four .sa.button.primary {
    text-align: center;
}

@media screen and (max-width: 1342px) {
    #footer-menus {
        max-width: 1000px;
        justify-content: space-between;
    }
}

@media screen and (max-width: 1024px) {
    #four-o-four {
        padding: 0 var(--page-x-padding);
        margin-top: 40px;
    }

    #four-o-four img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    #four-o-four p {
        font-size: 24px;
        line-height: 32px;
    }
    
    #four-o-four h1 {
        opacity: 0;
        pointer-events: none;
        height: 0;
        overflow: hidden;
    }
    
    #four-o-four .section-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 80px 24px;
        row-gap: 30px;
        border-radius: 24px;
    }

    #footer-closer + footer {
        margin-top: 0;
        padding: 60px 30px 20px;
    }
}

@media screen and (max-width: 768px) {
    
    #footer * {
        color: rgb(var(--c-brown));
        font-size: 18px;
        line-height: 28px;
        font-weight: 500;
    }

    #footer-logo {
        width: 250px;
        height: auto;
    }

    #footer-logo img {
        width: 100%;
        height: auto;
    }

    #footer-menus {
        flex-direction: column;
        row-gap: 32px;
    }

    #footer-wrapper {
        row-gap: 32px;
    }

    #footer-wrapper .bold {
        margin-bottom: 0;
        text-align: center;
        width: 100%;
        max-width: 340px;
    }

    #footer-services,
    #f-services-nav,
    #footer-general,
    #f-general-nav,
    #footer-info,
    #footer-info-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 16px;
    }

    #book-a-visit .form-wrapper {
        padding: 80px 0;
    }

}

@media screen and (max-width: 500px) {

    #header-inner {
        padding: 24px 16px;
    }


    section {
        --page-x-padding: 16px;
        padding: 0 var(--page-x-padding);
    }

    #footer-inner {
        padding: 40px 16px 24px;
    }

    #why-choose-us {
        padding: 24px 16px 40px 16px;
    }
}