/* ============================================
   MARTIN FROM LAS VEGAS — MAIN STYLESHEET
   Strategic Real Estate Advisory
   ============================================ */

/* --- DESIGN TOKENS --- */
:root {
    /* Colors — ultra luxury, navy + gold accent */
    --navy:        #0B1426;
    --navy-light:  #122040;
    --navy-dark:   #060C18;
    --blue:        #162544;
    --blue-light:  #2A3F63;
    --blue-hover:  #0E1A33;
    --blue-subtle: #F5F3EF;
    --gold:        #C5A572;
    --gold-light:  #D4BA90;
    --gold-dark:   #A8884E;
    --accent:      #C5A572;
    --accent-light:#D4BA90;

    --white:       #FAFAF8;
    --off-white:   #F4F2EE;
    --gray-50:     #EAE7E1;
    --gray-100:    #D6D1C9;
    --gray-200:    #B5AFA5;
    --gray-300:    #8A8477;
    --gray-400:    #5E584E;
    --gray-500:    #3D3830;
    --gray-600:    #28231C;
    --gray-700:    #1A160F;
    --text:        #12110E;
    --text-light:  #4A4640;
    --text-muted:  #7B766D;

    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #122040 0%, #0B1426 100%);
    --gradient-gold: linear-gradient(135deg, #C5A572 0%, #A8884E 100%);
    --gradient-hero: linear-gradient(135deg, rgba(11,20,38,0.78) 0%, rgba(11,20,38,0.35) 50%, rgba(11,20,38,0.82) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(244,242,238,0.5) 100%);
    --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(197,165,114,0.06) 0%, transparent 70%);
    --gradient-mesh: radial-gradient(at 20% 80%, rgba(197,165,114,0.04) 0%, transparent 50%), radial-gradient(at 80% 20%, rgba(197,165,114,0.03) 0%, transparent 50%);

    /* Typography — all sans-serif */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif:   'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Sizes */
    --h1: clamp(2.5rem, 5.5vw, 4rem);
    --h2: clamp(1.75rem, 3.5vw, 2.5rem);
    --h3: clamp(1.15rem, 2vw, 1.5rem);
    --h4: clamp(0.85rem, 1.3vw, 0.95rem);
    --body: 0.9375rem;
    --body-lg: 1.0625rem;
    --small: 0.8125rem;
    --xs: 0.75rem;

    /* Spacing */
    --section-py: clamp(5.5rem, 9vw, 9rem);
    --container-px: clamp(1.5rem, 4vw, 3rem);
    --gap: 1.5rem;
    --gap-lg: 3.5rem;

    /* Layout */
    --container-max: 1140px;
    --container-narrow: 760px;
    --container-wide: 1320px;
    --header-height: 72px;

    /* Radius — sharp, architectural */
    --radius: 4px;
    --radius-sm: 2px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --radius-pill: 2px;

    /* Shadows — crisp, cool */
    --shadow-sm: 0 1px 3px rgba(11,20,38,0.04), 0 1px 6px rgba(11,20,38,0.02);
    --shadow:    0 2px 6px rgba(11,20,38,0.05), 0 6px 20px rgba(11,20,38,0.05);
    --shadow-md: 0 4px 12px rgba(11,20,38,0.06), 0 12px 36px rgba(11,20,38,0.08);
    --shadow-lg: 0 8px 20px rgba(11,20,38,0.07), 0 24px 56px rgba(11,20,38,0.1);
    --shadow-btn: 0 1px 4px rgba(11,20,38,0.1);
    --shadow-glow: 0 0 40px rgba(197,165,114,0.1);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.25s;
    --duration-slow: 0.45s;
}


/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--body);
    line-height: 1.75;
    color: var(--text-light);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-weight: 300;
    letter-spacing: 0.01em;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--blue-hover); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.02em;
}
h1 { font-size: var(--h1); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; text-transform: uppercase; }
h2 { font-size: var(--h2); font-weight: 600; letter-spacing: -0.02em; text-transform: none; line-height: 1.1; }
h3 { font-size: var(--h3); font-weight: 500; letter-spacing: -0.01em; }
h4 { font-size: var(--h4); font-weight: 600; font-family: var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { list-style: none; }

::selection { background: rgba(197,165,114,0.25); color: var(--navy); }

:focus-visible {
    outline: 2px solid var(--blue-light);
    outline-offset: 2px;
}


/* --- LAYOUT --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section {
    padding: var(--section-py) 0;
}
.section--navy {
    background-color: var(--navy);
    background-image: radial-gradient(ellipse at 30% 0%, rgba(197,165,114,0.04) 0%, transparent 50%);
    color: var(--white);
    position: relative;
}
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.8); }

.section--light {
    background-color: var(--off-white);
    background-image: var(--gradient-glow), var(--gradient-mesh);
    position: relative;
}
.section--light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197,165,114,0.2), transparent);
    opacity: 1;
}
.section--blue-subtle { background: var(--gray-50); }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
}
.section-header .label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    background: rgba(197,165,114,0.06);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(197,165,114,0.12);
}
.section-header .label::before,
.section-header .label::after {
    content: '';
    display: none;
}
.section--navy .section-header .label { color: var(--gold-light); background: rgba(197,165,114,0.08); border-color: rgba(197,165,114,0.15); }
.section-header h2 {
    margin-bottom: 1.25rem;
}
.section-header p {
    font-size: var(--body-lg);
    color: var(--text-light);
    line-height: 1.7;
}
.section--navy .section-header p { color: rgba(255,255,255,0.7); }

/* Editorial: left-align section headers on light/white sections */
.section:not(.section--navy) .section-header {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    padding-left: 0;
    border-left: none;
}
.section:not(.section--navy) .section-header::before {
    display: none;
}
.section:not(.section--navy) .section-header .label {
    justify-content: flex-start;
}
.section:not(.section--navy) .section-header .label::before {
    display: none;
}
.section:not(.section--navy) .section-header .label::after {
    display: none;
}

.grid {
    display: grid;
    gap: var(--gap);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
}


/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: var(--xs);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
    padding: 1.05rem 2.5rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--duration) var(--ease), transform 0.2s var(--ease-spring);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn:focus-visible {
    outline: 2px solid var(--blue-light);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
    color: var(--white);
    background: var(--gray-600);
    border-color: var(--gray-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--gray-200);
}
.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}
.btn-white:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.7);
    color: var(--white);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--navy);
    border-color: var(--gold);
    font-weight: 600;
}
.btn-gold:hover {
    background: var(--gold-dark);
    color: var(--navy);
    border-color: var(--gold-dark);
    box-shadow: 0 8px 32px rgba(197, 165, 114, 0.4);
    transform: translateY(-2px);
}
.btn-gold:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(197, 165, 114, 0.25);
}

.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.65rem; border-radius: var(--radius-pill); }
.btn-lg { padding: 1.25rem 3.5rem; font-size: var(--small); }
.btn-block { width: 100%; }

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 640px) {
    .btn-group { flex-direction: column; }
    .btn-group .btn { width: 100%; }
}


/* --- HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: transparent;
    transition: all var(--duration) var(--ease);
}
.site-header.scrolled {
    background: rgba(250,250,248,0.92);
    box-shadow: 0 1px 0 rgba(11,20,38,0.04), 0 4px 24px rgba(11,20,38,0.06);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border-bottom: 1px solid rgba(197, 165, 114, 0.1);
}

.header-inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--container-px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-logo { display: flex; align-items: center; text-decoration: none; }
.logo-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color var(--duration) var(--ease);
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.scrolled .logo-text { color: var(--navy); }
.logo-accent { color: var(--gold); }
.logo-tagline {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
}

.header-nav { display: flex; align-items: center; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-list a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: var(--small);
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
}
.scrolled .nav-list a { color: var(--text); }
.nav-list a:hover,
.nav-list a.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}
.scrolled .nav-list a:hover,
.scrolled .nav-list a.active {
    color: var(--navy);
    background: rgba(197,165,114,0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--small);
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color var(--duration) var(--ease);
}
.scrolled .header-phone { color: var(--text); }
.header-phone:hover { color: var(--blue-light); }

.header-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    border-color: var(--gold) !important;
    font-weight: 500;
    transition: all var(--duration) var(--ease);
}
.header-cta:hover {
    background: var(--gold-dark) !important;
    border-color: var(--gold-dark) !important;
    box-shadow: 0 4px 16px rgba(197, 165, 114, 0.3);
}
.scrolled .header-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    border-color: var(--gold) !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--duration) var(--ease);
}
.scrolled .mobile-toggle span { background: var(--navy); }

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--header-height));
    background: rgba(250,251,252,0.96);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    padding: 1.5rem;
    transform: translateY(-10px);
    opacity: 0;
    transition: all var(--duration) var(--ease-out);
    pointer-events: none;
}
.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-list { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-list a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: var(--body);
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius);
    transition: background var(--duration) var(--ease);
}
.mobile-nav-list a:hover { background: var(--gray-50); }

.mobile-nav-contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.mobile-nav-contact a { font-size: var(--small); color: var(--text-light); }

@media (max-width: 1024px) {
    .header-nav { display: none; }
    .header-phone span { display: none; }
    .mobile-toggle { display: flex; }
    .mobile-nav { display: block; }
}

@media (max-width: 640px) {
    .header-cta { display: none; }
}


/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy);
    padding-top: var(--header-height);
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11,20,38,0.60) 0%, rgba(11,20,38,0.30) 30%, rgba(11,20,38,0.35) 60%, rgba(11,20,38,0.80) 100%),
        radial-gradient(ellipse at 50% 40%, rgba(197,165,114,0.08) 0%, transparent 65%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--container-px);
}
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 2.5rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(197,165,114,0.2);
    padding: 0.6rem 1.75rem;
    border-radius: var(--radius-pill);
}
.hero-label::before,
.hero-label::after {
    content: '';
    display: none;
}
.hero h1 {
    color: var(--white);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.02;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.hero h1::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: var(--gold);
    margin: 2rem auto 0;
    border-radius: 0;
}
.hero-subtitle {
    font-size: var(--body-lg);
    color: rgba(255,255,255,0.75);
    margin-bottom: 3.5rem;
    line-height: 1.8;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    letter-spacing: 0.01em;
}
.hero .btn-group {
    justify-content: center;
}


@media (max-width: 640px) {
    .hero-label {
        font-size: 0.5rem;
        letter-spacing: 0.2em;
        padding: 0.5rem 1.25rem;
    }
}

/* --- PAGE HERO (Interior pages) --- */
.page-hero {
    position: relative;
    padding: calc(var(--header-height) + 5rem) 0 5rem;
    background: var(--navy);
    background-image: radial-gradient(ellipse at 50% 0%, rgba(197,165,114,0.04) 0%, transparent 60%);
    text-align: center;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1rem;
    background: rgba(197,165,114,0.08);
    border: 1px solid rgba(197,165,114,0.15);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
}
.page-hero .label::before,
.page-hero .label::after {
    display: none;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p {
    font-size: var(--body-lg);
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto;
}


/* --- CARDS --- */
.card {
    background: rgba(255,255,255,0.7);
    background-image: var(--gradient-card);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease), transform 0.3s var(--ease-spring);
    border: 1px solid rgba(197,165,114,0.1);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(197, 165, 114, 0.2);
    transform: translateY(-4px);
}
.card:hover::before {
    opacity: 1;
}
.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(197,165,114,0.08);
    color: var(--gold);
    border-radius: var(--radius);
    margin-bottom: 1.75rem;
    font-size: 1.25rem;
    transition: all var(--duration) var(--ease);
}
.card:hover .card-icon {
    background: var(--gold);
    color: var(--navy);
}
.card h3 { font-size: var(--h4); margin-bottom: 0.75rem; }
.card p { color: var(--text-light); font-size: var(--small); line-height: 1.65; }

/* Community Card */
.community-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--navy);
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    transition: all var(--duration-slow) var(--ease);
}
.community-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-lg); }
.community-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.community-card:hover img { transform: scale(1.08); }
.community-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,20,38,0.9) 0%, rgba(11,20,38,0.2) 50%, transparent 100%);
}
.community-card-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    width: 100%;
}
.community-card-content h3 {
    color: var(--white);
    font-size: var(--h4);
    margin-bottom: 0.35rem;
}
.community-card-content h3::before {
    content: '';
    display: block;
    width: 2rem;
    height: 2px;
    background: var(--gradient-gold);
    margin-bottom: 0.75rem;
    border-radius: 2px;
}
.community-card-content p { color: rgba(255,255,255,0.7); font-size: var(--small); }


/* --- PILLAR / FEATURE BLOCKS --- */
.pillar {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--duration) var(--ease);
}
.pillar:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-200);
    transform: translateY(-2px);
}
.pillar-number {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(197,165,114,0.08);
    color: var(--gold);
    border: 1.5px solid rgba(197,165,114,0.2);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.pillar h4 { font-size: var(--body-lg); margin-bottom: 0.35rem; }
.pillar p { font-size: var(--small); color: var(--text-light); }


/* --- TRUST STRIP --- */
.trust-strip {
    padding: 3rem 0;
    background: var(--off-white);
    border-top: none;
    border-bottom: none;
    position: relative;
}
.trust-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--xs);
    font-weight: 400;
    color: var(--text-muted);
    position: relative;
    padding: 0.45rem 0;
    background: none;
    border-radius: 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all var(--duration) var(--ease);
}
.trust-item:hover {
    color: var(--gold);
}
.trust-item:not(:last-child)::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background: var(--gold);
    opacity: 0.3;
    margin-left: 1rem;
    border-radius: 50%;
}
.trust-item img { height: 32px; width: auto; opacity: 0.6; }
.trust-item svg { color: var(--gray-300); }


/* --- TESTIMONIALS --- */
.testimonial-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(197,165,114,0.1);
    transition: all var(--duration) var(--ease), transform 0.3s var(--ease-spring);
    overflow: hidden;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1.25rem;
    left: 2rem;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.12;
    pointer-events: none;
    font-weight: 700;
}
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(197,165,114,0.2);
    transform: translateY(-4px);
}
.testimonial-card:hover::after {
    opacity: 1;
}
.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
    color: #C5A572;
}
.testimonial-text {
    font-size: var(--body);
    color: var(--text);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(197,165,114,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: 500;
    font-size: var(--xs);
    letter-spacing: 0.08em;
    font-family: var(--font-heading);
    border: 2px solid rgba(197,165,114,0.2);
}
.testimonial-name { font-weight: 500; font-size: var(--small); letter-spacing: 0.02em; border-bottom: 1px solid rgba(197, 165, 114, 0.3); padding-bottom: 2px; display: inline-block; }
.testimonial-detail { font-size: var(--xs); color: var(--text-muted); }


/* --- PROCESS STEPS --- */
.process-steps {
    display: grid;
    gap: 2.25rem;
}
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    position: relative;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    transition: background var(--duration) var(--ease);
}
.process-step:hover {
    background: rgba(255,255,255,0.04);
}
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: calc(1.5rem + 48px);
    left: calc(1.5rem + 23px);
    width: 1px;
    height: calc(100% - 48px + 2.25rem - 1.5rem);
    background: linear-gradient(to bottom, rgba(197,165,114,0.15), transparent);
    border-radius: 0;
}
.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(197,165,114,0.1);
    color: var(--gold);
    border: 1.5px solid rgba(197,165,114,0.2);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
}
.section--navy .step-number {
    background: rgba(197,165,114,0.08);
    border: 1.5px solid rgba(197,165,114,0.2);
    color: var(--gold);
}
.step-content h4 { margin-bottom: 0.5rem; }
.step-content p { font-size: var(--small); color: var(--text-light); }
.section--navy .step-content p { color: rgba(255,255,255,0.7); }


/* --- MARKET SNAPSHOT --- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}
.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    position: relative;
    transition: all var(--duration) var(--ease), transform 0.3s var(--ease-spring);
    backdrop-filter: blur(12px);
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.stat-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(197,165,114,0.2);
    transform: translateY(-4px);
}
.stat-card:hover::before {
    opacity: 1;
}
.stat-value {
    font-family: var(--font-heading);
    font-size: var(--h2);
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: var(--small);
    color: rgba(255,255,255,0.65);
}

.section:not(.section--navy) .stat-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}
.section:not(.section--navy) .stat-value { color: var(--blue); }
.section:not(.section--navy) .stat-label { color: var(--text-light); }

@media (max-width: 768px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}


/* --- FORMS --- */
.form-group {
    margin-bottom: 1.25rem;
}
.form-label {
    display: block;
    font-size: var(--small);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-family: var(--font-body);
    font-size: var(--body);
    color: var(--text);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(197,165,114,0.1);
}
.form-input::placeholder { color: var(--gray-300); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { appearance: none; cursor: pointer; }
.form-error { font-size: var(--xs); color: #DC2626; margin-top: 0.35rem; }
.form-input.error { border-color: #DC2626; }


/* --- ABOUT / SPLIT LAYOUT --- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
    align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: transform var(--duration-slow) var(--ease);
}
.split:hover .split-image {
    transform: scale(1.02);
}
.split-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
    pointer-events: none;
    z-index: 1;
}
.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}
.split-content .label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    background: rgba(197,165,114,0.06);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(197,165,114,0.12);
}
.split-content .label::before {
    display: none;
}
.split-content h2 { margin-bottom: 1rem; }
.split-content p { color: var(--text-light); margin-bottom: 1rem; }
.split-content .btn-group { margin-top: 1.5rem; }

@media (max-width: 768px) {
    .split, .split--reverse { grid-template-columns: 1fr; direction: ltr; }
    .split-image img { min-height: 280px; }
}


/* --- CTA BAND --- */
.cta-band {
    padding: var(--section-py) 0;
    background-color: var(--navy);
    background-image: radial-gradient(ellipse at 50% 0%, rgba(197,165,114,0.04) 0%, transparent 60%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0.3;
    border-radius: 2px;
}
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p {
    color: rgba(255,255,255,0.75);
    font-size: var(--body-lg);
    max-width: 600px;
    margin: 0 auto 2rem;
}
.cta-band .btn-group { justify-content: center; }


/* --- QUALIFICATION / WHO THIS IS FOR --- */
.qual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
}
.qual-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
}
.qual-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-top: 2px;
}
.qual-item p { font-size: var(--small); color: var(--text-light); margin: 0; }
.qual-item strong { color: var(--text); }

@media (max-width: 640px) {
    .qual-grid { grid-template-columns: 1fr; }
}


/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + 2rem));
    width: calc(100% - 2rem);
    max-width: 800px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    z-index: 9999;
    transition: transform var(--duration-slow) var(--ease-out);
    padding: 1.25rem 0;
    border-radius: var(--radius-xl);
}
.cookie-banner.visible { transform: translateX(-50%) translateY(0); }
.cookie-banner-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
}
.cookie-banner-text p {
    font-size: var(--small);
    color: var(--text-light);
    margin: 0;
}
.cookie-banner-text a { color: var(--gold-dark); text-decoration: underline; }
.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .cookie-banner-inner { flex-direction: column; text-align: center; }
}


/* --- FOOTER --- */
.footer-cta-band {
    background: var(--navy);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}
.footer-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(197,165,114,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.footer-cta-text h3 { color: var(--white); margin-bottom: 0.35rem; font-size: var(--h3); }
.footer-cta-text p { color: rgba(255,255,255,0.8); font-size: var(--body); margin: 0; }
.footer-cta-inner .btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    flex-shrink: 0;
    font-weight: 500;
}
.footer-cta-inner .btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--navy);
    box-shadow: 0 4px 24px rgba(197, 165, 114, 0.35);
}

@media (max-width: 768px) {
    .footer-cta-inner { flex-direction: column; text-align: center; }
}

.footer-main {
    background: var(--navy-dark);
    padding: 4rem 0 3rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
}
.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: none;
}
.footer-logo .logo-text { color: var(--white); font-size: 1rem; }
.footer-tagline { color: rgba(255,255,255,0.6); font-size: var(--small); margin-bottom: 1.5rem; }
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}
.footer-contact-info a { color: rgba(255,255,255,0.7); font-size: var(--small); }
.footer-contact-info a:hover { color: var(--white); }

.footer-social {
    display: flex;
    gap: 0.75rem;
}
.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    transition: all var(--duration) var(--ease), transform 0.2s var(--ease-spring);
    border: 1px solid rgba(255,255,255,0.08);
}
.social-link:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: var(--xs);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a {
    color: rgba(255,255,255,0.6);
    font-size: var(--small);
    transition: color var(--duration) var(--ease);
}
.footer-col ul a:hover { color: var(--white); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* Legal Footer Links */
.footer-legal-links {
    background: var(--navy-dark);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.25rem 0;
}
.legal-link-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}
.legal-link-list a {
    font-size: var(--xs);
    color: rgba(255,255,255,0.4);
    transition: color var(--duration) var(--ease);
}
.legal-link-list a:hover { color: rgba(255,255,255,0.7); }

/* Footer Legal */
.footer-legal {
    background: var(--navy-dark);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.5rem 0 2rem;
    text-align: center;
}
.mls-disclaimer { margin-bottom: 1.25rem; }
.disclaimer-text {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.footer-brokerage p {
    font-size: var(--xs);
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.25rem;
}
.footer-equal-housing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: var(--xs);
    color: rgba(255,255,255,0.4);
}
.equal-housing-icon { font-size: 1.25rem; }


/* --- SCROLL ANIMATIONS --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- LEGAL PAGES --- */
.legal-content {
    padding: 2rem 0 var(--section-py);
}
.legal-content h2 {
    font-size: var(--h3);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.legal-content h3 {
    font-size: var(--h4);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.legal-content p {
    color: var(--text-light);
    font-size: var(--small);
    line-height: 1.8;
}
.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-content ul li {
    font-size: var(--small);
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.35rem;
}


/* --- IDX / SEARCH --- */
.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    margin-bottom: 2rem;
}
.search-filters .form-input,
.search-filters .form-select {
    flex: 1;
    min-width: 180px;
}
.search-filters .btn { flex-shrink: 0; }

.idx-placeholder {
    background: var(--gray-50);
    border: 2px dashed var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-light);
}
.idx-placeholder h3 { margin-bottom: 0.75rem; }
.idx-placeholder p { font-size: var(--small); max-width: 500px; margin: 0 auto; }


/* --- BLOG / MARKET INSIGHTS --- */
.blog-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--duration) var(--ease), transform 0.2s var(--ease-spring);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gray-200); }
.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease); }
.blog-card:hover .blog-card-image img { transform: scale(1.03); }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta {
    font-size: var(--xs);
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.blog-card-body h3 { font-size: var(--body-lg); margin-bottom: 0.5rem; }
.blog-card-body p { font-size: var(--small); color: var(--text-light); }


/* --- UTILITY --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* --- SELLER PREVIEW BAND --- */
.seller-band {
    position: relative;
    overflow: hidden;
}
.seller-band-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.seller-band-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.seller-band-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(11,20,38,0.92) 0%, rgba(11,20,38,0.82) 50%, rgba(11,20,38,0.88) 100%);
    z-index: 1;
}
.seller-band .container { position: relative; z-index: 2; }


/* --- CONTACT PAGE --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
}
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}
.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3rem;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contact-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-subtle);
    color: var(--blue);
    border-radius: var(--radius);
    flex-shrink: 0;
    transition: all var(--duration) var(--ease);
}
.contact-method:hover .contact-method-icon {
    background: var(--navy);
    color: var(--gold);
    box-shadow: 0 4px 12px rgba(11,20,38,0.15);
}
.contact-method h4 { font-family: var(--font-body); font-size: var(--body); margin-bottom: 0.25rem; }
.contact-method p { font-size: var(--small); color: var(--text-light); margin: 0; }
.contact-method a { color: var(--gold-dark); }

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}


/* ============================================
   LANG TOGGLE BUTTON
   ============================================ */
.lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-pill);
    padding: 5px 10px;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    color: rgba(255,255,255,0.6);
    transition: all var(--duration) var(--ease);
    line-height: 1;
    backdrop-filter: blur(4px);
}
.scrolled .lang-toggle-btn {
    color: var(--text-light);
    border-color: var(--gray-200);
    background: var(--gray-50);
    backdrop-filter: none;
}
.lang-toggle-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.lang-sep { opacity: 0.35; margin: 0 1px; }
.lang-toggle-btn[data-active="en"] .lang-en { color: var(--gold); }
.lang-toggle-btn[data-active="es"] .lang-es { color: var(--gold); }
.scrolled .lang-toggle-btn[data-active="en"] .lang-en { color: var(--gold-dark); }
.scrolled .lang-toggle-btn[data-active="es"] .lang-es { color: var(--gold-dark); }

/* Mobile nav lang toggle */
.mobile-lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: var(--small);
    color: var(--text-light);
}
.mobile-lang-toggle .lang-toggle-btn {
    color: var(--text-light);
    border-color: var(--gray-200);
}


/* ============================================
   EXIT-INTENT MODAL
   ============================================ */
.exit-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 17, 23, 0.72);
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--container-px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
    backdrop-filter: blur(4px);
}
.exit-modal-overlay.visible {
    opacity: 1;
    pointer-events: all;
}
.exit-modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.75rem;
    max-width: 480px;
    width: 100%;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s var(--ease-out);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.exit-modal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
    opacity: 1;
}
.exit-modal .btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    font-weight: 500;
}
.exit-modal .btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    box-shadow: 0 4px 20px rgba(197, 165, 114, 0.35);
}
.exit-modal-overlay.visible .exit-modal {
    transform: translateY(0) scale(1);
}
.exit-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-300);
    padding: 4px;
    line-height: 1;
    transition: color var(--duration) var(--ease);
}
.exit-modal-close:hover { color: var(--text); }
.exit-modal-eyebrow {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
.exit-modal h3 {
    font-size: var(--h3);
    margin-bottom: 0.75rem;
    color: var(--navy);
    line-height: 1.15;
}
.exit-modal > p {
    font-size: var(--small);
    color: var(--text-light);
    margin-bottom: 1.75rem;
    line-height: 1.65;
}
.exit-modal .form-group { margin-bottom: 1rem; }
.exit-modal input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: var(--body);
    color: var(--text);
    background: var(--white);
    transition: border-color var(--duration) var(--ease);
}
.exit-modal input:focus {
    outline: none;
    border-color: var(--gold);
}
.exit-modal .btn { width: 100%; margin-top: 0.5rem; }
.exit-modal-confirm {
    text-align: center;
    padding: 1rem 0;
}
.exit-modal-confirm svg {
    color: var(--gold);
    margin: 0 auto 1rem;
}
.exit-modal-confirm h4 { margin-bottom: 0.5rem; }
.exit-modal-confirm p { font-size: var(--small); color: var(--text-light); }

@media (max-width: 480px) {
    .exit-modal { padding: 2rem 1.5rem; }
}


/* ============================================
   FLOATING CONTACT WIDGET
   ============================================ */
.float-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}
.float-widget.widget-ready {
    opacity: 1;
    pointer-events: all;
}
.float-panel {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 1.75rem;
    width: 300px;
    transform: translateY(12px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}
.float-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3rem;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}
.widget-open .float-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}
.float-panel-label {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.float-panel h4 {
    font-size: var(--body-lg);
    margin-bottom: 0.35rem;
    color: var(--navy);
}
.float-panel > p {
    font-size: var(--xs);
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}
.float-panel .form-group { margin-bottom: 0.75rem; }
.float-panel input {
    width: 100%;
    padding: 0.65rem 0.875rem;
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: var(--small);
    color: var(--text);
    background: var(--white);
    transition: border-color var(--duration) var(--ease);
}
.float-panel input:focus {
    outline: none;
    border-color: var(--gold);
}
.float-panel .btn { width: 100%; font-size: var(--xs); padding: 0.65rem 1rem; }
.float-panel .btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    font-weight: 500;
}
.float-panel .btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}
.float-panel-thanks {
    text-align: center;
    padding: 0.5rem 0;
}
.float-panel-thanks svg { color: var(--gold); margin: 0 auto 0.75rem; }
.float-panel-thanks p { font-size: var(--small); color: var(--text-light); line-height: 1.6; }

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(197, 165, 114, 0.4);
    transition: all var(--duration) var(--ease), transform 0.2s var(--ease-spring);
    flex-shrink: 0;
}
.float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(197, 165, 114, 0.5);
    background: var(--gold-dark);
}
.float-btn-icon-open,
.float-btn-icon-close { transition: opacity 0.2s, transform 0.2s; }
.float-btn-icon-close { display: none; }
.widget-open .float-btn-icon-open { display: none; }
.widget-open .float-btn-icon-close { display: block; }
.widget-open .float-btn { background: var(--navy); color: var(--gold); }

@media (max-width: 480px) {
    .float-widget {
        bottom: 1rem;
        right: 1rem;
    }
    .float-btn {
        width: 48px;
        height: 48px;
    }
    .float-panel {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        max-height: 85vh;
        overflow-y: auto;
    }
    .widget-open .float-panel {
        transform: translateY(0) scale(1);
    }
    /* Float widget bottom offset is handled via JS when CTA bar is visible */
}


/* ============================================
   MID-PAGE INLINE FORM (Homepage)
   ============================================ */
.inline-capture {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
    align-items: center;
}
.inline-capture-lead h2 { margin-bottom: 1rem; }
.inline-capture-lead > p { color: var(--text-light); margin-bottom: 1.75rem; font-size: var(--body); }
.inline-capture-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.inline-capture-bullet {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--small);
    color: var(--text-light);
}
.inline-capture-bullet svg { color: var(--gold-dark); flex-shrink: 0; }
.inline-capture-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}
.inline-capture-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}
.inline-capture-form .form-group { margin-bottom: 1rem; }
.inline-capture-form label {
    display: block;
    font-size: var(--xs);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.35rem;
    letter-spacing: 0.01em;
}
.inline-capture-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: var(--body);
    color: var(--text);
    background: var(--gray-50);
    transition: all var(--duration) var(--ease);
}
.inline-capture-form input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(197,165,114,0.08);
}
.inline-capture-form .btn { width: 100%; margin-top: 0.5rem; }

@media (max-width: 768px) {
    .inline-capture { grid-template-columns: 1fr; }
}


/* ============================================
   MOBILE STICKY CTA BAR
   ============================================ */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 997;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
}
.mobile-cta-bar.visible {
    transform: translateY(0);
}
.mobile-cta-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: var(--navy);
    color: var(--white);
    /* Safe area for iPhones with home indicator */
    padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
}
.mobile-cta-text {
    flex: 1;
    min-width: 0;
}
.mobile-cta-text strong {
    display: block;
    font-size: var(--small);
    font-weight: 600;
    line-height: 1.3;
}
.mobile-cta-text span {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.3;
}
.mobile-cta-call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    flex-shrink: 0;
    transition: background var(--duration) var(--ease);
}
.mobile-cta-call:hover {
    background: rgba(255,255,255,0.2);
}
.mobile-cta-btn {
    flex-shrink: 0;
    font-size: 0.75rem !important;
    padding: 0.5rem 1rem !important;
    white-space: nowrap;
    background: var(--gold) !important;
    color: var(--navy) !important;
    border-color: var(--gold) !important;
    font-weight: 500;
}
.mobile-cta-btn:hover {
    background: var(--gold-dark) !important;
    border-color: var(--gold-dark) !important;
}

/* Only show on mobile */
@media (min-width: 769px) {
    .mobile-cta-bar { display: none; }
}

/* Float widget transition for when CTA bar shifts it up via JS */
@media (max-width: 768px) {
    .float-widget {
        transition: bottom 0.4s var(--ease-out), opacity 0.4s var(--ease);
    }
}


/* ============================================
   INTENT TOAST (Idle Prompt / Return Visitor)
   ============================================ */
.intent-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 1rem;
    right: 1rem;
    z-index: 996;
    transform: translateY(calc(100% + 2rem));
    opacity: 0;
    transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease);
    pointer-events: none;
}
.intent-toast.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}
.intent-toast-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(11,20,38,0.14), 0 2px 8px rgba(11,20,38,0.08);
    border: 1px solid var(--gray-100);
}
.intent-toast-inner p {
    flex: 1;
    font-size: var(--small);
    color: var(--text);
    line-height: 1.4;
    min-width: 0;
}
.intent-toast-inner p strong {
    display: block;
    font-size: var(--small);
    font-weight: 600;
}
.intent-toast-inner p span {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.intent-toast-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.intent-toast-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 400;
    font-family: var(--font-body);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all var(--duration) var(--ease);
}
.intent-toast-btn.call {
    background: rgba(197,165,114,0.08);
    color: var(--gold-dark);
}
.intent-toast-btn.call:hover {
    background: rgba(197,165,114,0.14);
}
.intent-toast-btn.schedule {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 1px 6px rgba(197, 165, 114, 0.3);
    font-weight: 500;
}
.intent-toast-btn.schedule:hover {
    background: var(--gold-dark);
    box-shadow: 0 2px 12px rgba(197, 165, 114, 0.4);
}
.intent-toast-dismiss {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-300);
    padding: 4px;
    line-height: 1;
    transition: color var(--duration) var(--ease);
}
.intent-toast-dismiss:hover {
    color: var(--text);
}

/* Return visitor toast — subtle gold accent */
.return-toast .intent-toast-inner {
    border-left: 1px solid var(--gold);
}

/* Toast bottom offset when CTA bar is visible — handled via class */
.intent-toast.toast-shifted {
    bottom: 5.5rem;
}

/* Desktop: center toast, narrower */
@media (min-width: 769px) {
    .intent-toast {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(calc(100% + 2rem));
        max-width: 480px;
        width: 100%;
    }
    .intent-toast.visible {
        transform: translateX(-50%) translateY(0);
    }
}


/* ============================================
   SECTION--CAPTURE: Navy Inline Lead Form
   ============================================ */
.section--capture {
    background: var(--navy);
    background-image: radial-gradient(ellipse at 50% 0%, rgba(197,165,114,0.06) 0%, transparent 60%);
    padding: var(--section-py) 0;
    position: relative;
}
.section--capture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}
.section--capture .inline-capture-lead .label {
    color: var(--gold-light);
}
.section--capture .inline-capture-lead h2 {
    color: var(--white);
}
.section--capture .inline-capture-lead p,
.section--capture .inline-capture-bullet {
    color: rgba(255,255,255,0.75);
}
.section--capture .inline-capture-bullet svg {
    color: var(--gold);
}
.section--capture .inline-capture-form {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}
.section--capture .inline-capture-form::before {
    background: var(--gold);
    width: 3rem;
    opacity: 0.6;
}
.section--capture .inline-capture-form label {
    color: rgba(255,255,255,0.8);
}
.section--capture .inline-capture-form input {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: var(--white);
}
.section--capture .inline-capture-form input::placeholder {
    color: rgba(255,255,255,0.35);
}
.section--capture .inline-capture-form input:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(197,165,114,0.15);
}
.section--capture .inline-capture-form .btn {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    font-weight: 500;
}
.section--capture .inline-capture-form .btn:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    box-shadow: 0 4px 20px rgba(197, 165, 114, 0.35);
}