.nh-page {
    --nh-navy: #102e55;
    --nh-navy-deep: #081b33;
    --nh-gold: #d3a653;
    --nh-gold-light: #f2ddae;
    --nh-ink: #17263a;
    --nh-muted: #64748b;
    --nh-bg: #f5f7fa;
    --nh-line: #e3e9f0;
    background: var(--nh-bg);
    color: var(--nh-ink);
}

.nh-page *,
.nh-page *::before,
.nh-page *::after {
    box-sizing: border-box;
}

.nh-hero {
    min-height: 680px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0a1e38 url("../img/projects/nirmal-heights/hero-gate-night.webp") center 42% / cover no-repeat;
}

.nh-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 19, 38, 0.92) 0%, rgba(5, 19, 38, 0.68) 48%, rgba(5, 19, 38, 0.2) 100%),
        linear-gradient(0deg, rgba(5, 19, 38, 0.88) 0%, rgba(5, 19, 38, 0) 52%);
}

.nh-hero-inner {
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 90px 0 62px;
}

.nh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--nh-gold-light);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nh-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--nh-gold);
}

.nh-hero h1 {
    max-width: 100%;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.nh-hero-copy {
    max-width: 650px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
    line-height: 1.65;
}

.nh-hero-location {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.nh-hero-actions,
.nh-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nh-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    line-height: 1.2;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.nh-btn:hover {
    transform: translateY(-2px);
}

.nh-btn-primary {
    background: var(--nh-gold);
    color: #0a1e38;
}

.nh-btn-primary:hover {
    background: #e2b967;
    color: #0a1e38;
}

.nh-btn-ghost {
    border-color: rgba(255,255,255,.48);
    background: rgba(255,255,255,.08);
    color: #fff;
    backdrop-filter: blur(8px);
}

.nh-btn-ghost:hover {
    border-color: #fff;
    color: #fff;
}

.nh-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 48px;
    max-width: 980px;
    background: rgba(255,255,255,.22);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 12px;
    overflow: hidden;
}

.nh-stat {
    min-height: 105px;
    padding: 19px 22px;
    background: rgba(7, 25, 48, .72);
    backdrop-filter: blur(10px);
}

.nh-stat strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 25px;
}

.nh-stat span {
    color: rgba(255,255,255,.7);
    font-size: 13px;
}

.nh-tabs-shell {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--nh-line);
    box-shadow: 0 10px 30px rgba(16,46,85,.07);
    backdrop-filter: blur(12px);
}

.nh-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.nh-tabs::-webkit-scrollbar {
    display: none;
}

.nh-tab {
    flex: 0 0 auto;
    position: relative;
    padding: 20px 22px;
    border: 0;
    background: transparent;
    color: var(--nh-muted);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.nh-tab::after {
    content: "";
    position: absolute;
    right: 20px;
    bottom: 0;
    left: 20px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--nh-gold);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.nh-tab[aria-selected="true"] {
    color: var(--nh-navy);
}

.nh-tab[aria-selected="true"]::after {
    transform: scaleX(1);
}

.nh-content {
    padding: 74px 0 90px;
}

.nh-panel[hidden] {
    display: none !important;
}

.nh-section-head {
    max-width: 790px;
    margin-bottom: 36px;
}

.nh-kicker {
    margin-bottom: 10px;
    color: #a27321;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.nh-section-head h2 {
    margin: 0 0 14px;
    color: var(--nh-navy);
    font-size: clamp(34px, 4.5vw, 54px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.nh-section-head p {
    margin: 0;
    color: var(--nh-muted);
    font-size: 17px;
    line-height: 1.8;
}

.nh-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 42px;
    align-items: center;
}

.nh-copy-card,
.nh-info-card,
.nh-plan-card,
.nh-amenity-card,
.nh-contact-card {
    background: #fff;
    border: 1px solid var(--nh-line);
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(16,46,85,.06);
}

.nh-copy-card {
    padding: 34px;
}

.nh-copy-card h3 {
    margin: 0 0 14px;
    color: var(--nh-navy);
    font-size: 29px;
}

.nh-copy-card p {
    color: var(--nh-muted);
    line-height: 1.8;
}

.nh-checks {
    display: grid;
    gap: 13px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.nh-checks li {
    display: flex;
    gap: 11px;
    color: #34445a;
    line-height: 1.55;
}

.nh-checks li::before {
    content: "✓";
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    margin-top: 1px;
    border-radius: 50%;
    background: #f5ead3;
    color: #8b641d;
    font-weight: 900;
}

.nh-image-card {
    position: relative;
    height: clamp(420px, 38vw, 600px);
    align-self: center;
    overflow: hidden;
    border-radius: 20px;
    background: #dfe6ed;
    box-shadow: 0 20px 50px rgba(8,27,51,.16);
}

.nh-image-card img {
    width: 100%;
    height: 100% !important;
    display: block;
    object-fit: cover;
    object-position: center 28%;
}

.nh-at-glance {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 38px;
}

.nh-info-card {
    padding: 24px;
}

.nh-info-card span {
    display: block;
    margin-bottom: 7px;
    color: var(--nh-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nh-info-card strong {
    color: var(--nh-navy);
    font-size: 20px;
    line-height: 1.35;
}

.nh-master-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(300px, .78fr);
    gap: 28px;
    align-items: start;
}

.nh-plan-figure {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--nh-line);
    border-radius: 18px;
    background: #fff;
}

.nh-plan-figure button {
    width: 100%;
    padding: 0;
    border: 0;
    background: #fff;
    cursor: zoom-in;
}

.nh-plan-figure img {
    width: 100%;
    max-height: 760px;
    display: block;
    object-fit: contain;
    background: #fff;
}

.nh-plan-figure figcaption {
    padding: 14px 18px;
    border-top: 1px solid var(--nh-line);
    color: var(--nh-muted);
    font-size: 13px;
}

.nh-tower-stack {
    display: grid;
    gap: 14px;
}

.nh-tower-card {
    padding: 24px;
    border: 1px solid var(--nh-line);
    border-radius: 16px;
    background: #fff;
}

.nh-tower-card h3 {
    margin: 0 0 8px;
    color: var(--nh-navy);
}

.nh-tower-card p {
    margin: 0;
    color: var(--nh-muted);
    line-height: 1.65;
}

.nh-tower-card.is-future {
    border-style: dashed;
    background: #fbfcfe;
}

.nh-residence-groups {
    display: grid;
    gap: 42px;
}

.nh-residence-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.nh-residence-title h3 {
    margin: 0;
    color: var(--nh-navy);
    font-size: 30px;
}

.nh-residence-title p {
    margin: 0;
    color: var(--nh-muted);
}

.nh-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.nh-plan-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.nh-plan-card button {
    position: relative;
    padding: 0;
    border: 0;
    background: #fff;
    cursor: zoom-in;
}

.nh-plan-card button::after {
    content: "View plan";
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(8,27,51,.88);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.nh-plan-card img {
    width: 100%;
    height: 300px;
    display: block;
    object-fit: contain;
    background: #f8fafc;
}

.nh-plan-card-body {
    flex: 1;
    padding: 22px;
}

.nh-plan-card h4 {
    margin: 0 0 8px;
    color: var(--nh-navy);
    font-size: 22px;
}

.nh-area {
    margin-bottom: 14px;
    color: #a27321;
    font-size: 16px;
    font-weight: 900;
}

.nh-area-list {
    display: grid;
    gap: 8px;
    margin: 0;
}

.nh-area-list div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-top: 8px;
    border-top: 1px solid var(--nh-line);
    color: var(--nh-muted);
    font-size: 12px;
}

.nh-area-list dt,
.nh-area-list dd {
    margin: 0;
}

.nh-area-list dd {
    color: #34445a;
    font-weight: 800;
    text-align: right;
}

.nh-amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.nh-amenity-card {
    padding: 26px;
}

.nh-amenity-card h3 {
    margin: 0 0 16px;
    color: var(--nh-navy);
    font-size: 21px;
}

.nh-amenity-card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nh-amenity-card li {
    position: relative;
    padding-left: 17px;
    color: var(--nh-muted);
    line-height: 1.5;
}

.nh-amenity-card li::before {
    content: "";
    position: absolute;
    top: .68em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nh-gold);
}

.nh-gallery {
    columns: 3 300px;
    column-gap: 18px;
}

.nh-gallery-item {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: #dfe6ed;
    cursor: zoom-in;
    break-inside: avoid;
}

.nh-gallery-item img {
    width: 100%;
    height: auto !important;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
    transition: transform .35s ease;
}

.nh-gallery-item:hover img {
    transform: scale(1.025);
}

.nh-location-grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 28px;
    align-items: start;
}

.nh-location-card {
    min-height: 420px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 34px;
    border-radius: 18px;
    background: #102e55 url("../img/projects/nirmal-heights/aerial-view.webp") center / cover no-repeat;
}

.nh-location-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8,27,51,.94), rgba(8,27,51,.15));
}

.nh-location-content {
    position: relative;
    z-index: 1;
}

.nh-location-content h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 30px;
}

.nh-location-content p {
    margin: 0 0 20px;
    color: rgba(255,255,255,.78);
    line-height: 1.7;
}

.nh-contact-card {
    padding: 34px;
}

.nh-contact-card h3 {
    margin: 0 0 8px;
    color: var(--nh-navy);
    font-size: 30px;
}

.nh-contact-card > p {
    margin: 0 0 22px;
    color: var(--nh-muted);
}

.nh-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.nh-field {
    margin-bottom: 14px;
}

.nh-field label {
    display: block;
    margin-bottom: 7px;
    color: #34445a;
    font-size: 12px;
    font-weight: 800;
}

.nh-field input,
.nh-field select,
.nh-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #d8e0e9;
    border-radius: 8px;
    background: #fff;
    color: var(--nh-ink);
}

.nh-field textarea {
    min-height: 104px;
    resize: vertical;
}

.nh-contact-card .nh-btn {
    width: 100%;
    border: 0;
}

.nh-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding: 24px;
    border-radius: 16px;
    background: var(--nh-navy);
    color: #fff;
}

.nh-share-bar h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 21px;
}

.nh-share-bar p {
    margin: 0;
    color: rgba(255,255,255,.68);
}

.nh-share-bar .nh-btn {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 13px;
}

.nh-disclaimer {
    margin-top: 30px;
    padding: 18px 20px;
    border-left: 3px solid var(--nh-gold);
    background: #fff;
    color: var(--nh-muted);
    font-size: 12px;
    line-height: 1.7;
}

.nh-dialog {
    width: min(94vw, 1400px);
    max-height: 92vh;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
}

.nh-dialog::backdrop {
    background: rgba(3, 12, 24, .82);
    backdrop-filter: blur(6px);
}

.nh-dialog img {
    width: 100%;
    max-height: 84vh;
    display: block;
    object-fit: contain;
    background: #f7f9fb;
}

.nh-dialog-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(8,27,51,.9);
    color: #fff;
    font-size: 23px;
    cursor: pointer;
}

.nh-dialog-caption {
    padding: 12px 18px;
    color: var(--nh-muted);
    font-size: 13px;
}

.nh-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    padding: 12px 18px;
    border-radius: 8px;
    background: #102e55;
    color: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

@media (max-width: 991px) {
    .nh-hero {
        min-height: 650px;
    }

    .nh-hero-stats,
    .nh-at-glance {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nh-grid-2,
    .nh-master-layout,
    .nh-location-grid {
        grid-template-columns: 1fr;
    }

    .nh-plans-grid,
    .nh-amenity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .nh-image-card {
        height: 360px;
    }

    .nh-hero {
        min-height: 690px;
        background-position: 63% center;
    }

    .nh-hero::before {
        background: linear-gradient(0deg, rgba(5,19,38,.96) 0%, rgba(5,19,38,.66) 68%, rgba(5,19,38,.4) 100%);
    }

    .nh-hero-inner {
        padding: 70px 0 38px;
    }

    .nh-hero h1 {
        font-size: clamp(28px, 8vw, 56px);
        letter-spacing: -0.045em;
    }

    .nh-hero-copy {
        font-size: 17px;
    }

    .nh-hero-stats {
        margin-top: 34px;
    }

    .nh-stat {
        min-height: 92px;
        padding: 15px;
    }

    .nh-stat strong {
        font-size: 20px;
    }

    .nh-tab {
        padding: 17px 16px;
    }

    .nh-content {
        padding: 52px 0 70px;
    }

    .nh-copy-card,
    .nh-contact-card {
        padding: 24px;
    }

    .nh-plans-grid,
    .nh-amenity-grid,
    .nh-form-grid {
        grid-template-columns: 1fr;
    }

    .nh-plan-card img {
        height: 340px;
    }

    .nh-residence-title,
    .nh-share-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .nh-share-actions {
        width: 100%;
    }

    .nh-share-actions .nh-btn {
        flex: 1 1 150px;
    }
}

@media (max-width: 480px) {
    .nh-hero-stats,
    .nh-at-glance {
        grid-template-columns: 1fr 1fr;
    }

    .nh-hero-actions .nh-btn {
        width: 100%;
    }

    .nh-plan-card img {
        height: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nh-page *,
    .nh-page *::before,
    .nh-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
/* Nirmal Heights enquiry form normalization */
.nh-contact-card > p {
    line-height: 1.65;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.nh-field input,
.nh-field select,
.nh-field textarea {
    box-sizing: border-box;
    font: inherit;
}

.nh-field .nice-select {
    float: none;
    clear: none;
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 38px 0 14px;
    border: 1px solid #d8e0e9;
    border-radius: 8px;
    line-height: 48px;
}

.nh-field .nice-select .current {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nh-field .nice-select .list {
    right: 0;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
}

.nh-contact-card .nh-btn {
    min-height: 50px;
}
