/* ==========================================================================
   PropBucks Realty — public website design system
   One stylesheet for every public page. Motion lives in Scripts/site-effects.js
   ========================================================================== */

:root {
    --bg: #050b09;
    --bg-2: #08130f;
    --bg-3: #0d1c16;
    --panel: rgba(255, 255, 255, 0.035);
    --panel-2: rgba(255, 255, 255, 0.065);
    --line: rgba(255, 255, 255, 0.09);
    --line-gold: rgba(215, 168, 79, 0.3);

    --gold: #d7a84f;
    --gold-2: #f3d894;
    --gold-3: #a87a2a;
    --text: #f5f2ea;
    --text-2: #c5d0ca;
    --muted: #8fa199;
    --white: #ffffff;
    --dark: #06100c;
    --ok: #31d66b;
    --err: #ff6b5e;

    --display: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --body: "Manrope", "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

    --r: 22px;
    --r-sm: 12px;
    --wrap: 1240px;
    --pad: clamp(20px, 5vw, 64px);
    --gutter: max(var(--pad), calc((100% - var(--wrap)) / 2));
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

    --i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    --i-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E");
    --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    /* soft ambient light behind the whole page */
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(900px 600px at 85% -10%, rgba(215, 168, 79, 0.10), transparent 60%),
        radial-gradient(800px 700px at -10% 40%, rgba(22, 92, 66, 0.28), transparent 60%),
        var(--bg);
}

h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; text-wrap: balance; }
h3, h4 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
p { color: var(--text-2); }

::selection { background: var(--gold); color: var(--dark); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Scroll progress + cursor glow ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--scroll, 0)); background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); }
.reading-progress { display: none; }

.cursor-glow {
    position: fixed;
    left: 0;
    top: 0;
    width: 520px;
    height: 520px;
    margin: -260px 0 0 -260px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(closest-side, rgba(215, 168, 79, 0.09), transparent 70%);
    transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0);
    mix-blend-mode: screen;
}

/* ---------- Header / navigation ---------- */
.site-header {
    position: fixed;
    inset: 14px 0 auto 0;
    z-index: 100;
    padding: 0 var(--pad);
    transition: transform 0.5s var(--ease), inset 0.3s var(--ease);
}

.site-header.is-hidden { transform: translateY(-140%); }

.main-navbar {
    max-width: 1320px;
    margin: 0 auto;
    height: 68px;
    padding: 0 14px 0 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(6, 16, 12, 0.55);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    transition: background 0.3s, border-color 0.3s, height 0.3s var(--ease);
}

.site-header.is-scrolled .main-navbar { height: 60px; background: rgba(6, 16, 12, 0.86); border-color: var(--line-gold); }

.brand-logo { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo img { height: 40px; width: auto; }

.nav-menu { display: flex; align-items: center; justify-content: center; gap: 2px; flex: 1; }
.nav-menu > li { position: relative; }

.nav-menu > li > a,
.nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-2);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}

.nav-menu > li > a:hover,
.nav-trigger:hover,
.nav-dropdown:hover > .nav-trigger,
.nav-dropdown.open > .nav-trigger { color: var(--white); background: rgba(255, 255, 255, 0.07); }

.nav-menu [aria-current="page"],
.nav-trigger.is-current { color: var(--gold-2); }

.nav-trigger svg { width: 10px; height: 10px; transition: transform 0.3s var(--ease); }
.nav-dropdown:hover > .nav-trigger svg,
.nav-dropdown.open > .nav-trigger svg { transform: rotate(180deg); }

.dropdown-list {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: 290px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 19, 15, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px) rotateX(-12deg);
    transform-origin: 50% 0;
    transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
}

.dropdown-list::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; }

.nav-dropdown:hover > .dropdown-list,
.nav-dropdown:focus-within > .dropdown-list,
.nav-dropdown.open > .dropdown-list { opacity: 1; visibility: visible; transform: translate(-50%, 0) rotateX(0); }

.dropdown-list a { display: block; padding: 11px 14px; border-radius: 12px; transition: background 0.2s; }
.dropdown-list a:hover { background: rgba(215, 168, 79, 0.1); }
.dropdown-list strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--text); }
.dropdown-list small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.dropdown-list a:hover strong { color: var(--gold-2); }

.consult-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3));
    color: var(--dark);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.consult-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(215, 168, 79, 0.35); }
.nav-cta-mobile { display: none; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Shared section rhythm + headings ---------- */
main > section,
body > section,
.recommended-section { position: relative; padding: clamp(72px, 9vw, 132px) var(--gutter); }

.section-heading, .services-header, .builders-heading, .popular-search-head, .contact-section-heading,
.featured-heading, .section-head, .section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
    text-align: center;
}

.featured-heading, .section-head, .section-header { flex-direction: column; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); }

.section-heading > span, .builders-heading > span, .popular-search-head > span, .contact-section-heading > span,
.services-header .line, .about-tag > span {
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.section-heading > span:last-child, .builders-heading > span:last-child, .popular-search-head > span:last-child,
.contact-section-heading > span:last-child, .services-header .line:last-child { transform: scaleX(-1); }

.section-heading p, .services-header p, .builders-heading p, .popular-search-head p, .contact-section-heading p,
.section-tag, .featured-heading > span, .about-tag, .about-tag p, .profile-tag, .tagline, .banner-tag, .category-tag, .category-text {
    color: var(--gold);
    font-family: var(--body);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1.4;
}

main > section > h2, .services-title, .contact-main-title, .featured-heading h2, .section-head h2, .section-header h2,
.careers-container > h2 {
    font-size: clamp(30px, 4.3vw, 58px);
    text-align: center;
    max-width: 24ch;
    margin: 0 auto clamp(36px, 4.5vw, 64px);
}

.featured-heading h2, .section-head h2, .section-header h2 { margin-bottom: 0; }
.section-header p { max-width: 62ch; }

h2 span, h1 span, .highlight-role {
    background: linear-gradient(120deg, var(--gold-2), var(--gold) 60%, var(--gold-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
}

/* ---------- Buttons ---------- */
.banner-btn, .about-btn, .consulting-btn, .gold-btn, .submit-btn, .submit-app-btn, .apply-btn, .primary-btn,
.property-actions .details-btn, .btn-details, .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3));
    color: var(--dark);
    font-family: var(--body);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.banner-btn::after, .about-btn::after, .consulting-btn::after, .gold-btn::after, .submit-btn::after, .submit-app-btn::after,
.apply-btn::after, .primary-btn::after, .property-actions .details-btn::after, .btn-details::after, .cta-btn::after, .consult-btn::after {
    /* light sweep on hover */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease);
}

.banner-btn:hover, .about-btn:hover, .consulting-btn:hover, .gold-btn:hover, .submit-btn:hover, .submit-app-btn:hover,
.apply-btn:hover, .primary-btn:hover, .property-actions .details-btn:hover, .btn-details:hover, .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(215, 168, 79, 0.35);
}

.banner-btn:hover::after, .about-btn:hover::after, .consulting-btn:hover::after, .gold-btn:hover::after, .submit-btn:hover::after,
.submit-app-btn:hover::after, .apply-btn:hover::after, .primary-btn:hover::after, .property-actions .details-btn:hover::after,
.btn-details:hover::after, .cta-btn:hover::after, .consult-btn:hover::after { transform: translateX(120%); }

.banner-btn::before, .about-btn::before, .cta-btn.with-arrow::before {
    content: "";
    order: 2;
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: var(--i-arrow) center / contain no-repeat;
    mask: var(--i-arrow) center / contain no-repeat;
    transition: transform 0.35s var(--ease);
}

.banner-btn:hover::before, .about-btn:hover::before, .cta-btn.with-arrow:hover::before { transform: translateX(5px); }

.secondary-btn, .btn-enquiry, .read-more-link, .cta-btn.ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid var(--line-gold);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    transition: background 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}

.cta-btn.ghost::after { display: none; }
.secondary-btn:hover, .btn-enquiry:hover, .read-more-link:hover, .cta-btn.ghost:hover { background: rgba(215, 168, 79, 0.12); border-color: var(--gold); transform: translateY(-3px); box-shadow: none; }

.property-actions .details-btn, .btn-details, .btn-enquiry, .apply-btn { min-height: 44px; padding: 0 20px; font-size: 14px; }

/* round icon actions (the scripts print a text glyph; we swap it for an icon) */
.whatsapp-small, .call-small, .whatsapp-icon, .call-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0;
    color: var(--text);
    transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}

.whatsapp-small::before, .call-small::before {
    content: "";
    width: 19px;
    height: 19px;
    background: currentColor;
    -webkit-mask: var(--i-phone) center / contain no-repeat;
    mask: var(--i-phone) center / contain no-repeat;
}

.whatsapp-small::before { -webkit-mask-image: var(--i-chat); mask-image: var(--i-chat); }

.whatsapp-small:hover, .whatsapp-icon:hover { background: #1faa59; border-color: #1faa59; color: #fff; transform: translateY(-3px); }
.call-small:hover, .call-icon:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); transform: translateY(-3px); }

/* ---------- Floating contact buttons ---------- */
.floating-actions { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }

.float-btn {
    position: relative;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.float-btn svg { width: 28px; height: 28px; fill: currentColor; }
.float-btn.whatsapp-btn { background: #25d366; color: #ffffff; }
.float-btn.call-btn { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); color: var(--dark); }
.float-btn.call-btn svg { width: 25px; height: 25px; }
.float-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5); }

.float-label {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    padding: 7px 12px;
    border-radius: 8px;
    background: rgba(6, 16, 12, 0.92);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translate(8px, -50%);
    transition: opacity 0.25s, transform 0.25s var(--ease);
}

.float-btn:hover .float-label, .float-btn:focus-visible .float-label { opacity: 1; transform: translate(0, -50%); }

/* WhatsApp / Call on property cards (the cards come from your scripts with logo images inside) */
.icon-actions .whatsapp-icon, .icon-actions .call-icon { position: relative; padding: 0; border: 0; overflow: hidden; }
.icon-actions .whatsapp-icon { background: #25d366; }
.icon-actions .call-icon { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); }
.icon-actions img { display: none; }
.icon-actions .whatsapp-icon::after, .icon-actions .call-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 22px;
    height: 22px;
    background: #ffffff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.icon-actions .call-icon::after { width: 19px; height: 19px; background: var(--dark); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24 11.36 11.36 0 0 0 3.57.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24 11.36 11.36 0 0 0 3.57.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02z'/%3E%3C/svg%3E"); }
.icon-actions .whatsapp-icon:hover, .icon-actions .call-icon:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45); }

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(47, 208, 114, 0.5), 0 12px 30px rgba(0, 0, 0, 0.4); }
    70%, 100% { box-shadow: 0 0 0 16px rgba(47, 208, 114, 0), 0 12px 30px rgba(0, 0, 0, 0.4); }
}

/* ---------- Motion primitives (driven by site-effects.js) ---------- */
.js-anim [data-reveal] {
    opacity: 0;
    translate: 0 44px;
    transition:
        opacity 0.9s var(--ease) calc(var(--i, 0) * 90ms),
        translate 0.9s var(--ease) calc(var(--i, 0) * 90ms),
        scale 0.9s var(--ease) calc(var(--i, 0) * 90ms),
        transform 0.4s var(--ease),
        border-color 0.3s, box-shadow 0.4s, background-color 0.3s;
}

.js-anim [data-reveal="left"] { translate: -56px 0; }
.js-anim [data-reveal="right"] { translate: 56px 0; }
.js-anim [data-reveal="zoom"] { translate: 0 0; scale: 0.92; }
.js-anim [data-reveal].in { opacity: 1; translate: 0 0; scale: 1; }
@media (max-width: 900px) { .js-anim [data-reveal="left"], .js-anim [data-reveal="right"] { translate: 0 44px; } }

[data-tilt] {
    transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transform-style: preserve-3d;
    transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s, background-color 0.3s;
    will-change: transform;
}

[data-tilt].is-tilting { transition-duration: 0.08s, 0.3s, 0.4s, 0.3s; }

[data-spot] { position: relative; }

[data-spot]::after {
    /* light that follows the pointer */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(243, 216, 148, 0.16), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
}

[data-spot]:hover::after { opacity: 1; }

.skyline-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { scale: 1.14; } to { scale: 1.02; } }
@keyframes fill-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Home: banner hero ---------- */
main > section.home-hero { height: min(100svh, 880px); min-height: 600px; padding: 0; overflow: hidden; background: var(--bg-2); }

.banner-slider { position: absolute; inset: 0; overflow: hidden; background: var(--bg-2); }

.banner-loader { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; font-size: 13px; }

.banner-slide { position: absolute; inset: 0; z-index: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.banner-slide.active { z-index: 1; opacity: 1; visibility: visible; }

.banner-slide img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.banner-slide.active img { animation: kenburns 9s ease-out both; }

.banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 11, 9, 0.85) 0%, rgba(5, 11, 9, 0.5) 45%, rgba(5, 11, 9, 0.12) 100%),
        linear-gradient(0deg, rgba(5, 11, 9, 0.9) 0%, transparent 45%);
}

.banner-content {
    position: absolute;
    z-index: 2;
    left: var(--gutter);
    right: var(--gutter);
    bottom: 150px;
    max-width: 760px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.banner-content h1 { font-size: clamp(36px, 5.2vw, 76px); margin: 14px 0 18px; }
.banner-content p { font-size: clamp(16px, 1.4vw, 20px); max-width: 56ch; margin-bottom: 30px; color: var(--text); }
.banner-content p:empty { display: none; }
.banner-content .banner-btn { text-shadow: none; }

.banner-tag { display: inline-flex; align-items: center; gap: 12px; }
.banner-tag::before { content: ""; width: 36px; height: 1px; background: var(--gold); }

.banner-slide.active .banner-content > * { animation: rise 0.9s var(--ease) 0.15s both; }
.banner-slide.active .banner-content > :nth-child(2) { animation-delay: 0.25s; }
.banner-slide.active .banner-content > :nth-child(3) { animation-delay: 0.35s; }
.banner-slide.active .banner-content > :nth-child(4) { animation-delay: 0.45s; }

/* controls sit together at the bottom left, clear of the floating WhatsApp / Call buttons */
.slider-arrow {
    position: absolute;
    bottom: 48px;
    z-index: 3;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(6, 16, 12, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--text);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.slider-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.prev-slide { left: var(--gutter); }
.next-slide { left: calc(var(--gutter) + 64px); }

.home-hero .slider-dots { position: absolute; left: calc(var(--gutter) + 144px); bottom: 72px; z-index: 3; display: flex; gap: 10px; }
.home-hero .dot { width: 40px; height: 3px; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, 0.3); cursor: pointer; position: relative; overflow: hidden; }
.home-hero .dot.active::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; animation: fill-bar 6s linear both; }

/* ---------- Home: highlight projects (spotlight carousel, driven by site-effects.js) ---------- */
main > section.highlight-section { overflow: hidden; }
main > section.highlight-section::before {
    /* soft gold glow behind the centre card */
    content: "";
    position: absolute;
    left: 50%;
    top: 55%;
    width: min(900px, 90vw);
    height: 420px;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(215, 168, 79, 0.16), transparent 70%);
    pointer-events: none;
}

.highlight-container { position: relative; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.highlight-container > p { margin: 0 auto; color: var(--muted); }

.highlight-card {
    position: relative;
    flex: 0 0 clamp(240px, 26vw, 360px);
    aspect-ratio: 4 / 5;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    background: var(--bg-3);
}

.highlight-card img { width: 100%; height: 100%; object-fit: cover; transition: scale 6s ease-out; }
.highlight-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 11, 9, 0.92) 0%, rgba(5, 11, 9, 0.15) 55%, transparent 80%); }
.highlight-card h3 { position: absolute; left: 24px; right: 24px; bottom: 26px; z-index: 1; font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2vw, 30px); transition: transform 0.6s var(--ease); }

/* carousel mode (added by the script once the projects have loaded) */
.highlight-container.hl-ready { display: block; height: clamp(360px, 36vw, 500px); margin-top: 8px; touch-action: pan-y; user-select: none; }

.hl-ready .highlight-card {
    position: absolute;
    left: 50%;
    top: 0;
    width: clamp(250px, 28vw, 400px);
    height: 100%;
    aspect-ratio: auto;
    cursor: pointer;
    transform: translateX(calc(-50% + var(--x, 0px))) scale(var(--s, 1));
    filter: brightness(var(--b, 1)) saturate(calc(0.6 + var(--b, 1) * 0.4));
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s, opacity 0.6s, border-color 0.4s, box-shadow 0.9s;
    -webkit-user-drag: none;
}

.hl-ready .highlight-card img { pointer-events: none; }
.hl-ready .highlight-card.is-far { opacity: 0; pointer-events: none; }
.hl-ready .highlight-card.is-active { border-color: rgba(243, 216, 148, 0.7); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(215, 168, 79, 0.35), 0 0 60px rgba(215, 168, 79, 0.18); }
.hl-ready .highlight-card.is-active img { scale: 1.1; }
.hl-ready .highlight-card:not(.is-active) h3 { opacity: 0.8; } .hl-ready .highlight-card.is-right:not(.is-active) h3 { text-align: right; }
.hl-ready .highlight-card.is-active h3 { transform: translateY(-34px); }

/* light sweep across the card that just arrived in the centre */
.hl-ready .highlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
    transform: translateX(-120%);
    pointer-events: none;
}
.hl-ready .highlight-card.is-active::before { animation: hl-sweep 1.4s 0.35s ease-out both; }
@keyframes hl-sweep { to { transform: translateX(120%); } }

.hl-cta {
    position: absolute;
    left: 24px;
    bottom: 22px;
    z-index: 1;
    display: inline-flex;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3));
    color: var(--dark);
    font-size: 13px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s, transform 0.6s var(--ease);
}
.hl-ready .highlight-card.is-active .hl-cta { opacity: 1; transform: none; transition-delay: 0.35s; }

.hl-controls { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }

.hl-arrow {
    width: 46px;
    height: 46px;
    border: 1px solid var(--line-gold);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.hl-arrow:hover { background: var(--gold); color: var(--dark); transform: scale(1.06); }

.hl-dots { display: flex; gap: 8px; }
.hl-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.22); cursor: pointer; position: relative; overflow: hidden; transition: width 0.5s var(--ease), background 0.3s; }
.hl-dot.is-active { width: 46px; background: rgba(215, 168, 79, 0.25); }
.hl-dot span { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
.hl-dot.is-active span { transform: scaleX(1); }
.hl-controls.is-timing .hl-dot.is-active span { animation: hl-timer 4.2s linear both; }
@keyframes hl-timer { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 640px) {
    .highlight-container.hl-ready { height: 400px; }
    .hl-ready .highlight-card { width: 64vw; }
    .hl-ready .highlight-card h3 { font-size: 20px; left: 18px; right: 18px; }
    .hl-cta { left: 18px; bottom: 18px; font-size: 12px; padding: 7px 13px; }
    .hl-arrow { width: 40px; height: 40px; font-size: 20px; }
}


/* ---------- Marquee band ---------- */
.marquee-band { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--display); font-style: italic; font-size: clamp(28px, 4vw, 56px); padding: 0 28px; color: transparent; -webkit-text-stroke: 1px rgba(215, 168, 79, 0.55); white-space: nowrap; }
.marquee-track span:nth-child(even) { color: var(--gold); -webkit-text-stroke: 0; font-style: normal; font-size: clamp(18px, 2vw, 26px); align-self: center; }

/* ---------- Cards: featured / recommended / listings ---------- */
.featured-container, .recommended-container, .properties-grid, .property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: clamp(20px, 2.4vw, 32px);
    perspective: 1400px;
}

.featured-container { grid-template-columns: repeat(3, 1fr); counter-reset: feat; }
.featured-container > p, .recommended-container > p, .properties-grid > p { grid-column: 1 / -1; text-align: center; color: var(--muted); }

.featured-container .featured-card, .property-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.featured-container .featured-card:hover, .property-card:hover { border-color: var(--line-gold); box-shadow: 0 34px 70px rgba(0, 0, 0, 0.5); }

.featured-img, .property-img, .property-image-wrapper, .recommended-container .property-card > img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.featured-container .featured-card { counter-increment: feat; }
.featured-container .featured-img { aspect-ratio: 1 / 1; }

.featured-img img, .property-img img, .property-image-wrapper img, .recommended-container .property-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 1s var(--ease);
}

.featured-card:hover .featured-img img, .property-card:hover .property-img img, .property-card:hover .property-image-wrapper img,
.recommended-container .property-card:hover > img { scale: 1.08; }

.featured-container .featured-img::after {
    content: "0" counter(feat);
    position: absolute;
    top: 16px;
    left: 20px;
    font-family: var(--display);
    font-style: italic;
    font-size: 54px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--gold-2);
}

.image-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 11, 9, 0.7), transparent 50%); }

.property-img > span, .category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(6, 16, 12, 0.7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line-gold);
    color: var(--gold-2);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.featured-content, .property-content, .property-info { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; transform: translateZ(30px); }
.featured-content h3, .property-content h3, .property-info h3 { font-family: var(--display); font-weight: 600; font-size: 24px; }
.featured-content p, .property-content .location, .property-location, .property-info p { color: var(--muted); font-size: 14.5px; }

.featured-actions, .property-actions { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; }
.property-actions .details-btn, .property-actions .btn-details { flex: 1; }
.icon-actions { display: flex; gap: 10px; }
.property-actions .btn-enquiry { flex: 1; }

/* landing page cards print text links for WhatsApp / Call */
.property-actions > .whatsapp-btn, .property-actions > .call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.property-actions > .whatsapp-btn:hover { background: #1faa59; border-color: #1faa59; color: #fff; }
.property-actions > .call-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

/* tabs */
.category-tabs, .property-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto clamp(32px, 4vw, 52px);
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
}

.category-tabs .tab-btn, .property-tabs button {
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-2);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.category-tabs .tab-btn:hover, .property-tabs button:hover { color: var(--white); }
.category-tabs .tab-btn.active, .property-tabs button.active { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--dark); }

.property-category { display: none; }
.property-category.active { display: grid; }

/* ---------- Services + values + contact cards ---------- */
.services-section { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02) 30%, transparent); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); perspective: 1400px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); perspective: 1400px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); perspective: 1400px; }

.service-card, .value-card, .contact-card {
    padding: clamp(26px, 2.6vw, 38px);
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: linear-gradient(160deg, var(--panel-2), var(--panel) 60%);
    overflow: hidden;
}

.service-card:hover, .value-card:hover, .contact-card:hover { border-color: var(--line-gold); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); }

.service-icon, .value-icon, .contact-card .contact-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    border-radius: 20px;
    border: 1px solid var(--line-gold);
    background: radial-gradient(circle at 30% 20%, rgba(243, 216, 148, 0.25), rgba(215, 168, 79, 0.06));
    font-size: 28px;
    transform: translateZ(40px);
    transition: transform 0.5s var(--ease);
}

.service-icon img, .value-icon img, .contact-card .contact-icon img { width: 36px; height: 36px; object-fit: contain; }
.service-card:hover .service-icon, .value-card:hover .value-icon, .contact-card:hover .contact-icon { transform: translateZ(60px) rotate(-6deg) scale(1.06); }
.contact-icon-wrapper { display: contents; }

.service-card h3, .value-card h3, .contact-card h3 { font-family: var(--display); font-weight: 600; font-size: 24px; margin-bottom: 10px; }
.service-card p, .value-card p, .contact-card p { font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.contact-card a { color: var(--gold-2); }
.contact-card a:hover { text-decoration: underline; }

/* ---------- About (home) + overview (company page) ---------- */
.about-section, .about-overview { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 96px); align-items: center; overflow: hidden; }

.about-section > :not(canvas), .about-overview > * { position: relative; z-index: 1; }
.about-section .skyline-canvas { z-index: 0; opacity: 0.55; -webkit-mask-image: radial-gradient(ellipse 60% 62% at 72% 52%, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse 60% 62% at 72% 52%, #000 25%, transparent 72%); }

.about-tag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.about-tag p { margin: 0 !important; }
#overviewHeading { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; font-style: normal; }
.about-left h2, .overview-left h2 { font-size: clamp(32px, 4.2vw, 58px); margin-bottom: 24px; }
.about-left p, .overview-left p { margin-bottom: 16px; max-width: 58ch; }
.about-intro { font-size: clamp(17px, 1.4vw, 19px); color: var(--text) !important; }

.about-stats, .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0 38px; }
.stats-grid { grid-template-columns: repeat(4, 1fr); }

.stat-box, .stat-card { padding: 22px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.stat-box h3, .stat-card h3 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.2vw, 46px); color: var(--gold-2); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat-box span, .stat-card p { margin: 0 !important; color: var(--muted); font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; }

.about-right, .overview-right { position: relative; perspective: 1400px; }

.image-frame, .image-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line-gold);
    aspect-ratio: 4 / 5;
    max-height: 640px;
    width: 100%;
    background: var(--bg-3);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.image-frame img, .image-wrapper img { width: 100%; height: 112%; max-width: none; object-fit: cover; translate: 0 calc(var(--par, 0) * -8%); }
.image-wrapper img[src=""] { visibility: hidden; }

.about-right::before, .overview-right::before {
    content: "";
    position: absolute;
    inset: 8% -6% -6% 10%;
    border: 1px solid var(--line-gold);
    border-radius: 28px;
    transform: translateZ(-60px);
}

.experience-badge {
    position: absolute;
    left: -28px;
    bottom: 40px;
    padding: 22px 26px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, var(--gold-3));
    color: var(--dark);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: float-y 6s ease-in-out infinite;
}

.experience-badge h3 { font-family: var(--display); font-size: 44px; line-height: 1; }
.experience-badge span { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Consulting ---------- */
.consulting-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(28px, 4vw, 64px);
    border: 1px solid var(--line-gold);
    border-radius: 36px;
    background:
        radial-gradient(700px 400px at 100% 0%, rgba(215, 168, 79, 0.16), transparent 60%),
        linear-gradient(135deg, #0e2219, #07120e);
    position: relative;
    overflow: hidden;
}

.consulting-image { perspective: 1200px; }
.consulting-image img { width: 100%; border-radius: 24px; translate: 0 calc(var(--par, 0) * -20px); }
.consulting-content { position: relative; }

.consulting-watermark {
    position: absolute;
    right: -20px;
    top: -70px;
    font-family: var(--display);
    font-size: clamp(60px, 10vw, 150px);
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(215, 168, 79, 0.16);
    pointer-events: none;
    white-space: nowrap;
    translate: calc(var(--par, 0) * -60px) 0;
}

.consulting-content h2 { font-size: clamp(30px, 4vw, 54px); margin-bottom: 20px; position: relative; }
.consulting-content > p { max-width: 54ch; margin-bottom: 28px; }
.consulting-points { display: grid; gap: 12px; margin-bottom: 34px; }
.consulting-points div { display: flex; align-items: center; gap: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.03); transition: border-color 0.3s, transform 0.4s var(--ease); }
.consulting-points div:hover { border-color: var(--line-gold); transform: translateX(8px); }
.consulting-points strong { font-family: var(--display); font-style: italic; font-size: 26px; color: var(--gold-2); min-width: 40px; }
.consulting-points span { font-weight: 600; }

/* ---------- Builders + popular searches ---------- */
/* full-width, continuously scrolling builders strip */
.builders-slider-wrapper { display: block; width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.builders-slider-wrapper > .builder-nav { display: none; }

.builders-slider {
    overflow: hidden;
    padding: 18px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.builders-track {
    --bgap: 20px;
    display: flex;
    gap: var(--bgap);
    width: max-content;
    animation: builders-scroll 40s linear infinite;
}

.builders-slider:hover .builders-track { animation-play-state: paused; }
@keyframes builders-scroll { to { transform: translateX(calc(-50% - var(--bgap) / 2)); } }

.builder-logo-card {
    flex: 0 0 220px;
    height: 140px;
    display: grid;
    place-items: center;
    padding: 22px 26px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.builder-logo-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(215, 168, 79, 0.25); }
.builder-logo-card img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; }

.builder-nav, .slider-btn {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--panel);
    cursor: pointer;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.builder-nav:hover, .slider-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

main > section.popular-search-section, body > section.popular-search-section { padding-block: clamp(56px, 6vw, 88px); border-top: 1px solid var(--line); }
.popular-search-section > h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 30px; text-align: center; max-width: none; }
.popular-search-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.popular-search-grid > p { color: var(--muted); }

.search-link {
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--text-2);
    font-size: 14px;
    font-weight: 600;
    transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.35s var(--ease);
}

.search-link:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(215, 168, 79, 0.08); transform: translateY(-3px); }

/* ---------- Inner page hero ---------- */
main > section.profile-hero, main > section.article-hero {
    min-height: clamp(420px, 68vh, 640px);
    padding: 150px var(--gutter) clamp(64px, 8vw, 110px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: var(--bg-3);
    background-size: cover;
    background-position: 50% calc(50% + var(--hero-p, 0) * 90px);
}

.profile-hero-overlay, .article-hero .banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, var(--bg) 2%, rgba(5, 11, 9, 0.55) 45%, rgba(5, 11, 9, 0.35) 100%),
        radial-gradient(900px 400px at 0% 100%, rgba(215, 168, 79, 0.18), transparent 60%);
}

.profile-hero-content, .article-hero-content { position: relative; z-index: 2; max-width: 900px; translate: 0 calc(var(--hero-p, 0) * -40px); opacity: calc(1 - var(--hero-p, 0) * 1.1); }
.profile-hero-content > *, .article-hero-content > * { animation: rise 1s var(--ease) both; }
.profile-hero-content > :nth-child(2), .article-hero-content > :nth-child(2) { animation-delay: 0.12s; }
.profile-hero-content > :nth-child(3), .article-hero-content > :nth-child(3) { animation-delay: 0.24s; }

.profile-tag { display: inline-flex; align-items: center; gap: 12px; }
.profile-tag::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.profile-hero h1, .article-hero h1 { font-size: clamp(38px, 6vw, 84px); margin: 16px 0 16px; }
.article-hero h1 { font-size: clamp(30px, 4vw, 58px); max-width: 24ch; }
@media (max-width: 640px) { .profile-hero h1 { font-size: clamp(30px, 9vw, 40px); } .article-hero h1 { font-size: 27px; } }
.profile-hero p { font-size: clamp(16px, 1.4vw, 19px); max-width: 60ch; }

.profile-scroll-indicator { position: absolute; right: var(--gutter); bottom: 44px; width: 26px; height: 44px; border: 1px solid var(--line-gold); border-radius: 20px; }
.profile-scroll-indicator span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: scroll-dot 1.8s var(--ease) infinite; }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

/* ---------- Careers ---------- */
.careers-container { max-width: 980px; margin: 0 auto; }
.careers-subtitle { text-align: center; margin: -36px auto 48px; max-width: 56ch; }
.jobs-grid { display: grid; gap: 14px; }

.job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: linear-gradient(120deg, var(--panel-2), var(--panel));
    position: relative;
    overflow: hidden;
}

.job-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--gold-2), var(--gold-3)); transform: scaleY(0); transform-origin: 50% 0; transition: transform 0.5s var(--ease); }
.job-card:hover { border-color: var(--line-gold); }
.job-card:hover::before { transform: scaleY(1); }
.job-info h3 { font-family: var(--display); font-weight: 600; font-size: 24px; margin-bottom: 6px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 14.5px; }

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(2, 6, 5, 0.78);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.modal-content {
    width: min(760px, 100%);
    max-height: calc(100svh - 40px);
    overflow-y: auto;
    border: 1px solid var(--line-gold);
    border-radius: 28px;
    background: linear-gradient(180deg, #0e2019, #07120e);
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.7);
    animation: modal-in 0.6s var(--ease) both;
}

@keyframes modal-in { from { opacity: 0; transform: perspective(1200px) rotateX(14deg) translateY(60px) scale(0.94); } to { opacity: 1; transform: none; } }

.modal-header-banner { position: relative; padding: 34px 36px 26px; border-bottom: 1px solid var(--line); background: radial-gradient(500px 200px at 100% 0%, rgba(215, 168, 79, 0.2), transparent 70%); }
.modal-header-banner h2 { font-size: 36px; margin-bottom: 6px; }
.close-modal { position: absolute; right: 22px; top: 20px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.close-modal:hover { background: var(--gold); color: var(--dark); transform: rotate(90deg); }
.modal-form-container { padding: 28px 36px 36px; }

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.form-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.section-divider { display: flex; align-items: center; gap: 14px; margin: 10px 0 16px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.section-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.custom-file-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.custom-file-upload label { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 84px; padding: 16px; border: 1px dashed var(--line-gold); border-radius: 16px; background: rgba(215, 168, 79, 0.04); color: var(--text-2); cursor: pointer; text-align: center; transition: background 0.3s, border-color 0.3s; }
.custom-file-upload label:hover, .custom-file-upload input:focus-visible + label { background: rgba(215, 168, 79, 0.1); border-color: var(--gold); }
.submit-app-btn { width: 100%; margin-top: 8px; }
.app-status-msg, .form-status { margin-top: 14px; text-align: center; font-weight: 700; min-height: 22px; }

/* ---------- Form fields (all forms) ---------- */
label { font-size: 13px; font-weight: 700; color: var(--text-2); letter-spacing: 0.02em; }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
    font-size: 15.5px;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

textarea { min-height: 130px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
select option { background: #0c1a14; color: var(--text); }
input::placeholder, textarea::placeholder { color: #6f8279; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); background: rgba(215, 168, 79, 0.05); box-shadow: 0 0 0 4px rgba(215, 168, 79, 0.14); }

.input-group { position: relative; display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* floating label: markup is <input> followed by <label> */
.input-group > :is(input, select, textarea) + label {
    position: absolute;
    left: 18px;
    top: 17px;
    padding: 0 6px;
    margin-left: -6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    pointer-events: none;
    transition: top 0.25s var(--ease), font-size 0.25s var(--ease), color 0.25s, background 0.25s;
}

.input-group > :is(input, textarea):focus + label,
.input-group > :is(input, textarea):valid + label,
.input-group > select:focus + label,
.input-group > select:valid + label {
    top: -9px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-2);
    background: #0b1813;
    border-radius: 6px;
}

.form-box {
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid var(--line-gold);
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(14, 32, 25, 0.9), rgba(7, 18, 14, 0.9));
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.form-box h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 26px; }
.form-box .submit-btn, .sticky-form .gold-btn { width: 100%; }

.budget-group { margin-bottom: 22px; }
.budget-title { display: block; margin-bottom: 10px; }
.budget-input-box { display: flex; align-items: center; gap: 10px; padding-left: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.04); margin-bottom: 14px; }
.budget-input-box span { color: var(--gold-2); font-weight: 800; }
.budget-input-box input { border: 0; background: transparent; padding-left: 0; box-shadow: none !important; }
.budget-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; font-weight: 700; margin-top: 6px; }

input[type="range"] { width: 100%; height: 22px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--gold-2); border: 4px solid var(--dark); box-shadow: 0 0 0 1px var(--gold); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gold-2); border: 4px solid var(--dark); box-shadow: 0 0 0 1px var(--gold); }

/* ---------- Contact page ---------- */
.contact-form-container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.map-box { min-height: 460px; border: 1px solid var(--line-gold); border-radius: 28px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5); }
.map-box iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(0.4) contrast(1.05); }
main > section.contact-form-section { padding-top: 0; }

/* ---------- News ---------- */
.news-container, .properties-container { max-width: var(--wrap); margin: 0 auto; }
main > section.news-featured-section, main > section.latest-news-section, main > section.properties-section { padding-inline: var(--pad); }
main > section.latest-news-section { padding-top: 0; }

.featured-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.sub-featured-grid { display: grid; gap: 20px; }

.featured-grid .featured-card, .spotlight-card {
    position: relative;
    display: block;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, #12291f, #07120e);
    min-height: 170px;
}

.large-card { min-height: clamp(380px, 46vw, 560px); height: 100%; }
.featured-grid { height: clamp(520px, 72vh, 900px); }
.sub-featured-grid { grid-template-rows: repeat(3, 1fr); height: 100%; }
.featured-grid > .news-loading, .article-list > .news-loading { grid-column: 1 / -1; color: var(--muted); padding: 40px 0; text-align: center; }
.section-heading--left { justify-content: flex-start; }
.pagination-container .gold-btn { min-height: 48px; }
.spotlight-badge { position: absolute; top: 18px; left: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(6, 16, 12, 0.7); border: 1px solid var(--line-gold); color: var(--gold-2); font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.spotlight-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(215, 168, 79, 0.2); }
.film-grain { display: none; }
#dynamicSpotlight { height: 100%; }
.news-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease); }
.featured-grid .featured-card:hover .news-img, .spotlight-card:hover .news-img { scale: 1.07; }
.featured-grid .featured-card:hover { border-color: var(--line-gold); }

.card-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: clamp(18px, 2.4vw, 34px); background: linear-gradient(0deg, rgba(5, 11, 9, 0.95) 0%, rgba(5, 11, 9, 0.3) 60%, transparent); }
.card-overlay h2 { font-size: clamp(26px, 3vw, 44px); }
.card-overlay h3 { font-family: var(--display); font-weight: 600; font-size: 20px; }
.meta-data { color: var(--text-2); font-size: 13.5px; }
.meta-data.muted { color: var(--muted); }

.latest-news-section .section-heading { margin-bottom: 34px; }
.latest-split-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.article-list { display: grid; gap: 6px; }

.list-item { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px; border-radius: var(--r); border: 1px solid transparent; transition: background 0.3s, border-color 0.3s; }
.list-item:hover { background: var(--panel); border-color: var(--line); }
.list-img-wrapper { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #12291f, #07120e); }
.list-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.9s var(--ease); }
.list-item:hover .list-img-wrapper img { scale: 1.08; }
.list-content { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.list-content h4 { font-family: var(--display); font-weight: 600; font-size: 24px; transition: color 0.3s; }
.list-item:hover h4 { color: var(--gold-2); }
.list-content p { font-size: 15px; color: var(--muted); }
.view-more-btn { justify-self: start; margin: 24px 0 0 18px; }

.sticky-spotlight { position: sticky; top: 100px; min-height: 480px; }
.spotlight-overlay h2 { font-size: 32px; }
.read-more-link { align-self: flex-start; min-height: 44px; margin-top: 8px; }

/* ---------- Article ---------- */
.article-hero { background-size: cover; }
.details-container { max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.content-split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }

.article-body { font-size: 18px; line-height: 1.85; }
.article-body p { margin-bottom: 24px; color: var(--text-2); }
.article-body h2 { font-size: clamp(28px, 3vw, 40px); margin: 44px 0 20px; }
.article-body blockquote { margin: 36px 0; padding: 26px 30px; border-left: 3px solid var(--gold); border-radius: 0 18px 18px 0; background: rgba(215, 168, 79, 0.07); font-family: var(--display); font-style: italic; font-size: 24px; line-height: 1.5; color: var(--gold-2); }
.article-body img { border-radius: 18px; margin: 28px 0; }
.drop-cap { float: left; font-family: var(--display); font-size: 84px; line-height: 0.82; padding: 8px 14px 0 0; color: var(--gold-2); }

.sticky-form { position: sticky; top: 100px; padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line-gold); border-radius: 26px; background: linear-gradient(160deg, rgba(14, 32, 25, 0.9), rgba(7, 18, 14, 0.9)); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4); }
.sticky-form h3 { font-family: var(--display); font-weight: 600; font-size: 28px; margin-bottom: 18px; }

/* ---------- Property details ---------- */
.property-details-main { padding: 112px 0 clamp(64px, 8vw, 110px); }
.glass-panel { border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(160deg, var(--panel-2), var(--panel)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

.hero-banner-slider { position: relative; max-width: var(--wrap); margin: 0 auto 28px; height: clamp(300px, 64vh, 640px); border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.hero-slides-track { display: flex; height: 100%; transition: transform 0.8s var(--ease); }
.hero-slide { flex: 0 0 100%; height: 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-nav { position: absolute; top: 50%; z-index: 2; width: 50px; height: 50px; margin-top: -25px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; background: rgba(6, 16, 12, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; transition: background 0.3s, color 0.3s; }
.hero-nav:hover { background: var(--gold); color: var(--dark); }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.hero-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.45); cursor: pointer; transition: background 0.3s, width 0.3s; }
.hero-dot.active { width: 28px; border-radius: 6px; background: var(--gold); }
.property-details-main .details-container { padding-inline: var(--pad); }
.property-details-main > .hero-banner-slider { margin-inline: max(var(--pad), calc((100% - var(--wrap)) / 2)); }
.skeleton { background: linear-gradient(100deg, var(--bg-3) 30%, #173528 50%, var(--bg-3) 70%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }

.property-header { display: flex; align-items: center; gap: 24px; padding: clamp(20px, 2.4vw, 32px); margin-bottom: 24px; }
.builder-logo { width: 96px; height: 96px; flex-shrink: 0; object-fit: contain; border-radius: 18px; background: #fff; padding: 10px; }
.builder-logo[src=""] { display: none; }
.header-info h1 { font-size: clamp(30px, 4vw, 56px); margin-bottom: 8px; }
.header-info p { color: var(--muted); }
.builder-tags { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; }

.left-content { padding: clamp(18px, 2.4vw, 32px); min-width: 0; }
.tab-navigation { display: flex; gap: 6px; padding: 6px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0, 0, 0, 0.25); overflow-x: auto; scrollbar-width: none; }
.tab-navigation::-webkit-scrollbar { display: none; }
.tab-navigation .tab-btn { flex: 1; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font-size: 14.5px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background 0.3s, color 0.3s; }
.tab-navigation .tab-btn:hover { color: var(--white); }
.tab-navigation .tab-btn.active { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--dark); }

.tab-content { display: none; }
.tab-content.active-tab { display: block; animation: rise 0.6s var(--ease) both; }

.overview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.overview-item { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.025); }
.overview-icon { grid-row: 1 / 3; width: 46px; height: 46px; object-fit: contain; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); }
.overview-item span { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.overview-item strong { font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--gold-2); overflow-wrap: anywhere; }
.overview-item strong.long-text { font-size: 17px; font-family: var(--body); font-weight: 700; }
.mt-20 { margin-top: 20px; }

.amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.amenity-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.025); text-align: center; transition: border-color 0.3s, transform 0.4s var(--ease); }
.amenity-card:hover { border-color: var(--line-gold); transform: translateY(-6px); }
.amenity-icon { width: 48px; height: 48px; object-fit: contain; }
.amenity-name { font-size: 14px; font-weight: 700; }

.floor-plan-slider { display: flex; align-items: center; gap: 14px; }
.slider-track { flex: 1; min-height: 240px; border-radius: 18px; overflow: hidden; background: #fff; }
.slider-track .slide { display: none; width: 100%; max-height: 560px; object-fit: contain; }
.slider-track .slide.active { display: block; animation: rise 0.5s var(--ease) both; }
.property-details-main .slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.property-details-main .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); cursor: pointer; transition: background 0.3s, transform 0.3s; }
.property-details-main .dot.active { background: var(--gold); transform: scale(1.3); }

.video-container { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.video-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.luxury-description p { margin-bottom: 18px; font-size: 17px; line-height: 1.8; }

/* ---------- Landing page (index.html) ---------- */
.hero { position: relative; min-height: 100svh; padding: 140px var(--gutter) 80px; display: flex; align-items: center; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 11, 9, 0.82) 0%, rgba(5, 11, 9, 0.35) 55%, transparent 100%); pointer-events: none; }
.hero .skyline-canvas { opacity: 0.9; -webkit-mask-image: linear-gradient(0deg, transparent 2%, #000 40%); mask-image: linear-gradient(0deg, transparent 2%, #000 40%); }
.hero-content { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero-text > * { animation: rise 1s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: 0.12s; }
.hero-text > :nth-child(3) { animation-delay: 0.24s; }
.hero-text > :nth-child(4) { animation-delay: 0.36s; }
.tagline { display: inline-flex; align-items: center; gap: 12px; }
.tagline::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.hero-text h1 { font-size: clamp(40px, 5.8vw, 88px); margin: 18px 0 22px; }
.hero-text p { font-size: clamp(16px, 1.4vw, 19px); max-width: 52ch; margin-bottom: 34px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .form-box { animation: rise 1.1s var(--ease) 0.3s both; }

/* ---------- Call-to-action band + footer ---------- */
.cta-band { position: relative; padding: clamp(72px, 9vw, 130px) var(--gutter); text-align: center; overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(180deg, #07120e, #0c1f18); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 46% 60% at 50% 46%, rgba(6, 15, 11, 0.92), transparent 75%); pointer-events: none; }
.cta-band .skyline-canvas { opacity: 0.6; -webkit-mask-image: linear-gradient(0deg, #000 30%, transparent 95%); mask-image: linear-gradient(0deg, #000 30%, transparent 95%); }
.cta-band > :not(canvas) { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(34px, 5.4vw, 76px); max-width: 16ch; margin: 14px auto 18px; }
.cta-band p { max-width: 56ch; margin: 0 auto 34px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.footer { position: relative; padding: clamp(56px, 6vw, 88px) var(--gutter) 28px; background: #030706; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr; gap: clamp(24px, 4vw, 64px); padding-bottom: 48px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; color: var(--muted); max-width: 42ch; }
.footer h3 { font-size: 13px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col a { display: block; width: fit-content; padding: 6px 0; color: var(--text-2); font-size: 15px; position: relative; transition: color 0.3s, transform 0.35s var(--ease); }
.footer-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.4s var(--ease); }
.footer-col a:hover { color: var(--gold-2); }
.footer-col a:hover::after { transform: scaleX(1); }
.footer-contact p { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; font-size: 15px; color: var(--text-2); }
.footer-contact a:hover { color: var(--gold-2); }
.footer-contact .contact-icon { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--line-gold); border-radius: 50%; color: var(--gold); }
.footer-contact .contact-icon svg { width: 16px; height: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-bottom p { font-size: 13.5px; color: var(--muted); }
.social-icons { display: flex; gap: 10px; }
.social-icons a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: border-color 0.3s, transform 0.35s var(--ease); }
.social-icons a:hover { border-color: var(--gold); transform: translateY(-4px); }
.social-icons img { width: 20px; height: 20px; object-fit: contain; }

/* ---------- Property details: overview box and enquiry form share one height ---------- */
.page-property .content-split { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); align-items: stretch; }

/* the form decides the row height; the left box fills it and scrolls inside if its tab is longer */
.page-property .left-content { display: flex; flex-direction: column; min-height: 0; overflow: hidden; contain: size; }
.page-property .left-content .tab-navigation { flex-shrink: 0; margin-bottom: 20px; }
.page-property .left-content .tab-content.active-tab { flex: 1; min-height: 0; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(215, 168, 79, 0.4) transparent; }

.page-property .right-sidebar { display: flex; }
.page-property .sticky-form { position: static; flex: 1; padding: 24px; }
.page-property .sticky-form h3 { font-size: 22px; margin-bottom: 14px; }
.page-property .sticky-form .input-group { gap: 6px; margin-bottom: 12px; }
.page-property .sticky-form label { font-size: 12.5px; }
.page-property .sticky-form input, .page-property .sticky-form textarea { min-height: 44px; padding: 10px 14px; font-size: 14.5px; border-radius: 12px; }
.page-property .sticky-form textarea { min-height: 84px; height: 84px; }
.page-property .sticky-form .gold-btn { min-height: 46px; margin-top: 4px; }
.page-property .sticky-form .form-status:empty { display: none; }
.page-property .overview-item { padding: 16px; }

@media (max-width: 900px) {
    .page-property .content-split { grid-template-columns: 1fr; }
    .page-property .left-content { contain: none; overflow: visible; }
    .page-property .left-content .tab-content.active-tab { overflow: visible; }
}

/* ---------- Our Team page (works with OurTeam.css) ---------- */
.page-team {
    --bg-alabaster: transparent;
    --surface-white: rgba(255, 255, 255, 0.04);
    --text-primary: var(--text);
    --text-secondary: var(--text-2);
    --gold-primary: var(--gold);
    --gold-dark: var(--gold-2);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: var(--line-gold);
    --shadow-soft: 0 24px 50px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 34px 70px rgba(0, 0, 0, 0.5);
    --font-display: var(--display);
    --font-body: var(--body);
}
.page-team .team-main { min-height: 0; overflow: visible; padding: clamp(56px, 7vw, 100px) var(--gutter); }
.page-team .team-section { position: relative; left: auto; width: 100%; max-width: 1400px; margin: 0 auto; transform: none; }
.page-team .team-section.active-view { transform: none; }
.page-team .team-section.hidden-view { transform: translateY(30px); }
.page-team #teamDetailView.hidden-view { display: none; }
.page-team .team-header { border-bottom-color: var(--line); }
.page-team .tab-navigation { width: fit-content; max-width: 100%; margin: 0 auto 40px; }
.page-team .tab-btn::after { display: none; }
.page-team .card-image { background: var(--bg-3); }
.page-team .bio-content, .page-team .bio-content p, .page-team .highlights-content { color: var(--text-2); }

/* ---------- Gallery page (works with gallery.css) ---------- */
.page-gallery { --font-display: var(--display); --font-body: var(--body); }
body.page-gallery { font-family: var(--body); background: var(--bg); }
.page-gallery .property-gallery { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(56px, 7vw, 100px); }
.page-gallery .footer { z-index: 10; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
    .nav-toggle { display: block; }
    .main-navbar > .consult-btn { display: none; }
    .main-navbar { justify-content: space-between; padding-right: 12px; }

    .nav-menu {
        position: fixed;
        inset: 0;
        z-index: -1;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 110px var(--pad) 40px;
        overflow-y: auto;
        background: rgba(4, 9, 7, 0.97);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s, visibility 0.4s;
    }

    .nav-open .nav-menu { opacity: 1; visibility: visible; }
    .site-header.nav-open { inset: 14px 0 0 0; transform: none; }
    .nav-open .main-navbar { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

    .nav-menu > li { border-bottom: 1px solid var(--line); opacity: 0; translate: 0 24px; transition: opacity 0.5s var(--ease), translate 0.5s var(--ease); transition-delay: calc(var(--n, 0) * 60ms); }
    .nav-open .nav-menu > li { opacity: 1; translate: 0 0; }
    .nav-menu > li > a, .nav-trigger { width: 100%; height: 64px; padding: 0; justify-content: space-between; border-radius: 0; font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--text); background: transparent !important; }
    .nav-trigger svg { width: 14px; height: 14px; }

    .dropdown-list { position: static; width: auto; display: none; padding: 0 0 14px; border: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .dropdown-list::before { display: none; }
    .nav-dropdown.open > .dropdown-list { display: block; }
    .nav-dropdown:not(.open):hover > .nav-trigger svg { transform: none; }
    .dropdown-list a { padding: 10px 0 10px 16px; border-left: 1px solid var(--line-gold); border-radius: 0; }

    .nav-cta-mobile { display: block; border: 0 !important; padding-top: 28px; }
    .nav-menu > li.nav-cta-mobile > a { height: 56px; justify-content: center; border-radius: 999px; font-family: var(--body); font-size: 16px; font-weight: 800; color: var(--dark); background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)) !important; }

    .featured-container { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
    main > section.profile-hero, main > section.article-hero { min-height: 400px; padding-top: 130px; padding-bottom: 56px; }
    main > section.home-hero { height: 640px; min-height: 0; }
    .featured-grid { height: auto !important; max-height: none !important; }
    .sub-featured-grid { grid-template-rows: none !important; height: auto !important; grid-template-columns: 1fr; }
    .featured-grid .large-card { min-height: 440px; height: auto; }
    .featured-grid .small-card { min-height: 210px; }
}

@media (max-width: 900px) {
    .about-section, .about-overview, .consulting-wrapper, .contact-form-container, .hero-content,
    .content-split, .latest-split-layout, .featured-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .experience-badge { left: 14px; bottom: 14px; }
    .about-right::before, .overview-right::before { display: none; }
    .image-frame, .image-wrapper { aspect-ratio: 4 / 3; }
    .sticky-form, .sticky-spotlight { position: static; }
    .sticky-spotlight { min-height: 320px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { padding-top: 120px; }
    .consulting-watermark { display: none; }
    .property-header { flex-wrap: wrap; }
    .builder-tags { margin-left: 0; }
}

@media (max-width: 640px) {
    body { font-size: 15.5px; }
    .site-header { inset: 10px 0 auto 0; }
    .site-header.nav-open { inset: 10px 0 0 0; }
    .main-navbar { height: 60px; padding-left: 16px; }
    .brand-logo img { height: 34px; }

    main > section.home-hero { height: 560px; }
    .banner-content { bottom: 104px; right: 84px; }
    .banner-content h1 { font-size: clamp(28px, 8.4vw, 38px); margin: 10px 0 12px; }
    .banner-content h1 br { display: none; }
    .banner-content p { font-size: 15px; margin-bottom: 22px; }
    .banner-content .banner-btn { min-height: 46px; padding: 0 22px; font-size: 14px; }
    .slider-arrow { width: 42px; height: 42px; bottom: 36px; font-size: 22px; }
    .next-slide { left: calc(var(--gutter) + 52px); }
    .home-hero .slider-dots { left: calc(var(--gutter) + 112px); bottom: 56px; }
    .home-hero .dot { width: 26px; }
    .banner-overlay { background: linear-gradient(0deg, rgba(5, 11, 9, 0.94) 5%, rgba(5, 11, 9, 0.55) 55%, rgba(5, 11, 9, 0.25) 100%); }
    .sub-featured-grid { grid-template-columns: 1fr; }
    .large-card { min-height: 380px; }
    .hero-banner-slider { height: 300px; border-radius: 18px; }
    .property-details-main { padding-top: 92px; }
    .hero-nav { width: 40px; height: 40px; margin-top: -20px; font-size: 22px; }

    .services-grid, .values-grid, .about-stats, .overview-grid, .input-row, .form-grid-3, .form-grid-2 { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .stat-box { padding: 16px 10px; text-align: center; }
    .builder-logo-card { flex-basis: 160px; height: 104px; padding: 16px 18px; border-radius: 14px; }
    .builders-track { --bgap: 14px; }
    .category-tabs, .property-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; border-radius: 999px; }
    .category-tabs::-webkit-scrollbar, .property-tabs::-webkit-scrollbar { display: none; }
    .category-tabs .tab-btn, .property-tabs button { flex-shrink: 0; padding: 0 18px; }
    .job-card { flex-direction: column; align-items: stretch; }
    .list-item { grid-template-columns: 1fr; padding: 12px; }
    .view-more-btn { margin-left: 12px; }
    .floor-plan-slider .slider-btn { display: none; }
    .modal-header-banner, .modal-form-container { padding-inline: 20px; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column-reverse; text-align: center; }
    .floating-actions { right: 14px; bottom: 14px; }
    .float-btn { width: 50px; height: 50px; }
    .float-btn svg { width: 25px; height: 25px; }
    .float-label { display: none; }
    .floating-actions { gap: 10px; }
    .profile-scroll-indicator, .cursor-glow { display: none; }
    main > section.profile-hero, main > section.article-hero { min-height: 0; padding: 104px var(--gutter) 34px; }
    .profile-hero p { font-size: 14.5px; }
    .profile-tag { font-size: 11px; }
}

@media (hover: none) { .cursor-glow { display: none; } }

@media (prefers-reduced-motion: reduce) {
    .hl-ready .highlight-card::before { animation: none; }
    .builders-track { animation: none; }
    .builders-slider { overflow-x: auto; }
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .js-anim [data-reveal] { opacity: 1; translate: 0 0; scale: 1; }
    .marquee-track { animation: none; }
    .cursor-glow { display: none; }
}

/* ---------- Wide desktop: use the screen, give elements room ---------- */
@media (min-width: 1280px) {
    :root { --wrap: min(1680px, 88vw); --pad: clamp(40px, 4vw, 96px); }
    .main-navbar { max-width: calc(var(--wrap) + 40px); }
    .featured-container, .recommended-container, .properties-grid, .property-grid { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: clamp(28px, 2.4vw, 44px); }
    .services-grid, .contact-grid { gap: clamp(24px, 2.2vw, 40px); }
    .values-grid { gap: clamp(22px, 2vw, 34px); }
    .about-section, .about-overview { gap: clamp(56px, 6vw, 128px); }
    .consulting-wrapper { gap: clamp(48px, 5vw, 110px); }
    .about-stats, .stats-grid { gap: 20px; }
    .footer-main { gap: clamp(40px, 5vw, 110px); }
    main > section > h2, .services-title, .contact-main-title, .featured-heading h2, .section-head h2, .section-header h2 { max-width: 32ch; }
    .builder-logo-card { flex-basis: 250px; height: 150px; }
    .builders-track { --bgap: 28px; }
    .popular-search-grid { gap: 12px 14px; max-width: 1300px; margin-inline: auto; }
    .highlight-container.hl-ready { height: clamp(500px, 34vw, 640px); }
    .hl-ready .highlight-card { width: clamp(380px, 26vw, 500px); }
}
