

/* Start:/bitrix/templates/ShenResidence/css/visualselection.css?17615609603057*/
@import url('https://fonts.cdnfonts.com/css/satoshi');

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

body {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Satoshi', sans-serif;
    background: #111;
}

.hero-image {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.full-screen-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

#header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    margin-top: 0;
}

.overlay-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

.section-g, .section-b, .section-a {
    fill: #fafafa;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.3s ease, fill 0.3s ease;
}

.section-g:hover,
.section-b:hover,
.section-a:hover {
    opacity: 0.5;
    fill: #fafafa;
}

/* Анимация для последовательного появления */
.section-g.animate {
    animation: fadeInOut 1.5s ease-in-out 0s 1 forwards;
}

.section-b.animate {
    animation: fadeInOut 1.5s ease-in-out 0.5s 1 forwards;
}

.section-a.animate {
    animation: fadeInOut 1.5s ease-in-out 1s 1 forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    50% { opacity: 0.5; }
    100% { opacity: 0; }
}

.hover-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    pointer-events: none;
    z-index: 5;
}

/* Промежуточная версия (1070px–1439px) */
@media screen and (min-width: 1070px) and (max-width: 1439px) {
    .hero-image {
        height: auto;
        overflow: hidden;
    }

    .full-screen-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        max-width: none;
        display: block;
    }

    .overlay-svg {
        width: 100%;
        height: 100%;
        left: 0;
        transform: none;
    }

    .hover-icon {
        width: 40px;
        height: 40px;
    }

    #header-container {
        margin-top: 0;
    }
}

/* Мобильная версия (max-width: 1069px) */
@media screen and (max-width: 1069px) {
    .hero-image {
        height: 100vh;
        overflow: hidden;
    }

    .full-screen-image {
        width: auto;
        height: 100%;
        object-fit: contain;
        max-width: none;
        display: block;
    }

    .overlay-svg {
        width: auto;
        height: 100%;
        left: 50%;
        transform: translateX(-50%);
    }

    .hover-icon {
        width: 32px;
        height: 32px;
    }

    #header-container {
        margin-top: 0;
    }
}

/* Десктопная версия (min-width: 1440px) */
@media screen and (min-width: 1440px) {
    .hero-image {
        height: auto;
    }

    .full-screen-image {
        width: 100%;
        height: auto;
    }

    .overlay-svg {
        width: 100%;
        height: 100%;
        left: 0;
        transform: none;
    }

    #header-container {
        margin-top: 0;
    }
}
/* End */


/* Start:/bitrix/templates/ShenResidence/css/header.css?17611229468941*/
/* Font import (assuming Satoshi is available, otherwise fallback to sans-serif) */
@import url('https://fonts.cdnfonts.com/css/satoshi');

.header {
    display: flex;
    width: 1440px;
    padding: 8px 8px 8px 24px;
    justify-content: space-between;
    align-items: center;
    border-radius: 40px;
    border: 1px solid rgba(233, 233, 233, 0.20);
    background: rgba(255, 255, 255, 0.40);
    backdrop-filter: blur(4px);
    margin: 32px auto 0;
    position: relative;
    box-sizing: border-box;
}

.logo img {
    width: 48px;
    height: 60px;
}

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    height: 40px;
}

.menu a {
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}

.menu-item {
    position: relative;
}

.menu-link {
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}

.submenu {
    display: none;
    position: absolute;
    top: 210%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 347px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(233, 233, 233, 0.40);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.80);
    z-index: 1000;
}

.submenu.active {
    display: inline-flex;
}

.submenu-item {
    display: flex;
    width: 347px;
    text-decoration: none;
}

.submenu-content {
    display: flex;
    width: 347px;
    padding: 0 16px;
    align-items: center;
}

.submenu-content-bottom {
    height: 94px;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 12px 12px;
}

.submenu-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
}

.submenu-title {
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.submenu-description {
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.submenu-image img {
    width: 157.5px;
    height: 94px;
    flex-shrink: 0;
}

.submenu-icon img {
    width: 20px;
    height: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.mobile-language-selector {
    display: none;
}

.language-icon {
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid rgba(233, 233, 233, 0.40);
    border-radius: 12px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.language-dropdown.active {
    display: flex;
    flex-direction: column;
}

.language-option {
    padding: 8px 16px;
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}

.language-option:hover {
    background: rgba(233, 233, 233, 0.40);
}

.button-container {
    display: inline-flex;
    align-items: center;
    position: relative;
    text-decoration: none;
}

.button-main {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 24px;
    background: #2D2D2D;
    color: #FFF;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.button-icon {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #2D2D2D;
    transform: translateX(-8px);
    transition: transform 0.3s ease;
}

.button-icon img {
    width: 24px;
    height: 24px;
}

.button-container:hover .button-icon {
    transform: translateX(4px);
}

.hamburger-menu {
    display: none;
}

.hamburger-icon {
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FAFAFA;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    z-index: 999;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(233, 233, 233, 0.40);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    display: flex;
}

.mobile-header {
    display: none;
}

.mobile-menu-item {
    display: flex;
    height: auto;
    margin-top: 4px;
    padding: 10px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
    color: #535862;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
}

.mobile-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.dropdown-icon.rotated {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
    padding: 4px 0;
}

.mobile-submenu.active {
    display: flex;
}

.mobile-submenu-item {
    display: flex;
    padding: 12px;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    text-decoration: none;
    color: #535862;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.mobile-submenu-item img {
    width: 20px;
    height: 20px;
}

.mobile-button {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.mobile-button .button-main {
    flex: 1;
}

/* Tablet styles (769px to 1440px) */
@media (min-width: 769px) and (max-width: 1440px) {
    .header {
        width: calc(100% - 32px);
        padding: 6px 6px 6px 20px;
        border-radius: 32px;
        margin: 24px auto 0;
    }

    .logo img {
        width: 50px;
        height: 40px;
    }

    .menu {
        gap: 16px;
        height: 36px;
    }

    .menu a,
    .menu-link {
        font-size: 14px;
        line-height: 20px;
    }

    .submenu {
        width: 300px;
        top: 150%;
        border-radius: 0 0 10px 10px;
    }

    .submenu-item {
        width: 300px;
    }

    .submenu-content {
        width: 300px;
        padding: 0 12px;
    }

    .submenu-content-bottom {
        height: 80px;
        border-radius: 0 0 10px 10px;
    }

    .submenu-title {
        font-size: 13px;
    }

    .submenu-description {
        font-size: 14px;
        line-height: 20px;
    }

    .submenu-image img {
        width: 135px;
        height: 80px;
    }

    .submenu-icon img {
        width: 18px;
        height: 18px;
    }

    .header-right {
        gap: 16px;
    }

    .language-icon {
        width: 40px;
        height: 40px;
    }

    .language-dropdown {
        border-radius: 10px;
    }

    .language-option {
        padding: 6px 12px;
        font-size: 14px;
        line-height: 20px;
    }

    .button-main {
        padding: 6px 10px;
        font-size: 14px;
        line-height: 20px;
    }

    .button-icon {
        width: 36px;
        height: 36px;
    }

    .button-icon img {
        width: 20px;
        height: 20px;
    }

    .hamburger-menu {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-header {
        display: none;
    }

    .mobile-language-selector {
        display: none;
    }
}

/* Mobile styles (max-width: 768px) */
@media (max-width: 768px) {
    .header {
        width: calc(100% - 32px);
        padding: 6px 16px 6px 16px;
        justify-content: space-between;
        align-items: center;
        border-radius: 22px;
        border-bottom: 1px solid rgba(233, 233, 233, 0.40);
        background: rgba(255, 255, 255, 0.40);
        box-sizing: border-box;
        margin-top: 16px;
    }

    .logo img {
        width: 50px;
        height: 40px;
    }

    .menu {
        display: none;
    }

    .header-right {
        display: none;
    }

    .mobile-language-selector {
        display: flex;
        align-items: center;
        margin-left: auto;
        margin-right: 10px;
    }

    .hamburger-menu {
        display: flex;
        align-items: center;
    }

    .mobile-menu {
        width: calc(100% - 32px);
        left: 16px;
        border-radius: 0 0 22px 22px;
        border-top: none;
    }
}
/* End */
/* /bitrix/templates/ShenResidence/css/visualselection.css?17615609603057 */
/* /bitrix/templates/ShenResidence/css/header.css?17611229468941 */
