/* ===== Shared design for the NRI pages (nri-corner, real-estate-properties-for-nris) =====
   Uses the site theme: font from style.css, colours #0c0b0b -> #625651, grey #f2f2f2, square buttons. */
.nri-page {
    /* Site theme colours (style.css: popup panel gradient #0c0b0b -> #625651, light grey #f2f2f2) */
    --nri-ink: #0c0b0b;
    --nri-dark: #0c0b0b;
    --nri-accent: #625651;
    --nri-accent-light: #d6ccc5;
    --nri-gradient: linear-gradient(135deg, #0c0b0b, #625651);
    --nri-muted: #555;
    --nri-line: #e2e2e2;
    --nri-soft: #f2f2f2;
    color: var(--nri-ink);
    overflow-x: clip;
}
.nri-page section { padding: 56px 0; }
.nri-page .nri-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--nri-accent);
    margin-bottom: 12px;
}
.nri-hero .nri-eyebrow, .nri-story .nri-eyebrow, .nri-cta-side .nri-eyebrow { color: var(--nri-accent-light); }
.nri-page h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}
.nri-page .nri-lead { font-size: 1.05rem; line-height: 1.75; color: var(--nri-muted); }
.nri-page .nri-head { max-width: 820px; margin: 0 auto 40px; text-align: center; }

.nri-page .nri-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 0;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .03em;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.nri-page .nri-btn:hover { transform: translateY(-2px); }
.nri-page .nri-btn-primary { background: #fff; color: #000; }
.nri-page .nri-btn-primary:hover { background: #000; color: #fff; border-color: #fff; }
.nri-page .nri-btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.nri-page .nri-btn-ghost:hover { background: #fff; color: var(--nri-ink); }

/* Hero */
.nri-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--nri-dark);
    padding: 0 !important;
}
.nri-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: 72% center;
}
.nri-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(0, 0, 0, .94) 30%, rgba(0, 0, 0, .35) 75%, rgba(0, 0, 0, .15) 100%);
}
.nri-hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: 32px; }
.nri-hero h1 {
    font-size: clamp(2.1rem, 5.4vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 18px;
    max-width: 640px;
}
.nri-hero h1 span { color: var(--nri-accent-light); }
.nri-hero-text { font-size: 1rem; line-height: 1.75; color: rgba(255, 255, 255, .85); max-width: 640px; margin-bottom: 26px; }
.nri-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.nri-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding-top: 22px;
    gap: 12px;
    max-width: 720px;
}
.nri-hero-stats strong { display: block; font-size: clamp(1.05rem, 2.6vw, 1.75rem); font-weight: 700; color: #fff; white-space: nowrap; }
.nri-hero-stats span { font-size: 12px; color: rgba(255, 255, 255, .7); line-height: 1.4; display: block; margin-top: 4px; }

/* Intro */
.nri-highlight {
    background: var(--nri-gradient);
    color: #fff;
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}
.nri-highlight::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 28px solid rgba(255, 255, 255, .1);
}
.nri-highlight .big { font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 700; line-height: 1; color: #fff; }
.nri-highlight p { color: rgba(255, 255, 255, .8); margin: 12px 0 0; line-height: 1.6; }

/* Growth */
.nri-growth { background: var(--nri-soft); }
.nri-growth-img { border-radius: 20px; width: 100%; box-shadow: 0 24px 48px rgba(0, 0, 0, .18); }
.nri-stat-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--nri-line);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 14px;
}
.nri-stat-row .num {
    flex: 0 0 auto;
    min-width: 92px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--nri-accent);
    line-height: 1.2;
}
.nri-stat-row p { margin: 0; color: #333; line-height: 1.6; font-size: .95rem; }

/* Growth story (dark band) */
.nri-story { background: var(--nri-gradient); color: #fff; }
.nri-story .nri-lead { color: rgba(255, 255, 255, .75); }
.nri-story-card {
    height: 100%;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 26px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01));
    transition: border-color .2s ease, transform .2s ease;
}
.nri-story-card:hover { border-color: var(--nri-accent-light); transform: translateY(-4px); }
.nri-story-card .num { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; color: #fff; line-height: 1.15; white-space: nowrap; }
.nri-story-card .label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--nri-accent-light); margin: 6px 0 12px; }
.nri-story-card p { margin: 0; color: rgba(255, 255, 255, .82); line-height: 1.65; font-size: .95rem; }

/* Projects */
.nri-projects-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nri-project {
    position: relative;
    background: #fff;
    border: 1px solid var(--nri-line);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s ease, transform .25s ease;
}
.nri-project:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, .12); transform: translateY(-4px); }
.nri-project-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--nri-soft); }
.nri-project-img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s ease; }
.nri-project:hover .nri-project-img img { transform: scale(1.05); }
.nri-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.nri-badge { background: #000000b3; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 5px 10px; border-radius: 5px; }   /* same as the site's .on-request badge */
.nri-badge.light { background: #fff; color: #000; }
.nri-project-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.nri-project-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.nri-project-body h3 a { color: inherit; text-decoration: none; }
.nri-project-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* whole card clickable */
.nri-project-loc { color: var(--nri-muted); font-size: .9rem; margin-bottom: 14px; }
.nri-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.nri-chip { background: var(--nri-soft); color: #333; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; }
.nri-project-actions { display: flex; gap: 10px; margin-top: auto; position: relative; z-index: 2; }
.nri-project-actions .btn { flex: 1; border-radius: 0; font-size: 13px; font-weight: 600; padding: 10px 12px; }

/* Why invest */
.nri-why-img { position: relative; }
.nri-why-img img { width: 100%; border-radius: 20px; object-fit: cover; aspect-ratio: 4 / 3; height: auto; }
.nri-why-img .tag {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nri-why-img .tag i { color: var(--nri-accent); font-size: 1.3rem; }
.nri-why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.nri-why-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border: 1px solid var(--nri-line);
    border-radius: 14px;
    font-weight: 500;
    line-height: 1.45;
    background: #fff;
}
.nri-why-item i {
    flex: 0 0 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--nri-gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.nri-page .nri-why a { color: var(--nri-accent); font-weight: 600; }

/* FAQ */
.nri-faq { background: var(--nri-soft); }
.nri-faq .accordion { max-width: 880px; margin: 0 auto; }
.nri-faq .accordion-item { border: 1px solid var(--nri-line); border-radius: 14px !important; overflow: hidden; margin-bottom: 12px; background: #fff; }
.nri-faq .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    padding: 20px 22px;
    color: var(--nri-ink);
    background: #fff;
    box-shadow: none;
    text-transform: none;
}
.nri-faq .accordion-button:not(.collapsed) { color: var(--nri-ink); background: #fff; box-shadow: inset 4px 0 0 var(--nri-accent); }
.nri-faq .accordion-button:focus { box-shadow: inset 4px 0 0 var(--nri-accent); }
.nri-faq .accordion-body { padding: 0 22px 22px; color: var(--nri-muted); line-height: 1.75; }
.nri-faq .accordion-body ul { margin: 0; padding-left: 20px; }

/* Enquiry */
.nri-cta-card { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .12); background: #fff; }
.nri-cta-side {
    background: var(--nri-gradient);
    color: #fff;
    padding: 40px 32px;
    height: 100%;
}
.nri-cta-side h2 { color: #fff; }
.nri-cta-side p { color: rgba(255, 255, 255, .8); line-height: 1.7; }
.nri-cta-contact { list-style: none; padding: 0; margin: 28px 0 0; }
.nri-cta-contact li { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; color: rgba(255, 255, 255, .9); }
.nri-cta-contact i { color: var(--nri-accent-light); font-size: 1.1rem; }
.nri-cta-contact a { color: #fff; text-decoration: none; }
.nri-form { padding: 36px 32px; }
.nri-form .form-label { font-weight: 600; font-size: 14px; color: #333; }
.nri-form .form-control { border-radius: 6px; padding: 12px 14px; background: #fff; border: 1px solid #ccc; }
.nri-form .form-control:focus { border-color: var(--nri-accent); box-shadow: 0 0 0 3px rgba(98, 86, 81, .15); background: #fff; }
.nri-form .mb-3 { margin-bottom: 0 !important; }
.nri-form .checkbox-container { display: flex; gap: 10px; align-items: center; margin: 18px 0; font-size: 14px; }
.nri-form .checkbox-container a { color: var(--nri-accent); font-weight: 600; }
.nri-form .submit-btn {
    width: 100%;
    border: 0;
    border-radius: 0;
    padding: 15px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: linear-gradient(to right, #000, #332d2d);   /* theme .btn-gradient */
    color: #fff;
    transition: background-color .2s ease;
}
.nri-form .submit-btn:not(:disabled):hover { background: var(--nri-gradient); }
.nri-form .submit-btn:disabled { opacity: .45; cursor: not-allowed; }

/* Tablet */
@media (max-width: 991.98px) {
    .nri-projects-track { grid-template-columns: repeat(2, 1fr); }
}

/* Phone */
@media (max-width: 767.98px) {
    .nri-page section { padding: 44px 0; }
    .nri-hero { min-height: 92vh; }
    .nri-hero::before { background: linear-gradient(0deg, rgba(0, 0, 0, .95) 45%, rgba(0, 0, 0, .6) 80%, rgba(0, 0, 0, .45) 100%); }
    .nri-hero-inner { padding-top: 100px; }
    .nri-hero-text { font-size: .95rem; }
    .nri-hero-actions .nri-btn { flex: 1 1 100%; justify-content: center; padding: 14px 16px; }
    .nri-hero-stats { gap: 8px; }
    .nri-hero-stats strong { font-size: 1.05rem; }
    .nri-hero-stats span { font-size: 11px; }
    .nri-page .nri-head { margin-bottom: 28px; text-align: left; }
    .nri-stat-row { flex-direction: column; gap: 6px; }
    .nri-why-list { grid-template-columns: 1fr; }
    /* projects: swipe sideways instead of a long list */
    .nri-projects-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 14px;
        padding: 4px 16px 16px;
        margin: 0 -16px;
        scrollbar-width: none;
    }
    .nri-projects-track::-webkit-scrollbar { display: none; }
    .nri-project { flex: 0 0 84%; scroll-snap-align: start; }
    .nri-swipe-hint { display: block !important; }
    .nri-cta-side, .nri-form { padding: 28px 22px; }
}

/* Desktop */
@media (min-width: 992px) {
    .nri-page section { padding: 96px 0; }
    .nri-hero { align-items: center; }
    .nri-hero::before {
        background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .65) 42%, rgba(0, 0, 0, .1) 78%);
    }
    .nri-hero-inner { padding-top: 150px; padding-bottom: 70px; }
    .nri-highlight { padding: 44px; }
}

/* ===== Properties for NRIs page ===== */

/* Hero without the stats row: a little shorter */
.nri-hero.is-compact { min-height: 72vh; }


/* Filter bar */
.nri-filter {
    background: var(--nri-soft);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 18px;
}
.nri-filter .form-select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 15px;
}
.nri-filter .form-select:focus { border-color: var(--nri-accent); box-shadow: 0 0 0 3px rgba(98, 86, 81, .15); }
.nri-filter .btn { border-radius: 0; height: 100%; min-height: 48px; font-weight: 600; text-transform: uppercase; font-size: 13px; }
.nri-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--nri-muted); font-size: 14px; }
.nri-results-bar button { background: none; border: 0; color: var(--nri-accent); font-weight: 600; text-decoration: underline; padding: 0; }

/* Listing: always a grid (1 column on phones), so filtered results read top to bottom */
.nri-projects-track.is-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nri-rera { font-size: 11px; color: var(--nri-muted); margin-bottom: 10px; word-break: break-word; }
.nri-price { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--nri-line); padding-top: 14px; margin-bottom: 16px; }
.nri-price span { display: block; font-size: 12px; color: var(--nri-muted); text-transform: uppercase; letter-spacing: .06em; }
.nri-price strong { font-size: 1.15rem; }
.nri-empty { text-align: center; padding: 48px 16px; border: 1px dashed #ccc; border-radius: 16px; color: var(--nri-muted); }

@media (max-width: 991.98px) {
    .nri-projects-track.is-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
    .nri-projects-track.is-grid { display: grid; grid-template-columns: 1fr; overflow: visible; margin: 0; padding: 0; gap: 18px; }
    .nri-projects-track.is-grid .nri-project { flex: none; }
}

/* SEO text block: intentionally compact and small (same sizes as the original page) */
.nri-page section.nri-seo { background: var(--nri-soft); padding: 32px 0; }
.nri-seo h2 { font-size: 14px; font-weight: 700; margin: 18px 0 8px; }
.nri-seo h2:first-child { margin-top: 0; }
.nri-seo h3, .nri-seo h4 { font-size: 13px; font-weight: 700; margin: 14px 0 6px; }
.nri-seo p { font-size: 13px; line-height: 1.6; color: #555; margin-bottom: 8px; }
.nri-seo h3 + p { font-size: 12px; }
.nri-seo ul { font-size: 12px; line-height: 1.6; color: #555; padding-left: 18px; margin-bottom: 8px; }
.nri-seo li { margin-bottom: 8px; }
.nri-seo b { color: #222; }

/* Compact hero (Properties for NRIs): the photo's edges are near-black navy, so on wide screens the WHOLE photo
   is shown on the right (no zoom/crop) and the rest of the banner is filled with the same colour. */
.nri-hero.is-compact { background: #020711; }
.nri-hero.is-compact .nri-hero-bg { object-position: 62% center; }
@media (min-width: 992px) {
    .nri-hero.is-compact .nri-hero-bg { object-fit: contain; object-position: right center; }
    .nri-hero.is-compact::before { background: linear-gradient(90deg, rgba(2, 7, 17, .96) 0%, rgba(2, 7, 17, .75) 40%, rgba(2, 7, 17, 0) 70%); }
}

/* Smooth scroll for the hero's "View Projects" / "Schedule a Call Back" links, and leave room for the header */
html { scroll-behavior: smooth; }
#nri-listings, #nri-projects, #nri-enquiry, #sale-cities { scroll-margin-top: 90px; }

/* Compact hero on phones/tablets: whole photo on top (no crop), text underneath on the same dark colour */
@media (max-width: 991.98px) {
    .nri-hero.is-compact { min-height: 0; display: block; padding-top: 82px !important; }   /* starts below the fixed 82px top bar */
    .nri-hero.is-compact::before { display: none; }
    .nri-hero.is-compact .nri-hero-bg {
        position: relative;
        display: block;
        height: auto !important;
        aspect-ratio: 1280 / 867;
        object-fit: cover;
    }
    .nri-hero.is-compact .nri-hero-inner { padding-top: 8px; padding-bottom: 40px; }
}

/* NRI Corner hero: same height as the Properties for NRIs hero (72vh on desktop).
   Heading on one line, wider paragraph and tighter spacing so all its text still fits. */
@media (min-width: 992px) {
    .nri-hero:not(.is-compact) { min-height: 72vh; }
    .nri-hero:not(.is-compact) h1 { max-width: none; }
    .nri-hero:not(.is-compact) .nri-hero-text { max-width: 820px; }
    .nri-hero:not(.is-compact) .nri-hero-actions { margin-bottom: 26px; }
    .nri-hero:not(.is-compact) .nri-hero-stats { padding-top: 16px; }
    .nri-hero:not(.is-compact) .nri-hero-inner { padding-top: 122px; padding-bottom: 42px; }
}
/* Phones: sized by its content (close to the Properties hero) */
@media (max-width: 767.98px) {
    .nri-hero:not(.is-compact) { min-height: 0; }
}

/* ===== Properties for Sale in India page ===== */
.nri-page .sale-btn-dark { background: #000; color: #fff; }
.nri-page .sale-btn-dark:hover { background: var(--nri-accent); color: #fff; }

/* Developer logos strip (scrolling animation comes from style.css .scroll-content) */
.nri-page section.sale-devs { background: var(--nri-soft); }
.sale-devs-strip { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sale-devs .round-img-c { display: block; width: 120px; height: 120px; margin: 10px 0; background: #fff; border-radius: 50%; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.sale-devs .round-img-c img { width: 100%; height: 100% !important; object-fit: contain; padding: 10px; border: 1px solid var(--nri-line); }

/* Cities */
.sale-city { padding: 32px 0; border-top: 1px solid var(--nri-line); }
.sale-city:first-of-type { border-top: 0; padding-top: 0; }
.nri-page .sale-city-title { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 14px; }
.sale-city-title span { color: var(--nri-accent); }
.sale-city-links { list-style: none; padding: 0; margin: 0; }
.sale-city-links li { border-bottom: 1px solid var(--nri-line); }
.sale-city-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; color: var(--nri-ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.sale-city-links a:hover { color: var(--nri-accent); }

/* Overlay cards: photo with title + text on a dark fade */
.sale-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sale-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    overflow: hidden;
    background: var(--nri-dark);
    color: #fff;
    text-decoration: none;
}
.sale-card img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s ease; }
.sale-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 11, 11, .92) 0%, rgba(12, 11, 11, .35) 45%, rgba(12, 11, 11, 0) 70%); }
.sale-card:hover img { transform: scale(1.06); }
.sale-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px; display: block; }
.sale-card-title { display: block; font-size: 1.15rem; font-weight: 700; letter-spacing: .06em; margin-bottom: 6px; }
.sale-card-text { display: block; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .85); padding-right: 44px; }
.sale-card-go {
    position: absolute;
    right: 18px;
    bottom: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease, color .2s ease;
}
.sale-card:hover .sale-card-go { background: var(--nri-accent); color: #fff; }

/* SEO block: 12px paragraphs where the original had them */
.nri-seo p.small-12 { font-size: 12px; }

@media (max-width: 767.98px) {
    .sale-city { padding: 24px 0; }
    /* phones: swipe the cards sideways */
    .sale-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
    .sale-cards::-webkit-scrollbar { display: none; }
    .sale-card { flex: 0 0 72%; scroll-snap-align: start; }
    .sale-cards:has(> :only-child) .sale-card { flex-basis: 100%; aspect-ratio: 16 / 11; }
}

/* Hero over a bright photo (light sky): darker overlay so the text stays readable */
.nri-hero.is-bright::before { background: linear-gradient(0deg, rgba(12, 11, 11, .95) 35%, rgba(12, 11, 11, .6) 100%); }
@media (min-width: 992px) {
    .nri-hero.is-bright::before { background: linear-gradient(90deg, rgba(12, 11, 11, .92) 0%, rgba(12, 11, 11, .8) 45%, rgba(12, 11, 11, .35) 80%, rgba(12, 11, 11, .2) 100%); }
}

/* Properties for Sale: tablets get a shorter hero (the text is short, so 88vh left a big empty area) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .nri-hero.is-bright { min-height: 56vh; }
}
/* Phones: smaller developer logos so more fit on screen */
@media (max-width: 575.98px) {
    .sale-devs .round-img-c { width: 88px; height: 88px; }
    .sale-devs .round-img-c img { padding: 8px; }
}

/* ===== Properties for Lease page ===== */
.nri-page section.lease-intro { background: var(--nri-soft); }
.lease-cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.lease-cities span { background: #fff; border: 1px solid var(--nri-line); padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.lease-cities i { color: var(--nri-accent); }
.lease-jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
.lease-jump-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--nri-gradient);
    color: #fff;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: transform .2s ease;
}
.lease-jump-item:hover { color: #fff; transform: translateY(-3px); }
.lease-jump-item i:first-child { font-size: 1.4rem; color: var(--nri-accent-light); }
.lease-jump-item i:last-child { margin-left: auto; font-size: 1.4rem; }

.lease-space { padding: 36px 0; border-top: 1px solid var(--nri-line); scroll-margin-top: 90px; }
.lease-space:first-child { border-top: 0; padding-top: 0; }
.lease-space-img { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 48px rgba(0, 0, 0, .14); }
.lease-space-img img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; height: auto; transition: transform .6s ease; }
.lease-space-img:hover img { transform: scale(1.04); }
.lease-space-num {
    position: absolute;
    left: 18px;
    top: 18px;
    background: rgba(12, 11, 11, .78);
    color: #fff;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
}
#lease-spaces { scroll-margin-top: 90px; }

@media (max-width: 767.98px) {
    .lease-cities { justify-content: flex-start; margin-bottom: 24px; }
    .lease-jump { grid-template-columns: 1fr; }
    .lease-space { padding: 28px 0; }
    .lease-space .nri-btn { width: 100%; justify-content: center; }
}

/* "Split" hero (Properties for Lease): text on a dark side, photo clearly visible on the other half */
.nri-hero.is-split { background: var(--nri-dark); }
.nri-hero.is-split .nri-hero-bg { filter: brightness(1.35) contrast(1.05); }   /* the photo file itself is pre-darkened */
@media (min-width: 992px) {
    .nri-hero.is-split::before { background: linear-gradient(90deg, rgba(12, 11, 11, .9) 0%, rgba(12, 11, 11, .72) 35%, rgba(12, 11, 11, .25) 55%, rgba(12, 11, 11, 0) 70%); }
    .nri-hero.is-split .nri-hero-bg { object-position: 70% center; }
}
/* Phones/tablets: clear photo on top, text underneath on dark */
@media (max-width: 991.98px) {
    .nri-hero.is-split { min-height: 0; display: block; padding-top: 82px !important; }   /* below the fixed 82px top bar */
    .nri-hero.is-split::before { display: none; }
    .nri-hero.is-split .nri-hero-bg {
        position: relative;
        display: block;
        height: auto !important;
        aspect-ratio: 16 / 10;
        max-height: 60vh;               /* phones held sideways: keep the text close */
        width: 100%;
        object-fit: cover;
        object-position: 72% center;
    }
    .nri-hero.is-split .nri-hero-inner { padding-top: 24px; padding-bottom: 40px; }
}
