:root {
    --home-surface: #ffffff;
    --home-background: #ffffff;
    --home-text: #172033;
    --home-muted: #667085;
    --home-border: #e7eaf0;
    --home-shadow: 0 16px 45px rgba(20, 30, 55, 0.09);
    --home-shadow-hover: 0 24px 60px rgba(20, 30, 55, 0.16);
}

html[data-site-theme="dark"] {
    color-scheme: dark;
    --home-surface: #151b26;
    --home-background: #0d121b;
    --home-text: #f4f6fa;
    --home-muted: #a8b0be;
    --home-border: #293140;
    --home-shadow: 0 16px 45px rgba(0, 0, 0, 0.24);
    --home-shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.34);
}

/* Mantém as fotos dos carrosséis na proporção das imagens MD (440 × 330). */
.flat-sale.wg-dream .box-dream .image-group,
.flat-rent.wg-dream .box-dream .image-group {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
}

.flat-sale.wg-dream .box-dream .img-style,
.flat-rent.wg-dream .box-dream .img-style {
    display: block;
    width: 100%;
    max-width: 440px;
    margin-right: auto;
    margin-left: auto;
    aspect-ratio: 4 / 3;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--home-text);
    background: var(--home-background);
    -webkit-font-smoothing: antialiased;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-theme-switch {
    display: inline-flex;
    gap: 1px;
    align-items: center;
    margin: 0 12px 0 0;
    padding: 2px;
    border: 1px solid var(--home-border);
    border-radius: 999px;
    background: var(--home-surface);
    box-shadow: 0 8px 22px rgba(23, 32, 51, 0.14);
}

.site-theme-switch label,
.site-theme-switch label span {
    margin: 0;
}

.site-theme-switch label {
    cursor: pointer;
}

.site-theme-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.site-theme-switch label > span {
    display: grid;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: var(--home-muted);
    font-size: 11px;
    transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
    place-items: center;
}

.site-theme-switch input:checked + span {
    color: var(--site-primary, #ffa920);
    background: var(--home-surface);
    box-shadow: 0 2px 8px rgba(23, 32, 51, 0.12);
}

.site-theme-switch input:focus-visible + span {
    outline: 2px solid var(--site-primary, #ffa920);
    outline-offset: 2px;
}
html[data-site-theme="dark"] body,
html[data-site-theme="dark"] #wrapper,
html[data-site-theme="dark"] #pagee {
    color: var(--home-text);
    background: var(--home-background);
}

html[data-site-theme="dark"] .main-header,
html[data-site-theme="dark"] .main-header .header-lower,
html[data-site-theme="dark"] .main-header .sticky-header {
    border-color: var(--home-border);
    background: rgba(13, 18, 27, 0.96);
}

html[data-site-theme="dark"] .flat-featured.home,
html[data-site-theme="dark"] .flat-sale,
html[data-site-theme="dark"] .flat-rent,
html[data-site-theme="dark"] .flat-search-area,
html[data-site-theme="dark"] .flat-find-neighborhood,
html[data-site-theme="dark"] .flat-agents,
html[data-site-theme="dark"] .flat-contact {
    color: var(--home-text);
    background-color: var(--home-background);
}

html[data-site-theme="dark"] .wg-dream .box-dream,
html[data-site-theme="dark"] .city-region-card,
html[data-site-theme="dark"] .themes-count .counter-box,
html[data-site-theme="dark"] .form-sl,
html[data-site-theme="dark"] .wd-search-form,
html[data-site-theme="dark"] .nice-select,
html[data-site-theme="dark"] input,
html[data-site-theme="dark"] textarea,
html[data-site-theme="dark"] select,
html[data-site-theme="dark"] .modal-content {
    border-color: var(--home-border);
    color: var(--home-text);
    background-color: var(--home-surface);
}

html[data-site-theme="dark"] h1,
html[data-site-theme="dark"] h2,
html[data-site-theme="dark"] h3,
html[data-site-theme="dark"] h4,
html[data-site-theme="dark"] h5,
html[data-site-theme="dark"] h6,
html[data-site-theme="dark"] .wg-dream .title a,
html[data-site-theme="dark"] .nice-select .current {
    color: var(--home-text);
}

html[data-site-theme="dark"] p,
html[data-site-theme="dark"] .text-color-4,
html[data-site-theme="dark"] .text-color-7,
html[data-site-theme="dark"] .text-color-8 {
    color: var(--home-muted) !important;
}

html[data-site-theme="dark"] .nice-select .list,
html[data-site-theme="dark"] .main-menu .navigation > li > ul {
    border-color: var(--home-border);
    background: var(--home-surface);
}

html[data-site-theme="dark"] .nice-select .option:hover,
html[data-site-theme="dark"] .nice-select .option.focus,
html[data-site-theme="dark"] .nice-select .option.selected.focus {
    background: #202838;
}

/* Indicadores do banner */
.slider.home .themes-count {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: min(100%, 540px);
    margin-top: 28px;
}

.slider.home .themes-count .counter-box {
    position: relative;
    display: flex;
    gap: 11px;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 8px 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.slider.home .themes-count .counter-box:first-child {
    padding-left: 0;
    border-right: 1px solid color-mix(in srgb, var(--home-text) 12%, transparent);
}

.slider.home .themes-count .counter-icon {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 0;
    color: var(--site-primary, #ffa920);
    background: transparent;
    font-size: 18px;
    place-items: center;
}

.slider.home .themes-count .counter-content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.slider.home .themes-count .count-number {
    margin-bottom: 3px;
    line-height: 1;
}

.slider.home .themes-count .number {
    color: var(--home-text);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.slider.home .themes-count .number.number-style::after {
    content: none;
}

.slider.home .themes-count .title-count {
    color: var(--home-muted) !important;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

.whatsapp-floating-button {
    position: fixed;
    right: 24px;
    bottom: 124px;
    z-index: 999;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: #25d366;
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.32);
    font-size: 15px;
    font-weight: 700;
}

.whatsapp-floating-button i {
    font-size: 27px;
}

.whatsapp-floating-button:hover,
.whatsapp-floating-button:focus {
    color: #ffffff;
    background: #1fbd59;
    box-shadow: 0 18px 38px rgba(37, 211, 102, 0.42);
}

.whatsapp-contact-modal .modal-dialog {
    width: calc(100% - 48px);
    max-width: 560px;
    margin: 36px auto;
}

.whatsapp-contact-modal .modal-content {
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
}

.whatsapp-contact-modal .modal-body {
    padding: 46px 54px 40px;
}

.whatsapp-contact-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #e7eaf0;
    border-radius: 50%;
    color: #475467;
    background: #ffffff;
    place-items: center;
}

.whatsapp-contact-heading {
    display: flex;
    gap: 16px;
    padding-right: 28px;
    margin-bottom: 36px;
}

.whatsapp-contact-icon {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #25d366, #128c4a);
    box-shadow: 0 10px 24px rgba(18, 140, 74, 0.23);
    font-size: 30px;
    place-items: center;
}

.whatsapp-contact-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #128c4a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.whatsapp-contact-heading h2 {
    margin: 0 0 6px;
    color: #172033;
    font-size: 28px;
    line-height: 1.2;
}

.whatsapp-contact-heading p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

.whatsapp-form-group {
    margin-bottom: 22px;
}

.whatsapp-form-group label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

.whatsapp-input-wrap {
    position: relative;
}

.whatsapp-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 16px;
    color: #98a2b3;
    font-size: 16px;
    transform: translateY(-50%);
}

.whatsapp-input-wrap input {
    width: 100%;
    height: 52px;
    padding: 0 16px 0 46px;
    border: 1px solid #dfe3ea;
    border-radius: 13px;
    color: #172033;
    background: #fbfcfd;
    font-size: 15px;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.whatsapp-input-wrap input:focus {
    border-color: #25d366;
    outline: 0;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.13);
}

.whatsapp-contact-form .invalid-feedback {
    display: none;
    margin-top: 6px;
    color: #d92d20;
    font-size: 12px;
}

.whatsapp-contact-form.was-validated input:invalid {
    border-color: #f04438;
    background: #fffafa;
}

.whatsapp-contact-form.was-validated input:invalid + .invalid-feedback,
.whatsapp-contact-form.was-validated .whatsapp-form-group:has(input:invalid) .invalid-feedback {
    display: block;
}

.whatsapp-contact-submit {
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin-top: 12px;
    border: 0;
    border-radius: 13px;
    color: #ffffff;
    background: var(--site-button, #1b84ff);
    box-shadow: 0 11px 24px color-mix(in srgb, var(--site-button, #1b84ff) 24%, transparent);
    font-size: 15px;
    font-weight: 800;
}

.whatsapp-contact-submit i {
    font-size: 20px;
}

.whatsapp-contact-submit:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.whatsapp-contact-submit.is-loading i {
    animation: whatsapp-pulse 900ms ease-in-out infinite alternate;
}

.whatsapp-contact-notice {
    padding: 12px 14px;
    margin-bottom: 14px;
    border: 1px solid rgba(18, 140, 74, 0.22);
    border-radius: 11px;
    color: #08783d;
    background: rgba(37, 211, 102, 0.09);
    font-size: 13px;
    font-weight: 600;
}

.whatsapp-contact-notice.is-error {
    border-color: rgba(217, 45, 32, 0.24);
    color: #b42318;
    background: #fff4f2;
}

@keyframes whatsapp-pulse {
    from { opacity: 0.45; }
    to { opacity: 1; }
}

.whatsapp-contact-privacy {
    margin: 14px 8px 0;
    color: #98a2b3;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 575px) {
    .whatsapp-floating-button {
        right: 16px;
        bottom: 116px;
        width: 56px;
        height: 56px;
        min-height: 56px;
        padding: 0;
        justify-content: center;
    }

    .whatsapp-floating-button span {
        display: none;
    }

    .whatsapp-contact-modal .modal-dialog {
        width: calc(100% - 24px);
        margin: 20px auto;
    }

    .whatsapp-contact-modal .modal-body {
        padding: 36px 30px 30px;
    }

    .whatsapp-contact-heading {
        gap: 12px;
        margin-bottom: 28px;
    }

    .whatsapp-contact-icon {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
        border-radius: 15px;
        font-size: 25px;
    }

    .whatsapp-contact-heading h2 {
        font-size: 23px;
    }
}

.main-header {
    height: 104px;
    border-bottom: 1px solid rgba(231, 234, 240, 0.85);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 28px rgba(20, 30, 55, 0.06);
    backdrop-filter: blur(14px);
}

.main-header .header-lower,
.main-header .inner-container {
    height: 104px;
}

.main-header .inner-container {
    min-height: 104px;
    padding-top: 0;
    padding-bottom: 0;
}

.main-header .logo-box .logo img {
    display: block;
    width: auto;
    max-width: 295px;
    height: auto;
    max-height: 84px;
    object-fit: contain;
}

.mobile-menu .nav-logo img {
    width: auto;
    max-width: 255px;
    height: auto;
    max-height: 84px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .main-header .logo-box .logo img {
        max-width: 235px;
        max-height: 72px;
    }
}

.main-header .main-menu .navigation > li > a {
    font-size: 15px;
    font-weight: 600;
}

.public-theme-vue .main-header,
.public-theme-vue .main-header .header-lower,
.public-theme-vue .main-header .inner-container,
.public-theme-vue .main-header .nav-outer,
.public-theme-vue .main-header .main-menu,
.public-theme-vue .main-header .navigation {
    overflow: visible;
}

.public-theme-vue .main-menu .navigation > li.site-property-menu > ul {
    position: absolute;
    top: calc(100% - 1px);
    left: -22px;
    z-index: 1250;
    display: block;
    width: 260px;
    min-width: 260px;
    border-radius: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(0.98);
    transform-origin: top center;
}

.public-theme-vue .main-menu .site-property-menu-link {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
}

.public-theme-vue .main-menu .site-property-menu-link::after {
    display: none !important;
}

.public-theme-vue .main-menu .site-property-menu-link svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.public-theme-vue .main-menu .site-property-menu:hover .site-property-menu-link svg,
.public-theme-vue .main-menu .site-property-menu:focus-within .site-property-menu-link svg {
    transform: rotate(180deg);
}

.public-theme-vue .main-menu .navigation > li.site-property-menu:hover > ul,
.public-theme-vue .main-menu .navigation > li.site-property-menu:focus-within > ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.public-theme-vue .main-menu .navigation > li.site-property-menu > ul > li {
    margin: 0;
    opacity: 1;
    transform: none;
}

.public-theme-vue .main-menu .navigation > li.site-property-menu > ul > li > a {
    position: relative;
    display: block;
    padding: 10px 12px;
}

.public-theme-vue .main-menu .navigation > li.site-property-menu > ul > li > a::before {
    content: '→' !important;
    position: absolute;
    top: 50%;
    left: 7px;
    width: auto;
    height: auto;
    background: transparent;
    color: var(--site-primary, #1563df);
    font-family: Arial, sans-serif;
    font-size: 14px;
    opacity: 0;
    transform: translate(-5px, -50%) !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.public-theme-vue .main-menu .navigation > li.site-property-menu > ul > li > a:hover,
.public-theme-vue .main-menu .navigation > li.site-property-menu > ul > li > a:focus-visible {
    padding-left: 25px;
    color: var(--site-primary, #1563df);
}

.public-theme-vue .main-menu .navigation > li.site-property-menu > ul > li > a:hover::before,
.public-theme-vue .main-menu .navigation > li.site-property-menu > ul > li > a:focus-visible::before {
    opacity: 1;
    transform: translate(0, -50%) !important;
}

.main-menu .navigation > li > ul {
    max-height: min(460px, calc(100vh - 110px));
    overflow: hidden;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--home-border);
    border-radius: 14px;
    box-shadow: var(--home-shadow);
}

.mobile-property-types {
    display: grid;
    gap: 2px;
    margin: 0 6px 7px 13px;
    padding: 6px 0 6px 12px;
    border-left: 2px solid var(--site-primary, #1563df);
}

.mobile-property-types a {
    padding: 7px 8px;
    border-radius: 7px;
    color: var(--home-muted, #667085) !important;
    font-size: 12px;
    font-weight: 650;
}

.mobile-property-types a:hover {
    background: color-mix(in srgb, var(--site-primary, #1563df) 9%, transparent);
    color: var(--site-primary, #1563df) !important;
}

.mobile-submenu-title {
    padding: 10px 8px 2px;
    color: var(--home-text, #18202d);
    font-size: 13px;
    font-weight: 750;
}

.main-menu .navigation > li > ul > li > a {
    border-radius: 9px;
}

.slider.home .heading {
    width: 100%;
    max-width: 760px;
    margin-right: auto;
    margin-left: 0;
    text-align: left;
}

.slider.home .slider-item {
    isolation: isolate;
    overflow: hidden;
    background-color: #f7f7f5;
    background-image: url('../../assets/images/slider/reanty-banner-bg.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.slider.home .slider-item > .container3 {
    position: relative;
    z-index: 1;
}

.slider.home .slider-item .images {
    top: auto;
    bottom: 0;
}

.slider.home .slider-item .images .image,
.slider.home .slider-item .images .img-item {
    display: block;
}

.slider.home .slider-item .images .img-item {
    transform: scale(1.07);
    transform-origin: right bottom;
}

.slider-scroll-arrow {
    position: absolute;
    z-index: 4;
    bottom: 28px;
    left: 50%;
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 9px 12px 9px 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    color: var(--home-text);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(246, 248, 252, 0.86));
    box-shadow: 0 14px 38px rgba(20, 30, 55, 0.16), inset 0 0 0 1px rgba(23, 32, 51, 0.04);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.015em;
    backdrop-filter: blur(10px);
    transform: translateX(-50%);
    transition: color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.slider-scroll-arrow i {
    display: grid;
    width: 32px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #ffffff !important;
    background: var(--site-button, #1b84ff);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--site-button, #1b84ff) 28%, transparent);
    font-size: 13px;
    place-items: center;
    animation: slider-scroll-bounce 1.4s ease-in-out infinite;
}

.slider-scroll-arrow:hover,
.slider-scroll-arrow:focus {
    color: var(--site-link, #1b84ff);
    transform: translate(-50%, -3px);
    box-shadow: 0 18px 44px rgba(20, 30, 55, 0.2), 0 0 0 4px color-mix(in srgb, var(--site-button, #1b84ff) 16%, transparent);
}

#imoveis-em-destaque {
    scroll-margin-top: 96px;
}

@keyframes slider-scroll-bounce {
    0%, 100% {
        transform: translateY(-1px);
    }
    50% {
        transform: translateY(4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .slider-scroll-arrow i {
        animation: none;
    }
}

.slider.home .heading h1,
.slider.home .heading p {
    text-align: left;
}

.slider.home .heading h1 {
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.slider.home .form-sl {
    overflow: visible;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(20, 30, 55, 0.18);
}

.slider.home .form-sl input,
.slider.home .form-sl .nice-select {
    min-height: 54px;
    border-radius: 12px;
}

.slider.home .form-sl .sc-button {
    min-height: 54px;
    border-radius: 12px;
}

.flat-featured.home,
.flat-sale,
.flat-rent {
    padding-top: 100px;
    padding-bottom: 100px;
}

.flat-featured.home,
.flat-rent {
    background: var(--site-primary-tint, rgba(27, 132, 255, 0.08));
}

.flat-sale {
    background: var(--home-surface);
}

.flat-search-area {
    padding: 100px 0;
    background: #ffffff;
}

.flat-search-area .heading-section {
    margin-bottom: 42px;
}

.flat-search-area .wrap-search-area {
    gap: 24px;
    width: 100%;
    max-width: 1600px;
    padding: 0 28px;
    margin: 0 auto;
}

.flat-search-area .city-region-card {
    isolation: isolate;
    width: calc(25% - 18px);
    min-height: 235px;
    padding: 26px;
    border: 1px solid color-mix(in srgb, var(--site-primary, #1b84ff) 14%, #e7eaf0);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, color-mix(in srgb, var(--site-primary, #1b84ff) 11%, transparent), transparent 48%),
        linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 0 14px 38px rgba(20, 30, 55, 0.08);
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.flat-search-area .city-region-card::before {
    position: absolute;
    z-index: -1;
    right: -46px;
    bottom: -54px;
    width: 150px;
    height: 150px;
    border: 24px solid color-mix(in srgb, var(--site-primary, #1b84ff) 7%, transparent);
    border-radius: 50%;
    content: '';
}

.flat-search-area .city-region-card:hover {
    z-index: 2;
    border-color: color-mix(in srgb, var(--site-primary, #1b84ff) 28%, transparent);
    box-shadow: 0 24px 55px rgba(20, 30, 55, 0.14);
    transform: translateY(-7px);
}

.city-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.city-location-icon {
    display: grid;
    width: 58px;
    height: 58px;
    border: 1px solid color-mix(in srgb, var(--site-primary, #1b84ff) 20%, transparent);
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(145deg, var(--site-primary, #1b84ff), color-mix(in srgb, var(--site-primary, #1b84ff) 72%, #172033));
    box-shadow: 0 11px 26px color-mix(in srgb, var(--site-primary, #1b84ff) 24%, transparent);
    font-size: 22px;
    place-items: center;
}

.city-card-count {
    padding: 7px 11px;
    border: 1px solid color-mix(in srgb, var(--site-primary, #1b84ff) 14%, #e7eaf0);
    border-radius: 999px;
    color: var(--site-primary, #1b84ff);
    background: color-mix(in srgb, var(--site-primary, #1b84ff) 6%, #ffffff);
    font-size: 11px;
    font-weight: 750;
}

.flat-search-area .city-region-card .content {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0;
    margin-top: 38px;
}

.city-card-title > span {
    display: block;
    margin-bottom: 5px;
    color: var(--home-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.flat-search-area .city-region-card .content h3 {
    margin: 0;
    color: var(--home-text);
    font-size: 25px;
    font-weight: 750;
    line-height: 1.2;
}

.city-card-arrow {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin-left: 12px;
    border: 1px solid var(--home-border);
    border-radius: 50%;
    color: var(--site-primary, #1b84ff);
    background: #ffffff;
    box-shadow: 0 7px 18px rgba(20, 30, 55, 0.08);
    place-items: center;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.city-region-card:hover .city-card-arrow {
    color: #ffffff;
    background: var(--site-primary, #1b84ff);
    transform: translateX(3px);
}

@media (max-width: 991px) {
    .flat-search-area .city-region-card {
        width: calc(50% - 12px);
    }
}

@media (max-width: 575px) {
    .flat-search-area {
        padding: 72px 0;
    }

    .flat-search-area .wrap-search-area {
        gap: 18px;
        padding: 0 18px;
    }

    .flat-search-area .city-region-card {
        width: 100%;
        min-height: 220px;
    }
}

.flat-sale .container3,
.flat-rent .container3 {
    padding-right: 24px;
    padding-left: 24px;
}

@media (min-width: 1200px) {
    .flat-sale .container3,
    .flat-rent .container3 {
        max-width: 1920px;
        padding-right: 32px;
        padding-left: 32px;
    }
}

.heading-section h2 {
    color: var(--home-text);
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.heading-section p {
    max-width: 620px;
    margin-inline: auto;
    color: var(--home-muted) !important;
    font-size: 16px;
}

.flat-featured .flat-tabs .tab-title {
    gap: 10px;
    flex-wrap: wrap;
}

.flat-featured .flat-tabs .tab-title li {
    margin: 0;
    padding: 10px 18px;
    border: 1px solid var(--home-border);
    border-radius: 999px;
    background: var(--home-surface);
    box-shadow: 0 5px 16px rgba(20, 30, 55, 0.05);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.flat-featured .flat-tabs .tab-title li:hover,
.flat-featured .flat-tabs .tab-title li.active {
    transform: translateY(-2px);
    border-color: var(--site-link, #ffa920);
    box-shadow: 0 10px 24px rgba(20, 30, 55, 0.1);
}

.flat-featured.home .content-inner .wrap-item .box {
    width: calc(33.333333% - 30px);
}

.wg-dream .box-dream {
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 18px;
    background: var(--home-surface);
    box-shadow: var(--home-shadow);
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.wg-dream .box-dream:hover {
    transform: translateY(-7px);
    border-color: rgba(148, 163, 184, 0.6);
    box-shadow: var(--home-shadow-hover);
}

.wg-dream .box-dream .image-group,
.wg-dream .box-dream .img-style {
    display: block;
    overflow: hidden;
    height: 330px;
    background: #eef1f5;
}

.wg-dream .box-dream .img-style img,
.wg-dream .box-dream .image-group > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.wg-dream .box-dream:hover .img-style img,
.wg-dream .box-dream:hover .image-group > a > img {
    transform: scale(1.045);
}

.wg-dream .box-dream .content {
    padding: 24px;
}

.wg-dream .box-dream .content h3 {
    min-height: 54px;
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.35;
}

.wg-dream .box-dream .text-address {
    min-height: 38px;
    color: var(--home-muted);
}

.wg-dream .box-dream .money {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 750;
}

.wg-dream .box-dream .icon-box {
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--home-border);
}

.wg-dream .featured {
    top: 15px;
    left: 14px;
    height: auto;
    padding: 7px 11px;
    border-radius: 999px;
    box-shadow: 0 7px 18px rgba(20, 30, 55, 0.18);
}

.wg-dream .featured::before,
.wg-dream .featured::after {
    display: none;
}

.wg-dream .featured.style {
    background-color: #16a34a;
    top: 50px;
}

.wg-dream .featured.style::before {
    border-top-color: #16a34a;
}

.wg-dream .featured.style::after {
    background: #16a34a;
}

.sc-button,
.tf-btn,
button {
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.sc-button:hover,
.tf-btn:hover,
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(20, 30, 55, 0.14);
}

#footer.home,
.widget-logo-footer,
.widget-bottom-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#footer.home {
    position: relative;
    overflow: hidden;
    padding: 82px 0 58px;
    background: linear-gradient(145deg, #111827 0%, #191b25 52%, #101827 100%);
}

#footer.home::before {
    position: absolute;
    top: -220px;
    right: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.065), transparent 68%);
    content: '';
    pointer-events: none;
}

#footer.home > .container {
    position: relative;
    z-index: 1;
}

#footer.home .group-icon {
    min-height: 238px;
    margin-bottom: 58px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(10px);
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

#footer.home .group-icon:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.075);
}

#footer.home .group-icon .box-icons {
    align-items: center;
    gap: 22px;
}

#footer.home .group-icon .box-icons .images {
    display: grid;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

#footer.home .group-icon .title-icon,
#footer.home h3 {
    color: #ffffff !important;
    letter-spacing: -0.02em;
}

#footer.home .group-icon p,
#footer.home .widget p,
#footer.home .widget .sub-title {
    color: rgba(255, 255, 255, 0.62) !important;
    line-height: 1.7;
}

#footer.home .group-icon .button-footer {
    margin-top: 22px;
    text-align: left;
}

#footer.home .group-icon .button-footer .sc-button {
    width: auto;
    min-width: 190px;
    margin: 0;
    border-radius: 12px;
}

#footer.home .widget {
    height: 100%;
    padding: 26px 22px;
    border-radius: 16px;
    transition: background 180ms ease;
}

#footer.home .widget:hover {
    background: rgba(255, 255, 255, 0.035);
}

#footer.home .widget h3 {
    position: relative;
    margin-bottom: 28px;
    padding-bottom: 14px;
    font-size: 20px;
}

#footer.home .widget h3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 3px;
    border-radius: 999px;
    background: var(--site-button, #ffa920);
    content: '';
}

#footer.home .widget-menu .box-menu li a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 7px;
    padding-left: 0;
    color: rgba(255, 255, 255, 0.68) !important;
    transition: transform 180ms ease, color 180ms ease;
}

#footer.home .widget-menu .box-menu li a::before {
    display: none;
}

#footer.home .widget-menu .box-menu li a:hover {
    transform: translateX(5px);
    color: var(--site-link, #ffa920) !important;
}

#footer.home .widget-menu .box-icon {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
}

#footer.home .widget-form fieldset input {
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.065);
}

#footer.home .widget-form fieldset input::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

#footer.home .widget-form button {
    border-radius: 12px;
}

.widget-logo-footer {
    padding: 26px 0;
    background: #10151f;
}

.widget-logo-footer .wrap-logo {
    gap: 30px;
}

.widget-logo-footer .menu-bottom {
    gap: 28px;
}

.widget-logo-footer .menu-bottom li {
    margin: 0;
}

.widget-logo-footer .icon-social {
    display: flex;
    gap: 10px;
}

.widget-logo-footer .icon-social a i {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    transition: transform 180ms ease, background 180ms ease;
}

.widget-logo-footer .icon-social a:hover i {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
}

.widget-bottom-footer {
    padding: 20px 0;
    background: #0c111a;
}

.widget-bottom-footer .title-bottom {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

@media (max-width: 991px) {
    .flat-featured.home,
    .flat-sale,
    .flat-rent {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .flat-featured.home .content-inner .wrap-item .box {
        width: calc(50% - 30px);
    }

    #footer.home {
        padding-top: 64px;
    }

    #footer.home .group-icon {
        min-height: auto;
        margin-bottom: 24px;
    }

    .widget-logo-footer .wrap-logo {
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .slider.home .themes-count {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 22px;
    }

    .slider.home .themes-count .counter-box {
        padding: 8px 0;
    }

    .slider.home .themes-count .counter-box:first-child {
        border-right: 0;
        border-bottom: 1px solid color-mix(in srgb, var(--home-text) 10%, transparent);
    }

    .slider.home .themes-count .counter-icon {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }

    .slider.home .themes-count .number {
        font-size: 26px;
    }

    .slider.home .heading h1 {
        font-size: 38px;
    }

    .slider.home .form-sl {
        padding: 8px;
        border-radius: 16px;
    }

    .flat-featured.home .content-inner .wrap-item .box {
        width: calc(100% - 30px);
    }

    .wg-dream .box-dream .image-group,
    .wg-dream .box-dream .img-style {
        height: 225px;
    }

    .wg-dream .box-dream .content {
        padding: 20px;
    }

    #footer.home {
        padding: 50px 0 36px;
    }

    #footer.home .group-icon {
        padding: 24px 20px;
        border-radius: 16px;
    }

    #footer.home .group-icon .box-icons {
        align-items: flex-start;
        flex-direction: column;
    }

    #footer.home .widget {
        padding: 22px 8px;
    }

    .widget-logo-footer .menu-bottom {
        justify-content: center;
        gap: 12px 20px;
        flex-wrap: wrap;
    }
}
