/* ==========================================================================
   DAC Umbrella landing page
   Deep maroon Didone headings,
   geometric sans body, warm ivory bands, hairline rules.
   Layout structure is unchanged; this file carries the visual system.
   All rules namespaced .nri- so they don't collide with style.css
   ========================================================================== */

:root {
    /* palette from dacdevelopers.com — logo blue, orange triangle, yellow rule */
    --brand-maroon: #213f9a;     /* DAC blue: headings, nav, rules */
    --brand-maroon-dk: #172d70;
    --brand-orange: #f26522;
    --brand-yellow: #ffcb08;
    --brand-body: #4a4e57;
    --brand-muted: #747474;
    --brand-ivory: #f9f9fb;
    --brand-sand: #f2f3f5;
    --brand-line: #e2e2e2;
    --brand-line-soft: #eaeaea;
    --brand-white: #ffffff;

    --serif: 'JoaneRegular', 'optima', 'Times New Roman', Georgia, serif;
    --sans: 'futura-light', 'Helvetica Neue', Arial, sans-serif;
    --sans-md: 'futura-medium-bt', 'Helvetica Neue', Arial, sans-serif;
}

html,
body {
    background: var(--brand-white);
    overflow-x: hidden;
    max-width: 100%;
}

/* ==========================================================================
   TYPE
   ========================================================================== */

.nri-h,
.nri-num,
.nri-hero-title,
.nri-formcard-title,
.nri-art-cat,
.nri-reason h3,
.nri-emi-val,
.nri-emi-out strong {
    font-family: var(--serif);
    font-weight: normal;
    color: var(--brand-maroon);
}

.nri-h {
    font-size: 46px;
    line-height: 1.22;
    letter-spacing: -.2px;
    margin: 0 0 26px;
}

.nri-h-sm {
    font-size: 34px;
    line-height: 1.3;
}

.nri-p {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.85;
    color: var(--brand-body);
    margin: 0 0 20px;
}

.nri-p:last-child {
    margin-bottom: 0;
}

/* eyebrow — small caps with a hairline running off to the right */
.nri-eyebrow {
    display: flex;
    align-items: center;
    font-family: var(--sans-md);
    font-size: 13px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin: 0 0 22px;
}

.nri-eyebrow:after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--brand-line);
    margin-left: 22px;
}

/* centred variant gets a rule on both sides */
.nri-center .nri-eyebrow {
    justify-content: center;
}

.nri-center .nri-eyebrow:before,
.nri-center .nri-eyebrow:after {
    content: "";
    width: 90px;
    flex: none;
    height: 1px;
    background: var(--brand-line);
}

.nri-center .nri-eyebrow:before {
    margin-right: 22px;
}

.nri-center .nri-eyebrow:after {
    margin-left: 22px;
}

.nri-note {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--brand-muted);
    letter-spacing: .3px;
}

.nri-center {
    text-align: center;
}

.nri-italic {
    font-style: italic;
}

/* ==========================================================================
   SHELL
   ========================================================================== */

.nri-sec {
    padding: 120px 0;
    background: var(--brand-white);
}

.nri-sec.warm {
    background: var(--brand-ivory);
}

.nri-sec-tight {
    padding: 84px 0;
}

.nri-wrap {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 40px;
}

.nri-sec-head {
    max-width: 800px;
    margin: 0 auto 66px;
}

/* ==========================================================================
   BUTTONS & LINKS
   ========================================================================== */

.nri-btn {
    display: inline-block;
    font-family: var(--sans-md);
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand-btn);
    background: transparent;
    border: 1px solid var(--brand-btn);
    padding: 17px 40px;
    text-decoration: none;
    cursor: pointer;
    transition: background .28s ease, color .28s ease, border-color .28s ease;
}

.nri-btn:hover,
.nri-btn:focus {
    background: var(--brand-btn);
    border-color: var(--brand-btn);
    color: #fff;
    text-decoration: none;
}

.nri-btn-solid {
    background: var(--brand-btn);
    border-color: var(--brand-btn);
    color: #fff;
}

.nri-btn-solid:hover,
.nri-btn-solid:focus {
    background: var(--brand-btn-hv);
    border-color: var(--brand-btn-hv);
    color: #fff;
}

.nri-btn-block {
    display: block;
    width: 100%;
    margin-top: 12px;
}

.nri-link {
    font-family: var(--sans-md);
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand-maroon);
    border-bottom: 1px solid var(--brand-line);
    padding-bottom: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .25s ease;
}

.nri-link:hover,
.nri-link:focus {
    color: var(--brand-maroon);
    border-bottom-color: var(--brand-maroon);
    text-decoration: none;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nri-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: linear-gradient(to bottom, rgba(16, 31, 77, .6), rgba(16, 31, 77, 0));
    transition: top .3s ease, background .3s ease;
}

.nri-nav-inner {
    display: flex;
    align-items: center;
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 40px;
    height: 92px;
}

.nri-brand {
    display: inline-block;
    margin-right: 60px;
}

.nri-wordmark {
    display: block;
    font-family: var(--sans-md);
    font-size: 30px;
    letter-spacing: 9px;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
}

.nri-wordmark small {
    display: block;
    font-family: var(--sans);
    font-size: 9px;
    letter-spacing: 4.5px;
    color: rgba(255, 255, 255, .8);
    margin-top: 7px;
}

.nri-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 38px;
}

.nri-menu a {
    font-family: var(--sans-md);
    font-size: 13px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
}

.nri-menu a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, .7);
    text-decoration: none;
}

.nri-nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nri-nav-actions a {
    font-family: var(--sans-md);
    font-size: 13px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    cursor: pointer;
}

.nri-nav-actions a:hover {
    color: #fff;
    text-decoration: none;
}

.nri-nav-actions i {
    margin-right: 8px;
}

.nri-burger {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 20px;
    padding: 0;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.nri-hero {
    position: relative;
    background: #1c1412;
}

.nri-hero picture {
    display: block;
}

.nri-hero img {
    width: 100%;
    height: auto;
    display: block;
}

.nri-hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 0 92px;
    background: linear-gradient(to top, rgba(24, 16, 14, .88) 0%, rgba(24, 16, 14, .62) 34%, rgba(24, 16, 14, .18) 72%, rgba(24, 16, 14, 0) 100%);
}

.nri-hero-overlay .nri-wrap {
    max-width: 1560px;
    width: 100%;
}

.nri-hero-title {
    font-size: 68px;
    line-height: 1.12;
    color: #fff;
    margin: 0 0 24px;
    max-width: 880px;
}

.nri-hero-sub {
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .88);
    max-width: 660px;
    margin: 0;
}

/* ==========================================================================
   IMAGE + COPY ROWS
   ========================================================================== */

.nri-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.nri-row-media {
    width: 48%;
    align-self: stretch;
}

.nri-row-copy {
    width: 44%;
    margin-left: 8%;
}

.nri-row.reverse .nri-row-media {
    order: 2;
    margin-left: 8%;
}

.nri-row.reverse .nri-row-copy {
    order: 1;
    margin-left: 0;
}

.nri-row-media img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    display: block;
}

.nri-row-media.tall img {
    min-height: 520px;
}

/* ==========================================================================
   OVERVIEW + FORM
   ========================================================================== */

.nri-overview {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.nri-overview-copy {
    width: 55%;
    padding-right: 80px;
}

.nri-overview-form {
    width: 45%;
}

/* ==========================================================================
   STAT ROW
   ========================================================================== */

.nri-facts {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--brand-line);
    padding-top: 60px;
    text-align: center;
}

.nri-fact {
    width: 25%;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
}

.nri-num {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 112px;
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.nri-fact-label {
    display: block;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.7;
    color: var(--brand-body);
}

.nri-facts-note {
    text-align: center;
    margin-top: 50px;
}

/* ==========================================================================
   REASONS GRID
   ========================================================================== */

.nri-reasons {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--brand-line);
}

.nri-reason {
    width: 33.3333%;
    padding: 46px 44px 46px 0;
    border-bottom: 1px solid var(--brand-line);
}

.nri-reason + .nri-reason {
    border-left: 1px solid var(--brand-line);
    padding-left: 44px;
}

.nri-reason:nth-child(3n+1) {
    border-left: 0;
    padding-left: 0;
}

.nri-reason-no {
    display: block;
    font-family: var(--sans-md);
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--brand-muted);
    margin-bottom: 18px;
}

.nri-reason h3 {
    font-size: 25px;
    line-height: 1.3;
    margin: 0 0 14px;
}

.nri-reason p {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.8;
    color: var(--brand-body);
    margin: 0;
}

/* ==========================================================================
   ASSISTANCE STRIP
   ========================================================================== */

.nri-assist {
    display: flex;
    flex-wrap: wrap;
    /* margin-top: 76px; */
    /* border-top: 1px solid var(--brand-line); */
    /* padding-top: 52px; */
}

.nri-assist-item {
    width: 16.6666%;
    padding: 0 22px;
    text-align: center;
    border-left: 1px solid var(--brand-line-soft);
}

.nri-assist-item:first-child {
    border-left: 0;
}

.nri-assist-item i {
    font-size: 28px;
    color: var(--brand-maroon);
    display: block;
    margin-bottom: 20px;
}

.nri-assist-item span {
    display: block;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.65;
    color: var(--brand-body);
}

/* ==========================================================================
   BULLETS
   ========================================================================== */

.nri-bullets {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
}

.nri-bullets li {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.8;
    color: var(--brand-body);
    padding: 12px 0 12px 30px;
    position: relative;
    border-bottom: 1px solid var(--brand-line-soft);
}

.nri-bullets li:last-child {
    border-bottom: 0;
}

.nri-bullets li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 25px;
    width: 14px;
    height: 1px;
    background: var(--brand-maroon);
}

/* ==========================================================================
   PROJECT TILES
   ========================================================================== */

.nri-tiles {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -14px;
}

.nri-tile {
    width: 25%;
    padding: 0 14px;
    margin-bottom: 34px;
}

.nri-tile img {
    width: 100%;
    height: 420px;
    object-position: center 40%;
    object-fit: cover;
    display: block;
    transition: opacity .35s ease;
}

.nri-tile a:hover img {
    opacity: .9;
}

.nri-tile-cap {
    font-family: var(--sans);
    font-size: 15px;
    color: var(--brand-body);
    margin: 20px 0 0;
}

/* ==========================================================================
   MOSAIC ARTICLES
   ========================================================================== */

.nri-mosaic {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -14px;
}

.nri-mos-col {
    width: 33.3333%;
    padding: 0 14px;
}

.nri-art {
    display: block;
    text-decoration: none;
    margin-bottom: 44px;
    cursor: pointer;
}

.nri-art:hover,
.nri-art:focus {
    text-decoration: none;
}

.nri-art img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .35s ease;
}

.nri-art:hover img {
    opacity: .9;
}

.nri-art-cat {
    font-size: 21px;
    margin: 22px 0 10px;
}

.nri-art-title {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    color: var(--brand-body);
    margin: 0 0 12px;
}

.nri-art:hover .nri-art-title {
    color: var(--brand-maroon);
}

.nri-art-by {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--brand-muted);
    margin: 0;
}

.nri-h-470 img {
    height: 520px;
}

.nri-h-180 img {
    height: 210px;
}

.nri-h-230 img {
    height: 260px;
}

.nri-h-260 img {
    height: 300px;
}

/* ==========================================================================
   INSTAGRAM STRIP
   ========================================================================== */

.nri-insta {
    display: flex;
    flex-wrap: wrap;
    margin: 46px -8px 0;
}

.nri-insta a {
    width: 25%;
    padding: 0 8px;
    display: block;
}

.nri-insta img {
    width: 100%;
    height: 270px;
    object-position: center 65%;
    object-fit: cover;
    display: block;
    transition: opacity .35s ease;
}

.nri-insta a:hover img {
    opacity: .9;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.nri-faq {
    margin-top: 44px;
}

.nri-faq .panel {
    background: none;
    border: 0;
    border-bottom: 1px solid var(--brand-line);
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

.nri-faq .panel-heading {
    background: none;
    border: 0;
    padding: 0;
    border-radius: 0;
}

.nri-faq .panel-title a {
    display: block;
    padding: 30px 60px 30px 0;
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.5;
    color: var(--brand-maroon);
    text-decoration: none;
    position: relative;
    transition: color .2s ease;
}

.nri-faq .panel-title a:after {
    content: "\25BE";
    font-family: -apple-system, 'Segoe UI Symbol', Arial, sans-serif;
    position: absolute;
    right: 6px;
    top: 28px;
    font-size: 18px;
    color: var(--brand-muted);
    transition: transform .25s ease, color .25s ease;
}

.nri-faq .panel-title a[aria-expanded="true"]:after {
    transform: rotate(180deg);
    color: var(--brand-maroon);
}

.nri-faq .panel-body {
    background: none;
    border: 0;
    padding: 0 90px 34px 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.9;
    color: var(--brand-body);
}

/* ==========================================================================
   EMI CALCULATOR
   ========================================================================== */

.nri-emi {
    display: flex;
    flex-wrap: wrap;
    margin-top: 56px;
    border: 1px solid var(--brand-line);
}

.nri-emi-inputs {
    width: 58%;
    padding: 58px 60px;
}

.nri-emi-result {
    width: 42%;
    padding: 58px 56px;
    background: var(--brand-ivory);
    border-left: 1px solid var(--brand-line);
}

.nri-sec.warm .nri-emi-result {
    background: var(--brand-sand);
}

.nri-emi-field {
    margin-bottom: 46px;
}

.nri-emi-field:last-child {
    margin-bottom: 0;
}

.nri-emi-field-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 18px;
}

.nri-emi-field label {
    font-family: var(--sans-md);
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin: 0;
}

.nri-emi-val {
    font-size: 24px;
}

.nri-emi-field input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 2px;
    background: var(--brand-line);
    outline: none;
    margin: 0;
}

.nri-emi-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--brand-maroon);
    cursor: pointer;
}

.nri-emi-field input[type="range"]::-moz-range-thumb {
    width: 17px;
    height: 17px;
    border: 0;
    border-radius: 50%;
    background: var(--brand-maroon);
    cursor: pointer;
}

.nri-emi-out {
    margin-bottom: 34px;
}

.nri-emi-out > span {
    display: block;
    font-family: var(--sans-md);
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin-bottom: 10px;
}

.nri-emi-out strong {
    font-weight: normal;
    font-size: 42px;
    line-height: 1.1;
}

.nri-emi-out.small strong {
    font-size: 25px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.nri-contact-split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.nri-contact-left {
    width: 48%;
    padding-right: 70px;
}

.nri-contact-right {
    width: 52%;
}

.nri-contact-rows {
    margin-top: 40px;
    border-top: 1px solid var(--brand-line);
}

.nri-crow {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    padding: 22px 0;
    border-bottom: 1px solid var(--brand-line);
    font-family: var(--sans);
    font-size: 16px;
}

.nri-crow-label {
    width: 42%;
    font-family: var(--sans-md);
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand-muted);
}

.nri-crow-value {
    width: 58%;
    color: var(--brand-maroon);
}

.nri-crow-value a {
    color: var(--brand-maroon);
    text-decoration: none;
}

/* ==========================================================================
   FORMS — shared by the overview card, contact card and every popup
   ========================================================================== */

.nri-formcard {
    background: var(--brand-white);
    border: 1px solid var(--brand-line);
    padding: 52px 48px 50px;
}

.nri-formcard-title {
    font-size: 32px;
    line-height: 1.25;
    margin: 0 0 12px;
}

.nri-formcard-sub {
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.75;
    color: var(--brand-body);
    margin: 0 0 40px;
}

.nri-flabel {
    display: block;
    font-family: var(--sans-md);
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin: 0 0 10px;
}

/* these beat "#contact-form .form-group{width:100%;height:40px}" in style.css */
#contact-form.nri-contactform .form-group,
.nri-formcard .form-group,
.nri-popform .form-group,
.nri-contactform .form-group {
    width: 100%;
    height: auto;
    float: none;
    margin: 0 0 30px;
    padding: 0;
}

#contact-form.nri-contactform .form-control,
.nri-formcard .form-control,
.nri-popform .form-control,
.nri-contactform .form-control {
    height: 52px;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--brand-line);
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none;
    padding: 0;
    font-family: var(--sans);
    font-size: 17px;
    color: var(--brand-maroon);
    transition: border-color .2s ease;
}

#contact-form.nri-contactform .form-control:focus,
.nri-formcard .form-control:focus,
.nri-popform .form-control:focus,
.nri-contactform .form-control:focus {
    border-bottom-color: var(--brand-maroon);
    box-shadow: none;
}

#contact-form.nri-contactform .form-control::placeholder,
.nri-formcard .form-control::placeholder,
.nri-popform .form-control::placeholder,
.nri-contactform .form-control::placeholder {
    color: #b4aea7;
}

/* ---------- project select ----------
   The underlined field style above is written for inputs, so the native select
   chrome is dropped and rebuilt: a soft sand well that keeps the underline of
   its sibling fields, a thin chevron of our own, and a maroon accent that only
   appears once the field is engaged. */
#contact-form.nri-contactform select.form-control,
.nri-formcard select.form-control,
.nri-popform select.form-control,
.nri-contactform select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 54px;
    padding: 0 42px 0 14px;
    cursor: pointer;
    color: var(--brand-maroon);
    background-color: var(--brand-ivory);
    border-bottom: 1px solid var(--brand-line);
    border-radius: 3px 3px 0 0 !important;
    /* thin chevron, muted until the field is hovered or focused */
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%238b8580' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5L7 7.5L13 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 13px 8px;
    /* truncate rather than let a long project name collide with the chevron */
    text-overflow: ellipsis;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

#contact-form.nri-contactform select.form-control:hover,
.nri-formcard select.form-control:hover,
.nri-popform select.form-control:hover,
.nri-contactform select.form-control:hover {
    background-color: var(--brand-sand);
}

/* focus is the one place the maroon accent shows — a 2px underline that reads
   as deliberate rather than the browser's default blue ring */
#contact-form.nri-contactform select.form-control:focus,
.nri-formcard select.form-control:focus,
.nri-popform select.form-control:focus,
.nri-contactform select.form-control:focus {
    outline: 0;
    background-color: var(--brand-white);
    border-bottom-color: var(--brand-maroon);
    box-shadow: inset 0 -1px 0 0 var(--brand-maroon);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%234b3632' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5L7 7.5L13 1.5'/%3E%3C/svg%3E");
}

/* the placeholder option reads as placeholder text until a project is picked */
#contact-form.nri-contactform select.form-control:invalid,
.nri-formcard select.form-control:invalid,
.nri-popform select.form-control:invalid,
.nri-contactform select.form-control:invalid {
    color: var(--brand-muted);
}

/* the open list — honoured by Firefox and Chromium, ignored by Safari, which
   falls back to its own native list either way */
.nri-formcard select.form-control option,
.nri-popform select.form-control option,
.nri-contactform select.form-control option {
    padding: 10px 14px;
    color: var(--brand-maroon);
    background: var(--brand-white);
}

.nri-formcard select.form-control option:checked,
.nri-popform select.form-control option:checked,
.nri-contactform select.form-control option:checked {
    background: var(--brand-sand);
    font-weight: 600;
}

/* the error/success states below colour the underline; carry the well with them
   so a missed project reads at a glance */
.has-error select.form-control {
    background-color: #fdf6f5;
}

.has-success select.form-control {
    background-color: var(--brand-ivory);
}

/* ---------- custom project dropdown ----------
   A native select's open list is drawn by the browser and cannot be given a
   height, a scrollbar or dividers, so the list is rebuilt in markup. The real
   <select> stays in the DOM as the form value (JS off = plain native select). */
.nri-select {
    position: relative;
}

.nri-select-native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.nri-select-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border: 0;
    border-bottom: 1px solid var(--brand-line);
    border-radius: 3px 3px 0 0;
    background: var(--brand-ivory);
    font-family: var(--sans);
    font-size: 17px;
    text-align: left;
    color: var(--brand-muted);
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.nri-select-btn:hover {
    background: var(--brand-sand);
}

.nri-select-btn:focus {
    outline: 0;
    background: var(--brand-white);
    border-bottom-color: var(--brand-btn);
    box-shadow: inset 0 -1px 0 0 var(--brand-btn);
}

/* filled reads maroon, placeholder stays muted */
.nri-select-btn.is-filled {
    color: var(--brand-btn);
}

.nri-select-label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nri-select-caret {
    flex: 0 0 auto;
    margin-left: 12px;
    transition: transform .2s ease;
}

.nri-select-btn[aria-expanded="true"] .nri-select-caret {
    transform: rotate(180deg);
}

.nri-select-btn[aria-expanded="true"] {
    background: var(--brand-white);
    border-bottom-color: var(--brand-btn);
}

/* the list: fixed height with its own scroll, and a rule between projects */
.nri-select-panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: none;
    max-height: 260px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--brand-white);
    border: 1px solid var(--brand-line);
    border-radius: 4px;
    box-shadow: 0 14px 34px rgba(33, 63, 154, .16);
}

.nri-select.is-open .nri-select-panel {
    display: block;
}

/* drop the list upward when the field sits low in a popup */
.nri-select.drop-up .nri-select-panel {
    top: auto;
    bottom: calc(100% + 6px);
}

.nri-select-option {
    padding: 13px 16px;
    font-size: 16px;
    line-height: 1.35;
    color: var(--brand-body);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.nri-select-option+.nri-select-option {
    border-top: 1px solid var(--brand-line-soft);
}

.nri-select-option:hover,
.nri-select-option.is-active {
    background: var(--brand-ivory);
    color: var(--brand-btn);
}

.nri-select-option[aria-selected="true"] {
    background: var(--brand-sand);
    color: var(--brand-btn);
    font-weight: 600;
}

/* keep the scrollbar in the palette instead of the OS default slab */
.nri-select-panel::-webkit-scrollbar {
    width: 6px;
}

.nri-select-panel::-webkit-scrollbar-track {
    background: var(--brand-ivory);
}

.nri-select-panel::-webkit-scrollbar-thumb {
    background: var(--brand-line);
    border-radius: 3px;
}

.nri-select-panel::-webkit-scrollbar-thumb:hover {
    background: var(--brand-muted);
}

.nri-select-panel {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-line) var(--brand-ivory);
}

.has-error .nri-select-btn {
    background: #fdf6f5;
    border-bottom-color: #a8443c;
}

/* ---------- mobile field with country code ----------
   The dial-code button and the number share one underline, so the pair still
   reads as a single field in a column of underlined inputs. The button keeps
   the sand well of the project select, which is how an interactive field is
   signalled elsewhere on the page. */
.nri-phone {
    position: relative;
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--brand-line);
    transition: border-color .2s ease;
}

.nri-phone:focus-within {
    border-bottom-color: var(--brand-maroon);
}

/* the field's own underline is now drawn by the wrapper */
.nri-formcard .nri-phone .form-control,
.nri-popform .nri-phone .form-control,
.nri-contactform .nri-phone .form-control,
#contact-form.nri-contactform .nri-phone .form-control {
    border-bottom: 0;
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 12px;
}

.nri-cc-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    height: 52px;
    padding: 0 11px;
    border: 0;
    border-radius: 3px 3px 0 0;
    background: var(--brand-ivory);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1;
    color: var(--brand-btn);
    cursor: pointer;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.nri-cc-btn:hover {
    background: var(--brand-sand);
}

.nri-cc-btn:focus {
    outline: 0;
    background: var(--brand-white);
    box-shadow: inset 0 -1px 0 0 var(--brand-btn);
}

.nri-cc-btn[aria-expanded="true"] {
    background: var(--brand-white);
}

.nri-cc-dial {
    /* the widest code is +971, so reserve its width and the number field
       stops shifting sideways as the country changes */
    min-width: 34px;
    text-align: left;
    letter-spacing: .01em;
}

.nri-cc-caret {
    flex: 0 0 auto;
    color: var(--brand-muted);
    transition: transform .2s ease;
}

.nri-cc-btn[aria-expanded="true"] .nri-cc-caret {
    transform: rotate(180deg);
}

/* a hairline round the flag so the white in a flag still has an edge */
.nri-flag {
    display: block;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(33, 63, 154, .14);
}

.nri-cc-flag {
    display: flex;
    flex: 0 0 auto;
}

.nri-cc-panel {
    position: absolute;
    z-index: 40;
    top: calc(100% + 6px);
    left: 0;
    display: none;
    width: 260px;
    max-width: 100%;
    max-height: 244px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--brand-white);
    border: 1px solid var(--brand-line);
    border-radius: 4px;
    box-shadow: 0 14px 34px rgba(33, 63, 154, .16);
    scrollbar-width: thin;
    scrollbar-color: var(--brand-line) var(--brand-ivory);
}

.nri-phone.is-open .nri-cc-panel {
    display: block;
}

.nri-cc-panel::-webkit-scrollbar {
    width: 6px;
}

.nri-cc-panel::-webkit-scrollbar-track {
    background: var(--brand-ivory);
}

.nri-cc-panel::-webkit-scrollbar-thumb {
    background: var(--brand-line);
    border-radius: 3px;
}

.nri-cc-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    font-size: 15px;
    line-height: 1.3;
    color: var(--brand-body);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.nri-cc-option+.nri-cc-option {
    border-top: 1px solid var(--brand-line-soft);
}

.nri-cc-option:hover {
    background: var(--brand-ivory);
    color: var(--brand-btn);
}

.nri-cc-option.is-selected {
    background: var(--brand-sand);
    color: var(--brand-btn);
    font-weight: 600;
}

.nri-cc-name {
    flex: 1 1 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nri-cc-code {
    flex: 0 0 auto;
    color: var(--brand-muted);
    font-size: 14px;
}

.nri-cc-option.is-selected .nri-cc-code {
    color: var(--brand-btn);
}

/* the wrapper draws the underline, so the error and success states have to be
   repainted onto it rather than onto the input */
.has-error .nri-phone {
    border-bottom-color: #a8443c;
}

.has-error .nri-cc-btn {
    background: #fdf6f5;
}

.has-success .nri-phone {
    border-bottom-color: #7d8a6b;
}

/* the popups are narrow — let the list use the field's full width there */
@media (max-width: 575px) {
    .nri-cc-panel {
        width: 100%;
    }

    .nri-cc-btn {
        padding: 0 8px;
        font-size: 15px;
    }
}

/* bootstrap validation states */
.has-error .form-control {
    border-bottom-color: #a8443c !important;
}

.has-error .nri-flabel {
    color: #a8443c;
}

.has-success .form-control {
    border-bottom-color: #7d8a6b !important;
}

.nri-formcard .help-block,
.nri-popform .help-block,
.nri-contactform .help-block {
    display: none;
    font-family: var(--sans);
    font-size: 13px;
    color: #a8443c;
    margin: 8px 0 0;
}

.has-error .help-block {
    display: block;
}

.nri-form-note {
    font-family: var(--sans);
    font-size: 12px;
    line-height: 1.7;
    color: var(--brand-muted);
    margin: 20px 0 0;
    text-align: center;
}

.nri-contactform .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -14px;
}

.nri-contactform .nri-col {
    width: 50%;
    padding: 0 14px;
}

.nri-contactform .nri-col-full {
    width: 100%;
    padding: 0 14px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.nri-footer {
    padding: 80px 0 100px;
    background: var(--brand-ivory);
    border-top: 1px solid var(--brand-line);
}

.nri-footer h4 {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--brand-maroon);
    margin: 0 0 20px;
}

.nri-fine {
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.95;
    color: var(--brand-muted);
    margin: 0 0 16px;
    max-width: 980px;
}

.nri-fine a {
    font-family: var(--sans-md);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--brand-maroon);
    cursor: pointer;
}

.nri-foot-social {
    margin-top: 26px;
}

.nri-foot-social a {
    display: inline-block;
    width: 42px;
    height: 42px;
    line-height: 40px;
    text-align: center;
    border: 1px solid var(--brand-line);
    color: var(--brand-maroon);
    margin-right: 10px;
    font-size: 16px;
}

.nri-foot-social a:hover {
    background: var(--brand-maroon);
    border-color: var(--brand-maroon);
    color: #fff;
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */

.nri-mobile-nav {
    overflow-x: hidden;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: var(--brand-maroon-dk);
    z-index: 1050;
    transition: right .35s ease;
    padding-top: 100px;
    text-align: center;
}

.nri-mobile-nav a {
    display: block;
    padding: 17px 0;
    font-family: var(--serif);
    font-size: 26px;
    color: #fff;
    text-decoration: none;
}

.nri-mobile-nav .nri-close {
    position: absolute;
    top: 22px;
    right: 28px;
    font-size: 36px;
    padding: 0;
}

/* ==========================================================================
   POPUPS
   ========================================================================== */

.modal-backdrop.in {
    opacity: .62;
    background: #1c1412;
}

.modal-dialog {
    width: 540px;
    max-width: 92%;
}

.modal-content {
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 34px 80px rgba(16, 31, 77, .3) !important;
}

.modal-body {
    padding: 52px 52px 54px !important;
}

.modal-body .close {
    opacity: .55;
    font-size: 30px;
    font-weight: normal;
    color: var(--brand-btn);
    text-shadow: none;
    margin: -18px -18px 0 0;
}

.modal-body .close:hover {
    opacity: 1;
}

.modal-body h3,
.modal-body .poptitle,
.modal-body #poptitle {
    font-family: var(--serif) !important;
    font-size: 32px !important;
    line-height: 1.25 !important;
    font-weight: normal !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--brand-maroon) !important;
    text-align: left !important;
    margin: 0 0 12px !important;
}

.modal-body > p {
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.75;
    color: var(--brand-body);
    text-align: left;
    margin: 0 0 40px;
}

.modal-body .disc-wrap {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 16px;
}

.modal-body .disc-wrap p {
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.95;
    color: var(--brand-body);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1199px) {
    .nri-h {
        font-size: 40px;
    }

    .nri-hero-title {
        font-size: 54px;
    }

    .nri-tile img {
        height: 340px;
    }
}

@media (max-width: 991px) {
    .nri-menu {
        display: none;
    }

    .nri-burger {
        display: block;
    }

    .nri-sec {
        padding: 80px 0;
    }

    .nri-h {
        font-size: 34px;
    }

    .nri-hero-title {
        font-size: 42px;
    }

    .nri-fact {
        width: 50%;
        margin-bottom: 40px;
    }

    .nri-reason {
        width: 50%;
    }

    .nri-reason:nth-child(3n+1) {
        border-left: 1px solid var(--brand-line);
        padding-left: 44px;
    }

    .nri-reason:nth-child(2n+1) {
        border-left: 0;
        padding-left: 0;
    }

    .nri-assist-item {
        width: 33.3333%;
        margin-bottom: 40px;
    }

    .nri-assist-item:nth-child(3n+1) {
        border-left: 0;
    }

    .nri-tile,
    .nri-insta a {
        width: 50%;
    }

    .nri-mos-col {
        width: 100%;
    }

    .nri-h-470 img,
    .nri-h-260 img,
    .nri-h-230 img,
    .nri-h-180 img {
        height: 340px;
    }

    .nri-overview-copy,
    .nri-overview-form,
    .nri-contact-left,
    .nri-contact-right {
        width: 100%;
        padding-right: 0;
    }

    .nri-overview-form,
    .nri-contact-right {
        margin-top: 44px;
    }
}

@media (max-width: 767px) {
    .nri-sec {
        padding: 62px 0;
    }

    .nri-wrap {
        padding: 0 22px;
    }

    .nri-nav-inner {
        height: 68px;
        padding: 0 20px;
    }

    .nri-brand {
        margin-right: 0;
    }

    .nri-wordmark {
        font-size: 22px;
        letter-spacing: 6px;
    }

    .nri-wordmark small {
        font-size: 8px;
        letter-spacing: 3px;
    }

    .nri-hero img {
        height: auto;
    }

    .nri-hero-overlay {
        padding-bottom: 44px;
    }

    .nri-hero-title {
        font-size: 32px;
    }

    .nri-hero-sub {
        font-size: 15px;
    }

    .nri-h {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .nri-h-sm {
        font-size: 25px;
    }

    .nri-p,
    .nri-bullets li {
        font-size: 16px;
    }

    .nri-sec-head {
        margin-bottom: 40px;
    }

    .nri-center .nri-eyebrow:before,
    .nri-center .nri-eyebrow:after {
        width: 30px;
    }

    .nri-row-media,
    .nri-row-copy,
    .nri-row.reverse .nri-row-media {
        width: 100%;
        margin-left: 0;
    }

    .nri-row.reverse .nri-row-media {
        order: 0;
    }

    .nri-row.reverse .nri-row-copy {
        order: 1;
    }

    .nri-row-copy {
        margin-top: 34px;
    }

    .nri-row-media img,
    .nri-row-media.tall img {
        min-height: 0;
        height: 280px;
    }

    .nri-facts {
        padding-top: 40px;
    }

    .nri-fact {
        width: 100%;
        margin-bottom: 34px;
    }

    .nri-num {
        font-size: 38px;
    }

    .nri-reason,
    .nri-assist-item {
        width: 100%;
        border-left: 0 !important;
        padding-left: 0 !important;
    }

    .nri-reason {
        padding-right: 0;
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .nri-tile,
    .nri-insta a {
        width: 100%;
    }

    .nri-tile img {
        height: 300px;
    }

    .nri-insta img {
        height: 240px;
    }

    .nri-faq .panel-title a {
        font-size: 16px;
        padding: 24px 44px 24px 0;
    }

    .nri-faq .panel-body {
        padding-right: 0;
        font-size: 15px;
    }

    .nri-emi-inputs,
    .nri-emi-result {
        width: 100%;
        padding: 34px 24px;
    }

    .nri-emi-result {
        border-left: 0;
        border-top: 1px solid var(--brand-line);
    }

    .nri-emi-out strong {
        font-size: 34px;
    }

    .nri-crow-label,
    .nri-crow-value {
        width: 100%;
    }

    .nri-crow-label {
        margin-bottom: 8px;
    }

    .nri-formcard {
        padding: 34px 24px 36px;
    }

    .nri-formcard-title {
        font-size: 26px;
    }

    .nri-contactform .nri-col {
        width: 100%;
    }

    .modal-body {
        padding: 36px 26px 38px !important;
    }

    .modal-body h3,
    .modal-body .poptitle,
    .modal-body #poptitle {
        font-size: 26px !important;
    }

    .nri-footer {
        padding: 56px 0 80px;
        /* clears the fixed mobile Enquire bar */
        margin-bottom: 72px;
    }
}

/* ---------- legacy floating CTAs restyled to the brand palette ---------- */
.GreyBtn,
.btn.GreyBtn,
.btn.price-btn {
    background: var(--brand-btn) !important;
    border: 1px solid var(--brand-btn) !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-family: var(--sans-md) !important;
    font-size: 12px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.GreyBtn:hover,
.btn.GreyBtn:hover,
.btn.price-btn:hover,
.btn.price-btn:focus {
    background: var(--brand-btn-hv) !important;
    border-color: var(--brand-btn-hv) !important;
    color: #fff !important;
}

/* EMI sliders sit centred against the taller results panel */
.nri-emi-inputs {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 767px) {
    /* shorter hero means the headline sits higher — deepen the scrim */
    .nri-hero-overlay {
        background: linear-gradient(to top, rgba(24, 16, 14, .92) 0%, rgba(24, 16, 14, .78) 45%, rgba(24, 16, 14, .45) 78%, rgba(24, 16, 14, .12) 100%);
    }
}

/* ==========================================================================
   KEY FACTS — editorial split, heading left / numbered rows right
   ========================================================================== */

.nri-factsplit {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.nri-factsplit-head {
    width: 42%;
    padding-right: 70px;
}

.nri-factsplit-list {
    width: 58%;
    border-top: 1px solid var(--brand-line);
}

.nri-factrow {
    display: flex;
    align-items: baseline;
    gap: 28px;
    padding: 30px 0;
    border-bottom: 1px solid var(--brand-line);
    transition: padding-left .3s ease;
}

.nri-factrow:hover {
    padding-left: 10px;
}

.nri-factrow-no {
    font-family: var(--sans-md);
    font-size: 12px;
    letter-spacing: 2.5px;
    color: var(--brand-muted);
    width: 30px;
    flex: none;
}

.nri-factrow-key {
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1.15;
    color: var(--brand-maroon);
    width: 210px;
    flex: none;
}

.nri-factrow-val {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    color: var(--brand-body);
    flex: 1;
}

/* ==========================================================================
   INSIDE — zig-zag rows
   ========================================================================== */

.nri-zig-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-decoration: none;
    border-top: 1px solid var(--brand-line);
    padding: 56px 0;
}

.nri-zig-item:last-child {
    border-bottom: 1px solid var(--brand-line);
}

.nri-zig-item:hover,
.nri-zig-item:focus {
    text-decoration: none;
}

.nri-zig-media {
    width: 46%;
    overflow: hidden;
}

.nri-zig-copy {
    width: 46%;
    margin-left: 8%;
}

/* every second row flips */
.nri-zig-item:nth-child(even) .nri-zig-media {
    order: 2;
    margin-left: 8%;
}

.nri-zig-item:nth-child(even) .nri-zig-copy {
    order: 1;
    margin-left: 0;
}

.nri-zig-media img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform .7s ease;
}

.nri-zig-item:hover .nri-zig-media img {
    transform: scale(1.04);
}

.nri-zig-cat {
    font-family: var(--sans-md);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin: 0 0 16px;
}

.nri-zig-title {
    font-family: var(--serif);
    font-weight: normal;
    font-size: 32px;
    line-height: 1.28;
    color: var(--brand-maroon);
    margin: 0 0 16px;
}

.nri-zig-text {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.85;
    color: var(--brand-body);
    margin: 0 0 22px;
}

.nri-zig-by {
    display: block;
    font-family: var(--sans);
    font-size: 13px;
    color: var(--brand-muted);
    margin-bottom: 20px;
}

.nri-zig-more {
    display: inline-block;
    font-family: var(--sans-md);
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand-maroon);
    border-bottom: 1px solid var(--brand-line);
    padding-bottom: 5px;
    transition: border-color .25s ease;
}

.nri-zig-item:hover .nri-zig-more {
    border-bottom-color: var(--brand-maroon);
}

/* ==========================================================================
   FAQ — split layout, numbered rows, open row highlighted
   ========================================================================== */

.nri-faqsplit {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.nri-faqsplit-aside {
    width: 36%;
    padding-right: 70px;
    position: sticky;
    top: 120px;
}

.nri-faqsplit-list {
    width: 64%;
}

.nri-faq-cta {
    margin-top: 44px;
    background: var(--brand-white);
    border: 1px solid var(--brand-line);
    padding: 34px 32px 36px;
}

.nri-faq-cta h3 {
    font-family: var(--serif);
    font-weight: normal;
    font-size: 24px;
    color: var(--brand-maroon);
    margin: 0 0 10px;
}

.nri-faq-cta p {
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.7;
    color: var(--brand-body);
    margin: 0 0 24px;
}

.nri-faq {
    margin-top: 0;
}

.nri-faq .panel {
    background: var(--brand-white);
    border: 1px solid var(--brand-line);
    margin: 0 0 10px;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.nri-faq .panel:hover {
    border-color: #cdc4b9;
}

.nri-faq .panel-title a {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 26px 68px 26px 28px;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.5;
    color: var(--brand-maroon);
    text-decoration: none;
    position: relative;
}

.nri-faq-no {
    font-family: var(--sans-md);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--brand-muted);
    padding-top: 4px;
    flex: none;
}

.nri-faq-q {
    flex: 1;
}

/* plus / minus in a bordered square */
.nri-faq .panel-title a:after {
    content: "\002B";
    font-family: -apple-system, 'Segoe UI Symbol', Arial, sans-serif;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    font-size: 11px;
    color: var(--brand-maroon);
    border: 1px solid var(--brand-line);
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.nri-faq .panel-title a:hover:after {
    border-color: var(--brand-maroon);
}

.nri-faq .panel-title a[aria-expanded="true"] {
    background: var(--brand-white);
}

.nri-faq .panel-title a[aria-expanded="true"]:after {
    content: "\2212";
    background: var(--brand-maroon);
    border-color: var(--brand-maroon);
    color: #fff;
}

.nri-faq .panel-body {
    background: none;
    border: 0;
    border-top: 1px solid var(--brand-line);
    margin: 0 28px;
    padding: 22px 46px 30px 52px;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.9;
    color: var(--brand-body);
}

/* ==========================================================================
   POPUPS — two-panel: maroon aside + white form
   ========================================================================== */

.modal-dialog {
    width: 880px;
    max-width: 94%;
}

.nri-popbody {
    padding: 0 !important;
    position: relative;
}

.nri-popbody .close {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 5;
    margin: 0;
    opacity: .6;
    font-size: 30px;
    color: var(--brand-btn);
    text-shadow: none;
}

.nri-popbody .close:hover {
    opacity: 1;
}

.nri-pop {
    display: flex;
    flex-wrap: wrap;
}

.nri-pop-aside {
    width: 42%;
    background: var(--brand-maroon);
    color: #fff;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nri-pop-main {
    width: 58%;
    padding: 48px 44px 46px;
    background: #fff;
}

.nri-pop-brand {
    display: block;
    font-family: var(--sans-md);
    font-size: 22px;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    margin-bottom: 34px;
}

.nri-pop-brand small {
    display: block;
    font-family: var(--sans);
    font-size: 8px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, .7);
    margin-top: 6px;
}

.nri-popbody .poptitle {
    font-family: var(--serif) !important;
    font-weight: normal !important;
    font-size: 30px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #fff !important;
    text-align: left !important;
    margin: 0 0 26px !important;
}

.nri-pop-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nri-pop-list li {
    position: relative;
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .82);
    padding: 0 0 0 26px;
    margin-bottom: 16px;
}

.nri-pop-list li:before {
    content: "\2713";
    font-family: -apple-system, 'Segoe UI Symbol', Arial, sans-serif;
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 11px;
    color: rgba(255, 255, 255, .6);
}

.nri-pop-sub {
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.75;
    color: var(--brand-body);
    margin: 0 0 34px;
}

/* ==========================================================================
   MOBILE SLIDERS (owl)
   ========================================================================== */

.nri-slider.owl-loaded {
    display: block;
}

.nri-slider .owl-stage {
    display: flex;
    align-items: stretch;
}

.nri-slider .owl-item {
    display: flex;
}

.nri-slider .owl-item > * {
    width: 100%;
}

.nri-slider .owl-dots {
    text-align: center;
    margin-top: 26px;
}

.nri-slider .owl-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbc2b7;
    margin: 0 5px;
    border: 0;
    padding: 0;
    transition: width .25s ease, background .25s ease;
}

.nri-slider .owl-dot.active {
    background: var(--brand-btn);
    width: 22px;
    border-radius: 4px;
}

/* ==========================================================================
   RESPONSIVE — new blocks
   ========================================================================== */

@media (max-width: 991px) {
    .nri-factsplit-head,
    .nri-factsplit-list,
    .nri-faqsplit-aside,
    .nri-faqsplit-list {
        width: 100%;
        padding-right: 0;
    }

    .nri-factsplit-list {
        margin-top: 34px;
    }

    .nri-faqsplit-aside {
        position: static;
        margin-bottom: 40px;
    }

    .nri-zig-media,
    .nri-zig-copy,
    .nri-zig-item:nth-child(even) .nri-zig-media {
        width: 100%;
        margin-left: 0;
    }

    .nri-zig-item:nth-child(even) .nri-zig-media {
        order: 0;
    }

    .nri-zig-item:nth-child(even) .nri-zig-copy {
        order: 1;
    }

    .nri-zig-copy {
        margin-top: 30px;
    }

    .nri-pop-aside,
    .nri-pop-main {
        width: 100%;
    }

    .nri-pop-aside {
        padding: 34px 32px;
    }
}

@media (max-width: 767px) {
    .nri-factrow {
        flex-wrap: wrap;
        gap: 6px 20px;
        padding: 22px 0;
    }

    .nri-factrow-key {
        width: auto;
        font-size: 28px;
    }

    .nri-factrow-val {
        width: 100%;
        flex: none;
        font-size: 15px;
    }

    /* sliders: items are single cards, borders off */
    .nri-slider .nri-reason,
    .nri-slider .nri-assist-item,
    .nri-slider .nri-zig-item {
        border: 1px solid var(--brand-line);
        padding: 30px 26px;
        margin: 0;
    }

    .nri-slider .nri-zig-item {
        display: block;
        padding: 0;
    }

    .nri-slider .nri-zig-media img {
        height: 240px;
    }

    .nri-slider .nri-zig-copy {
        margin: 0;
        padding: 26px 24px 30px;
    }

    .nri-zig-title {
        font-size: 24px;
    }

    .nri-reasons {
        border-top: 0;
    }

    .nri-assist {
        /* margin-top: 50px; */
        padding-top: 40px;
    }

    .nri-slider .nri-assist-item {
        min-height: 170px;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .nri-faq .panel-title a {
        gap: 14px;
        padding: 20px 56px 20px 20px;
        font-size: 16px;
    }

    .nri-faq .panel-title a:after {
        right: 16px;
        width: 26px;
        height: 26px;
        line-height: 24px;
    }

    .nri-faq .panel-body {
        margin: 0 20px;
        padding: 18px 0 24px;
        font-size: 15px;
    }

    .nri-faq-cta {
        padding: 28px 22px 30px;
    }

    .nri-pop-aside {
        padding: 28px 24px;
    }

    .nri-popbody .poptitle {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }

    .nri-pop-brand {
        font-size: 18px;
        margin-bottom: 22px;
    }

    .nri-pop-main {
        padding: 30px 24px 32px;
    }
}

/* ---------- popup: beat style.css's ".modal-body p" and ".modal-body form .form-group" ---------- */
.modal-body form.nri-popform .form-group {
    height: auto;
    margin: 0 0 30px;
}

.modal-body .nri-pop-sub {
    color: var(--brand-body);
    text-align: left;
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 34px;
}

.modal-body .nri-pop-list li {
    color: rgba(255, 255, 255, .82);
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px;
}

.modal-body .nri-form-note {
    color: var(--brand-muted);
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
    margin: 20px 0 0;
}

.modal-body form.nri-popform .help-block {
    color: #a8443c;
    text-align: left;
    font-size: 13px;
    margin: 8px 0 0;
}

/* ==========================================================================
   REVISIONS — mosaic restored, single-column FAQ, slider fixes
   ========================================================================== */

/* Inside — explicit mosaic grid, flat children so the mobile slider can use them */
.nri-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px 28px;
    align-items: start;
    margin: 0;
}

.nri-art {
    display: block;
    width: 100%;
    margin: 0;
}

.nri-mosaic .nri-art:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.nri-mosaic .nri-art:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.nri-mosaic .nri-art:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.nri-mosaic .nri-art:nth-child(4) {
    grid-column: 3;
    grid-row: 1;
}

/* FAQ — full width, questions under the intro paragraph */
.nri-faq-intro {
    max-width: 780px;
    margin-bottom: 44px;
}

.nri-faq {
    margin-top: 0;
}

/* popup — single panel now the aside is gone */
.modal-dialog {
    width: 560px;
}

.nri-pop {
    display: block;
}

.nri-pop-main {
    width: 100%;
    padding: 8px 20px 14px;
}

.modal-body .poptitle {
    font-family: var(--serif) !important;
    font-weight: normal !important;
    font-size: 30px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--brand-maroon) !important;
    text-align: left !important;
    margin: 0 0 12px !important;
}

/* ---------- sliders: nothing clipped, controls underneath ---------- */
.nri-slider .owl-stage {
    display: block;
}

.nri-slider .owl-item {
    display: block;
    float: left;
}

.nri-slider .owl-stage-outer {
    overflow: hidden;
    padding: 4px 2px;
    margin: -4px -2px;
}

.nri-slider .owl-nav {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.nri-slider .owl-nav button.owl-prev,
.nri-slider .owl-nav button.owl-next {
    width: 46px;
    height: 46px;
    line-height: 44px;
    text-align: center;
    border: 1px solid var(--brand-line);
    background: transparent;
    color: var(--brand-btn);
    font-size: 20px;
    padding: 0;
    border-radius: 0;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.nri-slider .owl-nav button.owl-prev:hover,
.nri-slider .owl-nav button.owl-next:hover {
    background: var(--brand-btn);
    border-color: var(--brand-btn);
    color: #fff;
}

.nri-slider .owl-nav button.disabled {
    opacity: .35;
}

.nri-slider .owl-dots {
    text-align: center;
    margin-top: 18px;
}

@media (max-width: 991px) {
    .nri-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .nri-mosaic .nri-art:nth-child(1),
    .nri-mosaic .nri-art:nth-child(2),
    .nri-mosaic .nri-art:nth-child(3),
    .nri-mosaic .nri-art:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 767px) {
    /* grid off — owl lays the cards out instead */
    .nri-mosaic {
        display: block;
    }

    .nri-slider .nri-art {
        margin: 0;
        border: 1px solid var(--brand-line);
    }

    .nri-slider .nri-art img,
    .nri-slider .nri-art.nri-h-470 img,
    .nri-slider .nri-art.nri-h-260 img,
    .nri-slider .nri-art.nri-h-230 img,
    .nri-slider .nri-art.nri-h-180 img {
        height: 240px;
    }

    .nri-slider .nri-art .nri-art-cat {
        margin-top: 0;
    }

    .nri-slider .nri-art .nri-art-cat,
    .nri-slider .nri-art .nri-art-title,
    .nri-slider .nri-art .nri-art-by {
        padding-left: 22px;
        padding-right: 22px;
    }

    .nri-slider .nri-art .nri-art-cat {
        padding-top: 22px;
    }

    .nri-slider .nri-art .nri-art-by {
        padding-bottom: 24px;
    }

    /* instagram strip as a slider */
    .nri-insta.nri-slider {
        margin: 40px 0 0;
    }

    .nri-slider.nri-insta a {
        width: 100%;
        padding: 0;
    }

    .nri-slider.nri-insta img {
        height: 300px;
    }

    /* reason + assist cards fill the frame cleanly */
    .nri-slider .nri-reason,
    .nri-slider .nri-assist-item {
        margin: 0;
        min-height: 0;
    }

    .nri-slider .nri-reason {
        padding: 30px 26px;
    }

    .nri-slider .nri-assist-item {
        padding: 30px 16px;
    }

    .nri-faq-intro {
        margin-bottom: 30px;
    }
}

/* ==========================================================================
   REVISIONS 2 — tighter sections, larger body type, bordered reason cards,
   solid header with the banner starting beneath it
   ========================================================================== */

/* ---------- tighter vertical rhythm ---------- */
.nri-sec {
    padding: 84px 0;
}

.nri-sec-tight {
    padding: 60px 0;
}

.nri-sec-head {
    margin-bottom: 50px;
}

.nri-footer {
    padding: 60px 0 70px;
}

/* ---------- larger body copy across the page ---------- */
.nri-p,
.nri-bullets li {
    font-size: 18px;
    line-height: 1.85;
}

.nri-reason p,
.nri-art-title,
.nri-faq .panel-body,
.nri-crow,
.nri-emi-field label + *,
.nri-formcard-sub,
.modal-body .nri-pop-sub {
    font-size: 17px;
}

.nri-faq .panel-title a {
    font-size: 18px;
}

.nri-fact-label,
.nri-factrow-val,
.nri-tile-cap,
.nri-assist-item span {
    font-size: 16px;
}

.nri-art-by,
.nri-fine,
.nri-note {
    font-size: 14px;
}

.nri-form-note,
.modal-body .nri-form-note {
    font-size: 13px;
}

.nri-hero-sub {
    font-size: 19px;
}

.nri-menu a,
.nri-nav-actions a {
    font-size: 13px;
}

#contact-form.nri-contactform .form-control,
.nri-formcard .form-control,
.nri-popform .form-control,
.nri-contactform .form-control {
    font-size: 18px;
}

.nri-flabel,
.nri-crow-label,
.nri-emi-field label {
    font-size: 13px;
}

.nri-eyebrow {
    font-size: 14px;
}

/* ---------- Why choose us — bordered cards ---------- */
.nri-reasons {
    display: flex;
    flex-wrap: wrap;
    border-top: 0;
    margin: 0 -14px;
}

.nri-reason {
    width: 33.3333%;
    padding: 0 14px;
    margin-bottom: 28px;
    border: 0;
    display: flex;
}

.nri-reason + .nri-reason,
.nri-reason:nth-child(3n+1) {
    border-left: 0;
    padding-left: 14px;
}

.nri-reason-inner {
    border: 1px solid var(--brand-line);
    background: var(--brand-white);
    padding: 38px 34px 40px;
    width: 100%;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.nri-reason-inner:hover {
    border-color: #cdc4b9;
    box-shadow: 0 18px 40px rgba(40, 34, 26, .07);
}

/* ---------- banner starts below a solid header ---------- */
.nri-nav {
    background: var(--brand-maroon);
}

.nri-hero {
    margin-top: 92px;
}

.nri-hero img {
    height: auto;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991px) {
    .nri-sec {
        padding: 62px 0;
    }

    .nri-reason {
        width: 50%;
    }

    .nri-reason:nth-child(3n+1),
    .nri-reason:nth-child(2n+1) {
        padding-left: 14px;
    }
}

@media (max-width: 767px) {
    .nri-sec {
        padding: 48px 0;
    }

    .nri-sec-tight {
        padding: 40px 0;
    }

    .nri-sec-head {
        margin-bottom: 32px;
    }

    .nri-p,
    .nri-bullets li {
        font-size: 17px;
    }

    .nri-faq .panel-title a {
        font-size: 17px;
    }

    .nri-faq .panel-body,
    .nri-reason p,
    .nri-art-title {
        font-size: 16px;
    }

    .nri-hero {
        margin-top: 68px;
    }

    .nri-hero img {
        height: auto;
    }

    /* sliders: one card per view, all the same height */
    .nri-reasons {
        margin: 0;
    }

    .nri-reason {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .nri-slider .nri-reason {
        border: 0;
        padding: 0;
    }

    .nri-slider .nri-reason-inner {
        padding: 30px 26px;
    }

    .nri-slider.owl-loaded .owl-stage {
        display: flex;
        align-items: stretch;
    }

    .nri-slider.owl-loaded .owl-item {
        display: flex;
        float: none;
        flex: 0 0 auto;
    }

    .nri-slider.owl-loaded .owl-item > * {
        width: 100%;
        display: flex;
    }

    .nri-slider.owl-loaded .nri-assist-item,
    .nri-slider.owl-loaded .nri-art {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .nri-slider .nri-assist-item {
        border: 1px solid var(--brand-line);
        justify-content: center;
        align-items: center;
        padding: 32px 16px;
    }

    .nri-footer {
        padding: 48px 0 60px;
        margin-bottom: 50px;
    }
}

/* the scroll script needs id="hide-menu"; style.css pads that id — reset it
   so the header height matches the hero's top margin exactly */
#hide-menu.nri-nav {
    padding: 0;
}

/* ==========================================================================
   EMI CALCULATOR — structure from /emi, styled to the brand palette
   ========================================================================== */

:root {
    --brand-gold: #ffcb08;
}

/* Buttons use the DAC orange. Kept as tokens so the hover/pressed step stays
   in one place; the blue tokens above are the brand colour for headings,
   rules and links. */
:root {
    --brand-btn: #f26522;
    --brand-btn-hv: #d4521a;
}

.nri-accent {
    color: var(--brand-gold);
}

.nri-emi2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.nri-emi2-inputs {
    width: 52%;
    padding-right: 70px;
}

.nri-emi2-scheme {
    width: 48%;
}

.nri-emi2-note {
    font-size: 15px !important;
    color: var(--brand-muted);
    margin-bottom: 44px;
}

/* ---- slider rows ---- */
.nri-slider-box {
    margin-bottom: 38px;
}

.nri-slider-box:last-child {
    margin-bottom: 0;
}

.nri-slider-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 16px;
}

.nri-slider-head label {
    font-family: var(--sans-md);
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin: 0;
}

.nri-range-value {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--brand-line);
    background: #fff;
}

.nri-range-value .unit {
    background: var(--brand-maroon);
    color: #fff;
    font-family: var(--sans-md);
    font-size: 13px;
    letter-spacing: 1px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
}

.nri-range-value .value-input {
    width: 150px;
    border: 0;
    background: transparent;
    padding: 8px 14px;
    text-align: right;
    font-family: var(--serif);
    font-size: 22px;
    color: var(--brand-maroon);
    outline: none;
}

.nri-range-value .value-input::-webkit-outer-spin-button,
.nri-range-value .value-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.nri-range-value .value-input[type="number"] {
    -moz-appearance: textfield;
}

.nri-error-text {
    font-family: var(--sans);
    font-size: 13px;
    color: #a8443c;
    margin: 0 0 8px;
    min-height: 1px;
}

.nri-range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 3px;
    background: var(--brand-line);
    outline: none;
    margin: 6px 0 12px;
}

.nri-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-maroon);
    border: 3px solid #fff;
    box-shadow: 0 1px 5px rgba(40, 34, 26, .28);
    cursor: pointer;
}

.nri-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-maroon);
    border: 3px solid #fff;
    cursor: pointer;
}

.nri-range-caps {
    display: flex;
    justify-content: space-between;
    font-family: var(--sans);
    font-size: 13px;
    color: var(--brand-muted);
}

/* ---- selected scheme panel ---- */
.nri-scheme-box {
    background: var(--brand-maroon);
    color: #fff;
    padding: 46px 44px 44px;
}

.nri-scheme-box h3 {
    font-family: var(--serif);
    font-weight: normal;
    font-size: 26px;
    color: #fff;
    margin: 0 0 32px;
}

.nri-scheme-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
}

.nri-scheme-figures {
    flex: 1 1 200px;
}

.nri-scheme-chart {
    flex: 0 0 190px;
    text-align: center;
}

.nri-scheme-label {
    font-family: var(--sans-md);
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
    margin: 0 0 6px;
}

.nri-scheme-value {
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 24px;
}

.nri-scheme-value.sm {
    font-size: 22px;
    margin-bottom: 0;
}

.nri-scheme-value small {
    font-family: var(--sans);
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

/* donut — conic gradient, no charting library needed */
.nri-donut {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    margin: 0 auto 18px;
    background: conic-gradient(var(--brand-gold) 0 70%, rgba(255, 255, 255, .22) 70% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease;
}

.nri-donut-hole {
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: var(--brand-maroon);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nri-donut-hole span {
    font-family: var(--serif);
    font-size: 30px;
    color: #fff;
    line-height: 1;
}

.nri-donut-hole small {
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .6);
    margin-top: 5px;
}

.nri-donut-key {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.nri-donut-key li {
    font-family: var(--sans);
    font-size: 13px;
    color: rgba(255, 255, 255, .72);
    display: flex;
    align-items: center;
    gap: 7px;
}

.nri-donut-key i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.nri-donut-key .k1 {
    background: var(--brand-gold);
}

.nri-donut-key .k2 {
    background: rgba(255, 255, 255, .3);
}

.nri-btn-light {
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
    background: var(--brand-btn);
    margin-top: 34px;
}

.nri-scheme-cta {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
    font-size: 13px;
    letter-spacing: 1.4px;
    padding: 14px 26px;
    margin-top: 24px;
}

.nri-btn-light:hover,
.nri-btn-light:focus {
    background: var(--brand-btn-hv);
    border-color: #fff;
    color: #fff;
}

@media (max-width: 991px) {
    .nri-emi2-inputs,
    .nri-emi2-scheme {
        width: 100%;
        padding-right: 0;
    }

   
}

@media (max-width: 767px) {
    .nri-slider-head {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nri-range-value {
        width: 100%;
    }

    .nri-range-value .value-input {
        width: auto;
        flex: 1;
        min-width: 0;
        font-size: 19px;
    }

    .nri-scheme-box {
        padding: 32px 24px 34px;
    }

    .nri-scheme-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .nri-scheme-chart {
        flex: none;
        width: 100%;
    }

    .nri-scheme-value {
        font-size: 26px;
    }
}

/* ==========================================================================
   THANK YOU PAGE
   ========================================================================== */

.nri-ty {
    background: var(--brand-ivory);
    padding: 92px 0 100px;
    margin-top: 92px;
    min-height: 62vh;
}

.nri-ty-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-line);
    border-top: 3px solid var(--brand-maroon);
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 60px 56px;
    text-align: center;
}

.nri-ty-tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: var(--brand-maroon);
    color: #fff;
    font-size: 28px;
    margin-bottom: 30px;
}

.nri-ty-eyebrow {
    justify-content: center;
}

.nri-ty-eyebrow:before,
.nri-ty-eyebrow:after {
    content: "";
    width: 70px;
    flex: none;
    height: 1px;
    background: var(--brand-line);
}

.nri-ty-eyebrow:before {
    margin-right: 20px;
}

.nri-ty-card .nri-p {
    max-width: 620px;
    margin: 0 auto;
}

.nri-ty-steps {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    margin: 50px 0 44px;
    border-top: 1px solid var(--brand-line);
    padding-top: 40px;
}

.nri-ty-step {
    width: 33.3333%;
    padding: 0 26px;
    border-left: 1px solid var(--brand-line);
}

.nri-ty-step:first-child {
    border-left: 0;
    padding-left: 0;
}

.nri-ty-step:last-child {
    padding-right: 0;
}

.nri-ty-step-no {
    display: block;
    font-family: var(--sans-md);
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--brand-muted);
    margin-bottom: 14px;
}

.nri-ty-step h3 {
    font-family: var(--serif);
    font-weight: normal;
    font-size: 21px;
    color: var(--brand-maroon);
    margin: 0 0 10px;
}

.nri-ty-step p {
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.75;
    color: var(--brand-body);
    margin: 0;
}

.nri-ty-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.nri-ty-meta {
    font-family: var(--sans);
    font-size: 15px;
    color: var(--brand-muted);
    margin: 34px 0 0;
}

.nri-ty-meta a {
    color: var(--brand-maroon);
    border-bottom: 1px solid var(--brand-line);
    text-decoration: none;
}

.nri-ty-meta a:hover {
    border-bottom-color: var(--brand-maroon);
    text-decoration: none;
}

@media (max-width: 767px) {
    .nri-ty {
        padding: 48px 0 56px;
        margin-top: 68px;
    }

    .nri-ty-card {
        padding: 36px 24px 38px;
    }

    .nri-ty-tick {
        width: 62px;
        height: 62px;
        font-size: 23px;
        margin-bottom: 22px;
    }

    .nri-ty-step {
        width: 100%;
        padding: 22px 0;
        border-left: 0;
        border-top: 1px solid var(--brand-line);
    }

    .nri-ty-step:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .nri-ty-steps {
        margin: 34px 0 32px;
        padding-top: 30px;
    }

    .nri-ty-actions .nri-btn {
        width: 100%;
    }
}

/* EMI heading sits above the calculator row, not inside the input column */
.nri-emi2-head {
    max-width: 760px;
}

.nri-emi2-head .nri-h {
    margin-bottom: 18px;
}

.nri-emi2-head .nri-emi2-note {
    margin-bottom: 0;
}

.nri-emi2 {
    align-items: stretch;
}

.nri-emi2-inputs {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* EMI input column gets its own card so it reads as a pair with the scheme panel */
.nri-emi2-inputs {
    background: var(--brand-white);
    border: 1px solid var(--brand-line);
    padding: 46px 44px;
}

.nri-sec:not(.warm) .nri-emi2-inputs {
    background: var(--brand-ivory);
}

.nri-emi2 {
    align-items: stretch;
}

.nri-emi2-inputs {
    width: 52%;
    margin-right: 0;
    padding-right: 44px;
}



.nri-emi2-scheme .nri-scheme-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 991px) {
    .nri-emi2-inputs {
        width: 100%;
        padding: 34px 28px;
    }
}

@media (max-width: 767px) {
    .nri-emi2-inputs {
        padding: 28px 20px;
    }
}

/* ==========================================================================
   REVISIONS 3 — EMI mobile alignment, smaller fact keys, dot buttons,
   bootstrap validation feedback
   ========================================================================== */

/* ---- tenure box only needs room for two digits ---- */
.nri-range-value.sm .value-input {
    width: 92px;
}

/* ---- key facts: smaller value, paragraph sits under it ---- */
.nri-factrow-key {
    font-size: 27px;
    width: 190px;
}

/* ---- owl dots are <button>; bootstrap resets their background ---- */
.nri-slider button.owl-dot,
.nri-slider .owl-dots button.owl-dot {
    background: #cbc2b7 !important;
    border: 0;
    outline: none;
    box-shadow: none;
}

.nri-slider button.owl-dot.active,
.nri-slider .owl-dots button.owl-dot.active {
    background: var(--brand-btn) !important;
}

.nri-slider button.owl-dot:focus {
    outline: none;
}

/* ---- bootstrap validation feedback ---- */
.nri-formcard .help-block,
.nri-popform .help-block,
.nri-contactform .help-block,
.modal-body form.nri-popform .help-block {
    display: none;
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.5;
    color: #a8443c;
    margin: 8px 0 0;
    text-align: left;
}

.has-error .help-block {
    display: block;
}

.has-error .form-control {
    border-bottom-color: #a8443c !important;
}

.has-error .nri-flabel {
    color: #a8443c;
}

.has-success .form-control {
    border-bottom-color: #7d8a6b !important;
}

/* ==========================================================================
   RESPONSIVE — these must come last so they beat the base widths above
   ========================================================================== */

@media (max-width: 991px) {
    .nri-emi2-inputs,
    .nri-emi2-scheme {
        width: 100%;
    }

    .nri-emi2-scheme {
        margin-top: 0;
    }

    .nri-emi2-scheme .nri-scheme-box {
        display: block;
    }
}

@media (max-width: 767px) {
    /* fact rows: number in its own column, value and copy stacked beside it */
    .nri-factrow {
        display: grid;
        grid-template-columns: 34px 1fr;
        column-gap: 14px;
        row-gap: 4px;
        align-items: baseline;
    }

    .nri-factrow-no {
        grid-column: 1;
        grid-row: 1;
        width: auto;
    }

    .nri-factrow-key {
        grid-column: 2;
        grid-row: 1;
        width: auto;
        font-size: 23px;
    }

    .nri-factrow-val {
        grid-column: 2;
        grid-row: 2;
        width: auto;
    }

    .nri-factrow:hover {
        padding-left: 0;
    }

    /* EMI panels stack full width and stay flush */
    .nri-emi2-inputs,
    .nri-emi2-scheme {
        width: 100%;
    }

    .nri-emi2-inputs {
        border-bottom: 0;
    }

    .nri-scheme-box {
        padding: 30px 22px 32px;
    }

    .nri-scheme-grid {
        display: block;
    }

    .nri-scheme-chart {
        width: 100%;
        margin-top: 26px;
    }

    .nri-scheme-box .nri-btn {
        padding: 13px 20px;
        letter-spacing: 1.2px;
        white-space: nowrap;
    }

    .nri-range-value.sm .value-input {
        width: auto;
        flex: 1;
    }
}

/* ---------- brand logo ---------- */
.nri-logo {
    display: block;
    height: 52px;
    width: auto;
}

@media (max-width: 767px) {
    .nri-logo {
        height: 30px;
    }
}

/* ==========================================================================
   FIND YOUR IDEAL PROPERTY — filter rail + project cards
   ========================================================================== */

.nri-projwrap {
    display: block;
}

/* ---- locality filter (sits above the grid) ---- */
.nri-projtabs {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 26px;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--brand-line);
}

.nri-projfilter-label {
    font-family: var(--sans-md);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin: 0;
}

/* the wrapper draws the chevron, since the native one can't be styled */
.nri-projfilter-field {
    position: relative;
    min-width: 320px;
}

.nri-projfilter-field::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid var(--brand-maroon);
    border-bottom: 2px solid var(--brand-maroon);
    transform: rotate(45deg);
    pointer-events: none;
}

.nri-projfilter-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 14px 46px 14px 18px;
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.3;
    color: var(--brand-btn);
    background: var(--brand-white);
    border: 1px solid var(--brand-line);
    border-radius: 0;
    cursor: pointer;
    transition: border-color .25s ease;
}

.nri-projfilter-select:hover,
.nri-projfilter-select:focus {
    border-color: var(--brand-btn);
    outline: none;
}

/* ---- cards ---- */
.nri-projgrid-wrap {
    width: 100%;
}

.nri-projgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.nri-proj {
    background: var(--brand-white);
    border: 1px solid var(--brand-line);
    display: flex;
    flex-direction: column;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.nri-proj:hover {
    border-color: #cdc4b9;
    box-shadow: 0 18px 40px rgba(40, 34, 26, .08);
}

.nri-proj-media {
    position: relative;
    overflow: hidden;
}

.nri-proj-media img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.nri-proj:hover .nri-proj-media img {
    transform: scale(1.05);
}

.nri-proj-tag {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--brand-maroon);
    color: #fff;
    font-family: var(--sans-md);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 14px;
}

.nri-proj-body {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nri-proj-body h3 {
    font-family: var(--serif);
    font-weight: normal;
    font-size: 24px;
    line-height: 1.25;
    color: var(--brand-maroon);
    margin: 0 0 12px;
}

.nri-proj-loc {
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.6;
    color: var(--brand-body);
    margin: 0 0 10px;
}

.nri-proj-loc i {
    color: var(--brand-gold);
    margin-right: 7px;
}

.nri-proj-size {
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.65;
    color: var(--brand-muted);
    margin: 0 0 20px;
}

.nri-proj-foot {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--brand-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nri-proj-price {
    font-family: var(--serif);
    font-size: 21px;
    color: var(--brand-maroon);
}

.nri-proj-cta {
    font-family: var(--sans-md);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-btn);
    border: 1px solid var(--brand-line);
    padding: 10px 18px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all .25s ease;
}

.nri-proj-cta:hover {
    background: var(--brand-btn);
    border-color: var(--brand-btn);
    color: #fff;
    text-decoration: none;
}

.nri-proj-note {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--brand-muted);
    margin: 28px 0 0;
}

@media (max-width: 991px) {
    .nri-projgrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nri-projfilter-field {
        min-width: 0;
        flex: 1;
    }

    .nri-projfilter-select {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .nri-projgrid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nri-proj-media img {
        height: 200px;
    }

    .nri-proj-body h3 {
        font-size: 21px;
    }

    .nri-proj-foot {
        flex-wrap: wrap;
    }
}

/* longer "onwards" prices shouldn't crowd the button */
.nri-proj-price {
    font-size: 19px;
    line-height: 1.3;
}

.nri-proj-foot {
    flex-wrap: wrap;
    row-gap: 12px;
}

/* the label and a 320px select won't sit side by side on a phone, so the label
   moves above the field and the select takes the full width */
@media (max-width: 767px) {
    .nri-projtabs {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-bottom: 22px;
        margin-bottom: 26px;
    }

    .nri-projfilter-select {
        font-size: 16px;
        padding: 13px 42px 13px 16px;
    }
}

/* ---------- submit loader (brand mark) ---------- */
#pageloader {
    background: rgba(16, 31, 77, .94) !important;
}

.nri-loader {
    text-align: center;
}

.nri-loader img {
    width: 190px;
    height: auto;
    display: block;
    margin: 0 auto 26px;
}

.nri-loader-bar {
    display: block;
    width: 190px;
    height: 2px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .18);
    overflow: hidden;
    position: relative;
}

.nri-loader-bar i {
    position: absolute;
    left: -40%;
    top: 0;
    width: 40%;
    height: 100%;
    background: var(--brand-gold);
    animation: nriLoad 1.1s ease-in-out infinite;
}

@keyframes nriLoad {
    0% { left: -40%; }
    100% { left: 100%; }
}

@media (max-width: 767px) {
    .nri-loader img,
    .nri-loader-bar {
        width: 150px;
    }
}

/* ==========================================================================
   HEADER FIXES — layering, tablet menu access, anchor offsets
   These come last so they win over style.css and the blocks above.
   ========================================================================== */

/* style.css sets #hide-menu{z-index:9999}, which floated the header above the
   modal backdrop (1040), the modals (1050) and the mobile nav (1050). */
#hide-menu.nri-nav {
    padding: 0;
    z-index: 1030;
}

/* the mobile nav and any open modal must sit above the header */
.nri-mobile-nav {
    z-index: 1060;
}

/* the burger used to carry bootstrap's .visible-xs, so between 768px and
   991px the desktop menu was hidden AND the burger was hidden — no way to
   navigate at all. Drive it from the same breakpoint as .nri-menu instead. */
.nri-burger {
    display: none;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 991px) {
    .nri-menu {
        display: none;
    }

    .nri-burger {
        display: block;
    }
}

@media (max-width: 767px) {
    /* mobile header is logo + burger only — Enquire, Call and FAQs all live
       in the drawer / the floating CTAs instead */
    .nri-nav-enquire,
    .nri-nav-call,
    .nri-nav-faq {
        display: none;
    }
}

/* in-page anchors were landing underneath the fixed header */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 76px;
    }
}

[id]:not(body) {
    scroll-margin-top: 100px;
}

@media (max-width: 767px) {
    [id]:not(body) {
        scroll-margin-top: 76px;
    }
}

/* ==========================================================================
   VALIDATION MESSAGES — must beat the display:none above
   .modal-body form.nri-popform .help-block (0,3,1) was out-specifying
   .has-error .help-block (0,2,0), so errors never appeared inside popups.
   ========================================================================== */

.has-error .help-block,
.nri-formcard .has-error .help-block,
.nri-popform .has-error .help-block,
.nri-contactform .has-error .help-block,
.modal-body form.nri-popform .has-error .help-block {
    display: block;
}

.has-error .form-control,
.modal-body form.nri-popform .has-error .form-control {
    border-bottom-color: #a8443c !important;
}

.has-error .nri-flabel {
    color: #a8443c;
}

.has-success .form-control {
    border-bottom-color: #7d8a6b !important;
}

/* a form-level message shown when the user submits with errors still open */
.nri-form-alert {
    display: none;
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.5;
    color: #a8443c;
    background: rgba(168, 68, 60, .07);
    border-left: 2px solid #a8443c;
    padding: 10px 14px;
    margin: 0 0 18px;
    text-align: left;
}

.nri-form-alert.is-visible {
    display: block;
}

/* ==========================================================================
   OVERLAY STACKING — one coherent order instead of a pile of z-index:9999
   fixed CTAs 1020  <  header 1030  <  backdrop 1040  <  modal  <  drawer 1060
   ========================================================================== */

/* the floating "Enquire Now" CTA sat at 9999, so it punched through the modal
   backdrop and floated beside an open popup */
.interested {
    z-index: 1020;
}

body.modal-open .interested {
    visibility: hidden;
}

/* "Download Brochure" used to hold the bottom-left corner; with it gone the
   Enquire CTA moves over into that slot. */
.interested {
    right: auto !important;
    left: 10px;
}

/* style.css washes .modal with rgba(185,185,185,.6) on top of the real
   backdrop, which greyed out the dim instead of darkening it */
.modal {
    background: transparent;
}

/* ---------- mobile sticky Enquire CTA (replaced the brochure bar) ----------
   .interested is hidden-xs, so on phones this is the only persistent CTA.
   Same 1020 layer as the desktop CTA, and hidden behind an open modal. */
.nri-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1020;
    padding: 10px 12px;
    background: var(--brand-white);
    border-top: 1px solid var(--brand-line);
}

.nri-mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 14px 10px;
    border: 1px solid var(--brand-btn);
    border-radius: 0;
    background: var(--brand-btn);
    color: #fff;
    font-family: var(--sans-md);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
}

.nri-mobile-cta-btn:hover,
.nri-mobile-cta-btn:focus {
    background: var(--brand-btn-hv);
    border-color: var(--brand-btn-hv);
    color: #fff;
    outline: none;
}

.nri-mobile-cta-btn i {
    display: inline-flex;
    line-height: 0;
}

.nri-mobile-cta-btn svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

body.modal-open .nri-mobile-cta {
    visibility: hidden;
}

/* ---------- drawer CTAs (Enquire / Call, removed from the mobile header) ---------- */
.nri-mobile-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
    padding: 0 22px;
}

.nri-mobile-actions a {
    flex: 1;
    max-width: 190px;
    font-family: var(--sans-md);
    font-size: 13px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 14px 10px;
    border: 1px solid rgba(255, 255, 255, .45);
    color: #fff;
}

.nri-mobile-actions a i {
    margin-right: 8px;
}


/* ==========================================================================
   REVISIONS 3 — tighter assistance strip, filter-free project grid
   ========================================================================== */

/* ---------- assistance strip sits close under the banner ---------- */
#assistance.nri-sec {
    padding: 44px 0;
}

@media (max-width: 991px) {
    #assistance.nri-sec {
        padding: 34px 0;
    }
}

@media (max-width: 767px) {
    #assistance.nri-sec {
        padding: 26px 0;
    }
}

/* ---------- project cards ---------- */
.nri-projgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.nri-proj {
    background: var(--brand-white);
    border: 0;
    border-radius: 0;
    box-shadow: 2px 2px 11px rgba(23, 45, 112, .28);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
    transition: ease all .5s;
}

.nri-proj:hover {
    border: 0;
    box-shadow: 2px 2px 18px rgba(23, 45, 112, .4);
}

.nri-proj-imglink {
    display: block;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.nri-proj-media {
    position: relative;
    overflow: hidden;
}

.nri-proj-media img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: none;
}

.nri-proj:hover .nri-proj-media img {
    transform: none;
}

/* white detail panel lifts over the image */
.nri-proj-details {
    position: relative;
    width: 100%;
    background: var(--brand-white);
    margin-top: -30px;
    padding: 3% 3% 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* project name — outlined plate: black rule, no fill */
.nri-proj-name {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    padding: 8px 10px;
    text-align: center;
    color: var(--brand-maroon);
    border: 1px solid var(--brand-maroon);
    border-radius: 6px;
    font-family: var(--sans-md);
    font-size: 15px;
    line-height: 1.35;
}

/* ---- cards carrying a live offer ------------------------------------- */
.nri-proj.has-offer {
    position: relative;
    transform: translateY(-6px);
    box-shadow: 0 0 0 2px #a8323c, 0 0 0 7px rgba(168, 50, 60, .12),
                4px 14px 34px -10px rgba(109, 31, 40, .55);
}

.nri-proj.has-offer:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 0 2px #a8323c, 0 0 0 9px rgba(168, 50, 60, .18),
                4px 20px 46px -12px rgba(109, 31, 40, .65);
}

/* gold cap across the top of an offer card */
.nri-proj.has-offer::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 5px;
    z-index: 3;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(90deg, #c9922f 0%, #f2c15c 50%, #c9922f 100%);
}

/* offer tag pinned on the project image */
.nri-proj-flag {
    position: absolute;
    top: 14px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6d1f28 0%, #a8323c 100%);
    box-shadow: 0 4px 14px -3px rgba(0, 0, 0, .65), 0 0 0 2px rgba(242, 193, 92, .55);
    animation: nri-flag-pulse 2.4s ease-in-out infinite;
}

@keyframes nri-flag-pulse {
    0%, 100% { box-shadow: 0 4px 14px -3px rgba(0, 0, 0, .65), 0 0 0 2px rgba(242, 193, 92, .55); }
    50%      { box-shadow: 0 4px 14px -3px rgba(0, 0, 0, .65), 0 0 0 6px rgba(242, 193, 92, .15); }
}

.nri-proj-flag svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: #f2c15c;
}

.nri-proj-flag-t {
    font-family: var(--sans-md);
    font-size: 10.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    .nri-proj-flag { animation: none; }
}

/* limited-period offer ribbon under the project name */
.nri-proj-offer {
    position: relative;
    display: block;
    width: calc(100% + 6px);
    margin: -6px -3px 14px;
    padding: 9px 12px 10px;
    overflow: hidden;
    text-align: center;
    border-radius: 4px;
    background: linear-gradient(135deg, #6d1f28 0%, #a8323c 48%, #6d1f28 100%);
    box-shadow: 0 6px 16px -8px rgba(109, 31, 40, .75);
}

/* sheen that sweeps across the ribbon */
.nri-proj-offer::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .38) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: nri-offer-sheen 3.6s ease-in-out infinite;
}

@keyframes nri-offer-sheen {
    0% { left: -60%; }
    55%, 100% { left: 130%; }
}

.nri-proj-offer-tag {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 3px;
    font-family: var(--sans-md);
    font-size: 9.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f2c98a;
}

.nri-proj-offer-text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--sans-md);
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: .3px;
    color: var(--brand-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.nri-proj-offer-ico {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    color: #f2c15c;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35));
}

@media (prefers-reduced-motion: reduce) {
    .nri-proj-offer::after { animation: none; }
}

/* label / value rows */
.nri-proj-inner {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    border-bottom: 1px solid var(--brand-line);
    color: var(--brand-body);
    font-size: 13px;
}

.nri-proj-k {
    float: none;
    margin: 5px 0;
    font-family: var(--sans-md);
    font-size: 13px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--brand-muted);
    white-space: nowrap;
}

.nri-proj-v {
    text-align: right;
    margin: 5px 0;
    font-family: var(--sans);
    font-size: 13px;
    color: var(--brand-maroon-dk);
}

/* CTAs — Book an Appointment (solid) + Get Quote (outline) */
.nri-proj-enqparent {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding: 18px 0;
}

.nri-proj-enqbtn {
    margin: 0;
    flex: 1;
}

.nri-proj-clickhere {
    display: block;
    width: 100%;
    border: 1px solid var(--brand-btn);
    border-radius: 6px;
    color: var(--brand-btn);
    background: transparent;
    padding: 10px 8px;
    text-align: center;
    font-family: var(--sans-md);
    font-size: 12px;
    letter-spacing: .8px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.nri-proj-clickhere:hover,
.nri-proj-clickhere:focus,
.nri-proj-clickhere:active {
    background: var(--brand-btn);
    color: #fff;
    text-decoration: none;
    outline: none;
}

.nri-proj-clickhere.is-solid {
    background: var(--brand-btn);
    color: #fff;
}

.nri-proj-clickhere.is-solid:hover,
.nri-proj-clickhere.is-solid:focus,
.nri-proj-clickhere.is-solid:active {
    background: var(--brand-btn-hv);
    border-color: var(--brand-btn-hv);
    color: #fff;
    text-decoration: none;
}

/* the card image is a link too — never underline its contents */
.nri-proj-imglink,
.nri-proj-imglink:hover,
.nri-proj-imglink:focus,
.nri-proj-imglink:active {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 1024px) {
    .nri-projgrid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .nri-projgrid {
        grid-template-columns: 1fr;
    }

    .nri-proj-details {
        padding: 4% 4% 0;
    }

    .nri-proj-clickhere {
        font-size: 11px;
        padding: 11px 6px;
    }
}


/* ==========================================================================
   REVISIONS 4 — modal close button clears the title, smaller popup headings
   ========================================================================== */

/* The close button is absolutely positioned over the popup, so long titles
   ("Download Brochure - DAC Balmandaisa") used to run under
   it. Give it a solid hit area and keep the heading out of its lane. */
.nri-popbody .close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    padding: 0;
    line-height: 1;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 1px 4px rgba(23, 45, 112, .18);
    font-size: 24px;
    opacity: 1;
}

/* The "x" was a text glyph (&times;) in a font stack that resolves to Optima —
   which has no @font-face here, so it falls back per machine and the ink sits
   off-centre in the em box by an amount no fixed nudge can track. Draw the
   cross from the button's own box instead: two bars pinned to the 50%/50% of
   the circle, so it is centred by geometry at any size. The <span> is
   aria-hidden and the button carries aria-label="Close", so hiding it costs
   nothing to screen readers. */
.nri-popbody .close span {
    display: none;
}

.nri-popbody .close::before,
.nri-popbody .close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1.6px;
    background: currentColor;
    border-radius: 2px;
}

.nri-popbody .close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.nri-popbody .close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.nri-popbody .close:hover,
.nri-popbody .close:focus {
    background: var(--brand-btn);
    color: #fff;
    opacity: 1;
}

/* reserve the top-right corner in every popup pane */
.nri-pop-main,
.nri-pop-aside {
    padding-top: 40px;
}

.modal-body h3,
.modal-body .poptitle,
.modal-body #poptitle,
.nri-popbody .poptitle {
    font-size: 22px !important;
    line-height: 1.3 !important;
    padding-right: 46px;
}

.nri-popbody .poptitle {
    margin-bottom: 18px !important;
}

@media (max-width: 767px) {

    .modal-body h3,
    .modal-body .poptitle,
    .modal-body #poptitle,
    .nri-popbody .poptitle {
        font-size: 19px !important;
        padding-right: 42px;
    }

    .nri-popbody .close {
        top: 8px;
        right: 8px;
        width: 30px;
        height: 30px;
        line-height: 1;
        font-size: 21px;
    }

    .nri-popbody .close::before,
    .nri-popbody .close::after {
        width: 12px;
    }
}

/* ==========================================================================
   REVISIONS 5 — wider page container, breathing room in the EMI calculator
   ========================================================================== */

/* The EMI inputs and the scheme panel are two separate cards but sat edge to
   edge (52% + 48% = 100%, no gap). Give them a real gutter — the widths come
   off the gap so the row still fits. Below 991px both go full width and the
   same gap becomes the vertical space between the stacked panels. */
.nri-emi2 {
    gap: 40px;
}

.nri-emi2-inputs {
    width: calc(52% - 20px);
}

.nri-emi2-scheme {
    width: calc(48% - 20px);
}

@media (max-width: 991px) {

    .nri-emi2-inputs,
    .nri-emi2-scheme {
        width: 100%;
    }
}

/* ---- Inline SVG icons (replaces the Font Awesome webfont) ---- */
i > svg.mi {
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -.125em;
}

/* ==========================================================================
   REVISIONS 6 — the popup form fits the window

   The main popup carries four fields, a title, a sub-line, the button and the
   consent note. At the old rhythm — 52px fields, 30px between groups, 34px
   under the sub-line — that stacked to roughly 780px including the dialog's
   own margins, so on a 768px laptop the button and the note fell below the
   fold and the modal scrolled. Every value below is the same design a size
   down; nothing is removed from the form, it is only packed tighter.
   ========================================================================== */

/* style.css:1438 sets "margin-top: 7% !important" on the dialog. A percentage
   margin resolves against the containing block's WIDTH, so on a 1366px screen
   that is 96px of dead space above the popup — pushed down by how wide the
   window is, while the room it needs is how tall the window is. A fixed offset
   is what was meant; the !important is only here to beat style.css. */
.modal-dialog {
    margin: 24px auto !important;
}

/* the pane's own breathing room — the close button still needs the top-right
   corner, so the top padding comes down rather than out */
.nri-pop-main,
.nri-pop-aside {
    padding-top: 30px;
}

.nri-pop-main {
    padding-bottom: 12px;
}

.nri-popbody .poptitle {
    margin-bottom: 10px !important;
}

.modal-body .nri-pop-sub {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
}

/* 107px per field becomes 85px — over four fields that alone is the overflow */
.modal-body form.nri-popform .form-group,
.nri-popform .form-group {
    margin: 0 0 18px;
}

.nri-popform .nri-flabel {
    margin-bottom: 6px;
}

.nri-popform .form-control,
.nri-popform .nri-phone,
.nri-popform .nri-cc-btn {
    height: 46px;
}

.nri-popform select.form-control {
    height: 46px;
}

.nri-popform .nri-btn-block {
    margin-top: 4px;
}

.modal-body .nri-form-note {
    margin: 12px 0 0;
}

/* the error line sits between two fields, so it borrows from the gap below
   rather than adding to the stack */
.modal-body form.nri-popform .help-block,
.nri-popform .help-block {
    margin: 4px 0 0;
}

/* Short windows — laptops at 1366x768 with a toolbar, or a browser that is not
   full height. Trim once more so the note still clears the bottom. */
@media (max-height: 760px) {

    .modal-dialog {
        margin: 14px auto !important;
    }

    .nri-pop-main,
    .nri-pop-aside {
        padding-top: 24px;
    }

    .modal-body .nri-pop-sub {
        margin-bottom: 12px;
    }

    .modal-body form.nri-popform .form-group,
    .nri-popform .form-group {
        margin-bottom: 13px;
    }

    .nri-popform .form-control,
    .nri-popform .nri-phone,
    .nri-popform .nri-cc-btn,
    .nri-popform select.form-control {
        height: 42px;
    }

    .modal-body h3,
    .modal-body .poptitle,
    .modal-body #poptitle,
    .nri-popbody .poptitle {
        font-size: 20px !important;
    }
}

/* ==========================================================================
   ASSISTANCE STRIP — graphical duotone icon badges
   ========================================================================== */

.nri-assist-item i.nri-assist-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    padding: 0;
    border-radius: 50%;
    background: var(--brand-ivory);
    border: 1px solid var(--brand-line-soft);
    color: var(--brand-maroon);
    font-size: 0;
    line-height: 0;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.nri-assist-ic svg {
    display: block;
    width: 42px;
    height: 42px;
}

.nri-assist-ic .ln {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nri-assist-ic .ln.thin {
    stroke-width: 1.4;
}

.nri-assist-ic .ac {
    fill: #fdd9c6;
}

.nri-assist-ic .sl {
    fill: currentColor;
}

.nri-assist-ic .bg {
    fill: var(--brand-ivory);
}

.nri-assist-item:hover i.nri-assist-ic {
    transform: translateY(-4px);
    border-color: var(--brand-maroon);
    box-shadow: 0 12px 26px rgba(33, 63, 154, .13);
}

@media (max-width: 991px) {
    .nri-assist-item i.nri-assist-ic {
        width: 66px;
        height: 66px;
        margin-bottom: 16px;
    }

    .nri-assist-ic svg {
        width: 38px;
        height: 38px;
    }

    .nri-slider .nri-assist-item {
        min-height: 200px;
    }
}

/* ==========================================================================
   OFFER MARQUEE — strip above the header, same palette as the offer cards
   ========================================================================== */

:root {
    --nri-marquee-h: 40px;
}

.nri-marquee {
    position: relative;
    overflow: hidden;
    height: var(--nri-marquee-h);
    background: linear-gradient(135deg, #6d1f28 0%, #a8323c 48%, #6d1f28 100%);
    box-shadow: inset 0 -1px 0 rgba(242, 193, 92, .45);
}

.nri-marquee-track {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    width: max-content;
    height: 100%;
    white-space: nowrap;
    will-change: transform;
    animation: nri-marquee-scroll 16s linear infinite;
}

.nri-marquee:hover .nri-marquee-track {
    animation-play-state: paused;
}

.nri-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 34px;
    font-family: var(--sans-md);
    font-size: 13.5px;
    line-height: 1;
    letter-spacing: .4px;
    color: var(--brand-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

/* one pass of the sentence: it enters from the right, runs fully off the left,
   then the loop starts it over from the right edge again */
@keyframes nri-marquee-scroll {
    from { transform: translateX(100vw); }
    to   { transform: translateX(-100%); }
}

/* svgs outside an <i> get no inherited fill on this site, so set it here or
   the icon paints black */
.nri-marquee-ico {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: #f2c15c;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35));
}

/* the header grew by the strip, so the hero has to start that much lower */
.nri-hero {
    margin-top: calc(92px + var(--nri-marquee-h));
}

@media (max-width: 991px) {
    :root {
        --nri-marquee-h: 36px;
    }

    .nri-marquee-item {
        font-size: 12px;
        gap: 9px;
        padding: 0 26px;
    }

    .nri-marquee-ico {
        width: 13px;
        height: 13px;
    }

    .nri-marquee-track {
        animation-duration: 13s;
    }

    .nri-hero {
        margin-top: calc(68px + var(--nri-marquee-h));
    }
}

@media (prefers-reduced-motion: reduce) {
    .nri-marquee-track { animation: none; }
}

/* ==========================================================================
   PROJECT CARD CTAs ON PHONES

   Side by side, each button gets about half a single-column card — not enough
   for "BOOK AN APPOINTMENT" at 11px uppercase, so it broke onto a second line
   and left the two CTAs different heights. Stack them full width instead and
   forbid the wrap outright.
   ========================================================================== */

@media (max-width: 767px) {
    .nri-proj-enqparent {
        flex-direction: column;
        gap: 8px;
    }

    .nri-proj-clickhere {
        white-space: nowrap;
        font-size: 12px;
        letter-spacing: .6px;
        padding: 12px 8px;
    }
}

/* ==========================================================================
   OFFER RIBBON ICON ON PHONES

   The ribbon is a centred flex row, so once the label wraps to two lines the
   icon was vertically centred against the whole block — it read as sitting on
   the second line, with the flex gap opening a hole beside it. Drop back to
   normal inline flow on phones: the icon then leads the first line and the
   gap goes away.
   ========================================================================== */

@media (max-width: 767px) {
    .nri-proj-offer-text {
        display: block;
        gap: 0;
    }

    .nri-proj-offer-ico {
        display: inline-block;
        vertical-align: -4px;
        margin-right: 5px;
    }
}

/* ==========================================================================
   DAC Umbrella additions
   ========================================================================== */

/* DAC Assurance — three pillars, so each takes a third of the row */
.nri-assure .nri-assist-item {
    width: 33.3333%;
    margin-bottom: 0;
}

.nri-assure .nri-assist-item:nth-child(3n+1) {
    border-left: 0;
}

/* project card — "About Project" blurb, clamped so the cards stay level */
.nri-proj-about {
    margin: 0 0 12px;
    color: var(--brand-body);
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(13px * 1.55 * 5);
}

/* ---------- section title — centred heading over a short bar ---------- */
.dac-sec-title {
    text-align: center;
    margin-bottom: 46px;
}

.dac-sec-title h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 40px;
    line-height: 1.2;
    color: var(--brand-maroon);
}

.dac-sec-bar {
    display: block;
    width: 110px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 2px;
    background: var(--brand-orange);
}

/* ---------- Overview: media + copy, then the four counters ---------- */
.nri-sec.dac-ov {
    background: var(--brand-sand);
}

.dac-ov-row {
    display: flex;
    align-items: center;
    gap: 48px;
}

.dac-ov-media,
.dac-ov-text {
    flex: 1 1 0;
    min-width: 0;
}

.dac-ov-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(23, 45, 112, .14);
}

.dac-ov-text p {
    margin: 0 0 18px;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.9;
    text-align: justify;
    color: var(--brand-body);
}

.dac-ov-text p:last-child {
    margin-bottom: 0;
}

.dac-ov-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
    text-align: center;
}

.dac-ov-num {
    font-family: var(--sans-md);
    font-size: 44px;
    line-height: 1.1;
    color: var(--brand-maroon);
    white-space: nowrap;
}

.dac-ov-sym {
    color: var(--brand-orange);
    margin-left: 2px;
}

.dac-ov-stat p {
    margin: 10px auto 0;
    max-width: 220px;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.5;
    color: var(--brand-body);
}

/* ---------- DAC Assurance — key cards ---------- */
.dac-assure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.dac-assure-card {
    position: relative;
    padding: 44px 28px 40px;
    text-align: center;
    background: var(--brand-white);
    border: 1px solid var(--brand-line);
    border-top: 4px solid var(--brand-maroon);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(23, 45, 112, .07);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.dac-assure-card:hover {
    transform: translateY(-6px);
    border-top-color: var(--brand-orange);
    box-shadow: 0 18px 40px rgba(23, 45, 112, .14);
}

.dac-assure-card i.dac-assure-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--brand-ivory);
    border: 1px solid var(--brand-line-soft);
    color: var(--brand-maroon);
    font-size: 0;
    line-height: 0;
}

.dac-assure-title {
    margin: 0;
    font-family: var(--sans-md);
    font-size: 19px;
    line-height: 1.4;
    color: var(--brand-maroon);
}

/* ---------- footer copy centred ---------- */
.nri-footer {
    text-align: center;
}

.nri-footer .nri-fine {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    .dac-ov-row {
        flex-direction: column;
        gap: 32px;
    }

    .dac-ov-stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 36px;
    }

    .dac-assure-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .dac-sec-title h2 {
        font-size: 30px;
    }

    .dac-ov-num {
        font-size: 34px;
    }

    .dac-ov-text p {
        font-size: 16px;
        text-align: left;
    }
}

/* ---------- popup + enquiry form fixes ---------- */
/* style.css sets .modal-body to inline-block, which shrink-wraps the popup
   body to its content — the form sat in the left two-thirds of the box and the
   close button floated mid-panel. Make it span the dialog. */
.modal-body.nri-popbody {
    display: block;
    width: 100%;
}

.nri-pop-main {
    padding: 34px 32px 28px;
}

.nri-popform .nri-btn-block,
.nri-contactform .nri-btn-block {
    width: 100%;
}

/* country button reads as part of the underlined field, not a grey box */
.nri-popform .nri-cc-btn,
.nri-contactform .nri-cc-btn {
    background: transparent;
    padding-left: 0;
}

.nri-phone-input {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 12px !important;
}

@media (max-width: 767px) {
    .modal-dialog {
        width: auto;
        max-width: none;
        margin: 16px !important;
    }

    .nri-pop-main {
        padding: 30px 20px 22px;
    }
}

/* the offer marquee was removed, so the hero no longer needs to clear it */
.nri-hero {
    margin-top: 92px;
}

@media (max-width: 767px) {
    .nri-hero {
        margin-top: 68px;
    }
}

/* ---------- project logo badge — top-right corner of the card image ---------- */
.nri-proj-media {
    position: relative;
}

.nri-proj-logo {
    position: absolute;
    top: 0;
    right: 6px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    max-width: 46%;
    padding: 6px 12px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(16, 31, 77, .18);
}

.nri-proj-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* wide wordmarks (Aeropolis) — a shorter badge so they sit at the same
   visual weight as the stacked logos */
.nri-proj-logo.is-small {
    height: 38px;
    max-width: 34%;
    padding: 6px 10px;
}

@media (max-width: 767px) {
    .nri-proj-logo {
        top: 10px;
        right: 10px;
        height: 48px;
    }
}

/* ==========================================================================
   Colour bands — the page alternates white, a soft DAC-blue tint and solid
   DAC blue so it no longer reads as one long white sheet.
   ========================================================================== */

:root {
    --brand-tint: #e8edf8;       /* soft DAC-blue wash for alternate sections */
    --brand-navy: #0f1d4a;       /* footer */
}

/* ---------- Overview: white, stats sit in a solid blue band ---------- */
.nri-sec.dac-ov {
    background: var(--brand-white);
}

.dac-ov-stats {
    padding: 38px 28px;
    border-radius: 10px;
    background: linear-gradient(120deg, var(--brand-maroon) 0%, var(--brand-maroon-dk) 100%);
    box-shadow: 0 18px 40px rgba(23, 45, 112, .22);
}

.dac-ov-stat + .dac-ov-stat {
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.dac-ov-num {
    color: #fff;
}

.dac-ov-sym {
    color: var(--brand-yellow);
}

.dac-ov-stat p {
    color: rgba(255, 255, 255, .82);
}

/* ---------- Projects: tinted, so the white cards lift off it ---------- */
#projects.nri-sec {
    background: var(--brand-tint);
}

#projects .nri-proj {
    box-shadow: 0 12px 30px rgba(23, 45, 112, .10);
}

#projects .nri-center .nri-eyebrow:before,
#projects .nri-center .nri-eyebrow:after {
    background: rgba(33, 63, 154, .25);
}

/* ---------- DAC Assurance: solid brand blue ---------- */
#assurance.nri-sec {
    background: linear-gradient(135deg, var(--brand-maroon) 0%, var(--brand-maroon-dk) 100%);
}

#assurance .nri-eyebrow {
    color: var(--brand-yellow);
}

#assurance .nri-center .nri-eyebrow:before,
#assurance .nri-center .nri-eyebrow:after {
    background: rgba(255, 255, 255, .35);
}

#assurance .nri-h {
    color: #fff;
}

#assurance .dac-assure-card {
    border: 0;
    border-top: 4px solid var(--brand-orange);
    box-shadow: 0 18px 40px rgba(8, 18, 52, .35);
}

#assurance .dac-assure-card:hover {
    border-top-color: var(--brand-yellow);
}

/* ---------- Contact: tinted, form card stays white ---------- */
#contact.nri-sec {
    background: var(--brand-tint);
}

#contact .nri-eyebrow:after {
    background: rgba(33, 63, 154, .25);
}

#contact .nri-formcard {
    border: 0;
    border-top: 4px solid var(--brand-orange);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(23, 45, 112, .14);
}

/* ---------- Footer: dark navy ---------- */
.nri-footer {
    background: var(--brand-navy);
    border-top: 0;
}

.nri-footer h4 {
    color: #fff;
}

.nri-footer .nri-fine {
    color: rgba(255, 255, 255, .68);
}

.nri-footer .nri-fine a {
    color: var(--brand-yellow);
}

@media (max-width: 991px) {
    .dac-ov-stat + .dac-ov-stat {
        border-left: 0;
    }
}

/* ==========================================================================
   Header — menu centred, premium link hover
   ========================================================================== */

/* three columns: logo | menu | actions. The two outer columns share the
   leftover width equally, so the menu sits on the true centre of the bar. */
.nri-nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nri-brand {
    margin-right: 0;
    justify-self: start;
}

.nri-menu {
    justify-self: center;
    gap: 8px;
}

.nri-nav-actions {
    justify-self: end;
    margin-left: 0;
}

.nri-menu a {
    position: relative;
    display: inline-block;
    padding: 12px 18px;
    border-bottom: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, .86);
    transition: color .35s ease, transform .35s cubic-bezier(.2, .7, .2, 1), background-color .35s ease;
}

/* underline grows out from the centre in the brand orange → yellow */
.nri-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: calc(100% - 36px);
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-yellow));
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.nri-menu a:hover,
.nri-menu a:focus-visible,
.nri-menu a.is-active {
    color: #fff;
    border-bottom: 0;
    text-decoration: none;
    background-color: rgba(255, 255, 255, .07);
    transform: translateY(-1px);
}

.nri-menu a:hover::after,
.nri-menu a:focus-visible::after,
.nri-menu a.is-active::after {
    transform: translateX(-50%) scaleX(1);
}

.nri-menu a:focus-visible {
    outline: 1px solid rgba(255, 255, 255, .5);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .nri-menu a,
    .nri-menu a::after {
        transition: none;
    }
}

/* tablet/phone: the menu is hidden, so drop to logo | burger */
@media (max-width: 991px) {
    .nri-nav-inner {
        grid-template-columns: 1fr auto;
    }
}

/* ---------- submit button loader ---------- */
.nri-btn.is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: progress;
    opacity: .92;
}

.nri-btn[disabled].is-loading {
    background: var(--brand-btn);
    border-color: var(--brand-btn);
    color: #fff;
}

.nri-btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: nri-spin .7s linear infinite;
    flex: none;
}

@keyframes nri-spin {
    to {
        transform: rotate(360deg);
    }
}

/* full-screen loader: bar in the DAC orange, with a line of status text */
#pageloader .nri-loader-bar i {
    background: var(--brand-orange);
}

#pageloader .nri-loader::after {
    content: "Submitting your enquiry…";
    display: block;
    margin-top: 18px;
    font-family: var(--sans);
    font-size: 14px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .8);
}

/* ==========================================================================
   Projects — swipe slider on phones, controls in one bar underneath:
   ‹ prev   • • • • • •   next ›
   ========================================================================== */
@media (max-width: 767px) {
    .nri-projgrid.nri-slider.owl-loaded {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    /* wider cards: the projects section uses a 12px gutter instead of 22px */
    #projects .nri-wrap {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* clip exactly at the card edges so neighbouring slides never show */
    .nri-projgrid.owl-loaded .owl-stage-outer {
        width: 100%;
        flex: 0 0 100%;
        padding: 6px 0 14px;
        margin: 0;
        overflow: hidden;
    }

    /* let prev/next sit in the same row as the dots */
    .nri-projgrid.owl-loaded .owl-nav {
        display: contents;
    }

    .nri-projgrid.owl-loaded .owl-nav button.owl-prev {
        order: 1;
    }

    .nri-projgrid.owl-loaded .owl-dots {
        order: 2;
        margin: 0 14px;
    }

    .nri-projgrid.owl-loaded .owl-nav button.owl-next {
        order: 3;
    }

    .nri-projgrid.owl-loaded .owl-nav button.owl-prev,
    .nri-projgrid.owl-loaded .owl-nav button.owl-next {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        margin: 0;
        border: 0;
        border-radius: 50%;
        background: var(--brand-maroon);
        color: #fff;
        box-shadow: 0 6px 16px rgba(23, 45, 112, .25);
        transition: background .25s ease, transform .25s ease, opacity .25s ease;
    }

    .nri-projgrid.owl-loaded .owl-nav button.owl-prev:active,
    .nri-projgrid.owl-loaded .owl-nav button.owl-next:active {
        transform: scale(.94);
    }

    .nri-projgrid.owl-loaded .owl-nav button.owl-prev:hover,
    .nri-projgrid.owl-loaded .owl-nav button.owl-next:hover {
        background: var(--brand-orange);
    }

    .nri-projgrid.owl-loaded .owl-nav button.disabled {
        opacity: .3;
        box-shadow: none;
    }

    .nri-projgrid.owl-loaded .owl-nav svg {
        width: 9px;
        height: 16px;
        fill: currentColor;
    }

    .nri-projgrid.owl-loaded .owl-dot {
        background: rgba(33, 63, 154, .25);
    }

    .nri-projgrid.owl-loaded .owl-dot.active {
        background: var(--brand-orange);
    }
}
