.real-estate-hero {
    background: #f9f9f9;
    padding: 40px 0 56px;
}

.real-estate-hero__container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.real-estate-hero__title {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.15;
    color: #111111;
}

.real-estate-hero__count {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: #111111;
    margin-bottom: 20px;
    font-size: 14px;
}

.real-estate-hero__count-number {
    color: #1d5bff;
    font-weight: 600;
}

.real-estate-hero__filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    font-family: "Segoe UI", "Arial", "Noto Sans", "Liberation Sans", sans-serif;
}

.real-estate-hero__field {
    display: grid;
    gap: 8px;
    padding: 12px 14px 14px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    font-size: 12px;
    color: #5a5a5a;
    background: #f9f9f9;
}

.real-estate-hero__label {
    font-size: 11px;
    color: #6a6a6a;
}

.real-estate-hero__select {
    border: none;
    background: transparent;
    font-size: 15px;
    color: #111111;
    padding: 0 28px 0 0;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23111111' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.real-estate-hero__button {
    border: none;
    background: #1d5bff;
    color: #ffffff;
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    border-radius: 8px;
    width: 100%;
}

.real-estate-hero__arrow {
    font-size: 18px;
    line-height: 1;
}

@media (min-width: 900px) {
    .real-estate-hero {
        padding: 56px 0 72px;
    }

    .real-estate-hero__title {
        font-size: 34px;
    }

    .real-estate-hero__count {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .real-estate-hero__filters {
        grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
        gap: 0;
        background: #f9f9f9;
        border: 1px solid #d6d6d6;
        border-radius: 8px;
        overflow: hidden;
    }

    .real-estate-hero__field {
        border-radius: 0;
        border: none;
        border-right: 1px solid #d6d6d6;
        padding: 14px 16px 16px;
    }

    .real-estate-hero__button {
        border-radius: 0;
        width: auto;
        padding: 0 26px;
        justify-content: center;
    }
}

.real-estate-hero__button.is-loading {
    opacity: 0.85;
    cursor: default;
}

.real-estate-hero__spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #ffffff;
    animation: real-estate-spin 0.9s linear infinite;
}

@keyframes real-estate-spin {
    to {
        transform: rotate(360deg);
    }
}

.is-loading .real-estate-hero__filters,
.is-loading .real-estate-best,
.is-loading .real-estate-grid,
.is-loading .blog-index__calc,
.is-loading .blog-index__consult,
.is-loading .blog-article__reminder,
.is-loading .blog-index__final-cta,
.is-loading .real-estate-best-card,
.is-loading .real-estate-grid-card,
.is-loading .blog-index__calc-card {
    animation: real-estate-pulse 1.2s ease-in-out infinite;
}

@keyframes real-estate-pulse {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.78;
        transform: translateY(1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
