    /* Poppins metric-matched fallback — adjusts Arial metrics to mirror Poppins so
       that when font-display: swap fires, the switch from fallback → Poppins causes
       zero (or near-zero) layout shift. Values derived from Poppins UPM 1000:
       ascent 1050 → 105%, descent 350 → 35%, lineGap 0 → 0%.
       size-adjust 107% widens Arial to match Poppins' broader glyph advance widths. */
    @font-face {
        font-family: 'Poppins Fallback';
        src: local('Arial');
        ascent-override: 105%;
        descent-override: 35%;
        line-gap-override: 0%;
        size-adjust: 107%;
    }

    /* Poppins — three separate weight entries with TTF network fallback so
       Lighthouse can link each font request to an @font-face with font-display: swap. */
    @font-face {
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 400;
        font-display: swap;
        src: local('Poppins Regular'), local('Poppins-Regular'),
             url('https://fonts.gstatic.com/s/poppins/v24/pxiEyp8kv8JHgFVrFJA.ttf') format('truetype');
    }
    @font-face {
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 600;
        font-display: swap;
        src: local('Poppins SemiBold'), local('Poppins-SemiBold'),
             url('https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLEj6V1s.ttf') format('truetype');
    }
    @font-face {
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 700;
        font-display: swap;
        src: local('Poppins Bold'), local('Poppins-Bold'),
             url('https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLCz7V1s.ttf') format('truetype');
    }

    /* font-display: swap for Font Awesome 6 icon fonts.
       This inline <style> appears after the FA <link> in source order, so these
       @font-face rules override the ones in FA's CSS (which have no font-display).
       Using the same cdnjs woff2 URLs that FA's own CSS references. */
    @font-face {
        font-family: 'Font Awesome 6 Free';
        font-style: normal;
        font-weight: 900;
        font-display: swap;
        src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2') format('woff2'),
             url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.ttf') format('truetype');
    }
    @font-face {
        font-family: 'Font Awesome 6 Free';
        font-style: normal;
        font-weight: 400;
        font-display: swap;
        src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-regular-400.woff2') format('woff2'),
             url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-regular-400.ttf') format('truetype');
    }
    @font-face {
        font-family: 'Font Awesome 6 Brands';
        font-style: normal;
        font-weight: 400;
        font-display: swap;
        src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2') format('woff2'),
             url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.ttf') format('truetype');
    }

    /* Clean Typography - Poppins */
    :root {
        --font-main: 'Jost', 'Poppins', sans-serif;
    }

    body {
        font-family: var(--font-main);
        font-weight: 400;
        font-size: 15px;
        line-height: 1.6;
        letter-spacing: 0;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: var(--font-main);
        font-weight: 600;
        letter-spacing: -0.01em;
        line-height: 1.3;
    }

    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 22px; }
    h4 { font-size: 18px; }
    h5 { font-size: 16px; }
    h6 { font-size: 14px; }

    /* All text uses Poppins */
    p, span, a, li, td, th, label, input, select, textarea, button {
        font-family: var(--font-main);
    }

    /* Section labels */
    .section-label {
        font-family: var(--font-main);
        font-weight: 600;
        letter-spacing: 1px;
        font-size: 12px;
    }

    /* Navigation */
    .main-nav a,
    .mobile-nav a,
    .btn {
        font-family: var(--font-main);
        font-weight: 500;
    }

    /* Price displays */
    .property-price,
    .price-display {
        font-family: var(--font-main);
        font-weight: 600;
    }

    /* Header background — gradient left (bright navy) → right (near black) */
    #headerWrapper,
    .header-wrapper,
    .header-wrapper .main-header,
    header.main-header {
        background: linear-gradient(to right, #1a3d6e 0%, #152a45 45%, #07101e 100%) !important;
    }

    .header-wrapper .main-header,
    header.main-header {
        border-bottom: 3px solid #d4af37;
    }

    .top-bar {
        background: linear-gradient(to right, #1a3d6e 0%, #152a45 45%, #07101e 100%) !important;
    }

    /* Fixed Header Styles */
    .header-spacer {
        height: 70px;
        position: relative;
        z-index: 1;
    }

    .header-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9000;
    }

    .header-wrapper.scrolled {
        box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    }

    .header-wrapper.scrolled .top-bar {
        display: none;
    }

    .header-wrapper.scrolled .main-header {
        padding: 4px 0;
    }

    /* Top Bar */
    .top-bar {
        background: #0d1f35;
        padding: 6px 0;
        font-size: 12px;
    }

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 100%;
        width: 100%;
        padding: 0 20px;
    }

    .top-bar-left {
        display: flex;
        gap: 25px;
    }

    .top-bar-left a {
        color: rgba(255,255,255,0.9) !important;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        font-size: 13px;
        font-weight: 500;
    }

    .top-bar-left a:hover {
        color: #ffd700 !important;
    }

    .top-bar-left i {
        color: #d4af37;
    }

    /* Make phone number bolder and bigger */
    .top-bar-left a[href^="tel:"] {
        font-size: 14px;
        font-weight: 700;
        color: white !important;
        letter-spacing: 0.3px;
    }

    .top-bar-left a[href^="tel:"] i {
        color: #ffd700;
    }

    .social-links {
        display: flex;
        gap: 12px;
    }

    .social-links a {
        color: rgba(255,255,255,0.8);
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,255,255,0.1);
        transition: all 0.3s;
    }

    .social-links a:hover {
        background: #d4af37;
        color: #000;
    }

    /* Main Header */
    .main-header {
        background: transparent;
        padding: 5px 0;
        transition: all 0.3s ease;
        position: relative;
    }

    .main-header .container {
        max-width: 100%;
        width: 100%;
        padding: 0 20px;
    }

    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        position: relative;
    }

    /* Logo */
    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .logo-img {
        max-height: 40px;
        width: auto;
        object-fit: contain;
        transition: transform 0.3s ease;
        cursor: pointer;
    }

    .logo-img:hover {
        transform: scale(1.1);
    }

    .logo-text {
        font-size: 40px;
        font-weight: 700;
        font-family: 'Cormorant Garamond', 'Poppins', serif;
        line-height: 1;
        color: #ffd700;
        -webkit-text-fill-color: #ffd700;
        letter-spacing: 1px;
        -webkit-font-smoothing: antialiased;
    }

    .logo-text span:first-of-type {
        color: #ffd700;
        -webkit-text-fill-color: #ffd700;
    }

    .logo-tagline {
        display: block;
        font-size: 9px;
        font-weight: 600;
        color: #ffd700;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        margin-top: 3px;
        margin-left: 2px;
        -webkit-text-fill-color: #ffd700;
        font-family: 'Poppins', sans-serif;
    }

    /* Navigation */
    .main-nav {
        display: flex;
        justify-content: flex-start;
        margin-left: 60px;
    }

    .main-nav ul {
        display: flex;
        gap: 0;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .main-nav > ul > li > a {
        display: block;
        padding: 10px 11px;
        color: #ffffff;
        font-weight: 500;
        font-size: 17px;
        border-radius: 0;
        transition: all 0.25s;
        white-space: nowrap;
        border-bottom: 2px solid transparent;
        text-decoration: none;
        letter-spacing: 0.3px;
        -webkit-font-smoothing: antialiased;
    }

    .main-nav > ul > li > a:hover,
    .main-nav > ul > li > a.active {
        color: #d4af37;
        background: transparent;
        border-bottom: 2px solid #d4af37;
    }

    /* Contact nav — same as other links */
    .main-nav > ul > li > a.nav-contact-btn {
        color: rgba(255,255,255,0.9);
    }

    /* Dropdown */
    .nav-dropdown {
        position: relative;
        z-index: 1002;
    }

    .nav-dropdown > a::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        margin-left: 6px;
        font-size: 12px;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 160px;
        background: #1e3a5f;
        border-radius: 8px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.4);
        padding: 5px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        list-style: none;
        z-index: 9999;
        border: 1px solid rgba(255,255,255,0.1);
        display: flex;
        flex-direction: column;
    }

    .dropdown-menu li {
        background: #1e3a5f;
        margin: 0;
        padding: 0;
        display: block;
        width: 100%;
    }

    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu li a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 15px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 13px;
        transition: all 0.2s;
        background: #1e3a5f;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .dropdown-menu li:last-child a {
        border-bottom: none;
    }

    .dropdown-menu li a i {
        width: 18px;
        color: var(--accent-light);
        font-size: 14px;
    }

    .dropdown-menu li a:hover {
        background: #152a45;
        color: var(--accent);
        padding-left: 25px;
    }

    .dropdown-menu li a:hover i {
        color: var(--accent);
    }

    /* Header CTA */
    .header-cta {
        display: flex;
        align-items: center;
        gap: 15px;
        flex-shrink: 0;
    }

    .header-phone {
        display: flex;
        align-items: center;
        gap: 10px;
        color: white;
        text-decoration: none;
        transition: all 0.25s;
        border: 1.5px solid rgba(212,175,55,0.5);
        border-radius: 8px;
        padding: 7px 14px 7px 10px;
    }
    .header-phone:hover {
        border-color: #d4af37;
        background: rgba(212,175,55,0.08);
    }

    .header-phone-icon {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #d4af37;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.25s;
    }
    .header-phone-icon i {
        color: #0d1f35;
        font-size: 14px;
    }

    .header-phone-text {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }
    .header-phone-text small {
        font-size: 10px;
        color: rgba(255,255,255,0.55);
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 500;
    }
    .header-phone-text {
        font-size: 15px;
        font-weight: 700;
        color: white;
    }

    .header-phone:hover .header-phone-icon {
        background: #d4af37;
        border-color: #d4af37;
    }
    .header-phone:hover .header-phone-icon i { color: #0d1f35; }
    .header-phone:hover { color: white; }

    /* Gold "Get Free Advice" pill CTA */
    .header-cta-btn {
        background: linear-gradient(135deg, #d4af37 0%, #f0c84a 50%, #d4af37 100%);
        color: #0d1f35;
        padding: 11px 24px;
        border-radius: 25px;
        font-weight: 700;
        font-size: 15px;
        letter-spacing: 0.3px;
        -webkit-font-smoothing: antialiased;
        text-decoration: none;
        transition: all 0.25s;
        white-space: nowrap;
        box-shadow: 0 4px 14px rgba(212,175,55,0.4);
        letter-spacing: 0.3px;
    }

    .header-cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(212,175,55,0.5);
        color: #0d1f35;
    }

    /* Mobile Menu */
    .mobile-header-actions {
        display: none;
        align-items: center;
        gap: 10px;
        position: relative;
        z-index: 10000;
    }

    @media (max-width: 992px) {
        .mobile-header-actions {
            display: flex !important;
        }
    }

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

    /* Hide icons on desktop nav */
    .main-nav > ul > li > a > i {
        display: none;
    }

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

    .mobile-menu-overlay {
        display: none !important;
    }

    .mobile-call-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: var(--accent);
        color: white;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.3s;
    }

    .mobile-call-btn:hover {
        background: var(--accent-dark);
        color: white;
    }

    .mobile-call-btn i {
        font-size: 18px;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border: none;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        border-radius: 8px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        -webkit-appearance: none;
        appearance: none;
        position: relative;
        z-index: 100002;
        padding: 10px;
    }

    .hamburger-box {
        width: 28px;
        height: 20px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hamburger-line {
        display: block;
        width: 100%;
        height: 3px;
        background: #d4af37;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    @media (max-width: 992px) {
        .hamburger-box {
            display: flex !important;
        }
        .hamburger-line {
            display: block !important;
            background: #d4af37 !important;
        }
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
        background: white;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
        background: white;
    }

    /* Mobile menu overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 99998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }

    @media (max-width: 992px) {
        .top-bar-left {
            flex-direction: column;
            gap: 5px;
        }

        .mobile-header-actions {
            display: flex;
        }

        .hamburger-box {
            display: flex !important;
        }

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

        .mobile-menu-overlay.active {
            display: block !important;
        }

        .main-nav {
            display: block !important;
            position: fixed !important;
            top: 0 !important;
            right: 0 !important;
            left: auto !important;
            width: auto !important;
            min-width: 220px !important;
            max-width: 280px !important;
            height: 100vh !important;
            background: white !important;
            z-index: 100001 !important;
            overflow-y: auto !important;
            -webkit-overflow-scrolling: touch;
            padding-top: 0 !important;
            transform: translateX(100%) !important;
            transition: transform 0.3s ease !important;
            box-shadow: none;
        }

        .main-nav.active {
            transform: translateX(0) !important;
            box-shadow: -5px 0 30px rgba(0,0,0,0.2) !important;
        }

        .mobile-nav-header {
            display: flex !important;
            justify-content: space-between;
            align-items: center;
            padding: 20px 25px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            position: sticky;
            top: 0;
            z-index: 1;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .mobile-nav-title {
            font-size: 20px;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .mobile-nav-close {
            background: rgba(255,255,255,0.2);
            color: white;
            border: 2px solid rgba(255,255,255,0.3);
            width: 44px;
            height: 44px;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .mobile-nav-close:active {
            background: rgba(255,255,255,0.4);
            transform: scale(0.9);
        }

        .main-nav ul {
            flex-direction: column;
            gap: 0;
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .main-nav > ul {
            padding: 10px 0;
        }

        .main-nav > ul > li {
            border-bottom: 1px solid #f0f0f0;
        }

        .main-nav > ul > li:last-child {
            border-bottom: none;
        }

        .main-nav > ul > li > a {
            display: block;
            padding: 14px 20px;
            font-size: 15px;
            font-weight: 500;
            color: #333;
            background: white;
            transition: all 0.2s;
            text-align: left;
        }

        .main-nav > ul > li > a:active,
        .main-nav > ul > li > a.active {
            background: #f8f9fa;
            color: var(--primary);
        }

        .nav-dropdown > a::after {
            content: '\f107';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 14px;
            color: #999;
            transition: transform 0.3s;
        }

        .nav-dropdown.open > a::after {
            transform: rotate(180deg);
        }

        .main-nav .dropdown-menu,
        .nav-dropdown .dropdown-menu,
        ul.dropdown-menu {
            position: static !important;
            opacity: 1 !important;
            visibility: visible !important;
            transform: none !important;
            box-shadow: none !important;
            background: #e8eef3 !important;
            display: none !important;
            margin: 0 !important;
            padding: 0 !important;
            border-radius: 0 !important;
            max-height: none !important;
            overflow: visible !important;
            list-style: none !important;
            width: 100% !important;
        }

        .nav-dropdown.open > .dropdown-menu,
        .nav-dropdown.open > ul.dropdown-menu {
            display: block !important;
        }

        .main-nav .dropdown-menu li,
        .nav-dropdown .dropdown-menu li,
        ul.dropdown-menu li {
            background: #e8eef3 !important;
            list-style: none !important;
            display: block !important;
            width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        .main-nav .dropdown-menu li a,
        .nav-dropdown .dropdown-menu li a,
        ul.dropdown-menu li a {
            padding: 12px 20px 12px 35px !important;
            font-size: 14px !important;
            background: #f5f7f9 !important;
            color: #555 !important;
            display: block !important;
            width: 100% !important;
            border-bottom: 1px solid #e8eef3 !important;
            box-sizing: border-box !important;
            text-decoration: none !important;
        }

        .main-nav .dropdown-menu li:last-child a,
        .nav-dropdown .dropdown-menu li:last-child a,
        ul.dropdown-menu li:last-child a {
            border-bottom: none !important;
        }

        .dropdown-menu li a:active {
            background: #e8eef3 !important;
        }

        .mobile-nav-footer {
            display: flex !important;
            flex-direction: column;
            gap: 10px;
            padding: 20px;
            margin-top: 10px;
            border-top: 1px solid #eee;
            background: #f8f9fa;
        }

        .mobile-nav-call {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 15px 20px;
            background: var(--primary);
            color: white !important;
            border-radius: 8px;
            font-weight: 600;
            font-size: 15px;
        }

        .mobile-nav-call:active {
            background: var(--primary-dark);
        }

        .mobile-nav-whatsapp {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 15px 20px;
            background: #25D366;
            color: white !important;
            border-radius: 8px;
            font-weight: 600;
            font-size: 15px;
        }

        .mobile-nav-whatsapp:active {
            background: #1da851;
        }

        .nav-dropdown > a::after {
            transition: transform 0.3s ease;
        }

        .nav-dropdown.open > a::after {
            transform: rotate(180deg);
        }

        .header-cta {
            display: none;
        }
    }


    /* Responsive heading sizes */
    @media (max-width: 768px) {
        h1 { font-size: 28px; }
        h2 { font-size: 24px; }
        h3 { font-size: 20px; }
        h4 { font-size: 17px; }
    }

    @media (max-width: 576px) {
        .top-bar .container {
            flex-direction: column;
            gap: 8px;
        }

        .logo-text {
            font-size: 32px;
        }

        .logo-text span:first-of-type {
            color: #d4af37 !important;
        }

        .logo-tagline {
            font-size: 9px;
            letter-spacing: 4.2px;
            color: #f0d875 !important;
            -webkit-text-fill-color: #f0d875 !important;
        }

        h1 { font-size: 24px; }
        h2 { font-size: 20px; }
        h3 { font-size: 18px; }

        body {
            font-size: 14px;
        }
    }
