.nusa-property-finder {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #111a35;
}

.nusa-property-finder.is-open,
.nusa-property-finder.is-closing {
    display: block;
}

.nusa-property-finder__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 14, 32, 0.62);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.nusa-property-finder.is-open .nusa-property-finder__backdrop {
    opacity: 1;
}

.nusa-property-finder__dialog {
    position: relative;
    width: 920px;
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
    margin: 14px auto;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 65px rgba(6, 12, 30, 0.35);
    transform: translateY(22px) scale(0.97);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.24, 1), opacity 0.22s ease;
}

.nusa-property-finder.is-open .nusa-property-finder__dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.nusa-property-finder__scroll {
    max-height: calc(100vh - 28px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
}

.nusa-property-finder__close {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 5;
    width: 50px;
    height: 50px;
    border: 1px solid #e4e8f5;
    border-radius: 50%;
    background: #fff;
    color: #71809d;
    font-size: 34px;
    line-height: 44px;
    padding: 0;
    box-shadow: 0 8px 22px rgba(28, 42, 90, 0.1);
    transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nusa-property-finder__close:hover,
.nusa-property-finder__close:focus {
    color: #2536d9;
    border-color: #cdd5ff;
    transform: rotate(90deg);
}

.nusa-property-finder__hero {
    display: grid;
    grid-template-columns: 1fr 46%;
    align-items: end;
    min-height: 365px;
    padding: 54px 48px 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(81, 98, 237, 0.14), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f9fbff 48%, #eef2ff 100%);
    border-bottom: 1px solid #edf0f7;
}

.nusa-property-finder__hero-copy {
    align-self: start;
    padding: 8px 34px 48px 0;
}

.nusa-property-finder__hero-copy h2 {
    margin: 0 0 24px;
    color: #111a35;
    font-size: 30px;
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: 0;
}

.nusa-property-finder__hero-copy h2 span {
    display: block;
    color: #4e5ef2;
}

.nusa-property-finder__hero-copy p {
    max-width: 360px;
    margin: 0 0 28px;
    color: #657393;
    font-size: 20px;
    line-height: 1.38;
}

.nusa-property-finder__badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    padding: 12px 18px;
    border: 1px solid #dbe5f8;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.82);
    color: #1c2749;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(43, 75, 160, 0.06);
}

.nusa-property-finder__badge i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffd84b;
    color: #3152df;
}

.nusa-property-finder__hero-image {
    width: 100%;
    align-self: end;
    display: block;
}

.nusa-property-finder__form {
    margin: 0;
}

.nusa-property-finder__form-content {
    padding: 34px 44px 28px;
}

.nusa-property-finder__section {
    margin-bottom: 28px;
}

.nusa-property-finder__section-title,
.nusa-property-finder__field-label {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 15px;
    color: #14203d;
}

.nusa-property-finder__section-title > span,
.nusa-property-finder__field-label > span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef2ff;
    color: #5467f3;
    font-size: 20px;
}

.nusa-property-finder__section-title h3,
.nusa-property-finder__field-label strong {
    margin: 0;
    color: #14203d;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 800;
}

.nusa-property-finder__section-title p {
    margin: 5px 0 0;
    color: #7684a3;
    font-size: 14px;
    line-height: 1.35;
}

.nusa-property-finder__goal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.nusa-property-finder__choice,
.nusa-property-finder__type-chip {
    position: relative;
    cursor: pointer;
}

.nusa-property-finder__choice input,
.nusa-property-finder__type-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nusa-property-finder__choice {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 102px;
    padding: 18px;
    border: 1px solid #e0e5f0;
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nusa-property-finder__choice-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    border-radius: 14px;
    background: #eef2ff;
    color: #5267f2;
    font-size: 26px;
}

.nusa-property-finder__choice strong {
    display: block;
    margin-bottom: 7px;
    color: #172349;
    font-size: 18px;
    line-height: 1.2;
}

.nusa-property-finder__choice small {
    display: block;
    color: #7b88a5;
    font-size: 15px;
    line-height: 1.35;
}

.nusa-property-finder__choice:hover,
.nusa-property-finder__type-chip:hover {
    transform: translateY(-1px);
}

.nusa-property-finder__choice.is-selected,
.nusa-property-finder__type-chip.is-selected {
    border-color: #5a6bf5;
    box-shadow: 0 10px 25px rgba(77, 95, 241, 0.12);
}

.nusa-property-finder__choice.is-selected .nusa-property-finder__choice-icon,
.nusa-property-finder__type-chip.is-selected span {
    background: #e8ecff;
    color: #3145dd;
}

.nusa-property-finder__type-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.nusa-property-finder__type-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 12px 10px;
    border: 1px solid #e2e7f0;
    border-radius: 12px;
    background: #fff;
    color: #596784;
    text-align: center;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nusa-property-finder__type-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #f1f4fb;
    color: #6b7896;
}

.nusa-property-finder__type-chip strong {
    min-width: 0;
    color: #596784;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.nusa-property-finder__input-wrap {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 62px;
    width: 100%;
    padding: 0 18px;
    border: 1px solid #dfe5f0;
    border-radius: 8px;
    background: #fff;
    color: #7b88a5;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.nusa-property-finder__input-wrap:focus-within {
    border-color: #5b6cf5;
    box-shadow: 0 0 0 3px rgba(91, 108, 245, 0.12);
}

.nusa-property-finder__input-wrap input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 58px;
    border: 0;
    background: transparent;
    color: #2b344d;
    font-size: 16px;
    line-height: 1.2;
    outline: 0;
}

.nusa-property-finder__input-wrap input::placeholder {
    color: #a6b0c6;
}

.nusa-property-finder__city-shortcuts {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.nusa-property-finder__city-shortcuts span,
.nusa-property-finder__city-shortcuts button {
    min-height: 32px;
    border: 0;
    border-radius: 6px;
    padding: 7px 12px;
    background: #f2f4f9;
    color: #74819e;
    font-size: 14px;
    line-height: 1.2;
}

.nusa-property-finder__city-shortcuts button {
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.nusa-property-finder__city-shortcuts button:hover,
.nusa-property-finder__city-shortcuts button:focus {
    background: #e8ecff;
    color: #3447de;
}

.nusa-property-finder__price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.nusa-property-finder__price-separator {
    color: #74819e;
    text-align: center;
    font-size: 26px;
    line-height: 1;
}

.nusa-property-finder__price {
    padding-left: 16px;
}

.nusa-property-finder__contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
    margin-bottom: 28px;
}

.nusa-property-finder__contact-grid > div:last-child {
    grid-column: span 2;
}

.nusa-property-finder__trust-box {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    min-height: 170px;
    margin-bottom: 22px;
    padding: 20px 28px 0;
    border: 1px solid #d8ddff;
    border-radius: 12px;
    background:
        linear-gradient(90deg, #f2fbff 0%, #fff 46%, #f7f3ff 100%);
    overflow: hidden;
}

.nusa-property-finder__trust-box img {
    align-self: end;
    width: 205px;
    max-width: 100%;
    display: block;
}

.nusa-property-finder__trust-box h3 {
    margin: 0 0 8px;
    color: #172349;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
}

.nusa-property-finder__trust-box p {
    margin: 0 0 18px;
    color: #71809d;
    font-size: 15px;
    line-height: 1.45;
}

.nusa-property-finder__trust-box ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0 0 22px;
}

.nusa-property-finder__trust-box li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #667491;
    font-size: 14px;
    line-height: 1.35;
}

.nusa-property-finder__trust-box li i {
    color: #5366f2;
    font-size: 19px;
    line-height: 1;
}

.nusa-property-finder__agreement {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0 0 22px;
    color: #71809d;
    font-size: 14px;
    line-height: 1.45;
}

.nusa-property-finder__agreement input {
    width: 19px;
    height: 19px;
    margin-top: 1px;
    accent-color: #5267f2;
}

.nusa-property-finder__message {
    display: none;
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.nusa-property-finder__message.is-error {
    display: block;
    background: #fff3f1;
    color: #a12b1f;
    border: 1px solid #ffd4cf;
}

.nusa-property-finder__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 64px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #6876ff 0%, #2434dc 100%);
    color: #fff;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(55, 68, 225, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.nusa-property-finder__submit:hover,
.nusa-property-finder__submit:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(55, 68, 225, 0.28);
}

.nusa-property-finder__submit[disabled] {
    cursor: wait;
    opacity: 0.76;
}

.nusa-property-finder__safe-note {
    margin: 13px 0 0;
    color: #8b97ad;
    text-align: center;
    font-size: 14px;
}

.nusa-property-finder__success {
    display: none;
    min-height: 430px;
    padding: 70px 32px;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.nusa-property-finder__success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #ebfff3;
    color: #17b65f;
    font-size: 40px;
}

.nusa-property-finder__success h3 {
    margin: 0 0 12px;
    color: #13203d;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
}

.nusa-property-finder__success p {
    max-width: 430px;
    margin: 0;
    color: #71809d;
    font-size: 17px;
    line-height: 1.5;
}

.nusa-property-finder__form.is-success .nusa-property-finder__form-content {
    display: none;
}

.nusa-property-finder__form.is-success .nusa-property-finder__success {
    display: flex;
}

.nusa-property-finder__empty {
    grid-column: 1 / -1;
    margin: 0;
    color: #a12b1f;
    background: #fff3f1;
    border: 1px solid #ffd4cf;
    border-radius: 8px;
    padding: 12px 14px;
}

.nusa-property-finder .is-invalid-field,
.nusa-property-finder [data-required-group].is-invalid-group .nusa-property-finder__choice,
.nusa-property-finder [data-required-group].is-invalid-group .nusa-property-finder__type-chip {
    border-color: #e55345 !important;
}

@media (max-width: 991px) {
    .nusa-property-finder__dialog {
        width: 760px;
        max-width: calc(100vw - 24px);
    }

    .nusa-property-finder__hero {
        min-height: 310px;
        padding: 42px 34px 0;
    }

    .nusa-property-finder__hero-copy h2 {
        font-size: 32px;
    }

    .nusa-property-finder__hero-copy p {
        font-size: 18px;
    }

    .nusa-property-finder__form-content {
        padding: 30px 30px 24px;
    }

    .nusa-property-finder__type-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nusa-property-finder__trust-box {
        grid-template-columns: 170px minmax(0, 1fr);
        gap: 18px;
    }

    .nusa-property-finder__trust-box ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .nusa-property-finder__dialog {
width: 90%;
        max-height: 90vh;
        min-height: 90vh;
        margin: 5vw;
        border-radius: 20px;
        max-width: 86vw;
    }

    .nusa-property-finder__scroll {
      max-height: 90vh;
    }

    .nusa-property-finder__close {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
        font-size: 30px;
        line-height: 36px;
    }

    .nusa-property-finder__hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 34px 22px 0;
    }

    .nusa-property-finder__hero-copy {
        padding: 0 48px 18px 0;
    }

    .nusa-property-finder__hero-copy h2 {
        margin-bottom: 14px;
        font-size: 27px;
    }

    .nusa-property-finder__hero-copy p {
        margin-bottom: 16px;
        font-size: 16px;
    }

    .nusa-property-finder__badge {
        padding: 9px 12px;
        font-size: 13px;
    }

    .nusa-property-finder__hero-image {
        width: 360px;
        max-width: 92%;
        margin-left: auto;
    }

    .nusa-property-finder__form-content {
        padding: 24px 16px 22px;
    }

    .nusa-property-finder__section {
        margin-bottom: 24px;
    }

    .nusa-property-finder__section-title h3,
    .nusa-property-finder__field-label strong {
        font-size: 17px;
    }

    .nusa-property-finder__goal-grid,
    .nusa-property-finder__contact-grid,
    .nusa-property-finder__price-row,
    .nusa-property-finder__trust-box {
        grid-template-columns: 1fr;
    }

    .nusa-property-finder__price-row {
        gap: 10px;
    }

    .nusa-property-finder__price-separator {
        display: none;
    }

    .nusa-property-finder__contact-grid > div:last-child {
        grid-column: auto;
    }

    .nusa-property-finder__type-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .nusa-property-finder__choice {
        min-height: 88px;
        padding: 14px;
    }

    .nusa-property-finder__choice-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
    }

    .nusa-property-finder__choice strong {
        font-size: 16px;
    }

    .nusa-property-finder__choice small,
    .nusa-property-finder__input-wrap input {
        font-size: 14px;
    }

    .nusa-property-finder__input-wrap {
        min-height: 54px;
        padding: 0 14px;
    }

    .nusa-property-finder__input-wrap input {
        height: 52px;
    }

    .nusa-property-finder__trust-box {
        padding: 18px 16px 0;
        text-align: left;
    }

    .nusa-property-finder__trust-box img {
        width: 150px;
        margin: 0 auto;
        order: 2;
    }

    .nusa-property-finder__trust-box h3 {
        font-size: 18px;
    }

    .nusa-property-finder__submit {
        min-height: 58px;
        font-size: 18px;
    }
}

@media (max-width: 420px) {
    .nusa-property-finder__hero-copy h2 {
        font-size: 24px;
    }

    .nusa-property-finder__type-chip {
        gap: 7px;
        padding: 10px 8px;
    }

    .nusa-property-finder__type-chip strong {
        font-size: 12.5px;
    }
}


.nusa-property-finder {
    color: #3f372c;
}

.nusa-property-finder__backdrop {
    background: rgba(34, 28, 18, 0.50);
}

.nusa-property-finder__dialog {
    background: #fffdf7;
    box-shadow: 0 22px 65px rgba(74, 57, 24, 0.22);
}

.nusa-property-finder__scroll {
    background: #fffdf7;
}

.nusa-property-finder__close {
    border: 1px solid #d6c39a;
    background: #fffaf0;
    color: #8b7442;
    box-shadow: 0 8px 22px rgba(120, 92, 33, 0.12);
}

.nusa-property-finder__close:hover,
.nusa-property-finder__close:focus {
    color: #6f5723;
    border-color: #c9ad67;
}

.nusa-property-finder__hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(215, 190, 120, 0.18), transparent 30%),
        linear-gradient(135deg, #fffdf8 0%, #f7efd9 48%, #e2c36f 100%);
    border-bottom: 1px solid #ead8ae;
}

.nusa-property-finder__hero-copy h2 {
    color: #3b3124;
}

.nusa-property-finder__hero-copy h2 span {
    color: #b68a2f;
}

.nusa-property-finder__hero-copy p {
    color: #7a6a4a;
}

.nusa-property-finder__badge {
    border: 1px solid #d8c08a;
    background: rgba(255, 250, 238, 0.92);
    color: #4a3d28;
    box-shadow: 0 8px 20px rgba(143, 109, 41, 0.08);
}

.nusa-property-finder__badge i {
    background: #c9a24a;
    color: #fffaf0;
}

.nusa-property-finder__section-title,
.nusa-property-finder__field-label {
    color: #4a3b26;
}

.nusa-property-finder__section-title > span,
.nusa-property-finder__field-label > span {
    background: #f2e5bf;
    color: #9a7425;
}

.nusa-property-finder__section-title h3,
.nusa-property-finder__field-label strong {
    color: #4a3b26;
}

.nusa-property-finder__section-title p {
    color: #8a7755;
}

.nusa-property-finder__choice {
    border: 1px solid #e3d4b1;
    background: #fffdf8;
}

.nusa-property-finder__choice-icon {
    background: #f5e8c4;
    color: #a67c28;
}

.nusa-property-finder__choice strong {
    color: #4a3a24;
}

.nusa-property-finder__choice small {
    color: #8a7859;
}

.nusa-property-finder__choice.is-selected,
.nusa-property-finder__type-chip.is-selected {
    border-color: #b88a2d;
    box-shadow: 0 10px 25px rgba(184, 138, 45, 0.16);
}

.nusa-property-finder__choice.is-selected .nusa-property-finder__choice-icon,
.nusa-property-finder__type-chip.is-selected span {
    background: #ecd9a3;
    color: #7f5d18;
}

.nusa-property-finder__type-chip {
    border: 1px solid #e3d4b1;
    background: #fffdf8;
    color: #77684d;
}

.nusa-property-finder__type-chip span {
    background: #f5ecda;
    color: #9a7a39;
}

.nusa-property-finder__type-chip strong {
    color: #6b5c42;
}

.nusa-property-finder__input-wrap {
    border: 1px solid #dcc9a1;
    background: #fffdf9;
    color: #8a7859;
}

.nusa-property-finder__input-wrap:focus-within {
    border-color: #b88a2d;
    box-shadow: 0 0 0 3px rgba(184, 138, 45, 0.12);
}

.nusa-property-finder__input-wrap input {
    color: #473a28;
}

.nusa-property-finder__input-wrap input::placeholder {
    color: #b29b72;
}

.nusa-property-finder__city-shortcuts span,
.nusa-property-finder__city-shortcuts button {
    background: #f6edd9;
    color: #7c6b4d;
}

.nusa-property-finder__city-shortcuts button:hover,
.nusa-property-finder__city-shortcuts button:focus {
    background: #e9d39c;
    color: #6f531d;
}

.nusa-property-finder__price-separator {
    color: #8e7a56;
}

.nusa-property-finder__trust-box {
    border: 1px solid #dcc38c;
    background:
        linear-gradient(90deg, #fbf3df 0%, #fffdf8 46%, #f3e2b5 100%);
}

.nusa-property-finder__trust-box h3 {
    color: #4a3a24;
}

.nusa-property-finder__trust-box p {
    color: #7f6d4f;
}

.nusa-property-finder__trust-box li {
    color: #79684c;
}

.nusa-property-finder__trust-box li i {
    color: #b6892d;
}

.nusa-property-finder__agreement {
    color: #7d6d50;
}

.nusa-property-finder__agreement input {
    accent-color: #b88a2d;
}

.nusa-property-finder__submit {
    background: linear-gradient(135deg, #e2c36f 0%, #b7892d 100%);
    color: #fffdf8;
    box-shadow: 0 12px 26px rgba(151, 113, 34, 0.22);
}

.nusa-property-finder__submit:hover,
.nusa-property-finder__submit:focus {
    color: #fffdf8;
    box-shadow: 0 16px 30px rgba(151, 113, 34, 0.28);
}

.nusa-property-finder__safe-note {
    color: #9a8868;
}

.nusa-property-finder__success-icon {
    background: #f7eed7;
    color: #b48628;
}

.nusa-property-finder__success h3 {
    color: #433522;
}

.nusa-property-finder__success p {
    color: #7c6b4f;
}