/* =========================
   RESET / GLOBAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary: #1879f2;
    --primary-dark: #0f5fc4;
    --accent: #dc143c;
    --dark: #1f2937;
    --text: #334155;
    --muted: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e5e7eb;
    --soft-blue: #eef5ff;
    --soft-yellow: #fff7df;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-strong: 0 18px 40px rgba(15, 23, 42, 0.14);
    --radius: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f9fc;
    color: var(--text);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* =========================
   TOP BAR
========================= */
.topbar {
    background: #0b1f45;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

.topbar-inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 8px 0;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar-btn {
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.25s ease;
}

.topbar-btn:hover {
    background: var(--primary-dark);
}

/* =========================
   HEADER
========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
}

.logo-mark {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #67a9ff);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    box-shadow: var(--shadow);
}

.logo-text strong {
    display: block;
    color: #0b1f45;
    font-size: 18px;
}

.logo-text span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: inline-block;
    padding: 28px 0;
    color: #0f172a;
    font-weight: 700;
    font-size: 15px;
    transition: 0.2s ease;
}

.main-nav > ul > li > a:hover {
    color: var(--primary);
}

.active-nav {
    color: var(--primary) !important;
    position: relative;
}

.active-nav::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
}

.has-dropdown .dropdown {
    position: absolute;
    top: calc(100% - 8px);
    left: 0;
    min-width: 260px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-strong);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.25s ease;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}

.dropdown a:hover {
    background: #eef5ff;
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    font-size: 22px;
    cursor: pointer;
}

/* =========================
   HERO
========================= */
.hp-home-hero {
    position: relative;
    background:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15)),
        url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hp-home-hero-overlay {
    position: absolute;
    inset: 0;
}

.hp-home-hero-inner {
    position: relative;
    z-index: 2;
    padding: 60px 0 70px;
}

.hp-home-hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hp-home-hero-content h1 {
    font-size: 44px;
    line-height: 1.18;
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.hp-home-hero-content p {
    color: rgba(255,255,255,0.95);
    font-size: 18px;
    margin-bottom: 22px;
}

.hp-home-search-form {
    max-width: 760px;
    margin: 0 auto;
}

.hp-home-search-row {
    display: flex;
    align-items: stretch;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-radius: 6px;
    overflow: hidden;
}

.hp-home-search-row input {
    flex: 1;
    border: none;
    min-height: 50px;
    padding: 0 18px;
    font-size: 16px;
    outline: none;
}

.hp-home-search-row button {
    width: 90px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: 0.25s ease;
}

.hp-home-search-row button:hover {
    background: #c01135;
}

.hp-hero-tags {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.hp-hero-tags a {
    background: rgba(255,255,255,0.16);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.20);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s ease;
}

.hp-hero-tags a:hover {
    background: #fff;
    color: var(--primary);
}

/* =========================
   TOP CONTENT AREA
========================= */
.hp-home-top-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    align-items: start;
    margin-top: 26px;
}

.hp-home-left {
    min-width: 0;
}

.hp-home-sidebar {
    min-width: 0;
}

/* =========================
   QUICK CATEGORY CARDS
========================= */
.hp-quick-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.hp-quick-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    min-height: 72px;
    padding: 12px 14px;
    transition: 0.25s ease;
    border: 1px solid #edf2f7;
}

.hp-quick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.hp-quick-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #edf5ff;
    display: grid;
    place-items: center;
    font-size: 21px;
}

.hp-quick-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}

.hp-quick-small {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.2;
    margin-top: 2px;
}

/* =========================
   CONTACT MINI LINKS
========================= */
.hp-contact-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.hp-contact-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    min-height: 86px;
    background: transparent;
}

.hp-contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    font-size: 21px;
}

.hp-contact-mini a {
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
}

/* =========================
   INFO PANELS
========================= */
.hp-info-panels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 26px;
}

.hp-info-panel {
    min-height: 210px;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.hp-info-panel-blue {
    background: #edf6ff;
}

.hp-info-panel-yellow {
    background: #fff4d8;
}

.hp-info-panel h3 {
    font-size: 28px;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 12px;
}

.hp-info-panel p {
    color: #334155;
    font-size: 15px;
    max-width: 440px;
}

.hp-info-panel a {
    display: inline-block;
    margin-top: 18px;
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
}

/* =========================
   SIDEBAR DEMAND FORM
========================= */
.hp-demand-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px 18px 20px;
    box-shadow: var(--shadow);
    border: 1px solid #edf2f7;
    position: sticky;
    top: 100px;
}

.hp-demand-card h3 {
    text-align: center;
    font-size: 24px;
    color: #111827;
    margin-bottom: 6px;
}

.hp-demand-card p {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 16px;
}

.hp-demand-form {
    display: block;
}

.hp-demand-row {
    margin-bottom: 12px;
}

.hp-demand-form input[type="text"],
.hp-demand-form input[type="email"],
.hp-demand-form textarea {
    width: 100%;
    height: 42px;
    border: 1px solid #dbe4f0;
    border-radius: 6px;
    background: #fafafa;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
}

.hp-demand-form textarea {
    height: auto;
    min-height: 90px;
    padding: 12px;
    resize: vertical;
}

.hp-demand-form input:focus,
.hp-demand-form textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(24, 121, 242, 0.08);
}

.hp-demand-radio-row {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.hp-demand-radio-row label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.hp-demand-type-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hp-demand-type-grid input {
    display: none;
}

.hp-demand-type-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 6px;
    background: #fafafa;
    border: 1px solid #d1d5db;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: 0.2s ease;
}

.hp-demand-type-grid input:checked + span {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.hp-demand-btn {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: 0.25s ease;
}

.hp-demand-btn:hover {
    background: #c01135;
}

/* =========================
   SECTION BLOCKS
========================= */
.hp-section {
    margin-top: 36px;
}

.hp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.hp-section-head h2 {
    font-size: 28px;
    line-height: 1.2;
    color: #111827;
}

.hp-section-head a {
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 999px;
    transition: 0.25s ease;
}

.hp-section-head a:hover {
    background: var(--primary-dark);
}

/* =========================
   PROPERTY GRID
========================= */
.hp-property-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.hp-property-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8edf3;
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.hp-property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.hp-property-image {
    position: relative;
    height: 225px;
    overflow: hidden;
    background: #e5e7eb;
}

.hp-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.hp-property-card:hover .hp-property-image img {
    transform: scale(1.04);
}

.hp-badge,
.hp-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15,23,42,0.85);
    color: #fff;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hp-featured-badge {
    left: auto;
    right: 12px;
    background: var(--accent);
}

.hp-property-body {
    padding: 16px;
}

.hp-property-price {
    font-size: 21px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.hp-property-body h3 {
    font-size: 17px;
    line-height: 1.35;
    color: #111827;
    margin-bottom: 8px;
}

.hp-property-loc {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 12px;
}

.hp-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hp-property-meta span {
    font-size: 12px;
    font-weight: 700;
    background: #f3f6fb;
    color: #334155;
    border-radius: 999px;
    padding: 7px 10px;
}

.hp-property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #eef2f7;
    font-size: 13px;
    color: var(--muted);
}

.hp-property-footer strong {
    color: var(--primary);
}

.empty-text {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    padding: 24px;
    color: var(--muted);
    grid-column: 1 / -1;
}

/* =========================
   STATS
========================= */
.hp-stats-section {
    margin-top: 40px;
}

.hp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.hp-stat-box {
    background: #fff;
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
    border: 1px solid #e8edf3;
    box-shadow: var(--shadow);
}

.hp-stat-box h3 {
    font-size: 34px;
    color: var(--primary);
    margin-bottom: 6px;
}

.hp-stat-box p {
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

/* =========================
   BOTTOM EXPLAINER
========================= */
.hp-bottom-explainer {
    margin-top: 42px;
    margin-bottom: 42px;
    background: #eef5ff;
    border-radius: 18px;
    padding: 34px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

.hp-bottom-left h2 {
    font-size: 32px;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 12px;
}

.hp-bottom-left p {
    color: #475569;
    max-width: 680px;
}

.hp-bottom-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.hp-bottom-links h4 {
    color: #111827;
    margin-bottom: 10px;
    font-size: 17px;
}

.hp-bottom-links li {
    margin-bottom: 8px;
}

.hp-bottom-links a {
    color: #334155;
    font-size: 14px;
}

.hp-bottom-links a:hover {
    color: var(--primary);
}

/* =========================
   FOOTER
========================= */
.site-footer {
    background: #0b1f45;
    color: rgba(255,255,255,0.88);
}

.footer-inner {
    padding: 52px 0 32px;
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 0.8fr 0.8fr;
    gap: 28px;
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
    margin-bottom: 12px;
}

.site-footer p,
.site-footer li {
    font-size: 14px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.78);
}

.site-footer a:hover {
    color: #cfe2ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.10);
    padding: 14px 0;
    text-align: center;
    font-size: 14px;
}

/* =========================
   MOBILE MENU SUPPORT
========================= */
@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-grid;
        place-items: center;
    }

    .main-nav.mobile-active {
        display: block;
        position: absolute;
        top: 84px;
        left: 4%;
        width: 92%;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 18px;
        box-shadow: var(--shadow-strong);
        padding: 14px;
    }

    .main-nav.mobile-active ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .main-nav.mobile-active > ul > li {
        width: 100%;
        border-bottom: 1px solid #eef2f7;
    }

    .main-nav.mobile-active > ul > li:last-child {
        border-bottom: none;
    }

    .main-nav.mobile-active > ul > li > a {
        padding: 14px 6px;
        width: 100%;
    }

    .main-nav.mobile-active .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border: none;
        padding: 0 0 10px 10px;
        min-width: 100%;
    }

    .main-nav.mobile-active .has-dropdown.open .dropdown {
        display: block;
    }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1150px) {
    .hp-home-top-content {
        grid-template-columns: 1fr;
    }

    .hp-demand-card {
        position: static;
    }

    .hp-property-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-bottom-explainer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .hp-quick-card-grid,
    .hp-contact-mini-grid,
    .hp-info-panels,
    .hp-bottom-links,
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-home-hero-content h1 {
        font-size: 38px;
    }

    .hp-property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .topbar-inner,
    .topbar-left,
    .topbar-right {
        justify-content: center;
        text-align: center;
    }

    .hp-home-hero {
        min-height: 350px;
    }

    .hp-home-hero-inner {
        padding: 50px 0 55px;
    }

    .hp-home-hero-content h1 {
        font-size: 30px;
    }

    .hp-home-hero-content p {
        font-size: 16px;
    }

    .hp-home-search-row input {
        font-size: 15px;
    }

    .hp-home-search-row button {
        width: 72px;
    }

    .hp-quick-card-grid,
    .hp-contact-mini-grid,
    .hp-info-panels,
    .hp-property-grid,
    .hp-stats-grid,
    .hp-bottom-links,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hp-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .hp-section-head h2,
    .hp-bottom-left h2 {
        font-size: 25px;
    }

    .hp-property-image {
        height: 220px;
    }

    .hp-bottom-explainer {
        padding: 24px;
    }

    .logo {
        min-width: auto;
    }
}

/* =========================
   RIGHT SIDEBAR
========================= */
.hp-home-sidebar {
    position: sticky;
    top: 100px;
}

.hp-sidebar-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}

.hp-sidebar-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #0f172a;
}

.hp-sidebar-card p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 14px;
}

.hp-sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-sidebar-form input,
.hp-sidebar-form textarea {
    width: 100%;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
}

.hp-sidebar-form input:focus,
.hp-sidebar-form textarea:focus {
    border-color: #1879f2;
    box-shadow: 0 0 0 3px rgba(24,121,242,0.1);
}

.hp-sidebar-form button {
    height: 42px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg,#1879f2,#3b82f6);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.hp-sidebar-form button:hover {
    background: linear-gradient(135deg,#0f5fc4,#2563eb);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .hp-home-sidebar {
        position: static;
        margin-top: 30px;
    }
}

.hp-home-top-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

@media (max-width: 992px) {
    .hp-home-top-content {
        grid-template-columns: 1fr;
    }
}
/* =========================
   ADVANCED RIGHT SIDEBAR
========================= */
.hp-home-sidebar {
    min-width: 0;
}

.hp-demand-card-advanced {
    background: #fff;
    border-radius: 18px;
    padding: 20px 18px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
    position: sticky;
    top: 100px;
}

.hp-demand-head {
    margin-bottom: 16px;
}

.hp-demand-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef5ff;
    color: #1879f2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hp-demand-card-advanced h3 {
    font-size: 24px;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 8px;
}

.hp-demand-card-advanced p {
    font-size: 14px;
    color: #64748b;
}

.hp-demand-form {
    display: block;
}

.hp-demand-row {
    margin-bottom: 12px;
}

.hp-demand-row input,
.hp-demand-row select,
.hp-demand-row textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    background: #fafafa;
    padding: 0 12px;
    font-size: 14px;
    color: #334155;
    outline: none;
    transition: 0.2s ease;
}

.hp-demand-row textarea {
    min-height: 96px;
    padding: 12px;
    resize: vertical;
}

.hp-demand-row input:focus,
.hp-demand-row select:focus,
.hp-demand-row textarea:focus {
    border-color: #1879f2;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(24,121,242,0.08);
}

.hp-demand-radio-row {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.hp-demand-radio-row label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.hp-demand-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.hp-demand-type-grid input {
    display: none;
}

.hp-demand-type-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    width: 100%;
    padding: 0 10px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #d1d5db;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    transition: 0.2s ease;
    text-align: center;
}

.hp-demand-type-grid input:checked + span {
    background: linear-gradient(135deg, #1879f2 0%, #3b82f6 100%);
    border-color: #1879f2;
    color: #fff;
    box-shadow: 0 8px 18px rgba(24,121,242,0.18);
}

.hp-demand-btn {
    width: 100%;
    min-height: 46px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #dc143c 0%, #ef4444 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.22s ease;
    margin-top: 4px;
}

.hp-demand-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #c01135 0%, #dc2626 100%);
}

.hp-sidebar-contact-box {
    margin-top: 16px;
    border-top: 1px solid #edf2f7;
    padding-top: 14px;
    display: grid;
    gap: 10px;
}

.hp-sidebar-contact-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hp-sidebar-contact-item strong {
    font-size: 13px;
    color: #111827;
}

.hp-sidebar-contact-item a,
.hp-sidebar-contact-item span {
    font-size: 13px;
    color: #64748b;
}

.hp-sidebar-contact-item a:hover {
    color: #1879f2;
}

@media (max-width: 1150px) {
    .hp-demand-card-advanced {
        position: static;
    }
}

@media (max-width: 640px) {
    .hp-demand-type-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================
   MULTI STEP SIDEBAR FORM
========================= */
.hp-form-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.hp-form-step {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #dbe4f0;
    background: #f8fafc;
    color: #64748b;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    transition: 0.2s ease;
}

.hp-form-step.active {
    background: linear-gradient(135deg, #1879f2 0%, #3b82f6 100%);
    border-color: #1879f2;
    color: #fff;
}

.hp-form-step-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    border-radius: 999px;
}

.hp-form-panel {
    display: none;
}

.hp-form-panel.active {
    display: block;
}

.hp-step-actions {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
}

.hp-step-actions-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hp-step-btn {
    min-height: 44px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.22s ease;
    padding: 0 16px;
}

.hp-step-next {
    min-width: 110px;
    background: linear-gradient(135deg, #1879f2 0%, #3b82f6 100%);
    color: #fff;
}

.hp-step-next:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #0f5fc4 0%, #2563eb 100%);
}

.hp-step-prev {
    background: #eef2f7;
    color: #334155;
    border: 1px solid #dbe4f0;
}

.hp-step-prev:hover {
    background: #e2e8f0;
}

.hp-step-actions-double .hp-demand-btn {
    margin-top: 0;
}

@media (max-width: 640px) {
    .hp-step-actions-double {
        grid-template-columns: 1fr;
    }
}

/* SIMPLE PROPERTY TYPE SELECTOR */
.hp-type-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.hp-type-simple input {
    display: none;
}

.hp-type-simple label {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #dbe4f0;
    cursor: pointer;
    font-weight: 600;
    color: #334155;
    transition: 0.2s;
}

/* ACTIVE STATE */
.hp-type-simple input:checked + span,
.hp-type-simple input:checked + label,
.hp-type-simple label:has(input:checked) {
    background: #1879f2;
    color: #fff;
    border-color: #1879f2;
}

.lead-success-alert {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 700;
}

/* =========================
   HOMEPAGE BANNERS
========================= */
.hp-banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.hp-banner-card {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.hp-banner-image {
    min-height: 260px;
    background: #e5e7eb;
}

.hp-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hp-banner-content {
    padding: 24px;
    display: grid;
    align-content: center;
    gap: 12px;
}

.hp-banner-content h3 {
    font-size: 24px;
    line-height: 1.25;
    color: #111827;
}

.hp-banner-content p {
    color: #64748b;
    line-height: 1.7;
    font-size: 14px;
}

.hp-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1879f2 0%, #3b82f6 100%);
    color: #fff;
    font-weight: 800;
    width: fit-content;
}

.hp-banner-btn:hover {
    background: linear-gradient(135deg, #0f5fc4 0%, #2563eb 100%);
}

@media (max-width: 1100px) {
    .hp-banner-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .hp-banner-card {
        grid-template-columns: 1fr;
    }

    .hp-banner-image {
        min-height: 220px;
    }

    .hp-banner-content {
        padding: 18px;
    }

    .hp-banner-content h3 {
        font-size: 21px;
    }
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
        width: 100%;
    }

    .main-nav.show {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }

    .has-dropdown:hover .dropdown {
        display: block;
    }
}