

/* 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 */


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

.footer {
    display: flex;
    height: 444px;
    padding: 0 240px;
    justify-content: center;
    align-items: center;
    background: #EAEEF0;
}

.footer-content {
    width: 1440px;
    height: 444px;
    flex-shrink: 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-top: 85px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

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

.footer-contact-email {
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 24px;
}

.footer-contact-phone {
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 12px;
}

.footer-contact-address {
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 12px;
}

.footer-social-icons {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 12px;
}

.social-icon {
    width: 20px;
    height: 20px;
}

.footer-experience {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 21px;
    align-self: stretch;
}

.footer-experience-text {
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.footer-external {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

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

.footer-external-terms {
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 24px;
}

.footer-external-policy {
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    margin-bottom: 42px;
    margin-top: 126px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Скрываем mobile-only элементы в десктопной версии */
.mobile-only {
    display: none;
}

/* Tablet styles (769px to 1440px) */
@media (min-width: 769px) and (max-width: 1440px) {
    .footer {
        height: 360px;
        padding: 0 40px;
    }

    .footer-content {
        width: calc(100% - 32px);
        height: 360px;
    }

    .footer-top {
        margin-top: 60px;
        gap: 24px;
    }

    .footer-contact-title {
        font-size: 14px;
    }

    .footer-contact-email {
        font-size: 14px;
        margin-top: 20px;
    }

    .footer-contact-phone {
        font-size: 14px;
        margin-top: 10px;
    }

    .footer-contact-address {
        font-size: 14px;
        margin-top: 10px;
    }

    .footer-social-icons {
        gap: 10px;
        margin-top: 10px;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }

    .footer-experience {
        gap: 18px;
    }

    .footer-experience-text {
        font-size: 24px;
        line-height: 30px;
    }

    .footer-external-title {
        font-size: 14px;
    }

    .footer-external-terms {
        font-size: 14px;
        margin-top: 20px;
    }

    .footer-external-policy {
        font-size: 14px;
        margin-top: 10px;
    }

    .footer-bottom {
        margin-top: 80px;
        margin-bottom: 30px;
    }

    .footer-copyright {
        font-size: 13px;
    }

    .mobile-only {
        display: none;
    }
}

/* Мобильные стили (адаптация для экранов <= 768px) */
@media (max-width: 768px) {
    .footer {
        height: auto;
        padding: 42px 24px;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        align-self: stretch;
        background: #EAEEF0;
    }

    .footer-content {
        width: 100%;
        height: auto;
        flex-shrink: unset;
    }

    /* Скрываем десктопную структуру */
    .footer-top {
        display: none;
    }

    /* Показываем мобильную структуру */
    .mobile-only {
        display: flex;
    }

    .footer-experience.mobile-only {
        flex-direction: column;
        align-items: center;
        gap: 21px;
        align-self: stretch;
    }

    .footer-experience-text {
        font-size: 24px;
        line-height: 30px;
    }

    .footer-middle.mobile-only {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        align-self: stretch;
        margin-top: 48px;
        width: 100%;
        gap: 12px;
    }

    .footer-middle .footer-contact,
    .footer-middle .footer-external {
        flex: 1;
        align-items: flex-start;
    }

    .footer-bottom {
        margin-top: 24px;
        margin-bottom: 0;
    }
}
/* End */
/* /bitrix/templates/ShenResidence/css/header.css?17611229468941 */
/* /bitrix/templates/ShenResidence/css/footer.css?17610248515751 */
