* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --san-juan: #455669;
    --midnight-navy: #0A192F;
    --paper-white: #F5F5F0;
    --gold: #c9a961;
    /*rename*/
    --gold-hover: #D4A574;
    --text-dark: #1A1A1B;
    --text-gray: #6B6B6B;
    --border-gray: #D0D0D0;
    --light-grey: #E8E8E8;
}

:root {
    --gold: #C9A96E;
    --gold-light: #E8D5B0;
    --gold-dark: #8B6914;
    --ink: #0E0E0E;
    --ink-soft: #1C1C1C;
    --ink-muted: #3A3A3A;
    --stone: #F5F2EE;
    --stone-mid: #EAE6DF;
    --stone-dark: #D4CFC6;
    --white: #FDFCFA;
    --accent: #1A3A2A;
    --accent-light: #2D5A3D;
    --danger: #C0392B;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'DM Mono', monospace;
    --r: 6px;
    --r-lg: 12px;
    --shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 64px rgba(0, 0, 0, 0.14);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-alt {
    background: var(--stone);
}

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.75rem;
}

.eyebrow-line {
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.italic {
    font-style: italic;
}

.text-muted {
    color: var(--ink-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: var(--r);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

.btn-gold {
    background: var(--gold);
    color: var(--ink);
}

.btn-gold:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-1px);
}

.section-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0.75rem;
}

.section-eyebrow span,
.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--paper-white);
}

/* Header */
body > header {
    background: var(--midnight-navy);
    padding: 0.85rem 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-self: start;
    width: max-content;
    flex-shrink: 0;
}

.site-logo-nav {
    display: block;
    height: 28px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    gap: 1.15rem;
    justify-content: center;
    align-items: center;
    min-width: 0;
    overflow: visible;
}

.nav-cta-mobile {
    display: none;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 1002;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.listing-sheet-lock {
    overflow: hidden;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.nav-list-btn {
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.6rem 1rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-list-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.nav-cta {
    background: var(--gold);
    color: var(--midnight-navy);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: 4px;
    transition: transform 0.2s;
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-2px);
    background: var(--gold-light);
}

.header-nav a {
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.4px;
    transition: color 0.3s;
    cursor: pointer;
    white-space: nowrap;
}

.header-nav a:hover {
    color: var(--gold);
}

.header-nav a.active {
    color: var(--gold);
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.4px;
    cursor: pointer;
    white-space: nowrap;
}

.nav-dropdown-toggle svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle svg,
.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-toggle:hover,
.nav-dropdown.is-current .nav-dropdown-toggle,
.nav-dropdown.is-open .nav-dropdown-toggle {
    color: var(--gold);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    padding: 14px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1004;
    transition: opacity 0.15s ease, visibility 0s linear 0.15s;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 14px;
    bottom: 0;
    background: #0d1a2e;
    border: 1px solid rgba(201, 169, 110, 0.28);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    z-index: -1;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.7rem 1.1rem;
    white-space: nowrap;
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.15s ease, visibility 0s linear 0s;
}

.nav-mega {
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 2px;
}

.nav-mega-link {
    display: inline-flex;
    align-items: center;
}

.nav-mega-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0 2px;
    color: inherit;
    cursor: pointer;
}

.nav-mega-toggle svg {
    width: 12px;
    height: 12px;
    color: #fff;
    transition: transform 0.2s ease;
}

.nav-mega.is-open .nav-mega-toggle svg,
.nav-mega:hover .nav-mega-toggle svg,
.nav-mega:focus-within .nav-mega-toggle svg {
    transform: rotate(180deg);
}

.nav-mega.is-current .nav-mega-link,
.nav-mega:hover .nav-mega-link,
.nav-mega:hover .nav-mega-toggle svg {
    color: var(--gold);
}

.nav-mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: min(760px, calc(100vw - 48px));
    padding: 18px 0 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1005;
    transition: opacity 0.16s ease, visibility 0s linear 0.16s;
}

.nav-mega-panel::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 18px;
}

.nav-mega-panel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 18px;
    bottom: 0;
    background: #0d1a2e;
    border: 1px solid rgba(201, 169, 110, 0.28);
    border-radius: 10px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
    z-index: -1;
}

.nav-mega:hover .nav-mega-panel,
.nav-mega:focus-within .nav-mega-panel,
.nav-mega.is-open .nav-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.16s ease, visibility 0s linear 0s;
}

.nav-mega-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px 8px;
    padding: 22px 16px 16px;
}

.nav-mega-cols a {
    display: block;
    padding: 0.5rem 0.85rem;
    white-space: normal;
    font-size: 0.8rem;
    line-height: 1.35;
}

@media (max-width: 960px) {
    body > header {
        padding: 0.75rem 1.15rem;
        grid-template-columns: 1fr auto;
        gap: 0.75rem;
    }

    .site-logo-nav {
        height: 24px;
        width: auto;
        max-width: 180px;
    }

    .logo-link,
    .nav-toggle {
        position: relative;
        z-index: 1003;
    }

    .nav-toggle {
        display: flex;
        grid-column: 2;
        grid-row: 1;
    }

    .header-actions {
        display: none;
    }

    .header-nav {
        position: fixed;
        top: var(--header-h, 64px);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        margin: 0;
        padding: 1.25rem 1.35rem 2rem;
        background: rgba(10, 18, 32, 0.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        overflow-y: auto;
        opacity: 1;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-100%);
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.35s;
    }

    header.nav-open .header-nav {
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
    }

    .header-nav a {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
        white-space: normal;
    }

    .nav-dropdown {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 1rem 0;
        font-size: 1rem;
    }

    .nav-dropdown-menu {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        min-width: 0;
        margin: 0 0 0.5rem;
        padding: 0 0 0.4rem 0.85rem;
        background: transparent;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu {
        display: none;
        transform: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        display: block;
        transform: none;
    }

    .nav-dropdown-menu a {
        padding: 0.7rem 0;
        font-size: 0.92rem;
        border-bottom: none;
    }

    .nav-dropdown:hover .nav-dropdown-toggle svg {
        transform: none;
    }

    .nav-dropdown.is-open .nav-dropdown-toggle svg {
        transform: rotate(180deg);
    }

    .nav-mega {
        flex-wrap: wrap;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0;
        gap: 0;
    }

    .nav-mega-link {
        flex: 1;
        padding: 1rem 0;
        border-bottom: none;
    }

    .nav-mega-toggle {
        width: 42px;
        height: 42px;
        color: #fff;
    }

    .nav-mega:hover .nav-mega-toggle svg {
        transform: none;
        color: #fff;
    }

    .nav-mega.is-open .nav-mega-toggle svg {
        transform: rotate(180deg);
        color: var(--gold);
    }

    .nav-mega-panel {
        position: static;
        width: 100%;
        padding: 0 0 0.6rem 0.4rem;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-mega-panel::before,
    .nav-mega-panel::after {
        display: none;
    }

    .nav-mega:hover .nav-mega-panel,
    .nav-mega:focus-within .nav-mega-panel {
        display: none;
    }

    .nav-mega.is-open .nav-mega-panel {
        display: block;
    }

    .nav-mega-cols {
        grid-template-columns: 1fr;
        padding: 0 0 0.4rem;
        gap: 0;
    }

    .nav-mega-cols a {
        padding: 0.55rem 0;
        font-size: 0.92rem;
        border-bottom: none;
    }

    .header-nav a:last-child {
        border-bottom: none;
    }

    .header-nav .nav-cta-mobile {
        display: block;
        text-align: center;
        margin-top: 1.25rem;
        padding: 0.85rem 1rem;
        border: none;
        color: var(--midnight-navy);
    }

    .header-nav .nav-cta-mobile:hover {
        color: var(--midnight-navy);
    }

    @media (prefers-reduced-motion: reduce) {
        .header-nav,
        header.nav-open .header-nav {
            transition: none;
        }
    }
}

@media (max-width: 380px) {
    .site-logo-nav {
        height: 22px;
        width: auto;
        max-width: 160px;
    }
}

/* Hero Section with Commercial Glass Towers Background */
.hero {
    background:
        linear-gradient(rgba(10, 25, 47, 0.4), rgba(10, 25, 47, 0.4)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: multiply;
    padding: 10rem 4rem 12rem;
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 47, 0.4);
    z-index: 1;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 0.3px;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Dual CTAs */
.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.cta-primary {
    padding: 1.2rem 3rem;
    background: var(--gold);
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
}

.cta-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

.cta-secondary {
    padding: 1.2rem 3rem;
    background: transparent;
    color: white;
    border: 2px solid var(--gold);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.cta-secondary:hover {
    background: var(--gold);
    color: white;
}

/* Slim Frosted Glass Search Bar - 20% Reduced Height */
.search-bar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.2rem 1.6rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    margin: 0 auto;
}

.search-bar-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    margin-bottom: 1.2rem;
    text-align: left;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-field select {
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.search-field select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.2);
}

.search-field select option {
    background: var(--midnight-navy);
    color: white;
}

.search-button {
    grid-column: span 4;
    padding: 0.85rem;
    background: var(--gold);
    color: white;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-button:hover {
    background: var(--gold-hover);
}

/* WhatsApp Floating Icon */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    min-width: 250px;
    display: none;
}

.whatsapp-menu.active {
    display: block;
}

.whatsapp-menu-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.whatsapp-option {
    display: block;
    padding: 0.8rem;
    background: var(--paper-white);
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.whatsapp-option:hover {
    background: var(--gold);
    color: white;
}

/* The Difference Section */
.difference-section {
    background: var(--paper-white);
    padding: 6rem 4rem;
    text-align: center;
}

.difference-content {
    max-width: 900px;
    margin: 0 auto;
}

.difference-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.difference-body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
    font-weight: 300;
}

/* Leadership Section with Hidden Numbers */
.leadership-section {
    background: white;
    padding: 6rem 4rem;
}

.leadership-content {
    max-width: 1400px;
    margin: 0 auto;
}

.leadership-header {
    text-align: center;
    margin-bottom: 4rem;
}

.leadership-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.leadership-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    color: var(--text-gray);
    font-weight: 300;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.partner-card {
    background: var(--paper-white);
    border: 1px solid var(--border-gray);
    padding: 2.75rem 2rem 2.5rem;
    text-align: center;
}

.partner-photo-wrap {
    position: relative;
    width: 132px;
    height: 132px;
    margin: 0 auto 1.5rem;
}

.partner-photo {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #e8eef5;
}

.partner-photo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--midnight-navy);
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1;
}

.partner-wa-icon {
    position: absolute;
    right: 0;
    bottom: 2px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--paper-white);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.38);
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.partner-wa-icon:hover {
    background: #1ebe57;
    color: #fff;
    transform: scale(1.08);
}

.partner-wa-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.partner-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.partner-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.partner-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.partner-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 138px;
    padding: 11px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-action svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.partner-action-call {
    background: var(--midnight-navy);
    color: #fff;
}

.partner-action-call:hover {
    background: #13263d;
    color: #fff;
    transform: translateY(-1px);
}

.partner-action-wa {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.partner-action-wa:hover {
    background: #1ebe57;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38);
}

@media (max-width: 420px) {
    .partner-actions {
        flex-direction: column;
    }

    .partner-action {
        width: 100%;
    }
}

/* Coverage Section */
.coverage-section {
    background: var(--paper-white);
    padding: 6rem 4rem;
}

.coverage-content {
    max-width: 1600px;
    margin: 0 auto;
}

.coverage-header {
    text-align: center;
    margin-bottom: 5rem;
}

.coverage-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.coverage-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.coverage-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    color: var(--text-gray);
    font-weight: 300;
}

.market-category {
    margin-bottom: 5rem;
}

.category-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gold);
}

.category-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.location-card {
    background: white;
    border: 1px solid var(--border-gray);
    padding: 2rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.location-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.15);
}

.location-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.location-edge-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: block;
}

.location-edge-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.location-cta {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    background: var(--gold);
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.location-cta:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

/* Lead Capture */
.lead-capture-section {
    background: var(--san-juan);
    padding: 6rem 4rem;
}

.lead-capture-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead-capture-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: white;
    margin-bottom: 1rem;
}

.lead-capture-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    font-weight: 300;
}

.lead-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-field label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-field input,
.form-field textarea {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.form-field.full-width {
    grid-column: span 2;
}

.form-submit {
    grid-column: span 2;
    padding: 1.2rem;
    background: var(--gold);
    color: white;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.3s;
}

.form-submit:hover {
    background: var(--gold-hover);
}

/* Legal & Compliance Footer */
footer {
    background: var(--light-grey);
    padding: 4rem 4rem 2rem;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.footer-column a.footer-logo-link {
    display: block;
    width: max-content;
    max-width: 100%;
    margin-bottom: 1rem;
}

.site-logo-footer {
    display: block;
    height: 32px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    object-position: left center;
}

.footer-column p,
.footer-column a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-column a:hover {
    color: var(--gold);
}

.rera-text {
    font-weight: 600;
    color: var(--text-dark);
}

.brokerage-highlight {
    color: var(--gold);
    font-weight: 600;
}

.disclaimer-box {
    background: white;
    border: 1px solid var(--border-gray);
    padding: 1rem;
    max-height: 150px;
    overflow-y: auto;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.footer-disclaimer-full {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-gray);
}

.disclaimer-scroll-box {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    padding: 1rem;
    max-height: 120px;
    overflow-y: auto;
    font-size: 0.625rem;
    line-height: 1.6;
    color: var(--text-gray);
    text-align: left;
}

.disclaimer-scroll-box::-webkit-scrollbar {
    width: 6px;
}

.disclaimer-scroll-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.disclaimer-scroll-box::-webkit-scrollbar-thumb {
    background: #c9a961;
    border-radius: 3px;
}

.disclaimer-scroll-box::-webkit-scrollbar-thumb:hover {
    background: #b8984e;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-gray);
}

.footer-copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 300;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.dev-signature {
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-top: 30px;
    font-family: 'Montserrat', sans-serif;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ln-icon {
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.linkedin-link:hover {
    color: #0077b5;
}

.linkedin-link:hover .ln-icon {
    opacity: 1;
    transform: translateY(-1px);
}

.dev-signature a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.dev-signature a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .search-button {
        grid-column: span 2;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .lead-form {
        grid-template-columns: 1fr;
    }

    .form-field.full-width,
    .form-submit {
        grid-column: span 1;
    }
}

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

    .hero {
        padding: 5rem 1.5rem 7rem;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .search-bar {
        padding: 1.2rem 1.5rem;
    }

    .search-grid {
        grid-template-columns: 1fr;
    }

    .search-button {
        grid-column: span 1;
    }

    .locations-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
}

/* == Search Bar ==*/

.search-section {
    padding: 60px 20px;
    text-align: center;
    background: var(--san-juan);
}

.search-content {
    max-width: 600px;
    margin: 0 auto;
}

.search-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 8px;
    color: white;
}

.search-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 28px;
    opacity: 0.6;
    color: white;
}

.search-wrapper {
    position: relative;
}

.location-search-input {
    width: 100%;
    padding: 14px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    outline: none;
    box-sizing: border-box;
}

.search-results-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    border-top: none;
    background: #fff;
    z-index: 100;
    max-height: 320px;
    overflow-y: auto;
}

.search-results-dropdown.active {
    display: block;
}

.search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'Montserrat', sans-serif;
}

.search-result-item:hover {
    background: #f8f8f8;
}

.result-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.result-category {
    font-size: 0.75rem;
    opacity: 0.5;
    letter-spacing: 0.05em;
}

.search-no-result {
    padding: 14px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* == Property Listing == */

.gallery-section {
    padding: 3.25rem 4rem 5rem;
    background: var(--paper-white);
    min-height: 70vh;
}

.gallery-section h2 {
    margin: 0 0 2rem;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    font-weight: 500;
    color: var(--ink);
    text-align: left;
}

.listing-page.gallery-section {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding: 2.5rem 2rem 5rem;
}

.listing-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.listing-eyebrow {
    justify-content: flex-start;
    margin-bottom: 0.45rem;
}

.listing-page h1 {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 500;
    color: var(--ink);
}

.listing-page .gallery-count-label {
    margin: 0;
}

.listing-filter-open {
    display: none;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 1.15rem;
    border: 1px solid var(--stone-dark);
    background: #fff;
    color: var(--ink);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.listing-body {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.listing-sidebar {
    background: #fff;
    border: 1px solid var(--stone-dark);
    border-radius: 12px;
    padding: 1.35rem 1.2rem 1.2rem;
    position: sticky;
    top: 88px;
}

.listing-sheet-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.listing-sheet-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--ink);
}

.listing-sheet-close {
    display: none;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--ink-muted);
    cursor: pointer;
}

.gallery-filter-bar.is-stacked {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 0.95rem;
    padding: 0;
    margin: 0 0 1.15rem;
    border: 0;
}

.gallery-filter-bar.is-stacked label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.4rem;
}

.listing-filter-actions {
    display: grid;
    gap: 8px;
}

.listing-filter-apply {
    display: none;
    width: 100%;
    justify-content: center;
}

.listing-filter-clear {
    background: none;
    border: 0;
    color: var(--ink-muted);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.35rem 0;
}

.listing-filter-clear:hover {
    color: var(--ink);
}

.listing-overlay {
    display: none;
}

.listing-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 2rem;
}

.listing-pager-btn {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--stone-dark);
    border-radius: 6px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.85rem;
    background: #fff;
}

.listing-pager-btn.is-current,
.listing-pager-btn:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: #fff;
}

@media (max-width: 900px) {
    .listing-page.gallery-section {
        padding: 1.75rem 1.15rem 4.5rem;
    }
    .listing-filter-open {
        display: inline-flex;
        flex-shrink: 0;
    }
    .listing-body {
        grid-template-columns: 1fr;
    }
    .listing-sidebar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        z-index: 1200;
        max-height: 88vh;
        overflow: auto;
        border-radius: 18px 18px 0 0;
        transform: translateY(110%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s ease, visibility 0s linear 0.3s;
        box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
    }
    .listing-sidebar.is-open {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
        transition: transform 0.3s ease, visibility 0s linear 0s;
    }
    .listing-sheet-close {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .listing-filter-apply {
        display: inline-flex;
    }
    .listing-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(10, 25, 47, 0.5);
        z-index: 1190;
    }
    .listing-overlay[hidden] {
        display: none;
    }
}

/* --- Gallery Grid Layout --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    padding-top: 0.25rem;
}

.gallery-grid.is-loading {
    pointer-events: none;
}

.gallery-card-skeleton {
    box-shadow: none;
}

.gallery-card-skeleton:hover {
    transform: none;
    box-shadow: none;
}

.skeleton-shine,
.skeleton-line,
.skeleton-badge {
    background: linear-gradient(90deg, #e8e3da 0%, #f4f0e8 45%, #e8e3da 90%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.15s ease-in-out infinite;
}

.gallery-card-skeleton .gallery-image-wrap {
    background: #e8e3da;
}

.skeleton-badge {
    display: inline-block;
    width: 72px;
    height: 26px;
    border-radius: 4px;
}

.skeleton-line {
    height: 12px;
    border-radius: 4px;
    width: 100%;
}

.skeleton-sm {
    width: 42%;
    height: 10px;
}

.skeleton-title {
    width: 78%;
    height: 18px;
}

.skeleton-price {
    width: 48%;
    height: 22px;
}

.skeleton-btn {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    margin-top: 6px;
}

.gallery-count-label.is-skeleton {
    display: flex;
    align-items: center;
    min-height: 1.1em;
}

.skeleton-count {
    width: 220px;
    height: 11px;
    display: inline-block;
}

@keyframes skeleton-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .skeleton-shine,
    .skeleton-line,
    .skeleton-badge {
        animation: none;
    }
}

/* --- The Card --- */
.gallery-card {
    margin: 0;
    background: #fff;
    border-radius: 12px;
    /* Sharper, more corporate corners */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* --- Image & Badges --- */
.gallery-image-wrap {
    aspect-ratio: 16 / 10;
    /* A wider aspect ratio looks better for offices/land */
    width: 100%;
    overflow: hidden;
    background: #f8f8f8;
    position: relative;
    /* Anchors the badges */
}

.gallery-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image-wrap img {
    transform: scale(1.05);
    /* Slight zoom effect on hover */
}

.gallery-badges {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.badge {
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* --- Card Typography & Data --- */
.gallery-info {
    padding: 1.35rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.gallery-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.5px;
}

.gallery-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
    /* This neat trick limits the description to exactly 2 lines and adds '...' if it's too long */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Admin Controls --- */
.gallery-delete-btn {
    margin-top: auto;
    /* Always sits at the very bottom of the card */
    background: #fff;
    color: #d32f2f;
    border: 1px solid #d32f2f;
    padding: 10px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-delete-btn:hover {
    background: #d32f2f;
    color: #fff;
}

.gallery-caption {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Container for the whole filter bar */
.gallery-filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 240px));
    justify-content: center;
    gap: 16px 20px;
    padding: 8px 0 28px;
    margin-bottom: 22px;
    border-bottom: 1px solid #e8e4dc;
}

.filter-group {
    position: relative;
    min-width: 0;
    width: 100%;
    z-index: 20;
}

.gallery-filter-bar .select2-container {
    width: 100% !important;
}

.gallery-filter-bar .select2-container--default .select2-selection--single {
    height: 48px;
    border: 1px solid #cfc9bf;
    border-radius: 2px;
    background: #fff;
}

.gallery-filter-bar .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
    padding-left: 16px;
    padding-right: 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #111;
}

.gallery-filter-bar .filter-select-caps + .select2 .select2-selection__rendered {
    text-transform: uppercase;
}

.gallery-filter-bar .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 8px;
}

.select2-container {
    z-index: 4000;
}

.select2-container--open {
    z-index: 5000;
}

.select2-dropdown {
    border-color: #cfc9bf;
    border-radius: 0 0 2px 2px;
    font-family: 'Montserrat', sans-serif;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #cfc9bf;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    padding: 7px 8px;
    outline: none;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #111;
}

.select2-results__option {
    font-size: 13px;
    padding: 8px 12px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: #111;
    color: #fff;
}

@media (max-width: 1024px) {
    .gallery-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 2rem 1.15rem 3.5rem;
    }
    .gallery-section h2 {
        margin-bottom: 1.25rem;
        font-size: 2rem;
    }
    .gallery-filter-bar {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-bottom: 18px;
        margin-bottom: 16px;
    }
    .gallery-filter-bar .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 13px;
        letter-spacing: 0.6px;
    }
    .select2-container--default .select2-search--dropdown .select2-search__field {
        font-size: 16px;
    }
}

@media (max-width: 560px) {
    .gallery-grid {
        gap: 1.25rem;
    }
}

/* Container for the search bar and filters */
.search-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    gap: 10px;
    max-width: 1100px;
    margin: 20px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    /* Keep dropdown anchored here */
}

/* The text input - grows to take available space */
.location-search-input {
    flex: 2;
    min-width: 200px;
    border: none;
    padding: 12px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    outline: none;
    border-right: 1px solid #eee;
}

/* The dropdown selects */
.property-type-select {
    flex: 1;
    min-width: 150px;
    border: none;
    background: #fff;
    padding: 12px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    outline: none;
    appearance: none;
    /* Removes default browser arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}

/* Add vertical dividers between selects */
.property-type-select:not(:last-of-type) {
    border-right: 1px solid #eee;
}

/* Search Results Dropdown Styling */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    /* Managed by your script's .active class */
}

.search-results-dropdown.active {
    display: block;
}

/* Individual Result Items */
.search-result-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f9f9f9;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f0f7ff;
}

.result-name {
    font-weight: 600;
    font-size: 14px;
}

.result-category {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-wrapper {
        flex-direction: column;
        padding: 5px;
    }

    .location-search-input,
    .property-type-select {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .property-type-select:last-of-type {
        border-bottom: none;
    }
}

.market-search-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-left: 10px;
}

.market-search-btn:hover {
    background: #333;
}

/* Ensure the button looks good on mobile */
@media (max-width: 768px) {
    .market-search-btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        padding: 15px;
    }
}

/* ─── STICKY WHATSAPP ─── */
.wa-sticky {
    position: fixed;
    right: 1.5rem;
    bottom: 5rem;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.wa-sticky-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    border-radius: 100px;
    padding: 12px 20px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.wa-sticky-btn:hover {
    color: #fff;
    transform: scale(1.04);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

.wa-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.wa-panel {
    background: var(--white);
    border-radius: var(--r-lg);
    border: 1px solid var(--stone-mid);
    box-shadow: var(--shadow-lg);
    width: 280px;
    overflow: hidden;
    transform: scale(0.9) translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    transform-origin: bottom right;
}

.wa-panel.show {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.wa-panel-header {
    background: #25D366;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-panel-header strong {
    color: #fff;
    font-size: 0.9rem;
}

.wa-panel-header span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

.wa-panel-body {
    padding: 16px;
}

.wa-panel-body p {
    font-size: 0.82rem;
    color: var(--ink-muted);
    margin-bottom: 12px;
}

.wa-partner-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--r);
    background: var(--stone);
    border: 1px solid var(--stone-mid);
    cursor: pointer;
    margin-bottom: 8px;
    text-decoration: none;
    color: var(--ink);
    transition: all 0.2s;
}

.wa-partner-btn:hover {
    background: #E8FFF0;
    border-color: #25D366;
}

.wa-partner-btn:last-child {
    margin-bottom: 0;
}

.wa-partner-info strong {
    font-size: 0.82rem;
    display: block;
}

.wa-partner-info span {
    font-size: 0.73rem;
    color: var(--ink-muted);
}

.wa-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--stone-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-dark);
}

.btn-wa {
    background: #25D366;
    color: #fff;
    font-size: 0.82rem;
}

.btn-wa:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
}

/* ========================================== */
/* OWNER PROPERTY MODAL                       */
/* ========================================== */
.owner-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9000;
    display: none;
    /* Hidden by default */
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem;
}

.owner-modal.show {
    display: flex;
    /* Displayed when the .show class is added */
}

.owner-box {
    background: var(--white);
    border-radius: var(--r-lg);
    width: 600px;
    max-width: 100%;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
    margin: auto;
}

.owner-head {
    background: var(--midnight-navy);
    padding: 1.75rem 2rem;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    position: relative;
}

.owner-head h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 4px;
}

.owner-head p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}

.owner-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
}

.owner-close:hover {
    color: #fff;
}

.owner-body {
    padding: 2rem;
}

.owner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.owner-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.owner-field.full {
    grid-column: 1 / -1;
}

.owner-field label {
    font-family: var(--font-mono);
    font-size: 0.63rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stone-dark);
}

.owner-field input,
.owner-field select,
.owner-field textarea {
    border: 1px solid var(--stone-dark);
    border-radius: var(--r);
    padding: 10px 13px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s;
    background: var(--white);
}

.owner-field input:focus,
.owner-field select:focus,
.owner-field textarea:focus {
    border-color: var(--gold);
}

.owner-field textarea {
    min-height: 80px;
    resize: vertical;
}

.owner-perks {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.owner-perk {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--ink-muted);
}

.owner-perk::before {
    content: '✓';
    color: #1D9E75;
    font-weight: 600;
}

.owner-submit {
    width: 100%;
    padding: 13px;
    background: var(--gold);
    color: var(--midnight-navy);
    border: none;
    border-radius: var(--r);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.owner-submit:hover {
    background: var(--gold-light);
}

.owner-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.owner-success .tick {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: #1D9E75;
}

.owner-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    border-radius: var(--r);
    padding: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    margin-top: 1rem;
    transition: background 0.2s;
    text-decoration: none;
}

.owner-wa:hover {
    background: #1ebe5d;
}

@media (max-width: 768px) {
    .owner-modal {
        padding: 0.75rem !important;
    }

    .owner-grid {
        grid-template-columns: 1fr;
    }
}

/* Global Heading Typography (Matches ref-apr-11.html) */
h1, h2, h3, h4 { 
    font-family: var(--font-display); 
    font-weight: 500; 
    line-height: 1.2; 
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: 1.4rem; }

.gallery-count-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

/* ─── MOBILE RESPONSIVENESS ─── */

@media (max-width: 768px) {
    .calc-wrap {
        flex-direction: column;
        gap: 2.5rem;
    }

    .calc-info h2 {
        font-size: 2rem;
    }

    .calc-box {
        padding: 1.5rem;
    }

    .result-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; 
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .result-item {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .result-value {
        font-size: 1.25rem;
    }

    input[type="range"] {
        height: 30px; 
    }

    .deals-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .deal-card {
        padding: 1.5rem;
    }

    .deal-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .deal-stat {
        flex: 1 1 40%;
    }

    .deal-stat-value {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .result-grid {
        grid-template-columns: 1fr;
    }
    
    .deal-stat {
        flex: 1 1 100%;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--border-gray);
    }
    
    .deal-stat:last-child {
        border-bottom: none;
    }
}

body > header {
    transition: transform 0.3s ease;
}

body > header.header-hidden {
    transform: translateY(-100%);
}

.gallery-ref {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
}

.gallery-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 500;
    margin: 0;
    color: #111;
    line-height: 1.3;
}

.gallery-title a,
.gallery-image-link {
    color: inherit;
    text-decoration: none;
}

.gallery-image-link {
    display: block;
}

.gallery-title a:hover {
    color: var(--gold-dark);
}

.gallery-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.gallery-wa-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-wa-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.gallery-wa-btn:hover {
    background: #1ebe57;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38);
}

.gallery-wa,
.gallery-enquire {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.gallery-wa {
    background: #25D366;
    color: #fff;
}

.gallery-enquire {
    background: transparent;
    color: #000;
    border: 1px solid #000;
}

.search-empty {
    grid-column: 1 / -1;
    padding: 2.5rem 1rem;
    text-align: center;
    color: #666;
}

/* ─── Blog listing & detail ─── */
.blog-listing-page {
    padding: 3.5rem 0 4rem;
    background: var(--paper-white);
}

.blog-listing-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    color: var(--ink);
}

.blog-listing-header .text-muted {
    max-width: 560px;
    font-size: 1.02rem;
}

.blog-filter-bar {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 12px;
    margin: 2rem 0 1.25rem;
}

.blog-filter-bar input,
.blog-filter-bar select {
    width: 100%;
    height: 48px;
    border: 1px solid #cfc9bf;
    background: #fff;
    padding: 0 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    color: #111;
}

.blog-count-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 1.5rem;
}

.blog-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1.75rem;
}

.blog-listing-grid.is-loading {
    pointer-events: none;
}

.blog-card-skeleton {
    pointer-events: none;
    box-shadow: none;
}

.blog-card-skeleton:hover {
    transform: none;
    box-shadow: none;
}

.blog-card-skeleton .blog-card-media {
    min-height: 180px;
    background: #ece8e1;
}

.blog-count-label.is-skeleton {
    min-height: 1.1em;
    display: flex;
    align-items: center;
}

.blog-count-label.is-skeleton .skeleton-count {
    max-width: 220px;
}

.blog-listing-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-blog-grid {
    margin-top: 3rem;
}

.blog-card-listing {
    background: #fff;
    border: 1px solid var(--stone-mid);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-listing:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.blog-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 4px;
}

.blog-card-copy {
    padding: 1.2rem 1.3rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.blog-card-heading {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}

.blog-card-heading a {
    color: var(--ink);
    text-decoration: none;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-copy .blog-read-more {
    margin-top: auto;
    color: var(--gold-dark);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2.5rem;
}

.blog-page-link {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cfc9bf;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
}

.blog-page-link.is-active {
    background: var(--midnight-navy);
    border-color: var(--midnight-navy);
    color: #fff;
}

.blog-detail-page {
    background: var(--paper-white);
    padding-bottom: 2rem;
}

.blog-detail-hero {
    padding: 3rem 0 1.5rem;
}

.blog-back {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--ink-muted);
    text-decoration: none;
    font-size: 0.85rem;
}

.blog-detail-cat {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.blog-detail-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 500;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 0 1rem;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.blog-detail-cover {
    margin: 0 0 2.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.blog-detail-cover img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
    padding-bottom: 3rem;
}

.blog-toc,
.blog-share {
    background: #fff;
    border: 1px solid var(--stone-mid);
    border-radius: 10px;
    padding: 1.1rem 1.2rem;
    margin-bottom: 1rem;
}

.blog-toc h2,
.blog-share h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 0.85rem;
    color: var(--ink-muted);
}

.blog-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-toc a {
    display: block;
    padding: 0.4rem 0;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.4;
    border-bottom: 1px solid #f0ece6;
}

.blog-toc li:last-child a {
    border-bottom: none;
}

.blog-toc .toc-level-3 a {
    padding-left: 12px;
    font-size: 0.82rem;
    color: var(--ink-muted);
}

.blog-toc-wrap {
    position: sticky;
    top: 88px;
}

.blog-share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-btn {
    border: 1px solid #cfc9bf;
    background: #fff;
    color: #111;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 8px 10px;
    text-decoration: none;
    cursor: pointer;
    border-radius: 4px;
}

.share-wa { background: #25D366; border-color: #25D366; color: #fff; }
.share-li { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.share-x { background: #111; border-color: #111; color: #fff; }
.share-fb { background: #1877F2; border-color: #1877F2; color: #fff; }

.blog-detail-body {
    min-width: 0;
    max-width: 100%;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    overflow-wrap: break-word;
    word-break: break-word;
}

.blog-detail-body p {
    margin: 0 0 1.15rem;
}

.blog-detail-body h2 {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 500;
    margin: 2rem 0 0.85rem;
    color: var(--ink);
}

.blog-detail-body h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    margin: 1.5rem 0 0.6rem;
}

/* Ensure blog content images and embeds never overflow */
.blog-detail-body img,
.blog-detail-body iframe,
.blog-detail-body video {
    max-width: 100%;
    height: auto;
}

/* Responsive Table Styles for Blog Content */
.blog-table-container {
    width: 100%;
    max-width: 100%;
    margin: 1.85rem 0;
    clear: both;
}

.blog-table-hint {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--ink-muted, #716e68);
    margin-bottom: 0.45rem;
    font-family: var(--font-mono, monospace);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    user-select: none;
}

.blog-table-hint svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    opacity: 0.8;
}

.blog-table-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--stone-mid, #cfc9bf);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Custom scrollbar for table container */
.blog-table-wrap::-webkit-scrollbar {
    height: 6px;
}
.blog-table-wrap::-webkit-scrollbar-track {
    background: #f4f2ee;
    border-radius: 3px;
}
.blog-table-wrap::-webkit-scrollbar-thumb {
    background: #c7c0b3;
    border-radius: 3px;
}
.blog-table-wrap::-webkit-scrollbar-thumb:hover {
    background: #a89f90;
}

/* Fallback for unwrapped tables */
.blog-detail-body > table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.85rem 0;
    border: 1px solid var(--stone-mid, #cfc9bf);
    border-radius: 8px;
    border-collapse: collapse;
}

/* Blog detail table styling */
.blog-detail-body table {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #262626;
}

.blog-table-wrap table {
    display: table;
    width: 100% !important;
    min-width: 520px;
    margin: 0 !important;
    border: none;
}

.blog-detail-body table th {
    background: var(--midnight-navy, #0A192F);
    color: #fff;
    font-weight: 600;
    padding: 11px 14px;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.blog-detail-body table td {
    padding: 10px 14px;
    vertical-align: top;
    text-align: left;
    border: 1px solid var(--stone-mid, #eae6df);
    word-break: normal;
}

.blog-detail-body table tr:nth-child(even) td {
    background-color: rgba(0, 0, 0, 0.02);
}

.blog-detail-body table p {
    margin: 0;
    line-height: inherit;
}

.blog-more {
    padding-bottom: 3rem;
}

.blog-more-block {
    margin-top: 1.5rem;
}

.blog-more-block > h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 1.25rem;
}

.blog-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.blog-recent-list a {
    display: grid;
    gap: 4px;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid var(--stone-mid);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
}

.blog-recent-cat,
.blog-recent-date {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.blog-recent-list strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
}

.blog-cta {
    background: var(--midnight-navy);
    padding: 3.5rem 0;
}

.blog-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.blog-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #fff;
    font-weight: 500;
    margin: 0 0 0.5rem;
}

.blog-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 520px;
}

.blog-cta .section-eyebrow span {
    color: var(--gold-light);
}

.blog-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-cta-ghost {
    border-color: var(--gold);
    color: #fff;
}

@media (max-width: 900px) {
    .blog-filter-bar {
        grid-template-columns: 1fr;
    }
    .blog-detail-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
    .blog-listing-grid-3 {
        grid-template-columns: 1fr;
    }
    .blog-toc-wrap {
        position: static;
    }
    .blog-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .blog-table-container .blog-table-hint {
        display: flex;
    }
    .blog-table-wrap table {
        min-width: 480px;
        font-size: 0.88rem;
    }
    .blog-detail-body table th,
    .blog-detail-body table td {
        padding: 8px 10px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1.25rem;
    }
    .blog-detail-hero {
        padding: 2rem 0 1rem;
    }
    .blog-table-wrap table {
        min-width: 440px;
        font-size: 0.84rem;
    }
}

.field-error {
    display: block;
    margin-top: 0.3rem;
    color: #b42318;
    font-size: 0.78rem;
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.gate-field.is-invalid input,
label.is-invalid input {
    border-color: #b42318;
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: var(--midnight-navy);
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    max-width: min(92vw, 420px);
    text-align: center;
    opacity: 0;
    pointer-events: none;
    z-index: 4000;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

/* Property inner page */
.property-detail-page {
    padding: 2rem 0 5rem;
    background: var(--stone);
}

.property-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas:
        "main aside"
        "rest aside";
    gap: 1.75rem 2rem;
    align-items: start;
}

.property-detail-main { grid-area: main; }
.property-enquire-wrap { grid-area: aside; }
.property-detail-rest { grid-area: rest; }

.property-gallery {
    background: #fff;
    border: 1px solid #eae6df;
    border-radius: 12px;
    overflow: hidden;
}

.property-swiper {
    width: 100%;
}

.property-swiper .swiper-slide img {
    width: 100%;
    height: min(62vh, 520px);
    object-fit: cover;
    display: block;
    background: #ece8e1;
}

.property-swiper .swiper-button-next,
.property-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(10, 25, 47, 0.55);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.property-swiper .swiper-button-next:after,
.property-swiper .swiper-button-prev:after {
    font-size: 16px;
}

.property-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
}

.property-thumbs {
    padding: 10px;
    background: #fff;
}

.property-thumbs .swiper-slide {
    opacity: 0.55;
    cursor: pointer;
    height: auto;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    box-sizing: border-box;
}

.property-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--gold);
}

.property-thumb-inner {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #ece8e1;
}

.property-thumbs img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-intro {
    margin-top: 1.5rem;
}

.property-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--ink-muted);
    margin-bottom: 0.75rem;
}

.property-crumbs a {
    color: var(--ink-muted);
    text-decoration: none;
}

.property-crumbs a:hover {
    color: var(--gold-dark);
}

.property-kicker {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.45rem;
}

.property-intro h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 0.4rem;
    color: var(--ink);
}

.property-location {
    color: var(--ink-muted);
    margin: 0 0 1rem;
}

.property-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 24px;
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #f0ede6;
}

.property-price-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.property-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}

.property-price-words {
    font-size: 0.95rem;
    font-weight: 500;
    color: #0b7285;
    background: #e6fcf5;
    border: 1px solid #c3fae8;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.2px;
}

.property-areas-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.property-area {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
}

.property-area-builtup {
    font-size: 0.92rem;
    color: var(--ink-muted);
    font-weight: 500;
}

.property-area-tag {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8c857b;
    font-weight: 600;
    margin-right: 4px;
}

.property-section {
    background: #fff;
    border: 1px solid #eae6df;
    border-radius: 12px;
    padding: 1.5rem 1.6rem;
    margin-top: 1.25rem;
}

.property-section h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0 0 1rem;
}

.property-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem 1.25rem;
    margin: 0;
}

.property-facts dt {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
}

.property-facts dd {
    margin: 0.2rem 0 0;
    font-weight: 600;
    color: var(--ink);
}

.property-copy {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--ink-muted);
}

.property-copy p {
    margin: 0 0 0.9rem;
}

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

.property-highlights,
.property-amenities {
    list-style: none;
    margin: 0;
    padding: 0;
}

.property-highlights li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.3rem;
    color: var(--ink-muted);
}

.property-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold-dark);
}

.property-amenities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px 16px;
}

.property-amenities li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--stone);
    border-radius: 6px;
    font-size: 0.92rem;
}

.amenity-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--gold-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.amenity-icon svg {
    width: 18px;
    height: 18px;
}

.property-map-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.property-map-head a {
    font-size: 0.85rem;
    color: var(--gold-dark);
    text-decoration: none;
}

.property-map-address {
    margin: 0 0 0.85rem;
    color: var(--ink-muted);
}

.property-map {
    border-radius: 10px;
    overflow: hidden;
    background: #ece8e1;
    min-height: 280px;
}

.property-map iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

.property-related .gallery-grid {
    margin-top: 0.25rem;
}

.property-enquire-wrap {
    position: sticky;
    top: calc(var(--header-h, 72px) + 16px);
}

.property-enquire-card {
    background: #fff;
    border: 1px solid #eae6df;
    border-radius: 12px;
    padding: 1.4rem 1.35rem 1.25rem;
    box-shadow: var(--shadow);
}

.property-enquire-card h2 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 500;
    margin: 0 0 0.35rem;
}

.property-enquire-card > div > p,
.property-enquire-card p {
    color: var(--ink-muted);
    font-size: 0.9rem;
    margin: 0 0 1rem;
}

.property-enquire-card label {
    display: block;
    margin-bottom: 0.75rem;
}

.property-enquire-card label span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.3rem;
}

.property-enquire-card input,
.property-enquire-card textarea {
    width: 100%;
    border: 1px solid #d8d2c8;
    border-radius: 6px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
}

.property-enquire-card input:focus,
.property-enquire-card textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.property-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0.95rem 0;
    color: #9a948a;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.property-or:before,
.property-or:after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e0dbd3;
}

.property-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 16px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.property-wa-btn:hover {
    background: #1ebe5d;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.42);
}

.property-wa-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.property-wa-link {
    display: block;
    text-align: center;
    margin-top: 0.75rem;
    color: #128C7E;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}

@media (max-width: 960px) {
    .property-detail-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "aside"
            "rest";
    }
    .property-enquire-wrap {
        position: static;
    }
    .property-swiper .swiper-slide img {
        height: 52vw;
        min-height: 220px;
        max-height: 360px;
    }
    .property-thumbs {
        padding: 8px;
    }
}

/* Gated Q&A lead magnets */
.qa-page {
    background: var(--ink);
    min-height: 70vh;
    padding: 0;
}

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

.qa-landing-panel {
    padding: 0;
}

.qa-hero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.qa-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.qa-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(10, 25, 47, 0.92) 0%, rgba(10, 25, 47, 0.78) 46%, rgba(14, 14, 14, 0.42) 100%),
        radial-gradient(circle at 80% 20%, rgba(201, 169, 110, 0.22), transparent 42%);
}

.qa-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 3rem;
    align-items: start;
    width: 100%;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.qa-hero-eyebrow {
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.qa-hero-eyebrow span,
.qa-hero-eyebrow {
    color: var(--gold-light);
}

.qa-hero-copy h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.15rem, 4.2vw, 3.55rem);
    line-height: 1.12;
    color: #fff;
    margin: 0 0 1rem;
    max-width: 16ch;
}

.qa-hero-copy .qa-subhead {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 0.9rem;
    max-width: 38rem;
}

.qa-hero-copy .qa-intro {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.75;
    margin: 0 0 1.4rem;
    max-width: 38rem;
}

.qa-hero-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 1.6rem;
    padding: 0;
}

.qa-hero-chips li {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
    border: 1px solid rgba(201, 169, 110, 0.45);
    background: rgba(201, 169, 110, 0.1);
    padding: 7px 11px;
    border-radius: 99px;
}

.qa-hero .qa-start {
    display: inline-flex;
}

.qa-hero-steps {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem 1.6rem;
    margin: 1.6rem 0 0;
    padding: 0;
}

.qa-hero-steps li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}

.qa-hero-steps span {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: var(--gold);
}

.qa-hero-card {
    background: rgba(253, 252, 250, 0.08);
    border: 1px solid rgba(201, 169, 110, 0.32);
    border-radius: 16px;
    padding: 1.85rem 1.7rem;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    min-height: 540px;
    scroll-margin-top: 96px;
}

.qa-hero-card::before {
    content: '';
    display: block;
    height: 3px;
    margin: -1.85rem -1.7rem 1.35rem;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 16px 16px 0 0;
}

.qa-hero-card-kicker {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin: 0 0 0.45rem;
}

.qa-hero-card h2 {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 0.55rem;
}

.qa-hero-card-copy {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.65;
    margin: 0 0 1.25rem;
    font-size: 0.92rem;
}

.qa-hero-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 1rem;
}

.qa-hero-compare div {
    background: rgba(10, 25, 47, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem 0.9rem;
}

.qa-hero-compare span {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.35rem;
}

.qa-hero-compare strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 500;
    color: #fff;
}

.qa-hero-compare small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.qa-hero-card-markets {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
}

.qa-hero-bands {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.qa-hero-bands li {
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
    background: rgba(10, 25, 47, 0.4);
}

.qa-hero-bands span {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: #fff;
}

.qa-hero-bands small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
}

.qa-stepper-head {
    margin-bottom: 1rem;
}

.qa-stepper .qa-progress {
    background: rgba(255, 255, 255, 0.12);
    margin: 0.75rem 0 0;
}

.qa-stepper .qa-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.qa-stepper .qa-question,
.qa-stepper h2 {
    font-family: var(--font-display);
    font-size: 1.38rem;
    line-height: 1.25;
    color: #fff;
    margin: 0 0 0.9rem;
}

.qa-stepper .qa-options {
    margin: 0 0 1rem;
    gap: 8px;
}

.qa-stepper .qa-option {
    background: rgba(10, 25, 47, 0.42);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.92rem;
    padding: 0.85rem 1rem;
}

.qa-stepper .qa-option:hover,
.qa-stepper .qa-option.is-selected {
    border-color: var(--gold);
    background: rgba(201, 169, 110, 0.16);
    color: #fff;
}

.qa-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 1rem;
}

.qa-nav-back {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 169, 110, 0.5);
    background: rgba(10, 25, 47, 0.45);
    color: #fff;
    border-radius: var(--r);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.qa-nav-back svg {
    width: 18px;
    height: 18px;
}

.qa-nav-back:hover:not(:disabled) {
    border-color: var(--gold);
    background: rgba(201, 169, 110, 0.16);
}

.qa-nav-back:disabled {
    opacity: 0.35;
    cursor: default;
}

.qa-nav-continue,
.qa-nav .qa-gate-submit {
    flex: 1;
    justify-content: center;
    height: 48px;
    padding: 0 1.25rem;
}

.qa-nav-continue:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
}

.qa-stepper .qa-intro,
.qa-stepper .qa-note,
.qa-stepper .qa-kicker {
    color: rgba(255, 255, 255, 0.62);
}

.qa-stepper .qa-kicker {
    color: var(--gold-light);
}

.qa-stepper .qa-gate {
    max-width: none;
    gap: 0.75rem;
    margin-bottom: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.qa-stepper .qa-gate .qa-nav {
    margin-top: auto;
}

.qa-stepper .qa-gate label span {
    color: rgba(255, 255, 255, 0.5);
}

.qa-stepper .qa-gate input {
    background: rgba(10, 25, 47, 0.5);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.qa-stepper .qa-gate input:focus {
    outline: none;
    border-color: var(--gold);
}

.qa-stepper .qa-gate-submit {
    width: auto;
}

.qa-stepper .qa-compare {
    margin: 0.75rem 0 1rem;
    gap: 8px;
}

.qa-stepper .qa-compare-col {
    background: rgba(10, 25, 47, 0.45);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.qa-stepper .qa-compare-col.is-focus {
    border-color: var(--gold);
    box-shadow: none;
}

.qa-stepper .qa-compare-col h3,
.qa-stepper .qa-compare-value {
    color: #fff;
}

.qa-stepper .qa-compare-col p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin: 0;
}

.qa-stepper .qa-compare-value {
    font-size: 1.45rem;
}

.qa-stepper .qa-result-cta {
    background: transparent;
    border: 0;
    padding: 0.75rem 0 0;
    margin-top: 0.5rem;
}

.qa-stepper .qa-result-cta h3 {
    color: #fff;
    font-size: 1.35rem;
}

.qa-stepper .qa-result-cta p {
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 0.9rem;
}

.qa-retake {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    margin-top: 10px;
    padding: 0 1.25rem;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(201, 169, 110, 0.65);
    border-radius: var(--r);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.qa-retake:hover {
    background: rgba(201, 169, 110, 0.16);
    border-color: var(--gold);
}

.qa-shell .qa-panel h2 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 0.75rem;
}

.qa-subhead {
    font-size: 1.15rem;
    color: var(--ink);
    margin: 0 0 1rem;
}

.qa-intro,
.qa-note {
    color: var(--ink-muted);
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.qa-start,
.qa-gate-submit {
    display: inline-flex;
    cursor: pointer;
}

.qa-progress {
    height: 4px;
    background: #e6e0d6;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.qa-progress-bar {
    height: 100%;
    width: 0;
    background: var(--gold);
    transition: width 0.25s ease;
}

.qa-step,
.qa-kicker {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin: 0 0 0.75rem;
}

.qa-question {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.qa-options {
    display: grid;
    gap: 10px;
    margin: 1.5rem 0 1.25rem;
}

.qa-option {
    text-align: left;
    background: #fff;
    border: 1px solid #e4ddd3;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.qa-option:hover,
.qa-option.is-selected {
    border-color: var(--gold);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.qa-back {
    background: none;
    border: none;
    color: var(--ink-muted);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
}

.qa-gate {
    display: grid;
    gap: 0.9rem;
    max-width: 480px;
}

.qa-gate label span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.3rem;
}

.qa-gate input {
    width: 100%;
    border: 1px solid #d8d2c8;
    border-radius: 6px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 0.95rem;
}

.qa-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.25rem 0;
}

.qa-compare-col {
    background: #fff;
    border: 1px solid #e4ddd3;
    border-radius: 12px;
    padding: 1.25rem;
}

.qa-compare-col.is-focus {
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.qa-compare-col h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-weight: 500;
}

.qa-compare-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.qa-result-cta {
    margin-top: 2rem;
    background: #fff;
    border: 1px solid #e4ddd3;
    border-radius: 12px;
    padding: 1.5rem;
}

.qa-result-cta h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0 0 0.4rem;
}

@media (max-width: 980px) {
    .qa-hero {
        min-height: auto;
    }
    .qa-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }
    .qa-hero-copy h1 {
        max-width: none;
        font-size: clamp(2rem, 8vw, 2.6rem);
    }
    .qa-hero-bg::after {
        background:
            linear-gradient(180deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.82) 55%, rgba(10, 25, 47, 0.72) 100%),
            radial-gradient(circle at 50% 0%, rgba(201, 169, 110, 0.18), transparent 46%);
    }
}

@media (max-width: 720px) {
    .qa-compare,
    .qa-hero-compare {
        grid-template-columns: 1fr;
    }
    .qa-hero-card {
        padding: 1.5rem 1.25rem;
        min-height: 0;
    }
    .qa-hero-card::before {
        margin: -1.5rem -1.25rem 1.15rem;
    }
}

/* Home: tool starting point */
.tools-start {
    padding: 5.5rem 0 5.75rem;
    background: var(--white);
    border-top: 1px solid var(--stone-mid);
    border-bottom: 1px solid var(--stone-mid);
    scroll-margin-top: 88px;
}

.tools-start-head {
    max-width: 720px;
    margin: 0 auto 3.25rem;
    text-align: center;
}

.tools-start-eyebrow {
    justify-content: center;
}

.tools-start-head h2 {
    margin: 0 0 0.85rem;
    color: var(--ink);
}

.tools-start-head p {
    margin: 0 auto;
    max-width: 560px;
    color: var(--ink-muted);
    line-height: 1.75;
    font-size: 1.02rem;
}

.tools-start-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.tools-start-or {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--gold-dark);
    min-width: 2.5rem;
}

.tools-start-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: var(--r-lg);
    padding: 2.15rem 2rem 2rem;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tools-start-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.tools-start-card-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.tools-start-num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1;
    color: var(--gold);
}

.tools-start-audience {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.tools-start-kicker {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin: 0 0 0.55rem;
}

.tools-start-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 0.75rem;
}

.tools-start-copy {
    margin: 0 0 1.35rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.tools-start-meta {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 1.75rem;
    padding: 0;
}

.tools-start-meta li {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 99px;
}

.tools-start-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 0.95rem 1.4rem;
    background: var(--gold);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--r);
    width: 100%;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tools-start-card:hover .tools-start-cta {
    background: var(--gold-hover);
}

.tools-start-card--quiz {
    background: var(--stone);
    border: 1px solid var(--stone-dark);
    color: var(--ink);
}

.tools-start-card--quiz .tools-start-copy {
    color: var(--ink-muted);
}

.tools-start-card--quiz .tools-start-meta li {
    background: #fff;
    color: var(--ink-muted);
    border: 1px solid var(--stone-dark);
}

.tools-start-card--quiz:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.tools-start-card--calc {
    background: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: var(--shadow);
}

.tools-start-card--calc .tools-start-audience,
.tools-start-card--calc .tools-start-kicker {
    color: var(--gold-light);
}

.tools-start-card--calc .tools-start-copy {
    color: rgba(255, 255, 255, 0.62);
}

.tools-start-card--calc .tools-start-meta li {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.tools-start-card--calc:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 169, 110, 0.55);
}

@media (max-width: 900px) {
    .tools-start {
        padding: 4rem 0;
    }
    .tools-start-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
    .tools-start-or {
        display: none;
    }
    .tools-start-card {
        padding: 1.7rem 1.4rem 1.5rem;
    }
    .tools-start-num {
        font-size: 2.1rem;
    }
}

/* ─── Reports page ─── */
.reports-banner {
    background: var(--midnight-navy);
    color: #fff;
    padding: 3.2rem 0 2.6rem;
}

.reports-banner-eyebrow {
    justify-content: flex-start;
    color: rgba(255, 255, 255, 0.7);
}

.reports-banner-eyebrow .eyebrow-line {
    background: var(--gold);
}

.reports-banner h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 0.6rem;
    color: #fff;
}

.reports-banner p {
    max-width: 540px;
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.reports-page {
    padding: 2.4rem 0 4.5rem;
    background: var(--paper-white);
}

.reports-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 320px;
    margin-bottom: 2rem;
}

.reports-filter label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.reports-filter select {
    width: 100%;
    height: 48px;
    border: 1px solid #cfc9bf;
    background: #fff;
    padding: 0 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    color: #111;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.report-card {
    background: #fff;
    border: 1px solid #e4dfd4;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.report-card-media {
    height: 180px;
    background: #ece7dc;
    overflow: hidden;
}

.report-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.report-card-media.is-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8eef5;
}

.report-pdf-icon {
    display: flex;
}

.report-card-copy {
    padding: 1.15rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.report-card-market {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.45rem;
}

.report-card-copy h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 0.5rem;
    color: var(--ink);
}

.report-card-copy p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ink-muted);
    margin: 0 0 1.1rem;
    flex: 1;
}

.report-card-btn {
    align-self: flex-start;
    border: 0;
    background: var(--gold);
    color: var(--ink);
    padding: 0.7rem 1.15rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.report-card-btn:hover {
    background: var(--gold-light);
}

.report-card-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.report-card.is-hidden {
    display: none !important;
}

.reports-grid[hidden] {
    display: none !important;
}

.reports-empty-state {
    padding: 0.4rem 0 2rem;
}

.reports-empty-state[hidden] {
    display: none !important;
}

.reports-empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    margin: 0 0 0.35rem;
    color: var(--ink);
}

.reports-empty-state p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ink-muted);
    line-height: 1.55;
}

.report-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.report-modal[hidden] {
    display: none !important;
}

.report-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.55);
}

.report-modal-box {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: var(--ink);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1.6rem 1.6rem;
    z-index: 1;
}

.report-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.55);
}

.report-modal-close:hover {
    color: #fff;
}

.report-modal-box h2 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 500;
    margin: 0 0 0.4rem;
    color: #fff;
}

.report-modal-lead {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.92rem;
    margin: 0 0 1.2rem;
}

.report-modal-field {
    display: block;
    margin-bottom: 0.85rem;
}

.report-modal-field span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.45);
}

.report-modal-field input {
    width: 100%;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    outline: none;
}

.report-modal-field input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.report-modal-field input:focus {
    border-color: var(--gold);
}

.report-modal-submit {
    width: 100%;
    margin-top: 0.4rem;
    text-align: center;
}

.report-modal-success {
    text-align: center;
    padding: 0.5rem 0;
}

.report-modal-success h2 {
    color: #fff;
}

.report-modal-check {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    background: var(--gold);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.report-modal-success p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 1.2rem;
    line-height: 1.55;
}

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

@media (max-width: 640px) {
    .reports-grid {
        grid-template-columns: 1fr;
    }
    .reports-filter {
        max-width: none;
    }
}