/* ============================================
   Proptefy - Premium Real Estate Design System
   Deep blue + sky accents, Playfair Display serif
   ============================================ */

:root {
    --navy-950: #060B18;
    --navy-900: #0A1224;
    --navy-800: #101B33;
    --navy-700: #17254A;
    --gold: #3B82F6;
    --gold-light: #60A5FA;
    --gold-dark: #2563EB;
    --ivory: #F7F4EE;
    --ivory-2: #EFEAE0;
    --slate-600: #64748B;
    --slate-500: #94A3B8;
    --slate-400: #AAB5C4;
    --white: #FFFFFF;
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: #60A5FA;
    --secondary: #0A1224;
    --success: #16A34A;
    --success-bg: #DCFCE7;
    --error: #DC2626;
    --error-bg: #FEE2E2;
    --warning: #F59E0B;
    --warning-bg: #FEF3C7;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(6,11,24,0.08);
    --shadow: 0 4px 16px rgba(6,11,24,0.10);
    --shadow-md: 0 10px 30px rgba(6,11,24,0.14);
    --shadow-lg: 0 24px 60px rgba(6,11,24,0.20);
    --shadow-gold: 0 12px 36px rgba(59,130,246,0.35);
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--navy-900);
    background: var(--ivory);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--gold-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    color: var(--navy-900);
    line-height: 1.2;
}

::selection { background: var(--gold); color: var(--navy-950); }

/* ============================================
   Light Theme (appearance switcher)
   Set via <html data-theme="light">
   ============================================ */
[data-theme="light"] {
    --navy-950: #F7F4EE;
    --navy-900: #FFFFFF;
    --navy-800: #F2EDE3;
    --navy-700: #E7DFD1;
    --gold: #2563EB;
    --gold-light: #3B82F6;
    --gold-dark: #1D4ED8;
    --ivory: #F4F1EA;
    --ivory-2: #ECE6DA;
    --slate-600: #4B5563;
    --slate-500: #6B7280;
    --slate-400: #9CA3AF;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(6,11,24,0.06);
    --shadow: 0 4px 16px rgba(6,11,24,0.07);
    --shadow-md: 0 10px 30px rgba(6,11,24,0.10);
    --shadow-lg: 0 24px 60px rgba(6,11,24,0.14);
    --shadow-gold: 0 12px 36px rgba(37,99,235,0.25);
}
[data-theme="light"] body { color: var(--navy-950); }
[data-theme="light"] .site-header { background: rgba(255,255,255,0.9); border-bottom: 1px solid rgba(59,130,246,0.25); }
[data-theme="light"] .logo { color: var(--navy-950); }
[data-theme="light"] .nav-link { color: var(--slate-600); }
[data-theme="light"] .nav-link:hover, [data-theme="light"] .nav-link.active { color: var(--gold-dark); background: rgba(59,130,246,0.12); }
[data-theme="light"] .nav-auth { color: var(--navy-950); border-color: rgba(59,130,246,0.5); }
[data-theme="light"] .hero-home { background: linear-gradient(160deg, #FFFFFF 0%, #F7F4EE 45%, #EFEAE0 100%); }
[data-theme="light"] .hero-home h1 { color: var(--navy-950); }
[data-theme="light"] .hero-content p { color: var(--slate-600); }
[data-theme="light"] .hero-cta-ghost { color: var(--navy-950); border-color: rgba(6,11,24,0.25); }
[data-theme="light"] .hero-cta-ghost:hover { background: rgba(6,11,24,0.05); color: var(--navy-950); }
[data-theme="light"] .hero-badge { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.35); }
[data-theme="light"] .hero-stat-label { color: var(--slate-500); }
[data-theme="light"] .site-footer { background: var(--navy-950); }
[data-theme="light"] .footer-col ul li a { color: var(--slate-400); }
[data-theme="light"] .cta-section { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%); }
[data-theme="light"] .stats-band { background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); }

/* Theme toggle button */
.theme-toggle {
    background: rgba(59,130,246,0.12);
    border: 1px solid rgba(59,130,246,0.35);
    color: var(--gold-light);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 6px;
}
.theme-toggle:hover { background: rgba(59,130,246,0.22); transform: translateY(-2px); }
[data-theme="light"] .theme-toggle { color: var(--gold-dark); border-color: rgba(59,130,246,0.5); }

/* AI Assistant */
.ai-fab {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-950);
    border: none;
    box-shadow: var(--shadow-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 300;
}
.ai-fab-icon { font-size: 1.5rem; line-height: 1; position: relative; z-index: 2; transition: transform 0.3s ease; }
.ai-fab:hover .ai-fab-icon { transform: scale(1.12) rotate(8deg); }
.ai-fab:hover { transform: translateY(-4px) scale(1.05); }
.ai-fab.open { background: var(--navy-800); color: var(--gold-light); box-shadow: 0 12px 34px rgba(6,11,24,0.55); }
.ai-fab-ring {
    position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid rgba(59,130,246,0.5);
    animation: aiPulse 2.6s ease-out infinite;
    pointer-events: none;
}
@keyframes aiPulse {
    0% { transform: scale(0.85); opacity: 0.9; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}
.ai-window {
    position: fixed;
    bottom: 100px;
    right: 26px;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 560px;
    max-height: calc(100vh - 140px);
    background: linear-gradient(180deg, #0d1526 0%, #0a1120 100%);
    border-radius: 20px;
    box-shadow: 0 30px 70px -18px rgba(0,0,0,0.7), 0 0 0 1px rgba(59,130,246,0.22);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 301;
    transform-origin: bottom right;
}
[data-theme="light"] .ai-window { background: linear-gradient(180deg, #0d1526 0%, #0a1120 100%); }
.ai-window.open { display: flex; animation: aiPop 0.32s cubic-bezier(0.23, 1, 0.32, 1); }
@keyframes aiPop {
    from { opacity: 0; transform: translateY(18px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.ai-window-header {
    background: linear-gradient(135deg, #111b31 0%, #0a1120 100%);
    color: #fff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(59,130,246,0.18);
    position: relative;
}
.ai-window-header::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold-dark));
}
.ai-window-header .ai-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    position: relative;
    box-shadow: 0 8px 20px rgba(59,130,246,0.35);
}
.ai-online {
    position: absolute; bottom: -3px; right: -3px; width: 14px; height: 14px;
    border-radius: 50%; background: #22c55e; border: 2.5px solid #111b31;
}
.ai-header-info { flex: 1; min-width: 0; }
.ai-window-header h4 { color: #fff; font-size: 1rem; font-family: var(--font-serif); margin-bottom: 2px; }
.ai-window-header p { color: var(--slate-400); font-size: 0.72rem; display: flex; align-items: center; gap: 6px; }
.ai-online-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; display: inline-block; animation: aiBlink 1.8s ease-in-out infinite; }
@keyframes aiBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.ai-close {
    width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06); color: var(--slate-400); font-size: 0.8rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.ai-close:hover { background: rgba(255,255,255,0.14); color: #fff; }
.ai-window-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
}
.ai-window-body::-webkit-scrollbar { width: 6px; }
.ai-window-body::-webkit-scrollbar-thumb { background: rgba(59,130,246,0.35); border-radius: 99px; }
[data-theme="light"] .ai-window-body { background: transparent; }
.ai-msg {
    max-width: 82%;
    padding: 11px 15px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.ai-msg.bot { background: rgba(255,255,255,0.07); color: #dbe4f3; border: 1px solid rgba(255,255,255,0.08); border-bottom-left-radius: 4px; align-self: flex-start; }
.ai-msg.user { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--navy-950); border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 500; box-shadow: 0 8px 18px rgba(59,130,246,0.3); }
.ai-msg.typing { color: var(--slate-400); font-style: italic; }
.ai-window-input {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(59,130,246,0.18);
    background: #0a1120;
}
.ai-window-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    background: rgba(255,255,255,0.06);
    color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ai-window-input input::placeholder { color: var(--slate-500); }
.ai-window-input input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(59,130,246,0.18); }
.ai-window-input button {
    padding: 12px 18px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-950);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex; align-items: center; gap: 6px;
}
.ai-window-input button:hover { opacity: 0.9; transform: translateY(-1px); }
.ai-quick {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 12px 0;
}
.ai-quick button {
    font-size: 0.78rem;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid rgba(59,130,246,0.45);
    background: rgba(59,130,246,0.1);
    color: var(--gold-light);
    cursor: pointer;
    transition: var(--transition);
}
.ai-quick button:hover { background: rgba(59,130,246,0.22); border-color: var(--gold); }

@media (max-width: 480px) {
    .ai-window { right: 12px; bottom: 90px; width: calc(100vw - 24px); }
    .ai-fab { right: 18px; bottom: 18px; width: 56px; height: 56px; }
}

/* Layout */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-dark { background: var(--navy-900); color: var(--ivory); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-ivory { background: var(--ivory); }
.section-white { background: #fff; }
.text-center { text-align: center; }
.text-white { color: #fff; }
.mx-auto { margin-left: auto; margin-right: auto; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

/* Header / Nav */
.site-header {
    background: rgba(6,11,24,0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(59,130,246,0.18);
    position: sticky;
    top: 0;
    z-index: 200;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.logo {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.logo img { height: 40px; width: auto; }
.logo .logo-light { display: none; }
[data-theme="light"] .logo .logo-dark { display: none; }
[data-theme="light"] .logo .logo-light { display: inline-block; }
.logo span.accent { color: var(--gold); }
.logo:hover { color: #fff; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
    padding: 10px 16px;
    color: var(--slate-400);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); background: rgba(59,130,246,0.12); }
.nav-cta {
    padding: 11px 22px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-950);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: 8px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(59,130,246,0.35); color: var(--navy-950); }
.nav-auth {
    padding: 10px 18px;
    color: #fff;
    border: 1px solid rgba(59,130,246,0.45);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
}
.nav-auth:hover { background: rgba(59,130,246,0.14); color: var(--gold-light); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--gold-light); margin: 5px 0; transition: var(--transition); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.5;
    letter-spacing: 0.2px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-950);
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(59,130,246,0.38); color: var(--navy-950); }
.btn-secondary { background: transparent; color: var(--gold-light); border: 1.5px solid rgba(59,130,246,0.5); }
.btn-secondary:hover { background: rgba(59,130,246,0.12); color: var(--gold-light); }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-white:hover { background: var(--ivory); color: var(--navy-900); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--navy-900); border: 1.5px solid var(--navy-900); }
.btn-outline-dark:hover { background: var(--navy-900); color: #fff; }
.btn-lg { padding: 17px 36px; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Typography / Hero */
.hero { padding: 96px 0; text-align: center; }
.hero h1 { font-size: 3.4rem; font-weight: 700; line-height: 1.12; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero p { font-size: 1.22rem; color: var(--slate-600); max-width: 680px; margin: 0 auto 36px; line-height: 1.7; }
.hero-dark { background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-800) 100%); color: #fff; }
.hero-dark h1 { color: #fff; }
.hero-dark p { color: var(--slate-400); }
.hero-gold-text {
    background: linear-gradient(120deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-eyebrow {
    display: inline-block;
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-eyebrow::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--gold); margin-right: 12px; vertical-align: middle; }
.section-title { font-size: 2.6rem; font-weight: 700; margin-bottom: 16px; line-height: 1.2; letter-spacing: -0.5px; }
.section-dark .section-title { color: #fff; }
.section-subtitle { font-size: 1.12rem; color: var(--slate-600); max-width: 660px; margin-bottom: 56px; line-height: 1.7; }
.section-subtitle.centered { margin-left: auto; margin-right: auto; }
.section-dark .section-subtitle { color: var(--slate-400); }

/* Cards */
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(6,11,24,0.08);
    padding: 32px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-flat { box-shadow: none; }
.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--navy-950);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    box-shadow: var(--shadow-gold);
}

/* Steps */
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-950);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
    flex-shrink: 0;
    font-family: var(--font-serif);
    box-shadow: var(--shadow-gold);
}
.step-number.outline { background: transparent; color: var(--gold); border: 3px solid var(--gold); }
.steps-list { display: flex; flex-direction: column; gap: 28px; }
.step-item { display: flex; gap: 22px; align-items: flex-start; }
.step-content h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.step-content p { color: var(--slate-600); font-size: 0.95rem; line-height: 1.7; }

/* Forms */
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; color: var(--navy-900); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(6,11,24,0.16);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: #fff;
    color: var(--navy-900);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.18);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { color: var(--error); font-size: 0.8125rem; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Alerts / Flash */
.flash { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 24px; font-weight: 500; }
.flash-success, .alert-success { background: var(--success-bg); color: #166534; border: 1px solid #BBF7D0; }
.flash-error, .alert-error { background: var(--error-bg); color: #991B1B; border: 1px solid #FECACA; }
.flash-warning, .alert-warning { background: var(--warning-bg); color: #92400E; border: 1px solid #FDE68A; }

/* Testimonials */
.testimonial {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(6,11,24,0.08);
    box-shadow: var(--shadow-sm);
}
.testimonial-text { font-size: 1.05rem; color: var(--navy-800); margin-bottom: 20px; font-style: italic; line-height: 1.75; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-950);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}
.testimonial-name { font-weight: 700; font-size: 0.9375rem; }
.testimonial-role { color: var(--slate-600); font-size: 0.8125rem; }

/* FAQ Accordion */
.faq-item { border: 1px solid rgba(6,11,24,0.12); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; background: #fff; }
.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--navy-900);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.faq-question:hover { background: var(--ivory); }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--gold); transition: var(--transition); font-family: var(--font-serif); }
.faq-item.active .faq-question::after { content: 'âˆ’'; color: var(--gold); }
.faq-answer { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { padding: 0 22px 20px; max-height: 500px; }
.faq-answer p { color: var(--slate-600); line-height: 1.75; }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
    color: #fff;
    padding: 96px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.16), transparent 60%);
    pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: 2.6rem; font-weight: 700; margin-bottom: 18px; color: #fff; }
.cta-section p { font-size: 1.15rem; color: var(--slate-400); margin-bottom: 38px; max-width: 620px; margin-left: auto; margin-right: auto; }

/* Values / Benefit grid */
.value-card { text-align: center; padding: 36px 28px; }
.value-card .card-icon { margin: 0 auto 18px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value-card p { color: var(--slate-600); font-size: 0.95rem; line-height: 1.7; }

/* Pricing */
.price-tag { font-size: 3.2rem; font-weight: 700; color: var(--navy-900); font-family: var(--font-serif); }
.price-tag span { font-size: 1rem; font-weight: 400; color: var(--slate-600); font-family: var(--font-sans); }

/* Badge */
.badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}
.badge-primary { background: rgba(59,130,246,0.18); color: var(--gold-dark); }
.badge-success { background: var(--success-bg); color: #166534; }
.badge-warning { background: var(--warning-bg); color: #92400E; }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--slate-400); padding: 72px 0 0; }
.site-footer .footer-logo { display: inline-block; margin-bottom: 18px; }
.site-footer .footer-logo img { height: 44px; width: auto; }
.site-footer .footer-logo .logo-light { display: inline-block; }
.site-footer .footer-logo .logo-dark { display: none; }
[data-theme="light"] .site-footer .footer-logo .logo-light { display: none; }
[data-theme="light"] .site-footer .footer-logo .logo-dark { display: inline-block; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; font-family: var(--font-serif); }
.footer-col p { font-size: 0.9375rem; line-height: 1.75; color: var(--slate-500); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--slate-400); font-size: 0.9375rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-bottom {
    margin-top: 56px;
    padding: 26px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--slate-600);
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 3D Tilt ---------- */
.tilt { perspective: 1000px; will-change: transform; }
.tilt-inner {
    transform-style: preserve-3d;
    transform: perspective(900px) rotateX(0) rotateY(0) translate3d(0,0,0);
    transition: box-shadow 0.4s ease, filter 0.4s ease;
}
.tilt:hover .tilt-inner { box-shadow: 0 40px 70px -20px rgba(6,11,24,0.55), 0 0 0 1px rgba(201,165,84,0.25); }
.tilt-layer { position: relative; transform: translateZ(34px); transform-style: preserve-3d; }
.tilt-glow {
    position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(420px circle at var(--gx,50%) var(--gy,50%), rgba(201,165,84,0.18), transparent 60%);
    opacity: 0; transition: opacity 0.35s ease; z-index: 2;
}
.tilt:hover .tilt-glow { opacity: 1; }

/* ---------- Parallax float layers ---------- */
.float-layer { transition: transform 0.25s ease-out; will-change: transform; }
.parallax-wrap { position: relative; }

/* ---------- Property gallery marquee ---------- */
.gallery-marquee {
    display: flex; gap: 20px; overflow: hidden; padding: 10px 0; position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gallery-marquee-track {
    display: flex; gap: 20px; flex-shrink: 0; animation: marquee 42s linear infinite;
}
.gallery-marquee.paused .gallery-marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.gallery-tile {
    position: relative; width: 300px; height: 210px; border-radius: 16px; overflow: hidden;
    flex-shrink: 0; border: 1px solid rgba(201,165,84,0.25); box-shadow: 0 18px 40px -18px rgba(6,11,24,0.6);
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-tile:hover img { transform: scale(1.08); }
.gallery-tile .gallery-cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px;
    background: linear-gradient(180deg, transparent, rgba(6,11,24,0.92));
    color: #f6f1e3; font-weight: 600; font-size: 0.95rem;
}
.gallery-tile .gallery-cap span { display: block; font-weight: 400; font-size: 0.8rem; color: #c9a554; }

/* ---------- 3D floating orbs / depth ---------- */
.depth-orb {
    position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; z-index: 0; pointer-events: none;
    animation: orbFloat 9s ease-in-out infinite alternate;
}
@keyframes orbFloat { from { transform: translateY(-16px) scale(1); } to { transform: translateY(18px) scale(1.08); } }
.scene-card { transform-style: preserve-3d; }
.hero-3d { position: relative; transform-style: preserve-3d; }
.hero-3d .hero-img {
    transform: rotateY(-8deg) rotateX(3deg);
    box-shadow: 0 60px 90px -40px rgba(6,11,24,0.7), 0 0 60px rgba(201,165,84,0.15);
}

/* Misc */
.divider { border: none; border-top: 1px solid rgba(6,11,24,0.1); margin: 32px 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.p-32 { padding: 32px; }
.w-full { width: 100%; }
.max-w-lg { max-width: 640px; }
.max-w-md { max-width: 480px; }

/* Responsive */
@media (max-width: 1024px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 72px 0; }
    .section-title { font-size: 2.1rem; }
    .hero h1 { font-size: 2.7rem; }
}
@media (max-width: 768px) {
    .hero { padding: 56px 0; }
    .hero h1 { font-size: 2.1rem; }
    .hero p { font-size: 1.05rem; }
    .section { padding: 56px 0; }
    .section-title { font-size: 1.85rem; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .cta-section h2 { font-size: 1.85rem; }
    .main-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--navy-900);
        flex-direction: column;
        padding: 20px 24px;
        border-bottom: 1px solid rgba(59,130,246,0.2);
        box-shadow: var(--shadow-lg);
    }
    .main-nav.open { display: flex; }
    .main-nav .nav-link, .main-nav .nav-cta, .main-nav .nav-auth { width: 100%; margin: 4px 0; text-align: center; }
    .mobile-menu-btn { display: block; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero h1 { font-size: 1.8rem; }
    .btn-lg { padding: 15px 26px; font-size: 0.95rem; }
}