
[data-stories-modal],
[popup-element-project] {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;

    margin: 0 auto;
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
}
[data-stories-modal-shadow],
[popup-element-project-shadow] {
    position: absolute;
    width: 100%; height: 100%;
    left: 0;
    top: 0;
    z-index: 101;
    background-color: var(--background-shadow);
}
[data-stories-modal-close],
[popup-element-project-close] {
    position: absolute;
    top: 0px;
    right: -42px;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22m5.021%204.494%2022.627%2022.627-.754.755L4.267%205.249z%22%2F%3E%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22M4.487%2026.894%2027.114%204.267l.755.754L5.242%2027.65z%22%2F%3E%3C%2Fsvg%3E");
    background-size: 100%;
    background-repeat: no-repeat;
}

/* TABS */
.element-project__popup {
    position: relative;
    width: 100%;
    min-height: fit-content;
    max-height: fit-content;
}
.gallery__item > img,
.element-project__popup > img {
    height: 800px;
    border-radius: var(--border-radius-main);
}
.element-project__container {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    inset: 1.875rem;
    gap: 1.5rem;
    z-index: 1;
}
.slider-select {
    display: none;
    position: relative;
    width: 100%;
}
.tab__option,
.slider-select__btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 52px;
    border-radius: var(--border-radius-circle);
    background: var(--color-green);
    color: var(--color-white);
    padding: 0 1.5rem;
    gap: 1.25rem;
    cursor: pointer;
    font-size: 16px;
}
.tab__option > svg,
.slider-select__btn > svg { flex-shrink: 0; }
.slider-select__label {
    font-weight: 300;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.tab__select-content,
.slider-select__list {
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    width: 100%;
    background: var(--color-light);
    border-radius: var(--border-radius-main);
    padding: 1.25rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}
.tab__select-content hr,
.slider-select__list hr {
    width: 100%;
    border-bottom: 1px solid var(--color-grey);
}
.tab__select-content button,
.slider-select__list li {
    padding: 0.5rem 0;
    cursor: pointer;
    list-style-type: none;
}
.tab__select-content button:focus,
.slider-select__list li:focus {
    color: var(--color-grey);
    outline: none;
}
.tab__select-content button:hover,
.slider-select__list li:hover {
    color: var(--color-green);
    outline: none;
}
.tab__select-content button.active,
.slider-select__list li.active {
    color: var(--color-green);
}
.slider-select.open .slider-select__list { display: flex; }
.element-project__container > .slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px; width: 100%;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: var(--color-white);
    border-radius: var(--border-radius-circle);
}
.element-project__container > .slider > button {
    height: 100%;
    min-width: 54px;
}
.element-project__container > .slider > button:disabled {
    background-color: var(--color-light);
    color: var(--color-grey);
}
.element-project__container > .slider > ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.element-project__container > .slider > ul::-webkit-scrollbar { display: none; }
.element-project__container > .slider > ul > li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content; height: 100%;
    white-space: nowrap;
    padding: 0 1.5rem;
    border-radius: var(--border-radius-circle);
    background-color: var(--color-light);
    scroll-snap-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
}
.element-project__container > .slider > ul > li.active {
    background-color: var(--color-green);
    color: var(--color-white);
    transition: all 0.4s ease;
}
.element-project__container > .controls {
    margin-top: auto;
}
.element__list { width: 100%; height: fit-content; }
.list__content {
    display: none;
    flex-direction: column;
    height: fit-content; width: fit-content;
    background: var(--color-white);
    border-radius: var(--border-radius-main);
    padding: 30px;
    gap: 1.5rem;
    overflow-x: auto;

    max-height: 430px;
    height: fit-content;
}
.list__content::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.list__content > .title, .section-p, .section-span {
    line-height: 150%;
    letter-spacing: 0%;
}
.list__content > .title {
    font-weight: 700;
    font-size: 20px;
    color: var(--color-green);
}

.fixed-width {
    width: 100px !important;
}
.max-width {
  width: 100% !important;
}

.text__section > .section-span, .section-p {
    font-weight: 400;
    font-size: 16px;
    color: var(--color-dark);
}
.text__section > .section-p { 
    color: var(--color-green) !important;
}
.content__grid {
    display: flex;
    gap: 48px;
}
.content__element {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.content__text {
    display: flex;
    gap: 2rem;
}
.text__section {
    width: 270px;
    height: fit-content;
}

@media (max-width: 1620px) {
    .content__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 48px;
    }
}
@media (max-width: 1440px) {
    .element-project__popup > img { height: 700px; }
    .list__content > .title, .section-p, .section-span {
        font-size: 14px;
    }
    .text__section {
        width: 230px;
    }
    .features-section__wrapper-container > .controls,
    .element-project__container > .controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}
@media (max-width: 1024px) {
    .element-project__popup > img { height: 600px; }
    .element-project__container {
        inset: 1.5rem;
    }
    .list__content {
        width: 100%;
        gap: 1rem;
        padding: 24px;
    }
    .text__section {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .features-section__theme{
        display: none !important;
    }

    .tab__select-content, .slider-select__list {
        top: 61px;
    }

    .gallery__item > img, .element-project__popup > img {
        height: 601px;
    }

    .features-section__tabs p {
        bottom: 6rem;
        height: 156px;
        overflow: auto;
    }

    .element-project__container {
        inset: 1rem;
        gap: 1rem;
    }
    .list__content {
        padding: 1.5rem;
    }
    .content__grid {
        gap: 24px;
    }
    .content__text {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .sect-display-none {
        display: none !important;
    }
    .content__text > .text__section,
    .text__section > .section-p,
    .text__section > .scroll-snap {
        width: 100% !important;
    }
    .slider-select__label {
        font-size: 16px;
    }
    .element-project__container > .slider {
        display: none !important;
    }
    .slider-select {
        display: block;
    }
}
/* TABS */


/* SWITCHER */
.features-section__theme {
 	display: flex;
	align-items: center;
	justify-content: center;
 	background: var(--color-light);
 	border-radius: var(--border-radius-circle);
    width: fit-content;
    display: none;
}
.features-section__theme.hidden {
 	display: none;
}
.features-section__theme button {
	width: 52px;
	height: 52px;
	background: transparent;
	cursor: pointer;
	border-radius: var(--border-radius-circle);
	display: flex;
	align-items: center;
	justify-content: center;
}
.features-section__theme button._active {
 	background: var(--color-green);
}
.features-section__theme button svg {
 	color: var(--color-green);
}
.features-section__theme button._active svg {
 	color: var(--color-white);
}
/* SWITCHER */


/* GALLERY */
.features-section__tabs {
    position: relative;
}
.features-section__tabs p {
    position: absolute;
    left: 2rem;
    right: 2rem;
    color: var(--color-white);
    z-index: 6;
    padding: 1rem;
    border-radius: var(--border-radius-main);
    background-color: rgba(0, 0, 0, 0.5);
}
.features-section__wrapper-container {
    position: absolute;
	display: flex;
	flex-direction: column;
    align-items: center;
	gap: 1rem;
    inset: 2rem;
    z-index: 10;
    pointer-events: none;
}
.features-section__wrapper-container > .controls {
    margin-top: auto;
    width: fit-content;
    /* z-index: 15; */
    pointer-events: all;
}
.gallery__item{
    position: relative;
}
.gallery__item::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}
.features-section__interaction-method {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 52px;
    pointer-events: all;
}
.tab__option-container {
    width: 100%;
}
.features-section__links-wrapper {
    display: none;
}
.features-section__links {
	height: 100%;
    width: fit-content;
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--border-radius-circle);
    background-color: var(--color-light);
}
.features-section__links button {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-circle);
    padding: 0 40px;
    transition: background-color 0.3s ease-out, color 0.3s ease-out;
}
.features-section__links button:hover {
    background-color: var(--color-light-green);
    color: #fff;
}
.features-section__links button._active {
    background-color: var(--color-green);
    color: #fff;
}
.tab__display {
    display: block;
}

@media (min-width: 767px) {
    .tab__display {
        display: none;
    }
    .features-section__interaction-method {
        min-height: 70px;
    }
    .features-section__links-wrapper {
        display: block;
        overflow: auto;
        scrollbar-width: none;
        border-radius: var(--border-radius-circle);
        width: 100%;
    }
    .features-section__theme button {
        width: 67px;
	    height: 70px; 
    }
    .features-section__tabs p {
        bottom: 2rem;
        right: auto;
        width: 70%;
    }
}
/* GALLERY */


.header__logo{
    width: 150px;
}

.header__logo svg{
    max-width: 100%;
    height: auto;
}

.main-section .container {
    display: grid;
    grid-template-columns: 100%;
    gap: 20px;
}

.main-slider {
    position: relative;
}

.main-slider .embla__viewport {
    border-radius: var(--border-radius-main);
    overflow: hidden;
}

.main-slider .embla__container {
    height: 500px;
    min-height: 500px;
    height: calc(100vh - var(--header-height) - 135px);
    height: calc(100dvh - var(--header-height) - 135px);
}

.main-slider .embla__slide {
    height: 100%;
}

.features-section__wrapper-container .controls,
.element-project__container .controls,
.main-content__controls .controls {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: var(--border-radius-circle);
    width: fit-content !important;
    height: fit-content !important;
    pointer-events: all;
}

.main-slider .main-content__controls {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1.5rem;
    bottom: 2rem;
    right: 2rem;
    left: 2rem;
    z-index: 5;
    pointer-events: none;
}
.features-section__wrapper-container .controls .scroll-snap,
.element-project__container .controls .scroll-snap,
.main-slider .controls .scroll-snap {
    display: inline-flex !important;
    padding: 0 1rem;
}



.main-slide {
    position: relative;
}

.main-slide__img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.main-slide__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    color: var(--color-white);
    text-wrap: balance;
}
.main-slide__content p {
    width: 85%;
}

.start-vigoda {
    position: absolute;
    z-index: 5;
    left: 1.25rem;
    top: 1.25rem;
    right: 1.25rem;
    background-color: var(--color-green);
    border-radius: var(--border-radius-main);
    padding-left: 1rem;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

.start-vigoda__wrap {
    border-radius: var(--border-radius-main);
    background-color: var(--color-white);
    padding: 1.5rem;
    text-transform: uppercase;
}

.start-vigoda .subtitle {
    color: var(--color-green);
}

.start-vigoda .btn-text-arrow {
    margin-top: 8px;
}

.start-vigoda:hover .btn-text-arrow {
    color: var(--color-green);
}

.start-vigoda:hover .btn-text-arrow svg {
    translate: 0.375rem 0;
}

.akcii-slider-block {
    background-color: var(--color-light);
    padding: 1rem;
    border-radius: var(--border-radius-main);
}

.akcii-slider {
    position: relative;
    overflow: hidden;
}

.akcii-slider .controls {
    display: none;
    margin: 0 auto;
}
.akcii-slider-block .controls {
    margin: 0 !important;
}

.akcia-slide {
    display: flex;
    align-items: center;
    gap: 17px;
    background-color: var(--color-light);
    justify-content: space-between;
}

.akcia-slide + .akcia-slide {
    margin-left: 20px;
}

.akcia-slide .subtitle {
    color: var(--color-green);
    text-align: start;
    text-transform: uppercase;
}

.akcia-slide__img {
    height: 86px;
    width: 86px;
    flex: 0 0 86px;
    border-radius: var(--border-radius-main);
    object-fit: cover;
}

.akcia-link {
    margin-top: 20px;
    width: 100%;
}

.links-slider {
    display: flex;
    gap: 6px;
    scrollbar-width: none;
    overflow-x: auto;
    scroll-behavior: smooth;
    margin: 0 calc(var(--container-padding-x) * -1);
    padding: 0 var(--container-padding-x);
    margin-top: 30px;
}

.circle-link {
    flex: 0 0 105px;
    width: 105px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle-link span {
    display: block;
    width: 100%;
    margin-top: 4px;
    text-wrap: wrap;
    text-align: center;
    word-wrap: break-word;
}

.circle-link:hover {
    text-decoration: underline;
}

.about-grid {
    display: grid;
    grid-template-columns: 100%;
    gap: 24px;
}

.about-image {
    position: relative;
    height: 500px;
    border-radius: var(--border-radius-main);
    overflow: hidden;
}

.about-image .label-blur {
    position: absolute;
    top: 20px;
    left: 20px;
}

.about-image__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

.about-content__btn {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.about-content__btn > a,
.about-content__btn > button {
    width: 100%;
}

.about-items-grid {
    display: grid;
    gap: 1rem;
    grid-auto-columns: 1fr;
    margin-top: 20px;
}
.about-item {
    display: flex;
    gap: 24px;
    align-items: center;
}
.about-item > svg {
    width: 3rem;
    height: 3rem;
}
.about-item___text .subtitle {
    color: var(--color-main);
}

.about-item___text span {
    color: var(--color-grey);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-map {
    padding: 1.25rem;
    background-color: var(--color-light);
    border-radius: var(--border-radius-main);
}
.about-map p {
    color: var(--color-green);
}

.section-title p,
.arch-section .section-title p {
    max-width: 567px;
}
.arch-section .section-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.arch-slider {
    margin-top: 1.5rem;
}
.arch-container {
    height: fit-content;
}
.arch-slide {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    max-height: 450px;
    overflow: hidden;

    border-radius: var(--border-radius-main);
    flex: 0 0 333px;
    background-color: var(--color-green);
    color: var(--color-white);
    transition: background-color 0.25s ease-out;
}
.arch-slide + .arch-slide {
    margin-left: 1rem;
}
.arch-title {
    padding: 1.5rem;
}
.arch-slide__img {
    transition: opacity 0.3s ease-out;
}
.arch-slide__img img {
    height: auto;
    border-radius: var(--border-radius-main);
}

.genplan-section {
    position: relative;
}

.genplan-section .section-title {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.genplan-section .section-title a {
    width: 100%;
    font-size: 1.05rem;
    height: 41px;
}

.genplan-section__swipe {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 5;
    padding: 5px;
    border-radius: var(--border-radius-circle);
    border: 1px solid var(--color-white);
}

.genplan {
    overflow-x: auto;
    scrollbar-width: none;
}

.genplan__wrapper {
    position: relative;
    min-width: 960px;
}
.genplan__wrapper .search-index-plan {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.genplan__img {
    max-height: 800px;
    border-radius: var(--border-radius-main);
}




/* .list__content:nth-child(5) {
    width: 100%;
}
.list__content:nth-child(5) .text__section {
    width: 100% !important;
}

.list__content:nth-child(5) .text__section:nth-child(1),
.list__content:nth-child(5) .text__section:nth-child(3) {
    max-width: 250px !important;
} */


.plan-p {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%3E%3Crect%20width%3D%2222.463%22%20height%3D%2222.463%22%20x%3D%22.768%22%20y%3D%22.768%22%20fill%3D%22%23fff%22%20stroke%3D%22%23009943%22%20stroke-width%3D%221.537%22%20rx%3D%221.633%22%2F%3E%3Cpath%20fill%3D%22%23009943%22%20d%3D%22M8.424%206.4h3.632c2.832%200%204.816.64%204.816%203.504%200%202.88-1.984%203.504-4.816%203.504h-2V18H8.424zm3.76%201.376h-2.128v4.208h2.128c1.712%200%203.024-.176%203.024-2.08%200-1.888-1.312-2.128-3.024-2.128%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-size: 100%;
}

.plan-icon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}

.plan-icon .info {
    position: absolute;
    pointer-events: none;
    padding: 8px 16px;
    background-color: var(--color-white);
    color: var(--color-green);
    border-radius: 10px;
    left: 36px;
    top: 2px;
    transform: translate(-30px, 0);
    overflow: hidden;
    transition: width 0.3s ease, height 0.3s ease, transform 0.35s ease, opacity 0.25s ease;
    transform-origin: 0 center;
    opacity: 0;
    white-space: nowrap;
    text-wrap: nowrap;
    text-align: center;
    display: flex;
    align-items: center;
    opacity: 0 !important;
}

.plan-icon span {
    display: inline-block;
}

.plan-icon:hover {
    z-index: 10;
}

.plan-icon:hover .info {
    transform: translate(0, 0);
    opacity: 1 !important;
}


.plan-liter {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    background-color: var(--color-light);
    color: var(--color-green);
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius-main);
    text-align: center;
    transition:
        color 0.26s ease-out,
        background-color 0.26s ease-out;
}

.plan-liter:hover {
    background-color: var(--color-light-green);;
    color: var(--color-white);
}

.eco-slide {
    --eco-slide-height: 250px;
    position: relative;
    height: var(--eco-slide-height);
}

.eco-slide__icon {
    content: "";
    display: block;
    width: 56px;
    height: 56px;
    position: absolute;
    z-index: 3;
    top: 24px;
    left: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2256%22%20height%3D%2256%22%20fill%3D%22none%22%20viewBox%3D%220%200%2056%2056%22%3E%3Ccircle%20cx%3D%2228%22%20cy%3D%2228%22%20r%3D%2228%22%20fill%3D%22%23fff%22%2F%3E%3Cg%20clip-path%3D%22url(%23a)%22%3E%3Cpath%20fill%3D%22%23009943%22%20d%3D%22M28.055%2019.142a15.08%2015.08%200%200%200%208.911%208.911%2015.08%2015.08%200%200%200-8.91%208.91%2015.08%2015.08%200%200%200-8.911-8.91%2015.08%2015.08%200%200%200%208.91-8.91%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22a%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M19%2019h18v18H19z%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E");
}

.eco-slide::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
    inset: 0;
    border-radius: var(--border-radius-main);
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 71.23%
    );
}

.eco-slide::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 3;
    inset: -1px;
    border-radius: var(--border-radius-main);
    background-color: #f9f7f2;
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.eco-slide + .eco-slide {
    margin-left: 16px;
}

.eco-slide img {
    border-radius: var(--border-radius-main);
}

.eco-slide h3 {
    position: absolute;
    z-index: 5;
    top: 100%;
    translate: 0 -100%;
    left: 0;
    right: 0;
    color: var(--color-white);
    transition-duration: 0.45s;
    transition-timing-function: ease-out;
    transition-property: color, translate;
    padding: 24px;
}

.eco-slide p {
    position: absolute;
    z-index: 5;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    padding: 24px;
    transition: opacity 0.4s ease-out;
}

.plans-slider {
    padding: 0 var(--container-padding-x);
}

.plans-slider .embla__viewport {
    margin-top: 24px;
}

.plan-slide__head {
    display: flex;
}

.plan-slide__head span + span {
    position: relative;
    display: flex;
    align-items: center;
}

.plan-slide__head span + span::before {
    content: "";
    display: inline-block;
    margin: 0 12px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--color-green);
}

.plan-slide__img {
    object-fit: contain;
}

.usi-section__img {
    margin-top: 32px;
    height: 400px;
    border-radius: var(--border-radius-main);
}

.usi-section__btn {
    margin-top: 20px;
    width: 100%;
}

.usi-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.usi-item {
    display: flex;
    flex-direction: column;
}
.usi-item .subtitle {
    color: var(--color-green);
    text-transform: uppercase;
}
.usi-item span {
    color: var(--color-grey);
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 100%;
    gap: 24px;
}

.calc .select {
    margin-top: 20px;
}

.calc__ranges {
    display: grid;
    grid-template-columns: 100%;
    margin-top: 20px;
    gap: 21px 16px;
}

.calc__ranges .sr .info {
    margin-bottom: 8px;
    color: var(--color-grey);
}

.calc__btn {
    margin-top: 21px;
    width: 100%;
}
.calc-item {
    padding: 20px;
    background-color: var(--color-light);
    border-radius: var(--border-radius-main);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc-item__head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.calc-item__icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
}

.calc-item__wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc-item__col .info {
    color: var(--color-grey);
    margin-top: 2px;
}

.calc-res-wrapper {
    height: 360px;
}

.calc-res-wrapper .mobile-scrollbar__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 867px) {
    .arch-section .section-title {
        flex-direction: row;
        gap: 5rem;
    }
}

@media (min-width: 767px) {
    .header__logo{
        width: auto;
    }

    .main-slider {
        order: 1;
    }

    .main-slider .embla__container {
        height: 550px;
        min-height: 550px;
        height: calc(100vh - var(--header-height) - 20px);
        height: calc(100dvh - var(--header-height) - 20px);
    }

    .main-slider .main-content__controls {
        flex-direction: row;
        align-items: end;
        gap: 2rem;
    }

    .start-vigoda {
        top: 2rem;
        left: 2rem;
        right: auto;
    }

    .akcii-slider-block {
        order: 2;
    }
    .akcii-slider-block {
        padding: 2rem;
    }

    .akcii-slider .embla__viewport {
        overflow: hidden;
    }

    .akcii-slider .controls {
        display: flex;
    }

    .akcia-slide {
        flex-direction: column;
        align-items: start;
        gap: 24px;
        padding: 0 0 16px;
    }

    .akcia-slide__img {
        width: 100%;
        height: 230px;
        flex: 0 0 auto;
    }

    .links-slider {
        order: 3;
        gap: 8px;
    }

    .about-grid {
        gap: 32px;
    }
    .about-image .label-blur {
        top: 32px;
        left: 32px;
    }
    .about-content__btn {
        margin-top: 32px;
        gap: 24px;
    }

    .about-items-grid {
        margin-top: 32px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 42px;
        overflow: visible;
    }
    .about-item > svg {
        width: auto;
        height: auto;
    }
    .arch-slider .mobile-controls {
        display: none;
    }
    .arch-slider {
        margin-top: 32px;
    }
    .arch-slide {
        max-height: none;
    }
    .arch-slide + .arch-slide {
        margin-left: 20px;
    }

    .genplan-section .section-title {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .genplan-section .section-title a {
        width: auto;
        font-size: 1.25rem;
        height: 60px;
    }

    .genplan-section__swipe {
        display: none;
    }

    .eco-slide {
        --eco-slide-height: 300px;
        flex: 0 0 calc(50% - 10px);
    }

    .eco-slide + .eco-slide {
        margin-left: 20px;
    }

    .eco-slide h3 {
        padding: 32px;
    }

    .eco-slide p {
        padding: 32px;
    }

    .plans-slider {
        padding: 0;
    }

    .plans-slider__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .plans-slider .embla__slide {
        flex: 0 0 450px;
    }

    .plans-slider .embla__container {
        align-items: center;
        height: 550px;
    }

    .plan-slide__head span + span::before {
        margin: 0 16px;
    }

    .plan-slide h3 {
        color: var(--color-dark);
    }

    .plan-slide .embla__slide-wrapper {
        padding: 32px;
        border-radius: var(--border-radius-main);
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: transparent;
        transition: background-color 0.2s ease-out;
    }

    .plan-slide__head {
        margin-top: 16px;
    }

    .plan-slide__img {
        width: auto;
        margin-top: 16px;
        height: 200px;
    }

    .plan-slide__cost {
        margin-top: 24px;
    }

    .plan-slide__info {
        margin-top: 8px;
        margin-bottom: 24px;
    }

    .plan-slide__btn {
        width: 100%;
        height: 0;
        transition: height 0.3s ease;
    }

    .plan-slide__btn .button-primary {
        width: 100%;
        opacity: 0;
        transition: opacity 0.2s ease-out, background-color 0.2s ease-out,
            color 0.2s ease-out;
    }

    .plan-slide.is-snapped .embla__slide-wrapper {
        background-color: var(--color-light);
    }

    .plan-slide.is-snapped .plan-slide__btn {
        height: 54px;
    }

    .plan-slide.is-snapped .plan-slide__btn .button-primary {
        opacity: 1;
    }

    .plan-preview {
        display: none;
    }

    .usi-section__btn {
        margin-top: 2rem;
    }
    .usi-items {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 2rem;
        gap: 2rem;
    }

    .calc .select {
        margin-top: 2rem;
    }
    .calc .select ul {
        position: static;
        border: none;
        flex-wrap: wrap;
        padding: 0;
    }

    .calc .select li.active {
        font-weight: 400;
    }

    .calc__ranges {
        margin-top: 32px;
        grid-template-columns: repeat(2, 1fr);
    }

    .calc-item {
        padding: 23px 32px;
        flex-direction: row;
        justify-content: space-between;
    }

    .calc-item__wrap {
        flex-direction: row;
        gap: 30px;
    }

    .calc-res-wrapper {
        height: auto;
    }
    .features-section__wrapper-container {
        align-items: end;
    }
}

@media (min-width: 767px) and (min-width: 1400px) {
    .plans-slider .embla__container {
        height: 650px;
    }
}

@media (min-width: 1023px) {
    .main-section .container {
        grid-template-columns: 61.95% 36%;
        justify-content: space-between;
    }

    .main-slider .embla__container {
        height: 550px;
    }

    .main-slide__content {
        gap: 1.5rem;
    }

    .akcii-slider-block {
        display: flex;
        flex-direction: column;
    }
    .akcii-slider-block {
        padding: 3rem;
    }
    .akcii-slider {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        overflow: visible;
    }

    .akcii-slider .embla__viewport {
        height: 100%;
    }

    .akcii-slider .embla__container {
        height: 100%;
    }

    .akcia-slide__img {
        flex-grow: 1;
    }

    .links-slider {
        margin: 0;
        margin-top: 30px;
        padding: 0;
        grid-column: span 2;
        justify-content: center;
    }

    .about-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    /* .arch-slide {
        max-height: 600px;
        overflow: hidden;
    } */
    .arch-slide p {
        margin-top: 1rem;
    }

    .eco-slide {
        --eco-slide-height: 400px;
    }

    .plans-slider .embla__slide {
        flex: 0 0 490px;
    }

    .plans-slider .mobile-controls {
        display: none;
    }

    .plan-slide__img {
        height: 240px;
    }

    .usi-section__btn {
        width: fit-content;
    }

    .calc-item__wrap {
        gap: 42px;
    }


    .features-section__wrapper-container {
        align-items: center;
    }
    .features-section__tabs p {
        width: 37%;
    }
}

@media (min-width: 1150px) {
    .arch-slide {
        flex: 0 0 calc(33.33% - 13.33px);
    }
}

@media (min-width: 1400px) {
    .main-section .container {
        grid-template-columns: 66.12% 32.3%;
        gap: 48px 20px;
    }

    .main-slider .embla__container {
        height: 600px;
        min-height: 600px;
        max-height: 800px;
        height: calc(100vh - var(--header-height) - 30px);
        height: calc(100dvh - var(--header-height) - 30px);
    }

    .start-vigoda {
        top: 48px;
        left: 48px;
    }

    .akcii-slider .controls {
        bottom: 20px;
    }
    .akcii-slider-block .controls {
        margin: 0 auto !important;
    }

    .akcia-slide {
        padding: 0 0 23px;
        gap: 32px;
    }

    .circle-link {
        flex: 0 0 120.5px;
    }

    .about-grid {
        grid-template-columns: 40% 58%;
        justify-content: space-between;
    }

    .about-image {
        height: auto;
    }

    .about-items-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-content: space-between;
        gap: 20px;
    }

    .eco-slide {
        flex: 0 0 calc(33% - 13.33px);
    }

    .plans-slider .embla__slide {
        flex: 0 0 520px;
    }

    .plan-slide__img {
        height: 320px;
    }

    .usi-section .container {
        display: grid;
        grid-template-columns: 1fr 41%;
        gap: 0 126px;
        justify-content: space-between;
    }
    .usi-section__img {
        margin: 0;
        height: 100%;
        grid-row: 1/3;
        grid-column: 2;
    }

    .calc-wrapper {
        grid-template-columns: 32.25% 1fr;
        gap: 32px;
    }

    .calc__ranges {
        grid-template-columns: 100%;
    }

    .calc-item {
        padding: 32px;
        flex: 1 1 16.66%;
        max-height: 110px;
    }

    .calc-res-wrapper .mobile-scrollbar__content {
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 1860px) {
    .main-section .container {
        grid-template-columns: 66.28% 32.5%;
        gap: 60px 20px;
    }

    .main-slider .embla__container {
        height: 700px;
        min-height: 700px;
        max-height: 800px;
        height: calc(100vh - var(--header-height) - 30px);
        height: calc(100dvh - var(--header-height) - 30px);
    }

    .circle-link {
        flex: 0 0 130px;
    }

    .about-grid {
        grid-template-columns: 51% 48%;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    /* .arch-slide {
        max-height: 800px;
        overflow: hidden;
    } */

    .plans-slider .embla__slide {
        flex: 0 0 570px;
    }

    .usi-section .container {
        grid-template-columns: 44.9% 49.3%;
    }

    .calc-wrapper {
        grid-template-columns: 32.5% 1fr;
    }

    .calc-item {
        padding: 28px 32px;
    }
}

@media (max-width: 1399px) {
    .plan-p,
    .plan-icon,
    .plan-liter {
        scale: 0.9;
    }
}

@media (max-width: 766px) {
    .plans-slider .embla__viewport {
        overflow: hidden;
    }

    .plans-slider .embla__container {
        flex-direction: column;
        height: 280px;
    }

    .plans-slider .embla__slide {
        flex: 0 0 calc(33.33% - 13.33px);
    }

    .plans-slider .embla__slide + .embla__slide {
        margin-top: 10px;
    }

    .plans-slider .embla__slide-wrapper {
        transform: scale(1) !important;
    }

    .plans-slider .mobile-controls {
        display: none;
    }

    .plan-slide {
        position: relative;
        padding: 20px;
        background-color: var(--color-light);
        border-radius: 30px;
    }

    .plan-slide__img {
        position: absolute;
        top: 50%;
        right: 0;
        translate: 0 -50%;
        height: 62px;
        width: 62px;
    }

    .plan-slide h3 {
        font-size: 18px;
        color: var(--color-green);
    }

    .plan-slide__head {
        margin-top: 6px;
        font-size: 12px;
    }

    .plan-slide__cost,
    .plan-slide__info,
    .plan-slide__btn {
        display: none;
    }

    .plan-preview {
        margin-top: 24px;
    }

    .plan-preview__head {
        display: flex;
    }

    .plan-preview__head span + span {
        position: relative;
        display: flex;
        align-items: center;
    }

    .plan-preview__head span + span::before {
        content: "";
        display: inline-block;
        margin: 0 12px;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background-color: var(--color-green);
    }

    .plan-preview__img {
        object-fit: contain;
    }

    .plan-preview h3 {
        color: var(--color-green);
    }

    .plan-preview .embla__slide-wrapper {
        padding: 32px;
        border-radius: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: transparent;
        transition: background-color 0.2s ease-out;
        background-color: var(--color-light);
    }

    .plan-preview__head {
        margin-top: 16px;
    }

    .plan-preview__img {
        width: auto;
        margin-top: 16px;
        height: 200px;
    }

    .plan-preview__cost {
        margin-top: 24px;
    }

    .plan-preview__info {
        margin-top: 8px;
        margin-bottom: 24px;
    }

    .plan-preview__btn {
        width: 100%;
    }

    .plan-preview__btn .button-primary {
        width: 100%;
    }
}

@media (max-width: 766px) and (min-width: 767px) {
    .plan-preview__head span + span::before {
        margin: 0 16px;
    }
}

@media (max-width: 766px) and (min-width: 1023px) {
    .plan-preview__img {
        height: 240px;
    }
}

@media (max-width: 766px) and (min-width: 1400px) {
    .plan-preview__img {
        height: 320px;
    }
}

.slider-title {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
@media (min-width: 1024px) {
    .slider-title {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Карта модальное */

[data-popup-main-wrapper] {
  height: 97%;
  max-width: 100%;
  overflow: auto;
}

.map-switcher-container {
    position: relative;
    z-index: 50;
    padding-bottom: 16px;
}

.map-switcher {
    width: 100%;
    background-color: #a9a9a9;
    border-radius: 100px;
    display: flex;
    gap: 4px;
    padding: 4px;
}

.map-switcher button {
    flex: 0 1 50%;
    display: block;
    padding: 14px 0;
    color: #fff;
    border-radius: 60px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.map-switcher button._active {
    background-color: #fff;
    color: var(--color-dark);
}

.map-switcher__office span:first-child {
    display: block;
}
.map-switcher__office span:last-child {
    display: none;
}
@media (min-width: 430px) {
    .br-section {
        display: none;
    }
}
@media (max-width: 400px) {
    .map-switcher button {
        flex: 1 1 auto;
    }
    .map-switcher__office span:first-child {
        display: none;
    }
    .map-switcher__office span:last-child {
        display: block;
    }
}

.ymap-section__wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.ymap-section__info h2 {
    margin-bottom: 24px;
}
.ymap-section__info .map-switcher {
    position: static;
    width: 100%;
}

.ymap-section__item .p1 {
    color: var(--color-orange);
}

.ymap-section__item .subtitle {
    margin-top: 8px;
}

.ymap-section__items {
    margin-top: 24px;
}
.ymap-section__item + .ymap-section__item {
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid #cedfd7;
}

.ymap-section__map {
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    background-color: var(--color-light);
}

.infrastructure-section .section-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.infrastructure-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.infrastructure-element {
    display: flex;
    justify-content: space-between;
    height: fit-content;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-light);
    border-radius: var(--border-radius-main);
}
.element-title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.element-title > .subtitle {
    color: var(--color-green);
    text-transform: uppercase;
}
.element-title > .info {
    color: var(--color-grey);
}
.infrastructure-element > img {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-main);
}

/*  */
.ymap-section__links-select .custom-select {
    margin: 16px 0;
}
.ymap-section__links-select .button-primary {
    width: 100%;
}
.links-list {
    display: none;
}
.map-links-list li {
    position: relative;
}
.map-links-list li img {
    width: auto;
    height: auto;
}
.map-links-list input[type="radio"] {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.custom-select {
    position: relative;
    z-index: 11;
    border-radius: 30px;
}

.custom-select button {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    height: 48px;
    background-color: #fff;
    border-radius: 60px;
    padding: 0 16px;
}

.custom-select button img {
    width: auto;
    height: auto;
}

.custom-select button::after {
    content: "";
    transform: rotate(0deg);
    background: url("../img/icons/select-arrow-down.svg") center no-repeat;
    width: 24px;
    height: 24px;
    margin-left: auto;
}

.custom-select.active button::after,
.custom-select button[aria-expanded="true"]::after {
    transform: rotate(-180deg);
}

.custom-select ul {
    position: absolute;
    left: 0;
    right: 0;
    top: 61px;
    border-radius: 15px;
    max-height: 400px;
    overflow-y: auto;
    list-style-type: none;
    padding: 8px 0;
    opacity: 0;
    background-color: #fff;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.custom-select ul.top {
    transform: translateY(10px);
    top: -380px;
}

.custom-select ul li + li {
    border-top: 1px solid var(--color-light);
}

.custom-select ul li {
    padding: 8px 0;
    margin: 0 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.custom-select ul li span {
    display: flex;
    align-items: center;
    gap: 16px;
}

.custom-select ul a {
    display: block;
}

.custom-select.active ul,
.custom-select ul.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.custom-select--dark [data-dropdown-button] {
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
}
.custom-select--dark ul {
    background-color: #000;
    border: 1px solid #fff;
    color: #fff;
}

.ymap-section__info [data-tab-content-wrapper] {
    background-color: var(--color-light);
    padding: 24px;
    margin-top: 24px;
    border-radius: 16px;
}

/*  */

@media (min-width: 767px) {
    .infrastructure-section .section-title {
        flex-direction: row;
        gap: 3rem;
    }
    .infrastructure-list {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    .infrastructure-element {
        padding: 1.5rem;
    }
    .infrastructure-element > img {
        width: 90px;
        height: 90px;
    }


    .ymap-section__items {
        margin-top: 32px;
    }
    .ymap-section__info [data-tab-content-wrapper] {
        padding: 32px;
        margin-top: 30px;
    }
    .ymap-section__links-select .custom-select {
        margin: 24px 0;
    }
}
@media (min-width: 1023px) {
    .ymap-section__map {
        height: 400px;
    }
}
@media (min-width: 1439px) {

    .infrastructure-list {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.875rem;
    }
    .infrastructure-element > img {
        width: 100px;
        height: 100px;
    }

    .arch-title {
        padding: 2rem;
    }

    .map-switcher-container {
        margin-bottom: 0;
    }
    .map-switcher {
        position: absolute;
        top: 48px;
        width: auto;
    }
    .map-switcher button {
        padding: 15px 32px;
        flex: 1 1 auto;
    }

    .ymap-section__info {
        flex-grow: 1;
    }
    .ymap-section__links-select {
        display: none;
    }
    .ymap-section__info {
        display: flex;
        flex-direction: column;
    }
    .ymap-section__info [data-tab-content-wrapper] {
        flex-grow: 1;
    }

    .links-list {
        display: block;
    }
    .links-list ul {
        background-color: #fff;
        padding: 8px 16px;
        border-radius: 16px;
        margin: 24px 0;
    }

    .links-list li + li {
        border-top: 1px solid var(--color-light);
    }

    .links-list li {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 8px 0;
        border-radius: 10px;
    }

    .links-list__count {
        margin-left: auto;
        color: var(--color-orange);
    }

    .links-list__button {
        padding: 0 10px;
    }

    .links-list .button-primary {
        width: 100%;
    }

    .ymap-section__wrapper {
        flex-direction: row;
    }

    .ymap-section__map {
        height: 600px;
    }
}

@media (min-width: 2000px) {
    .map-section__maps-wrapper {
        height: 1200px;
    }
}



.search-index-plan{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.search-index-plan path{
    opacity: 0;
    transition: all .3s ease;
    cursor: pointer;
}

.search-index-plan path:hover{
    opacity: 1;
}

.plan-icon.plan-icon--child{
    
}

.plan-icon div{
    display: none;
    position: absolute;
    color: #3B6158;
    background-color: var(--color-white);
    border-radius: 10px;
    white-space: nowrap;
    left: 55px;
    top: 6px;
    padding: 8px 15px;
}
.plan-icon:hover div{
    display: block;    
}








