        :root {
            --gold: #c9a84c;
            --gold-light: #e8c97a;
            --gold-dark: #a07830;
            --dark: #0a0d14;
            --dark2: #12172a;
            --dark3: #1a2035;
            --slate: #1e2640;
            --text: #f0ede8;
            --muted: #8a90a8;
            --border: rgba(201,168,76,0.2);
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'DM Sans', sans-serif;
            background: var(--dark);
            color: var(--text);
            overflow-x: hidden;
        }
        .serif { font-family: 'Cormorant Garamond', serif; }

        /* NAV */
        nav {
            position: fixed; width: 100%; z-index: 100; top: 0;
            background: rgba(10,13,20,0.88);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
            padding: 0 2rem;
        }
        .nav-inner {
            max-width: 1280px; margin: 0 auto;
            display: flex; align-items: center; justify-content: space-between;
            height: 72px;
        }
        .nav-logo {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.6rem; font-weight: 700; color: var(--text);
            letter-spacing: 0.02em; text-decoration: none;
        }
        .nav-logo span { color: var(--gold); }
        .nav-links { display: flex; gap: 2.5rem; align-items: center; }
        .nav-links a {
            color: var(--muted); text-decoration: none;
            font-size: .875rem; letter-spacing: .05em;
            transition: color .3s; font-weight: 500;
        }
        .nav-links a:hover { color: var(--gold); }
        .btn-gold {
            background: linear-gradient(135deg, var(--gold), var(--gold-dark));
            color: #0a0d14; padding: .6rem 1.4rem; border-radius: 50px;
            font-weight: 600; font-size: .875rem; text-decoration: none;
            transition: all .3s; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem;
        }
        .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.4); }
        .nav-hamburger { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }
        .mobile-menu {
            display: none; position: fixed; inset: 0; background: var(--dark);
            z-index: 99; flex-direction: column; align-items: center;
            justify-content: center; gap: 2rem;
        }
        .mobile-menu.open { display: flex; }
        .mobile-menu a { font-size: 1.5rem; color: var(--text); text-decoration: none; }
        .mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--text); font-size: 2rem; cursor: pointer; }

        /* HERO */
        .hero {
            min-height: 100vh; display: flex; align-items: center; justify-content: center;
            text-align: center; position: relative; overflow: hidden;
            padding: 100px 2rem 2rem;
        }
        .hero-bg {
            position: absolute; inset: 0;
            background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201,168,76,.08) 0%, transparent 70%),
                        linear-gradient(180deg, var(--dark) 0%, var(--dark2) 100%);
        }
        .hero-grid {
            position: absolute; inset: 0;
            background-image: 
                linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
            background-size: 60px 60px;
        }
        .hero-content { position: relative; z-index: 2; max-width: 900px; }
        .hero-badge {
            display: inline-flex; align-items: center; gap: .5rem;
            border: 1px solid var(--border); border-radius: 50px;
            padding: .4rem 1rem; font-size: .75rem; letter-spacing: .15em;
            color: var(--gold); margin-bottom: 1.5rem; text-transform: uppercase;
        }
        .hero h1 {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(3.5rem, 8vw, 7rem);
            font-weight: 400; line-height: 1; color: var(--text);
            margin-bottom: 1rem; letter-spacing: -.01em;
        }
        .hero h1 em { color: var(--gold); font-style: italic; }
        .hero-sub {
            font-size: 1.1rem; color: var(--muted); margin-bottom: .75rem;
            letter-spacing: .02em;
        }
        .hero-desc { font-size: .95rem; color: var(--muted); max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7; }
        .hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
        .btn-outline {
            padding: .7rem 1.8rem; border-radius: 50px;
            border: 1.5px solid rgba(255,255,255,.25); color: var(--text);
            font-weight: 500; font-size: .95rem; text-decoration: none;
            transition: all .3s; display: inline-flex; align-items: center; gap: .5rem;
            background: transparent; cursor: pointer;
        }
        .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

        /* STATS */
        .stats-row {
            display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
            max-width: 800px; margin: 4rem auto 0;
            background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
        }
        .stat {
            background: rgba(18,23,42,.7); padding: 1.5rem 1rem; text-align: center;
        }
        .stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--gold); font-weight: 600; }
        .stat-label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

        /* SECTIONS */
        section { padding: 7rem 2rem; }
        .section-inner { max-width: 1280px; margin: 0 auto; }
        .section-label { font-size: .75rem; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; margin-bottom: .75rem; }
        .section-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400;
            color: var(--text); margin-bottom: 1rem; line-height: 1.1;
        }
        .section-desc { color: var(--muted); font-size: 1rem; max-width: 560px; line-height: 1.7; }

        /* PROPERTIES */
        #properties { background: var(--dark2); }
        .properties-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
        .prop-card {
            background: var(--dark3); border: 1px solid var(--border);
            border-radius: 20px; overflow: hidden;
            transition: all .4s cubic-bezier(.4,0,.2,1);
        }
        .prop-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(201,168,76,.15); border-color: var(--gold); }
        .prop-img { height: 220px; overflow: hidden; position: relative; }
        .prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
        .prop-card:hover .prop-img img { transform: scale(1.06); }
        .prop-badge {
            position: absolute; top: 12px; left: 12px;
            background: var(--gold); color: #0a0d14;
            padding: .25rem .75rem; border-radius: 50px; font-size: .75rem; font-weight: 700;
        }
        .prop-type {
            position: absolute; top: 12px; right: 12px;
            background: rgba(10,13,20,.8); color: var(--text);
            padding: .25rem .75rem; border-radius: 50px; font-size: .75rem;
        }
        .prop-body { padding: 1.5rem; }
        .prop-price { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 600; color: var(--gold); }
        .prop-name { font-size: 1.1rem; font-weight: 600; color: var(--text); margin: .3rem 0; }
        .prop-loc { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
        .prop-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1rem; padding: 1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
        .prop-stat { text-align: center; }
        .prop-stat i { color: var(--gold); display: block; margin-bottom: .25rem; }
        .prop-stat-num { font-weight: 600; font-size: .95rem; color: var(--text); display: block; }
        .prop-stat-lbl { font-size: .7rem; color: var(--muted); }
        .prop-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
        .prop-actions { display: flex; gap: .75rem; }
        .prop-actions a, .prop-actions button {
            flex: 1; text-align: center; padding: .65rem; border-radius: 10px;
            font-size: .85rem; font-weight: 600; cursor: pointer; transition: all .3s;
            border: none; text-decoration: none;
        }
        .btn-dark { background: var(--slate); color: var(--text); }
        .btn-dark:hover { background: #2a3050; }

        /* GALLERY */
        #gallery { background: var(--dark); }
        .gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: 3rem; }
        .gal-item { aspect-ratio: 1; overflow: hidden; border-radius: 12px; cursor: pointer; position: relative; }
        .gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
        .gal-item:hover img { transform: scale(1.08); }
        .gal-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
            opacity: 0; transition: opacity .3s; display: flex; align-items: flex-end; padding: .75rem;
        }
        .gal-item:hover .gal-overlay { opacity: 1; }
        .gal-overlay span { color: #fff; font-size: .8rem; font-weight: 600; }

        /* ABOUT */
        #about { background: var(--dark2); }
        .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 4rem; }
        .about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
        .about-feat {
            background: var(--dark3); border: 1px solid var(--border);
            border-radius: 14px; padding: 1.2rem;
        }
        .about-feat i { color: var(--gold); margin-bottom: .5rem; font-size: 1.2rem; display: block; }
        .about-feat-title { font-weight: 600; color: var(--text); font-size: .9rem; }
        .about-feat-sub { font-size: .8rem; color: var(--muted); margin-top: .15rem; }
        .areas { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
        .area-tag {
            background: var(--dark3); border: 1px solid var(--border);
            color: var(--muted); padding: .3rem .85rem; border-radius: 50px; font-size: .8rem;
        }

        /* PHONE / MEET SECTION */
        #connect { background: var(--dark); }
        .connect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 4rem; }
        .connect-card {
            background: var(--dark3); border: 1px solid var(--border);
            border-radius: 24px; padding: 2rem; position: relative; overflow: hidden;
        }
        .connect-card::before {
            content: ''; position: absolute; top: -40px; right: -40px;
            width: 160px; height: 160px; border-radius: 50%;
            background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
        }
        .connect-card-title {
            font-family: 'Cormorant Garamond', serif; font-size: 1.8rem;
            color: var(--text); margin-bottom: .4rem;
        }
        .connect-card-sub { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.5; }

        /* VOIP PHONE WIDGET */
        .phone-widget {
            background: var(--dark2); border: 1px solid var(--border);
            border-radius: 16px; padding: 1.25rem; position: relative;
        }
        .phone-status {
            display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
        }
        .status-dot {
            width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
            animation: pulse-dot 2s infinite;
        }
        @keyframes pulse-dot { 0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,.4)} 50%{box-shadow:0 0 0 6px rgba(34,197,94,0)} }
        .status-txt { font-size: .8rem; color: var(--muted); }
        .phone-display {
            background: var(--dark); border-radius: 10px; padding: 1rem;
            text-align: center; margin-bottom: 1rem; border: 1px solid var(--border);
        }
        .phone-num-display {
            font-family: 'Cormorant Garamond', serif; font-size: 1.8rem;
            color: var(--text); min-height: 2.2rem; letter-spacing: .05em;
        }
        .phone-sublabel { font-size: .75rem; color: var(--muted); }
        .dialpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1rem; }
        .dial-btn {
            background: var(--slate); border: none; border-radius: 10px;
            padding: .75rem; color: var(--text); font-size: 1.1rem; font-weight: 600;
            cursor: pointer; transition: all .2s; display: flex; flex-direction: column; align-items: center;
        }
        .dial-btn:hover { background: #2a3050; color: var(--gold); }
        .dial-btn:active { transform: scale(.95); }
        .dial-btn span { font-size: .55rem; color: var(--muted); letter-spacing: .1em; }
        .phone-actions { display: flex; gap: .75rem; }
        .call-btn {
            flex: 1; background: linear-gradient(135deg, #22c55e, #16a34a);
            border: none; border-radius: 10px; color: #fff;
            font-weight: 700; font-size: .9rem; padding: .85rem;
            cursor: pointer; transition: all .3s; display: flex; align-items: center; justify-content: center; gap: .5rem;
        }
        .call-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(34,197,94,.3); }
        .call-btn.active { background: linear-gradient(135deg, #ef4444, #dc2626); animation: ring-anim 1s infinite; }
        @keyframes ring-anim { 0%,100%{box-shadow:0 0 0 0 rgba(239,68,68,.4)} 50%{box-shadow:0 0 0 10px rgba(239,68,68,0)} }
        .clear-btn {
            background: var(--slate); border: none; border-radius: 10px;
            color: var(--muted); font-size: 1.1rem; padding: .85rem 1.2rem;
            cursor: pointer; transition: all .2s;
        }
        .clear-btn:hover { color: var(--text); background: #2a3050; }

        /* Call log */
        .call-log { margin-top: 1rem; max-height: 140px; overflow-y: auto; }
        .call-log::-webkit-scrollbar { width: 3px; }
        .call-log::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
        .log-entry {
            display: flex; justify-content: space-between; align-items: center;
            padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.05);
            font-size: .78rem;
        }
        .log-entry .log-num { color: var(--text); }
        .log-entry .log-time { color: var(--muted); }
        .log-entry .log-dur { color: var(--gold); }

        /* VIRTUAL MEET WIDGET */
        .meet-widget { display: flex; flex-direction: column; gap: 1rem; }
        .meet-option {
            background: var(--dark2); border: 1px solid var(--border);
            border-radius: 14px; padding: 1.25rem; display: flex; align-items: center; gap: 1rem;
            transition: all .3s; cursor: pointer; text-decoration: none;
        }
        .meet-option:hover { border-color: var(--gold); background: rgba(201,168,76,.05); }
        .meet-icon {
            width: 48px; height: 48px; border-radius: 12px;
            display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0;
        }
        .meet-google { background: rgba(66,133,244,.15); color: #4285f4; }
        .meet-zoom { background: rgba(45,140,255,.15); color: #2d8cff; }
        .meet-teams { background: rgba(100,95,200,.15); color: #6454a4; }
        .meet-info { flex: 1; }
        .meet-name { font-weight: 600; color: var(--text); font-size: .95rem; }
        .meet-desc { font-size: .78rem; color: var(--muted); margin-top: .1rem; }
        .meet-arrow { color: var(--muted); transition: all .3s; }
        .meet-option:hover .meet-arrow { color: var(--gold); transform: translateX(4px); }

        /* Schedule form */
        .schedule-form { margin-top: 1rem; }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem; }
        .form-group { display: flex; flex-direction: column; gap: .3rem; }
        .form-group label { font-size: .78rem; color: var(--muted); font-weight: 500; }
        .form-group input, .form-group select, .form-group textarea {
            background: var(--dark2); border: 1px solid var(--border);
            border-radius: 8px; padding: .6rem .85rem; color: var(--text);
            font-family: 'DM Sans', sans-serif; font-size: .875rem;
            transition: border-color .3s; width: 100%;
        }
        .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
            outline: none; border-color: var(--gold);
        }
        .form-group select option { background: var(--dark2); }

        /* CONTACT */
        #contact { background: var(--dark2); }
        .contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 5rem; margin-top: 4rem; align-items: start; }
        .contact-info-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem; background: var(--dark3); border: 1px solid var(--border); border-radius: 14px; }
        .contact-icon { width: 44px; height: 44px; background: rgba(201,168,76,.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .contact-icon i { color: var(--gold); }
        .contact-info-label { font-weight: 600; color: var(--text); font-size: .9rem; }
        .contact-info-val { font-size: .85rem; color: var(--muted); margin-top: .15rem; }
        .contact-items { display: flex; flex-direction: column; gap: 1rem; }
        .contact-form { background: var(--dark3); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; }
        .contact-form .form-group { margin-bottom: .85rem; }
        .contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .85rem; }

        /* FOOTER */
        footer {
            background: var(--dark); border-top: 1px solid var(--border);
            padding: 4rem 2rem 2rem;
        }
        .footer-inner { max-width: 1280px; margin: 0 auto; }
        .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
        .footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 700; color: var(--text); margin-bottom: .75rem; }
        .footer-logo span { color: var(--gold); }
        .footer-desc { font-size: .875rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
        .footer-socials { display: flex; gap: .75rem; }
        .social-btn {
            width: 38px; height: 38px; background: var(--dark3); border: 1px solid var(--border);
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            color: var(--muted); text-decoration: none; transition: all .3s; font-size: .875rem;
        }
        .social-btn:hover { border-color: var(--gold); color: var(--gold); }
        .footer-col h4 { font-weight: 600; color: var(--text); margin-bottom: 1rem; font-size: .95rem; }
        .footer-col ul { list-style: none; }
        .footer-col ul li { margin-bottom: .5rem; }
        .footer-col ul li a { color: var(--muted); text-decoration: none; font-size: .875rem; transition: color .3s; }
        .footer-col ul li a:hover { color: var(--gold); }
        .footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
        .footer-bottom p { font-size: .8rem; color: var(--muted); }

        /* LIGHTBOX */
        .lightbox {
            display: none; position: fixed; inset: 0; background: rgba(0,0,0,.96);
            z-index: 200; justify-content: center; align-items: center;
        }
        .lightbox.active { display: flex; }
        .lightbox img { max-width: 90%; max-height: 88vh; object-fit: contain; border-radius: 8px; }
        .lb-close {
            position: absolute; top: 1.5rem; right: 1.5rem;
            background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer;
        }

        /* NOTIFICATIONS */
        .toast {
            position: fixed; bottom: 2rem; right: 2rem; z-index: 300;
            background: var(--dark3); border: 1px solid var(--gold);
            border-radius: 12px; padding: 1rem 1.5rem;
            color: var(--text); font-size: .875rem; max-width: 320px;
            animation: slide-in .4s ease; box-shadow: 0 8px 32px rgba(0,0,0,.5);
        }
        .toast-title { font-weight: 600; color: var(--gold); margin-bottom: .2rem; }
        @keyframes slide-in { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

        /* ANIMATIONS */
        .fade-in {
            opacity: 0; transform: translateY(24px);
            transition: opacity .7s ease, transform .7s ease;
        }
        .fade-in.visible { opacity: 1; transform: translateY(0); }

        /* RESPONSIVE */
        @media (max-width: 1024px) {
            .properties-grid { grid-template-columns: 1fr 1fr; }
            .connect-grid { grid-template-columns: 1fr; }
            .about-grid { grid-template-columns: 1fr; gap: 2rem; }
            .contact-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 768px) {
            .properties-grid { grid-template-columns: 1fr; }
            .gallery-grid { grid-template-columns: repeat(2, 1fr); }
            .nav-links { display: none; }
            .nav-hamburger { display: block; }
            .stats-row { grid-template-columns: repeat(2,1fr); }
            .footer-top { grid-template-columns: 1fr; gap: 2rem; }
            .about-features { grid-template-columns: 1fr; }
            .form-row { grid-template-columns: 1fr; }
            .contact-form .form-row { grid-template-columns: 1fr; }
        }

        /* Firebase connection badge */
        .firebase-badge {
            display: inline-flex; align-items: center; gap: .4rem;
            font-size: .7rem; color: var(--muted); padding: .2rem .6rem;
            background: rgba(255,152,0,.08); border: 1px solid rgba(255,152,0,.2);
            border-radius: 50px; margin-bottom: 1rem;
        }
        .firebase-badge i { color: #ff9800; }
