/* Geo landing (city / cemetery) — Figma 2026 */

body.is-geo-page main > .center:first-of-type {
    display: none;
}

.geo-page.home-page {
    margin-top: 0;
}

@media (max-width: 991px) {
    .geo-page.home-page {
        gap: 24px;
        margin-bottom: 24px;
    }
}

.geo-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
}

/* Hero */

.geo-hero {
    display: block;
    width: 100%;
}

.geo-hero__box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px;
    background: var(--color-bg-grey, #F4F5F6);
    border-radius: 20px;
}

.geo-hero__main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.geo-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.geo-hero__title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    color: var(--color-text, #181B1E);
}

.geo-hero__subtitle {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: var(--color-grey, #616D79);
}

.geo-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.geo-hero__badges li {
    padding: 4px 12px;
    background: #fff;
    border-radius: 12px;
    color: var(--color-grey, #616D79);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.geo-hero__media {
    position: relative;
    width: 100%;
    height: 198px;
    border-radius: 12px;
    overflow: hidden;
}

.geo-hero-swiper,
.geo-hero-swiper .swiper-wrapper,
.geo-hero__slide {
    height: 100%;
}

.geo-hero__slide-link {
    display: block;
    height: 100%;
}

.geo-hero__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.geo-hero__pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 2px;
    pointer-events: none;
}

.geo-hero__pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.45);
    border-radius: 4px;
    opacity: 1;
}

.geo-hero__pagination .swiper-pagination-bullet-active {
    background-color: #fff;
}

.geo-hero__cta {
    width: 100%;
}

/* Example calculation */

.geo-catalog__more {
    display: flex;
    width: 100%;
}

.home-hero__slide {
    position: relative;
}

.geo-hero__label {
    position: absolute;
    left: 12px;
    bottom: 16px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(24, 27, 30, 0.72);
    color: #fff;
    font-size: 12px;
    line-height: 16px;
}

.geo-calc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.geo-calc-list > li::before {
    content: none;
    display: none;
}

.geo-calc-list__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-light-grey, #E4E7EA);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: var(--color-text, #181B1E);
}

.geo-calc-list__row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.geo-calc-list__row_total {
    font-weight: 600;
}

.geo-calc-list__row_total .geo-calc-list__price {
    font-weight: 600;
}

.geo-calc-list__name {
    flex: 1 1 auto;
    min-width: 0;
}

.geo-calc-list__price {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Cemetery CTA strip */

.geo-cemetery-banner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    min-height: 0;
    background: var(--color-bg-grey, #F4F5F6);
    border-radius: 12px;
    color: var(--color-text, #181B1E);
}

.geo-cemetery-banner__title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}

.geo-cemetery-banner__text {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--color-grey, #616D79);
}

.geo-cemetery-banner__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.geo-cemetery-banner__button {
    width: 100%;
}

/* Monument types */

.geo-types {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px;
}

.geo-types::-webkit-scrollbar {
    display: none;
}

.geo-types__chip {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px;
    background: #fff;
    border: 0;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px var(--color-light-grey, #E4E7EA);
    color: var(--color-text, #181B1E);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow var(--trans-time, 0.3s), color var(--trans-time, 0.3s);
}

.geo-types__chip._active {
    box-shadow: inset 0 0 0 2px var(--color-brand, #6243B2);
    font-weight: 600;
}

.geo-catalog__panel[hidden] {
    display: none;
}

.geo-catalog__slider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
}

.geo-catalog-swiper {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.geo-catalog-swiper .geo-catalog__list {
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
}

.geo-catalog-swiper .home-scroll-track__item,
.geo-catalog-swiper .catalog-item-wrapper {
    width: auto;
    min-width: 0;
    height: auto;
}

.geo-catalog-swiper .catalog-item._others {
    width: 100%;
}

.geo-catalog-swiper .catalog-item._others .catalog-item__img {
    width: 100%;
}

.geo-catalog__arrow {
    display: none;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px #E4E7EA;
    color: #181B1E;
    cursor: pointer;
}

.geo-catalog__arrow._disabled {
    opacity: 0.35;
    cursor: default;
}

.geo-catalog__more {
    margin-top: 8px;
}

.geo-hero__label {
    position: absolute;
    left: 8px;
    bottom: 28px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(24, 27, 30, 0.72);
    color: #fff;
    font-size: 12px;
    line-height: 16px;
}

.geo-hero__slide {
    position: relative;
}

.geo-benefits__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.geo-benefits__item {
    display: block;
    padding: 16px;
    background: var(--color-bg-grey, #F4F5F6);
    border-radius: 12px;
}

.geo-benefits__item::before {
    content: none;
}

.geo-benefits__item h3 {
    margin: 8px 0 4px;
    font-size: 18px;
    line-height: 24px;
}

.geo-benefits__item p {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
}

.geo-steps {
    counter-reset: geo-step;
    margin: 0;
    padding: 0;
    list-style: none;
}

.geo-steps .home-order-steps__num::before {
    counter-increment: geo-step;
    content: counter(geo-step);
}

.geo-steps .home-order-steps__item-title,
.geo-steps .home-order-steps__item-text {
    margin: 0;
}

.geo-page .home-section_reviews .home-scroll-track {
    margin: 0;
    padding: 0;
    list-style: none;
}

.geo-page .home-review-card {
    display: flex;
}

.geo-page .home-review-card::before {
    content: none;
}

.geo-page .home-review-card__text {
    margin: 0;
}

.cityes-nav {
    margin-bottom: 48px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (min-width: 992px) {
    .geo-types__chip:hover {
        box-shadow: inset 0 0 0 2px var(--color-brand, #6243B2);
    }
}

/* Inline lead form */

.geo-page .home-hero__tags,
.is-geo-page .home-hero__tags {
    max-width: none;
}

.geo-lead {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 16px;
    background: #F4F5F6;
    border-radius: 12px;
}

.geo-lead__intro,
.geo-lead__fields,
.geo-lead__submit,
.geo-lead__form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    width: 100%;
}

.geo-lead__intro {
    gap: 8px;
}

.geo-lead__form,
.geo-lead__submit,
.geo-lead__fields {
    gap: 12px;
}

.geo-lead__form {
    gap: 24px;
}

.geo-lead__title {
    margin: 0;
    color: #181B1E;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}

.geo-lead__text,
.geo-lead__consent {
    margin: 0;
    color: #616D79;
    font-weight: 500;
}

.geo-lead__text {
    font-size: 14px;
    line-height: 20px;
}

.geo-lead__fields > input,
.geo-lead__fields > textarea {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: none;
    border-radius: 8px;
    background: #fff;
    color: #181B1E;
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.geo-lead__fields > input {
    height: 60px;
    min-height: 60px;
    padding: 0 12px;
}

.geo-lead__fields > textarea {
    height: 116px;
    min-height: 116px;
    padding: 12px;
    resize: vertical;
}

.geo-lead__fields > input::placeholder,
.geo-lead__fields > textarea::placeholder,
.geo-cemetery__input::placeholder {
    color: #616D79;
    opacity: 1;
}

.geo-lead__fields > input:focus,
.geo-lead__fields > textarea:focus,
.geo-cemetery_open .geo-cemetery__control,
.geo-cemetery__control:focus-within {
    outline: none;
    box-shadow: inset 0 0 0 1px #C9CFD5;
}

.geo-lead__button {
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
}

.geo-lead__consent {
    font-size: 12px;
    line-height: 16px;
    text-align: center;
}

.geo-lead__consent a {
    color: #5D8AFF;
    text-decoration: none;
}

.geo-lead__form .sms-field:not(.show) {
    display: none;
}

.geo-lead__form .sms-field.show {
    width: 100%;
}

.geo-cemetery {
    position: relative;
    width: 100%;
}

.geo-cemetery__control {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 60px;
    min-height: 60px;
    padding: 0 44px 0 12px;
    box-sizing: border-box;
    border-radius: 8px;
    background: #fff;
}

.geo-cemetery__input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #181B1E;
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.geo-cemetery__input:focus {
    outline: none;
}

.geo-cemetery__display {
    display: none;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    cursor: pointer;
}

.geo-cemetery__name {
    overflow: hidden;
    color: #181B1E;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.geo-cemetery__city {
    overflow: hidden;
    color: #616D79;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.geo-cemetery_selected:not(.geo-cemetery_open) .geo-cemetery__display {
    display: flex;
}

.geo-cemetery_selected:not(.geo-cemetery_open) .geo-cemetery__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

.geo-cemetery_open .geo-cemetery__display {
    display: none;
}

.geo-cemetery_open .geo-cemetery__input {
    position: static;
    width: 100%;
    height: auto;
    opacity: 1;
    pointer-events: auto;
}

.geo-cemetery__toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    transform: translateY(-50%);
    cursor: pointer;
}

.geo-cemetery_open .geo-cemetery__toggle svg {
    transform: rotate(180deg);
}

.geo-cemetery__list {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    z-index: 30;
    max-height: 280px;
    overflow: auto;
    background: #fff;
    border: 1px solid #E4E7EA;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(24, 27, 30, 0.12);
}

.geo-cemetery__list[hidden] {
    display: none;
}

.geo-cemetery__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 12px;
    border: none;
    background: none;
    color: #181B1E;
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    cursor: pointer;
}

.geo-cemetery__option-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.geo-cemetery__option-city {
    color: #616D79;
    font-size: 14px;
    line-height: 18px;
}

.geo-cemetery__option:hover,
.geo-cemetery__option_active {
    background: #F4F5F6;
}

.geo-cemetery__option-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none'%3E%3Cpath d='M16.667 6.458 8.75 14.375 5 10.625' stroke='%236243B2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.geo-cemetery__empty {
    padding: 12px;
    color: #616D79;
    font-size: 14px;
    line-height: 20px;
}

@media (min-width: 768px) {
    .geo-cemetery-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        min-height: 120px;
        padding: 16px 24px;
    }

    .geo-cemetery-banner__button {
        flex-shrink: 0;
        width: auto;
        min-width: 236px;
    }
}

@media (min-width: 992px) {
    .geo-hero__box {
        position: relative;
        min-height: 396px;
        padding: 24px;
        gap: 0;
    }

    .geo-hero__main {
        position: relative;
        z-index: 1;
        max-width: 608px;
        min-height: 348px;
        justify-content: flex-start;
    }

    .geo-hero__media {
        position: absolute;
        top: 8px;
        right: 8px;
        width: min(632px, calc(50% - 8px));
        height: 380px;
    }

    .geo-hero__cta {
        position: absolute;
        left: 24px;
        bottom: 24px;
        z-index: 2;
        width: auto;
    }

    .geo-types {
        flex-wrap: wrap;
        overflow: visible;
        margin: 0;
        padding: 0;
    }

    .geo-benefits__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .geo-catalog__more {
        width: auto;
        min-width: 280px;
        margin-left: auto;
    }

    .geo-catalog__arrow {
        display: flex;
    }
}
