:root {
    --home-surface: #ffffff;
    --home-surface-soft: #f4f4f6;
    --home-border: rgba(15, 27, 45, 0.08);
    --home-shadow: 0 16px 40px rgba(15, 27, 45, 0.08);
    --home-shadow-soft: 0 10px 30px rgba(15, 27, 45, 0.06);
    --home-text-soft: #666d7d;
    --home-panel: rgba(255, 255, 255, 0.94);
    --home-panel-strong: rgba(255, 255, 255, 0.98);
    --home-panel-tint: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 247, 251, 0.96) 100%);
    --home-accent-soft: rgba(104, 44, 199, 0.08);
    --home-dark-panel: linear-gradient(135deg, #1d1d22 0%, #2b2340 100%);
    --home-warm-soft: rgba(201, 149, 42, 0.08);
    --home-cool-soft: rgba(56, 114, 255, 0.08);
    --home-violet-soft: rgba(104, 44, 199, 0.12);
    --home-violet-line: rgba(104, 44, 199, 0.28);
}

.home-page {
    background:
        radial-gradient(circle at 0% 0%, rgba(104, 44, 199, 0.12), transparent 18%),
        radial-gradient(circle at 88% 14%, rgba(56, 114, 255, 0.07), transparent 16%),
        radial-gradient(circle at 20% 55%, rgba(201, 149, 42, 0.06), transparent 22%),
        linear-gradient(180deg, #fafafc 0%, #f1f3f8 48%, #f7f7fb 100%);
}

.home-hero-section {
    position: relative;
    /*overflow: hidden;*/
    background:
        radial-gradient(circle at 12% 18%, rgba(104, 44, 199, 0.26), transparent 22%),
        radial-gradient(circle at 88% 14%, rgba(56, 114, 255, 0.16), transparent 18%),
        linear-gradient(135deg, #16171b 0%, #1d1d22 52%, #262132 100%);
}

.home-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 30%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

.home-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 24px;
}

.home-stats-section,
.home-section {
    padding: 40px 0;
}

.home-fluid-section {
    position: relative;
    overflow: hidden;
}

.home-fluid-section::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 1px solid rgba(15, 27, 45, 0.05);
    border-bottom: 1px solid rgba(15, 27, 45, 0.05);
    pointer-events: none;
}

.home-fluid-section > .home-shell {
    position: relative;
    z-index: 1;
    padding-top: 18px;
    padding-bottom: 18px;
}

.home-fluid-section-soft::before {
    background:
        radial-gradient(circle at 85% 10%, rgba(104, 44, 199, 0.09), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(248, 244, 252, 0.68) 100%);
}

.home-fluid-section-featured::before {
    background:
        radial-gradient(circle at 12% 15%, rgba(38, 38, 38, 0.04), transparent 20%),
        radial-gradient(circle at 88% 25%, rgba(104, 44, 199, 0.1), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.home-fluid-section-cool::before {
    background:
        radial-gradient(circle at 14% 18%, rgba(56, 114, 255, 0.07), transparent 18%),
        linear-gradient(180deg, rgba(245, 249, 255, 0.78) 0%, rgba(240, 245, 252, 0.62) 100%);
}

.home-fluid-section-dark::before {
    background:
        radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.05), transparent 18%),
        linear-gradient(135deg, #19191d 0%, #251f36 100%);
    border-top-color: rgba(255, 255, 255, 0.04);
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

.home-fluid-section-map::before {
    background:
        radial-gradient(circle at 82% 22%, rgba(56, 114, 255, 0.08), transparent 18%),
        radial-gradient(circle at 10% 65%, rgba(104, 44, 199, 0.09), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0%, rgba(245, 247, 251, 0.66) 100%);
}

.home-fluid-section-warm::before {
    background:
        radial-gradient(circle at 88% 16%, rgba(201, 149, 42, 0.1), transparent 20%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(252, 249, 242, 0.72) 100%);
}

.home-fluid-section-lead::before {
    background:
        radial-gradient(circle at 8% 24%, rgba(104, 44, 199, 0.12), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(247, 247, 250, 0.68) 100%);
}

.home-fluid-section-footer::before {
    background:
        radial-gradient(circle at 12% 18%, rgba(38, 38, 38, 0.05), transparent 20%),
        linear-gradient(180deg, rgba(245, 245, 248, 0.78) 0%, rgba(239, 241, 246, 0.86) 100%);
}

.home-compare-section {
    color: #ffffff;
}

.home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.home-section-kicker,
.home-hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--brand-primary);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding-left: 14px;
}
.home-hero-kicker{color: #ccc;}
.home-section-kicker::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-violet) 100%);
    transform: translateY(-50%);
}

.home-section-title,
.home-hero-title,
.frontend-section-title {
    color: #1a1d24;
    letter-spacing: -0.04em;
    line-height: 1.03;
    margin: 12px 0;
}

.home-section-title {
    max-width: 760px;
}

.home-hero-copy,
.home-hero-visual-card,
.home-compare-band,
.home-map-preview-card,
.home-lead-band,
.home-stat-card,
.home-location-card,
.home-project-card,
.home-intelligence-card,
.home-builder-card,
.home-empty-card{
    background: var(--home-panel);
    box-shadow: var(--home-shadow-soft);
}

.home-hero-copy {
    border-radius: 20px;
    padding: 34px 34px 24px;
    background:
        radial-gradient(circle at top left, rgba(104, 44, 199, 0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(56, 114, 255, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
}

.home-hero-copy-head {
    padding-bottom: 32px;
    text-align: center;
    margin: 0 auto;
}

.home-hero-title {
    font-size: clamp(2.4rem, 2.7vw, 4.6rem);
    margin: 16px 0 0 0;
    font-weight: 300;
    color: #f7f8fb;
}
.home-hero-search-input-row .primary.btn-lg{background: var(--brand-violet);}
.home-hero-search-input-row .primary.btn-lg:hover{background: var(--purple);}
.home-hero-subtitle {
    margin: 0 0 24px;
    display: block;
    color: rgba(232, 236, 244, 0.78);
    font-size: 1.1rem;
    line-height: 1.7;
}

.home-hero-search-form {
    margin: 0;
}

.home-hero-search-band {
    padding: 32px 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 38px rgba(0, 0, 0, 0.14);
    position: relative;
}

.home-hero-search-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(104, 44, 199, 0.08) 0%, transparent 24%, transparent 76%, rgba(56, 114, 255, 0.06) 100%);
    pointer-events: none;
}

.home-hero-search-shell {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    gap: 14px;
    padding: 0;
    background: transparent;
    align-items: end;
}

.home-hero-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(229, 233, 241, 0.74);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-hero-city-trigger,
.home-hero-search-input {
    width: 100%;
    min-height: 58px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 1);
    color: #333;
    font: inherit;
}

.home-hero-city-trigger {
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.home-hero-search-wrap {
    position: relative;
}

.home-hero-search-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.home-hero-search-input {
    padding: 0 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.home-hero-search-input::placeholder {
    color: rgba(229, 233, 241, 0.54);
    color:#666
}

.home-hero-search-input:focus,
.home-hero-city-trigger:focus-visible,
.home-hero-city-trigger:hover {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

.home-hero-search-btn.btn-lg {
    min-height: 58px;
    padding-inline: 24px;
    box-shadow: 0 14px 30px rgba(38, 38, 38, 0.16);
}

.home-hero-helper {
    margin-top: 14px;
    color: #8a91a2;
    font-size: 0.92rem;
}

.home-hero-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.home-hero-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(236, 239, 245, 0.86);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 8px 18px rgba(15, 27, 45, 0.03);
}

.home-hero-chip:hover,
.home-hero-chip:focus-visible {
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    outline: none;
}

.home-hero-visual-card {
    margin-top: 24px;
    border-radius: 20px;
    padding: 28px;
    background:
        radial-gradient(circle at top left, rgba(104, 44, 199, 0.18), transparent 28%),
        radial-gradient(circle at 85% 25%, rgba(56, 114, 255, 0.1), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(14px);
}

.home-hero-visual-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.home-hero-visual-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
}

.home-hero-visual-muted {
    color: rgba(229, 233, 241, 0.64);
    font-size: 0.92rem;
    font-weight: 600;
}

.home-hero-visual-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.home-hero-mini-card {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-hero-mini-label {
    color: rgba(229, 233, 241, 0.64);
    font-size: 0.88rem;
    font-weight: 600;
}

.home-hero-mini-value {
    margin-top: 8px;
    color: #f7f8fb;
    font-size: 1.2rem;
    font-weight: 700;
}

.home-hero-mini-value.positive {
    color: #0d9d54;
}

.home-hero-visual-footer {
    margin-top: 20px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
}

.home-hero-visual-quote {
    color: rgba(232, 236, 244, 0.72);
    line-height: 1.65;
    font-weight: 500;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-stat-card {
    position: relative;
    border-radius: 20px;
    padding: 24px 24px 22px;
    overflow: hidden;
    background: var(--home-panel-tint);
}

.home-stat-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-violet) 100%);
}

.home-stat-value {
    color: #1a1d24;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.home-stat-label {
    margin-top: 10px;
    color: #6d7586;
    font-size: 0.96rem;
    font-weight: 600;
}

.home-stats-grid .home-stat-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--brand-violet) 0%, #8a63d2 100%);
}

.home-stats-grid .home-stat-card:nth-child(3)::before {
    background: linear-gradient(90deg, #3872ff 0%, #6d98ff 100%);
}

.home-stats-grid .home-stat-card:nth-child(4)::before {
    background: linear-gradient(90deg, #c9952a 0%, #e2b04c 100%);
}

.home-section-link {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(15, 27, 45, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(15, 27, 45, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.home-location-grid,
.home-intelligence-grid,
.home-builder-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-featured-rail-wrap {
    position: relative;
}

.home-featured-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 16px) / 4);
    gap: 20px;
    overflow-x: auto;
    padding: 32px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.home-featured-rail::-webkit-scrollbar {
    display: none;
}

.home-featured-rail-nav {
    position: absolute;
    top: calc(50% - 24px);
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(15, 27, 45, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #1a1d24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(15, 27, 45, 0.1);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.home-featured-rail-nav:hover,
.home-featured-rail-nav:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(15, 27, 45, 0.16);
    border-color: rgba(38, 38, 38, 0.18);
    color: var(--brand-primary);
    outline: none;
}

.home-featured-rail-nav.is-left {
    left: -24px;
}

.home-featured-rail-nav.is-right {
    right: -24px;
}

.home-featured-rail-nav-icon {
    width: 18px;
    height: 18px;
}

.home-location-card,
.home-builder-card,
.home-empty-card {
    border-radius: 20px;
    padding: 24px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    background: var(--home-panel-tint);
    position: relative;
    overflow: hidden;
}

.home-location-card::before,
.home-builder-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, rgba(104, 44, 199, 0.5) 0%, rgba(38, 38, 38, 0.14) 100%);
}

.home-location-card::after,
.home-builder-card::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: 96px;
    height: 96px;
    border-radius: 999px;
    background: rgba(104, 44, 199, 0.08);
    pointer-events: none;
}

.home-location-card:hover,
.home-location-card:focus-visible,
.home-builder-card:hover,
.home-builder-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--home-shadow);
    border-color: rgba(104, 44, 199, 0.16);
    background: linear-gradient(180deg, #ffffff 0%, #faf8fd 100%);
    outline: none;
}

.home-location-title,
.home-builder-name {
    color: #1a1d24;
    font-size: 1.1rem;
    font-weight: 700;
}

.home-location-meta,
.home-location-stats,
.home-builder-meta,
.home-band-copy,
.home-intelligence-copy {
    color: #6d7586;
    line-height: 1.6;
}

.home-location-meta {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-location-stats {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-location-stats .positive {
    color: #0d9d54;
    font-weight: 700;
}

.home-location-stats .negative {
    color: #cf4040;
    font-weight: 700;
}

.home-project-card {
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(104, 44, 199, 0.06), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(250, 250, 253, 0.96) 100%);
    box-shadow: 0 18px 36px rgba(15, 27, 45, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid rgba(15, 27, 45, 0.08);
}

.home-project-card:hover,
.home-project-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(15, 27, 45, 0.12);
    border-color: rgba(104, 44, 199, 0.14);
}

.home-project-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #eceef3;
}

.home-project-card-media img,
.home-project-card-placeholder {
    width: 100%;
    height: 100%;
}

.home-project-card-media img {
    object-fit: cover;
    transition: transform 0.26s ease;
}

.home-project-card:hover .home-project-card-media img {
    transform: scale(1.03);
}

.home-project-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.home-project-status,
.home-project-growth {
    position: absolute;
    top: 16px;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(15, 27, 45, 0.12);
}

.home-project-status {
    left: 16px;
}

.home-project-growth {
    right: 16px;
    padding:2px 8px; background: #fff; border-radius: 25px;
}

.home-project-sold-out-badge {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15, 27, 45, 0.12);
}

.home-project-growth.positive {
    color: #0d9d54;
}

.home-project-growth.negative {
    color: #cf4040;
}

.home-project-card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    min-height: 272px;
    position: relative;
}

.home-project-card-body::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(104, 44, 199, 0.24) 0%, rgba(15, 27, 45, 0.04) 100%);
}

.home-project-card-title {
    color: #1a1d24;
    font-size: 1.28rem;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}

.home-project-card-builder,
.home-project-card-location,
.home-project-card-psf,
.home-project-card-config {
    color: #71788a;
}

.home-project-card-builder {
    margin-top: 8px;
    font-size: 0.9rem;
}

.home-project-card-location {
    margin-top: 4px;
}

.home-project-card-price {
    color: #1f2430;
    font-size: 1.1rem;
    line-height: 1.1;
    font-weight: 800;
}

.home-project-card-price.is-muted {
    color: #676f80;
}

.home-project-card-psf {
    margin-top: 8px;
}

.home-project-card-config {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #596273;
    margin-top: 12px;
}

.home-project-bhk-pills {
    display: inline-flex;
}

.home-project-bhk-pill {
    padding-inline: 4px;
}

.home-project-bhk-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #7d8598;
    text-transform: uppercase;
}

.home-project-card-cta.btn-lg {
    width: 100%;
}

.home-intelligence-card {
    border-radius: 20px;
    padding: 28px 24px;
    background:
        radial-gradient(circle at top left, rgba(104, 44, 199, 0.1), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 248, 252, 0.97) 100%);
}

.home-intelligence-grid .home-intelligence-card:nth-child(2) {
    background:
        radial-gradient(circle at top left, rgba(201, 149, 42, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(252, 249, 243, 0.97) 100%);
}

.home-intelligence-grid .home-intelligence-card:nth-child(3) {
    background:
        radial-gradient(circle at top left, rgba(56, 114, 255, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(244, 248, 255, 0.97) 100%);
}

.home-intelligence-grid .home-intelligence-card:nth-child(4) {
    background:
        radial-gradient(circle at top left, rgba(201, 68, 68, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 246, 246, 0.97) 100%);
}

.home-intelligence-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(38, 38, 38, 0.08) 0%, rgba(104, 44, 199, 0.24) 100%);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(104, 44, 199, 0.14);
}

.home-intelligence-icon {
    width: 24px;
    height: 24px;
}

.home-intelligence-title {
    margin: 18px 0 8px;
    color: #1a1d24;
    font-size: 1.1rem;
    font-weight: 700;
}

.home-compare-band,
.home-lead-band,
.home-map-preview-card {
    border-radius: 20px;
    padding: 28px 30px;
}

.home-compare-band,
.home-lead-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.home-compare-band {
    background: var(--home-dark-panel);
    border-color: rgba(104, 44, 199, 0.18);
    box-shadow: 0 28px 50px rgba(23, 23, 29, 0.18);
    position: relative;
    overflow: hidden;
}

.home-compare-band::before {
    content: "";
    position: absolute;
    inset: auto -80px -80px auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.home-compare-section .home-section-kicker,
.home-compare-section .home-section-title {
    color: #ffffff;
    
}

.home-compare-section .home-section-kicker {
    opacity: 0.78;
}

.home-compare-section .home-band-copy {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.76);
}

.home-builder-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.home-builder-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    /*border-radius: 20px;
    border: 1px solid rgba(15, 27, 45, 0.08);
    background: #ffffff;
    padding: 10px;
    box-shadow: 0 10px 24px rgba(15, 27, 45, 0.06);*/
}

.home-builder-logo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    font-size: 1.3rem;
    font-weight: 800;
    background: rgba(104, 44, 199, 0.1);
}

.home-lead-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-lead-band {
    background:
        radial-gradient(circle at top right, rgba(104, 44, 199, 0.08), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(246, 246, 250, 0.97) 100%);
    border-color: rgba(104, 44, 199, 0.08);
    box-shadow: 0 22px 44px rgba(15, 27, 45, 0.08);
}

.home-seo-section {
    padding: 32px 0 44px;
    background: radial-gradient(circle at 12% 18%, rgba(104, 44, 199, 0.26), transparent 22%),
        radial-gradient(circle at 88% 14%, rgba(56, 114, 255, 0.16), transparent 18%),
        linear-gradient(135deg, #16171b 0%, #1d1d22 52%, #262132 100%)
}

.home-seo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}


.home-seo-title {
    margin: 0 0 24px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.home-seo-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.home-seo-links a {
    color: #eee;
    text-decoration: none;
    font-size: 0.96rem;
}

.home-seo-links a:hover,
.home-seo-links a:focus-visible,
.home-section-link:hover,
.home-section-link:focus-visible,
.home-project-card-title:hover,
.home-project-card-title:focus-visible {
    color: var(--brand-violet);
    outline: none;
}

.home-section-link:hover,
.home-section-link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 27, 45, 0.08);
    border-color: rgba(38, 38, 38, 0.16);
}

.home-empty-card {
    color: #6d7586;
    line-height: 1.6;
    min-height: 180px;
    display: flex;
    align-items: center;
}

.home-hero-autocomplete {
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
}

@media (max-width: 1200px) {
    .home-featured-rail {
        grid-auto-columns: calc((100% - 20px) / 2);
    }

    .home-location-grid,
    .home-intelligence-grid,
    .home-builder-grid,
    .home-seo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-shell {
        padding: 0 16px;
    }

    .home-stats-section,
    .home-section {
        padding: 32px 0;
    }

    .home-hero-copy,
    .home-hero-visual-card,
    .home-compare-band,
    .home-lead-band,
    .home-seo-block,
    .home-stat-card {
        border-radius: 20px;
    }

    .home-hero-copy,
    .home-hero-visual-card {
        padding: 24px 20px;
    }

    .home-hero-search-shell {
        grid-template-columns: 1fr;
    }

    .home-hero-search-input-row {
        grid-template-columns: 1fr;
    }

    .home-section-head,
    .home-compare-band,
    .home-lead-band {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-location-grid,
    .home-intelligence-grid,
    .home-builder-grid,
    .home-seo-grid,
    .home-stats-grid,
    .home-hero-visual-metrics {
        grid-template-columns: 1fr;
    }

    .home-featured-rail {
        grid-auto-columns: minmax(84vw, 84vw);
        gap: 16px;
        padding-inline: 0;
    }

    .home-featured-rail-nav {
        display: none;
    }

    .home-fluid-section > .home-shell {
        padding-top: 12px;
        padding-bottom: 12px;
    }

}
