.locality-seo-hero {
    padding: 145px 0 80px;
    background: linear-gradient(120deg, rgba(5, 14, 26, .94), rgba(10, 25, 47, .78)), var(--primary-navy);
    color: #fff
}

.locality-seo-hero .eyebrow {
    color: #d8e0e8
}

.locality-seo-hero h1 {
    font: 700 clamp(42px, 6vw, 50px)/1.05 'Playfair Display', serif;
    margin: 14px 0 18px;
    max-width: 900px
}

.locality-seo-hero .intro {
    max-width: 850px;
    color: #d8e0e8;
    font-size: 18px;
    margin: 0
}

.locality-breadcrumb {
    font-size: 12px;
    color: #b8c2ce;
    margin-bottom: 22px
}

.locality-breadcrumb a {
    color: #fff
}

.seo-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 30px;
    align-items: start
}

.seo-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(5, 14, 26, .05)
}

.seo-card h2 {
    font: 700 32px/1.2 'Playfair Display', serif;
    margin: 0 0 14px
}

.seo-card h3 {
    font-size: 20px;
    margin: 28px 0 8px
}

.seo-card p {
    color: var(--muted);
    margin: 0 0 14px
}

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

.type-card {
    background: var(--soft-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px
}

.type-card h3 {
    /* font: 700 22px 'Playfair Display', serif; */
    margin: 0 0 8px
}

.type-card p {
    color: var(--muted);
    margin: 0
}

.guidance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.seo-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 11px;
    color: #475569
}

.seo-sidebar {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 100px;
    align-self: start;
    height: fit-content;
}

.seo-cta {
    background: var(--primary-navy);
    color: #fff;
    border-radius: 18px;
    padding: 30px
}

.seo-cta h2 {
    font: 700 30px 'Playfair Display', serif;
    margin: 0 0 10px
}

.seo-cta p {
    color: #d8e0e8
}

.seo-cta .btn-outline {
    border-color: #fff;
    color: #fff;
    margin-top: 10px
}

.locality-image {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4/3
}

.locality-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.faq-list {
    display: grid;
    gap: 12px
}

.faq {
    margin: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden
}

.faq button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 22px;
    background: #fff;
    border: 0;
    text-align: left;
    font-weight: 700;
    color: var(--primary-navy)
}

.faq button span {
    font-size: 22px;
    line-height: 1
}

.faq-answer {
    padding: 0 22px 20px;
    color: var(--muted)
}

.faq-answer p {
    margin: 0
}

.sister-links {
    display: grid;
    gap: 8px
}

.sister-links a {
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--primary-navy);
    font-weight: 600
}

.sister-links a:hover {
    background: var(--soft-bg)
}

.locality-cta-section {
    background: var(--soft-bg)
}

.footer-disclaimer {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-size: 11px
}

.footer-disclaimer strong {
    color: #cbd5e1
}

@media(max-width:900px) {
    .seo-layout {
        grid-template-columns: 1fr
    }

    .seo-sidebar {
        position: static;
        top: auto;
    }

    .property-type-grid,
    .guidance-grid {
        grid-template-columns: 1fr
    }

    .locality-seo-hero {
        padding-top: 125px
    }
}

@media(max-width:600px) {
    .locality-seo-hero {
        padding: 115px 0 60px
    }

    .locality-seo-hero h1 {
        font-size: 42px
    }

    .locality-seo-hero .intro {
        font-size: 16px
    }

    .seo-card,
    .seo-cta {
        padding: 22px
    }

    .seo-card h2 {
        font-size: 28px
    }

    .locality-image {
        aspect-ratio: 16/10
    }
}

/* Sticky SEO sidebar: stays visible while the SEO content scrolls and
   naturally stops at the end of this section, before "Explore Other Riya Buildestate Projects". */
.seo-layout > .seo-sidebar {
    align-self: start;
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    height: fit-content;
}

@media (max-width: 900px) {
    .seo-layout > .seo-sidebar {
        position: static;
        top: auto;
    }
}
