/* ===========================
   AVENTRIX REALTY
   BASE STYLES
=========================== */

/* ===========================
   MONTSERRAT — SITE-WIDE TYPEFACE
   Self-hosted using the exact two Google Fonts "Montserrat" Regular
   (400) files supplied: latin + latin-ext subsets. This is the only
   font-family used anywhere on the site; browsers synthesize bold
   for heavier weights since only the 400 files were provided.
=========================== */
@font-face{
    font-family:'Montserrat';
    font-style:normal;
    font-weight:400;
    font-display:swap;
    src:url('fonts/montserrat-latin-ext-400.woff2') format('woff2');
    unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
    font-family:'Montserrat';
    font-style:normal;
    font-weight:400;
    font-display:swap;
    src:url('fonts/montserrat-latin-400.woff2') format('woff2');
    unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Form controls and plain buttons don't inherit the page font by
   default in browser UA stylesheets — make sure they use the same
   Montserrat as the rest of the site. */
input,
textarea,
button,
select {
    font-family: inherit;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
html{
    scroll-behavior:smooth;
    overflow-x:hidden;
}
body{
    font-family:'Montserrat',sans-serif;
    background:#ffffff;
    color:#111;
    line-height:1.6;
    overflow-x:hidden;
    touch-action:pan-y;
}

.section-divider {
  display: block;
  width: 100vw;
  height: 1px;
  background-color: rgba(17,24,39,.08);
  margin: 32px 0;
  margin-left: calc(-50vw + 50%);
}
/* margin reduced from 80px 0 — the two sections either side of this
   divider (bsl-section→why, why→about) already have their own
   padding, so 80px on top of that made these two particular
   transitions read as noticeably emptier than the rest of the
   homepage; height/colour untouched from the sitewide-divider pass. */
/* Colour/height updated as part of the sitewide subtle-divider pass
   (see "SITEWIDE SECTION DIVIDERS" at the end of this file) — was a
   2px solid gold (#D4AF37) line, now the same 1px low-opacity
   charcoal hairline used everywhere else on the site. Spacing
   (margin:80px 0) and the two existing usages (index.html, between
   "What We Do"/"Why Aventrix" and "Why Aventrix"/"About") are
   unchanged; only the line's own weight and colour changed so it
   matches the new sitewide standard instead of being its own
   one-off gold accent. */


/* ===========================
   HEADER
=========================== */
.header{
    position: static;
    width: 100%;
    z-index: 10;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Slightly stronger shadow/blur once scrolled past the hero — the
   header itself is always solid white, this just adds a touch more
   depth once the page has been scrolled (toggled by script.js) */
.container.nav{
    width:95%;
    max-width:1400px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 0%;
}

.nav-right{
    display:flex;
    align-items:center;
    gap:10px;
}

.menu-toggle span{
    background:#111111;
}
.logo{
    margin-right:20px;
}

/* Logo replaced with the client-supplied image asset (images/aventrix-
   logo.png) — was two stacked text spans (.logo-main/.logo-sub; those
   two rules are left defined further below, unused, purely so this
   is a clean one-file revert if ever needed — they no longer match
   anything in the markup). Height matches the OLD text logo's
   measured rendered height exactly (53px desktop / 41px on
   html.is-mobile — see the override further down), so header height
   and vertical position are unchanged; width is not fixed, so the
   image's own proportions are preserved rather than stretched to any
   particular width. */
.logo img{
    display:block;
    height:53px;
    width:auto;
}

nav{
    display:flex;
    gap:38px;
}

nav a{
    color:#1f2937;
    text-decoration:none;
    font-weight:600;
    font-size:15px;
    letter-spacing:1px;
}
nav a:hover{
    color:#0F3B2E;
}
/* ===========================
   HERO
=========================== */
.search-hero{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
}
.overlay{
    max-width:950px;
    padding:20px;
    color:#fff;
    transform:translateY(-40px);
}
.overlay h1{
    font-size:72px;
    font-weight:700;
    line-height:1.1;
    margin-bottom:20px;
    text-shadow:0 5px 20px rgba(0,0,0,.45);
}
.overlay p{
    font-size:24px;
    margin-bottom:40px;
    color: #f5f5f5;
}
/* ===========================
   SEARCH BOX
=========================== */
.search-box{
    display:flex;
    gap:30px;
    justify-content:center;
    flex-wrap:wrap;
    background: rgba(255,255,255,.95);
    padding:15px;
    border-radius:15px;
    box-shadow:0 20px 50px rgba(0,0,0,.25);
}

.search-box select{
    width:220px;
    padding:15px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:15px;
}

.search-box button{
    background:#0F3B2E;
    color:#fff;
    border:none;
    padding:15px 30px;
    border-radius:8px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    transition:.3s;
}

.search-box button:hover{
    background:#0b433b;
}
/* ===========================
   FEATURED PROPERTIES
=========================== */

.featured{
    /* Reduced from 90px 0 110px (full-site spacing audit) -- only
       used on insights.html, brought in line with the ~56-64px
       vertical rhythm used for section padding elsewhere on the
       site. Mobile (html.is-mobile .featured, 45px 16px 55px) was
       already reasonable and is untouched. */
    padding:56px 0 64px;
    background:#f8f9fb;
}

.container{
    max-width:1200px;
    margin:auto;
}

.featured h2{
    text-align:center;
    font-size:42px;
    margin-bottom:50px;
    color:#111;
}

.property-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:38px;
    align-items:stretch;
}

.property-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 34px rgba(15,59,46,.08);
    transition:.4s cubic-bezier(.2,.8,.2,1);
    display:flex;
    flex-direction:column;
    height:100%;
}

.property-card:hover{
    transform:translateY(-10px);
    box-shadow:0 28px 55px rgba(15,59,46,.16);
}

/* Image area — fixed height (260px) on every card, never shrinks
   when the flex column below it grows taller. */
.property-image-wrap{
    position:relative;
    overflow:hidden;
    flex-shrink:0;
}

.property-card img{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
    transition:transform .5s ease;
}

.property-card:hover img{
    transform:scale(1.06);
}

/* Badge — moved to top-right, always paired with text (never color alone) */
.property-badge{
    position:absolute;
    top:10px;
    left:10px;
    display:flex;
    align-items:center;
    padding:2px 7px;
    border-radius:5px;
    font-size:7px;
    font-weight:700;
    letter-spacing:.4px;
    text-transform:uppercase;
    background:#D4AF37;
    color:#0F3B2E;
    white-space:nowrap;
    box-shadow:0 2px 5px rgba(0,0,0,.12);
}

.badge-sale,
.badge-lease,
.badge-new,
.badge-sold{
    background:#D4AF37;
    color:#0F3B2E;
}

/* Content column — flexes to fill whatever space is left below the
   fixed-height image, so the footer (price/buttons) below can be
   pinned to the bottom of every card regardless of title/description
   length. */
.property-card .content{
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
}

.property-location{
    display:flex;
    align-items:center;
    gap:6px;
    color:#D4AF37;
    font-size:12.5px;
    font-weight:700;
    letter-spacing:.6px;
    text-transform:uppercase;
    padding:20px 24px 0;
}

.property-card h3{
    padding:8px 24px 8px;
    font-size:22px;
    margin-bottom: 6px;
    font-weight:700;
    color:#111;
    line-height:1.3;
}
/* CRITICAL BUG FIX: the actual root cause of the "blue"/"purple"
   colour complaints on property cards. This h3 sets color:#111 on
   itself, but the clickable text is inside a nested <a> — and <a>
   elements never inherit an ancestor's color; without their OWN
   explicit color they fall back to the browser's default link
   colours (blue for never-clicked, purple for links the visitor has
   already opened before — confirmed there was no ":visited" rule
   anywhere in this entire stylesheet). That's exactly why only some
   cards looked purple: only the ones that specific browser had
   already visited. Explicit color + a :visited override fixes every
   card consistently, regardless of browse history. This h3/a
   structure is shared by both properties.html's cardTemplate() and
   the Home Page's Featured Properties cardTemplate() — fixing it
   here fixes both, which is correct: the bug was identically present
   in both, not something unique to the listing page. */
.property-card h3 a{
    color:inherit;
    text-decoration:none;
}
.property-card h3 a:visited{
    color:inherit;
}

/* Description — reserves identical space on every card (3 lines at
   15px/1.6 line-height = 72px) regardless of text length, and
   truncates anything longer with an ellipsis. */
.property-card p{
    padding:0 24px;
    color:#666;
    font-size:15px;
    line-height:1.6;
    margin-bottom: 18px;
    height:72px;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    line-clamp:3;
    text-overflow:ellipsis;
}

.property-card h4{
    padding:0 24px 10px;
    color:#0F3B2E;
    font-size:14px;
}

/* Footer — always pinned to the bottom of the card via margin-top:auto
   on the flex column above, so Price / Call / WhatsApp / View Details
   line up identically across every card. Price + icon buttons share a
   top row; "View Details" spans the full width below them. */
.property-footer{
    display:flex;
    flex-direction:column;
    gap:14px;
    padding:0 24px 26px;
    margin-top:auto;
}

.property-footer-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}

.property-price{
    font-size:20px;
    font-weight:800;
    color:#0F3B2E;
    line-height:1.2;
}

.view-details-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    width:100%;
    background:#0F3B2E;
    color:#fff;
    padding:11px 22px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    white-space:nowrap;
    transition:.3s;
    box-sizing:border-box;
}

.view-details-btn:hover{
    background:#145041;
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(15,91,79,.3);
}

/* ---------------------------------------------
   PROPERTY CARD — Call / WhatsApp quick actions
   Icon-only, rounded-square buttons aligned with the price on
   the same row. No text labels — icon + aria-label/title only.
--------------------------------------------- */
.property-icon-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
}

.icon-action-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    flex-shrink:0;
    border-radius:12px;
    border:1.5px solid #0F3B2E;
    background:#fff;
    color:#0F3B2E;
    font-size:16px;
    text-decoration:none;
    transition:.3s;
    box-sizing:border-box;
}

.icon-action-btn:hover{
    background:#0F3B2E;
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(15,59,46,.28);
}

.icon-action-btn:active{
    transform:translateY(0);
}

@media (max-width:480px){
    .icon-action-btn{
        width:40px;
        height:40px;
        font-size:15px;
    }
}

/* ===============================
   WHY AVENTRIX REALTY
================================= */

/* ===========================
   SHARED MINIMAL SECTION HEADING
   (used by Why Aventrix + Our Services)
=========================== */
.section-heading{
    text-align:center;
    max-width:600px;
    margin:0 auto 70px;
}

.section-eyebrow{
    display:inline-block;
    font-size:13px;
    letter-spacing:3px;
    text-transform:uppercase;
    color:#0F3B2E;
    font-weight:600;
    margin-bottom:16px;
}

.section-heading h2{
    font-family:'Montserrat',sans-serif;
    font-size:38px;
    font-weight:600;
    color:#111827;
    letter-spacing:.3px;
    margin:0;
}

/* ===========================
   WHY CHOOSE AVENTRIX (minimal)
=========================== */
.why{
    padding:52px 8%;
    background:#ffffff;
}
/* Spacing-only nudge: "WHY AVENTRIX" sat a little low/cramped
   relative to "The Aventrix Standard" below it — scoped to this
   section only, .section-eyebrow/.section-heading themselves
   (shared by other sections) are untouched. */
.why .section-eyebrow{
    margin-top:-6px;
    margin-bottom:10px;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:0;
}

.why-item{
    /* BOXED CARD per feedback: was a plain text column separated
       only by a left-border divider — now an individual compact
       card. Content/icons unchanged. */
    text-align:center;
    padding:22px 18px;
    background:#ffffff;
    border:1px solid rgba(17,24,39,.07);
    border-radius:14px;
    box-shadow:0 4px 14px rgba(15,59,46,.05);
    transition:transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}

.why-item:hover{
    transform:translateY(-6px);
    box-shadow:0 14px 30px rgba(15,59,46,.12);
}

.why-icon{
    width:38px;
    height:38px;
    margin:0 auto 12px;
    color:#0F3B2E;
    transition:color .35s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}

.why-icon svg{
    width:100%;
    height:100%;
}

.why-item:hover .why-icon{
    color:#D4AF37;
    transform:translateY(-3px) scale(1.08);
}

.why-item h3{
    font-size:18px;
    font-weight:700;
    color:#111827;
    margin-bottom:6px;
    letter-spacing:.2px;
}

.why-item h3::after{
    content:"";
    display:block;
    width:0;
    height:1px;
    background:#D4AF37;
    margin:10px auto 14px;
    transition:width .4s ease;
}

.why-item:hover h3::after{
    width:34px;
}

.why-item p{
    font-size:14.5px;
    font-weight:500;
    line-height:1.7;
    color:#4b5563;
    max-width:220px;
    margin:0 auto;
}

/* ===========================
   OUR SERVICES (minimal)
=========================== */
.services{
    padding:56px 8% 64px;
    background:#faf9f7;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.service-item{
    /* BOXED CARD per feedback: was a plain divided column, now an
       individual compact card, same treatment as Why Aventrix
       Standard. Content/icons unchanged. Gap added above since
       touching cards with gap:0 no longer makes sense once each has
       its own visible border. */
    text-align:center;
    padding:22px 16px;
    background:#ffffff;
    border:1px solid rgba(17,24,39,.07);
    border-radius:14px;
    box-shadow:0 4px 14px rgba(15,59,46,.05);
    transition:transform .4s ease, box-shadow .35s ease;
}

.service-item:hover{
    transform:translateY(-6px);
    box-shadow:0 14px 30px rgba(15,59,46,.12);
}

.service-icon{
    width:44px;
    height:44px;
    margin:0 auto 22px;
    color:#0F3B2E;
    transition:color .35s ease, transform .35s ease;
}

.service-icon svg{
    width:100%;
    height:100%;
}

.service-item:hover .service-icon{
    color:#D4AF37;
    transform:translateY(-2px);
}

.service-item h3{
    font-size:18px;
    font-weight:700;
    color:#111827;
    margin-bottom:6px;
}

.service-item h3::after{
    content:"";
    display:block;
    width:0;
    height:1px;
    background:#D4AF37;
    margin:10px auto 14px;
    transition:width .4s ease;
}

.service-item:hover h3::after{
    width:34px;
}

.service-item p{
    font-size:14.5px;
    font-weight:500;
    line-height:1.7;
    color:#4b5563;
    max-width:220px;
    margin:0 auto;
}

/* Small "Learn More" affordance -- same gold accent as .bsl-more /
   .insight-card a, used on the new services.html page's 7 cards. */
.service-more{
    display:inline-block;
    margin-top:12px;
    color:#c89b3c;
    font-weight:600;
    font-size:13px;
    text-decoration:none;
}
.service-more:hover{
    text-decoration:underline;
}

/* services.html has 7 cards instead of the homepage's original 4, so
   it gets its own grid rule (fluid auto-fit instead of a fixed
   4-column grid) rather than forcing an uneven 4+3 split. The base
   .service-grid / .service-item / .service-icon rules above are
   otherwise reused as-is, unchanged, for full visual consistency
   with the rest of the site. */
.service-grid-7{
    grid-template-columns:repeat(auto-fit, minmax(230px, 1fr));
}

.footer{
    background:#0b0b0b;
    color:#999;
    text-align:center;
    padding:25px 0;
    font-size:15px;
    border-top:1px solid rgba(255,255,255,0.08);
}

.footer p{
    margin:0;
}
.whatsapp-btn{
    display:inline-block;
    background:#25D366;
    color:#fff;
    padding:15px 30px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

/* ===========================
   PREMIUM FOOTER (homepage only)
   — original Aventrix design: clean solid depth,
     restrained gold accents, generous spacing —
=========================== */
.premium-footer{
    position:relative;
    overflow:hidden;
    background-color:#0B2A20;
    background-image:url('images/footer-bg.jpg');
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    color:rgba(255,255,255,.85);
    padding:112px 0 0;
}

.premium-footer::before{
    content:"";
    position:absolute;
    top:0; left:0; right:0;
    height:2px;
    background:linear-gradient(90deg, transparent 0%, #D4AF37 50%, transparent 100%);
    z-index:2;
}

.premium-footer::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(6,24,18,.88) 0%, rgba(6,24,18,.93) 60%, rgba(5,20,15,.97) 100%);
    z-index:1;
}

.premium-footer > *{
    position:relative;
    z-index:3;
}

.premium-footer-top{
    display:grid;
    /* Narrowed the original 4 columns (1.5fr 0.9fr 0.9fr 1fr) slightly
       to make room for a 5th map column — same minimum adjustment
       approach as elsewhere in this pass. All 4 existing columns'
       content is completely unchanged. */
    grid-template-columns:1.3fr 0.8fr 0.8fr 0.9fr 1.3fr;
    gap:40px;
    padding-bottom:64px;
}

.pf-map-wrap{
    width:100%;
    height:220px;
    border-radius:12px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.12);
}
.pf-map-wrap iframe{ display:block; }

.pf-brand{
    padding-right:20px;
}

.pf-logo{
    font-family:'Montserrat',sans-serif;
    font-size:25px;
    font-weight:600;
    letter-spacing:2px;
    color:#fff;
    margin-bottom:8px;
}

/* Footer logo — same image asset as the header (images/aventrix-
   logo.png), swapped in for the old plain-text "AVENTRIX REALTY".
   The <h3 class="pf-logo"> wrapper (and its margin-bottom:8px
   spacing) is kept, only its content changed from text to an <img>;
   the font-* rules above are now unused by it but left in place
   since nothing else needs to change here. Sized by height,
   proportional width, same approach as the header. The image has its
   own transparent background so it reads correctly on the footer's
   dark green background. */
.pf-logo img{
    display:block;
    height:40px;
    width:auto;
}

.pf-tagline{
    font-size:11.5px;
    font-weight:600;
    letter-spacing:2.5px;
    color:#D4AF37;
    text-transform:uppercase;
    margin-bottom:22px;
    opacity:.9;
}

.pf-desc{
    font-size:14px;
    line-height:1.85;
    color:rgba(255,255,255,.5);
    max-width:320px;
    margin-bottom:26px;
}

.pf-contact{
    display:flex;
    flex-direction:column;
    gap:9px;
    padding-top:18px;
    border-top:1px solid rgba(212,175,55,.18);
}

.pf-contact a{
    color:rgba(255,255,255,.8);
    text-decoration:none;
    font-size:14px;
    letter-spacing:.2px;
    transition:color .25s ease;
    width:fit-content;
}

.pf-contact a:hover{
    color:#D4AF37;
}

.pf-contact p{
    font-size:13px;
    color:rgba(255,255,255,.45);
    line-height:1.65;
    margin-top:2px;
    max-width:270px;
}

.pf-heading{
    font-size:11px;
    font-weight:700;
    letter-spacing:2.5px;
    text-transform:uppercase;
    color:#D4AF37;
    margin-bottom:22px;
    position:relative;
    padding-bottom:12px;
}

.pf-heading::after{
    content:"";
    position:absolute;
    left:0; bottom:0;
    width:24px;
    height:2px;
    background:rgba(212,175,55,.45);
}

.pf-links{
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:12px;
    padding:0;
    margin:0;
}

.pf-links a{
    color:rgba(255,255,255,.55);
    text-decoration:none;
    font-size:14px;
    position:relative;
    transition:color .2s ease, padding-left .2s ease;
}

.pf-links a:hover{
    color:#D4AF37;
    padding-left:5px;
}

.pf-social{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.pf-social a{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border-radius:9px;
    border:1px solid rgba(212,175,55,.3);
    color:rgba(255,255,255,.7);
    text-decoration:none;
    transition:all .25s ease;
}

.pf-social a span{
    position:absolute;
    width:1px; height:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
    white-space:nowrap;
}

.pf-social a svg{
    width:16px;
    height:16px;
    flex-shrink:0;
    transition:transform .25s ease;
}

.pf-social a:hover{
    background:#D4AF37;
    border-color:#D4AF37;
    color:#0B2A20;
}

.pf-social a:hover svg{
    transform:scale(1.08);
}

.premium-footer-divider{
    height:1px;
    background:rgba(212,175,55,.14);
}

.premium-footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:14px;
    padding:24px 0;
}

.pf-copyright{
    font-size:12.5px;
    color:rgba(255,255,255,.4);
    letter-spacing:.3px;
    margin:0;
}

.pf-legal{
    display:flex;
    gap:26px;
}

.pf-legal a{
    color:rgba(255,255,255,.45);
    text-decoration:none;
    font-size:12.5px;
    transition:color .25s ease;
}

.footer-login-link{
    color:rgba(212,175,55,.55);
    text-decoration:none;
    font-size:12px;
    font-style:italic;
    letter-spacing:.3px;
    transition:color .25s ease;
    margin-left:18px;
}

p.copyright .footer-login-link{
    margin-left:10px;
    display:inline-block;
}

.footer-login-link:hover{
    color:#D4AF37;
}

.pf-legal a:hover{
    color:#D4AF37;
}

.whatsapp-btn:hover{
    background:#1da851;
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-section{
    padding:56px 8%;
    background:#faf9f7;
}

.testimonials-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
    margin-top:60px;
}

.testimonial-card{
    background:#fff;
    padding:40px 34px;
    border-radius:4px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    border-top:2px solid #D4AF37;
}

.testimonial-quote{
    font-family:'Montserrat',sans-serif;
    font-size:18px;
    font-style:italic;
    line-height:1.8;
    color:#374151;
    margin-bottom:26px;
}

.testimonial-author{
    display:flex;
    flex-direction:column;
    gap:3px;
    border-top:1px solid rgba(17,24,39,.08);
    padding-top:16px;
}

.testimonial-name{
    font-weight:700;
    font-size:15px;
    color:#111827;
}

.testimonial-role{
    font-size:13px;
    color:#0F3B2E;
    letter-spacing:.3px;
}

.testimonials-note{
    text-align:center;
    font-size:12.5px;
    color:#9ca3af;
    margin-top:50px;
    font-style:italic;
}

/* ===========================
   QUICK ENQUIRY
=========================== */
.quick-enquiry-section{
    position:relative;
    overflow:hidden;
    background:#0F3B2E;
    color:#fff;
    padding:56px 8%;
}

.quick-enquiry-section::before{
    content:"";
    position:absolute;
    inset:-20px;
    background:url('images/quick-enquiry-bg.jpg') center/cover no-repeat;
    filter:blur(5px);
    transform:scale(1.02);
    z-index:0;
}

.quick-enquiry-section::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(15,59,46,.55);
    z-index:1;
}

.quick-enquiry-section > *{
    position:relative;
    z-index:2;
}

.quick-enquiry-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:start;
}

.quick-enquiry-info{
    background:rgba(15,23,42,.4);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border:1px solid rgba(255,255,255,.16);
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    padding:44px;
}

.quick-enquiry-info .eyebrow-light{
    color:#D4AF37;
}

.quick-enquiry-info h2{
    font-family:'Montserrat',sans-serif;
    font-size:38px;
    font-weight:600;
    margin:16px 0 22px;
    max-width:420px;
}

.quick-enquiry-desc{
    font-size:16px;
    line-height:1.8;
    color:rgba(255,255,255,.75);
    max-width:420px;
    margin-bottom:50px;
}

.quick-enquiry-details{
    display:flex;
    flex-direction:column;
    gap:28px;
}

.qe-detail{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.qe-label{
    font-size:12px;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#D4AF37;
    font-weight:600;
    margin-bottom:4px;
}

.qe-detail a{
    color:#fff;
    text-decoration:none;
    font-size:16px;
    transition:.25s;
}

.qe-detail a:hover{
    color:#D4AF37;
}

.qe-detail p{
    color:rgba(255,255,255,.85);
    font-size:15.5px;
    line-height:1.6;
    margin-bottom:8px;
}

.qe-detail .map-btn{
    display:inline-block;
    font-size:13px;
    text-decoration:underline;
    color:#D4AF37;
}

/* ---------------------------------------------
   MULTIPLE OFFICE LOCATIONS — Contact section
   One .qe-detail-office block per office (Head
   Office + any future branches). Layout matches
   the original single-office block exactly.
--------------------------------------------- */
.qe-detail-office{
    padding-bottom:22px;
    margin-bottom:22px;
    border-bottom:1px solid rgba(212,175,55,.18);
}

.qe-detail-office:last-child{
    padding-bottom:0;
    margin-bottom:0;
    border-bottom:none;
}

.qe-office-name{
    font-size:12px;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#D4AF37;
    font-weight:600;
    margin-bottom:6px;
}

.qe-office-address{
    color:rgba(255,255,255,.85);
    font-size:15.5px;
    line-height:1.6;
    margin-bottom:8px;
}

.qe-office-links{
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
}

/* Get Directions — only rendered once an office has a verified
   Google Maps URL. Hidden entirely (not just empty) until then. Also
   used as a <button disabled> for branches with no Maps URL yet (see
   contact.html), so it needs a full browser-default reset to match
   the <a> version exactly. */
.get-directions-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:13px;
    font-weight:600;
    text-decoration:underline;
    color:#D4AF37;
    background:none;
    border:none;
    padding:0;
    font-family:inherit;
    cursor:pointer;
}

.get-directions-btn:hover{
    color:#fff;
}

/* Disabled state — e.g. "Google Maps Location Coming Soon" for a
   branch whose Maps URL hasn't been added yet. Once a URL is added,
   swapping this back to a normal enabled link needs no layout change. */
.get-directions-btn:disabled{
    color:#9a9a9a;
    text-decoration:none;
    cursor:not-allowed;
    opacity:.85;
}

.get-directions-btn:disabled:hover{
    color:#9a9a9a;
}

/* Embedded Google Map — only rendered once maps_url is set on an
   office. No code change is needed later: the loader checks the
   field at render time and swaps this in automatically. */
.office-map-embed{
    margin-top:14px;
    border-radius:12px;
    overflow:hidden;
    border:1px solid rgba(212,175,55,.25);
}

.office-map-embed iframe{
    display:block;
    width:100%;
    height:220px;
    border:0;
}

/* "Coming Soon" placeholder — same footprint as a real embedded map
   (see .office-map-embed iframe above), so dropping in a real map
   later needs no layout change. */
.office-map-embed.office-map-placeholder{
    height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:20px;
    background:#f7f5f0;
}

.office-map-embed.office-map-placeholder .office-locations-status{
    margin:0;
}

/* Business Hours rows (Contact page) */
.hours-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:12px 0;
    border-bottom:1px solid rgba(212,175,55,.15);
}

.hours-row:last-child{
    border-bottom:none;
    padding-bottom:0;
}

.hours-day{
    color:#666;
    font-size:14.5px;
}

.hours-time{
    color:#0F3B2E;
    font-weight:600;
    font-size:14.5px;
    text-align:right;
}

/* ---------------------------------------------
   MULTIPLE OFFICE LOCATIONS — Footer
   Each office is its own flex-column block, so name / address /
   "Phone:" label / each phone number / "Email:" label / email all
   stack on their own line automatically, with a small consistent
   gap between every line.
--------------------------------------------- */
.pf-office-block{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding-top:16px;
    margin-top:16px;
    border-top:1px solid rgba(212,175,55,.12);
}

.pf-office-block:first-child{
    padding-top:0;
    margin-top:0;
    border-top:none;
}

.pf-office-name{
    font-size:12px;
    letter-spacing:1.5px;
    text-transform:uppercase;
    color:#D4AF37;
    font-weight:600;
    margin-bottom:2px;
}

.pf-office-label{
    font-size:11px;
    letter-spacing:1px;
    text-transform:uppercase;
    color:rgba(255,255,255,.5);
    font-weight:600;
    margin-top:8px;
}

/* Compact one-line branch reference — keeps the footer short instead
   of repeating the full Adyar Branch address/phone/email (that detail
   lives on the Office Locations section). */
.pf-branch-line{
    padding-top:14px;
    margin-top:14px;
    border-top:1px solid rgba(212,175,55,.12);
    font-size:13px;
    color:rgba(255,255,255,.65);
    max-width:270px;
}

.pf-branch-line .pf-office-label{
    display:inline;
    margin-top:0;
    margin-right:6px;
}

/* Neutral loading / empty / error status text shown while office
   data loads, or if it can't — never a hardcoded address. */
.office-locations-status{
    color:#888;
    font-size:14.5px;
    font-style:italic;
}

.pf-contact .office-locations-status{
    color:rgba(255,255,255,.55);
}

/* ---------------------------------------------
   DEDICATED "OUR OFFICE LOCATIONS" SECTION
   Full card per office (Head Office + branches), loaded entirely
   from the office_locations table by js/public-offices.js.
--------------------------------------------- */
.office-locations-section{
    /* Reduced from 100px 8% (full-site spacing audit) -- shared by
       the homepage's office teaser AND all three office blocks on
       contact.html, where three of these stacked back to back meant
       200px of empty space between each. Left/right padding (8%)
       and everything else about the section untouched. */
    background:#F9F8F4;
    padding:56px 8%;
    text-align:center;
}

.office-locations-heading{
    font-family:'Montserrat',sans-serif;
    font-size:38px;
    font-weight:600;
    color:#111827;
    letter-spacing:.3px;
    margin:0 0 12px;
}

.office-locations-subtitle{
    max-width:560px;
    margin:0 auto 46px;
    color:#5b6472;
    font-size:16px;
    line-height:1.7;
}

.office-locations-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:32px;
    text-align:left;
    max-width:980px;
    margin:0 auto;
}

.office-locations-grid .office-locations-status{
    grid-column:1 / -1;
    text-align:center;
}

.office-card{
    background:#fff;
    border:1.5px solid #D4AF37;
    border-radius:16px;
    padding:30px 28px;
    box-shadow:0 10px 30px rgba(15,59,46,.07);
    position:relative;
}

.office-card-badge{
    display:inline-block;
    padding:3px 10px;
    border-radius:6px;
    background:#D4AF37;
    color:#0F3B2E;
    font-size:11px;
    font-weight:700;
    letter-spacing:.5px;
    text-transform:uppercase;
    margin-bottom:14px;
}

.office-card-name{
    font-size:20px;
    font-weight:700;
    color:#111;
    margin:0 0 10px;
    line-height:1.3;
}

.office-card-address{
    color:#666;
    font-size:15px;
    line-height:1.65;
    margin-bottom:14px;
}

.office-card-phone{
    display:flex;
    align-items:center;
    gap:8px;
    color:#0F3B2E;
    font-weight:600;
    font-size:14.5px;
    text-decoration:none;
    margin-bottom:10px;
    width:fit-content;
}

.office-card-phone:hover{
    color:#D4AF37;
}

.office-card .qe-office-links{
    margin-bottom:0;
}

/* Fix: .map-btn already has a solid green background with white text
   by default — this override was incorrectly setting the text to the
   same dark green as the background, making it invisible. Text and
   icon stay white; background, size, padding, radius and position
   are untouched. */
.office-card .map-btn{
    color:#fff;
}

.office-card .map-btn i{
    color:#fff;
}

.office-card .get-directions-btn{
    color:#0F3B2E;
}

.office-card .get-directions-btn:hover{
    color:#D4AF37;
}

.office-card .get-directions-btn:disabled,
.office-card .get-directions-btn:disabled:hover{
    color:#9a9a9a;
}

.office-card-pending{
    margin-top:12px;
    margin-bottom:0;
}

/* Solid "View on Google Maps" button used on the Contact page office
   cards — explicit white text and icon for contrast on the green
   background. The disabled state (no Maps URL yet, e.g. Adyar
   Branch) keeps the same pill shape so it stays clearly visible
   rather than fading into plain text, and swaps to a live link with
   zero layout change once a URL is added. */
.office-map-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:100%;
    box-sizing:border-box;
    margin-top:6px;
    background:#0F3B2E;
    color:#fff;
    padding:12px 20px;
    border:none;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    font-family:inherit;
    text-decoration:none;
    cursor:pointer;
    transition:.3s;
}

.office-map-btn i{
    color:#fff;
}

.office-map-btn:hover{
    background:#145041;
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(15,59,46,.25);
}

.office-map-btn:disabled{
    background:#9a9a9a;
    color:#fff;
    cursor:not-allowed;
    opacity:.9;
}

.office-map-btn:disabled i{
    color:#fff;
}

.office-map-btn:disabled:hover{
    background:#9a9a9a;
    transform:none;
    box-shadow:none;
}


.quick-enquiry-form-wrap{
    background:rgba(15,23,42,.4);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border:1px solid rgba(255,255,255,.16);
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    padding:40px;
}

.qe-field{
    margin-bottom:30px;
    display:flex;
    flex-direction:column;
    gap:9px;
}

.qe-field label{
    font-size:12.5px;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
    color:rgba(255,255,255,.9);
}

.qe-field input,
.qe-field textarea{
    background:rgba(255,255,255,.97);
    border:1.5px solid rgba(212,175,55,.35);
    border-radius:12px;
    padding:15px 18px;
    font-size:16px;
    font-family:inherit;
    color:#111827;
    outline:none;
    resize:vertical;
    transition:.25s;
}

.qe-field input::placeholder,
.qe-field textarea::placeholder{
    color:#9ca3af;
    font-size:15px;
}

.qe-field input:focus,
.qe-field textarea:focus{
    border-color:#0F3B2E;
    box-shadow:0 0 0 3px rgba(15,59,46,.18);
}

.qe-submit-btn{
    width:100%;
    background:#D4AF37;
    color:#07111F;
    border:none;
    padding:16px;
    border-radius:30px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.qe-submit-btn:hover{
    background:#B8962E;
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(0,0,0,.25);
}

.quick-enquiry-form-wrap .success-message{
    text-align:center;
    padding:20px;
}

.quick-enquiry-form-wrap .success-message h3{
    color:#D4AF37;
    margin-bottom:10px;
}

.quick-enquiry-form-wrap .success-message p{
    color:rgba(255,255,255,.85);
    margin-bottom:6px;
}

/* =========================
   ABOUT SECTION
========================= */

.about{
    padding:56px 8%;
    background:#fff;
}

.about .section-title{
    text-align:center;
    margin-bottom:50px;
}

.about .section-title::after{
    content:"";
    display:block;
    width:140px;
    max-width:60%;
    height:2px;
    background:#D4AF37;
    margin:12px auto 0;
    border-radius:2px;
}

.about .section-title h2{
    font-family:'Montserrat',sans-serif;
    font-size:30px;
    font-weight:600;
    letter-spacing:.3px;
    color:#111;
    max-width:none;
    margin:0 25px;
    text-transform:none;
}

.legacy-intro{
    font-size:17px;
    color:#6b7280;
    margin:22px auto 0;
    max-width:480px;
}

.legacy-subtitle{
    font-family:'Montserrat',sans-serif;
    font-style:italic;
    font-size:20px;
    color:#D4AF37;
    max-width:none;
}

.about-content{
    max-width:800px;
    margin:0 auto;
}

.about-content p{
    font-size:18px;
    line-height:2;
    color:#555;
    margin-bottom:24px;
    text-align:justify;
}

.about-closing{
    text-align:center !important;
    font-size:22px;
    font-weight:600;
    color:#111;
    margin-top:60px;
}


/* ===========================
   LEGACY TIMELINE
=========================== */
.legacy-timeline{
    max-width:820px;
    margin:100px auto 0;
    position:relative;
    padding-left:40px;
}

.legacy-item{
    position:relative;
    display:flex;
    gap:34px;
    margin-bottom:105px;
}

/* REMOVED per feedback: the connecting/centre timeline line — dots,
   years, and all milestone content are untouched, only this line
   segment is hidden. */
.legacy-item:not(:last-child)::after{
    display:none;
}

.legacy-item:nth-child(2){
    margin-bottom:130px;
}

.legacy-item:last-child{
    margin-bottom:0;
}

.legacy-dot{
    position:absolute;
    left:-40px;
    top:6px;
    width:11px;
    height:11px;
    border-radius:50%;
    background:#0F3B2E;
    box-shadow:0 0 0 5px rgba(15,91,79,.12);
}

.legacy-dot::before{
    content:"";
    position:absolute;
    top:-6px;
    left:-6px;
    width:23px;
    height:23px;
    border-radius:50%;
    border:1px solid rgba(15,59,46,.35);
}

.legacy-year{
    position:absolute;
    left:-34.5px;
    top:-28px;
    transform:translateX(-50%);
    text-align:center;
    white-space:nowrap;
    font-family:'Montserrat',sans-serif;
    font-size:15px;
    font-weight:700;
    letter-spacing:1.5px;
    color:#D4AF37;
    text-transform:uppercase;
}

.legacy-text h3{
    font-size:22px;
    font-weight:700;
    color:#111827;
    margin-bottom:14px;
    letter-spacing:.2px;
}

.legacy-text p{
    font-size:17px;
    line-height:2;
    color:#4b5563;
    max-width:640px;
}

/* ===== OUR LEADERSHIP ===== */

/* Leadership Section */

#leadership{
    padding:56px 20px;
    background:#ffffff;
    text-align:center;
}

#leadership h2{
    font-size:30px;
    margin-bottom:6px;
    color:#111;
}

#leadership p{
    color:#666;
}

/* ===========================
   MEET OUR LEADERSHIP -- redesigned to a "photo + text" row per
   person (per reference: large portrait photo beside an eyebrow
   label / name / role / bio / CTA button), replacing the previous
   two-cards-side-by-side layout. Same Aventrix colours/typography
   throughout -- only the structural layout changed. Photo side
   alternates row-to-row on desktop (.leader-row-reverse) for a less
   monotonous, more editorial feel; both rows stack to a single
   photo-then-text column on mobile (see html.is-mobile rules below
   and the max-width:768px fallback for non-touch narrow windows). */
.leadership-rows{
    display:flex;
    flex-direction:column;
    gap:72px;
    margin-top:40px;
}

.leader-row{
    display:flex;
    align-items:center;
    gap:56px;
    text-align:left;
}

.leader-row-reverse{
    flex-direction:row-reverse;
}

.leader-row-photo{
    flex:0 0 380px;
}

.leader-photo{
    width:100%;
    height:570px;
    aspect-ratio:2 / 3;
    object-fit:cover;
    border-radius:16px;
    box-shadow:0 18px 40px rgba(17,24,39,.12);
    display:block;
}

.leader-row-content{
    flex:1;
    min-width:0;
}

.leader-eyebrow{
    display:block;
    color:#D4AF37;
    font-size:12px;
    font-weight:700;
    letter-spacing:1.5px;
    margin-bottom:14px;
}

.leader-row-content h3{
    font-size:30px;
    color:#111;
    margin-bottom:6px;
}

.leader-row-content h4{
    font-size:15px;
    font-weight:600;
    color:#0F3B2E;
    margin-bottom:18px;
}

.leader-row-content p{
    font-size:15.5px;
    line-height:1.85;
    color:#4a4a4a;
    margin:0 0 26px;
    max-width:640px;
}

/* TNRERA registration line under a leader's designation (Home +
   About, Sanjay Gandhi L's profile). Pulled up under the h4 (which
   keeps its own 18px bottom margin for every other profile) and set
   smaller/muted so it never competes with the name or designation. */
.leader-row-content p.leader-rera{
    display:block !important;
    box-sizing:border-box !important;
    width:100% !important;
    max-width:none !important;
    margin:-10px 0 18px !important;
    padding:0 !important;
    font-size:14px !important;
    font-weight:800 !important;
    line-height:1.5 !important;
    letter-spacing:.25px !important;
    color:#0f7a45 !important;
    text-align:center !important;
    text-indent:0 !important;
}

.leader-cta{
    display:inline-block;
    background:#0F3B2E;
    color:#ffffff;
    font-size:14px;
    font-weight:600;
    padding:12px 28px;
    border-radius:8px;
    text-decoration:none;
    transition:background .25s ease, transform .25s ease;
}

.leader-cta:hover{
    background:#0c2f24;
    transform:translateY(-2px);
}
/* ===========================
   FLOATING BUTTON GROUP — single source of truth
   Order (top → bottom), one right edge, equal gaps:
     Scroll-to-Top → AI Assistant (homepage only) → WhatsApp
   Every size/position below comes from these tokens; no other
   rule in the site sets width/height/bottom/right for these
   buttons. Visibility rules (drawer open, map/EMI "step aside",
   print) live with their features and are unchanged.
=========================== */
:root{
    --fab-size:56px;
    --fab-gap:8px;
    --fab-right:24px;
    --fab-base:24px;                 /* WhatsApp distance from bottom */
    --fab-icon:26px;                 /* Scroll-to-Top arrow size      */
    --fab-ai-slot:0;                 /* 1 when the AI launcher is on  */
    --fab-ai-bottom:calc(var(--fab-base) + var(--fab-size) + var(--fab-gap));
    --fab-btt-bottom:calc(var(--fab-base) + (var(--fab-size) + var(--fab-gap)) * (1 + var(--fab-ai-slot)));
}
html.is-mobile{                      /* phones + tablets: clear of the bottom nav */
    --fab-size:44px;
    --fab-gap:12px;
    --fab-right:calc(18px + env(safe-area-inset-right, 0px));
    --fab-base:calc(90px + env(safe-area-inset-bottom, 0px));
    --fab-icon:17px;
}
@media (max-width:768px){            /* narrow window without touch signals */
    html:not(.is-mobile){
        --fab-size:44px;
        --fab-gap:8px;
        --fab-right:18px;
        --fab-base:20px;
        --fab-icon:17px;
    }
}
html.avx-ai-on{ --fab-ai-slot:1; }   /* set by js/ai-property-assistant.js */

.whatsapp-float{
    position: fixed;
    bottom: var(--fab-base);
    right: var(--fab-right);
    width: var(--fab-size);
    height: var(--fab-size);
    z-index: 9999;
    /* BUG FIX: border-radius on the <img> alone does not clip its
       content in this browser — confirmed directly with an isolated
       test (a red background stayed fully visible in every square
       corner despite border-radius:100% on the img). The clip must
       happen on this container instead, which is why it's added
       here alongside overflow:hidden. */
    border-radius: 100%;
    overflow: hidden;
    display: block;
    /* New logo artwork (per latest upload) has a transparent
       background — a solid white circular backing keeps this
       reading as a proper button rather than a transparent shape
       floating directly on the page, and gives the green logo mark
       clean contrast against any page background. */
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.whatsapp-float img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition: transform 0.3s;
}
.whatsapp-float:hover img{
    transform: scale(1.1);
}
/* ===========================
   BACK TO TOP — same circular
   floating style as WhatsApp,
   stacked directly above it
   with equal spacing
=========================== */
.back-to-top{
    position: fixed;
    /* Size and position: see FLOATING BUTTON GROUP tokens above. */
    bottom: var(--fab-btt-bottom);
    right: var(--fab-right);
    width: var(--fab-size);
    height: var(--fab-size);
    border-radius: 100%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:lab(69.03% 27.33 65.19);
    color:#ffffff;
    font-size:var(--fab-icon);
    border:none;
    cursor:pointer;
    box-shadow:0 8px 22px rgba(0,0,0,.25);
    z-index:9999;
    opacity:0;
    visibility:hidden;
    transform:translateY(15px);
    transition: opacity 0.3s ease, visibility 0.3s ease,
                transform 0.3s ease, background-color 0.3s ease;
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.back-to-top:hover{
    background:hwb(58 2% 30%);
    transform:translateY(-4px);
}

/* ===========================
   SECTION SCROLL INDICATOR
   One tiny, separate vertical dash per major homepage section —
   not a continuous bar. Mobile only (paired with .is-mobile, same
   pattern as the floating buttons). Sits vertically centred on the
   right edge, well clear of the WhatsApp / Back-to-top buttons
   which stay pinned to the bottom-right.
=========================== */
.section-scroll-indicator{
    display:none;
    position:fixed;
    top:46%;
    right:10px;
    transform:translateY(-50%);
    flex-direction:column;
    align-items:center;
    gap:5px;
    z-index:9997;
}

html.is-mobile .section-scroll-indicator{
    display:flex;
}

.ssi-segment{
    position:relative;
    display:block;
    width:2px;
    height:7px;
    border-radius:2px;
    background:rgba(255,255,255,0.55);
    box-shadow:0 0 0 1px rgba(0,0,0,0.18);
    transition:height 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.ssi-segment.active{
    height:11px;
    background:#D4AF37;
    box-shadow:0 0 0 1px rgba(15,59,46,0.35), 0 0 4px rgba(212,175,55,0.55);
}

/* Section-name tooltip — hidden by default, shown on hover (desktop)
   or briefly on tap (mobile, toggled via .show-tooltip in script.js).
   Appears to the left of its own segment; never shifts the segment. */
.ssi-tooltip{
    position:absolute;
    top:50%;
    right:100%;
    margin-right:8px;
    transform:translateY(-50%) translateX(4px);
    background:#0F3B2E;
    color:#ffffff;
    font-size:11px;
    font-weight:500;
    line-height:1;
    white-space:nowrap;
    padding:6px 10px;
    border-radius:5px;
    opacity:0;
    pointer-events:none;
    transition:opacity 0.18s ease, transform 0.18s ease;
    box-shadow:0 4px 12px rgba(0,0,0,0.22);
}

.ssi-segment:hover .ssi-tooltip,
.ssi-segment.show-tooltip .ssi-tooltip{
    opacity:1;
    transform:translateY(-50%) translateX(0);
}
.contact-info a{
    color:#ffffff;
    text-decoration:none;
    transition:0.3s;
}

.contact-info a:hover{
    color:#0F3B2E;
}
.office-phone a{
    color:#ffffff;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    white-space:nowrap;
}

.office-phone a:hover{
    color:#0F3B2E;
}
.map-btn{
    display:inline-block;
    margin-top:15px;
    padding:10px 20px;
    background:#0F3B2E;
    color:#fff;
    text-decoration:none;
    border-radius:6px;
    font-weight:600;
}

.map-btn:hover{
    background:#0b463d;
}
/* ===========================================================
   FULL PROPERTY DETAILS PAGE (property.html)
   Clean image gallery (nothing overlaid on it), then a persistent
   Back to Properties bar, title / location / price, structured
   specs, description, features, brokerage+RERA and a compact
   Call/WhatsApp CTA. All "pd-" prefixed so nothing here can
   collide with the Quick View's "qv-" classes.
=========================================================== */

/* --- Back to Properties bar (always visible, own strip above
   the gallery — never overlaid on the image) --- */
.pd-backbar{
    padding:16px 0;
    border-bottom:1px solid #f0f0f0;
}

.property-back-nav{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#0F3B2E;
    text-decoration:none;
    font-family:'Montserrat',sans-serif;
    font-weight:600;
    font-size:14px;
}

.property-back-nav:hover{
    text-decoration:underline;
}

/* --- Gallery --- */
.pd-gallery{
    position:relative;
    background:#0F3B2E;
}

.pd-gallery-track{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
}

.pd-gallery-track::-webkit-scrollbar{
    display:none;
}

.pd-gallery-track img{
    flex:0 0 100%;
    width:100%;
    height:520px;
    object-fit:cover;
    scroll-snap-align:center;
    display:block;
}

.pd-gallery-dots{
    position:absolute;
    left:0;
    right:0;
    bottom:16px;
    display:flex;
    justify-content:center;
    gap:6px;
}

.pd-gallery-dots span{
    width:7px;
    height:7px;
    border-radius:50%;
    background:rgba(255,255,255,.5);
    transition:.25s;
}

.pd-gallery-dots span.active{
    background:#D4AF37;
    width:18px;
    border-radius:4px;
}

.pd-gallery-count{
    position:absolute;
    right:16px;
    bottom:16px;
    background:rgba(0,0,0,.5);
    color:#fff;
    font-size:12px;
    font-family:'Montserrat',sans-serif;
    font-weight:600;
    padding:4px 11px;
    border-radius:20px;
}

/* --- Title / location / price header (plain page content, not
   an overlay on the image) --- */
.pd-header{
    padding:26px 0 8px;
}

.pd-badge{
    display:inline-block;
    background:#D4AF37;
    color:#0F3B2E;
    font-family:'Montserrat',sans-serif;
    font-weight:700;
    font-size:11px;
    letter-spacing:.6px;
    text-transform:uppercase;
    padding:5px 13px;
    border-radius:6px;
    margin-bottom:12px;
}

.pd-header h1{
    font-family:'Montserrat',sans-serif;
    font-size:44px;
    font-weight:600;
    color:#111;
    margin:0 0 8px;
    line-height:1.2;
}

.pd-location{
    font-family:'Montserrat',sans-serif;
    font-size:16px;
    color:#666;
    margin:0 0 16px;
}

.pd-price{
    font-family:'Montserrat',sans-serif;
    font-size:28px;
    font-weight:800;
    color:#0F3B2E;
}

/* --- Shared section heading style --- */
.pd-section-heading{
    font-family:'Montserrat',sans-serif;
    font-weight:700;
    font-size:13px;
    letter-spacing:1px;
    text-transform:uppercase;
    color:#0F3B2E;
    margin:0 0 18px;
    padding-bottom:12px;
    border-bottom:1px solid #eee;
}

.pd-specs,
.pd-description,
.pd-features,
.pd-trust{
    /* Divider colour brought to the sitewide rgba(17,24,39,.08)
       charcoal hairline (full-site audit) -- previously its own
       flat #f0f0f0 gray instead of the standard colour used for
       every other section/card boundary on the site. Padding
       (already a reasonable 26px) is unchanged. */
    padding:26px 0;
    border-top:1px solid rgba(17,24,39,.08);
}

/* --- Specifications grid — icon + label/value card, matching
   the reference layout's 2-column spec cards --- */
.pd-specs-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.pd-spec-card{
    display:flex;
    align-items:center;
    gap:12px;
    background:#f7f6f2;
    border:1px solid #eee;
    border-radius:14px;
    padding:14px;
}

.pd-spec-icon{
    flex-shrink:0;
    width:38px;
    height:38px;
    border-radius:10px;
    background:#fff;
    border:1px solid #e2e2e2;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0F3B2E;
    font-size:15px;
}

.pd-spec-text{
    min-width:0;
}

.pd-spec-label{
    display:block;
    font-family:'Montserrat',sans-serif;
    font-weight:600;
    font-size:10.5px;
    letter-spacing:.4px;
    text-transform:uppercase;
    color:#888;
    margin-bottom:3px;
}

.pd-spec-value{
    display:block;
    font-family:'Montserrat',sans-serif;
    font-weight:700;
    font-size:15px;
    color:#0F3B2E;
    line-height:1.3;
}

@media (min-width:900px){
    .pd-specs-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

/* --- Description --- */
.pd-desc-text{
    font-family:'Montserrat',sans-serif;
    font-size:16px;
    line-height:1.8;
    color:#444;
    margin:0;
    display:-webkit-box;
    -webkit-line-clamp:5;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.pd-desc-text.expanded{
    display:block;
    -webkit-line-clamp:unset;
    overflow:visible;
}

.pd-readmore{
    background:none;
    border:none;
    color:#0F3B2E;
    font-family:'Montserrat',sans-serif;
    font-weight:600;
    font-size:14px;
    padding:10px 0 0;
    cursor:pointer;
    text-decoration:underline;
}

/* --- Features — icon-topped grid, matching the reference layout --- */
.pd-features-list{
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px 12px;
}

.pd-features-list li{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:8px;
}

.pd-feature-icon{
    width:44px;
    height:44px;
    border-radius:12px;
    background:#f7f6f2;
    border:1px solid #eee;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0F3B2E;
    font-size:16px;
}

.pd-feature-label{
    font-family:'Montserrat',sans-serif;
    font-size:12.5px;
    font-weight:500;
    color:#333;
    line-height:1.35;
}

@media (min-width:900px){
    .pd-features-list{
        grid-template-columns:repeat(5,1fr);
    }
}

/* --- Brokerage / RERA — side-by-side trust cards --- */
.pd-trust-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.pd-trust-row.pd-trust-single{
    grid-template-columns:1fr;
}

.pd-trust-card{
    background:#f7f6f2;
    border:1px solid #eee;
    border-radius:14px;
    padding:16px;
}

.pd-trust-card .pd-section-heading{
    margin-bottom:8px;
    padding-bottom:0;
    border-bottom:none;
}

.pd-trust-card p{
    font-family:'Montserrat',sans-serif;
    font-size:14px;
    color:#444;
    margin:0;
}

.pd-rera-no{
    font-family:'Montserrat',sans-serif;
    font-weight:700;
    font-size:15px;
    color:#0F3B2E;
    margin:4px 0 0;
}

/* --- Contact CTA (normal page section, not an image overlay) —
   compact, side-by-side Call + WhatsApp, never full-width blocks --- */
.pd-contact-cta{
    padding:24px 0 50px;
}

.pd-contact-cta .container{
    display:flex;
    gap:12px;
}

.pd-call-btn,
.pd-whatsapp-btn{
    flex:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    height:48px;
    border-radius:30px;
    text-decoration:none;
    font-family:'Montserrat',sans-serif;
    font-weight:600;
    font-size:14.5px;
    box-sizing:border-box;
}

.pd-call-btn{
    background:#fff;
    color:#0F3B2E;
    border:1.5px solid #0F3B2E;
}

.pd-call-btn:hover{
    background:#f4f4f4;
}

.pd-whatsapp-btn{
    background:#25D366;
    color:#fff;
    border:1.5px solid #25D366;
}

.pd-whatsapp-btn:hover{
    background:#1ea952;
}

/* ===========================================================
   FULL PROPERTY DETAILS PAGE — MOBILE
=========================================================== */
html.is-mobile .pd-gallery-track img{
    height:280px;
}

html.is-mobile .pd-header{
    padding:20px 0 4px;
}

html.is-mobile .pd-header h1{
    font-size:26px;
    line-height:1.25;
}

html.is-mobile .pd-location{
    font-size:14px;
    margin-bottom:12px;
}

html.is-mobile .pd-price{
    font-size:22px;
}

html.is-mobile .pd-specs,
html.is-mobile .pd-description,
html.is-mobile .pd-features,
html.is-mobile .pd-trust{
    padding:20px 0;
}

/* BUG FIX per feedback: these sections' .container (shared sitewide,
   zero horizontal padding by default below 1200px) left the title,
   price/location, Property Details, Property Description, Key
   Features, RERA/Brokerage, the contact-action row, and the back-bar
   all touching the screen edges on mobile. Scoped to each section's
   own .container specifically — the shared .container class itself
   is untouched, so no other page is affected. */
html.is-mobile .pd-header .container,
html.is-mobile .pd-specs .container,
html.is-mobile .pd-description .container,
html.is-mobile .pd-features .container,
html.is-mobile .pd-trust .container,
html.is-mobile .pd-contact-cta .container,
html.is-mobile .pd-backbar-row{
    padding:0 16px;
}

.hero{
    min-height: 88vh;
    padding-top: 20px;
    padding-bottom: 50px;
    background: url("images/hero-poster.jpg") center center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    min-width:100%;
    min-height:100%;
    width:auto;
    height:auto;
    object-fit:cover;
    z-index:0;
}

.hero-overlay{

position:absolute;

top:0;

left:0;

width:100%;

height:100%;

/* LIGHTER, NEUTRAL OVERLAY per feedback: was a navy/black-tinted
   gradient (rgba(7,17,31, .32 -> .5 -> .62)) that made the hero
   image look dull and heavily darkened, especially near the bottom.
   Same neutral dark-charcoal tone already used on the six inner-page
   heroes, at a notably lighter opacity here so the image reads
   clearly — still enough contrast at the bottom for the search
   panel's text. */
background:linear-gradient(180deg, rgba(10,10,12,.15) 0%, rgba(10,10,12,.28) 65%, rgba(10,10,12,.4) 100%);

display:flex;

align-items:center;

z-index:1;

}

.hero-content{

width:90%;

max-width:1200px;

margin:auto;

color:#fff;

position:relative;

z-index:2;

}

.hero-tag{

display:inline-block;

letter-spacing:3px;

font-size:14px;

font-weight:600;

color:#D4AF37;

margin-bottom:25px;

text-transform:uppercase;

}

.hero h1{

font-family:'Montserrat',sans-serif;

font-size:62px;

line-height:1.18;

font-weight:700;

letter-spacing:.3px;

max-width:750px;

margin-bottom:40px;
margin-top: -200px;

}

.hero-subheading{
    font-family:'Montserrat',sans-serif;
    font-size:40px;
    font-weight:900 !important;
    letter-spacing:3px;
    text-transform:uppercase;
    color:#D4AF37;
    margin-bottom:100px;
}


.hero p{

font-size:19px;

line-height:1.85;

max-width:680px;

color:#E5E7EB;

margin-bottom:44px;

font-weight:300;

}

.hero-buttons{

display:flex;

gap:26px;

flex-wrap:wrap;

margin-bottom:10px;

}

.btn-primary{

background:#D4AF37;

color:#07111F;

padding:16px 36px;

border-radius:50px;

text-decoration:none;

font-weight:700;

transition:.3s;

}

.btn-primary:hover{

transform:translateY(-3px);

}

.btn-secondary{

border:2px solid #fff;

padding:16px 36px;

border-radius:50px;

text-decoration:none;

color:#fff;

font-weight:600;

transition:.3s;

}

.btn-secondary:hover{

background:#fff;

color:#07111F;

}

/* ===========================
   HERO PROPERTY SEARCH (glass)
=========================== */
.hero-wrapper{
    position:relative;
}

.hero-search-wrap{
    position:absolute;
    left:50%;
    bottom: 150px;
    transform:translateX(-50%);
    z-index:3;
    width:90%;
    max-width:1200px;
    margin:0;
}

.hero-search{
    position:relative;
    width:100%;
    background:rgba(255,255,255,0.14);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);
    border:1px solid rgba(255,255,255,0.3);
    border-radius:20px;
    padding:26px;
    box-shadow:0 30px 70px rgba(0,0,0,0.22);
}

.property-search-form{
    display:flex;
    flex-wrap:wrap;
    align-items:flex-end;
    gap:18px;
}

.search-field{
    flex:1 1 200px;
    display:flex;
    flex-direction:column;
    gap:7px;
}

.search-field label{
    font-size:12px;
    letter-spacing:1.5px;
    text-transform:uppercase;
    color:#fff;
    opacity:.9;
    font-weight:600;
}

.search-field input,
.search-field select{
    padding:14px 16px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.35);
    background:rgba(255,255,255,.92);
    font-size:16px;
    color:#111827;
    font-family:inherit;
    outline:none;
    transition:.25s;
}

.search-field input:focus,
.search-field select:focus{
    border-color:#D4AF37;
    box-shadow:0 0 0 3px rgba(200,169,106,0.25);
}

.search-btn{
    background:#D4AF37;
    color:#07111F;
    border:none;
    padding:14px 30px;
    border-radius:12px;
    font-weight:700;
    font-size:15px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    white-space:nowrap;
    transition:.3s;
}

.search-btn:hover{
    background:#B8962E;
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(0,0,0,.2);
}

/* ===========================
   BUY / SELL / LEASE CARDS
=========================== */
.bsl-section{
    padding:44px 8%;
    background:#faf8f5;
}

.bsl-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px 16px;
    row-gap:16px;
}
@media (min-width:901px){
    /* COMPACT SINGLE-LINE per feedback: Buy / Sell / Lease / Joint
       Venture / Property Advisory / NRI Services as one horizontal
       row on desktop instead of a 3x2 grid of large cards. Content
       unchanged, just laid out narrower. */
    .bsl-grid{ grid-template-columns:repeat(6,1fr); gap:10px; }
}

.bsl-card{
    background:#fff;
    border-radius:14px;
    padding:16px 10px;
    text-align:center;
    box-shadow:0 6px 16px rgba(0,0,0,.06);
    /* Border colour brought to the sitewide rgba(17,24,39,.08)
       charcoal hairline (full-site audit) -- the previous
       rgba(0,0,0,.04) was so faint against this card's white fill
       that it read as borderless in practice. Everything else about
       the card (shadow, radius, padding) is unchanged. */
    border:1px solid rgba(17,24,39,.08);
    text-decoration:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    transition:.3s;
}

.bsl-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.bsl-icon{
    width:40px;
    height:40px;
    border-radius:50%;
    background:linear-gradient(135deg,#0F3B2E,#0F3B2E);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:15px;
    margin-bottom:10px;
}

.bsl-card h3{
    font-size:14px;
    color:#111;
    margin-bottom:4px;
    font-weight:700;
}

.bsl-card p{
    color:#4b5563;
    font-weight:500;
    font-size:11.5px;
    line-height:1.4;
    margin:0;
}

/* Small "Learn More" affordance added inside each "What We Do" card.
   Reuses the same gold accent already used for .insight-card a links
   elsewhere on the site, for visual consistency. Purely a text
   affordance -- the whole .bsl-card is already the clickable link. */
.bsl-more{
    color:#c89b3c;
    font-weight:600;
    font-size:10.5px;
    margin-top:8px;
}





nav a{
    position: relative;
}

nav a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: 0.35s ease;
}

nav a:hover::after{
    width: 100%;
}
.hero-content{
    animation: fadeUp 1.2s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}
.logo-text{
    display:flex;
    flex-direction:column;
    text-decoration:none;
    text-align:center;
    line-height:1;
}

.logo-main{
    font-family:'Montserrat',sans-serif;
    font-size:30px;
    font-weight:500;
    letter-spacing:4px;
    color:#111111;
}

.logo-sub{
    margin-top:8px;
    font-family:'Montserrat',sans-serif;
    font-size:15px;
    letter-spacing:8px;
    color:#0F3B2E;
}
/* Scoped to unclassed spans only — this predates the classed
   .property-location / .property-price / button-label spans used by
   the dynamic property cards, and must not override them. */
.property-card span:not([class]){
    display:block;
    padding:10px 24px 0;
    font-size:18px;
    font-weight:600;
    color:#111;
}
/* ===== FOOTER ===== */

.footer-logo h3{
    font-size:30px;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:10px;
}

.footer-contact p{
    margin:10px 0;
    font-size:16px;
    color:#ddd;
}

.footer-social{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    margin:20px 0;
}

.footer-social a{
    display:flex;
    justify-content:center;
    align-items:center;
    width:54px;
    height:54px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:50%;
    color:#D4AF37;
    text-decoration:none;
    font-size:26px;
    transition:.3s;
}

.footer-social a:hover{
    background:#D4AF37;
    color:#111;
    transform:translateY(-3px);
}
.footer-logo h3,
.footer-logo h3 a {
    color: #ffffff;
    text-decoration: none;
}

.footer-logo p,
.footer-logo p a {
    color: #dddddd;
    text-decoration: none;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer a:hover {
    color: #D4AF37;
    text-decoration: none;
}
/* ===== SANJAY PROFILE PAGE ===== */

.profile-page{
    background:#f5f5f5;
    min-height:100vh;
    padding:50px 20px 60px;
}

.profile-container{
    max-width:900px;
    margin:auto;
    background:#fff;
    padding:50px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    text-align:center;
}

.profile-photo{
    display:block;
    width:100%;
    max-width:640px;
    height:auto;
    aspect-ratio:2 / 3;
    object-fit:cover;
    object-position:center top;
    border-radius:14px;
    border:0;
    margin:0 auto 28px;
}

.profile-container h1{
    font-size:38px;
    margin-bottom:10px;
}

.profile-container h3{
    color:#c8a96a;
    margin-bottom:20px;
}

.profile-intro{
    max-width:700px;
    margin:auto;
    font-size:18px;
    line-height:1.8;
    color:#555;
}

/* Compact "tag" chips for verified, list-style facts on the
   dedicated profile pages (Areas of Expertise, Languages) -- reuses
   the exact 1px rgba(17,24,39,.08) hairline already used sitewide
   (see SITEWIDE CARD / PANEL BOUNDARIES further down) and the
   existing #f5f5f5 neutral / #0F3B2E emerald tokens, so no new
   colours are introduced. Specialization keeps its existing
   data-bound <br> list (synced from the `realtors` table via
   js/public-realtors.js) rather than becoming tags, since converting
   it to individual <span> tags would just get wiped out the next
   time that sync runs and overwrites its innerHTML. */
.profile-tags{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin:0 0 16px;
}
.profile-tag{
    display:inline-flex;
    align-items:center;
    padding:8px 16px;
    border-radius:20px;
    border:1px solid rgba(17,24,39,.08);
    background:#f5f5f5;
    color:#0F3B2E;
    font-size:14px;
    font-weight:600;
    line-height:1.3;
}

/* "Connect with Sanjay" social row (sanjay.html only) -- a light-card
   counterpart to the footer's existing .pf-social (which is styled
   for the dark footer background and isn't reusable on this white
   card). Same hairline border / neutral background as .profile-tag
   above, same thin-stroke currentColor icon style already used for
   Facebook/Instagram/LinkedIn elsewhere on this site (icon paths
   reused as-is); X has no existing icon in this codebase so a plain
   two-stroke "X" mark was added in the same style. */
.profile-social{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
    margin:0 0 16px;
}
.profile-social a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 18px;
    border-radius:24px;
    border:1px solid rgba(17,24,39,.08);
    background:#f5f5f5;
    color:#0F3B2E;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:background .25s ease, transform .25s ease;
}
.profile-social a:hover{
    background:#eceae2;
    transform:translateY(-2px);
}
.profile-social a svg{
    width:18px;
    height:18px;
    flex-shrink:0;
}
.main-nav{
    display:flex;
    align-items:center;
    gap:22px;
    margin-left:26px;
}

.main-nav > .dropdown{
    display: inline-block;
}

.main-nav a{
    position:relative;
    color:#111827;
    text-decoration:none;
    font-family:'Montserrat',sans-serif;
    font-weight:600;
    font-size:12px;
    letter-spacing:.5px;
    padding:6px 0;
    /* BUG FIX: multi-word items ("About Us", "List With Us", "Free
       Valuation", "Joint Venture", "NRI Services") were wrapping onto
       a second line whenever the row ran tight on horizontal space —
       confirmed from screenshots. nowrap keeps every item on one
       line; the gap/margin/font-size trims above make enough extra
       room that the whole row fits without wrapping at normal desktop
       widths, without shrinking anything drastically. */
    white-space:nowrap;
    transition:color .3s ease;
}

.main-nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:1.5px;
    background:#0F3B2E;
    transition:width .35s ease;
}

/* Small extra breathing room before Admin so it reads as a
   separate utility item, without a large disconnected gap.
   Desktop only — mobile keeps the normal full-width stacked rows. */
.main-nav a.main-nav-admin{
    margin-left:16px;
}

.main-nav a:hover{
    color:#0F3B2E;
}

.main-nav a:hover::after{
    width:100%;
}

/* Adding the new "Services" link (9th item, Phase C) made the desktop
   nav row too wide to fit inside the header at "medium" desktop
   widths (~1024-1400px) -- .nav-right (phone/account icons) was
   being pushed past the right edge of the viewport and silently
   clipped by the sitewide overflow-x:hidden on body.

   This is the ONE authoritative place for nav spacing/sizing between
   769px and 1450px -- an older, conflicting fixed-breakpoint fix used
   to live much further down this file (search "HEADER — DESKTOP
   OVERFLOW FIX (superseded)") and, because it came later in the
   source with the same selectors/specificity, was silently winning
   and fighting this block for part of this same width range. That
   block is now inert; don't add another nav-sizing rule elsewhere.

   Five tiers (not clamp()) so the exact spacing at each width is easy
   to read and re-verify by eye, going from just-enough-to-fit at the
   narrowest supported width up to a comfortably spaced, premium feel
   by ~1300px+. Re-verified via computed bounding rects across the
   entire 769-1450px range (769/800/900/1000/1023/1024/1100/1150/1151/
   1200/1250/1300/1301/1350/1366/1400/1440/1450) with .nav-right always
   landing inside the viewport -- zero overflow at every tested width.
   Above 1450px the header already had enough room and is left at its
   original, most spacious values. Mobile (<=768px) is unaffected --
   that's the separate off-canvas drawer, not this rule.

   TYPOGRAPHY REFINEMENT PASS: font-weight bumped 400->600, font-size
   trimmed slightly, and letter-spacing/gap increased at every tier
   (most generously above 1300px where there's real room, kept minimal
   at the two narrowest tiers to protect the zero-overflow guarantee
   above) for a more premium, confidently-bold, better-spaced nav
   label feel. Re-verified with the same full 769-1920px sweep plus
   an explicit check of 1024/1280/1440/1920px after this pass -- still
   zero overflow, zero wrapping, .nav-right always fully in-viewport. */
@media (min-width:769px) and (max-width:899px){
    .container.nav{ width:99.9%; max-width:1490px; }
    .main-nav{ gap:1px; margin-left:1px; }
    .main-nav a{ font-weight:600; font-size:6.4px; letter-spacing:0; }
    .main-nav a.main-nav-admin{ margin-left:1px; }
    .nav-right{ gap:1px; }
    .logo img{ height:42px; }
}
@media (min-width:900px) and (max-width:1023px){
    .container.nav{ width:99.5%; max-width:1480px; }
    .main-nav{ gap:1px; margin-left:1px; }
    .main-nav a{ font-weight:600; font-size:8.4px; letter-spacing:0; }
    .main-nav a.main-nav-admin{ margin-left:1px; }
    .nav-right{ gap:2px; }
    .logo img{ height:42px; }
}
@media (min-width:1024px) and (max-width:1150px){
    .container.nav{ width:99%; max-width:1470px; }
    .logo{ margin-right:8px; }
    .main-nav{ gap:4px; margin-left:4px; }
    .main-nav a{ font-weight:600; font-size:9.5px; letter-spacing:.15px; }
    .main-nav a.main-nav-admin{ margin-left:4px; }
    .nav-right{ gap:3px; }
    .logo img{ height:42px; }
}
@media (min-width:1151px) and (max-width:1300px){
    .container.nav{ width:98%; max-width:1450px; }
    .logo{ margin-right:8px; }
    .main-nav{ gap:7px; margin-left:8px; }
    .main-nav a{ font-weight:600; font-size:10.5px; letter-spacing:.3px; }
    .main-nav a.main-nav-admin{ margin-left:6px; }
    .nav-right{ gap:4px; }
    .logo img{ height:42px; }
}
@media (min-width:1301px) and (max-width:1450px){
    .container.nav{ width:98%; max-width:1460px; }
    .logo{ margin-right:16px; }
    .main-nav{ gap:12px; margin-left:14px; }
    .main-nav a{ font-weight:600; font-size:11.5px; letter-spacing:.4px; }
    .main-nav a.main-nav-admin{ margin-left:10px; }
    .nav-right{ gap:5px; }
    /* The extra "Services" link no longer fits comfortably at this
       width purely by tightening nav text spacing, so the logo is
       also scaled down slightly here (53px -> 42px) -- still the
       full colour image logo, same proportions, just smaller in
       this one narrow "medium desktop" band. Untouched above
       1450px (full 53px) and untouched on mobile (its own 41px
       rule, further down, is unaffected by this query's floor). */
    .logo img{ height:42px; }
}
/* HEADER FIT FIX: the tiers above (and the >1450px base values) were
   calibrated when .nav-right held two icons; it now holds four
   (Wishlist + Shortlist were added by script later), ~86px wider, so
   the phone icon was being pushed past the container -- and clipped
   by the viewport at the start of each tier (1024-1048, 1151-1176,
   1301-1316, 1451px+). Fixed with spacing only (logo right margin and
   nav gaps above, plus this block): font size, weight and letter-
   spacing are unchanged at every width. Re-verified 769-1920px at 1px
   steps: .nav-right stays inside both the viewport and the header
   container, on a single nav row. */
@media (min-width:1451px){
    html:not(.is-mobile) .logo{ margin-right:8px; }
    html:not(.is-mobile) .main-nav{ gap:13px; margin-left:16px; }
}

/* PROPERTY TOOLS NAV ITEM (2026-10-14): the 11th nav link pushed
   .nav-right (and the call button) past the container/viewport at
   768 of the 1152 desktop widths between 769 and 1920px. Fixed with
   spacing only (gaps/margins in the tiers above; font size, weight
   and letter-spacing unchanged) plus a compact desktop label: the
   link reads "Tools" in the desktop row and "Property Tools" in the
   mobile drawer, where there is room. Re-verified 769-1920px at 1px
   steps on a page with all four .nav-right icons. */
.main-nav .nav-label-extra{ display:none; }
html.is-mobile .main-nav .nav-label-extra{ display:inline; }

.dropdown{
    position:relative;
    display: inline-block;
}

.dropdown-toggle{
    display:flex;
    align-items:center;
    gap:6px;
    color:inherit;
}
.dropdown-toggle i{
    color:inherit;
}
    .main-nav .dropdown.open > .dropdown-content{display:block;}
.dropdown:hover .dropdown-content{
        display: block;
    }   
.dropdown-content{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width:180px;
    background:#fff;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    overflow:hidden;
    z-index:9999;
}

.dropdown-content a{
    display:block;
    padding:12px 18px;
    color:#222;
    text-decoration:none;
}

.dropdown-content a:hover{
    background:#f5f5f5;
    color:#C8A05A;
}
/* Aventrix Tools dropdown reliability fix.
   Desktop: open on hover and keyboard focus.
   Mobile: remain controlled by .dropdown.open (tap handler in script.js). */
@media (hover: hover) and (pointer: fine) {
    .main-nav .dropdown:hover > .dropdown-content,
    .main-nav .dropdown:focus-within > .dropdown-content {
        display: block;
    }
}
.main-nav .aventrix-tools-dropdown > .dropdown-content {
    min-width: 245px;
}
html.is-mobile .main-nav .aventrix-tools-dropdown > .dropdown-content {
    min-width: 0;
}
.main-nav .dropdown-toggle:focus-visible {
    outline: 2px solid #0F3B2E;
    outline-offset: 3px;
}

/* ==========================
   LIST WITH US - HERO
========================== */

.list-hero{

    /* HERO CONSISTENCY per feedback: replaced the heavy navy/black
       gradient (rgba(5,7,21,.89) -> rgba(10,20,45,.80), a blue-toned
       overlay) with a neutral dark charcoal glass treatment — more
       transparent, no blue tint, image reads clearly through it.
       min-height reduced from 90vh (near-full viewport) to match
       .sf-header's new shared height so all six service-page heroes
       are visually consistent. */
    background:
    linear-gradient(rgba(10,10,12,0.5), rgba(10,10,12,0.62)),
    url("images/list-property-banner.jpg") center center/cover no-repeat;
    min-height:420px;
    justify-content:center;
    display:flex;
    align-items:center;

    color:#fff;

    text-align:center;

}

/* Brokerage & Professional Fees page only -- a page-specific override
   of just the background-image, keeping the exact same .list-hero
   overlay gradient, min-height, layout and typography that
   list-with-us.html / enquiry.html / insights.html still use with
   the original image. New photo: a premium architectural exterior
   (no people, no text, no logos/signage), which suits a "transparent
   fees / professional advisory" page better than the generic listing
   banner. */
.brokerage-hero{
    background:
    linear-gradient(rgba(10,10,12,0.5), rgba(10,10,12,0.62)),
    url("images/brokerage-fees-hero.jpg") center center/cover no-repeat;
}

.list-hero .container{

    max-width:900px;

    margin:auto;

}

.section-tag{

    display:inline-block;

    margin-bottom:20px;

    color:#d4af37;

    letter-spacing:3px;

    font-size:13px;

    font-weight:600;

}

.list-hero h1{

    font-size:54px;

    line-height:1.2;

    margin-bottom:20px;

}

/* MOBILE-ONLY per feedback: 54px was too large on narrow phone
   screens, covering too much of the background image, across all
   five pages that share .list-hero (List With Us, Free Valuation,
   Joint Venture, NRI Services, Contact). Font family/weight/color
   untouched — only size. Properties page uses a completely separate
   selector (.sf-header h1), so it's structurally unreachable by
   this rule. Desktop's 54px above is untouched. */
html.is-mobile .list-hero h1{
    font-size:26px;
}

.list-hero p{

    font-size:18px;

    line-height:1.8;

    color:#d6d6d6;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

}

.primary-btn{

    background:#0F3B2E;

    color:#faf7f7;

    padding:16px 36px;

    border-radius:40px;

    text-decoration:none;

    font-weight:600;

}

/* ===========================
   HEADER PHONE LINK (homepage)
   Replaces the "Enquire Now" button with a
   minimal, premium tap-to-call element.
=========================== */
/* Visually hidden but still readable by screen readers —
   used for headings needed for structure but not the visual design */
.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

/* Phone — now an icon-only circular button, matching the Wishlist/
   Profile icons exactly in shape (see .nav-wishlist-link). The phone
   number text has been removed from the desktop header per request;
   the link itself is unchanged (tel: href, data-site="phone1" for
   the admin-editable number), so tapping/clicking still calls. */
.nav-phone{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    flex-shrink:0;
    border-radius:50%;
    text-decoration:none;
    transition:.2s;
}

.nav-phone i{
    font-size:14px;
    color:#D4AF37;
    flex-shrink:0;
    transition:transform .3s ease;
}

.nav-phone:hover{
    background:#faf3e3;
}

.nav-phone:hover i{
    transform:rotate(-8deg);
}

.secondary-btn{

    border:2px solid #ffffff;

    color:#fff;

    padding:16px 36px;

    border-radius:40px;

    text-decoration:none;

    font-weight:600;

}
/* OWNER FORM */
.owner-form{
    padding:80px 0;
    background:#f8f9fb;
}

.owner-form p{

    text-align:center;

    color:#666;

    font-size:17px;

    line-height:1.8;

    margin-bottom:18px;

}
.confidential-note{
    text-align:center;
    font-size:15px;
    font-weight:500;
    color:#666;
    margin:25px 0 35px;
}

.owner-form .container{

    width:90%;

    max-width:1100px;

    margin:0 auto;

    background:#ffffff;

    padding:60px;

    border-radius:20px;

    box-shadow:0 20px 60px rgba(0,0,0,0.08);

}

.owner-form h2{

    font-size:38px;

    text-align:center;

    margin-bottom:10px;

}
.owner-form h2::after{

    content:"";
    display:block;
    width:80px;
    height:3px;
    background:#D4AF37;
    margin:15px auto 0;
    border-radius:20px;

}

.owner-form p{

    text-align:center;

    color:#666;

    margin-bottom:40px;

}
.owner-form input[type="file"]{
    font-size:13px;
    color:#666;
    margin-bottom:20px;
}

.form-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}

.form-grid input,
.form-grid select,
.owner-form textarea{

    width:100%;

    padding:15px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:16px;

}

.owner-form button{
    display: block;
    width: 180px;
    height: 50px;

    margin-top: 35px;
    margin-left: auto;
    margin-right: auto;

    padding: 0;
    line-height: 50px;

    background: #d4af37;
    color: #111;
    border: none;
    border-radius: 12px;

    font-size: 16px;
    font-weight: 600;
    cursor: pointer;

    transition: 0.3s;
}

.owner-form button:hover{
    background: #c89a2d;
}
.upload-label{
    display:block;
    font-size:14px;
    font-weight:500;
    color:#666;
    margin:12px 0 6px;
}
.form-group{
    display:flex;
    flex-direction:column;
}

.form-group label{
    font-size:14px;
    font-weight:600;
    color:#222;
    margin-bottom:8px;
}

.required{
    color:#e53935;
}
.back-btn:hover{
    background:#c79b23;
}
.submit-wrapper{
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.success-message{
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-message.show{
    display: block;
}
.free-valuation-hero{
    /* HERO CONSISTENCY per feedback: same dark-glass overlay and
       shared height as the other five service-page heroes — keeps
       its own image (valuation-bg.png). */
    background:
    linear-gradient(rgba(10,10,12,0.5), rgba(10,10,12,0.62)),
    url("images/valuation-bg.png") center center/cover no-repeat;

    min-height:420px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    position:relative;
}

/* HERO CONSISTENCY per feedback: these three pages previously had no
   distinct image at all (plain .list-hero, sharing List With Us's
   banner). Own existing image each, same dark-glass overlay/height
   as the rest of this group via the shared .list-hero base. */
.joint-venture-hero{
    background:
    linear-gradient(rgba(10,10,12,0.5), rgba(10,10,12,0.62)),
    url("images/cat-land-plots.jpg") center center/cover no-repeat;
}
.nri-services-hero{
    background:
    linear-gradient(rgba(10,10,12,0.5), rgba(10,10,12,0.62)),
    url("images/nri-services-hero.jpg") center center/cover no-repeat;
}
.contact-page-hero{
    background:
    linear-gradient(rgba(10,10,12,0.48), rgba(10,10,12,0.62)),
    url("images/brokerage-fees-hero.jpg") center center/cover no-repeat;
    background-color:#0b2520;
}

/* ENQUIRY PAGE FIX */
.enquiry-form-section{
    padding-top:50px;
    padding-bottom:80px;
}

.enquiry-container{
    max-width:1200px;
    margin:0 auto;
    padding:40px 30px;
}

.enquiry-form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}

.enquiry-form textarea{
    min-height:180px;
}

@media(max-width:768px){
    .enquiry-form{
        grid-template-columns:1fr;
    }

    .enquiry-form-section{
        padding-top:40px;
    }
}
.back-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:12px 20px;
    background:#d4af37;
    color:#111;
    text-decoration:none;
    border-radius:30px;
    font-weight:600;
    font-size:16px;
    white-space:nowrap;
    transition:0.3s;
}

.back-btn:hover{
    background:#f2d16b;
    transform:translateY(-2px);
}
/* =========================
   INSIGHTS PAGE
========================= */

.insight-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:24px;
    margin-top:40px;
}

.insight-card{
    background:#ffffff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.insight-card:hover{
    transform:translateY(-6px);
}

.insight-card img{
    width:100%;
    height:160px;
    object-fit:cover;
    display: block;
}

.insight-card .content{
    padding:20px;
}

.insight-card h3{
    margin-bottom:12px;
    font-size:22px;
}

.insight-card p{
    font-size:15px;
    line-height:1.7;
    margin-bottom:18px;
}

.insight-card a{
    color:#c89b3c;
    font-weight:600;
    text-decoration:none;
}
.page-nav{
    position:absolute;
    top:30px;
    left:40px;
    display:flex;
    gap: 15px;
    align-items: center;
    z-index:1000;
}

.page-nav .back-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 26px;
    background:#D4AF37;
    color:#000;
    text-decoration:none;
    border-radius:50px;
    font-weight:600;
}

.page-nav .back-btn:hover{
    background:#c79f2d;
}

/* ===========================
   PREMIUM MOBILE MENU
=========================== */
.menu-toggle{
    display: none;
    position: relative;
    z-index: 10002;
    width:44px;
    height:44px;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    gap:6px;
    background:none;
    /* BUG FIX: was rendering on the LEFT of the mobile header (default
       flex order, right after the logo in DOM). Needs to be the LAST
       element on the right, after the notification bell (order:5) —
       see .home-app-header-actions above. order:6 here achieves that
       without touching the notification bell's own rule or this
       button's click handler/functionality. */
    order:6;
    border:none;
    cursor:pointer;
}

.menu-toggle span{
    display:block;
    width:28px;
    height:2px;
    background:#111;
    transition:all .3s ease;
    transform-origin:center;
}

.menu-toggle.active span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}
.menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9998;
}

.menu-overlay.active{
    opacity:1;
    visibility:visible;
} 
/* ==========================================
   MOBILE LAYOUT — applied via device
   detection (html.is-mobile class set by
   script.js), NOT by viewport width, so it
   stays active in landscape orientation too.
========================================== */
html.is-mobile .container.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 16px;
}

html.is-mobile .logo-main{
    font-size:22px;
    letter-spacing:2px;
}

html.is-mobile .logo-sub{
    font-size:11px;
    letter-spacing:5px;
}

/* Mobile size for the new logo image — matches the OLD mobile text
   logo's measured rendered height (41px) exactly, same reasoning as
   the desktop rule above. */
html.is-mobile .logo img{
    height:41px;
}

html.is-mobile .menu-toggle{
    display:flex;
}

html.is-mobile .nav-right{
    display:none;
}

html.is-mobile .hero{
    /* MOBILE-ONLY per feedback: reduced from 820px. Originally tried
       750px (~8.5%) but that combined with the longer new headline
       text to overlap the search panel with "BUY - SELL - RENT" —
       confirmed the margin there was already only ~8px even before
       this change. Settled on 780px (~5%, low end of the requested
       5-10% range) which leaves enough room to fix that overlap
       properly (see .hero-search-wrap below) rather than compounding
       it. Desktop's .hero{min-height:88vh} above is untouched. */
    min-height: 780px;
    height:auto;
    padding:40px 16px 0;
}

html.is-mobile .hero-overlay{
    align-items:flex-start;
    padding-top:220px;
}

html.is-mobile .hero-buttons{
    flex-direction:column;
    gap:14px;
}

/* MOBILE-ONLY per feedback: switching to flex-direction:column above
   means the cross-axis becomes horizontal, and flexbox's default
   align-items:stretch was stretching the button to fill the full
   width — that's the actual cause of the oversized button, not
   anything explicit on .primary-btn itself. Scoped to this added
   class (only on List With Us / Free Valuation / Joint Venture /
   NRI Services) rather than plain .hero-buttons, so enquiry.html
   — which shares .hero-buttons but was not part of this request —
   is completely unaffected. align-items:center stops the stretch
   (button becomes its natural content+padding width) and centers
   it, satisfying both requirements with one property. */
html.is-mobile .hero-buttons-compact{
    align-items:center;
}

html.is-mobile .hero-content{
    margin:0 auto;
}

html.is-mobile .hero h1{
    font-size:34px;
    line-height:1.2;
    /* BUG FIX: the hero-corner Post Property CTA was overlapping this
       headline's second line — confirmed visually. Capping width
       keeps both lines clear of the CTA in the top-right corner. */
    max-width:78%;
}

html.is-mobile .hero p{
    font-size:16px;
    line-height:1.7;
}

html.is-mobile .btn-primary,
html.is-mobile .btn-secondary{
    width:100%;
    text-align:center;
}

html.is-mobile .property-grid,
html.is-mobile .why-grid,
html.is-mobile .contact-info{
    grid-template-columns:1fr;
    display:grid;
    gap:24px;
}

/* Meet Our Leadership rows -- was a grid (.leadership-grid), now the
   .leader-row/.leader-row-reverse split layout (see the desktop rules
   near .leadership-rows further up). On mobile both rows always
   stack photo-then-text in a single column, and the alternating
   "reverse" direction used on desktop is switched off so row order
   never flips on a narrow screen. */
html.is-mobile .leadership-rows{
    gap:48px;
}
/* Content-width target (mobile refinement pass): #leadership's own
   20px side padding plus the row-content's max-width together were
   only landing the readable column at ~82% of the viewport -- a
   touch tighter than the requested ~88-90%. Trimming the section's
   own side padding slightly and widening the row-content max-width
   closes that gap without touching anything else about the section
   (heading, background, row gap, photo). */
html.is-mobile #leadership{
    padding-left:12px;
    padding-right:12px;
}
html.is-mobile .leader-row,
html.is-mobile .leader-row-reverse{
    flex-direction:column;
    align-items:stretch;
    gap:20px;
    text-align:center;
}
html.is-mobile .leader-row-photo{
    flex:0 0 auto;
    width:100%;
    max-width:100%;
    margin:0 auto;
}
html.is-mobile .leader-photo{
    width:100%;
    height:auto;
    aspect-ratio:2 / 3;
    object-fit:cover;
}
/* BUG FIX (mobile alignment pass): the content block had no width
   constraint of its own on mobile, so with text-align:center it
   stretched to the full section width and wrapped unevenly (long,
   ragged lines with no consistent measure -- the "uncontrolled
   wrapping" look). Giving the whole block (eyebrow, name, role,
   paragraph, button) the same centered max-width keeps every line
   short enough to read comfortably and keeps them all aligned to
   one consistent column, instead of just the paragraph having its
   own separate width. Photo, colours, typography and the desktop
   layout are untouched. */
html.is-mobile .leader-row-content{
    text-align:center;
    max-width:96%;
    margin:0 auto;
}
/* MOBILE PROFILE REFINEMENT PASS: body paragraph was inheriting the
   desktop 15.5px/1.85 line-height with the block's centered
   text-align, which produced tall, ragged, hard-to-scan wrapping on
   narrow screens. Left-aligning just the paragraph (name/role/eyebrow
   above stay centered -- hierarchy untouched) with a slightly larger
   16px size but tighter 1.7 line-height reads as more compact and
   more "professional report" than centered prose, while the shared
   90% container width above keeps it comfortably inset from the
   screen edges on all three tested widths (375/390/414). */
html.is-mobile .leader-row-content p{
    max-width:none;
    margin:0 0 22px;
    font-size:16px;
    line-height:1.7;
    text-align:left;
}
/* Keep the TNRERA line small and centred with the name/role on
   mobile (the left-aligned 16px rule above is for the bio only). */
html.is-mobile .leader-row-content p.leader-rera{
    margin:-12px 0 18px;
    font-size:12.5px;
    line-height:1.5;
    text-align:center;
}

/* MOBILE 2-COLUMN per feedback: "What We Do" (.bsl-grid, id=
   "what-we-do") pulled out of the combined 1-column rule above —
   the other four in that rule (.property-grid/.why-grid/
   .contact-info) are untouched, still 1 column.
   Learned from the Featured Locations bug just above: using
   minmax(0,1fr) instead of plain 1fr from the start, so grid tracks
   can't balloon past the container based on any child's intrinsic
   content width. */
html.is-mobile .bsl-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    display:grid;
    gap:14px;
}
html.is-mobile .bsl-card{
    min-width:0;
    padding:14px 8px;
}

/* MOBILE 2-COLUMN per feedback: Our Services pulled out of the
   combined 1-column rule above (which still governs .property-grid/
   .why-grid/.contact-info/.bsl-grid unchanged) so
   it alone gets 2 columns on mobile. Desktop untouched — this is
   entirely inside html.is-mobile. */
html.is-mobile .service-grid{
    grid-template-columns:repeat(2, 1fr);
    display:grid;
    gap:14px;
}
html.is-mobile .service-item{
    /* Padding trimmed to fit the narrower 2-column width. */
    padding:6px 10px;
}

html.is-mobile .property-card{
    width:100%;
}
/* MOBILE-ONLY per feedback: View Details on properties.html cards
   was still using the full desktop size (min-height:44px,
   padding:11px 22px, font-size:14px). Compact version here, kept
   large enough to tap comfortably (36px min-height, well above the
   ~32px de-facto minimum). Desktop .view-details-btn is untouched. */
html.is-mobile .view-details-btn{
    min-height:38px;
    padding:8px 16px;
    font-size:12.5px;
}

/* Keep leadership portraits at the reference site's tall 2:3 ratio on mobile. */
html.is-mobile .leader-photo{
    height:auto;
    aspect-ratio:2 / 3;
}

html.is-mobile .featured{
    padding:45px 16px 55px;
}

html.is-mobile #leadership{
    padding:50px 16px;
}

html.is-mobile .why{
    padding:45px 16px;
}

html.is-mobile .services{
    padding:45px 16px 50px;
}

html.is-mobile .why-grid{
    gap:32px;
}

html.is-mobile .why-item,
html.is-mobile .service-item{
    /* BOXED CARD per feedback: was padding:0 (fine for the old plain-
       divider look, but would make the new card boxes look broken —
       content touching the card edges). Now matches the boxed-card
       treatment. BUG FIX: this rule (and two others nearby) used to
       also set border-left:none — leftover from before these were
       real 4-side-bordered boxes; removing it, since it was
       chipping the left edge off the border on mobile (confirmed
       directly: borderWidth computed as "1px 1px 1px 0px"). */
    padding:16px 12px;
}

html.is-mobile .why-item p,
html.is-mobile .service-item p{
    max-width:280px;
}

html.is-mobile .hero-search-wrap{
    position:absolute;
    left:50%;
    /* BUG FIX: calculated to give ~17px clearance below the
       "BUY - SELL - RENT" tagline (which sits lower than before due
       to the new, longer headline pushing it down) while still
       reducing the empty gap below the panel compared to the
       original 120px. Verified empirically below, not just by this
       calculation. */
    bottom:30px;
    transform:translateX(-50%);
    width:calc(100% - 32px);
    max-width:none;
    margin:0;
}

html.is-mobile .hero-search{
    padding:18px;
}

html.is-mobile .property-search-form{
    flex-direction:column;
    align-items:stretch;
    gap:14px;
}

html.is-mobile .search-field{
    flex:0 0 auto;
}

html.is-mobile .search-btn{
    width:100%;
}

html.is-mobile .bsl-section{
    padding:40px 16px 45px;
}

html.is-mobile .bsl-card{
    padding:26px 20px;
}

html.is-mobile .about{
    padding:40px 16px;
}

html.is-mobile .about h2{
    font-size:26px;
}

html.is-mobile .about-content p{
    font-size:16px;
    text-align:left;
}

html.is-mobile .legacy-timeline{
    margin-top:45px;
    padding-left:30px;
}

html.is-mobile .legacy-item{
    margin-bottom:50px;
    gap:0;
}

html.is-mobile .legacy-item:not(:last-child)::after{
    display:none;
}

html.is-mobile .legacy-item:nth-child(2){
    margin-bottom:65px;
}

html.is-mobile .legacy-dot{
    left:-30px;
}

html.is-mobile .legacy-year{
    left:-24.5px;
    top:-24px;
    transform:translateX(-50%);
    font-size:13px;
}

/* BUG FIX: "PRESENT" (7 characters) is wider than "1965"/"2010", so
   centering it on the same point as the shorter labels above pushed
   its left portion — the "P" — off the visible edge. Targets only
   the last timeline item (Present), confirmed from the actual
   markup order — 1965/2010 are untouched. */
html.is-mobile .legacy-item:last-child .legacy-year{
    left:0;
    transform:translateX(0);
}

html.is-mobile .legacy-text h3{
    font-size:19px;
}

html.is-mobile .legacy-text p{
    font-size:15.5px;
}

html.is-mobile .testimonials-section{
    padding:45px 16px;
}

html.is-mobile .testimonials-grid{
    grid-template-columns:1fr;
    gap:20px;
    margin-top:26px;
}

html.is-mobile .quick-enquiry-section{
    padding:38px 16px;
}

html.is-mobile .quick-enquiry-grid{
    grid-template-columns:1fr;
    gap:36px;
}

html.is-mobile .quick-enquiry-info h2,
html.is-mobile .quick-enquiry-desc{
    max-width:100%;
}

html.is-mobile .quick-enquiry-form-wrap{
    padding:18px;
}

html.is-mobile .qe-field{
    margin-bottom:20px;
}

html.is-mobile .footer{
    padding:30px 16px;
}

html.is-mobile .premium-footer{
    padding:48px 16px 0;
    background-position:center top;
}

html.is-mobile .premium-footer-top{
    grid-template-columns:1fr;
    gap:32px;
    padding-bottom:28px;
}

html.is-mobile .pf-brand{
    padding-right:0;
}

html.is-mobile .pf-desc,
html.is-mobile .pf-contact p{
    max-width:100%;
}

html.is-mobile .qe-office-links{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
}

html.is-mobile .office-map-embed iframe{
    height:180px;
}

html.is-mobile .office-map-embed.office-map-placeholder{
    height:180px;
}

html.is-mobile .office-locations-section{
    padding:50px 16px;
}

html.is-mobile .office-locations-grid{
    grid-template-columns:1fr;
    gap:20px;
}

html.is-mobile .office-card{
    padding:24px 20px;
}

html.is-mobile .premium-footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    padding:20px 16px;
}

html.is-mobile .pf-legal{
    gap:18px;
    flex-wrap:wrap;
}

html.is-mobile .main-nav{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    width:76%;
    max-width:340px;
    height:100vh;
    height:100dvh;
    background:#ffffff;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    margin-left:0;
    padding:calc(28px + env(safe-area-inset-top,0px)) 0 calc(24px + env(safe-area-inset-bottom,0px));
    transform:translateX(100%);
    transition:transform .32s cubic-bezier(.4,0,.2,1);
    box-shadow:-10px 0 30px rgba(0,0,0,.15);
    border-left:3px solid #0F3B2E;
    z-index:10001;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
}

html.is-mobile .main-nav.active{
    transform:translateX(0);
}

html.is-mobile .dropdown{
    width:100%;
}

html.is-mobile .dropdown-toggle{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

html.is-mobile .dropdown-content{
    display:none;
    position:static;
    box-shadow:none;
    background:transparent;
    padding-left:15px;
}

html.is-mobile .dropdown.open .dropdown-content{
    display:block;
}

html.is-mobile .main-nav a{
    position:relative;
    width:100%;
    color:#111;
    padding:15px 28px;
    font-family:'Montserrat',sans-serif;
    font-weight:600;
    font-size:16px;
    letter-spacing:.4px;
    border-bottom:1px solid #f0f0f0;
    box-sizing:border-box;
    margin-left:0;
}

html.is-mobile .main-nav > a:first-child{
    border-top:1px solid #f0f0f0;
}

.mobile-menu-phone{
    display:none;
}

.mobile-menu-divider{
    display:none;
}

.mobile-menu-contact-label{
    display:none;
}

.mobile-menu-socials{
    display:none;
}

html.is-mobile .mobile-menu-divider{
    display:none;
}

html.is-mobile .mobile-menu-contact-label{
    display:block;
    width:100%;
    padding:22px 28px 8px;
    box-sizing:border-box;
    font-family:'Montserrat',sans-serif;
    font-weight:600;
    font-size:11px;
    letter-spacing:1.5px;
    color:#9a9a9a;
}

html.is-mobile .mobile-menu-phone{
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    padding:10px 28px;
    box-sizing:border-box;
    font-family:'Montserrat',sans-serif;
    font-weight:500;
    font-size:15px;
    color:#111;
    text-decoration:none;
    text-align:left;
}

html.is-mobile .mobile-menu-socials{
    display:flex;
    justify-content:flex-start;
    align-items:center;
    gap:10px;
    width:100%;
    padding:14px 28px 0;
    box-sizing:border-box;
}

html.is-mobile .mobile-menu-socials a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    padding:0;
    border-radius:50%;
    background:#f5f5f5;
    color:#111;
    text-decoration:none;
}

html.is-mobile .mobile-menu-socials svg{
    width:17px;
    height:17px;
    stroke:#111;
    fill:none;
}

/* Keep the floating WhatsApp button from colliding with the open drawer */
html.is-mobile .whatsapp-float{
    transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
}

html.is-mobile body.mobile-menu-open .whatsapp-float{
    opacity:0;
    visibility:hidden;
    transform:scale(.8);
}

/* Fallback for the rare case JavaScript is disabled:
   still switch to mobile layout by width so the site
   isn't unusable, though it won't survive rotation. */
@media (max-width:768px){
    html:not(.is-mobile) .header{ background:#fff; }
    html:not(.is-mobile) .container.nav{ display:flex; justify-content:space-between; align-items:center; padding:15px 20px; }
    html:not(.is-mobile) .menu-toggle{ display:flex; }
    html:not(.is-mobile) .nav-right{ display:none; }
    html:not(.is-mobile) .hero{ min-height:85vh; padding:100px 20px 60px; }
    html:not(.is-mobile) .property-grid,
    html:not(.is-mobile) .why-grid,
    html:not(.is-mobile) .service-grid,
    html:not(.is-mobile) .contact-info{ grid-template-columns:1fr; display:grid; }
    html:not(.is-mobile) .leader-row,
    html:not(.is-mobile) .leader-row-reverse{ flex-direction:column; align-items:stretch; text-align:center; gap:20px; }
    html:not(.is-mobile) .leader-row-photo{ width:100%; max-width:280px; margin:0 auto; }
    html:not(.is-mobile) #leadership{ padding-left:12px; padding-right:12px; }
    html:not(.is-mobile) .leader-row-content{ text-align:center; max-width:96%; margin:0 auto; }
    html:not(.is-mobile) .leader-row-content p{ max-width:none; margin:0 0 22px; font-size:16px; line-height:1.7; text-align:left; }
    html:not(.is-mobile) .leader-row-content p.leader-rera{ margin:-12px 0 18px; font-size:12.5px; line-height:1.5; text-align:center; }
    html:not(.is-mobile) .profile-page{ padding:64px 8px 40px; }
    html:not(.is-mobile) .profile-container{ padding:32px 15px 36px; }
    html:not(.is-mobile) .profile-container p{ text-align:left; font-size:16px; line-height:1.7; max-width:none; margin:0 0 16px; }
    html:not(.is-mobile) .profile-container h2{ text-align:left; margin:26px 0 10px; }
    html:not(.is-mobile) .profile-container hr{ margin:20px 0; }
    html:not(.is-mobile) .profile-tags,
    html:not(.is-mobile) .profile-social{ justify-content:flex-start; }
    html:not(.is-mobile) .qe-office-links{ flex-direction:column; align-items:flex-start; gap:8px; }
    html:not(.is-mobile) .office-map-embed iframe{ height:180px; }
    html:not(.is-mobile) .office-map-embed.office-map-placeholder{ height:180px; }
    html:not(.is-mobile) .office-locations-grid{ grid-template-columns:1fr; gap:20px; }
    html:not(.is-mobile) .office-locations-section{ padding:50px 16px; }
}

/* ==========================================================
   OUR REALTORS — PAGE, GRID CARDS, AND PROFILE PAGE
   Uses an auto-fit grid so adding new realtor objects to
   realtors-data.js automatically expands the layout — no
   CSS or HTML changes needed as the team grows.
========================================================== */

.realtors-page-intro{
    background:#fff;
    padding:60px 8% 60px;
    text-align:center;
}

.realtors-page-intro .section-eyebrow{
    display:block;
}

.realtors-page-intro h1{
    font-family:'Montserrat',sans-serif;
    font-size:44px;
    font-weight:600;
    color:#111;
    margin:14px 0 20px;
}

.realtors-page-intro .realtors-subtitle{
    max-width:640px;
    margin:0 auto;
    font-size:17px;
    line-height:1.8;
    color:#5b6472;
}

.realtors-section{
    background:#fff;
    padding:20px 8% 130px;
}

.realtors-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:40px;
    max-width:1200px;
    margin:0 auto;
}

.realtor-card{
    background:#fff;
    border:1px solid rgba(15,59,46,.08);
    border-radius:20px;
    padding:44px 32px;
    text-align:center;
    box-shadow:0 10px 30px rgba(15,59,46,.06);
    transition:.4s cubic-bezier(.2,.8,.2,1);
}

.realtor-card:hover{
    transform:translateY(-10px);
    box-shadow:0 26px 55px rgba(15,59,46,.14);
}

.realtor-photo{
    width:130px;
    height:130px;
    border-radius:50%;
    object-fit:cover;
    margin:0 auto 24px;
    border:4px solid #0F3B2E;
    display:block;
}

.realtor-card h3{
    font-size:21px;
    font-weight:700;
    color:#111827;
    margin-bottom:6px;
}

.realtor-designation{
    display:block;
    font-size:13px;
    font-weight:600;
    letter-spacing:.6px;
    text-transform:uppercase;
    color:#D4AF37;
    margin-bottom:18px;
}

.realtor-intro{
    font-size:15px;
    line-height:1.75;
    color:#6b7280;
    margin-bottom:26px;
    min-height:66px;
}

.realtor-view-btn{
    display:inline-block;
    background:#0F3B2E;
    color:#fff;
    padding:12px 30px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    transition:.3s;
}

.realtor-view-btn:hover{
    background:#0a2b21;
    transform:translateY(-2px);
    box-shadow:0 10px 22px rgba(15,59,46,.3);
}

/* ===== INDIVIDUAL REALTOR PROFILE PAGE ===== */
.realtor-profile-section{
    background:#fff;
    padding:60px 8% 120px;
}

.realtor-profile-grid{
    max-width:1100px;
    margin:0 auto;
    display:grid;
    grid-template-columns:340px 1fr;
    gap:70px;
    align-items:start;
}

.realtor-profile-photo-wrap{
    text-align:center;
}

.realtor-profile-photo{
    width:100%;
    max-width:320px;
    aspect-ratio:1/1;
    border-radius:50%;
    object-fit:cover;
    border:6px solid #0F3B2E;
    box-shadow:0 20px 45px rgba(15,59,46,.15);
}

.realtor-profile-info .section-eyebrow{
    color:#D4AF37;
}

.realtor-profile-info h1{
    font-family:'Montserrat',sans-serif;
    font-size:38px;
    font-weight:600;
    color:#111;
    margin:10px 0 6px;
}

.realtor-profile-designation{
    display:block;
    font-size:15px;
    font-weight:600;
    color:#0F3B2E;
    margin-bottom:26px;
}

.realtor-profile-about{
    font-size:16.5px;
    line-height:1.9;
    color:#4b5563;
    margin-bottom:40px;
    max-width:620px;
}

.rp-detail-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:30px 40px;
    margin-bottom:40px;
}

.rp-detail-block h4{
    font-size:12.5px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
    color:#D4AF37;
    margin-bottom:10px;
}

.rp-detail-block p{
    font-size:15.5px;
    color:#374151;
    line-height:1.7;
}

.rp-tag-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.rp-tag{
    display:inline-block;
    background:rgba(15,59,46,.06);
    color:#0F3B2E;
    font-size:13px;
    font-weight:600;
    padding:6px 14px;
    border-radius:20px;
}

.rp-contact-row{
    display:flex;
    flex-wrap:wrap;
    gap:24px;
    padding-top:24px;
    border-top:1px solid rgba(17,24,39,.08);
}

.rp-contact-row a{
    color:#0F3B2E;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    transition:color .25s ease;
}

.rp-contact-row a:hover{
    color:#D4AF37;
}

.profile-rera{
    margin-top:14px;
    font-family:'Montserrat',sans-serif;
    font-size:14px;
    color:#0F3B2E;
    text-align:center;
}

.profile-rera strong{
    color:#0F3B2E;
}

.realtor-not-found{
    text-align:center;
    padding:60px 20px;
    font-size:18px;
    color:#6b7280;
}

/* ===== MOBILE ===== */
html.is-mobile .realtors-page-intro{
    padding:100px 16px 40px;
}

html.is-mobile .realtors-page-intro h1{
    font-size:30px;
}

html.is-mobile .realtors-section{
    padding:10px 16px 80px;
}

html.is-mobile .realtors-grid{
    grid-template-columns:1fr;
    gap:30px;
}

html.is-mobile .realtor-profile-section{
    padding:100px 16px 80px;
}

html.is-mobile .realtor-profile-grid{
    grid-template-columns:1fr;
    gap:40px;
    text-align:center;
}

html.is-mobile .realtor-profile-photo-wrap{
    max-width:260px;
    margin:0 auto;
}

html.is-mobile .realtor-profile-about{
    max-width:100%;
}

html.is-mobile .rp-detail-grid{
    grid-template-columns:1fr;
    text-align:left;
}

html.is-mobile .rp-tag-list{
    justify-content:flex-start;
}

html.is-mobile .rp-contact-row{
    flex-direction:column;
    gap:14px;
    text-align:left;
}

/* ==========================================================
   CLEAR & TRANSPARENT BROKERAGE (compact homepage teaser)
   New section added between the existing "Ready to Find Your Ideal
   Property?" CTA and "Why Invest in Chennai". Deliberately simple
   (heading + one paragraph + a single text CTA) so it stays compact
   and doesn't compete with the card-grid sections around it. Full
   detail already lives on brokerage-fees.html -- this just teases it.
========================================================== */
.brokerage-teaser{
    padding:56px 8%;
    background:#ffffff;
    text-align:center;
}

.brokerage-teaser p{
    max-width:640px;
    margin:0 auto;
    font-size:15.5px;
    font-weight:500;
    line-height:1.8;
    color:#4b5563;
}

.brokerage-teaser-cta{
    margin-top:28px;
}

.brokerage-teaser-cta a{
    display:inline-block;
    color:#c89b3c;
    font-weight:600;
    font-size:15px;
    text-decoration:none;
}

.brokerage-teaser-cta a:hover{
    text-decoration:underline;
}

/* ==========================================================
   WHY INVEST IN CHENNAI
========================================================== */
.invest-section{
    background:#faf9f7;
    padding:56px 8%;
}

.invest-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:36px;
    max-width:1200px;
    margin:60px auto 0;
}

.invest-card{
    background:#fff;
    border-radius:16px;
    padding:38px 30px;
    box-shadow:0 10px 28px rgba(15,59,46,.06);
    transition:.4s cubic-bezier(.2,.8,.2,1);
    /* Border colour brought to the sitewide rgba(17,24,39,.08)
       charcoal hairline (full-site audit) -- the previous
       rgba(15,59,46,.06) green tint was nearly invisible against
       this card's white fill and the section's light background.
       Everything else about the card is unchanged. */
    border:1px solid rgba(17,24,39,.08);
}

.invest-card:hover{
    transform:translateY(-8px);
    box-shadow:0 22px 45px rgba(15,59,46,.12);
}

.invest-icon{
    width:42px;
    height:42px;
    color:#0F3B2E;
    margin-bottom:20px;
    transition:color .3s ease;
}

.invest-icon svg{
    width:100%;
    height:100%;
}

.invest-card:hover .invest-icon{
    color:#D4AF37;
}

.invest-card h3{
    font-size:19px;
    font-weight:700;
    color:#111827;
    margin-bottom:10px;
}

.invest-card p{
    font-size:15px;
    font-weight:500;
    line-height:1.7;
    color:#4b5563;
    margin:0;
}

/* CTA link under the (now compacted, 3-card) "Why Invest in Chennai"
   grid -- reuses the same gold accent as .insight-card a / .bsl-more
   for visual consistency. */
.invest-cta{
    text-align:center;
    margin-top:36px;
}
.invest-cta a{
    display:inline-block;
    color:#c89b3c;
    font-weight:600;
    font-size:15px;
    text-decoration:none;
}
.invest-cta a:hover{
    text-decoration:underline;
}

/* ==========================================================
   PROPERTY CATEGORIES
========================================================== */
.categories-section{
    background:#fff;
    padding:44px 8%;
}

.categories-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:12px;
    max-width:1200px;
    margin:24px auto 0;
}
@media (min-width:901px){
    /* SINGLE ROW per feedback: all 6 categories left-to-right on
       desktop instead of a 3x2 grid. */
    .categories-grid{ grid-template-columns:repeat(6, 1fr); }
}

.category-card{
    position:relative;
    display:flex;
    align-items:flex-end;
    height:110px;
    border-radius:12px;
    overflow:hidden;
    background-size:cover;
    background-position:center;
    text-decoration:none;
    box-shadow:0 6px 16px rgba(0,0,0,.1);
    transition:.4s cubic-bezier(.2,.8,.2,1);
}

.category-card:hover{
    transform:translateY(-8px);
    box-shadow:0 26px 50px rgba(0,0,0,.2);
}

.category-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(15,59,46,0) 40%, rgba(15,59,46,.75) 100%);
    transition:.4s ease;
}

.category-card:hover .category-overlay{
    background:linear-gradient(180deg, rgba(15,59,46,.1) 30%, rgba(15,59,46,.85) 100%);
}

.category-label{
    position:relative;
    z-index:1;
    padding:10px;
    color:#fff;
    font-size:12.5px;
    font-weight:700;
    letter-spacing:.2px;
}

/* ==========================================================
   FEATURED LOCATIONS
========================================================== */
.locations-section{
    background:#faf9f7;
    padding:48px 8%;
}

.locations-grid{
    display:flex;
    flex-direction:column;
    gap:12px;
    max-width:900px;
    margin:28px auto 0;
}
@media (min-width:901px){
    /* SINGLE ROW per feedback: all 6 locations left-to-right on
       desktop instead of stacked vertically. .location-category is
       the actual direct child of .locations-grid (each one wraps
       the clickable image button + its expandable neighbourhood-
       chips row) — confirmed from the actual markup rather than
       assumed. The chip row still expands/functions exactly as
       before when a location is clicked; only the button's own
       size/layout changes here. */
    .locations-grid{
        flex-direction:row;
        max-width:1200px;
        flex-wrap:wrap;
    }
    .locations-grid .location-category{
        flex:1 1 0;
        min-width:150px;
    }
    .locations-grid .location-card-btn{
        height:100px;
        width:100%;
    }
}

.location-category{
    display:flex;
    flex-direction:column;
    padding-bottom:18px;
}

.location-category:not(:last-child){
    border-bottom:1px solid rgba(15,23,42,.08);
}

.location-card-btn{
    position:relative;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    height:120px;
    border-radius:16px;
    overflow:hidden;
    background-size:cover;
    background-position:center;
    border:none;
    padding:0;
    cursor:pointer;
    box-shadow:0 10px 26px rgba(0,0,0,.1);
    transition:.35s cubic-bezier(.2,.8,.2,1);
    width:100%;
    text-align:left;
    font-family:inherit;
}

.location-card-btn:hover{
    transform:translateY(-6px) scale(1.01);
    box-shadow:0 20px 40px rgba(0,0,0,.18);
}

.location-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(15,23,42,0) 40%, rgba(15,23,42,.8) 100%);
    transition:.3s ease;
}

.location-card-btn[aria-expanded="true"] .location-overlay{
    background:linear-gradient(180deg, rgba(15,23,42,.15) 0%, rgba(15,23,42,.85) 100%);
}

.location-name{
    position:relative;
    z-index:1;
    padding:10px 12px;
    color:#fff;
    font-size:13px;
    font-weight:700;
}

.location-toggle-btn{
    position:relative;
    z-index:1;
    flex-shrink:0;
    width:26px;
    height:26px;
    margin:0 10px 10px 0;
    border-radius:50%;
    background:rgba(255,255,255,.18);
    -webkit-backdrop-filter:blur(6px);
    backdrop-filter:blur(6px);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:14px;
    transition:.3s ease;
}

.location-card-btn[aria-expanded="true"] .location-toggle-btn{
    background:#D4AF37;
    color:#0F3B2E;
}

/* Expandable area row — premium dark glass per unified spec */
.location-areas-row{
    max-height:0;
    overflow:hidden;
    transition:max-height .25s cubic-bezier(.2,.8,.2,1), margin-top .25s ease;
    margin-top:0;
}

.location-category.open .location-areas-row{
    max-height:72px;
    margin-top:12px;
}

.location-areas-track{
    display:flex;
    gap:10px;
    touch-action:pan-x;
    overflow-x:auto;
    padding:12px 14px;
    background:rgba(15,23,42,.4);
    -webkit-backdrop-filter:blur(18px);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.14);
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    -webkit-overflow-scrolling:touch;
    scroll-behavior:smooth;
}

.location-areas-track::-webkit-scrollbar{
    height:5px;
}

.location-areas-track::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.25);
    border-radius:10px;
}

.location-chip{
    flex:0 0 auto;
    white-space:nowrap;
    padding:9px 18px;
    border-radius:30px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.18);
    color:#fff;
    font-size:13.5px;
    font-weight:600;
    text-decoration:none;
    transition:.25s ease;
}

.location-chip:hover{
    background:#D4AF37;
    border-color:#D4AF37;
    color:#0F3B2E;
    transform:translateY(-2px);
}

/* ==========================================================
   WHY GRID — 6-ITEM VARIANT (3 columns x 2 rows)
========================================================== */
.why-grid-6{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px 20px;
}

/* Obsolete now that .why-item is a full 4-side bordered card — this
   used to strip just the left edge back when items were separated
   by a single border-left divider line (pre-boxed-card design). */

/* ==========================================================
   FAQ ACCORDION
========================================================== */
.faq-section{
    position:relative;
    overflow:hidden;
    background:#0F3B2E;
    padding:56px 8%;
}

.faq-section::before{
    content:"";
    position:absolute;
    inset:-20px;
    background:url('images/faq-bg.jpg') center/cover no-repeat;
    filter:blur(4px);
    transform:scale(1.02);
    z-index:0;
}

.faq-section::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(15,59,46,.83);
    z-index:1;
}

.faq-section .container{
    position:relative;
    z-index:2;
}

.faq-section .section-eyebrow{
    color:#D4AF37;
}

.faq-section .section-heading h2{
    color:#fff;
}

.faq-list{
    max-width:820px;
    margin:60px auto 0;
    display:flex;
    flex-direction:column;
    gap:16px;
}

.faq-item{
    border-bottom:none;
    background:rgba(15,23,42,.4);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    will-change: backdrop-filter;
    border:1px solid rgba(255,255,255,.16);
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    transition:.3s ease;
}

.faq-item:hover{
    background:rgba(15,23,42,.5);
    border-color:rgba(212,175,55,.4);
    transform:translateY(-2px);
}

.faq-question{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    background:none;
    border:none;
    text-align:left;
    padding:22px 26px;
    font-size:16.5px;
    font-weight:600;
    color:#fff;
    cursor:pointer;
    font-family:inherit;
}

.faq-icon{
    flex-shrink:0;
    color:#D4AF37;
    font-size:15px;
    transition:transform .35s ease;
}

.faq-question[aria-expanded="true"] .faq-icon{
    transform:rotate(135deg);
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .4s ease, padding .4s ease;
    padding:0 26px;
}

.faq-item.open .faq-answer{
    padding:0 26px 24px;
}

.faq-answer p{
    font-size:15.5px;
    line-height:1.8;
    color:rgba(255,255,255,.78);
    margin:0;
}

/* ==========================================================
   CALL TO ACTION
========================================================== */
.cta-section{
    background:
        linear-gradient(rgba(15,59,46,0.65), rgba(15,59,46,0.65)),
        url("images/ready-to-find-property.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding:56px 8%;
    text-align:center;
}

.cta-section h2{
    font-family:'Montserrat',sans-serif;
    font-size:40px;
    font-weight:600;
    color:#fff;
    max-width:640px;
    margin:0 auto 20px;
}

.cta-section p{
    font-size:16.5px;
    line-height:1.8;
    color:rgba(255,255,255,.75);
    max-width:560px;
    margin:0 auto 40px;
}

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:24px;
    flex-wrap:wrap;
}

.cta-btn-secondary{
    border-color:rgba(255,255,255,.5);
}

/* ==========================================================
   MOBILE — ALL NEW SECTIONS
========================================================== */
html.is-mobile .invest-section,
html.is-mobile .categories-section,
html.is-mobile .locations-section,
html.is-mobile .faq-section,
html.is-mobile .cta-section,
html.is-mobile .brokerage-teaser{
    padding:45px 16px;
}

/* MOBILE 2-COLUMN per feedback: each of these three gets its own
   explicit mobile rule (was one combined 1-column rule) so they can
   go to 2 columns independently without affecting anything else
   that might share a rule with them. Desktop untouched — entirely
   inside html.is-mobile. */
html.is-mobile .categories-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:12px;
    margin-top:20px;
}
html.is-mobile .invest-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:14px;
    margin-top:26px;
}
html.is-mobile .invest-card{
    padding:16px 14px;
}
html.is-mobile .invest-icon{
    width:30px;
    height:30px;
    margin-bottom:10px;
}
html.is-mobile .invest-card h3{
    font-size:15px;
    margin-bottom:6px;
}
html.is-mobile .invest-card p{
    font-size:12.5px;
    line-height:1.5;
}
html.is-mobile .why-grid-6{
    grid-template-columns:repeat(2, 1fr);
    gap:20px 14px;
    margin-top:20px;
}
html.is-mobile .why-grid-6 .why-item{
    /* Cards now have their own background/border/shadow (see base
       .why-item rule). Padding tuned for the boxed card look at
       mobile's 2-column width. */
    padding:14px 10px;
}

html.is-mobile .locations-grid{
    margin-top:26px;
    /* MOBILE 2-COLUMN per feedback: was a single vertical stack.
       Each .location-category (image button + its own expandable
       neighbourhood-chips row) becomes a grid cell; the whole
       category still spans full width when its chip row is open
       (below), so tapping one doesn't look cramped inside a narrow
       half-column. */
    display:grid;
    /* BUG FIX (found by testing at real mobile widths, not assumed):
       plain "1fr" tracks do NOT shrink below a grid item's intrinsic
       content width by default. Each collapsed .location-category
       still contains its full neighbourhood-chips row (multiple
       chip links in one line, not wrapped) — that hidden content's
       natural width was forcing each column to ~960px even inside a
       ~360px container, silently pushing 4 of the 6 cards off-
       screen (confirmed: grid-template-columns computed as
       "955px 976px" against a 358px-wide container). minmax(0,1fr)
       forces the tracks to actually respect the 50/50 split. */
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
}
html.is-mobile .location-category{
    min-width:0;
}
html.is-mobile .location-category.open{
    grid-column:1 / -1;
}

html.is-mobile .cta-section h2{
    font-size:28px;
}

html.is-mobile .cta-buttons{
    flex-direction:column;
    align-items:stretch;
}

/* ==========================================================
   TABLET — bring 3-col grids down to 2 columns
========================================================== */
@media (min-width:769px) and (max-width:1024px){
    .bsl-grid,
    .invest-grid,
    .categories-grid,
    .why-grid-6{
        grid-template-columns:repeat(2, 1fr) !important;
    }
    .property-grid,
    .testimonials-grid{
        grid-template-columns:repeat(2, 1fr) !important;
    }
}

/* ===========================
   PROPERTY SHARE BUTTON
=========================== */
.property-share-btn{
    position:absolute;
    top:10px;
    right:10px;
    width:32px;
    height:32px;
    border-radius:50%;
    background:rgba(255,255,255,.92);
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0F3B2E;
    font-size:13px;
    cursor:pointer;
    box-shadow:0 3px 10px rgba(0,0,0,.18);
    transition:.25s ease;
    z-index:2;
}

.property-share-btn:hover{
    background:#0F3B2E;
    color:#fff;
    transform:scale(1.1);
}

.share-toast{
    position:fixed;
    bottom:30px;
    left:50%;
    transform:translateX(-50%) translateY(20px);
    background:#0F3B2E;
    color:#fff;
    padding:12px 24px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
    opacity:0;
    pointer-events:none;
    transition:opacity .3s ease, transform .3s ease;
    z-index:9999;
}

.share-toast.show{
    opacity:1;
    transform:translateX(-50%) translateY(0);
}

/* ===========================
   ACTIVE NAV LINK
=========================== */
.main-nav a.active{
    color:#0F3B2E;
}

/* ===========================
   FEATURED LOCATIONS — LANDSCAPE PHONE
   Keep the single-column vertical list, just with a shorter
   card height so scrolling through 6 cards on a short landscape
   screen doesn't take excessive vertical space.
=========================== */
@media (orientation:landscape) and (max-height:550px){
    html.is-mobile .location-card-btn{
        height:110px;
    }

    html.is-mobile .location-name{
        font-size:14px;
        padding:12px 14px;
    }

    html.is-mobile .location-category.open .location-areas-row{
        max-height:64px;
    }
}

/* ===========================================================
   PROPERTY QUICK VIEW OVERLAY
   Opened by tapping/clicking a property card. Full detail info
   lives here; property.html is untouched. See js/public-properties.js
   for the logic — this is markup-agnostic styling only.
=========================================================== */

/* Desktop hover affordance on the card image — a restrained
   "Quick View" pill, shown only on real hover-capable pointers
   so it never appears (or gets relied on) for touch. */
@media (hover:hover) and (pointer:fine){
    .property-card{ position:relative; }
    .qv-hover-cta{
        position:absolute;
        left:50%;
        bottom:18px;
        transform:translate(-50%,10px);
        opacity:0;
        visibility:hidden;
        transition:opacity .25s ease, transform .25s ease, visibility .25s ease;
        background:rgba(255,255,255,.96);
        color:#0F3B2E;
        font-family:'Montserrat',sans-serif;
        font-weight:600;
        font-size:13px;
        letter-spacing:.3px;
        padding:10px 22px;
        border-radius:30px;
        box-shadow:0 10px 24px rgba(0,0,0,.22);
        border:none;
        cursor:pointer;
        z-index:2;
    }
    .property-card:hover .qv-hover-cta{
        opacity:1;
        visibility:visible;
        transform:translate(-50%,0);
    }
}

.qv-overlay{
    position:fixed;
    inset:0;
    z-index:10050;
    display:none;
}

.qv-overlay.active{
    display:block;
}

.qv-backdrop{
    position:absolute;
    inset:0;
    background:rgba(10,20,17,.55);
    opacity:0;
    transition:opacity .3s ease;
}

.qv-overlay.active .qv-backdrop{
    opacity:1;
}

.qv-sheet{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    max-height:94vh;
    max-height:94dvh;
    background:#fff;
    border-radius:22px 22px 0 0;
    box-shadow:0 -20px 50px rgba(0,0,0,.3);
    display:flex;
    flex-direction:column;
    transform:translateY(100%);
    transition:transform .36s cubic-bezier(.4,0,.2,1);
    overflow:hidden;
}

.qv-overlay.active .qv-sheet{
    transform:translateY(0);
}

.qv-close{
    position:absolute;
    top:14px;
    right:14px;
    z-index:3;
    width:38px;
    height:38px;
    border-radius:50%;
    border:none;
    background:rgba(0,0,0,.45);
    color:#fff;
    font-size:20px;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

.qv-gallery{
    position:relative;
    flex-shrink:0;
    background:#0F3B2E;
}

.qv-gallery-track{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
}

.qv-gallery-track::-webkit-scrollbar{
    display:none;
}

.qv-gallery-track img{
    flex:0 0 100%;
    width:100%;
    height:260px;
    object-fit:cover;
    scroll-snap-align:center;
    display:block;
}

.qv-gallery-dots{
    position:absolute;
    left:0;
    right:0;
    bottom:12px;
    display:flex;
    justify-content:center;
    gap:6px;
}

.qv-gallery-dots span{
    width:6px;
    height:6px;
    border-radius:50%;
    background:rgba(255,255,255,.5);
    transition:.25s;
}

.qv-gallery-dots span.active{
    background:#D4AF37;
    width:16px;
    border-radius:4px;
}

.qv-gallery-count{
    position:absolute;
    right:12px;
    bottom:12px;
    background:rgba(0,0,0,.5);
    color:#fff;
    font-size:11px;
    font-family:'Montserrat',sans-serif;
    font-weight:600;
    padding:3px 9px;
    border-radius:20px;
}

.qv-body{
    overflow-y:auto;
    padding:22px 22px 8px;
    -webkit-overflow-scrolling:touch;
}

.qv-badge{
    display:inline-block;
    background:#D4AF37;
    color:#0F3B2E;
    font-family:'Montserrat',sans-serif;
    font-weight:700;
    font-size:10px;
    letter-spacing:.6px;
    text-transform:uppercase;
    padding:4px 11px;
    border-radius:6px;
    margin-bottom:10px;
}

.qv-title{
    font-family:'Montserrat',sans-serif;
    font-size:26px;
    font-weight:600;
    color:#111;
    margin:0 0 6px;
    line-height:1.25;
}

.qv-location{
    font-family:'Montserrat',sans-serif;
    font-size:14px;
    color:#666;
    margin:0 0 14px;
}

.qv-price{
    font-family:'Montserrat',sans-serif;
    font-size:22px;
    font-weight:800;
    color:#0F3B2E;
    margin-bottom:18px;
}

.qv-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-bottom:22px;
}

.qv-stat{
    background:#f7f6f2;
    border:1px solid #eee;
    border-radius:12px;
    text-align:center;
    padding:12px 6px;
}

.qv-stat .qv-stat-value{
    display:block;
    font-family:'Montserrat',sans-serif;
    font-weight:700;
    font-size:16px;
    color:#0F3B2E;
}

.qv-stat .qv-stat-label{
    display:block;
    font-family:'Montserrat',sans-serif;
    font-size:11px;
    color:#777;
    margin-top:2px;
}

.qv-section{
    margin-bottom:22px;
}

.qv-section h3{
    font-family:'Montserrat',sans-serif;
    font-weight:700;
    font-size:12px;
    letter-spacing:.8px;
    text-transform:uppercase;
    color:#0F3B2E;
    margin:0 0 10px;
    padding-bottom:8px;
    border-bottom:1px solid #eee;
}

.qv-desc{
    font-family:'Montserrat',sans-serif;
    font-size:14.5px;
    line-height:1.7;
    color:#444;
    margin:0;
    display:-webkit-box;
    -webkit-line-clamp:4;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.qv-desc.expanded{
    display:block;
    -webkit-line-clamp:unset;
    overflow:visible;
}

.qv-readmore{
    background:none;
    border:none;
    color:#0F3B2E;
    font-family:'Montserrat',sans-serif;
    font-weight:600;
    font-size:13px;
    padding:8px 0 0;
    cursor:pointer;
    text-decoration:underline;
}

.qv-features ul{
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px 14px;
}

.qv-features li{
    font-family:'Montserrat',sans-serif;
    font-size:13.5px;
    color:#333;
    display:flex;
    align-items:flex-start;
    gap:8px;
    line-height:1.4;
}

.qv-features li::before{
    content:"\2713";
    color:#D4AF37;
    font-weight:700;
    flex-shrink:0;
}

.qv-brokerage p,
.qv-rera p{
    font-family:'Montserrat',sans-serif;
    font-size:13.5px;
    color:#444;
    margin:0 0 4px;
}

.qv-rera .qv-rera-authority{
    color:#777;
    font-size:12.5px;
}

.qv-rera .qv-rera-no strong{
    color:#0F3B2E;
}

.qv-actions{
    flex-shrink:0;
    display:flex;
    gap:10px;
    padding:14px 16px calc(14px + env(safe-area-inset-bottom,0px));
    border-top:1px solid #eee;
    background:#fff;
}

.qv-actions a{
    flex:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    text-decoration:none;
    font-family:'Montserrat',sans-serif;
    font-weight:600;
    font-size:13.5px;
    border-radius:30px;
    padding:0 10px;
    height:48px;
    white-space:nowrap;
    box-sizing:border-box;
}

.qv-call,
.qv-whatsapp{
    border:1.5px solid #0F3B2E;
    color:#0F3B2E;
    background:#fff;
}

.qv-whatsapp{
    border-color:#25D366;
    background:#25D366;
    color:#fff;
}

/* Body-scroll lock while the Quick View is open (mirrors the
   mobile-menu lock technique so iOS never rubber-bands behind it) */
body.qv-open{
    position:fixed;
    left:0;
    right:0;
    width:100%;
}

/* --- Desktop: centered modal instead of a bottom sheet --- */
@media (min-width:769px){
    .qv-sheet{
        left:50%;
        top:50%;
        bottom:auto;
        transform:translate(-50%,-46%);
        width:92%;
        max-width:460px;
        max-height:88vh;
        border-radius:20px;
        opacity:0;
        transition:transform .3s ease, opacity .3s ease;
    }
    .qv-overlay.active .qv-sheet{
        transform:translate(-50%,-50%);
        opacity:1;
    }
    .qv-gallery-track img{
        height:280px;
    }
}

/* Old Brokerage & Fees rate-card styles (.brokerage-content,
   .brokerage-fee-grid/-card, .brokerage-text-block, .brokerage-note)
   removed -- the page was rebuilt as the Professional Fees page and
   its styles now live in css/professional-fees.css. */

/* Subtle brokerage/fees disclosure on the property detail page,
   placed under the price — small, muted, doesn't disturb layout. */
.pd-brokerage-disclosure{
    font-family:'Montserrat',sans-serif;
    font-size:12px;
    color:#888;
    margin-top:8px;
}

.pd-brokerage-disclosure a{
    color:#0F3B2E;
    font-weight:600;
    text-decoration:none;
}

.pd-brokerage-disclosure a:hover{
    text-decoration:underline;
}

/* ============================================================
   SEARCH & FILTER PAGE (properties.html)
   Additive only — reuses existing tokens: emerald #0F3B2E,
   gold #D4AF37, Montserrat, .property-grid /
   .property-card / .view-details-btn from the homepage grid.
   ============================================================ */

.sf-header{
    /* HERO CONSISTENCY per feedback: was a flat solid colour with no
       image and a much shorter, padding-only height than the other
       service-page heroes. Now uses the same image+overlay mechanism
       and the same shared min-height as .list-hero (see below), so
       Properties/List With Us/Free Valuation/Joint Venture/NRI
       Services/Contact all match. */
    background:
    linear-gradient(rgba(10,10,12,0.55), rgba(10,10,12,0.68)),
    url("images/properties-hero.jpg") center center/cover no-repeat;
    min-height:420px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:40px 8%;
    text-align:center;
    color:#fff;
}
.sf-header .section-eyebrow{ color:#D4AF37; }
.sf-header h1{
    font-family:'Montserrat',sans-serif;
    font-size:44px;
    font-weight:600;
    margin:6px 0 14px;
    color:#fff;
}
.sf-header-sub{
    color:rgba(255,255,255,0.82);
    font-size:16px;
    max-width:560px;
    margin:0 auto;
}

.sf-filter-section{
    background:#faf9f7;
    padding:26px 8% 0;
    position:relative;
}

.sf-mobile-filter-toggle{
    display:none;
    width:100%;
    align-items:center;
    justify-content:center;
    gap:10px;
    background:#fff;
    border:1px solid #e5e3da;
    color:#0F3B2E;
    font-weight:600;
    font-size:15px;
    padding:14px 18px;
    border-radius:12px;
    cursor:pointer;
    box-shadow:0 4px 14px rgba(0,0,0,0.05);
}
.sf-active-count{
    background:#D4AF37;
    color:#07111F;
    font-size:12px;
    font-weight:700;
    min-width:20px;
    height:20px;
    border-radius:10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 6px;
}

.sf-filter-panel{
    background:#fff;
    border:1px solid #e5e3da;
    border-radius:16px;
    padding:24px;
    box-shadow:0 10px 30px rgba(0,0,0,0.04);
    max-width:1200px;
    margin:0 auto;
}

.sf-filter-panel-header{ display:none; }

.sf-filter-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));
    gap:18px;
}

.sf-field{ display:flex; flex-direction:column; gap:7px; }
.sf-field label{
    font-size:12px;
    letter-spacing:1px;
    text-transform:uppercase;
    color:#0F3B2E;
    font-weight:600;
}
.sf-field input,
.sf-field select{
    padding:12px 14px;
    border-radius:10px;
    border:1px solid #e0ded4;
    background:#faf9f7;
    font-size:15px;
    color:#111827;
    font-family:inherit;
    outline:none;
    transition:.2s;
    width:100%;
}
.sf-field input:focus,
.sf-field select:focus{
    border-color:#D4AF37;
    box-shadow:0 0 0 3px rgba(212,175,55,0.18);
    background:#fff;
}
.sf-range-inputs{
    display:flex;
    align-items:center;
    gap:8px;
}
.sf-range-inputs span{ color:#9a9a9a; }

.sf-filter-panel-actions{
    display:flex;
    justify-content:flex-end;
    gap:14px;
    margin-top:22px;
    padding-top:18px;
    border-top:1px solid #eee;
}
.sf-clear-btn{
    background:transparent;
    border:1px solid #d0cec4;
    color:#555;
    font-weight:600;
    font-size:14px;
    padding:11px 20px;
    border-radius:10px;
    cursor:pointer;
    transition:.2s;
}
.sf-clear-btn:hover{ border-color:#0F3B2E; color:#0F3B2E; }
.sf-apply-btn{
    display:none; /* only shown inside the mobile sheet */
    background:#0F3B2E;
    color:#fff;
    border:none;
    font-weight:700;
    font-size:14px;
    padding:12px 26px;
    border-radius:10px;
    cursor:pointer;
    transition:.2s;
}
.sf-apply-btn:hover{ background:#0c2f24; }

.sf-backdrop{ display:none; }

.sf-results-section{ padding:36px 8% 90px; background:#faf9f7; }

.sf-results-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:14px;
    margin-bottom:16px;
    max-width:1200px;
    margin-left:auto;
    margin-right:auto;
}
.sf-results-count{
    font-size:15px;
    font-weight:600;
    color:#0F3B2E;
}
.sf-sort-wrap{ display:flex; align-items:center; gap:10px; }
.sf-sort-wrap label{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#666;
    font-weight:600;
}
.sf-sort-wrap select{
    padding:10px 14px;
    border-radius:10px;
    border:1px solid #e0ded4;
    background:#fff;
    font-size:14px;
    color:#111827;
    font-family:inherit;
    outline:none;
}
.sf-sort-wrap select:focus{ border-color:#D4AF37; }

.sf-active-chips{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    max-width:1200px;
    margin:0 auto 18px;
}
.sf-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#0F3B2E;
    color:#fff;
    border:none;
    font-size:13px;
    font-weight:500;
    padding:8px 12px;
    border-radius:20px;
    cursor:pointer;
}
.sf-chip i{ font-size:11px; opacity:.8; }
.sf-chip:hover{ background:#0c2f24; }

.sf-results-section .property-grid{
    max-width:1200px;
    margin:0 auto;
}

.sf-empty-state{
    text-align:center;
    padding:70px 20px;
    max-width:1200px;
    margin:0 auto;
}
.sf-empty-state i{ font-size:44px; color:#D4AF37; margin-bottom:16px; }
.sf-empty-state h3{
    font-family:'Montserrat',sans-serif;
    font-size:26px;
    color:#0F3B2E;
    margin-bottom:8px;
}
.sf-empty-state p{ color:#666; margin-bottom:20px; }

.sf-error-state{
    text-align:center;
    padding:50px 20px;
    max-width:1200px;
    margin:0 auto;
    color:#a33;
}

/* Removed a duplicate ".main-nav a.active" rule that was here — it
   set the active nav link to gold (#D4AF37), silently overriding the
   site's original single active-link color (emerald, defined once
   near "ACTIVE NAV LINK" earlier in this file) wherever the browser
   happened to apply this later rule. The static "Properties" active
   link on properties.html still gets the correct emerald color from
   that original rule — nothing lost by removing this one. */

/* ---------- Mobile: filter bar collapses into a slide-up sheet ---------- */
@media (max-width: 900px){
    .sf-header{ padding:120px 6% 30px; }
    .sf-header h1{ font-size:32px; }

    .sf-mobile-filter-toggle{ display:flex; }

    .sf-filter-panel{
        position:fixed;
        left:0; right:0; bottom:0;
        top:auto;
        max-width:none;
        margin:0;
        border-radius:20px 20px 0 0;
        max-height:85vh;
        overflow-y:auto;
        transform:translateY(110%);
        transition:transform .3s ease;
        z-index:1001;
        box-shadow:0 -10px 40px rgba(0,0,0,0.25);
    }
    .sf-filter-panel.sf-panel-open{ transform:translateY(0); }

    .sf-filter-panel-header{
        display:flex;
        align-items:center;
        justify-content:space-between;
        margin-bottom:16px;
        padding-bottom:14px;
        border-bottom:1px solid #eee;
    }
    .sf-filter-panel-header h3{
        font-family:'Montserrat',sans-serif;
        font-size:22px;
        color:#0F3B2E;
    }
    .sf-filter-close{
        background:#faf9f7;
        border:1px solid #eee;
        width:34px; height:34px;
        border-radius:50%;
        color:#555;
        cursor:pointer;
    }

    .sf-filter-grid{ grid-template-columns:1fr 1fr; }

    .sf-apply-btn{ display:inline-block; flex:1; }
    .sf-filter-panel-actions{ position:sticky; bottom:0; background:#fff; }
    .sf-clear-btn{ flex:1; }

    .sf-backdrop{
        display:block;
        position:fixed;
        inset:0;
        background:rgba(7,17,31,0.55);
        opacity:0;
        pointer-events:none;
        transition:opacity .3s ease;
        z-index:1000;
    }
    .sf-backdrop.sf-backdrop-open{ opacity:1; pointer-events:auto; }

    body.sf-panel-locked{ overflow:hidden; }

    .sf-results-bar{ flex-direction:column; align-items:flex-start; }
}

@media (max-width: 480px){
    .sf-filter-grid{ grid-template-columns:1fr; }
}

.view-all-properties-wrap{
    text-align:center;
    margin-top:34px;
}
.view-all-properties-wrap .view-details-btn{
    display:inline-block;
    padding:14px 34px;
}

/* ============================================================
   WISHLIST + RECENTLY VIEWED
   Additive only — reuses emerald #0F3B2E / gold #D4AF37 and the
   existing .property-grid/.property-card/.property-share-btn
   patterns so it reads as part of the same product, not a bolt-on.
   ============================================================ */

/* ---------- Nav heart icon + count badge ---------- */
/* Thin circular outline shared by all three right-side header
   icons (Wishlist, Shortlist/Compare, Profile, Phone) — one place
   so the border, diameter and thickness always match exactly. */
.nav-wishlist-link,
.nav-phone{
    border:1px solid rgba(30,30,30,.28);
    background:transparent;
}

.nav-wishlist-link{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    flex-shrink:0;
    border-radius:50%;
    color:#0F3B2E;
    font-size:17px;
    text-decoration:none;
    transition:.2s;
}
.nav-wishlist-link:hover{
    background:#faf3e3;
    color:#D4AF37;
}
.nav-wishlist-count{
    position:absolute;
    top:2px;
    right:0;
    min-width:16px;
    height:16px;
    padding:0 4px;
    border-radius:9px;
    background:#D4AF37;
    color:#07111F;
    font-size:10px;
    font-weight:700;
    line-height:16px;
    text-align:center;
}

/* ---------- Card heart/save button (opposite corner from share) ---------- */
.property-save-btn{
    position:absolute;
    top:10px;
    left:10px;
    width:32px;
    height:32px;
    border-radius:50%;
    background:rgba(255,255,255,.92);
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0F3B2E;
    cursor:pointer;
    font-size:14px;
    transition:.2s;
    z-index:2;
}
.property-save-btn:hover{ transform:scale(1.1); }
.property-save-btn i{ font-weight:400; } /* far (outline) heart by default */
.property-save-btn.saved{ color:#c0392b; }
.property-save-btn.saved i{ font-weight:900; } /* fas (solid) heart when saved */

/* BUG FIX (properties.html listing page only): .property-badge and
   .property-save-btn share the exact same top:10px;left:10px in the
   base rules above — genuinely, precisely overlapping (confirmed
   from a screenshot: the SALE badge and wishlist heart were stacked
   on top of each other). Scoped to #sfResultsGrid (properties.html's
   own results grid, a distinct id from the Home Page's #propertyGrid)
   so the Home Page Featured Properties — which uses the exact same
   shared .property-badge/.property-save-btn base rules — is not
   touched at all. Heart stays top-left as-is; badge shifts beside
   it with clear spacing. */
#sfResultsGrid .property-badge{
    left:52px;
}

/* ---------- Quick View save button (added to the qv-actions row) ---------- */
.qv-save{
    flex:0 0 52px !important;
    border:1.5px solid #0F3B2E;
    background:#fff;
    color:#0F3B2E;
    cursor:pointer;
}
.qv-save.saved{
    border-color:#c0392b;
    color:#c0392b;
}
.qv-save i{ font-size:16px; }

/* ---------- Property Details page save button ---------- */
.pd-save-btn{
    flex:0 0 56px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:48px;
    border-radius:30px;
    border:1.5px solid #0F3B2E;
    background:#fff;
    color:#0F3B2E;
    font-size:18px;
    cursor:pointer;
    transition:.2s;
}
.pd-save-btn.saved{
    border-color:#c0392b;
    color:#c0392b;
}
.pd-save-btn:hover{ background:#f4f4f4; }

/* ============================================================
   wishlist.html — My Saved Properties
   ============================================================ */
.ws-header{
    padding:150px 8% 34px;
    background:#0F3B2E;
    text-align:center;
    color:#fff;
}
.ws-header .section-eyebrow{ color:#D4AF37; }
.ws-header h1{
    font-family:'Montserrat',sans-serif;
    font-size:42px;
    font-weight:600;
    margin:6px 0 0;
    color:#fff;
}

.ws-section{ padding:50px 8%; background:#faf9f7; }
.ws-section + .ws-section{ padding-top:10px; }

.ws-section-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
    max-width:1200px;
    margin:0 auto 22px;
}
.ws-section-heading h2{
    font-family:'Montserrat',sans-serif;
    font-size:28px;
    color:#0F3B2E;
    display:flex;
    align-items:center;
    gap:10px;
}
.ws-count-pill{
    background:#0F3B2E;
    color:#fff;
    font-size:12px;
    font-weight:700;
    padding:3px 10px;
    border-radius:12px;
}
.ws-clear-btn{
    background:transparent;
    border:1px solid #d0cec4;
    color:#555;
    font-weight:600;
    font-size:13px;
    padding:9px 16px;
    border-radius:10px;
    cursor:pointer;
    transition:.2s;
}
.ws-clear-btn:hover{ border-color:#c0392b; color:#c0392b; }

.ws-section .property-grid{
    max-width:1200px;
    margin:0 auto;
}

.ws-empty{
    text-align:center;
    padding:50px 20px;
    max-width:1200px;
    margin:0 auto;
    background:#fff;
    border:1px solid #eee;
    border-radius:16px;
}
.ws-empty i{ font-size:36px; color:#D4AF37; margin-bottom:14px; }
.ws-empty h3{
    font-family:'Montserrat',sans-serif;
    font-size:22px;
    color:#0F3B2E;
    margin-bottom:6px;
}
.ws-empty p{ color:#666; margin-bottom:18px; font-size:14px; }

.ws-divider{
    /* Colour brought to the sitewide rgba(17,24,39,.08) charcoal
       hairline (full-site audit) -- previously its own one-off
       #e5e3da beige-gray instead of the standard divider colour
       used everywhere else. Size/spacing unchanged. */
    max-width:1200px;
    margin:10px auto 0;
    border:none;
    border-top:1px solid rgba(17,24,39,.08);
}

@media (max-width:900px){
    .ws-header{ padding:120px 6% 26px; }
    .ws-header h1{ font-size:30px; }
    .ws-section{ padding:36px 6%; }
}

/* ============================================================
   SHORTLIST + COMPARE + ENQUIRY-FROM-SHORTLIST
   Additive only — reuses .icon-action-btn (card row), .qv-actions
   (Quick View), .pd-save-btn pattern (property.html), and the
   .ws-* section styles built for wishlist.html.
   ============================================================ */

/* ---------- Card icon-action-btn "active" (shortlisted) state ---------- */
.icon-shortlist-btn.active{
    background:#0F3B2E;
    color:#D4AF37;
    border-color:#0F3B2E;
}

/* ---------- Quick View shortlist button ---------- */
.qv-shortlist{
    flex:0 0 52px !important;
    border:1.5px solid #0F3B2E;
    background:#fff;
    color:#0F3B2E;
    cursor:pointer;
}
.qv-shortlist.active{
    background:#0F3B2E;
    color:#D4AF37;
}
.qv-shortlist i{ font-size:16px; }

/* ---------- Property Details page shortlist button ---------- */
/* BUG FIX (UI consistency pass): Wishlist and Shortlist were
   pixel-identical (same size/border/colour), reading as two
   competing "favourite" controls next to each other. Kept both —
   Shortlist is real, working functionality (shortlist.html,
   comparison) — but gave it a clearly distinct, gold-accented
   treatment so only the heart reads as the primary Save action.
   Icon also changed (layer-group -> bookmark) — bookmark is a much
   more recognisable "shortlist" glyph, and matches the icon already
   used for this exact purpose in the Aventrix Realty mobile app. */
.pd-shortlist-btn{
    flex:0 0 56px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:48px;
    border-radius:30px;
    border:1.5px solid #D4AF37;
    background:#fff;
    color:#D4AF37;
    font-size:18px;
    cursor:pointer;
    transition:.2s;
}
.pd-shortlist-btn.active{
    background:#D4AF37;
    color:#fff;
}
.pd-shortlist-btn:hover{ background:#fdf8ec; }
.pd-shortlist-btn.active:hover{ background:#c19d2e; }

/* Defensive tightening so Save + Shortlist + Call + WhatsApp still
   fit comfortably on the narrowest common phone widths. */
@media (max-width:400px){
    .pd-contact-cta .container{ gap:8px; }
    .pd-save-btn,
    .pd-shortlist-btn{ flex:0 0 44px; font-size:16px; }
    .pd-call-btn,
    .pd-whatsapp-btn{ font-size:13px; gap:5px; }
    .qv-actions{ gap:6px; padding-left:10px; padding-right:10px; }
    .qv-save,
    .qv-shortlist{ flex:0 0 44px !important; }
    .qv-save i,
    .qv-shortlist i{ font-size:15px; }
    .qv-call,
    .qv-whatsapp{ font-size:12.5px; gap:5px; padding:0 6px; }
}

/* ---------- Shortlist card "Select to Compare" checkbox chip ---------- */
.sc-select-chip{
    position:absolute;
    top:10px;
    right:10px;
    z-index:2;
    display:flex;
    align-items:center;
    gap:6px;
    background:rgba(255,255,255,.94);
    border-radius:20px;
    padding:6px 12px 6px 8px;
    font-size:12px;
    font-weight:600;
    color:#0F3B2E;
    cursor:pointer;
    user-select:none;
}
.sc-select-chip input{
    width:16px;
    height:16px;
    accent-color:#0F3B2E;
    cursor:pointer;
}

/* ---------- Shortlist toolbar (select all / compare / enquire) ---------- */
.sc-toolbar{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
    max-width:1200px;
    margin:0 auto 22px;
}
.sc-toolbar-links{ display:flex; gap:14px; }
.sc-toolbar-links button{
    background:none;
    border:none;
    color:#0F3B2E;
    font-weight:600;
    font-size:13px;
    text-decoration:underline;
    cursor:pointer;
    padding:0;
}
.sc-toolbar-spacer{ flex:1; }
.sc-compare-btn,
.sc-enquire-btn{
    border:none;
    border-radius:10px;
    padding:12px 20px;
    font-weight:700;
    font-size:13.5px;
    cursor:pointer;
    transition:.2s;
}
.sc-compare-btn{
    background:#fff;
    border:1.5px solid #0F3B2E;
    color:#0F3B2E;
}
.sc-compare-btn:disabled,
.sc-enquire-btn:disabled{
    opacity:.45;
    cursor:not-allowed;
}
.sc-enquire-btn{
    background:#D4AF37;
    color:#07111F;
}
.sc-enquire-btn:hover:not(:disabled){ background:#B8962E; }
.sc-compare-btn:hover:not(:disabled){ background:#0F3B2E; color:#fff; }
.sc-hint{
    max-width:1200px;
    margin:-10px auto 20px;
    font-size:13px;
    color:#888;
}

/* ---------- Comparison table ---------- */
.sc-compare-section{ padding:10px 8% 50px; background:#faf9f7; }
.sc-compare-section[hidden]{ display:none; }
.sc-compare-wrap{
    max-width:1200px;
    margin:0 auto;
    overflow-x:auto;
    background:#fff;
    border:1px solid #eee;
    border-radius:16px;
}
.sc-compare-table{
    border-collapse:collapse;
    width:100%;
    min-width:560px;
}
.sc-compare-table th,
.sc-compare-table td{
    padding:14px 16px;
    text-align:left;
    border-bottom:1px solid #eee;
    font-size:13.5px;
    vertical-align:top;
}
.sc-compare-table th.sc-attr-col{
    width:150px;
    background:#faf9f7;
    font-weight:600;
    color:#0F3B2E;
    position:sticky;
    left:0;
    z-index:1;
}
.sc-compare-table td.sc-attr-col{
    background:#faf9f7;
    font-weight:600;
    color:#0F3B2E;
    position:sticky;
    left:0;
}
.sc-compare-col-header{
    min-width:170px;
}
.sc-compare-col-header img{
    width:100%;
    height:100px;
    object-fit:cover;
    border-radius:10px;
    margin-bottom:8px;
}
.sc-compare-col-header h4{
    font-size:14px;
    color:#0F3B2E;
    margin-bottom:6px;
    line-height:1.3;
}
.sc-compare-remove{
    background:none;
    border:1px solid #d0cec4;
    color:#888;
    font-size:11px;
    border-radius:8px;
    padding:4px 8px;
    cursor:pointer;
    margin-top:6px;
}
.sc-compare-remove:hover{ border-color:#c0392b; color:#c0392b; }
.sc-compare-view-link{
    display:inline-block;
    margin-top:6px;
    font-size:12px;
    font-weight:600;
    color:#D4AF37;
    text-decoration:none;
}

/* ---------- Shortlist enquiry section ---------- */
.sc-enquiry-section{ padding:10px 8% 70px; background:#faf9f7; }
.sc-enquiry-selected-list{
    max-width:900px;
    margin:0 auto 18px;
    background:#fff;
    border:1px solid #eee;
    border-radius:12px;
    padding:16px 20px;
    font-size:13.5px;
    color:#444;
}
.sc-enquiry-selected-list strong{ color:#0F3B2E; }

@media (max-width:900px){
    .sc-toolbar{ flex-direction:column; align-items:stretch; }
    .sc-toolbar-spacer{ display:none; }
}

/* ---------- Remove-from-Shortlist button (shortlist.html cards) ---------- */
.property-shortlist-remove-btn{
    position:absolute;
    top:10px;
    left:10px;
    width:32px;
    height:32px;
    border-radius:50%;
    background:#0F3B2E;
    color:#D4AF37;
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    cursor:pointer;
    transition:.2s;
    z-index:2;
}
.property-shortlist-remove-btn:hover{ transform:scale(1.1); background:#c0392b; color:#fff; }

/* ============================================================
   PROPERTY DETAIL UPGRADES — Gallery Lightbox + Share + Copy Link
   Additive only — reuses the .qv-open body-scroll-lock technique,
   .share-toast, and the site's emerald/gold palette.
   ============================================================ */

/* ---------- Backbar: back-nav + Share/Copy Link actions ---------- */
.pd-backbar-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}
.pd-backbar-actions{
    display:flex;
    gap:10px;
    flex-shrink:0;
}
.pd-icon-btn{
    width:38px;
    height:38px;
    border-radius:50%;
    border:1.5px solid #0F3B2E;
    background:#fff;
    color:#0F3B2E;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    cursor:pointer;
    transition:.2s;
}
.pd-icon-btn:hover{
    background:#0F3B2E;
    color:#fff;
}

/* ---------- Gallery expand-to-fullscreen hint ---------- */
.pd-gallery-expand{
    position:absolute;
    top:16px;
    right:16px;
    width:36px;
    height:36px;
    border-radius:50%;
    background:rgba(0,0,0,.5);
    border:none;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    cursor:pointer;
    transition:.2s;
}
.pd-gallery-expand:hover{ background:rgba(0,0,0,.7); }
.pd-gallery-track img{ cursor:zoom-in; }

/* ---------- Full-screen gallery lightbox ---------- */
.pd-lightbox{
    position:fixed;
    inset:0;
    z-index:2000;
    display:none;
    align-items:center;
    justify-content:center;
}
.pd-lightbox.active{ display:flex; }
.pd-lightbox-backdrop{
    position:absolute;
    inset:0;
    background:rgba(5,10,8,.96);
}
.pd-lightbox-track{
    position:relative;
    z-index:1;
    width:100%;
    height:100%;
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    align-items:center;
}
.pd-lightbox-track::-webkit-scrollbar{ display:none; }
.pd-lightbox-track img{
    flex:0 0 100%;
    width:100%;
    height:100%;
    object-fit:contain;
    scroll-snap-align:center;
    -webkit-user-select:none;
    user-select:none;
}
.pd-lightbox-close{
    position:absolute;
    top:18px;
    right:18px;
    z-index:2;
    width:42px;
    height:42px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    border:none;
    color:#fff;
    font-size:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}
.pd-lightbox-close:hover{ background:rgba(255,255,255,.22); }
.pd-lightbox-count{
    position:absolute;
    left:50%;
    bottom:22px;
    transform:translateX(-50%);
    z-index:2;
    background:rgba(255,255,255,.12);
    color:#fff;
    font-size:13px;
    font-weight:600;
    padding:6px 16px;
    border-radius:20px;
}
.pd-lightbox-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:2;
    width:46px;
    height:46px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    border:none;
    color:#fff;
    font-size:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}
.pd-lightbox-nav:hover{ background:rgba(255,255,255,.22); }
.pd-lightbox-prev{ left:18px; }
.pd-lightbox-next{ right:18px; }

@media (max-width:640px){
    .pd-lightbox-nav{ display:none; } /* swipe only on touch/mobile widths, matches the rest of the site's gallery pattern */
    .pd-lightbox-close{ top:12px; right:12px; }
    .pd-lightbox-count{ bottom:16px; }
}

/* ============================================================
   MY ACCOUNT — Log In / Create Account / Forgot / Reset Password
   Self-contained styling (does not depend on .valuation-card or
   .submit-btn, which exist in enquiry.html/joint-venture.html's
   markup but have no matching CSS rules anywhere in this file —
   pre-existing gap, left untouched here; see delivery notes).
   ============================================================ */

.acct-section{
    padding:50px 8% 90px;
    background:#faf9f7;
    display:flex;
    justify-content:center;
}

.acct-card{
    width:100%;
    max-width:460px;
    background:#fff;
    border:1px solid #eee;
    border-radius:18px;
    box-shadow:0 10px 34px rgba(0,0,0,0.06);
    padding:34px 30px;
}

.acct-tabs{
    display:flex;
    border:1px solid #e5e3da;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:24px;
}
.acct-tab{
    flex:1;
    background:#faf9f7;
    border:none;
    padding:13px 10px;
    font-family:'Montserrat',sans-serif;
    font-weight:600;
    font-size:14px;
    color:#666;
    cursor:pointer;
    transition:.2s;
}
.acct-tab.active{
    background:#0F3B2E;
    color:#fff;
}

.acct-message{
    padding:12px 14px;
    border-radius:10px;
    font-size:13.5px;
    margin-bottom:18px;
}
.acct-message-error{
    background:#fdecea;
    color:#a33;
    border:1px solid #f3c8c4;
}
.acct-message-success{
    background:#eaf6ee;
    color:#1e7a3e;
    border:1px solid #bfe6cb;
}

.acct-form{
    display:flex;
    flex-direction:column;
    gap:16px;
}
.acct-form[hidden],
.acct-panel-success[hidden],
.acct-tabs[hidden]{
    display:none;
}

.acct-field{
    display:flex;
    flex-direction:column;
    gap:7px;
}
.acct-field label{
    font-size:12.5px;
    font-weight:600;
    letter-spacing:.3px;
    color:#0F3B2E;
}
.acct-field input{
    padding:13px 15px;
    border-radius:10px;
    border:1px solid #e0ded4;
    background:#faf9f7;
    font-size:15px;
    font-family:inherit;
    color:#111827;
    outline:none;
    transition:.2s;
}
.acct-field input:focus{
    border-color:#D4AF37;
    box-shadow:0 0 0 3px rgba(212,175,55,0.18);
    background:#fff;
}

.acct-hint{
    font-size:12.5px;
    color:#888;
    margin:-6px 0 0;
}

.acct-submit-btn{
    background:#0F3B2E;
    color:#fff;
    border:none;
    border-radius:10px;
    padding:14px;
    font-family:'Montserrat',sans-serif;
    font-weight:700;
    font-size:15px;
    cursor:pointer;
    transition:.2s;
}
.acct-submit-btn:hover:not(:disabled){ background:#0c2f24; }
.acct-submit-btn:disabled{ opacity:.6; cursor:not-allowed; }

.acct-link-btn{
    background:none;
    border:none;
    color:#0F3B2E;
    font-size:13px;
    font-weight:600;
    text-decoration:underline;
    cursor:pointer;
    padding:0;
    align-self:flex-start;
}

.acct-panel-success{
    text-align:center;
    padding:20px 10px;
}
.acct-panel-success i{
    font-size:38px;
    color:#D4AF37;
    margin-bottom:14px;
}
.acct-panel-success h3{
    font-family:'Montserrat',sans-serif;
    font-size:24px;
    color:#0F3B2E;
    margin-bottom:8px;
}
.acct-panel-success p{
    color:#666;
    font-size:14px;
    line-height:1.6;
}
#acctLoggedInPanel .acct-submit-btn{
    margin-top:16px;
    width:auto;
    padding:12px 28px;
}

@media (max-width:480px){
    .acct-card{ padding:26px 20px; }
}

/* ===========================================================
   AVENTRIX REALTY — HOMEPAGE APP-STYLE REDESIGN (ADDITIVE)
   All rules below are new, scoped to home-app-* classes plus a
   few targeted mobile overrides for the existing floating
   WhatsApp/Back-to-top buttons (so they don't collide with the
   new fixed bottom nav). Nothing existing was removed or
   rewritten — this block only adds to the cascade.
   Palette reused exactly: deep green #0F3B2E, gold #D4AF37,
   cream #faf9f7 / #f7f6f2.
=========================================================== */

/* Header additions — REFINED per feedback: lighter weight, better
   spacing from the existing nav-right content, less "app toolbar"
   feel. Functionality (href, bell destination) unchanged — visual
   only. Sits in its own flex row, sibling to nav-right (see the
   BUG FIX comment in index.html for why it's no longer inside
   nav-right itself). */
.home-app-header-actions{
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:auto;
    order:5;
}
/* Desktop now gets its Notification icon from inside .nav-right
   itself (matching the Properties page header exactly — same
   .nav-wishlist-link styling, correctly ordered after Wishlist/
   Shortlist, see index.html) — so this standalone mobile-hamburger-
   row version is mobile-only, avoiding a literal duplicate bell
   showing twice on desktop. */
/* FIX (2026-10-14): this used to be a plain width query (>=901px),
   which left the duplicate account icon visible — and pushed past the
   right edge — on non-touch desktop windows 769-900px, and hid it on
   touch tablets >=901px (iPad landscape), where .nav-right is also
   hidden, so those devices had no account icon at all. It now follows
   the same switch as the drawer layout itself: shown whenever the
   hamburger layout is active (html.is-mobile, or the <=768px
   no-JS/narrow-window fallback), hidden on the desktop row. */
html:not(.is-mobile) .home-app-header-actions{ display:none; }
@media (max-width:768px){
    html:not(.is-mobile) .home-app-header-actions{ display:flex; }
}
/* NOTE: the redundant duplicate ".nav-right{ gap:14px; }" rule that
   used to sit here has been removed — it set nothing beyond what the
   base .nav-right rule near the top of this file already sets, and
   its position this late in the stylesheet was silently overriding
   the responsive .nav-right gap adjustments added for the header
   overflow fix (see the @media blocks under .main-nav). */

/* Post Property FREE — hero variant (compact floating CTA, top-right
   corner of the hero). Now a black-glass / glassmorphism pill per
   request: translucent near-black background + backdrop-filter blur
   so the hero video still reads through it, a thin light-catching
   border, a soft outer shadow, and inset highlight/shadow lines for
   a subtle glass edge-light effect. White label text throughout --
   the "FREE" word is no longer a separate coloured badge/pill (that
   gold #D4AF37 chip read as "green-ish"/still a distinct colour
   block against the dark glass, which the client asked to remove);
   it's now just part of the same white text run inside the one
   black-glass pill, set slightly bolder/letter-spaced so it still
   stands out by weight and spacing alone, not by colour. Kept the
   same small size/position as before -- only the visual treatment
   changed. */
.home-app-hero-post-btn{
    position:absolute;
    top:20px;
    right:20px;
    z-index:4;
    display:inline-flex;
    align-items:center;
    gap:7px;
    background:rgba(8,8,8,.5);
    -webkit-backdrop-filter:blur(14px) saturate(140%);
    backdrop-filter:blur(14px) saturate(140%);
    color:#ffffff;
    font-weight:600;
    font-size:13px;
    padding:9px 16px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.2);
    text-decoration:none;
    white-space:nowrap;
    box-shadow:
        0 8px 22px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.25),
        inset 0 -1px 0 rgba(0,0,0,.2);
    overflow:hidden;
    transition:background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
/* Soft diagonal sheen across the upper-left of the pill -- the
   "glass reflection" highlight. Purely decorative, sits under the
   text (z-index of the link's own content stacks above a ::before
   by default source order) and never intercepts clicks. */
.home-app-hero-post-btn::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    background:linear-gradient(135deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 50%);
    pointer-events:none;
}
.home-app-hero-post-btn:hover{
    background:rgba(8,8,8,.62);
    border-color:rgba(255,255,255,.32);
}
.home-app-hero-post-btn span{
    position:relative;
    background:none;
    color:#ffffff;
    font-size:11px;
    font-weight:700;
    letter-spacing:.5px;
    padding:0;
    border-radius:0;
}
@media (max-width:640px){
    .home-app-hero-post-btn{ top:16px; right:16px; padding:7px 12px; font-size:12px; }
    .home-app-hero-post-btn span{ display:none; }
}

/* Hero quick-action bar CSS REMOVED per feedback — those three
   actions (Wishlist/Shortlist/Notifications) now live in the header
   only (see .nav-right / .nav-bell-link), avoiding two competing
   places for the same controls. Post Property FREE's own styling
   above is unchanged. */
.home-app-post-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:transparent;
    border:1px solid rgba(15,59,46,0.35);
    color:#0F3B2E;
    font-weight:600;
    font-size:13px;
    padding:8px 14px;
    border-radius:999px;
    text-decoration:none;
    white-space:nowrap;
    letter-spacing:.2px;
}
.home-app-post-btn span{
    background:#0F3B2E;
    color:#fff;
    font-size:11px;
    font-weight:700;
    letter-spacing:.4px;
    padding:2px 8px;
    border-radius:999px;
}
.home-app-post-btn:hover{ background:#f0efe9; }
.home-app-bell-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border-radius:999px;
    background:transparent;
    border:none;
    color:#0F3B2E;
    font-size:16px;
    text-decoration:none;
}
.home-app-bell-btn:hover{ background:rgba(15,59,46,0.06); }

/* My Listings / My Searches segmented control */
.home-app-segment-section{ background:#faf9f7; padding:10px 0 4px; }
.home-app-segment-control{
    display:flex;
    background:#eeece4;
    border-radius:999px;
    padding:5px;
    max-width:520px;
    margin:0 auto 12px;
}
.home-app-segment-btn{
    flex:1;
    border:none;
    background:transparent;
    padding:12px 10px;
    border-radius:999px;
    font-size:15px;
    font-weight:600;
    color:#5b5b52;
    cursor:pointer;
}
.home-app-segment-btn.active{
    background:#ffffff;
    color:#111827;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}
.home-app-listings-grid, .home-app-recent-chips{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
    max-width:900px;
    margin:0 auto;
}
.home-app-signin-prompt{
    grid-column:1/-1;
    text-align:center;
    padding:24px 16px;
    background:#fff;
    border-radius:14px;
    border:1px solid #e5e3da;
}
.home-app-signin-prompt p{ margin:0 0 12px; color:#374151; }
.home-app-signin-btn{
    display:inline-block;
    background:#0F3B2E;
    color:#fff;
    font-weight:600;
    padding:10px 20px;
    border-radius:999px;
    text-decoration:none;
}
.home-app-loading, .home-app-empty{
    grid-column:1/-1;
    text-align:center;
    color:#6b7280;
    padding:20px;
}

/* Category shortcuts row */
.home-app-shortcuts-section{ background:#faf9f7; padding:14px 0 12px; }
/* MOBILE-ONLY per feedback: .container (shared sitewide) has zero
   horizontal padding below 1200px, so this row sat flush against the
   screen edges. Scoped to just this section's own .container — the
   shared class itself is untouched. The row's existing horizontal-
   scroll/no-wrap behaviour is unaffected by padding; it still can
   only ever render as one row. Desktop untouched — entirely inside
   html.is-mobile. */
html.is-mobile .home-app-shortcuts-section .container{
    padding:0 16px;
}
/* FINAL ALIGNMENT FIX per feedback: padding alone shifted the
   container's edges inward but left the 5-item group itself
   left-aligned within it (flex default). Measured actual content:
   the 5 items total ~292px, plus gaps. At gap:8px the full group
   fits without scrolling at 360/375/390/414px-wide phones (verified
   directly, not assumed) — only at very narrow ~320px devices does
   the item content alone still exceed the available width, which is
   exactly why overflow-x:auto (unchanged, already on
   .home-app-shortcuts-row) stays in place as the safety net for
   that case. justify-content:center then centers the whole group as
   one unit whenever it fits, rather than sitting flush at the start. */
html.is-mobile .home-app-shortcuts-row{
    gap:8px;
    /* BUG FIX: plain justify-content:center on a horizontally-
       scrollable container, when content is wider than the
       viewport, centers within the container's own generated
       scroll range — which pushed "Buy" out of reach even at
       scrollLeft:0 (confirmed directly: Buy's position was -2 while
       the visible edge was at 16, meaning scrolling all the way to
       the start still didn't reveal it — a real, permanent clip,
       not just "needs a scroll"). "safe center" is the CSS-correct
       tool for exactly this: center when it fits; automatically
       fall back to start-alignment (so scrollLeft:0 shows "Buy",
       matching normal scroll behaviour) whenever centering would
       otherwise make content inaccessible. Only affects the very
       narrow ~320px case where the 5 items alone already exceed the
       available width — 360px and up fit and center normally. */
    justify-content:safe center;
}
.home-app-shortcuts-row{
    display:flex;
    gap:16px;
    overflow-x:auto;
    padding:4px 4px 4px;
    scrollbar-width:none;
}
.home-app-shortcuts-row::-webkit-scrollbar{ display:none; }
.home-app-shortcut{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;
    text-decoration:none;
    color:#111827;
    font-size:11.5px;
    font-weight:600;
    flex:0 0 auto;
    min-width:52px;
}
.home-app-shortcut-icon{
    width:40px;
    height:40px;
    border-radius:999px;
    background:#ffffff;
    border:1px solid #e5e3da;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0F3B2E;
    font-size:15px;
}
.home-app-shortcut:hover .home-app-shortcut-icon{ background:#f0efe9; }

/* RESTORED per feedback: "BUY • SELL • RENT" is the original hero
   line and must keep its original styling — .hero-subheading
   (pre-existing, above in this file) already has the correct gold
   colour and 900-weight baked in. My earlier hashtag experiment
   added an extra class here that changed the font-weight and
   duplicated the colour — removed entirely; nothing new needed. */

/* Floating search bar overlapping the hero */
/* BUG FIX (QA pass): this element already carries the pre-existing
   .hero-search-wrap class, which has position:absolute (floating
   over the hero, bottom:150px) — that's the ACTUAL mechanism that
   makes it overlap the hero, already correct and untouched. My
   first pass here also set position:relative + a negative margin,
   which (later in the cascade) overrode that absolute positioning,
   pulled the whole form back into normal document flow, and caused
   it to visually collide with Recent Searches below it — confirmed
   directly via getBoundingClientRect(): the two boxes measurably
   overlapped, and elementFromPoint() at a chip's location returned
   the search button, not the chip. Removed the conflicting
   position/margin-top here entirely; only the visual card styling
   (background/radius/shadow) is genuinely new. */
/* RESTORED per feedback: the original .hero-search already has the
   correct translucent/glass panel styling (rgba background +
   backdrop-filter blur, seen just above in this file, untouched).
   My earlier white-card override here was replacing that look —
   removed entirely so the original hero search panel renders
   exactly as it always has, unmodified. */

/* Recent Searches */
.home-app-recent-section{ background:#faf9f7; padding:18px 0 6px; }
/* MOBILE-ONLY per feedback: same root cause as the shortcuts row
   above — .container has no padding of its own below 1200px, so
   "Recent Search" sat flush left and "All Recent Searches" sat
   flush right. Scoped to just this section's own .container.
   Desktop untouched. */
html.is-mobile .home-app-recent-section .container{
    padding:0 16px;
}
.home-app-recent-row{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}
.home-app-recent-label{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:13px;
    font-weight:600;
    color:#5b5b52;
    white-space:nowrap;
}
.home-app-recent-chips{
    display:flex;
    gap:10px;
    overflow-x:auto;
    flex:1;
    scrollbar-width:none;
}
.home-app-recent-chips::-webkit-scrollbar{ display:none; }
.home-app-recent-chip{
    flex:0 0 auto;
    background:#ffffff;
    border:1px solid #e5e3da;
    border-radius:999px;
    padding:9px 16px;
    font-size:13px;
    color:#111827;
    text-decoration:none;
    white-space:nowrap;
}
.home-app-recent-chip:hover{ border-color:#0F3B2E; }
.home-app-recent-empty{ font-size:13px; color:#9a9a9a; }
html.is-mobile .home-app-recent-empty{ font-size:11.5px; }
.home-app-recent-all{
    background:none;
    border:none;
    color:#0F3B2E;
    font-weight:600;
    font-size:13px;
    text-decoration:underline;
    cursor:pointer;
    white-space:nowrap;
}

/* Future Properties + compact card (SEPARATE from the existing
   .property-card used by cardTemplate() / properties.html) */
.home-app-future-section{ background:#faf9f7; padding:28px 0 40px; }
.home-app-future-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    margin-bottom:18px;
}
.home-app-future-heading h2{
    font-family:'Montserrat',sans-serif;
    color:#0F3B2E;
    margin:0 0 4px;
}
.home-app-future-heading p{ margin:0; color:#6b7280; font-size:14px; }
.home-app-see-all{ color:#0F3B2E; font-weight:600; text-decoration:underline; white-space:nowrap; }
.home-app-future-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}
/* BUG FIX: .container (used sitewide) has zero horizontal padding of
   its own — below its 1200px max-width it renders edge-to-edge, so
   these cards had no breathing room from the screen edges on mobile/
   tablet. Scoped to just this section (not the shared .container
   rule, which countless other sections rely on) so only Future
   Properties gets the fix. */
.home-app-future-section .container{
    padding:0 16px;
}
.home-app-property-card{
    /* BUG FIX per feedback: bottom action row (View Details/Call/
       WhatsApp) wasn't anchored — was display:block, so cards with
       shorter titles left empty space above the actions row instead
       of pushing it to the same bottom edge as neighboring cards.
       Same proven flex-column + margin-top:auto pattern already
       used successfully on properties.html's cards. */
    display:flex;
    flex-direction:column;
    height:100%;
    background:#ffffff;
    border-radius:16px;
    overflow:hidden;
    border:1px solid #eceae2;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
}
/* Only this inner area is a link now (image/title/location/price) —
   the actions row below is separate, avoiding a link nested inside
   a link. Visual look is unchanged from when the whole card was
   one <a>. */
.home-app-card-linkarea{
    display:block;
    text-decoration:none;
    color:inherit;
}
.home-app-card-image-wrap{ position:relative; width:100%; aspect-ratio:4/3; background:#eeece4; }
.home-app-card-image-wrap img{ width:100%; height:100%; object-fit:cover; }
.home-app-card-badge{
    position:absolute; top:10px; left:10px;
    background:#D4AF37; color:#0F3B2E;
    font-size:8px; font-weight:700; letter-spacing:.3px;
    padding:2px 7px; border-radius:5px;
}
.home-app-card-badge.pending{ background:#D4AF37; color:#111; }
.home-app-card-badge.published{ background:#0F3B2E; color:#fff; }
.home-app-card-heart{
    position:absolute; top:8px; right:8px;
    width:30px; height:30px; border-radius:999px;
    background:rgba(255,255,255,.92); border:none;
    display:flex; align-items:center; justify-content:center;
    color:#0F3B2E; cursor:pointer;
}
.home-app-card-heart.saved{ color:#c0392b; }
.home-app-card-content{ padding:12px 14px 14px; }
.home-app-card-content h3{
    font-size:14px; margin:0 0 4px; color:#111827;
    display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden;
}
.home-app-card-location{
    display:flex; align-items:center; gap:4px;
    font-size:11.5px; color:#6b7280; margin-bottom:6px;
}
.home-app-card-details{ font-size:13px; font-weight:700; color:#0F3B2E; }

/* FUTURE PROPERTIES ONLY — View Details / Call / WhatsApp row.
   Compact, matches the card's existing rounded/bordered language.
   Kept as a slim strip so it's the "minimum layout adjustment" —
   the image/title/location/price area above is completely
   unchanged in size or style. */
.home-app-card-actions{
    display:flex;
    align-items:center;
    gap:6px;
    padding:0 10px 10px;
    /* Pushes the actions row to the bottom of the now flex-column
       card, regardless of how tall the content above it is. */
    margin-top:auto;
}
.home-app-card-view-btn{
    flex:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:32px;
    text-align:center;
    background:#0F3B2E;
    color:#fff;
    font-size:10.5px;
    font-weight:700;
    text-decoration:none;
    padding:6px 5px;
    border-radius:7px;
    white-space:nowrap;
}
.home-app-card-view-btn:hover{ background:#0c2f24; }
.home-app-card-icon-btn{
    flex:0 0 auto;
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    border:1.5px solid #0F3B2E;
    color:#0F3B2E;
    font-size:13px;
    text-decoration:none;
}
.home-app-card-icon-btn:hover{ background:#0F3B2E; color:#fff; }

/* Fixed mobile bottom navigation — mirrors the site's existing
   html.is-mobile convention, hidden on desktop/tablet by default */
.home-app-bottom-nav{ display:none; }
html.is-mobile .home-app-bottom-nav{
    display:flex;
    align-items:center;
    justify-content:space-around;
    position:fixed;
    left:0; right:0; bottom:0;
    background:#ffffff;
    border-top:1px solid #eceae2;
    padding:8px 4px calc(8px + env(safe-area-inset-bottom));
    z-index:9998;
}
/* Home mobile bottom navigation: keep the centre plus fully inside the
   white navigation bar, with a soft green glow behind the circular action. */
html.is-mobile .home-app-bottom-nav .home-app-nav-postfree{
    position:relative;
    flex:0 0 48px;
    width:48px;
    height:48px;
    min-width:48px;
    min-height:48px;
    margin-top:0 !important;
    align-self:center;
    transform:none !important;
    border-radius:50%;
    background:#0F3B2E;
    color:#fff;
    box-shadow:0 0 0 1px rgba(15,59,46,.08), 0 0 18px 7px rgba(15,59,46,.20), 0 4px 12px rgba(15,59,46,.18);
    z-index:2;
}
html.is-mobile .home-app-bottom-nav .home-app-nav-postfree i{
    font-size:25px;
    line-height:1;
}

/* BUG FIX (QA pass): nothing reserved space for the fixed bottom
   nav, so the last ~43-90px of page content (footer, and anything
   else at the true bottom of the page) rendered underneath it and
   was unclickable — confirmed by scrolling to true max-scroll and
   measuring the footer's bottom edge against the nav's top edge.
   90px comfortably clears the nav's own height (~51-64px depending
   on font metrics) plus notched-device safe-area headroom. */
html.is-mobile body{ padding-bottom:90px; }
/* BUG FIX (QA pass): any interactive element that gets scrolled to
   the natural bottom edge of the viewport (auto-scroll-into-view,
   anchor jumps, keyboard focus) can land exactly where the fixed
   bottom nav sits, since a fixed bar occupies the same screen
   position regardless of scroll offset. scroll-margin-bottom keeps
   a clearance zone so these elements always stop short of it. */
html.is-mobile .home-app-recent-chip,
html.is-mobile .home-app-property-card,
html.is-mobile .home-app-card-heart{
    scroll-margin-bottom:100px;
}
/* Same clearance for the Leadership "View Profile" CTAs (only
   present on index.html, so this rule is inert everywhere the fixed
   bottom nav doesn't exist) -- keeps the button from stopping flush
   behind the bar on an anchor jump or keyboard-focus scroll, and
   the extra margin-top below gives it visual breathing room above
   whatever follows during ordinary scrolling too. */
html.is-mobile .leader-cta{
    scroll-margin-bottom:110px;
    margin-top:4px;
}

/* Dedicated profile pages (gnanasekaran.html / sanjay.html) -- mobile
   refinement pass, second iteration. Content-density reference
   provided (a competitor's founder-bio page) called for a denser,
   uniformly left-aligned "corporate profile" reading flow rather
   than the mix of centered short lines / left-aligned long
   paragraphs from the first pass -- so this now treats every <p> in
   the card the same way (profile-intro, Professional Background,
   Legacy, Experience, Specialization, Areas of Expertise, the RERA
   line on sanjay.html) at 16px/1.7, left-aligned, with a consistent
   16px bottom margin instead of the browser's uneven collapsed
   defaults. Section headings (h2) go left-aligned too so they read
   as part of the same flowing column as the text under them, with a
   trimmed, consistent margin (26px above/10px below) instead of the
   browser default's larger, inconsistent spacing -- this, plus a
   tightened <hr> margin, is what removes the "unnecessary empty
   vertical space" between sections. Name (h1) and role (h3) stay
   centered under the photo -- untouched, still the prominent
   identity block the hierarchy requirement asked to preserve.

   .profile-container's own fixed 50px side padding is still reduced
   on mobile only (desktop untouched) so the text column reads at
   roughly 88-90% of the viewport instead of the ~60% it was
   effectively capped to originally -- the approved 1px card border
   and border-radius are left exactly as they are; this only trims
   the interior whitespace. Page-level top padding is increased
   slightly so the photo/name always start with clear space below
   the header, never underneath it. */
html.is-mobile .profile-page{
    padding:64px 8px 40px;
}
html.is-mobile .profile-container{
    width:100%;
    max-width:100%;
    padding:24px 16px;
    border-radius:14px;
}

html.is-mobile .profile-container p{
    text-align:left;
    font-size:16px;
    line-height:1.7;
    max-width:none;
    margin:0 0 16px;
}
html.is-mobile .profile-container h2{
    text-align:left;
    margin:26px 0 10px;
}
html.is-mobile .profile-container hr{
    margin:20px 0;
}
html.is-mobile .profile-tags,
html.is-mobile .profile-social{
    justify-content:flex-start;
}
.home-app-nav-item{
    display:flex; flex-direction:column; align-items:center; gap:3px;
    font-size:10.5px; color:#6b7280; text-decoration:none;
    background:none; border:none; cursor:pointer;
}
.home-app-nav-item i{ font-size:19px; }
.home-app-nav-item.active{ color:#0F3B2E; }
.home-app-nav-postfree{
    display:flex; align-items:center; justify-content:center;
    width:52px; height:52px; border-radius:999px;
    background:#0F3B2E; color:#fff; font-size:20px;
    margin-top:-26px; box-shadow:0 6px 16px rgba(15,59,46,.35);
    text-decoration:none;
}


@media (max-width:640px){
    .home-app-listings-grid, .home-app-recent-chips[id="myRecentSearchesPanel"], .home-app-future-grid{
        grid-template-columns:repeat(2,1fr);
        gap:10px;
    }
    .home-app-post-btn span{ display:none; }
    .home-app-post-btn{ padding:8px 12px; }
}

@media (min-width:900px){
    .home-app-listings-grid, .home-app-future-grid{ grid-template-columns:repeat(4,1fr); }
}

/* ===========================
   TYPOGRAPHY UPDATE — HEADER NAV UPPERCASE
=========================== */
.main-nav a,
header nav a{
    text-transform:uppercase;
}

/* ===========================
   HEADER — DESKTOP OVERFLOW FIX (superseded)
   The old fixed-breakpoint / clamp() version of this fix used to
   live here and conflicted with the newer, single consolidated nav
   media query up near .main-nav's base rule (search for "min-width:
   769px) and (max-width:1450px)") -- same selector, same specificity,
   and because THIS block came later in the file it was silently
   winning for every width between 769px and 1350px, undoing the
   newer rule's spacing there. That's now the one and only place
   controlling nav spacing/sizing at these widths, so this block is
   intentionally left empty rather than removed outright, to avoid
   losing the historical context above for anyone reading this file
   later. Do not add nav sizing rules here again. */

/* ===========================
   SITEWIDE SECTION DIVIDERS
   Full-site visual-hierarchy refinement — a REFINEMENT, not a
   redesign. Adds one very thin, low-contrast horizontal line between
   every pair of major top-level page sections, sitewide, with no
   HTML changes anywhere except the two pre-existing (and previously
   disabled) .section-divider spots on index.html re-enabled above.

   How this works structurally: on every page in this project, the
   page's major sections (hero, "Meet Our Leadership", property grids,
   filter panels, FAQ, CTA, etc.) are markup as sibling <section>
   elements placed directly inside <body>, between <header> and
   <footer> — confirmed by auditing all 19 public pages before writing
   this rule (per the "check the actual structure first" requirement).
   So a single structural CSS selector — "a <section> immediately
   preceded by another <section>" — reliably targets exactly the
   major-section boundaries this task asked for, and nothing smaller:
   it can never match between a heading/paragraph/button inside one
   section, because those aren't sibling <section> elements.

   Two boundaries are deliberately NOT covered here and left as-is:
   - header → first section (e.g. header → hero): the header already
     has its own border-bottom, and the hero is already visually
     distinct (image/colour), so a second line here would be
     redundant, not "genuinely differentiated".
   - the last section → <footer>: the footer already has its own
     clear visual break; per the "no accidental changes to footer"
     instruction this boundary is left untouched.
   - the two boundaries on index.html that already use the dedicated
     .section-divider element (see above) are unaffected here, since
     that element is a <div>, not a <section> — the adjacent-sibling
     selector below simply doesn't match across it, so those two
     boundaries get exactly one line, never two.

   Colour reuses rgba(17,24,39,.08) — not a new value invented for
   this task, but the exact "subtle charcoal hairline" already used
   elsewhere in this stylesheet (e.g. .testimonial-author,
   .cta-section) — so this reads as one consistent, pre-existing
   design language rather than a new element bolted on. */
body > section + section{
    border-top:1px solid rgba(17,24,39,.08);
}

/* Two pages (sanjay.html, gnanasekaran.html) present their entire
   content as a single centered profile card rather than multiple
   <section>s, so there is no second section boundary to divide there
   — see the card-boundary rule below for those instead. */


/* ===========================
   SITEWIDE CARD / PANEL BOUNDARIES
   Companion to the section dividers above: gives every card/box/
   content panel sitewide a subtle, consistent 1px boundary. Audited
   every card/box/grid-item class used across all 19 pages first (see
   process note below) and split them into two groups:

   1) Already had a border of their own (.acct-card,
      .brokerage-fee-card, .realtor-card, .testimonial-card,
      .office-card, .faq-item, .why-item, .service-item, .bsl-card,
      .invest-card, .sf-filter-panel, .pd-spec-card, .pd-trust-card,
      .home-app-property-card, and more) — deliberately left
      completely untouched, per "if a card already has a border, do
      NOT add a second one".

   2) Had NO border at all — only box-shadow/border-radius, or (for
      .valuation-card) no styling whatsoever — and get the same
      rgba(17,24,39,.08) hairline used for the section dividers above,
      for one consistent boundary treatment sitewide:
      .property-card      — property listing cards (homepage,
                             properties.html, wishlist/shortlist,
                             Similar/Recently Viewed on property.html)
      .insight-card        — insights.html article cards
      .category-card       — homepage category tiles
      .location-card-btn   — homepage locality tiles
      .profile-container   — the single content card on sanjay.html /
                             gnanasekaran.html (these two pages have no
                             section boundaries to divide, see above,
                             so this is their equivalent treatment)

   Deliberately left unbordered (exceptions — see delivery notes):
   - .skeleton-card: a transient loading placeholder, gone as soon as
     real content arrives; not a persistent content panel.
   - .acct-panel-success: already sits inside .acct-card, which already
     has its own border — bordering both would double up.
   - .legacy-item (About page timeline): a timeline row with a dot
     marker, not a card/grid item — boxing it would look like a
     redesign of that component, not a boundary refinement.
   - .home-app-segment-panel (My Listings / My Searches tab body): a
     tab-switcher container, not itself a visual card — the actual
     cards inside it (.home-app-property-card) already have a border.
   - .leader-card no longer exists: "Meet Our Leadership" was
     redesigned to an open photo+text row (.leader-row), not a boxed
     card, so there's no card boundary to add here any more -- the
     photo keeps its own drop-shadow instead (see .leader-photo). */
.property-card,
.insight-card,
.category-card,
.location-card-btn,
.profile-container{
    border:1px solid rgba(17,24,39,.08);
}

/* .valuation-card (the "Property Enquiry Form" / "Joint Venture
   Enquiry" panel wrapper on enquiry.html, joint-venture.html and
   shortlist.html) previously had NO CSS at all — no background,
   border, radius or padding of its own; the form simply sat directly
   on the page. A border alone would have touched the form fields
   edge-to-edge, so a small radius + padding were added too (matching
   this site's existing card conventions, e.g. .profile-container)
   purely to give the new border room to breathe. Nothing about the
   form fields, labels, or submit behaviour changed. */
.valuation-card{
    border:1px solid rgba(17,24,39,.08);
    border-radius:12px;
    padding:32px 30px;
}
@media(max-width:600px){
    .valuation-card{
        padding:26px 20px;
    }
}

/* ===========================
   HOMEPAGE SECTION SPACING — reduced
   Several homepage sections (.about, .testimonials-section,
   .cta-section, .invest-section, .services, .faq-section,
   .quick-enquiry-section) all shared the same padding:100px 8%
   (.services also had a 110px bottom), which stacked with each
   section's own internal heading margins and produced very large,
   near-empty gaps at several transitions on the homepage — most
   visibly "Why Invest in Chennai" → "Our Services" and
   "Why Aventrix" → "Our Legacy". All seven are reduced to a
   consistent 56px (.services keeps a slightly larger 64px bottom,
   since it leads into the dark FAQ section). Left/right padding
   (8%), all card/grid/heading/icon styles, and every other homepage
   section's padding are untouched — this only tightens the
   before/after breathing room on sections that were disproportionately
   larger than the rest of the page. Every one of these seven
   selectors is used ONLY on index.html, so no other page is
   affected. (The .section-divider margin reduction, for the
   "What We Do" → "Why Aventrix" gap, is noted next to that rule
   near the top of this file.) */

/* ===========================================================
   PROPERTY VALUATION PAGE — REBUILD (free-valuation.html only)
   All classes below (.fv-*) are new and unique to this page, so
   nothing here touches any other page. Reuses existing sitewide
   tokens/components wherever possible instead of inventing new
   ones: .section-eyebrow/.section-heading for section intros,
   .profile-tags/.profile-tag for the "Who Is This For?" chips,
   the existing rgba(17,24,39,.08) hairline-border token for every
   card/divider, and the site's #0F3B2E / #D4AF37 colour pair —
   no new colours introduced. Every new top-level section is a
   direct <section> child of <body>, so the existing sitewide
   "body > section + section{border-top:1px solid rgba(17,24,39,.08)}"
   rule (see SITEWIDE CARD/PANEL BOUNDARIES above) already supplies
   the thin section dividers the page needs, with no extra CSS.
   Deliberately flat: no box-shadow, no hover-lift, minimal radius —
   per the brief for this page specifically (other pages such as
   .why-item keep their existing shadowed/rounded treatment
   untouched). */

.fv-section{
    padding:70px 0;
}
.fv-section.fv-alt{
    background:#f8f9fb;
}
.fv-section .container{
    width:90%;
    max-width:1100px;
    margin:0 auto;
}

/* Numbered card grid — reused for "Why Choose a Property
   Valuation?", "What Your Valuation Includes" and "Our Valuation
   Process" (4, 5 and 4 cards respectively). auto-fit lets the same
   two rules serve all three card counts cleanly across every
   desktop width from 1024px to 1920px without a separate
   column-count class per section. */
.fv-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(165px,1fr));
    gap:22px;
}
.fv-card{
    background:#ffffff;
    border:1px solid rgba(17,24,39,.08);
    border-radius:12px;
    padding:28px 24px;
}
.fv-card-number{
    display:block;
    font-family:'Montserrat',sans-serif;
    font-size:13px;
    font-weight:700;
    letter-spacing:2px;
    color:#D4AF37;
    margin-bottom:14px;
}
.fv-card h3{
    font-family:'Montserrat',sans-serif;
    font-size:18px;
    font-weight:700;
    color:#111827;
    margin-bottom:8px;
    letter-spacing:.2px;
}
.fv-card p{
    font-size:14.5px;
    line-height:1.7;
    color:#4b5563;
    margin:0;
}

/* Flat benefit list ("What a Valuation Helps You Understand") —
   deliberately not a card grid, to read as visually distinct from
   the numbered card sections above/below it and to keep this
   section as low-contrast/minimal as the brief asks for. */
.fv-benefits-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:0;
    border-top:1px solid rgba(17,24,39,.08);
}
.fv-benefit{
    padding:22px 20px;
    border-bottom:1px solid rgba(17,24,39,.08);
}
.fv-benefit:nth-child(odd){
    border-right:1px solid rgba(17,24,39,.08);
}
.fv-benefit h3{
    font-family:'Montserrat',sans-serif;
    font-size:16px;
    font-weight:700;
    color:#111827;
    margin-bottom:6px;
}
.fv-benefit p{
    font-size:14.5px;
    line-height:1.7;
    color:#4b5563;
    margin:0;
}

/* Form group headings inside #valuation-form (Contact Details /
   Property Details / Valuation Purpose / Additional Information /
   Optional Document / Image Upload). Unique class, safe to define
   globally — not used on any other page. */
.fv-form-group-heading{
    font-family:'Montserrat',sans-serif;
    font-size:13px;
    letter-spacing:2px;
    text-transform:uppercase;
    font-weight:700;
    color:#0F3B2E;
    margin:34px 0 14px;
}
.fv-form-group-heading:first-child{
    margin-top:0;
}
.fv-form-grid-single{
    grid-template-columns:1fr;
}

/* Submit button: the shared .owner-form button rule (used by three
   other pages) has a fixed 180px width sized for "Get Free
   Valuation" — too narrow for "Request Property Valuation". Scoped
   to #valuation-form only, so list-with-us.html / nri-services.html
   / joint-venture.html keep their existing 180px button untouched. */
#valuation-form button{
    width:auto;
    min-width:280px;
    padding:0 40px;
}

/* Final CTA banner — solid emerald, same colour as the rest of the
   site's primary accent (not a new colour), flat/no image per the
   brief's "avoid heavy visual weight" for this page. */
.fv-final-cta{
    background:#0F3B2E;
    padding:64px 8%;
    text-align:center;
}
.fv-final-cta h2{
    font-family:'Montserrat',sans-serif;
    font-size:34px;
    font-weight:600;
    color:#fff;
    max-width:640px;
    margin:0 auto 16px;
}
.fv-final-cta p{
    font-size:16.5px;
    line-height:1.8;
    color:rgba(255,255,255,.8);
    max-width:560px;
    margin:0 auto 32px;
}
.fv-final-cta .primary-btn{
    background:#D4AF37;
    color:#111;
}

/* ---- Mobile (both the JS is-mobile path and the JS-disabled
   narrow-window @media fallback are kept in sync, per this file's
   established convention) ---- */
html.is-mobile .fv-section{
    padding:45px 0;
}
html.is-mobile .fv-final-cta{
    padding:45px 6%;
}
html.is-mobile .fv-final-cta h2{
    font-size:24px;
}
html.is-mobile .fv-grid{
    grid-template-columns:1fr;
    gap:16px;
}
html.is-mobile .fv-benefits-grid{
    grid-template-columns:1fr;
}
html.is-mobile .fv-benefit:nth-child(odd){
    border-right:none;
}
html.is-mobile #valuation-form .container{
    padding:32px 20px;
    border-radius:14px;
}
html.is-mobile #valuation-form .form-grid{
    grid-template-columns:1fr;
    gap:16px;
}
html.is-mobile #valuation-form button{
    width:100%;
    min-width:0;
}

@media(max-width:768px){
    html:not(.is-mobile) .fv-section{
        padding:45px 0;
    }
    html:not(.is-mobile) .fv-final-cta{
        padding:45px 6%;
    }
    html:not(.is-mobile) .fv-final-cta h2{
        font-size:24px;
    }
    html:not(.is-mobile) .fv-grid{
        grid-template-columns:1fr;
        gap:16px;
    }
    html:not(.is-mobile) .fv-benefits-grid{
        grid-template-columns:1fr;
    }
    html:not(.is-mobile) .fv-benefit:nth-child(odd){
        border-right:none;
    }
    html:not(.is-mobile) #valuation-form .container{
        padding:32px 20px;
        border-radius:14px;
    }
    html:not(.is-mobile) #valuation-form .form-grid{
        grid-template-columns:1fr;
        gap:16px;
    }
    html:not(.is-mobile) #valuation-form button{
        width:100%;
        min-width:0;
    }
}

/* ===========================================================
   LIST WITH US + NRI SERVICES — REBUILD
   (list-with-us.html and nri-services.html only — #owner-form is
   used by exactly these two pages, confirmed via grep; no other
   page uses this id, so scoping to it cannot affect anything else.
   Reuses the same .fv-* system built for free-valuation.html
   (.fv-section/.fv-alt, .fv-grid/.fv-card/.fv-card-number,
   .fv-benefits-grid/.fv-benefit, .fv-final-cta,
   .fv-form-group-heading/.fv-form-grid-single, .profile-tags/
   .profile-tag) as-is — none of those are ID-scoped, so no new
   card/grid/CTA CSS is needed here at all. Only three genuinely new
   things are added below: a flat FAQ accordion variant, styling for
   the previously-unstyled .checkbox-group, and #owner-form's own
   button-width/mobile overrides (mirroring #valuation-form's). */

/* Flat FAQ accordion. Reuses the existing .faq-item/.faq-question/
   .faq-answer classes as-is -- including their already-wired-up
   behaviour (script.js's initFaqAccordion(), which queries these
   exact class names and runs automatically on page load) -- so zero
   JS changes were needed. Only the VISUAL treatment is overridden,
   scoped under this new .faq-flat wrapper, so the homepage's own
   .faq-section (dark glass/blur, documented elsewhere as used ONLY
   on index.html) is completely untouched. */
.faq-flat .faq-list{
    max-width:820px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    gap:14px;
}
.faq-flat .faq-item{
    background:#ffffff;
    border:1px solid rgba(17,24,39,.08);
    border-radius:12px;
    box-shadow:none;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
    transition:border-color .25s ease;
}
.faq-flat .faq-item:hover{
    background:#ffffff;
    border-color:rgba(17,24,39,.18);
    transform:none;
}
.faq-flat .faq-question{
    color:#111827;
    font-size:15.5px;
}
.faq-flat .faq-icon{
    color:#0F3B2E;
}
.faq-flat .faq-answer p{
    color:#4b5563;
}

/* .checkbox-group (NRI consent row) had no styling at all before —
   plain unstyled browser checkbox + label. Used only on
   nri-services.html, so this is additive everywhere else. */
.checkbox-group{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin:22px 0 8px;
}
.checkbox-group input[type="checkbox"]{
    width:18px;
    height:18px;
    margin-top:2px;
    accent-color:#0F3B2E;
    flex-shrink:0;
}
.checkbox-group label{
    font-size:13.5px;
    line-height:1.6;
    color:#666;
}

/* Submit button width + mobile overrides, same pattern as
   #valuation-form. min-width is smaller than the Valuation page's
   (280px) since both this page's CTAs ("Submit Property",
   "Submit Enquiry") are shorter than "Request Property Valuation". */
#owner-form button{
    width:auto;
    min-width:220px;
    padding:0 36px;
}

html.is-mobile #owner-form .container{
    padding:32px 20px;
    border-radius:14px;
}
html.is-mobile #owner-form .form-grid{
    grid-template-columns:1fr;
    gap:16px;
}
html.is-mobile #owner-form button{
    width:100%;
    min-width:0;
}

@media(max-width:768px){
    html:not(.is-mobile) #owner-form .container{
        padding:32px 20px;
        border-radius:14px;
    }
    html:not(.is-mobile) #owner-form .form-grid{
        grid-template-columns:1fr;
        gap:16px;
    }
    html:not(.is-mobile) #owner-form button{
        width:100%;
        min-width:0;
    }
}

/* ===========================================================
   ABOUT PAGE — REBUILD (about.html only)
   New page-scoped classes below (.about-hero, .about-statement,
   .about-split*, .about-tags-left, .about-network*, .about-why-*)
   are novel, unique names — none collide with any selector used
   elsewhere in this file, confirmed before adding. Reuses the
   existing .list-hero / .fv-section / .fv-grid / .fv-card /
   .leadership-rows / .profile-tags / .fv-final-cta / .primary-btn /
   .secondary-btn system wherever possible, per project convention.
=========================================================== */

/* SECTION 1 — hero background-image swap only, same pattern as
   .brokerage-hero / .nri-hero (base .list-hero overlay/typography
   untouched). */
.about-hero{
    /* Replaced per feedback: loc-central-chennai.jpg (a landmark
       photo, not property architecture) swapped for an existing,
       already-approved premium property image reused from
       brokerage-fees.html's hero (.brokerage-hero). */
    background:
    linear-gradient(rgba(10,10,12,0.5), rgba(10,10,12,0.62)),
    url("images/brokerage-fees-hero.jpg") center center/cover no-repeat;
}

/* SECTION 2 — brand statement: short, centered, editorial. Kept
   deliberately shorter than .fv-section's 70px so it doesn't read
   as an oversized empty block. */
.about-statement{
    padding:56px 0;
    background:#ffffff;
    text-align:center;
}
.about-statement .container{
    width:90%;
    max-width:760px;
    margin:0 auto;
}
.about-statement h2{
    font-family:'Montserrat',sans-serif;
    font-size:30px;
    font-weight:700;
    color:#111827;
    margin:0 0 18px;
    line-height:1.3;
}
.about-statement p{
    font-size:16px;
    line-height:1.85;
    color:#4a4a4a;
    margin:0;
}

/* SECTION 3 — two-column "who we are": copy column beside one large
   premium image. */
.about-split{
    display:flex;
    align-items:center;
    gap:60px;
}
.about-split-copy{
    flex:1;
    min-width:0;
}
.about-split-copy h2{
    font-size:30px;
    color:#111827;
    margin:10px 0 20px;
    line-height:1.3;
}
.about-split-copy p{
    font-size:15.5px;
    line-height:1.85;
    color:#4a4a4a;
    margin:0 0 18px;
}
.about-split-media{
    flex:0 0 44%;
}
.about-split-media img{
    width:100%;
    height:420px;
    object-fit:cover;
    border-radius:16px;
    box-shadow:0 18px 40px rgba(17,24,39,.12);
    display:block;
}
.about-tags-left{
    justify-content:flex-start;
    margin-top:8px;
}

/* SECTION 7 — Our Network: solid dark-green full-width section
   (same brand colour as .leader-cta / .fv-final-cta), for visual
   punctuation between Leadership and Why Aventrix. */
.about-network{
    background:#0F3B2E;
    padding:70px 0;
    text-align:center;
}
.about-network .section-eyebrow{
    color:#D4AF37;
}
.about-network .section-heading h2{
    color:#ffffff;
}
.about-lede{
    max-width:720px;
    margin:0 auto 28px;
    font-size:16px;
    line-height:1.85;
    color:rgba(255,255,255,.85);
}
.about-network .profile-tags{
    max-width:820px;
    margin:0 auto 32px;
}
.about-network-cta{
    margin-top:8px;
}

/* SECTION 8 — Why Aventrix: flat numbered list, deliberately not a
   card grid so it reads as visually distinct from Sections 4 and 5. */
.about-why-list{
    max-width:820px;
    margin:40px auto 0;
    border-top:1px solid rgba(17,24,39,.08);
}
.about-why-item{
    display:flex;
    align-items:flex-start;
    gap:28px;
    padding:26px 0;
    border-bottom:1px solid rgba(17,24,39,.08);
}
.about-why-number{
    flex:0 0 auto;
    font-family:'Montserrat',sans-serif;
    font-size:15px;
    font-weight:700;
    letter-spacing:1.5px;
    color:#D4AF37;
    padding-top:2px;
}
.about-why-text h3{
    font-family:'Montserrat',sans-serif;
    font-size:18px;
    font-weight:700;
    color:#111827;
    margin:0 0 6px;
}
.about-why-text p{
    font-size:15px;
    line-height:1.75;
    color:#4b5563;
    margin:0;
}

/* ---- Mobile (both the JS is-mobile path and the JS-disabled
   narrow-window @media fallback are kept in sync, per this file's
   established convention) ---- */
html.is-mobile .about-statement{
    padding:40px 0;
}
html.is-mobile .about-statement h2{
    font-size:23px;
}
html.is-mobile .about-split{
    flex-direction:column;
    gap:28px;
}
html.is-mobile .about-split-media{
    flex:none;
    width:100%;
    order:-1;
}
html.is-mobile .about-split-media img{
    height:260px;
}
html.is-mobile .about-tags-left{
    justify-content:center;
}
html.is-mobile .about-network{
    padding:45px 0;
}
html.is-mobile .about-network .profile-tags{
    justify-content:center;
}
html.is-mobile .about-why-list{
    margin-top:24px;
}
html.is-mobile .about-why-item{
    gap:16px;
    padding:20px 0;
}

@media(max-width:768px){
    html:not(.is-mobile) .about-statement{
        padding:40px 0;
    }
    html:not(.is-mobile) .about-statement h2{
        font-size:23px;
    }
    html:not(.is-mobile) .about-split{
        flex-direction:column;
        gap:28px;
    }
    html:not(.is-mobile) .about-split-media{
        flex:none;
        width:100%;
        order:-1;
    }
    html:not(.is-mobile) .about-split-media img{
        height:260px;
    }
    html:not(.is-mobile) .about-tags-left{
        justify-content:center;
    }
    html:not(.is-mobile) .about-network{
        padding:45px 0;
    }
    html:not(.is-mobile) .about-network .profile-tags{
        justify-content:center;
    }
    html:not(.is-mobile) .about-why-list{
        margin-top:24px;
    }
    html:not(.is-mobile) .about-why-item{
        gap:16px;
        padding:20px 0;
    }
}

/* SECTION 8.5 — About page commitment band: architectural imagery, no logo watermark. */
.about-accent{
    color:#D4AF37;
}
.about-declaration{
    background:
        linear-gradient(90deg, rgba(15,59,46,0.80) 0%, rgba(15,59,46,0.52) 56%, rgba(15,59,46,0.16) 100%),
        url("images/properties-hero.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    padding:80px 8%;
    text-align:center;
    border-bottom:1px solid rgba(212,175,55,.28);
}
.about-declaration .container{
    max-width:760px;
    margin:0 auto;
}
.about-declaration .section-eyebrow{
    color:#D4AF37;
}
.about-declaration h2{
    font-family:'Montserrat',sans-serif;
    font-size:32px;
    font-weight:600;
    color:#ffffff;
    line-height:1.4;
    margin:16px 0 0;
}
html.is-mobile .about-declaration{
    padding:52px 6%;
    background-position:58% center;
}
html.is-mobile .about-declaration h2{
    font-size:23px;
}
@media(max-width:768px){
    html:not(.is-mobile) .about-declaration{
        padding:52px 6%;
        background-position:58% center;
    }
    html:not(.is-mobile) .about-declaration h2{
        font-size:23px;
    }
}

/* 2026-09-25: testimonials section + its scroll-indicator dash stay
   hidden until js/public-testimonials.js finds Published testimonials
   (no static/placeholder testimonials are shipped). */
.testimonials-section[hidden],
.ssi-segment[hidden]{ display:none !important; }



/* Homepage contact area: distinct contact, form and footer colour hierarchy (Oct 2026). */
body.home-page .quick-enquiry-section {
  background: #F7F5EF !important;
  color: #123F33 !important;
}
body.home-page .quick-enquiry-section::before {
  display: none !important;
  content: none !important;
}
body.home-page .quick-enquiry-section::after {
  display: none !important;
  content: none !important;
}
body.home-page .quick-enquiry-info {
  background: #123F33 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(212,175,55,.35) !important;
  box-shadow: 0 12px 30px rgba(18,63,51,.12) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body.home-page .quick-enquiry-info h2 { color: #FFFFFF !important; }
body.home-page .quick-enquiry-info .quick-enquiry-desc { color: #E0E7E3 !important; }
body.home-page .quick-enquiry-form-wrap {
  background: #FFFFFF !important;
  color: #123F33 !important;
  border: 1px solid #E4E1D8 !important;
  box-shadow: 0 12px 30px rgba(18,63,51,.07) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body.home-page .quick-enquiry-form-wrap .qe-field label { color: #123F33 !important; }
body.home-page .quick-enquiry-form-wrap .qe-field input,
body.home-page .quick-enquiry-form-wrap .qe-field textarea {
  background: #FBFAF7 !important;
  border: 1px solid #DCDCD5 !important;
  color: #17231E !important;
}
body.home-page .quick-enquiry-form-wrap .qe-field input:focus,
body.home-page .quick-enquiry-form-wrap .qe-field textarea:focus {
  border-color: #123F33 !important;
  box-shadow: 0 0 0 3px rgba(18,63,51,.12) !important;
}
body.home-page .quick-enquiry-form-wrap .qe-submit-btn {
  background: #C9A13B !important;
  color: #17231E !important;
}
body.home-page .quick-enquiry-form-wrap .qe-submit-btn:hover { background: #B58B2E !important; }
body.home-page .qe-primary-contact .qe-call-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  padding: 11px 16px;
  margin-top: 5px;
  border: 1px solid rgba(212,175,55,.65);
  border-radius: 999px;
  color: #FFFFFF !important;
  background: rgba(255,255,255,.08);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
body.home-page .qe-primary-contact .qe-call-cta:hover {
  background: #C9A13B;
  color: #17231E !important;
}
@media (max-width: 768px) {
  body.home-page .quick-enquiry-section { padding: 28px 16px !important; }
  body.home-page .quick-enquiry-grid { gap: 18px !important; }
  body.home-page .quick-enquiry-info {
    padding: 24px 20px !important;
    border-radius: 18px !important;
  }
  body.home-page .quick-enquiry-info h2 {
    font-size: clamp(27px, 7vw, 34px) !important;
    line-height: 1.2 !important;
    margin: 12px 0 14px !important;
  }
  body.home-page .quick-enquiry-desc {
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin-bottom: 22px !important;
  }
  body.home-page .quick-enquiry-details { gap: 16px !important; }
  body.home-page .quick-enquiry-form-wrap {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }
  body.home-page .quick-enquiry-form-wrap .qe-field { margin-bottom: 16px !important; gap: 7px !important; }
  body.home-page .quick-enquiry-form-wrap .qe-field input,
  body.home-page .quick-enquiry-form-wrap .qe-field textarea {
    padding: 13px 14px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
  }
  body.home-page .quick-enquiry-form-wrap .qe-submit-btn {
    padding: 14px !important;
    font-size: 15px !important;
  }
}


/* ------------------------------------------------------------------
   GLOBAL PROSE ALIGNMENT
   Keep long-form explanatory paragraphs evenly aligned on both edges.
   Do not affect headings, navigation, buttons, form controls or labels.
   ------------------------------------------------------------------ */
main p,
article p,
.about-content p,
.about-split-copy p,
.legacy-text p,
.leader-row-content p,
.about-statement p,
.about-lede,
.jv-intro p,
.pm-card p,
.pm-section p,
.pm-content p,
.pm-guide-section p,
.pm-update-section p,
.service-item p,
.pmf-tool p,
.insight-card p,
.insight-content p,
.property-card p,
.why-item p,
.bsl-card p,
.list-hero .hero-description {
    text-align: justify;
    text-justify: inter-word;
    text-align-last: auto;
}

/* Keep short closing statements and compact labels naturally aligned. */
.about-closing,
.about-closing p,
.service-item h3,
.pmf-tool h3,
.insight-card h3,
.property-card h3 {
    text-align: initial;
}


/* ------------------------------------------------------------------
   MOBILE LAYOUT / READABILITY AUDIT — shared safe defaults
   Long-form copy is justified; short card copy remains left-aligned so
   narrow screens do not create stretched gaps between words.
   ------------------------------------------------------------------ */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
img, video, canvas, svg { max-width: 100%; }
@media (max-width: 768px) {
  body { overflow-wrap: break-word; }
  main, article, section { min-width: 0; }
  main p, article p,
  .about-content p, .about-split-copy p, .legacy-text p,
  .leader-row-content p, .about-statement p, .about-lede,
  .jv-intro p, .pm-entry > p, .pm-article p,
  .pm-guide-copy p, .pm-update-copy p, .legal-content p,
  .policy-content p, .terms-content p, .privacy-content p,
  .article-body p, .insight-article p, .long-form-content p {
    font-size: clamp(14px, 3.8vw, 16px);
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: left;
    overflow-wrap: anywhere;
  }
  /* Compact descriptions and UI copy should not be stretched across the row. */
  .property-card p, .service-item p, .pm-card p, .pmf-tool p,
  .insight-card p, .bsl-card p, .why-item p,
  .footer p, .site-footer p, .ft-col p,
  .avx-ai-message, .avx-ai-note,
  .quick-enquiry-desc, .qe-detail p,
  .form-group p, .form-hint, .field-hint {
    text-align: left;
    text-align-last: auto;
    overflow-wrap: anywhere;
  }
  /* Keep controls usable on narrow devices without forcing the page wider. */
  input, select, textarea, button { max-width: 100%; }
  pre, code { overflow-wrap: anywhere; }
  table { max-width: 100%; }
}


/* Mobile typography refinement: natural left alignment avoids stretched word gaps. */
@media (max-width: 768px) {
  /* Ramsar update cards and guide content */
  .pm-entry > p,
  .pm-entry .pm-change dd,
  .pm-entry .pm-flags li,
  .pm-layout p,
  .pm-guide-section p,
  .pm-content p,
  .pm-update-section p {
    text-align: left !important;
    text-align-last: auto !important;
    text-justify: auto !important;
    word-spacing: normal !important;
    letter-spacing: normal;
    overflow-wrap: break-word;
    line-height: 1.65;
  }

  /* Homepage founder / leadership descriptions */
  .leader-row-content,
  .leader-row-content p,
  .about-content p,
  .about-split-copy p,
  .legacy-text p,
  .about-statement p {
    text-align: left !important;
    text-align-last: auto !important;
    text-justify: auto !important;
    word-spacing: normal !important;
    letter-spacing: normal;
    overflow-wrap: break-word;
    line-height: 1.65;
  }

  .leader-row-content p {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}


/* Final mobile edge alignment: long profile paragraphs should form clean left/right edges. */
@media (max-width: 768px) {
  .leader-row-content p,
  .about-content p,
  .about-split-copy p,
  .legacy-text p,
  .about-statement p,
  .pm-entry > p,
  .pm-layout p,
  .pm-guide-section p,
  .pm-content p,
  .pm-update-section p {
    text-align: justify !important;
    text-align-last: left !important;
    text-justify: inter-word !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    line-height: 1.65 !important;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* Removed site-wide: the right-edge section progress dots are no longer needed. */
.section-scroll-indicator,
html.is-mobile .section-scroll-indicator,
.ssi-segment { display:none !important; }

/* Center the homepage leadership profile CTA buttons on mobile. */
@media (max-width: 768px) {
  html.is-mobile .leadership-rows .leader-row-content .leader-cta {
    display: table;
    width: fit-content;
    max-width: 100%;
    margin: 4px auto 0;
    box-sizing: border-box;
    text-align: center;
  }
}

/* Center founder / co-founder eyebrow labels and names on mobile. */
@media (max-width: 768px) {
  html.is-mobile .leadership-rows .leader-row-content .leader-eyebrow,
  html.is-mobile .leadership-rows .leader-row-content h3,
  html.is-mobile .leadership-rows .leader-row-content h4 {
    text-align: center !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  html.is-mobile .leadership-rows .leader-row-content h4 {
    color: #171717 !important;
    font-weight: 600 !important;
  }

  /* Keep the registration number directly below the co-founder role,
     centered and high-contrast without changing the biography text. */
  html.is-mobile .leadership-rows .leader-row-content h4 + p {
    text-align: center !important;
    color: #171717 !important;
    font-weight: 500 !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Mobile co-founder registration: directly below name, centered and dark. */
@media (max-width: 768px) {
  html.is-mobile #leadership .leader-row-content .leader-rera,
  #leadership .leader-row-content .leader-rera {
    display: block !important;
    width: 100% !important;
    margin: 8px auto 10px !important;
    padding: 0 !important;
    text-align: center !important;
    color: #111111 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
  }
}



/* Only the RERA registration line: force mobile/desktop center and green. */
html.is-mobile .profile-container p.profile-rera,
.profile-container p.profile-rera{
  text-align:center !important;
  color:#0F3B2E !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.profile-container p.profile-rera strong{
  color:#0F3B2E !important;
}


/* FINAL OVERRIDE: homepage co-founder RERA line (must remain after legacy mobile rules). */
html.is-mobile #leadership .leader-row-content p.leader-rera,
#leadership .leader-row-content p.leader-rera,
html.is-mobile .leadership-rows .leader-row-content p.leader-rera {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 8px auto 10px !important;
  padding: 0 !important;
  color: #0f7a45 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  text-indent: 0 !important;
  box-sizing: border-box !important;
}


/* FINAL CMS-SAFE RERA OVERRIDE: target the field itself, even if CMS changes its class. */
#leadership .leader-row-content [data-cms-f="rera"],
#leadership .leader-row-content p.leader-rera,
.leadership-rows .leader-row-content [data-cms-f="rera"],
html.is-mobile #leadership .leader-row-content [data-cms-f="rera"] {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 8px auto 10px !important;
  padding: 0 !important;
  color: #064e3b !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  text-align-last: center !important;
  text-indent: 0 !important;
  box-sizing: border-box !important;
}


/* Tighten only the role-to-RERA spacing on the homepage leadership card. */
@media (max-width: 768px) {
  #leadership .leader-row-content h4[data-cms-f="role"] {
    margin-bottom: 5px !important;
  }
  #leadership .leader-row-content h4[data-cms-f="role"] + p[data-cms-f="rera"],
  #leadership .leader-row-content p.leader-rera {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
  }
}

/* Desktop only: place the registration number immediately below the role.
   Mobile order and styling are intentionally left unchanged. */
@media (min-width: 769px) {
  html:not(.is-mobile) #leadership .leader-row-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  html:not(.is-mobile) #leadership .leader-row-content > .leader-eyebrow { order: 1; }
  html:not(.is-mobile) #leadership .leader-row-content > h3 { order: 2; }
  html:not(.is-mobile) #leadership .leader-row-content > h4[data-cms-f="role"] { order: 3; }
  html:not(.is-mobile) #leadership .leader-row-content > p.leader-rera { order: 4; }
  html:not(.is-mobile) #leadership .leader-row-content > p[data-cms-f="bio"] { order: 5; }
  html:not(.is-mobile) #leadership .leader-row-content > .leader-cta { order: 6; }
}

/* FINAL MOBILE/TABLET FIX: center Sanjay Gandhi L's RERA line directly
   under the designation. Keep desktop styles unchanged. The wider breakpoint
   covers responsive layouts used by this page before the phone-width breakpoint. */
@media (max-width: 991px) {
  .leader-row-content h4[data-cms-f="role"] + p[data-cms-f="rera"],
  .leader-row-content p.leader-rera[data-cms-f="rera"] {
    display: block !important;
    float: none !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 14px !important;
    padding: 0 !important;
    text-align: center !important;
    text-align-last: center !important;
    text-indent: 0 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    color: #064B37 !important;
    box-sizing: border-box !important;
  }
}


/* VERIFIED FINAL MOBILE RERA ALIGNMENT: keep desktop rules unchanged. */
@media screen and (max-width: 1100px) {
  html body #leadership .leader-row .leader-row-content h4[data-cms-f="role"] {
    text-align: center !important;
  }
  html body #leadership .leader-row .leader-row-content h4[data-cms-f="role"] + p[data-cms-f="rera"],
  html body #leadership .leader-row .leader-row-content p.leader-rera {
    display: block !important; float: none !important; position: static !important;
    width: 100% !important; max-width: 100% !important;
    margin: 0 auto 14px !important; padding: 0 !important;
    text-align: center !important; text-align-last: center !important; text-indent: 0 !important;
    color: #064B37 !important; font-size: 12.5px !important; font-weight: 500 !important;
    line-height: 1.5 !important; box-sizing: border-box !important;
  }
}


/* Aventrix symbol integration: preserve the existing wordmark and header layout. */
.avx-logo-with-symbol{display:flex;align-items:center;gap:10px;}
.avx-logo-with-symbol .avx-brand-symbol{display:block;width:44px;height:44px;object-fit:contain;flex:0 0 44px;}
@media (max-width: 767px){.avx-logo-with-symbol{gap:7px;}.avx-logo-with-symbol .avx-brand-symbol{width:34px;height:34px;flex-basis:34px;}}


/* FINAL MOBILE NAV FIX — explicitly reveal submenu links in the open drawer.
   These scoped !important declarations override legacy page-level dropdown
   rules without changing desktop menu styling. */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
    html.is-mobile .main-nav .aventrix-tools-dropdown.open > .aventrix-tools-menu,
    html.is-mobile .main-nav .dropdown.open > .dropdown-content {
        display: flex !important;
        flex-direction: column !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        position: static !important;
        width: 100% !important;
        padding: 0 0 0 14px !important;
        margin: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
        z-index: 10002 !important;
    }
    html.is-mobile .main-nav .aventrix-tools-dropdown.open > .aventrix-tools-menu > a,
    html.is-mobile .main-nav .dropdown.open > .dropdown-content > a {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        max-height: none !important;
        color: #111 !important;
        background: #fff !important;
        padding: 13px 22px !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        text-indent: 0 !important;
        transform: none !important;
    }
}


/* Mobile UX update: avoid duplicating Post Property in the hero and bottom bar.
   The bottom-bar center action is now Account instead of the plus button. */
@media (max-width: 768px) {
    .home-app-hero-post-btn {
        display: none !important;
    }
    .home-app-bottom-nav .home-app-nav-account {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .home-app-bottom-nav .home-app-nav-account > i {
        font-size: 20px;
        line-height: 1;
    }
    .home-app-bottom-nav .home-app-nav-account > span {
        display: block;
        font-size: 10px;
        line-height: 1.2;
        margin-top: 4px;
    }
}


/* Properties page only: keep sale/lease labels compact over listing images. */
#sfResultsGrid .property-card .property-badge {
  width: auto !important;
  min-width: 0 !important;
  max-width: 190px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 7px 12px !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  letter-spacing: .3px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}
@media (max-width: 640px) {
  #sfResultsGrid .property-card .property-badge {
    max-width: 190px !important;
    padding: 7px 12px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    letter-spacing: .3px !important;
  }
}

/* Profile pages: prevent stretched word spacing in long bios on mobile.
   Keep profile headings centered, but make body copy naturally left-aligned. */
@media (max-width: 768px) {
  html.is-mobile .profile-container p,
  html.is-mobile .profile-container [data-realtor-about] p,
  html.is-mobile .profile-container [data-cms-section] p {
    text-align: left !important;
    text-align-last: left !important;
    text-justify: auto !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    hyphens: none !important;
    overflow-wrap: break-word;
    line-height: 1.7 !important;
  }
}

/* Founder profile only: keep biography text evenly aligned to both edges on mobile.
   Sanjay Gandhi's co-founder profile retains its existing alignment. */
@media (max-width: 768px) {
  html.is-mobile body[data-page-key="gnanasekaran"] .profile-container p,
  html.is-mobile body[data-page-key="gnanasekaran"] .profile-container [data-realtor-about] p,
  html.is-mobile body[data-page-key="gnanasekaran"] .profile-container [data-cms-section] p {
    text-align: justify !important;
    text-align-last: auto !important;
    text-justify: inter-word !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    overflow-wrap: break-word;
    line-height: 1.7 !important;
  }
}


/* Homepage mobile: match the founder biography alignment to the co-founder profile.
   Only the founder paragraph is targeted; the co-founder paragraph is untouched. */
@media (max-width: 768px) {
  html.is-mobile #leadership .leadership-rows > .leader-row:first-child .leader-row-content > p[data-cms-f="bio"] {
    text-align: justify !important;
    text-align-last: left !important;
    text-justify: inter-word !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    line-height: 1.65 !important;
    overflow-wrap: break-word;
    hyphens: none !important;
  }
}


/* Homepage leadership bios: non-English scripts must not be justified,
   because Tamil/Indic glyph spacing expands unnaturally on narrow screens.
   English typography is intentionally left unchanged. */
@media (max-width: 768px) {
  html[lang="ta"] #leadership .leader-row-content > p[data-cms-f="bio"],
  html[lang="hi"] #leadership .leader-row-content > p[data-cms-f="bio"],
  html[lang="te"] #leadership .leader-row-content > p[data-cms-f="bio"],
  html[lang="kn"] #leadership .leader-row-content > p[data-cms-f="bio"],
  html[lang="ml"] #leadership .leader-row-content > p[data-cms-f="bio"] {
    text-align: left !important;
    text-align-last: left !important;
    text-justify: auto !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    line-height: 1.7 !important;
    hyphens: none !important;
    overflow-wrap: break-word;
  }
}
