:root {
    --navy: #1a1f3a;
    --gold: #E5A34A;
    --light-navy: #2E3558;
    --dark-navy: #0f1426;
    --text-light: #E8E8E8;
    --text-muted: #A0A8B8;
    --white: #ffffff;
    --black: #000000;
    --section-padding: 96px;
    --section-padding-mobile: 64px;
    --light-bg: #f8f8f8;
    --transition-smooth: all 0.6s cubic-bezier(0.835, 0, 0.19, 1);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--navy);
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
    position: relative;
    overflow-x: hidden;
}

/* Using default browser cursor */

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.heading-accent {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0.5px;
}

/* Typography Enhancement */
.nav-menu a,
.btn-primary,
.btn-secondary,
button,
.lang-toggle {
    font-family: 'Montserrat', sans-serif;
}

p,
li,
span,
label,
input,
textarea {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    padding: 1.8rem 0;
    z-index: 1000;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
    border-bottom: none;
    box-shadow: none;
}

.navbar.scrolled {
    background: rgba(15, 20, 38, 0.98);
    backdrop-filter: blur(15px);
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(229, 163, 74, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Transparent state overrides */
.navbar:not(.scrolled) .lang-icon {
    color: white;
}
.navbar:not(.scrolled) .nav-link,
.navbar:not(.scrolled) .nav-action-btn,
.navbar:not(.scrolled) .nav-menu > li > a,
.navbar:not(.scrolled) .lang-current,
.navbar:not(.scrolled) .lang-dropdown-toggle {
    color: white;
}
/* Dropdown — white background, dark text when navbar is transparent */
.navbar:not(.scrolled) .nav-dropdown-menu {
    background: white;
}
.navbar:not(.scrolled) .nav-dropdown-menu li a {
    color: rgba(15, 20, 38, 0.98);
    background: white;
}
.navbar:not(.scrolled) .nav-dropdown-menu li a:hover {
    background: rgba(15, 20, 38, 0.98);
    color: white;
}
.navbar:not(.scrolled) .nav-link:hover,
.navbar:not(.scrolled) .nav-action-btn:hover,
.navbar:not(.scrolled) .nav-menu > li > a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.navbar:not(.scrolled)::after {
    display: none;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 0.85rem;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
}

.nav-close-item,
.nav-lang-mobile-item {
    display: none;
}

/* Phone link in header right */
.nav-phone {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
    white-space: nowrap;
}
.nav-phone:hover {
    color: var(--gold);
}

/* Language Dropdown Styles */
.lang-dropdown {
    position: relative;
}

.lang-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: inherit;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 8px 0;
    cursor: pointer;
    outline: none;
    transition: color 0.3s ease;
}

.lang-dropdown-toggle:hover {
    color: var(--gold);
}

.lang-icon {
    color: var(--gold);
    flex-shrink: 0;
}

.lang-current {
    white-space: nowrap;
}

.lang-arrow {
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.lang-dropdown.open .nav-arrow-icon {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(15, 20, 38, 0.98);
    border: none;
    border-radius: 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.35s ease, visibility 0.35s, transform 0.35s ease;
    z-index: 1001;
    overflow: hidden;
}

.lang-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.18s ease, visibility 0.18s, transform 0.18s ease;
}

/* ============================================================
   NAV DROPDOWNS (Properties, Services, About Us)
   ============================================================ */
.nav-has-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    padding: 8px 0;
    outline: none;
}

.nav-arrow-icon {
    transition: transform 0.3s ease;
    opacity: 1;
    flex-shrink: 0;
}

.nav-has-dropdown.open .nav-arrow-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    min-width: 100%;
    background: rgba(15, 20, 38, 0.98);
    border: none;
    border-radius: 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    list-style: none;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.35s ease, visibility 0.35s, transform 0.35s ease;
    z-index: 1001;
    pointer-events: none;
}

.nav-has-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.18s ease, visibility 0.18s, transform 0.18s ease;
    pointer-events: auto;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 0.55rem 1.2rem;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    text-align: left;
}

.nav-dropdown-menu li a:hover {
    background: #ffffff;
    color: rgba(15, 20, 38, 0.98);
}

/* Mobile: dropdowns expand inline */
@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0;
        padding: 0;
        background: rgba(255, 255, 255, 0.06);
        display: none;
        pointer-events: auto;
        overflow: hidden;
    }
    .nav-has-dropdown.open .nav-dropdown-menu {
        display: block;
    }
    .nav-dropdown-menu li a {
        padding: 0.65rem 2rem;
        font-size: 0.72rem;
        color: rgba(255, 255, 255, 0.75);
    }
    .nav-dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.72rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.lang-option:hover {
    background: #ffffff;
    color: var(--navy);
}

.lang-option.active {
    color: var(--gold);
}



.check-icon {
    margin-left: auto;
    color: var(--gold);
}

/* Hide old toggle */
.lang-toggle {
    display: none;
}

.lang-text {
    font-size: 0.9rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-brand:hover {
    opacity: 0.8;
}

.logo-swap-wrapper {
    position: relative;
    height: 64px;
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 64px;
    width: auto;
    display: block;
    object-fit: contain;
}

.brand-logo-white {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.brand-logo-color {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.navbar.scrolled .brand-logo-white {
    opacity: 0;
}

.navbar.scrolled .brand-logo-color {
    opacity: 1;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.navbar.scrolled::after {
    opacity: 0.3;
}

/* Nav Link and Action Button - synced styles */
.nav-link,
.nav-action-btn,
.nav-menu a {
    background: transparent;
    color: var(--text-light);
    border: none;
    padding: 8px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    outline: none;
}

.nav-link:hover,
.nav-link.active,
.nav-action-btn:hover,
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
    background: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0;
    margin-left: auto;
    margin-right: 0;
}

.nav-menu > li {
    padding: 0 0.85rem;
}

.btn-primary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 0.6rem 1.5rem;
    /* Adjusted */
    font-size: 0.95rem;
    /* Synced with nav links */
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 163, 74, 0.4);
}

.btn-primary.active {
    background: var(--gold);
    color: var(--navy);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--navy);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8%;
    position: relative;
    overflow: hidden;
    background-image: url('../Img/hero-bg-new.webp');
    background-size: cover;
    background-position: center center;
}

.hero::before {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 20, 38, 0.7) 0%, rgba(15, 20, 38, 0.5) 50%, rgba(15, 20, 38, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    padding: 2rem;
    text-align: left;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-eyebrow {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.875rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 0 2.5rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--gold);
    color: var(--dark-navy);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    outline: none;
    line-height: normal;
    appearance: none;
}

.hero-cta-btn:hover {
    background-color: #e0bc84;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 163, 74, 0.4);
}

/* Parallax effect for hero background */
@media (min-width: 769px) {
    .hero {
        background-attachment: fixed;
    }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    .hero-title {
        letter-spacing: 1.5px;
    }

    .hero-cta-btn {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero-cta-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

/* Scroll offset for anchor links */
#team,
#partners {
    scroll-margin-top: 100px;
}

/* Contact CTA Section */
.contact-cta-section {
    background: var(--light-bg);
    text-align: center;
    padding: var(--section-padding) 2rem;
}

.contact-cta-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-cta-section p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: rgba(26, 31, 58, 0.7);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.contact-cta-section .hero-cta-btn,
.contact-cta-section .btn-primary {
    display: inline-block;
    text-decoration: none;
}

/* Vision & Mission Section */
.vision-mission-section {
    background: var(--navy);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 2rem;
}

.vision-mission-image {
    overflow: hidden;
    transition: all 0.3s;
}

.vision-mission-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: right center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(229, 163, 74, 0.15);
    filter: grayscale(10%) brightness(0.95);
    transition: all 0.5s;
}

.vision-mission-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.vision-block h2,
.mission-block h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 500;
}

.vision-block p,
.mission-block p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-weight: 400;
}

/* Team & Partners Section */
.team-partners-section {
    padding: var(--section-padding) 0;
    background: var(--dark-navy);
}

/* Section Header Bar — centered, uppercase */
.section-header-bar {
    text-align: center;
    margin-bottom: 4rem;
    background: transparent;
    border: none;
    padding: 0;
}

.section-header-bar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-header-bar h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--gold);
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
}

.section-bar-logo {
    display: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
}

.team-member-card {
    background: rgba(46, 53, 88, 0.3);
    overflow: hidden;
    border: 1px solid rgba(229, 163, 74, 0.1);
    transition: all 0.3s;
}

.team-member-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(229, 163, 74, 0.2);
}

.member-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(10%);
    transition: all 0.3s;
}

.team-member-card:hover .member-photo img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 500;
    font-style: italic;
}

/* Team Profile Grid - Photo on top, info below */
.team-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 0;
    position: relative;
}

.team-profile-card {
    background: transparent;
    text-align: left;
    transition: transform 0.6s cubic-bezier(0.835, 0, 0.19, 1);
}

.team-profile-card:hover {
    transform: translateY(-8px);
}

.profile-photo-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--light-navy);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.6s cubic-bezier(0.835, 0, 0.19, 1);
}

.team-profile-card:hover .profile-photo-wrapper {
    box-shadow: var(--shadow-card-hover);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: none;
    transition: transform 0.75s cubic-bezier(0.835, 0, 0.19, 1);
}

.team-profile-card:hover .profile-photo {
    transform: scale(1.05);
}

.profile-info {
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-info .profile-name,
.profile-info .profile-license,
.profile-info .profile-role,
.profile-info .contact-detail {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1.5px;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.profile-license {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    font-weight: 400;
}

.profile-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.contact-detail {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin: 0.2rem 0;
    transition: color 0.3s ease;
}

a.contact-detail:hover {
    color: var(--gold);
}

/* Watermark for team section */
.team-partners-section .watermark-bg {
    position: absolute;
    bottom: -60px;
    right: -20px;
    height: 300px;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

/* Team Grid Responsive */
@media (max-width: 768px) {
    .team-grid-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .profile-photo-wrapper {
        margin-bottom: 1rem;
    }

    .profile-name {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .profile-license {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }

    .profile-role {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }

    .contact-detail {
        display: block;
        font-size: 0.8rem;
    }
}


.business-card {
    display: flex;
    flex-direction: row;
    background: #1c223a;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(229, 163, 74, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
    border-color: rgba(229, 163, 74, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.business-card .card-left {
    flex: 1;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    min-width: 0;
}

.business-card .card-header {
    margin-bottom: 1rem;
}

.business-card .member-name {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    margin: 0;
    letter-spacing: 1px;
}

.business-card .divider {
    color: white;
    font-family: monospace;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-top: 0.3rem;
    font-size: 0.8rem;
}

.business-card .card-contact {
    margin-bottom: 1rem;
}

.business-card .card-contact p,
.business-card .card-contact a {
    font-family: 'Source Serif Pro', serif;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    margin: 0.2rem 0;
    display: block;
}

.business-card .card-contact a:hover {
    color: var(--gold);
}

.business-card .card-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.business-card .lac-shield-logo {
    height: 50px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(85%) sepia(21%) saturate(836%) hue-rotate(352deg) brightness(89%) contrast(89%);
}

.business-card .realtor-logos-container {
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 1rem;
}

.business-card .realtor-logo {
    height: 35px;
    object-fit: contain;
}

.business-card .card-right {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    padding: 1.5rem 1.5rem 1.5rem 0;
}

.business-card .photo-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.business-card .member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.business-card .nikki-photo .member-photo {
    transform: scale(1.15);
}

.business-card .card-footer p {
    font-family: 'Source Serif Pro', serif;
    font-size: 0.75rem;
    color: white;
    margin: 0.15rem 0;
    line-height: 1.3;
    text-align: center;
}

.business-card .watermark-bg {
    position: absolute;
    bottom: -40px;
    right: 30px;
    height: 250px;
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
}

/* Mobile Responsiveness for Horizontal Business Card - STAYS HORIZONTAL */
@media (max-width: 768px) {
    .team-cards-stack {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    .business-card {
        flex-direction: row;
        padding: 0;
    }
    .business-card .card-left {
        padding: 1.2rem;
        min-width: 0;
    }
    .business-card .card-header {
        margin-bottom: 0.5rem;
    }
    .business-card .member-name {
        font-size: 1.1rem;
    }
    .business-card .divider {
        font-size: 0.6rem;
        margin-top: 0.2rem;
    }
    .business-card .card-contact {
        margin-bottom: 0.5rem;
    }
    .business-card .card-contact p,
    .business-card .card-contact a {
        font-size: 0.75rem;
        margin: 0.1rem 0;
    }
    .business-card .card-logos {
        gap: 0.5rem;
    }
    .business-card .lac-shield-logo {
        height: 28px;
    }
    .business-card .realtor-logos-container {
        padding-left: 0.5rem;
    }
    .business-card .realtor-logo {
        height: 18px;
    }
    .business-card .card-right {
        width: 120px;
        padding: 0.8rem 0.8rem 0.8rem 0;
        flex-shrink: 0;
    }
    .business-card .photo-wrapper {
        margin-bottom: 0.4rem;
    }
    .business-card .card-footer p {
        font-size: 0.55rem;
    }
    .business-card .watermark-bg {
        height: 150px;
        right: 0;
    }
}

@media (max-width: 380px) {
    .business-card .card-right {
        width: 100px;
        padding: 0.6rem 0.6rem 0.6rem 0;
    }
    .business-card .card-left {
        padding: 0.8rem;
    }
    .business-card .member-name {
        font-size: 0.95rem;
    }
    .business-card .card-contact p,
    .business-card .card-contact a {
        font-size: 0.65rem;
    }
    .business-card .lac-shield-logo {
        height: 22px;
    }
    .business-card .realtor-logo {
        height: 14px;
    }
}

/* Partners Row */
.partners-row {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(229, 163, 74, 0.1);
}

.partners-row.logo-white .partner-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.partners-row.logo-white .partner-card img {
    filter: invert(1) brightness(2) contrast(1.5);
    mix-blend-mode: screen;
    height: 45px;
    object-fit: contain;
    opacity: 1;
}

/* Footer v2 */
.site-footer-v2 {
    background: #0a0d1a;
    padding: 4rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo-section {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Footer logo: always show white version, no swap needed */
.site-footer-v2 .brand-logo-white {
    opacity: 1 !important;
}

.footer-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-info-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-info-col p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
    margin: 0;
}

.footer-info-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-info-col a:hover {
    color: var(--white);
}

.footer-nav-row {
    display: flex;
    gap: 2.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex-wrap: wrap;
}

.footer-nav-row a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.footer-nav-row a:hover {
    color: var(--white);
}

.footer-disclaimer-text {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-disclaimer-text p {
    color: var(--text-muted);
    font-size: 0.7rem;
    line-height: 1.8;
    opacity: 0.6;
    margin-bottom: 0.75rem;
}

.footer-disclaimer-text p:last-child {
    margin-bottom: 0;
}

.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-badge-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.5;
}

.footer-links {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(229, 163, 74, 0.08);
}

.footer-links a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

/* Team Section - Our Integrated Team */
.team-section-wrapper {
    margin-top: 6rem;
    background: var(--navy);
    padding: 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.team-section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.team-section-header {
    background: linear-gradient(90deg,
            var(--navy) 0%,
            var(--light-navy) 15%,
            var(--light-navy) 85%,
            var(--navy) 100%);
    padding: 2.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(229, 163, 74, 0.2);
    border-top: 1px solid rgba(229, 163, 74, 0.1);
    position: relative;
}

.team-section-header::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.team-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-style: italic;
    color: var(--gold);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.team-header-logo {
    height: 70px;
    opacity: 0.9;
}

.team-header-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.team-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: var(--navy);
    min-height: 500px;
}

.team-photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    position: relative;
    background: var(--dark-navy);
    padding: 3rem;
}

.team-photo-item {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--light-navy);
    border-radius: 8px;
    border: 2px solid rgba(229, 163, 74, 0.15);
    transition: all 0.3s;
}

.team-photo-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(229, 163, 74, 0.2);
}

.team-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(10%) brightness(0.95);
    transition: all 0.3s;
}

.team-photo-item:hover img {
    filter: grayscale(0%) brightness(1.05);
    transform: scale(1.05);
}

/* Specific positioning for better face visibility */
.team-photo-item:nth-child(2) img {
    object-position: center 20%;
}

.team-description {
    padding: 4rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    background: linear-gradient(135deg, var(--navy), var(--light-navy));
}

.team-intro,
.team-focus {
    font-size: 1.35rem;
    line-height: 1.9;
    color: var(--text-light);
    margin: 0;
    font-weight: 400;
}

.team-intro strong,
.team-focus strong {
    font-weight: 700;
    color: var(--gold);
    font-size: 1.4rem;
}

@media (max-width: 968px) {
    .team-content-grid {
        grid-template-columns: 1fr;
    }

    .team-photos-grid {
        min-height: 300px;
        padding: 1.5rem;
        gap: 1px;
    }

    .team-description {
        padding: 2rem 1.5rem;
    }

    .team-section-header {
        padding: 1.5rem;
    }

    .team-section-title {
        font-size: 2rem;
    }

    .team-header-logo {
        height: 45px;
    }

    .team-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .team-card-photo {
        height: 240px;
    }

    .section-header-bar h2 {
        font-size: 1.8rem;
    }

    .section-bar-logo {
        display: none;
    }

}

@media (max-width: 640px) {

    .team-intro,
    .team-focus {
        font-size: 1rem;
    }

    .team-intro strong,
    .team-focus strong {
        font-size: 1.1rem;
    }

    .team-description {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .team-section-header {
        padding: 1rem;
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .team-section-title {
        font-size: 1.6rem;
    }

    .team-photos-grid {
        padding: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin: 1.5rem auto 2rem;
    }
}

/* Section Wrapper - Reusable */
.section-wrapper {
    background: var(--navy);
    padding: 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.6;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 3rem auto 4rem;
    max-width: 800px;
    padding: 0 2rem;
    font-weight: 400;
    line-height: 1.7;
}

/* Business Model Section */
.business-model {
    padding: 6rem 0;
    background: var(--navy);
}

.model-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.fund-structure {
    text-align: center;
}

.fund-structure h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.donut-chart {
    width: 250px;
    height: 250px;
    margin: 0 auto 2rem;
}

.chart-label {
    font-size: 2.5rem;
    font-weight: 700;
    fill: var(--text-light);
}

.chart-sublabel {
    font-size: 1rem;
    fill: var(--text-muted);
}

.legend {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.commitment-details h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.commitment-details p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.split-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.split-card {
    background: rgba(46, 53, 88, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(229, 163, 74, 0.1);
}

.split-card h4 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.split-card span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.split-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Transparency Section */
.transparency-section {
    margin: 4rem 0 0 0;
    padding-top: 4rem;
    border-top: 1px solid rgba(229, 163, 74, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(46, 53, 88, 0.3);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(229, 163, 74, 0.1);
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem;
    background: rgba(229, 163, 74, 0.1);
    border-radius: 8px;
    margin-top: 4rem;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .brand-letters span {
        font-size: 12rem;
    }

    .brand-logo-center img {
        height: 180px;
    }

    .hero-brand-showcase {
        height: 300px;
    }
}


@media (max-width: 768px) {
    .navbar .container {
        position: relative;
        gap: 0.5rem;
        display: flex;
        flex-direction: row;
    }

    .nav-brand {
        flex: 0 1 auto;
        min-width: 0;
        order: 0;
    }

    .logo-swap-wrapper {
        height: 52px;
    }

    .brand-logo {
        height: 52px;
    }

    .nav-actions {
        margin-left: auto;
        flex-shrink: 0;
        gap: 0.4rem;
        order: 1;
        padding: 0;
    }

    /* Hide lang dropdown from header bar on mobile */
    .lang-dropdown {
        display: none;
    }

    /* Show mobile-only nav items */
    .nav-close-item {
        display: flex;
    }

    .nav-lang-mobile-item {
        display: block;
    }

    /* Fix Properties/Services alignment — <span> doesn't inherit .nav-menu a styles */
    .nav-menu .nav-dropdown-toggle {
        padding: 1rem 0.5rem;
        display: flex;
        width: 100%;
        box-sizing: border-box;
        font-size: 1rem;
        font-weight: 400;
        letter-spacing: 0.8px;
        transition: all 0.3s;
        cursor: pointer;
    }

    .nav-menu .nav-dropdown-toggle:hover {
        padding-left: 0.8rem;
        background: rgba(229, 163, 74, 0.1);
    }

    /* Close button */
    .nav-close-item {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 0.75rem 0.5rem 0.75rem 0;
        border-bottom: 1px solid rgba(229, 163, 74, 0.15);
    }

    .nav-close-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: none;
        border: none;
        color: rgba(255, 255, 255, 0.7);
        font-family: 'Montserrat', sans-serif;
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 1px;
        text-transform: uppercase;
        cursor: pointer;
        padding: 0.5rem 0.5rem;
        transition: color 0.2s;
    }

    .nav-close-btn:hover {
        color: white;
    }

    /* Mobile language item — styled same as other nav dropdown items */
    .nav-lang-mobile-item {
        border-top: 1px solid rgba(229, 163, 74, 0.15);
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        padding: 0.4rem;
        z-index: 1002;
        flex-shrink: 0;
        transition: opacity 0.2s;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .mobile-menu-toggle:hover {
        opacity: 0.7;
    }

    .navbar.scrolled .mobile-menu-toggle {
        color: white;
    }

    body.menu-open .mobile-menu-toggle {
        display: none;
    }

    .nav-phone {
        display: none;
    }

    .lang-toggle {
        padding: 0.3rem 0.6rem;
        min-width: 40px;
        font-size: 0.8rem;
    }

    .btn-primary {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 280px;
        height: 100vh;
        background: var(--dark-navy);
        flex-direction: column;
        padding: 4rem 1.5rem 1.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 1001;
        overflow-y: auto;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(229, 163, 74, 0.1);
        width: 100%;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        font-size: 1rem;
        display: block;
        padding: 1rem 0.5rem;
        width: 100%;
        transition: all 0.3s;
    }

    .nav-menu a:hover {
        padding-left: 0.8rem;
        background: rgba(229, 163, 74, 0.1);
    }

    /* Reset nav-action-btn inside mobile menu to look like menu items */
    .nav-menu .nav-action-btn {
        border: none;
        display: block;
        width: 100%;
        text-align: left;
        padding: 1rem 0.5rem;
        font-size: 1rem;
        color: var(--gold);
        background: transparent;
    }

    .nav-menu .nav-action-btn:hover {
        padding-left: 0.8rem;
        background: rgba(229, 163, 74, 0.1);
        color: var(--gold);
    }

    /* Overlay when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1000;
        animation: fadeIn 0.3s;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .vision-mission-image img {
        height: 300px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 2rem 0.5rem;
    }

    .member-photo {
        height: 200px;
    }

    .brand-logo-center img {
        height: 120px;
    }

    .hero-brand-showcase {
        height: 200px;
    }

    .hero-disclaimer {
        font-size: 0.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .model-grid {
        grid-template-columns: 1fr;
    }

    .split-details {
        grid-template-columns: 1fr;
    }

    .strategy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .vision-mission-grid {
        padding: 1.5rem 0.5rem;
    }

    .vision-mission-image img {
        height: 250px;
    }

    .vision-block h2,
    .mission-block h2 {
        font-size: 1.6rem;
    }

    .vision-block p,
    .mission-block p {
        font-size: 0.9rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem 0.5rem;
    }

    .member-photo {
        height: 280px;
    }

    .team-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .team-card-photo {
        height: 240px;
    }

    .section-heading {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}


/* Contact Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--dark-navy);
    padding: 3rem;
    border-radius: 0;
    max-width: 450px;
    width: 90%;
    position: relative;
    border: 1px solid rgba(229, 163, 74, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease-out;
}

.modal-close {
    display: none;
}

.modal-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.modal-content p {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#contactForm input {
    font-family: 'Montserrat', sans-serif;
    padding: 1rem;
    border: 2px solid rgba(229, 163, 74, 0.3);
    border-radius: 4px;
    background: rgba(46, 53, 88, 0.5);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s;
}

#contactForm input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(46, 53, 88, 0.7);
}

#contactForm input::placeholder {
    color: var(--text-muted);
}

#contactForm .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.modal-error,
.modal-success {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    display: none;
    animation: slideDown 0.3s ease-out;
}

.modal-error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #ff6b6b;
}

.modal-success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #51cf66;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .modal-content h2 {
        font-size: 1.8rem;
    }
}

/* ========================================= */
/* Imported from listings.css */
/* ========================================= */

/* Search and Filter Section */
.search-filter-section {
    display: flex;
    gap: 1rem;
    margin: 3rem 0 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Search Bar */
.search-bar {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--gold);
    pointer-events: none;
    z-index: 1;
}

.search-bar input {
    width: 100%;
    padding: 1rem 3rem 1rem 3rem;
    background: rgba(46, 53, 88, 0.5);
    border: 2px solid rgba(229, 163, 74, 0.3);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.price-on-request {
    font-size: 0.9rem;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-on-request:hover {
    background-color: var(--gold);
    color: var(--main-blue);
}



.search-bar input:hover {
    border-color: rgba(229, 163, 74, 0.5);
    background: rgba(46, 53, 88, 0.6);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(46, 53, 88, 0.7);
    box-shadow: 0 0 0 3px rgba(229, 163, 74, 0.1);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.clear-search {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
    z-index: 1;
}

.clear-search:hover {
    color: var(--gold);
    background: rgba(229, 163, 74, 0.1);
    transform: rotate(90deg);
}

/* Advanced Filters */
.advanced-filters {
    position: relative;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(46, 53, 88, 0.5);
    border: 2px solid rgba(229, 163, 74, 0.3);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 140px;
    justify-content: center;
}

.filter-toggle:hover {
    border-color: var(--gold);
    background: rgba(46, 53, 88, 0.7);
}

.filter-toggle svg {
    color: var(--gold);
    flex-shrink: 0;
}

.filter-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(26, 31, 58, 0.98);
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold);
    padding: 2rem;
    min-width: 380px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(229, 163, 74, 0.1);
    z-index: 100;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    animation: dropdownSlide 0.3s ease-out;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-dropdown.active {
    display: flex;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.filter-group label {
    font-family: 'Montserrat', sans-serif;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    padding: 0.85rem 1rem;
    background: rgba(46, 53, 88, 0.5);
    border: 2px solid rgba(229, 163, 74, 0.3);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23E5A34A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.filter-group select:hover {
    border-color: rgba(229, 163, 74, 0.5);
    background-color: rgba(46, 53, 88, 0.6);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(46, 53, 88, 0.7);
    box-shadow: 0 0 0 3px rgba(229, 163, 74, 0.1);
}

.filter-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(229, 163, 74, 0.2);
}

.filter-actions button {
    flex: 1;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
}

.filter-actions .btn-secondary {
    background: transparent;
    border: 2px solid rgba(229, 163, 74, 0.4);
    color: var(--text-light);
}

.filter-actions .btn-secondary:hover {
    border-color: var(--gold);
    background: rgba(229, 163, 74, 0.1);
    color: var(--gold);
}

.filter-actions .btn-primary {
    background: var(--gold);
    color: var(--navy);
    border: 2px solid var(--gold);
}

.filter-actions .btn-primary:hover {
    background: #C49A5F;
    border-color: #C49A5F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 163, 74, 0.3);
}

/* Results Count */
.results-count {
    text-align: center;
    margin: 1rem 0 2rem;
    color: #E8E8E8;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0 3rem;
}

.filter-tab {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 0.75rem 2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.filter-tab:hover {
    background: rgba(229, 163, 74, 0.1);
}

.filter-tab.active {
    background: var(--gold);
    color: var(--navy);
}

/* Listings Section */
.listings-content {
    padding: 7rem 0 6rem 0;
    background: var(--navy);
}

/* Listings Grid as UL/LI Structure */
.listings-grid {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 0 1rem;
    list-style: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}

.listings-grid .listing-card {
    list-style: none;
}

.listing-card {
    background: rgba(46, 53, 88, 0.3);
    overflow: hidden;
    border: 1px solid rgba(229, 163, 74, 0.1);
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.listing-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(229, 163, 74, 0.3);
}

.listing-card.hidden {
    display: none;
}

.listing-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(10%) brightness(0.95);
    transition: all 0.3s;
}

.listing-card:hover .listing-image img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1.05);
}

.listing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.listing-badge.sold {
    background: rgba(150, 150, 150, 0.95);
    color: white;
}

.listing-badge.active {
    background: rgba(76, 175, 80, 0.95);
    color: white;
}

.listing-badge.coming-soon {
    background: rgba(229, 163, 74, 0.95);
    color: var(--navy);
}

.listing-info {
    padding: 1.5rem;
}

.listing-info h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.listing-location {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.listing-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.listing-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(229, 163, 74, 0.1);
}

.listing-details span {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background: rgba(229, 163, 74, 0.1);
    border-radius: 4px;
}

.listing-price {
    font-size: 1.75rem;
    color: var(--gold);
    font-weight: 700;
    margin-top: 1rem;
}

.listing-status-text {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
    font-style: italic;
    margin-top: 1rem;
}

/* Simplified Property Cards - Blue-Gold Theme */
.listing-card.simple-card {
    background: rgba(46, 53, 88, 0.3);
    overflow: hidden;
    border: 1px solid rgba(229, 163, 74, 0.1);
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    width: calc(33.33% - 20px);
    margin: 0 10px 15px 10px;
    position: relative;
}

.listing-card.simple-card:hover {
    border-color: var(--gold);
}

.listing-card.simple-card .listing-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.listing-card.simple-card .listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(10%) brightness(0.95);
    transition: all 0.3s;
}

.listing-card.simple-card:hover .listing-image img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1.05);
}

.listing-card.simple-card .photo-count {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.15rem 0.4rem;
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.listing-card.simple-card .photo-count::before {
    content: "📷";
    font-size: 0.6rem;
}

/* Property Details Row */
.property-details-row {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
}

.property-detail-item {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.2rem 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.listing-info-simple {
    padding: 1rem;
    background: rgba(46, 53, 88, 0.3);
}

.listing-price-large {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.3rem;
    font-family: 'Montserrat', sans-serif;
}

.listing-status-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    margin-left: 0.5rem;
}

.listing-status-badge.active {
    background: rgba(76, 175, 80, 0.95);
    color: white;
}

.listing-status-badge.sold {
    background: rgba(150, 150, 150, 0.95);
    color: white;
}

.listing-status-badge.coming-soon {
    background: rgba(229, 163, 74, 0.95);
    color: var(--navy);
}

.listing-status-badge.in-contract {
    background: rgba(255, 152, 0, 0.95);
    color: white;
}

/* Sold listings styling */
.listing-card.sold-listing .listing-image img {
    filter: grayscale(100%) brightness(0.8);
}

.listing-card.sold-listing:hover .listing-image img {
    filter: grayscale(90%) brightness(0.9);
}

.listing-card.sold-listing .listing-price-large {
    color: var(--text-muted);
}

.listing-address-main {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.3;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.3rem;
}

.listing-agent-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Simplified Skeleton Loading for LI elements */
.skeleton-card.simple-skeleton {
    background: white;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    animation: pulse 1.5s ease-in-out infinite;
    list-style: none;
    width: calc(33.33% - 20px);
    margin: 0 10px 15px 10px;
}

.skeleton-card.simple-skeleton .skeleton-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.skeleton-info-simple {
    padding: 1rem;
}

.skeleton-info-simple .skeleton-line {
    height: 12px;
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    margin-bottom: 0.75rem;
}

.skeleton-price-large {
    width: 60%;
    height: 24px;
}

.skeleton-status {
    width: 30%;
    height: 16px;
}

.skeleton-address {
    width: 80%;
    height: 16px;
}

@media (max-width: 768px) {
    .search-filter-section {
        flex-direction: column;
        margin: 2rem 0 1.5rem;
    }

    .search-bar {
        min-width: 100%;
    }

    .filter-dropdown {
        right: auto;
        left: 0;
        min-width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

    .listings-grid {
        grid-template-columns: 1fr;
    }

    .listings-content {
        padding: 3rem 0;
    }

    .filter-tabs {
        gap: 0.4rem;
        margin: 1.5rem 0 2rem;
    }

    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .load-more-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .listing-card {
        margin-bottom: 0;
    }

    .listing-image {
        height: 200px;
    }

    .listing-info {
        padding: 1.25rem;
    }

    .listing-info h3 {
        font-size: 1.3rem;
    }

    .listing-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .listing-info h3 {
        font-size: 1.2rem;
    }

    .listing-price {
        font-size: 1.3rem;
    }

    .filter-tabs {
        margin: 1rem 0 1.5rem;
    }

    .listings-content {
        padding: 2rem 0;
    }

    .listing-image {
        height: 180px;
    }

    .listing-info {
        padding: 1rem;
    }

    .listing-desc {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .listing-details {
        gap: 0.75rem;
        margin-bottom: 0.75rem;
        padding-top: 0.75rem;
    }

    .listing-details span {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
}

/* MLS Listing Enhancements */
.listing-mls-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(229, 163, 74, 0.1);
}

.mls-number {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.photo-count {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.listing-card {
    cursor: pointer;
}

/* Loading States */
.loading-state,
.no-results,
.error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(229, 163, 74, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Skeleton Loading */
.skeleton-card {
    background: rgba(46, 53, 88, 0.3);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(229, 163, 74, 0.1);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.skeleton-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(90deg,
            rgba(46, 53, 88, 0.5) 25%,
            rgba(58, 67, 98, 0.5) 50%,
            rgba(46, 53, 88, 0.5) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-info {
    padding: 1.5rem;
}

.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg,
            rgba(46, 53, 88, 0.5) 25%,
            rgba(58, 67, 98, 0.5) 50%,
            rgba(46, 53, 88, 0.5) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.skeleton-title {
    width: 80%;
    height: 20px;
}

.skeleton-location {
    width: 50%;
    height: 14px;
}

.skeleton-desc {
    width: 100%;
    height: 12px;
}

.skeleton-details {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.skeleton-badge {
    width: 60px;
    height: 24px;
    background: linear-gradient(90deg,
            rgba(46, 53, 88, 0.5) 25%,
            rgba(58, 67, 98, 0.5) 50%,
            rgba(46, 53, 88, 0.5) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
}

.skeleton-price {
    width: 40%;
    height: 24px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2.5rem 0 1rem;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.page-btn:hover:not(.disabled):not(.active) {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(229, 163, 74, 0.08);
}

.page-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    font-weight: 700;
}

.page-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-btn.page-prev,
.page-btn.page-next {
    min-width: 36px;
}

.page-dots {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0 0.25rem;
    user-select: none;
}

@media (max-width: 480px) {
    .pagination {
        gap: 0.3rem;
    }
    .page-btn {
        min-width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #C49A5F;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(229, 163, 74, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Listing Details Modal - Fixed Size */
.listing-details-modal .modal-content {
    width: 1100px;
    height: 650px;
    max-width: 95vw;
    max-height: 90vh;
    padding: 0;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

/* Left side - Gallery */
.listing-gallery {
    flex: 0 0 55%;
    position: relative;
    background: rgba(26, 31, 58, 0.8);
    overflow: hidden;
}

.listing-gallery-main {
    width: 100%;
    height: 100%;
    position: relative;
}

.listing-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.75rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.gallery-arrow:hover {
    background: rgba(229, 163, 74, 0.8);
}

.gallery-arrow.prev {
    left: 1rem;
}

.gallery-arrow.next {
    right: 1rem;
}

.photo-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* Right side - Info */
.listing-details-info {
    flex: 1;
    padding: 0;
    overflow: hidden;
    background: rgba(35, 40, 80, 0.95);
    display: flex;
    flex-direction: column;
}

.listing-details-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(229, 163, 74, 0.2);
}

.listing-details-info h2 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.listing-price-large {
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 700;
}

/* Tabs Navigation */
.listing-tabs {
    display: flex;
    border-bottom: 2px solid rgba(229, 163, 74, 0.2);
    background: rgba(26, 31, 58, 0.5);
}

.listing-tab {
    flex: 1;
    padding: 0.85rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.listing-tab:hover {
    color: var(--text-light);
    background: rgba(229, 163, 74, 0.05);
}

.listing-tab.active {
    color: var(--gold);
    background: rgba(229, 163, 74, 0.1);
}

.listing-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}

/* Tab Content */
.listing-tab-content {
    display: none;
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.listing-tab-content.active {
    display: block;
}

.listing-tab-content::-webkit-scrollbar {
    width: 6px;
}

.listing-tab-content::-webkit-scrollbar-track {
    background: rgba(46, 53, 88, 0.3);
}

.listing-tab-content::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

/* Overview Tab */
.listing-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(46, 53, 88, 0.4);
    border-radius: 8px;
}

.spec-item {
    text-align: center;
}

.spec-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    display: block;
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 700;
}

.listing-description-short {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.listing-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(46, 53, 88, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.highlight-item svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
}

/* Details Tab */
.listing-description-full {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.listing-features {
    margin-bottom: 1.5rem;
}

.listing-features h3 {
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.listing-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.listing-features li {
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.85rem;
}

.listing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.property-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(46, 53, 88, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
}

.detail-label {
    color: var(--text-muted);
}

.detail-value {
    color: var(--text-light);
    font-weight: 600;
}

/* Agent Tab */
.listing-agent-info {
    padding: 0;
}

.agent-card {
    background: rgba(46, 53, 88, 0.4);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.agent-card h3 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.agent-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.agent-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.agent-detail-item svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
}

.mls-info {
    padding: 1rem;
    background: rgba(26, 31, 58, 0.6);
    border-radius: 6px;
    border-left: 3px solid var(--gold);
}

.mls-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0.25rem 0;
}

/* Actions Footer */
.listing-actions-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(229, 163, 74, 0.2);
    background: rgba(26, 31, 58, 0.5);
    display: flex;
    gap: 0.75rem;
}

.listing-actions-footer button,
.listing-actions-footer a {
    flex: 1;
    padding: 0.85rem;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(229, 163, 74, 0.1);
}

/* Email Request Form - Compact */
.email-request-form {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    background: rgba(26, 31, 58, 0.98);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    min-width: 450px;
    max-width: 90vw;
    animation: popIn 0.3s ease-out;
}

.email-request-form.active {
    display: block;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.email-request-form h3 {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.email-request-form p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.email-request-form input {
    width: 100%;
    padding: 0.85rem;
    background: rgba(46, 53, 88, 0.5);
    border: 2px solid rgba(229, 163, 74, 0.3);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.email-request-form input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(46, 53, 88, 0.7);
}

.email-request-form input::placeholder {
    color: var(--text-muted);
}

.email-request-form .form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.email-request-form .form-actions button {
    flex: 1;
    padding: 0.85rem;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    text-align: center;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

.email-form-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
}

.email-form-overlay.active {
    display: block;
}

/* Responsive */
@media (max-width: 1150px) {
    .listing-details-modal .modal-content {
        width: 95vw;
        height: 85vh;
    }
}

@media (max-width: 968px) {
    .listing-details-modal .modal-content {
        flex-direction: column;
        width: 95vw;
        height: 90vh;
    }

    .listing-gallery {
        flex: 0 0 40%;
        min-height: 300px;
    }

    .listing-details-info {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .listing-details-modal .modal-content {
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }

    .listing-gallery {
        min-height: 250px;
        flex: 0 0 35%;
    }

    .listing-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .listing-highlights {
        grid-template-columns: 1fr;
    }

    .listing-features ul {
        grid-template-columns: 1fr;
    }

    .property-details-grid {
        grid-template-columns: 1fr;
    }

    .listing-price-large {
        font-size: 1.5rem;
    }

    .listing-details-info h2 {
        font-size: 1.2rem;
    }

    .listing-details-header {
        padding: 1.25rem;
    }

    .listing-tab-content {
        padding: 1.25rem;
    }

    .listing-tab {
        font-size: 0.75rem;
        padding: 0.75rem 0.5rem;
    }

    .listing-actions-footer {
        flex-direction: column;
        padding: 1rem;
    }

    .email-request-form {
        min-width: 90vw;
        padding: 1.5rem;
    }
}

/* Responsive for Grid Layout with UL/LI */
@media (max-width: 1024px) {

    .listings-grid .listing-card,
    .listings-grid .skeleton-card {
        width: calc(50% - 20px);
    }

    .listing-card.simple-card .listing-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .listings-grid {
        padding: 0 0.5rem;
    }

    .listings-grid .listing-card,
    .listings-grid .skeleton-card {
        width: calc(100% - 20px);
    }

    .listing-card.simple-card .listing-image {
        height: 200px;
    }

    .listing-price-large {
        font-size: 1.5rem;
    }

    .listing-address-main {
        font-size: 1rem;
    }

    .listing-info-simple {
        padding: 1rem;
    }

    .property-details-row {
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .property-detail-item {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .listing-card.simple-card .listing-image {
        height: 180px;
    }

    .listing-price-large {
        font-size: 1.3rem;
    }

    .listing-address-main {
        font-size: 0.9rem;
    }

    .listing-info-simple {
        padding: 0.75rem;
    }

    .property-details-row {
        bottom: 0.3rem;
        left: 0.3rem;
        right: 0.3rem;
    }
}

/* New Search and Filter Section - Blue-Gold Theme */
.search-filter-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1.5rem;
    background: rgba(46, 53, 88, 0.3);
    border: 1px solid rgba(229, 163, 74, 0.1);
    flex-wrap: wrap;
}

/* Main Search Bar */
.main-search-bar {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    align-items: center;
}

.main-search-bar .search-icon {
    position: absolute;
    left: 1rem;
    color: var(--gold);
    pointer-events: none;
    z-index: 1;
}

.main-search-bar input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 1px solid rgba(229, 163, 74, 0.3);
    background: rgba(46, 53, 88, 0.5);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.main-search-bar input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(46, 53, 88, 0.7);
    box-shadow: 0 0 0 2px rgba(229, 163, 74, 0.1);
}

.main-search-bar input::placeholder {
    color: var(--text-muted);
}

/* Filter Dropdowns */
.filter-dropdowns {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}



/* Filter Dropdowns - Updated for PC sizing */
/* Filter Buttons */
.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(229, 163, 74, 0.4);
    background: rgba(26, 31, 58, 0.6);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
    border-radius: 0;
    backdrop-filter: blur(4px);
}

.filter-btn:hover {
    background-color: rgba(46, 53, 88, 0.8);
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.filter-btn.active {
    background-color: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    font-weight: 600;
}



/* View Toggle */
.view-toggle {
    display: flex;
    gap: 0.25rem;
    margin-left: auto;
}

.view-btn {
    padding: 0.75rem;
    border: 1px solid rgba(229, 163, 74, 0.3);
    background: rgba(46, 53, 88, 0.5);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(46, 53, 88, 0.6);
}

.view-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.view-btn svg {
    width: 16px;
    height: 16px;
}

/* List View Styles - Blue-Gold Theme */
.listings-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.listings-grid.list-view .listing-card.simple-card {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: row;
    height: 200px;
    background: rgba(46, 53, 88, 0.3);
    border: 1px solid rgba(229, 163, 74, 0.1);
}

.listings-grid.list-view .listing-card.simple-card .listing-image {
    flex: 0 0 300px;
    height: 100%;
}

.listings-grid.list-view .listing-card.simple-card .listing-info-simple {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(46, 53, 88, 0.3);
}

.listings-grid.list-view .listing-card.simple-card .property-details-row {
    position: static;
    background: transparent;
    color: var(--text-light);
    margin-top: 1rem;
}

.listings-grid.list-view .listing-card.simple-card .property-detail-item {
    background: rgba(229, 163, 74, 0.1);
    color: var(--text-light);
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
}

/* Responsive for new search design */
/* Responsive Mobile Redesign - Boyenga Style */
@media (max-width: 768px) {
    .search-filter-section {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem;
        margin: 0.5rem 0;
        padding: 0.25rem;
        align-items: center;
        background: transparent;
        border: none;
    }

    /* Row 1: Search Bar (Left) */
    .main-search-bar {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        min-width: 0;
    }

    .main-search-bar input {
        background: rgba(26, 31, 58, 0.8);
        border: 1px solid rgba(229, 163, 74, 0.4);
        border-radius: 0;
        /* Sharp corners */
        height: 46px;
        /* Explicit height for alignment */
    }

    /* Hide View Toggle on Mobile */
    .view-toggle {
        display: none !important;
    }

    /* Row 2: Scrollable Filters */
    .filter-dropdowns {
        grid-column: 1 / -1;
        /* Full Width */
        grid-row: 2;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.75rem;
        padding: 4px 0 12px 0;
        /* Space for scroll */
        justify-content: flex-start;
        scrollbar-width: none;
        /* Firefox */
        -webkit-overflow-scrolling: touch;
    }

    .filter-dropdowns::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for cleaner look */
    }

    .filter-btn {
        min-width: auto;
        padding: 0.35rem 1rem;
        font-size: 0.75rem;
        white-space: nowrap;
        background-color: rgba(26, 31, 58, 0.8);
        /* Slightly darker/solid for better mobile readability */
        height: 34px;
        /* Consistent height */
        flex: 0 0 auto;
    }

    .results-count {
        margin: 0.5rem 0 1rem;
        font-size: 0.85rem;
    }

    /* List View Adjustments */
    .listings-grid.list-view .listing-card.simple-card {
        flex-direction: column;
        height: auto;
    }

    .listings-grid.list-view .listing-card.simple-card .listing-image {
        flex: none;
        height: 200px;
    }
}

/* ========================================= */
/* Imported from contact.css */
/* ========================================= */

/* Team Contact Section */
.team-contact-section {
    padding-top: 100px;
    padding-bottom: 0;
    background: var(--navy);
}

/* Contact Section */
.contact-section {
    padding: 0 0 6rem 0;
    background: var(--navy);
}

.contact-content {
    padding: 4rem 2rem;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    font-family: 'Montserrat', sans-serif;
    padding: 1rem;
    border: 2px solid rgba(229, 163, 74, 0.3);
    border-radius: 4px;
    background: rgba(46, 53, 88, 0.5);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(46, 53, 88, 0.7);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.contact-form .btn-primary {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.team-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
}

.team-contact-card {
    background: rgba(46, 53, 88, 0.3);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(229, 163, 74, 0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.team-contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(229, 163, 74, 0.3);
}

.contact-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.contact-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(10%) brightness(0.95);
    transition: all 0.3s;
}

.team-contact-card:hover .contact-card-image img {
    filter: grayscale(0%) brightness(1.05);
    transform: scale(1.05);
}

.contact-card-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.contact-card-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(229, 163, 74, 0.1);
}

.contact-phone,
.contact-email {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.contact-license {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .team-contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .team-contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem 0.5rem;
    }

    .contact-card-image {
        height: 200px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .contact-content {
        padding: 2rem 0.5rem;
    }

    .contact-intro {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .team-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0.5rem;
    }

    .contact-card-image {
        height: 250px;
    }

    .contact-card-info {
        padding: 1.25rem;
    }

    .contact-card-info h3 {
        font-size: 1.3rem;
    }

    .contact-form-wrapper {
        padding: 0 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .contact-form .btn-primary {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* ========================================= */
/* Old team.css styles removed - replaced by .team-cards above */
/* ========================================= */

/* Old team member styles removed */


/* ========================================= */
/* Imported from partners.css */
/* ========================================= */

.partners-content {
    padding: 6rem 0;
    background: var(--navy);
}

.partner-category {
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.partner-category h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--gold);
    font-style: italic;
    font-weight: 500;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.partner-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(229, 163, 74, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.partner-card:hover {
    transform: none;
}

.partner-card.large {
    min-height: 140px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%) brightness(1);
    transition: all 0.3s;
}

.partner-card:hover .partner-logo img {
    filter: grayscale(20%) brightness(1);
    transform: none;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .partners-content {
        padding: 3rem 0;
    }

    .partners-row {
        gap: 1rem;
    }

    .partners-row .partner-card {
        padding: 0.75rem;
        min-height: 70px;
    }

    .partner-category {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .partner-category h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .partner-card {
        padding: 0.75rem;
        min-height: 80px;
    }

    .partner-logo img {
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .partners-content {
        padding: 2rem 0;
    }

    .partner-category {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .partner-category h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .partner-card {
        padding: 0.5rem;
        min-height: 60px;
    }

    .partner-logo img {
        max-height: 40px;
    }
}

/* ========================================= */
/* Imported from listing-detail.css */
/* ========================================= */

/* Listing Detail Page Styles */

/* Breadcrumb */
.breadcrumb-section {
    background: rgba(35, 40, 80, 0.95);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(229, 163, 74, 0.2);
    backdrop-filter: blur(10px);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb .separator {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--gold);
    font-weight: 600;
}

/* Main Content */
.listing-detail-main {
    padding: 2rem 0 4rem;
    background: var(--navy);
    min-height: calc(100vh - 80px);
}

/* Listing Gate - blocks content until user fills form */
.listing-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 20, 38, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.listing-gate-content {
    background: var(--navy);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    max-width: 440px;
    width: 90%;
    text-align: center;
}

.listing-gate-content h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.listing-gate-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.listing-gate-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.listing-gate-content input {
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

.listing-gate-content input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.listing-gate-content input:focus {
    outline: none;
    border-color: var(--gold);
}

.listing-gate-content .btn-primary {
    margin-top: 0.5rem;
}

.listing-gate .gate-error {
    background: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
    padding: 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.listing-gated > .container {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

.listing-gate-hidden {
    display: none !important;
}

.listing-ungated > .container {
    filter: none !important;
    pointer-events: auto !important;
    user-select: auto !important;
}

body.gate-active {
    overflow: hidden;
}

/* Body background to match other pages */
body {
    background-color: var(--navy);
}

/* Property Header */
.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(229, 163, 74, 0.2);
}

.property-title-section h1 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.property-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.property-price {
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
}

.property-status {
    padding: 0.5rem 1rem;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.mls-number {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Content Grid */
.property-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Left Column */
.property-left-column {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Photo Gallery */
.property-gallery {
    background: rgba(46, 53, 88, 0.3);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(229, 163, 74, 0.1);
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    pointer-events: all;
    backdrop-filter: blur(5px);
}

.gallery-btn:hover {
    background: rgba(229, 163, 74, 0.8);
    transform: scale(1.1);
}

.photo-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    background: rgba(26, 31, 58, 0.5);
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: rgba(46, 53, 88, 0.3);
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: rgba(229, 163, 74, 0.5);
}

.thumbnail.active {
    border-color: var(--gold);
}

/* Property Sections */
.property-overview,
.property-description,
.property-features {
    background: rgba(46, 53, 88, 0.3);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(229, 163, 74, 0.1);
}

.property-overview h2,
.property-description h2,
.property-features h2 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(229, 163, 74, 0.2);
    padding-bottom: 0.5rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.overview-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.overview-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overview-value {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
}

.description-content {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(26, 31, 58, 0.5);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.feature-item:before {
    content: "✓";
    color: var(--gold);
    font-weight: bold;
    font-size: 1rem;
}

/* Right Column */
.property-right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.agent-contact-card,
.property-details-card,
.virtual-tour-card {
    background: rgba(46, 53, 88, 0.4);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(229, 163, 74, 0.1);
}

.agent-contact-card h3,
.property-details-card h3,
.virtual-tour-card h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.agent-details h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.agent-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

.contact-agent-btn {
    width: 100%;
    justify-content: center;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(229, 163, 74, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-value {
    color: var(--text-light);
    font-weight: 600;
}

.virtual-tour-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .property-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .property-header {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .property-title-section h1 {
        font-size: 1.8rem;
    }

    .property-price {
        font-size: 1.4rem;
    }

    .property-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .gallery-main {
        height: 250px;
    }

    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .property-overview,
    .property-description,
    .property-features,
    .agent-contact-card,
    .property-details-card {
        padding: 1.25rem;
    }

    .property-left-column {
        gap: 2rem;
    }

    .property-right-column {
        gap: 1.5rem;
    }

    .listing-detail-main {
        padding: 1.5rem 0 3rem;
    }

    .property-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .listing-detail-main {
        padding: 1rem 0 2rem;
    }

    .property-title-section h1 {
        font-size: 1.4rem;
    }

    .property-price {
        font-size: 1.2rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .gallery-thumbnails {
        padding: 0.5rem;
    }

    .thumbnail {
        width: 50px;
        height: 38px;
    }

    .property-overview,
    .property-description,
    .property-features,
    .agent-contact-card,
    .property-details-card {
        padding: 1rem;
    }

    .property-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .property-left-column {
        gap: 1.5rem;
    }

    .property-right-column {
        gap: 1rem;
    }
}

/* Contact Gate Overlay */
.contact-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(35, 40, 80, 0.98) 0%, rgba(26, 31, 58, 0.98) 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(15px);
}

.contact-gate-content {
    background: linear-gradient(145deg, rgba(46, 53, 88, 0.95) 0%, rgba(35, 40, 70, 0.95) 100%);
    padding: 1.5rem 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(229, 163, 74, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 1px rgba(229, 163, 74, 0.5);
    max-width: 320px;
    width: 100%;
    text-align: center;
    animation: gateSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes gateSlideIn {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gate-header {
    margin-bottom: 1.25rem;
}

.gate-logo {
    width: 50px;
    height: auto;
    margin-bottom: 0.75rem;
    opacity: 0.95;
    filter: drop-shadow(0 4px 8px rgba(229, 163, 74, 0.3));
}

.gate-header h2 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gate-header p {
    color: rgba(232, 232, 232, 0.7);
    font-size: 0.8rem;
    line-height: 1.3;
}

.gate-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-group input {
    padding: 0.6rem 0.75rem;
    background: rgba(26, 31, 58, 0.8);
    border: 1px solid rgba(229, 163, 74, 0.25);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:hover {
    border-color: rgba(229, 163, 74, 0.4);
    background: rgba(26, 31, 58, 0.9);
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(26, 31, 58, 1);
    box-shadow: 0 0 0 3px rgba(229, 163, 74, 0.15);
}

.form-group input::placeholder {
    color: rgba(160, 168, 184, 0.6);
}

.form-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.form-actions button {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.form-actions .btn-secondary {
    background: transparent;
    border: 1px solid rgba(229, 163, 74, 0.4);
    color: rgba(232, 232, 232, 0.9);
}

.form-actions .btn-secondary:hover {
    border-color: rgba(229, 163, 74, 0.6);
    background: rgba(229, 163, 74, 0.08);
    color: var(--gold);
}

.form-actions .btn-primary {
    background: var(--gold);
    color: #1a1f3a;
    border: 1px solid var(--gold);
    font-weight: 700;
}

.form-actions .btn-primary:hover {
    background: #C49A5F;
    border-color: #C49A5F;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(229, 163, 74, 0.35);
}

.form-actions .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.gate-privacy {
    color: rgba(160, 168, 184, 0.7);
    font-size: 0.7rem;
    line-height: 1.3;
    margin-top: 1rem;
    text-align: center;
}

.gate-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.gate-message.success {
    background: rgba(76, 175, 80, 0.15);
    color: #66BB6A;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.gate-message.error {
    background: rgba(244, 67, 54, 0.15);
    color: #EF5350;
    border: 1px solid rgba(244, 67, 54, 0.4);
}

/* Responsive Gate */
@media (max-width: 768px) {
    .contact-gate-content {
        padding: 1.75rem 1.5rem;
        max-width: 85%;
        max-height: 90vh;
    }

    .gate-header h2 {
        font-size: 1.3rem;
    }

    .gate-header p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .contact-gate-overlay {
        padding: 0.75rem;
    }

    .contact-gate-content {
        padding: 1.5rem 1.25rem;
        max-width: 92%;
        max-height: 95vh;
    }

    .gate-logo {
        width: 50px;
        margin-bottom: 0.75rem;
    }

    .gate-header {
        margin-bottom: 1.25rem;
    }

    .gate-header h2 {
        font-size: 1.2rem;
    }

    .gate-header p {
        font-size: 0.75rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 0.6rem;
    }

    .form-actions button {
        width: 100%;
        padding: 0.7rem;
    }
}
.page-top-padding { padding-top: 140px; }

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.835, 0, 0.19, 1), transform 0.8s cubic-bezier(0.835, 0, 0.19, 1);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .contact-cta-section {
        padding: var(--section-padding-mobile) 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-nav-row {
        gap: 1rem;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .site-footer-v2 .logo-swap-wrapper {
        height: 30px;
    }
    .site-footer-v2 .brand-logo {
        height: 30px;
    }
}

/* ============================================================
   HERO CTA GROUP
   ============================================================ */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-cta-secondary {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
    line-height: normal;
    appearance: none;
}

.hero-cta-secondary:hover {
    background: var(--gold);
    color: var(--dark-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 163, 74, 0.4);
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
#page-loader {
    position: fixed;
    inset: 0;
    background: #1a1f3a;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#page-loader.loader-out {
    opacity: 0;
    pointer-events: none;
}

.loader-logo {
    height: 140px;
    width: auto;
    opacity: 0;
    animation: loaderLogoIn 0.35s ease forwards, loaderLogoPulse 1.8s ease-in-out 0.35s infinite;
}

@keyframes loaderLogoIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes loaderLogoPulse {
    0%, 100% { transform: scale(1);    opacity: 0.85; }
    50%       { transform: scale(1.06); opacity: 1; }
}

/* ============================================================
   LISTINGS MINI LOGO LOADER
   ============================================================ */
.listings-mini-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 64px 0;
    grid-column: 1 / -1;
    width: 100%;
}

.listings-mini-loader img {
    height: 52px;
    width: auto;
    animation: miniLogoPulse 1.4s ease-in-out infinite;
}

@keyframes miniLogoPulse {
    0%, 100% { opacity: 0.35; transform: scale(0.92); }
    50%       { opacity: 1;    transform: scale(1); }
}

/* ============================================================
   NEWS PAGE
   ============================================================ */
.news-section {
    padding: 5rem 0;
}

.news-section-header {
    margin-bottom: 3rem;
}

.news-section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    cursor: pointer;
}

.news-card:hover {
    border-color: rgba(229, 163, 74, 0.3);
    transform: translateY(-4px);
}

.news-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(229, 163, 74, 0.08), rgba(26, 31, 58, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-body {
    padding: 1.5rem;
}

.news-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(229, 163, 74, 0.12);
    border: 1px solid rgba(229, 163, 74, 0.3);
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.news-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.news-card-excerpt {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.news-card-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ============================================================
   SERVICE PAGES (Buy, Sell, Investment)
   ============================================================ */
.service-section {
    padding: 5rem 0;
}

.service-intro {
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
}

.service-intro p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.service-feature-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    transition: border-color 0.3s;
}

.service-feature-card:hover {
    border-color: rgba(229, 163, 74, 0.3);
}

.service-feature-icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.service-feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.service-feature-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================================
   PAGE HERO (About, News, Services — non-index pages)
   ============================================================ */
.page-hero {
    padding: 10rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0;
}

.page-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.8;
}
