/* IQI Chennai – site styles (Bootstrap 5.3 + brand layer) */
:root {
  --brand: #D94E1B;
  --brand-dark: #a93200;
  --brand-soft: #fdf1ec;
  --navy: #0F172A;
  --navy-2: #1E293B;
  --ink: #0F172A;
  --muted: #475569;
  --canvas: #F8FAFC;
  --sand: #FDF8F0;
  --line: #E2E8F0;
  --ok: #059669;
  --wa: #128C4A;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-body-color: var(--ink);
  --bs-link-color-rgb: 169, 50, 0;
  --bs-link-hover-color-rgb: 217, 78, 27;
}
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--bs-body-font-family); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, .h3 { font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.15rem; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.narrow { max-width: 820px; }

/* Buttons */
.btn { font-weight: 700; border-radius: 999px; padding: .6rem 1.25rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.btn-lg { padding: .8rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .4rem .9rem; font-size: .85rem; }
.btn-brand { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline-brand { color: var(--brand-dark); border: 1.5px solid var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-whatsapp { background: var(--wa); color: #fff; border: 1px solid var(--wa); }
.btn-whatsapp:hover { background: #0e7a40; color: #fff; }
.btn-call { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.btn-call:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-light { color: var(--brand-dark); }
.link-arrow { font-weight: 700; color: var(--brand-dark); text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.link-arrow:hover .bi { transform: translateX(3px); }
.link-arrow .bi { transition: transform .2s; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(15, 23, 42, .08); }
.site-header .navbar { min-height: 76px; }
.navbar-brand img { height: 52px; width: auto; }
.site-header .nav-link { font-weight: 600; color: var(--ink); padding: .5rem 1rem !important; position: relative; }
.site-header .nav-link:hover { color: var(--brand-dark); }
.site-header .nav-link.active { color: var(--brand-dark); }
.site-header .nav-link.active::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: 0; height: 2px; border-radius: 2px; background: var(--brand); }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 1.5rem; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.mobile-menu { max-width: 320px; }
.mobile-menu .offcanvas-header img { height: 44px; width: auto; }
.mobile-links { display: flex; flex-direction: column; }
.mobile-links a { padding: .9rem .25rem; font-size: 1.15rem; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-links a.active { color: var(--brand-dark); }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-sm { padding: 40px 0; }
.section--tint { background: var(--canvas); }
.section--dark { background: var(--navy); color: #cbd5e1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.text-center { margin-inline: auto; }
.section-head p:last-child { color: var(--muted); margin: 0; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.section-head--split h2 { margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--brand-dark); margin-bottom: .6rem; }
.eyebrow--light { color: #fdba8c; }
.lead-sm { font-size: 1.08rem; color: var(--muted); }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg, .page-hero__bg { position: absolute; inset: 0; }
.hero__bg img, .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 23, 42, .88) 0%, rgba(15, 23, 42, .62) 55%, rgba(15, 23, 42, .25) 100%); }
.hero .container { position: relative; }
.hero__inner { padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 8vw, 96px); max-width: 860px; }
.hero h1 { color: #fff; }
.hero .lead { color: #e2e8f0; font-size: 1.15rem; max-width: 620px; margin-bottom: 2rem; }
.search-box { background: #fff; border-radius: 20px; padding: 10px; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 6px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.search-box > div { padding: 8px 14px; border-right: 1px solid var(--line); }
.search-box > div:nth-child(3) { border-right: 0; }
.search-box label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.search-box select { width: 100%; border: 0; background: transparent; font-weight: 700; color: var(--ink); padding: 2px 0; font-size: 1rem; }
.search-box select:focus { outline: none; }
.search-box > div:focus-within { background: var(--canvas); border-radius: 12px; }
.search-box .btn { border-radius: 14px; }

/* Page hero */
.page-hero { background: var(--sand); padding: 48px 0 56px; position: relative; overflow: hidden; }
.page-hero .lead { color: var(--muted); max-width: 720px; margin: 0; }
.page-hero--image { color: #fff; background: var(--navy); padding: 64px 0 72px; }
.page-hero--image .page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 23, 42, .9), rgba(15, 23, 42, .55)); }
.page-hero--image .container { position: relative; }
.page-hero--image h1 { color: #fff; }
.page-hero--image .lead { color: #e2e8f0; }
.page-hero--image .eyebrow { color: #fdba8c; }
.page-hero--image .crumbs, .page-hero--image .crumbs a { color: #cbd5e1; }
.page-hero--post time { color: var(--muted); font-weight: 600; display: block; margin-bottom: .5rem; }
.page-hero--post { padding-bottom: 40px; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 1.25rem; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: .35rem; opacity: .6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-dark); text-decoration: underline; }
.crumbs [aria-current] { color: inherit; font-weight: 600; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; white-space: nowrap; }

/* State cards */
.state-card { position: relative; display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 10; color: #fff; text-decoration: none; }
.state-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.state-card:hover img { transform: scale(1.04); }
.state-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 23, 42, .9) 0%, rgba(15, 23, 42, .2) 60%, transparent 100%); }
.state-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 4vw, 32px); z-index: 1; }
.state-card h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .25rem; }
.state-card p { margin-bottom: .6rem; color: #e2e8f0; }
.state-card .link-arrow { color: #fff; }

/* Listing cards */
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.listing-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.listing-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.listing-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.listing-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.listing-card:hover .listing-card__media img { transform: scale(1.05); }
.tag { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .95); color: var(--ok); font-size: .74rem; font-weight: 800; padding: .3rem .7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.listing-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.listing-card__meta { display: flex; gap: .5rem; margin-bottom: .4rem; }
.listing-card__meta span { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-dark); background: var(--brand-soft); padding: .2rem .55rem; border-radius: 6px; }
.listing-card__meta span + span { color: var(--ok); background: #ecfdf5; }
.listing-card h3 { margin-bottom: .2rem; }
.listing-card h3 a { color: inherit; text-decoration: none; }
.listing-card h3 a:hover { color: var(--brand-dark); }
.listing-card__loc { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.specs { list-style: none; padding: 12px 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs li { min-width: 0; }
.specs small { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.specs b { font-size: .85rem; display: block; }
.listing-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { margin: 0; font-weight: 800; font-size: 1.3rem; color: var(--brand-dark); line-height: 1.1; }
.price small { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.price--lg { font-size: 2rem; }

/* Filters */
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.filters__search { position: relative; }
.filters__search .bi { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filters input, .filters .form-select { height: 50px; border-radius: 12px; border: 1px solid var(--line); }
.filters input { width: 100%; padding: 0 14px 0 40px; }
.filters input:focus, .filters .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(217, 78, 27, .15); outline: none; }
.results-count { color: var(--muted); margin-bottom: 24px; }
.empty { text-align: center; padding: 48px 16px; border: 1px dashed var(--line); border-radius: var(--radius); }

/* Features & steps */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { background: var(--navy-2); border-radius: var(--radius); padding: 26px; border: 1px solid rgba(255, 255, 255, .06); }
.steps__no { font-size: 2.4rem; font-weight: 800; color: var(--brand); line-height: 1; display: block; margin-bottom: 12px; }
.steps p { margin: 0; color: #94a3b8; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card time { font-size: .82rem; color: var(--muted); font-weight: 600; }
.post-card h3 { margin: .4rem 0 .6rem; line-height: 1.3; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--brand-dark); }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card .link-arrow { margin-top: auto; }
.post-cover { border-radius: 20px; overflow: hidden; margin-bottom: 40px; aspect-ratio: 16 / 9; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.08rem; line-height: 1.75; color: #1e293b; }
.prose h2 { font-size: 1.5rem; margin: 2.2rem 0 .8rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.post-cta { margin-top: 40px; padding: 24px; border-radius: var(--radius); background: var(--sand); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.post-cta p { margin: 0; }

/* FAQ */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: 10px; overflow: hidden; }
.faq .accordion-button { font-weight: 700; color: var(--ink); background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--brand-dark); background: #fff; }
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(217, 78, 27, .2); }
.faq .accordion-body { color: var(--muted); padding-top: 0; }

/* Enquiry / contact */
.enquiry { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.enquiry .form-label { font-weight: 600; font-size: .9rem; }
.enquiry .form-control, .enquiry .form-select { border-radius: 10px; padding: .7rem .9rem; border-color: var(--line); }
.enquiry .form-control:focus, .enquiry .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(217, 78, 27, .15); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #ecfdf5; color: #065f46; font-weight: 600; }
.form-status.is-error { background: #fef2f2; color: #991b1b; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 12px; }
.contact-list li, .footer-contact li { display: flex; gap: 12px; align-items: center; }
.contact-list .bi { width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--brand-dark); flex: none; }
.contact-list a { color: var(--ink); font-weight: 700; text-decoration: none; word-break: break-word; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.contact-card > span { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; flex: none; }
.contact-card > span.is-wa { background: #e8f7ee; color: var(--wa); }
.contact-card small { display: block; color: var(--muted); font-weight: 600; }
.contact-card b { word-break: break-word; }
.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; min-height: 320px; }
.map--sm { aspect-ratio: 16 / 8; min-height: 260px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* About */
.about-media { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: var(--ok); font-size: 1.2rem; line-height: 1.3; }
.ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Property detail */
.property-hero { padding: 40px 0 28px; }
.property-hero h1 { margin-bottom: .4rem; }
.property-hero__addr { color: var(--muted); margin: 0; }
.property-media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--line); }
.property-media img { width: 100%; height: 100%; object-fit: cover; }
.spec-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.spec-grid li { background: var(--canvas); border: 1px solid var(--line); border-radius: 14px; padding: 16px; min-width: 0; }
.spec-grid small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.spec-grid b { font-size: 1.05rem; }
.sticky-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.quick-actions { display: grid; gap: 10px; }
.sticky-aside .enquiry .col-sm-6 { width: 100%; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .4rem; }
.cta-band p { margin: 0; color: #ffe4d6; }
.cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy); color: #94a3b8; padding: 72px 0 28px; font-size: .95rem; }
.footer-logo { height: 64px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; margin-bottom: 16px; }
.site-footer h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact .bi { color: var(--brand); }
.footer-contact a, .footer-contact span { word-break: break-word; }
/* Social media icons (footer + Contact Us) */
.social-links { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .social-links { display: flex; margin-top: 20px; gap: 10px; }
.social-links a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, color .2s, transform .2s, border-color .2s; }
.site-footer .social-links a:hover, .social-links a:hover, .social-links a:focus-visible { background: var(--brand); border-color: var(--brand); color: #fff; text-decoration: none; transform: translateY(-2px); }
.social-links--light { margin-top: 10px; }
.social-links--light a { background: var(--brand-soft); color: var(--brand-dark); border-color: transparent; }
.contact-social { margin-top: 24px; }
.contact-social h2 { margin: 0; font-weight: 700; color: var(--ink); }
.footer-note { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; color: #64748b; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; font-size: .85rem; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 10px 24px rgba(18, 140, 74, .35); z-index: 1020; transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* Responsive */
@media (max-width: 1199.98px) {
  .listing-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .search-box { grid-template-columns: 1fr 1fr; }
  .search-box > div { border-right: 0; }
  .search-box .btn { grid-column: 1 / -1; }
  .features--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: 1fr 1fr 1fr; }
  .filters__search { grid-column: 1 / -1; }
  .sticky-aside { position: static; }
  .sticky-aside .enquiry .col-sm-6 { width: 50%; }
  .property-media { aspect-ratio: 16 / 9; }
  .map { aspect-ratio: 4 / 3; }
}
@media (max-width: 767.98px) {
  .listing-grid, .post-grid, .post-grid--2, .features, .features--3, .steps { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticks--2 { grid-template-columns: 1fr; }
  .site-header .navbar { min-height: 64px; }
  .navbar-brand img { height: 42px; }
  .state-card { aspect-ratio: 4 / 3; }
  .sticky-aside .enquiry .col-sm-6 { width: 100%; }
}
@media (max-width: 575.98px) {
  .search-box { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  .price--lg { font-size: 1.6rem; }
  .cta-band__btns, .cta-band__btns .btn { width: 100%; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}
@media (max-width: 767.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2.5rem; }
}
@media (max-width: 991.98px) {
  .map, .map--sm { aspect-ratio: auto; min-height: 0; height: 340px; }
}
.spec-grid b, .specs b, .listing-card h3, .crumbs [aria-current] { overflow-wrap: anywhere; }

/* Projects dropdown */
.site-header .dropdown-menu { border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); min-width: 250px; margin-top: 8px; }
.site-header .dropdown-item { border-radius: 10px; padding: .65rem .8rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; color: var(--ink); }
.site-header .dropdown-item .bi { color: var(--brand); }
.site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background: var(--brand-soft); color: var(--brand-dark); }
.site-header .dropdown-item.active { background: var(--brand-soft); color: var(--brand-dark); }
.dropdown-count { margin-left: auto; font-size: .75rem; font-weight: 800; background: var(--canvas); border: 1px solid var(--line); border-radius: 999px; padding: .05rem .5rem; color: var(--muted); }
.site-header .nav-link.dropdown-toggle.active::after { content: ''; border: 0; position: absolute; left: 1rem; right: 1rem; bottom: 0; height: 2px; border-radius: 2px; background: var(--brand); margin: 0; }
@media (min-width: 992px) and (hover: hover) {
  .site-header .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  .site-header .dropdown > .dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
}
.mobile-group { border-bottom: 1px solid var(--line); padding: .9rem .25rem .5rem; }
.mobile-group__label { font-size: 1.15rem; font-weight: 700; color: var(--ink); display: block; margin-bottom: .3rem; }
.mobile-group__label.active { color: var(--brand-dark); }
.mobile-links a.mobile-sub { font-size: 1rem; font-weight: 600; padding: .55rem .25rem .55rem 1rem; border-bottom: 0; border-left: 2px solid var(--line); color: var(--muted); }
.mobile-links a.mobile-sub.active { color: var(--brand-dark); border-left-color: var(--brand); }
.mobile-group { display: flex; flex-direction: column; }

/* About page – company profile sections */
.about-office { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-weight: 600; margin-top: 1.25rem; }
.about-office .bi { color: var(--brand); font-size: 1.15rem; line-height: 1.4; }
.about-stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: center; }
.about-stats b { display: block; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.02em; }
.about-stats span { display: block; margin-top: 6px; color: #94a3b8; font-size: .92rem; }
.group-card { display: flex; flex-direction: column; }
.group-card__kicker { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 800; color: var(--brand-dark) !important; margin: 0 0 .35rem !important; }
.group-card > p + p, .group-card .ticks { margin-top: .9rem; }
.ticks--sm { gap: 8px; font-size: .93rem; }
.ticks--sm li { padding-left: 26px; }
.ticks--sm li::before { font-size: 1rem; line-height: 1.45; }
.features--center { display: flex; flex-wrap: wrap; justify-content: center; }
.features--center > .feature { flex: 0 1 calc((100% - 32px) / 3); }
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.mv-card__text { font-size: 1.08rem; line-height: 1.65; margin: 0; color: var(--ink); }
@media (max-width: 991.98px) {
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features--center > .feature { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 767.98px) {
  .mv-grid { grid-template-columns: 1fr; }
  .features--center > .feature { flex-basis: 100%; }
}

/* Management team – photo cards (About) and profile rows (management.html) */
.person-photo { display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, var(--brand-soft), #f7e2d8); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.person-photo--initials { display: flex; align-items: center; justify-content: center; color: var(--brand-dark); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: .02em; }
.mgmt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.mgmt-card { display: block; text-align: center; text-decoration: none; color: var(--ink); }
.mgmt-card .person-photo { margin-bottom: 16px; box-shadow: var(--shadow); transition: transform .25s; }
.mgmt-card:hover .person-photo { transform: translateY(-4px); }
.mgmt-card h3 { margin: 0; font-size: 1.12rem; }
.mgmt-card__role { margin: 4px 0 0; color: var(--brand-dark); font-weight: 700; font-size: .92rem; }
.mgmt-list { display: grid; gap: 56px; }
.mgmt-row { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: center; scroll-margin-top: 110px; }
.mgmt-row--alt { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
.mgmt-row--alt .mgmt-row__media { order: 2; }
.mgmt-row__body p:not(.eyebrow) { color: var(--muted); }
.mgmt-row__body .mgmt-row__mission { margin: 4px 0 18px; padding: 4px 0 4px 16px; border-left: 3px solid var(--brand); color: var(--ink); font-size: 1.08rem; font-weight: 600; font-style: italic; line-height: 1.55; }
@media (max-width: 991.98px) {
  .mgmt-grid { gap: 16px; }
  .mgmt-row, .mgmt-row--alt { grid-template-columns: 1fr; gap: 24px; }
  .mgmt-row--alt .mgmt-row__media { order: 0; }
  .mgmt-row__media { max-width: 320px; }
}
@media (max-width: 575.98px) {
  .mgmt-grid { grid-template-columns: 1fr; max-width: 320px; }
}

/* Developer partners (About page) */
.partner-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.partner-list li { flex: 0 1 calc((100% - 24px) / 3); }
.partner-list li { display: flex; align-items: center; justify-content: center; height: 112px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.partner-list img { display: block; width: auto; height: auto; max-width: 100%; max-height: 80px; object-fit: contain; }
@media (min-width: 992px) { .partner-list li { flex-basis: calc((100% - 36px) / 4); } }
@media (max-width: 575.98px) { .partner-list { gap: 10px; } .partner-list li { flex-basis: calc((100% - 10px) / 2); height: 92px; padding: 10px 12px; } .partner-list img { max-height: 64px; } }
/* Compact logo grid (home page): 6 / 4 / 3 per row */
.partner-list--compact { max-width: 1120px; gap: 10px; }
.partner-list--compact li { flex-basis: calc((100% - 30px) / 4); height: 88px; padding: 10px 14px; }
.partner-list--compact img { max-height: 60px; }
@media (min-width: 992px) { .partner-list--compact li { flex-basis: calc((100% - 50px) / 6); } }
@media (max-width: 575.98px) { .partner-list--compact li { flex-basis: calc((100% - 20px) / 3); height: 72px; padding: 8px; } .partner-list--compact img { max-height: 48px; } }
