:root {
    --container: 1400px;
    --gutter: 20px;
    --header-h: 112px;
    --toolbar-h: 0px;
    --header-offset: calc(var(--header-h) + var(--toolbar-h));
    --text: #1C1C1C;
    --btn-text: #3E4753;
    --muted: #525252;
    --white: #ffffff;
    --accent: #F7C51E;
    --radius-12: 12px;
    --radius-20: 20px;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    font-size: 21px;
    max-width: 100vw;
    overflow-x: hidden;
}

html {
    scroll-padding-top: calc(var(--header-offset) + 16px);
}

body {
    margin: 0;
    /* font-family: "Concert One", sans-serif; */

    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--text);
    background: #f1f5f9;
}
/* 
.site {
    padding-top: var(--header-offset);
} */

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--container), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
}

.display-flex {
    display: flex;
    gap: 15px;
}

.col-wrapper {
    width: 100%;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(6px);
}

.modal[hidden] {
    display: none;
}

.modal__dialog {
    position: relative;
    width: min(860px, 100%);
    max-height: min(86vh, 860px);
    overflow: auto;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

.modal__body {
    padding: 18px 18px 22px;
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 0;
    background: rgba(15, 23, 42, 0.08);
    color: var(--text);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.modal__close:hover {
    background: rgba(15, 23, 42, 0.12);
}

html.is-modal-open,
body.is-modal-open {
    overflow: hidden;
}

.usm-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

figure.usm-figure {
    margin: 18px 0;
}

.usm-gallery figure.usm-figure {
    margin: 0;
}

figure.usm-figure img {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

figure.usm-figure figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: var(--muted);
}

.ui-widget-overlay {
    background: rgba(15, 23, 42, 0.62);
    opacity: 1;
    backdrop-filter: blur(6px);
}
#usm-calc-modal{
    position: relative;
    display: block;
    z-index: 1400;
}
#usm-calc-modal .modal__close {
    z-index: 1400;
    display: block;
}
.ui-dialog.usm-calc-modal {
    border: 0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.ui-dialog.usm-calc-modal .ui-dialog-titlebar {
    border: 0;
    background: transparent;
    padding: 12px 56px 0 18px;
}

.ui-dialog.usm-calc-modal .ui-dialog-title {
    margin: 0;
}

.ui-dialog.usm-calc-modal .ui-dialog-titlebar-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 0;
    background: rgba(15, 23, 42, 0.08);
    color: var(--text);
}

.ui-dialog.usm-calc-modal .ui-dialog-titlebar-close:hover,
.ui-dialog.usm-calc-modal .ui-dialog-titlebar-close:focus {
    background: rgba(15, 23, 42, 0.12);
}

.ui-dialog.usm-calc-modal .ui-dialog-titlebar-close .ui-icon {
    background-image: none;
}

.ui-dialog.usm-calc-modal .ui-dialog-titlebar-close .ui-button-text {
    display: none;
}

.ui-dialog.usm-calc-modal .ui-dialog-titlebar-close::before {
    content: '×';
    display: block;
    font-size: 26px;
    line-height: 36px;
    text-align: center;
}

.ui-dialog.usm-calc-modal .ui-dialog-content {
    padding: 18px 18px 22px;
    max-height: min(86vh, 860px);
    overflow: auto;
}

.site-header {
    position: fixed;
    top: var(--toolbar-h);
    left: 0;
    right: 0;
    z-index: 100;
    font-size: 14px;
    /* CSS переменные для плавного перехода фона при скролле */
    --header-bg-opacity: 0.92;
    --header-blur: 10px;
    --header-border-opacity: 0.08;
    --header-secondary-border: rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, var(--header-bg-opacity));
    backdrop-filter: blur(var(--header-blur));
    border-bottom: 1px solid rgba(15, 23, 42, var(--header-border-opacity));
    transition: background-color 50ms linear, border-color 50ms linear, backdrop-filter 50ms linear;
}

body.toolbar-horizontal {
    --toolbar-h: 39px;
}

body.toolbar-horizontal.toolbar-tray-open {
    --toolbar-h: 79px;
}

body.toolbar-vertical {
    --toolbar-h: 39px;
}

.site-header--overlay {
    --header-bg-opacity: 0;
    --header-blur: 0px;
    --header-border-opacity: 0;
}

.site-header__row {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
}

.site-header__row--primary {
    min-height: 64px;
}

.site-header__row--secondary {
    min-height: 48px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.site-header--overlay .site-header__row--secondary {
    border-top-color: rgba(255, 255, 255, 0.18);
}

.site-header__row--secondary {
    transition: border-color 220ms ease;
}

.site-header__brand {
    flex: 0 0 auto;
    padding: 10px 0;
}

.site-header__logo {
    width: 140px;
    height: auto;
    object-fit: cover;
}

.site-header__phone-link {
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
    transition: color 220ms ease;
}

.site-header--overlay .site-header__phone-link {
    color: var(--white);
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.menu--secondary {
    gap: 14px;
}

.menu__link {
    padding: 10px 8px;
    border-radius: 10px;
    color: var(--text);
    transition: color 220ms ease, background-color 220ms ease;
}

.site-header--overlay .menu__link {
    color: var(--white);
}

.site-header--overlay .menu__link:hover {
    background: rgba(255, 255, 255, 0.12);
}

.site-header--overlay .menu--secondary .menu__link {
    color: rgba(255, 255, 255, 0.86);
}

.menu__link:hover {
    background: rgba(37, 99, 235, 0.08);
}

.btn,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 400;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.btn--primary,
.button--primary {
    color: var(--btn-text);
    background: var(--accent);
}

.btn--primary:hover,
.button--primary:hover {
    filter: brightness(0.85);
}

.link {
    color: var(--text);
    font-weight: 700;
    font-size: 18px;
}

.link--arrow::after {
    content: "→";
    margin-left: 10px;
}

.hero {
    position: relative;
    /* min-height: calc(100svh - var(--header-offset)); */
    min-height: calc(100svh - var(--header-h));
    overflow: hidden;
    background: #0b0f14;
}

.hero__media {
    position: absolute;
    inset: 0;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero__content {
    position: relative;
    height: calc(100svh - var(--header-offset));
    min-height: calc(100svh - var(--header-h));
    display: grid;
    align-items: end;
    padding-bottom: 36px;
    min-height: 700px;
}

.hero__card {
    width: min(720px, 100%);
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-12);
    padding: 22px;
    box-shadow: var(--shadow);
}

.hero__title {
    margin: 0 0 10px;
    color: var(--white);
    font-size: 40px;
    line-height: 1.1;
}

.hero__text {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: #0b0f14;
    /* padding: calc(var(--header-offset) + 70px) 0 70px; */
    padding: calc(var(--header-h) + 70px) 0 70px;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.page-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.page-hero__content {
    position: relative;
}

.page-hero__frame {
    width: min(900px, 100%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
    padding: 22px;
}

.page-hero__title {
    margin: 0;
    color: var(--white);
    font-size: 44px;
    line-height: 1.1;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.page-hero__subtitle {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.5;
}

.page-body {
    background: var(--white);
}


.page-body p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 16px;
    color: var(--text);
}

.page-body ul {
    font-size: 15px;
    line-height: 1.5;
    margin: 16px 0;
    padding-left: 20px;
    color: var(--text);
}

.page-body li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.section {
    padding: 70px 0;
    background: var(--white);
}

/* Page body sections with position-based padding */
.section.page-body {
    padding: 15px 0;
}

.section.page-body:first-child {
    padding-top: 70px;
}

.section.page-body:last-child {
    padding-bottom: 70px;
}

.section.page-body:first-child:last-child {
    padding: 70px 0;
}

.section--projects,
.section--buildings {
    background: #f8fafc;
}

.section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}
.section__head .main-cta{
    white-space: nowrap;
}
.section__title {
    margin: 0;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.15;
}

.section__title--light {
    color: var(--white);
}

.section__lead {
    margin: 12px 0 0;
    font-size: 18px;
    color: var(--muted);
}

.section__text {
    margin: 12px 0 0;
    max-width: 70ch;
    line-height: 1.6;
    color: #334155;
}

.section__text--light {
    color: rgba(255, 255, 255, 0.88);
}

.two-col {
    display: grid;
    gap: 28px;
    align-items: start;
}

.two-col--50-50 {

    grid-template-columns: 1fr 1fr;
}

.two-col--60-40 {
    grid-template-columns: 3fr 2fr;
}

.two-col--about {
    grid-template-columns: 1fr 1fr;
    height: 100%;
    gap: 70px;
}

.two-col__main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.two-col__aside {
    display: grid;
    gap: 16px;
    justify-items: end;
}

.two-col__aside--about {
    justify-items: stretch;
}

.title-wrapper {
    background-color: #f8fafc;
    padding: 1rem 0;
}

.title__about {
    font-size: 40;
    font-weight: 400;
    color: var(--text);

}

.section--about {
    position: relative;
    background: #0b0f14;
    overflow: hidden;
}

#about {
    height: auto;
}

#about.section {
    padding: 0;
}

#about.section__title {
    font-size: 40px;
    font-weight: 400;
}

#about .two-col__main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about__text {
    font-size: 18px;
}

.section--about {
    --about-bg-x: 0px;
    --about-bg-y: 0px;
}

.section-bg {
    position: absolute;
    inset: 0;
}

.section-bg__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate3d(var(--about-bg-x), var(--about-bg-y), 0) scale(1.12);
    will-change: transform;
}

.section-bg__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.section--about__content {
    padding: 70px 0;
    height: auto;
    position: relative;
}

.about-stats {
    margin: 0;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
}

.about-stats__row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 1);
}


.about-stats__row dt {
    margin: 0;
    align-content: end;
}

.about-stats__row dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.4;
    font-size: 18px;
}

.about-stats__value {
    display: inline-block;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--white);
}

.house-media {
    margin: 0;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
}

.house-media__img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 28%, 100% 100%, 0% 100%, 0% 28%);
}

.cards {
    display: grid;
    gap: 18px;
}

.cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section--buildings .cards--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.project-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-card__title {
    margin: 14px 16px 10px;
    font-size: 24px;
    display: block;
    line-height: 28px;
    height: 56px;
}

.project-card__meta {
    margin: 0;
    padding: 0 16px 16px;
    font-size: 18px;
}

.project-card__row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.project-card__row:first-child {
    border-top: 0;
}

.project-card__dt {
    color: var(--muted);
}

.project-card__dd {
    color: var(--text);
}

#projects {
    overflow-x: hidden;
}

#projects .center {
    padding-top: 70px;
    text-align: center;
}

#projects .center .btn {
    font-size: 24px;
}

.site-header__mobile-actions {
    display: none;
}

.site-header__mobile-phone,
.site-header__burger {
    display: none;
}


.projects {
    width: min(var(--container), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
}

.projects__viewport {
    position: relative;
    overflow: visible;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.projects__controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: calc(50% - 22px);
    left: 0;
    width: 100%;
    padding: 0 8px;
    pointer-events: auto;
    z-index: 5;
}

.projects__btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background-color: var(--accent);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: filter 220ms ease, transform 220ms ease;
    pointer-events: auto;
    position: relative;
}

.projects__btn img {
    display: none;
}

.projects__btn::before {
    content: "";
    width: 28px;
    height: 28px;
    display: block;
    background: url("../images/Arrow_left.svg") no-repeat center / contain;
}

.projects__btn[data-projects-next]::before {
    transform: rotate(180deg);
}

.projects__btn:hover {
    filter: brightness(0.92);
}

.projects__btn:focus-visible {
    outline: 3px solid rgba(247, 197, 30, 0.55);
    outline-offset: 2px;
}

.projects__track {
    display: flex;
    gap: 18px;
    transform: translate3d(var(--projects-x, 0px), 0, 0);
    transition: transform 520ms ease;
    will-change: transform;
    padding: 2px 0;
}

.projects .project-card {
    flex: 0 0 var(--projects-card-w, 320px);
    opacity: 0.55;
    transition: opacity 220ms ease, transform 220ms ease;
}

.projects .project-card.active {
    opacity: 1;
    transform: translateY(-2px);
}

.purpose-card {
    position: relative;
    display: grid;
    border-radius: var(--radius-20);
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    min-height: 220px;
}

.purpose-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 180ms ease;
}

.purpose-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 180ms ease;
}

.purpose-card__content {
    position: relative;
    z-index: 1;
    padding: 20px;
    display: flex;
    align-content: start;
    flex-direction: column;
    justify-content: space-between;
}

.purpose-card__title {
    margin: 0;
    font-size: 28px;
    color: var(--text);
    font-weight: 400;
}

.purpose-card__text {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 16px;
}

.purpose-card:hover .purpose-card__img {
    opacity: 1;
}

.purpose-card:hover::after {
    opacity: 1;
}

.purpose-card:hover .purpose-card__title,
.purpose-card:hover .purpose-card__text {
    color: var(--white);
}

.section--steps {
    background: #ffffff;
}

#steps .section__title {
    font-size: 40px;
    font-weight: 400;
}

.step-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    min-height: 405px;
    padding: 18px 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.step-card__title {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 400;
}

.step-card__text {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 16px;
    max-width: 85%;
    position: relative;
    z-index: 10;
}

.step-card__num {
    position: absolute;
    right: 0;
    z-index: 0;
    bottom: -25px;
    font-weight: 900;
    font-size: 180px;
    line-height: 1;
    letter-spacing: -1px;
    color: #F7C51E;
    opacity: 0.95;
    pointer-events: none;
}

.section--advantages {
    background: #f8fafc;
}

.adv-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.adv-card__title {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 400;
}

.adv-card__text {
    margin: 0;
    color: #334155;
    line-height: 1.6;
    font-size: 14px;
}

.section--reviews {
    background: #ffffff;
}

#reviews {
    overflow-x: hidden;
}

.reviews {
    width: min(var(--container), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
    overflow: visible;
}

.reviews__controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: calc(50% - 22px);
    margin: 0 -55px;
    z-index: 1000;
    width: 100%;
}

.reviews__btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background-color: #F7C51E;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.reviews__btn::before {
    content: '';
    width: 28px;
    height: 28px;
    display: block;
    background: url("../images/Arrow_left.svg") no-repeat center / contain;
}

.reviews__btn[data-reviews-next]::before {
    transform: rotate(180deg);
}

.reviews__btn:hover {
    background-color: #FFD530;
}

.reviews__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.reviews__viewport {
    overflow: visible;
    position: relative;
}

.reviews__track {
    display: flex;
    gap: 22px;
    transform: translate3d(var(--reviews-x, 0px), 0, 0);
    transition: transform 520ms ease;
    will-change: transform;
}

.review-slide {
    position: relative;
    flex: 0 0 calc(100% - 140px);
    min-height: 420px;
    opacity: 0.45;
    transition: opacity 320ms ease, filter 320ms ease;
}

.review-slide.active {
    opacity: 1;
    filter: none;
}


.review-slide__photo {
    margin: 0;
    width: 65%;
    margin-left: auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.review-slide__img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.review-card {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.review-card__person {
    display: grid;
    gap: 2px;
    margin-bottom: 12px;
}

.review-card__name {
    font-weight: 700;
    font-style: italic;
    font-size: 21px;
}

.review-card__role {
    color: var(--muted);
    font-size: 21px;
}

.review-card__text {
    margin: 0;
    line-height: 1.6;
    color: var(--text);
    font-size: 15px;
}

.review-card__object {
    margin-top: 14px;
    font-weight: 400;
    font-size: 21px;
    color: var(--text);
}

.section--faq {
    background: #f8fafc;
}

.faq {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.faq-item__title {
    margin: 0;
}

.faq-item__btn {
    width: 100%;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.faq-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #F7C51E;
    color: #0b1220;
    font-weight: 900;
    font-size: 22px;
    line-height: 32px;
    display: block;
    text-align: center;
}

.faq-item__q {
    font-weight: 400;
    font-size: 21px;
    color: var(--text);
}

.faq-item__panel {
    overflow: hidden;
    transition: height 280ms ease;
}

.faq-item__content {
    font-size: 14px;
    padding: 0 18px 18px 66px;
    color: #334155;
    line-height: 1.6;
}

.faq-item__content > p:first-child {
    margin-top: 0;
}

.faq-item__content > p:last-child {
    margin-bottom: 0;
}

.faq-item__content ul,
.faq-item__content ol {
    margin: 12px 0;
    padding-left: 24px;
}

.faq-item__content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.faq-item__content li:last-child {
    margin-bottom: 0;
}

.faq-item__content strong {
    color: var(--text);
}

.faq-item__text {
    margin: 0;
    font-size: 14px;
    padding: 0 18px 18px 66px;
    color: #334155;
    line-height: 1.6;
}

.section--tech {
    background: #ffffff;
}

.tech {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 26px;
    align-items: start;
    margin-top: 1rem;
}

.tech__text .section__text {
    margin: 0 0 14px;
}

.tech .announce {
    text-align: center;
    padding: 20px;
    background: var(--accent);
    border-radius: 12px;
    color: var(--white);
}

.tech .announce strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
}

.tech .announce p {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    opacity: 0.9;
}

.tech__footnote-item {
    text-align: center;
    padding: 20px;
    background: var(--accent);
    border-radius: 12px;
    color: var(--white);
}

.tech__footnote-item strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
}

.tech__footnote-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    opacity: 0.9;
}

.tech__legend {
    display: grid;
    gap: 12px;
}

.tech__item {
    display: grid;
    grid-template-columns: 12px 1fr;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.tech__dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #F7C51E;
}

.tech__label {
    font-weight: 600;
    color: var(--text);
}

.tech__meta {
    grid-column: 2;
    display: flex;
    gap: 10px;
    align-items: baseline;
    color: #334155;
    justify-content: end;
}

.tech__value {
    font-weight: 800;
    color: var(--text);
}

.tech__pct {
    color: var(--muted);
}

.tech__chart {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    padding: 18px;
    min-height: 360px;
    display: grid;
    place-items: center;
    height: 100%;
}

.tech-chart {
    width: 320px;
    height: 320px;
    max-width: 100%;
}

.tech-total {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    pointer-events: none;
}

.tech-total__num {
    font-weight: 900;
    font-size: 44px;
    letter-spacing: -1px;
    color: var(--text);
    line-height: 1;
}

.tech-total__label {
    margin-top: 0;
    color: #64748b;
    font-weight: 800;
}

.tech-chart .ct-series-a .ct-slice-donut {
    stroke: #F7C51E;
}

.tech-chart .ct-series-b .ct-slice-donut {
    stroke: #0b1220;
}

.tech-chart .ct-series-c .ct-slice-donut {
    stroke: #3b82f6;
}

.tech-chart .ct-series-d .ct-slice-donut {
    stroke: #22c55e;
}

.tech-chart .ct-series-e .ct-slice-donut {
    stroke: #a855f7;
}

.tech-chart .ct-slice-donut {
    stroke-width: 26px;
}

.section--calc {
    background: #f8fafc;
}

.calc {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    font-size: 16px;
}
.form-item-calc-mode{
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.calc-mode-radios {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.calc-mode-radios label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
}

.calc-mode-radios input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.calc__files-note {
    margin: 15px 0;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.calc__files-note-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

.calc__files-note-text a {
    color: black;
    font-weight: 600;
    text-decoration: underline dashed;
}

.calc__files-note-text a:hover {
    text-decoration: underline;
}

.calc__group {
    border: 0;
    padding: 0;
    margin: 0;
}

#usm-calc-modal-content .calc__group {
    border: 0;
    padding: 0;
    margin: 18px 0;
}

fieldset legend span,
.calc__legend {
    font-weight: 900;
    margin: 0 0 12px;
}

#usm-calc-modal-content fieldset legend span,
#usm-calc-modal-content .calc__legend {
    font-weight: 900;
    margin: 12px 0;
}


.calc-grid {
    display: grid;
    gap: 14px;
}

.calc-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calc-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}
fieldset .field{
    margin-bottom: 0;
}
.form-item label,
.field__label {
    font-weight: 600;
    color: var(--text);
}

.field__control {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.14);
    padding: 10px 12px;
    font: inherit;
    color: var(--text);
    background: #ffffff;
}

.field__control--textarea {
    height: auto;
    resize: vertical;
    padding: 12px;
}

.field__control:focus {
    outline: none;
    border-color: rgba(247, 197, 30, 0.9);
    box-shadow: 0 0 0 4px rgba(247, 197, 30, 0.25);
}

.calc__checks {
    display: grid;
    gap: 10px;
    margin: 16px 0 18px;
}

.check {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    color: #334155;
}

.check__control {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.check__link {
    color: var(--text);
}

.calc__actions {
    display: flex;
    justify-content: flex-start;
}

.calc__confirm {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(247, 197, 30, 0.18);
    border: 1px solid rgba(247, 197, 30, 0.45);
    color: var(--text);
    line-height: 1.6;
}

.calc:has(.webform-confirmation) .calc-mode-radios,
.calc:has(.webform-confirmation) .calc__group,
.calc:has(.webform-confirmation) .calc__files-note,
.calc:has(.webform-confirmation) .calc__actions {
    display: none !important;
}

.calc:has(.webform-confirmation) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.calc .webform-confirmation {
    width: 100%;
    padding: 40px 30px;
    text-align: center;
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calc .webform-confirmation__message {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.4;
}

.calc .webform-confirmation__message::before {
    content: '✓';
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border-radius: 50%;
    font-size: 32px;
    line-height: 64px;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}

.calc .webform-confirmation__back {
    margin-top: 20px;
}

.calc .webform-confirmation__back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--accent);
    color: var(--btn-text);
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calc .webform-confirmation__back a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 197, 30, 0.4);
}

.section--contacts {
    background: #ffffff;
}

.contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.contacts__subtitle {
    margin: 0 0 14px;
    font-size: 24px;
    padding-left: 2rem;
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.office-card {
    padding: 18px;
}


.office-card__addr {
    margin: 0 0 14px;
    color: #334155;
    line-height: 1.6;
    font-size: 16px;
}

.office-card__links {
    margin-top: 1rem;
    display: grid;
    gap: 8px;
}

.office-card__link {
    color: var(--text);
    text-decoration: none;
}

.office-card__link:hover {
    text-decoration: underline;
}

.map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.map__frame {
    display: block;
    width: 100%;
}

.site-footer {
    padding: 28px 0;
    background: #525252;
    color: rgba(255, 255, 255, 0.92);
}

.site-footer__text {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 3fr 3fr 3fr;
    gap: 24px;
    align-items: start;
    font-size: 14px;
}

.footer-col {
    min-width: 0;
}
html body p a{
    text-decoration: underline dashed;
}
.footer-col--office {
    display: grid;
    gap: 10px;
}

.footer__logo {
    display: block;
}

.footer__title {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.96);
}

.footer__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
}

.footer__links {
    display: grid;
    gap: 6px;
}

.footer__link {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.footer__link:hover {
    text-decoration: underline;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: grid;
    gap: 8px;
}

.footer-menu__item {
    margin: 0;
}

.footer-menu__link {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    line-height: 1.4;
}

.footer-menu__link:hover {
    color: rgba(255, 255, 255, 0.98);
    text-decoration: underline;
}

.geo {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
}

.geo__inner {
    min-height: 65vh;
}

.geo__sticky {
    position: sticky;
    top: 0;
    height: 65vh;
}

.geo__map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.geo__panel {
    position: absolute;
    right: 18px;
    top: 18px;
    width: min(440px, calc(100% - 36px));
    max-height: calc(100% - 36px);
    overflow: auto;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    padding: 14px;
}

.geo__panel-head {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.geo__panel-close {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 0;
    background: #0f172a;
    position: relative;
    cursor: pointer;
}

.geo__panel-close::before,
.geo__panel-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: #ffffff;
    transform-origin: center;
}

.geo__panel-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.geo__panel-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.geo-project {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
    margin-bottom: 12px;
}

.geo-project__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.geo-project__title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 12px 0;
}

.geo-project__type-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.7;
}

.geo-project__title {
    margin: 0;
    font-size: 20px;
}

.geo-project__meta {
    padding: 10px 12px 0;
}

.geo-project__row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px;
    padding: 6px 0;
}

.geo-project__dt {
    color: var(--muted);
}

.geo-project__actions {
    padding: 12px;
}

.geo-cluster-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}

.geo-cluster-list__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.geo-cluster-list__item:hover {
    background: #f1f5f9;
}

.geo-cluster-list__icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.7;
}

.geo-cluster-list__label {
    font-size: 15px;
    line-height: 1.4;
    color: var(--text);
}

.usm-geo-pin {
    position: relative;
    width: 44px;
    height: 44px;
    left: -22px;
    top: -55px;
    background: var(--pin-color, #3b82f6);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.usm-geo-pin:hover {
    transform: rotate(-45deg) scale(1.15);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.usm-geo-pin__icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transform: rotate(45deg);
    filter: brightness(0) invert(1);
    display: block;
}

@keyframes usm-pin-pulse {
    0%   { transform: rotate(-45deg) scale(1);    box-shadow: 0 4px 12px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,255,255,0.8); }
    40%  { transform: rotate(-45deg) scale(1.3);  box-shadow: 0 8px 20px rgba(0,0,0,0.4), 0 0 0 14px rgba(255,255,255,0); }
    70%  { transform: rotate(-45deg) scale(1.1);  box-shadow: 0 6px 16px rgba(0,0,0,0.35), 0 0 0 0 rgba(255,255,255,0); }
    100% { transform: rotate(-45deg) scale(1);    box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
}

.usm-geo-pin--pulse {
    animation: usm-pin-pulse 0.55s ease-out 3;
    transition: none;
}

.left_right {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.left_right:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.bottom {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.bottom:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.view {
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════
   PAGE GALLERY
═══════════════════════════════════════════════════════ */

.page-gallery {
  margin-top: 24px;
  padding: 40px 0;
}

.page-gallery__grid {
  display: grid;
  gap: 16px;
  /* 1 image: 1 column, 2 images: 2 columns, 3+ images: 3 columns */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-gallery__item {
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  min-height: 160px;
  aspect-ratio: 1 / 0.75;
}

.page-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: box-shadow 0.3s ease, border 0.3s ease;
  border: 2px solid transparent;
}

.page-gallery__item img:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  border-color: rgba(15, 23, 42, 0.1);
}

/* ═══════════════════════════════════════════════════════
   PAGE GALLERY - SLIDESHOW (GLIDE)
═══════════════════════════════════════════════════════ */

.page-gallery--slideshow {
  margin-top: 16px;
  padding: 24px 0;
}

.glide {
  position: relative;
}

.glide__track {
  overflow: hidden;
}

.glide__slides {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.glide__slide {
  flex-shrink: 0;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  border-radius: 12px;
  overflow: hidden;
}

.glide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: box-shadow 0.3s ease, border 0.3s ease;
  border: 2px solid transparent;
}

.glide__slide img:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  border-color: rgba(15, 23, 42, 0.1);
}

/* Arrows */
.glide__arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.glide__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  pointer-events: auto;
  font-size: 14px;
}

.glide__arrow:hover {
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.glide__arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Bullets - Hidden */
.glide__bullets {
  display: none;
}

.geo__map {
  position: relative;
  height: 56vh;
  min-height: 360px;
}

.page-gallery__grid {
  grid-template-columns: 1fr;
}

html body #block-usm-theme-usmgeography .ymaps-2-1-97-places-pane {
  z-index: 2501 !important;
}

/* Collapsible text section */
.section__text--collapsible {
  position: relative;
}

.section__text--collapsible .section__text-content p:not(:first-of-type),
.section__text--collapsible .section__text-content > div p:not(:first-of-type) {
  display: none;
}

.section__text--collapsible.is-expanded .section__text-content p:not(:first-of-type),
.section__text--collapsible.is-expanded .section__text-content > div p:not(:first-of-type) {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulsing read more button */
.btn--read-more {
  margin-top: 1rem;
  position: relative;
  animation: pulse-shadow 2s infinite;
}

@keyframes pulse-shadow {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 197, 30, 0.6);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(247, 197, 30, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(247, 197, 30, 0);
  }
}

.btn--read-more:hover {
  animation: none;
  box-shadow: 0 4px 12px rgba(247, 197, 30, 0.4);
}

.section__text--collapsible.is-expanded .btn--read-more {
  animation: none;
}