:root {
    --color-bg: #050505;
    --color-surface: #111111;
    --color-accent: #c0a062; /* Gold */
    --color-accent-hover: #d4b576;
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s ease;

    --sidebar-clearance: 6.5rem; /* space to clear the fixed social sidebar */
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: background var(--transition-fast), padding var(--transition-fast);
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-the {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 5px;
    color: var(--color-accent);
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 4px;
}

.logo-group {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 5px;
    color: var(--color-text-muted);
}

.site-logo {
    max-height: 120px;
    width: auto;
}

.site-logo-footer {
    max-height: 100px;
    width: auto;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 2px solid var(--color-accent);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.8);
    z-index: 200;
    padding: 0.5rem 0;
    overflow: visible;
}

/* Scrollable dropdown for long city lists */
.dropdown-content.dropdown-scrollable {
    display: none;
    min-width: 220px;
    padding: 0.5rem 0;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.dropdown-content.dropdown-scrollable a {
    display: block;
}

/* Custom scrollbar for dark dropdown */
.dropdown-content.dropdown-scrollable::-webkit-scrollbar,
.dropdown-nested-content::-webkit-scrollbar {
    width: 4px;
}
.dropdown-content.dropdown-scrollable::-webkit-scrollbar-track,
.dropdown-nested-content::-webkit-scrollbar-track {
    background: var(--color-surface);
}
.dropdown-content.dropdown-scrollable::-webkit-scrollbar-thumb,
.dropdown-nested-content::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 2px;
}

.dropdown-content a {
    color: var(--color-text-muted);
    font-family: var(--font-body);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.dropdown-content a:hover {
    color: var(--color-accent);
    background-color: rgba(192, 160, 98, 0.05);
    padding-left: 25px;
}

.dropdown:hover .dropdown-content,
.dropdown:hover .dropdown-content.dropdown-scrollable {
    display: block;
}

.dropdown:hover .dropbtn::after {
    width: 100%;
}

/* Nested Sub-Dropdown */
.dropdown-nested {
    position: relative;
}

.dropdown-nested-trigger {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.dropdown-nested-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background-color: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 2px solid var(--color-accent);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.8);
    z-index: 201;
    padding: 0.5rem 0;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.dropdown-nested-content a {
    break-inside: avoid;
}

.dropdown-nested-content a {
    color: var(--color-text-muted);
    font-family: var(--font-body);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.dropdown-nested-content a:hover {
    color: var(--color-accent);
    background-color: rgba(192, 160, 98, 0.05);
    padding-left: 25px;
}

.dropdown-nested:hover .dropdown-nested-content {
    display: block;
}

.dropdown-nested:hover > .dropdown-nested-trigger {
    color: var(--color-accent);
    background-color: rgba(192, 160, 98, 0.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 1px;
    background: var(--color-text);
}

/* Social Media Sidebar */
.social-sidebar {
    position: fixed;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    z-index: 90;
    align-items: center;
}

.social-icon {
    color: var(--color-text);
    font-size: 1.2rem;
    transition: all var(--transition-fast), color 0.4s ease;
    opacity: 0.7;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid transparent;
}

.social-icon:hover {
    color: var(--color-accent);
    opacity: 1;
    border-color: rgba(192, 160, 98, 0.3);
    background: rgba(192, 160, 98, 0.05);
    transform: translateX(5px);
}

/* Dark icons for light-background sections */
.social-sidebar--dark .social-icon {
    color: #1a1a1a;
}

.social-sidebar--dark .social-icon:hover {
    color: var(--color-accent);
    border-color: rgba(192, 160, 98, 0.4);
    background: rgba(192, 160, 98, 0.1);
}

/* Zillow icon */
.zillow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.zillow-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.zillow-icon:hover .zillow-img {
    opacity: 1;
}

.social-sidebar--dark .zillow-img {
    filter: brightness(0);
    opacity: 0.7;
}

.social-sidebar--dark .zillow-icon:hover .zillow-img {
    opacity: 1;
}

/* Responsive sidebar */
@media (max-width: 1024px) {
    .social-sidebar {
        left: 1rem;
    }
}

@media (max-width: 768px) {
    .social-sidebar {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hide fallback image — only shown if video fails to load */
.hero-img-fallback {
    display: none;
}

.hero-img-fallback.visible {
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(5,5,5,0.9) 100%);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    margin: 10vh auto 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 0.4rem;
    letter-spacing: 4px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    white-space: normal;
}

.hero-subheader {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-accent);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(192, 160, 98, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-text-muted);
    color: var(--color-text);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Properties Section */
.properties {
    padding: 6rem 0;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 0 var(--sidebar-clearance);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.property-card {
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    transition: transform var(--transition-slow);
}

.property-card:hover {
    border-color: rgba(192, 160, 98, 0.3);
}

.property-img-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.property-card:hover .property-img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0,0,0,0.7);
    color: var(--color-accent);
    padding: 0.3rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1px;
    border: 1px solid var(--color-accent);
}

.property-details {
    padding: 2.5rem;
}

.property-price {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.property-address {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.property-features {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dot {
    width: 3px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 50%;
}

.view-all-wrapper {
    text-align: center;
}

/* Neighborhood Guide */
.neighborhood-guide {
    position: relative;
    padding: 8rem 0;
    min-height: 800px;
    display: flex;
    align-items: center;
}

.neighborhood-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #ffffff;
    z-index: 1;
}

.neighborhood-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fade from the dark theme smoothly into a very light center, then back to the dark theme at the bottom */
    background: linear-gradient(to bottom, var(--color-bg) 0%, rgba(255,255,255,0.4) 25%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.4) 75%, var(--color-surface) 100%);
    z-index: 2;
    pointer-events: none;
}

.neighborhood-container {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 0 var(--sidebar-clearance);
    width: 100%;
}

.neighborhood-header {
    margin-bottom: 4rem;
}

.neighborhood-subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: #000000;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

.neighborhood-title {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    color: #000000;
    text-shadow: none;
    line-height: 1.2;
}

.neighborhood-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
}

.neighborhood-tile {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    padding: 1.2rem 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(192, 160, 98, 0.3);
}

.neighborhood-tile:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: transparent;
}

/* Founder Bio Section */
.founder-bio {
    padding: 10rem 0;
    background-color: var(--color-bg);
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05); /* Subtle delimiter */
}

.founder-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem 0 var(--sidebar-clearance);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
}

.founder-visual {
    position: relative;
    overflow: visible;
}

.founder-abstract-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-bg-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.15;
    filter: invert(1);
}

.founder-typography {
    position: relative;
    z-index: 2;
    border-left: 1px solid rgba(192, 160, 98, 0.5);
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
}

.founder-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 5px;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

.founder-title-first, .founder-title-last {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 0.85;
    letter-spacing: -2px;
}

.founder-title-first {
    font-size: 7.5rem;
    font-weight: 300;
    color: #ffffff;
}

.founder-title-last {
    font-size: 7.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.founder-image-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    padding-left: 4rem;
}

.founder-image {
    max-width: 100%;
    max-height: 650px;
    object-fit: cover;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8));
    border-radius: 4px;
}

.founder-content {
    position: relative;
    z-index: 2;
    padding-right: 2rem;
    padding-top: 16rem;
}

.founder-content p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.9;
    font-weight: 300;
}

.founder-tagline {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.founder-headline {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.founder-highlight {
    color: var(--color-accent);
}

.founder-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.founder-stat-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.founder-stat-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.founder-stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

.founder-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    padding: 0.8rem 1.5rem;
    transition: all var(--transition-fast);
}

.founder-more-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.founder-more-link i {
    font-size: 0.8rem;
}

.founder-actions {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
}

.founder-btn {
    padding: 1.2rem 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.founder-social {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 2rem;
}

.founder-social-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.founder-social-icons {
    display: flex;
    gap: 1.2rem;
}

.founder-social-icons a {
    color: var(--color-accent);
    font-size: 1.4rem;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.founder-social-icons a:hover {
    color: #ffffff;
    transform: scale(1.15);
}

@media (max-width: 1200px) {
    .founder-title-first, .founder-title-last {
        font-size: 5.5rem;
    }
    .founder-image-wrapper {
        padding-left: 2rem;
    }
    .founder-container {
        padding: 0 2rem;
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .founder-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .founder-content {
        padding-right: 0;
        padding-top: 0;
    }
    .founder-abstract-circle {
        left: 50%;
    }
}

@media (max-width: 768px) {
    .founder-bio {
        padding: 4rem 0;
    }
    .founder-container {
        padding: 0 1.5rem;
        gap: 2rem;
    }
    .founder-title-first, .founder-title-last {
        font-size: clamp(3rem, 14vw, 4.5rem);
        letter-spacing: -1px;
    }
    .founder-image-wrapper {
        padding-left: 0;
        justify-content: center;
    }
    .founder-image {
        max-height: 380px;
        width: 100%;
        object-fit: cover;
    }
    .founder-content {
        padding-top: 0;
        padding-right: 0;
    }
    .founder-headline {
        font-size: 1.4rem;
    }
    .founder-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .founder-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Services Showcase Section */
.services-showcase {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.services-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.services-bg-layer.active {
    opacity: 1;
}

.services-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.services-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.services-item {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.4s ease;
    padding: 2rem 1.5rem;
    position: relative;
    text-align: center;
}

.services-item:hover {
    color: #ffffff;
}

.services-label {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.3;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
    display: block;
}

/* Vertical lines — split into top and bottom segments with a gap around text */
.services-label::before,
.services-label::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Top line: extends from above the text up to the top of the section */
.services-label::before {
    bottom: calc(100% + 12px);
    height: 500px;
}

/* Bottom line: extends from below the text down to the bottom of the section */
.services-label::after {
    top: calc(100% + 12px);
    height: 500px;
}

.services-item:hover .services-label::before,
.services-item:hover .services-label::after {
    opacity: 1;
}

@media (max-width: 1200px) {
    .services-label {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }
    .services-container {
        padding: 0 4rem;
    }
}

@media (max-width: 1024px) {
    .services-showcase {
        height: 400px;
    }
    .services-label {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .services-showcase {
        height: auto;
        min-height: 480px;
        padding: 3rem 0;
    }
    .services-container {
        flex-direction: column;
        gap: 0;
        padding: 0 1.5rem;
        align-items: center;
        width: 100%;
    }
    .services-item {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }
    .services-item:last-child {
        border-bottom: none;
    }
    .services-label {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    .services-label::before,
    .services-label::after {
        display: none;
    }
}

/* White-Glove Concierge Section */
.concierge {
    padding: 8rem 0;
    background-color: #ffffff;
    overflow: hidden;
}

.concierge-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem 0 var(--sidebar-clearance);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
}

.concierge-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 2rem;
}

.concierge-vertical-text {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    min-height: 380px;
}

.concierge-text-light {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #1a1a1a;
    line-height: 1;
}

.concierge-text-bold {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-accent);
    line-height: 1;
}

.concierge-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    margin-top: 1rem;
}

/* Before/After Slider */
.concierge-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: ew-resize;
    border-radius: 0;
    user-select: none;
}

.concierge-slider-before,
.concierge-slider-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.concierge-slider-before {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}

.concierge-slider-after {
    z-index: 0;
}

.concierge-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.concierge-badge {
    position: absolute;
    top: 1rem;
    padding: 0.4rem 1.2rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 5;
}

.concierge-badge-before {
    left: 1rem;
    background: #1a1a1a;
    color: #ffffff;
}

.concierge-badge-after {
    right: 1rem;
    background: var(--color-accent);
    color: #000;
}

.concierge-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #ffffff;
    z-index: 3;
    transform: translateX(-50%);
    cursor: ew-resize;
}

.concierge-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #ffffff;
    font-size: 0.7rem;
    backdrop-filter: blur(4px);
}

.concierge-description {
    margin-top: 2rem;
}

.concierge-description p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
}

.concierge-btn {
    background-color: var(--color-accent);
    color: #000;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.concierge-btn:hover {
    color: #000;
}

@media (max-width: 1024px) {
    .concierge-container {
        grid-template-columns: 1fr;
        padding: 0 2rem;
    }
    .concierge-vertical-text {
        writing-mode: horizontal-tb;
        transform: none;
        min-height: auto;
    }
    .concierge-text-light,
    .concierge-text-bold {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .concierge {
        padding: 3rem 0;
        overflow: visible;
    }
    .concierge-container {
        padding: 0 1.5rem;
        gap: 1.5rem;
        overflow: visible;
    }
    .concierge-right {
        overflow: visible;
    }
    .concierge-text-light,
    .concierge-text-bold {
        font-size: 2.2rem;
    }
    .concierge-slider {
        aspect-ratio: unset;
        height: 220px;
        touch-action: none;
    }
    .concierge-handle-circle {
        width: 36px;
        height: 36px;
        font-size: 0.7rem;
    }
    .concierge-description {
        padding-top: 0;
        margin-top: 1.5rem;
        display: block;
        overflow: visible;
    }
    .concierge-description p {
        font-size: 0.9rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0 4rem;
    background-color: #050505;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.testimonial-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.testimonial-circle-1 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    right: 15%;
}

.testimonial-circle-2 {
    width: 200px;
    height: 200px;
    bottom: 20px;
    right: 10%;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem 0 var(--sidebar-clearance);
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Left column: quote */
.testimonial-left {
    padding-right: 2rem;
    max-width: 750px;
}

.testimonial-quote-open,
.testimonial-quote-close {
    font-family: Georgia, serif;
    font-size: 10rem;
    color: var(--color-accent);
    line-height: 0.5;
    user-select: none;
    opacity: 0.3;
}

.testimonial-quote-open {
    margin-bottom: 1.5rem;
}

.testimonial-quote-close {
    text-align: right;
    margin-top: 0rem;
    margin-bottom: 0.5rem;
}

.testimonial-slides-wrapper {
    position: relative;
    min-height: 120px;
}

.testimonial-slide {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.testimonial-divider {
    width: 50px;
    height: 3px;
    background: var(--color-accent);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.testimonial-btn {
    margin-top: 0.6rem;
    padding: 0.9rem 1.8rem;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.testimonial-nav {
    display: flex;
    gap: 1rem;
    margin-top: 0.6rem;
}

.testimonial-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #ffffff;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.testimonial-arrow:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Right: Heading */
.testimonial-right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.testimonial-heading {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.15;
    text-align: right;
}

.testimonial-heading-light {
    display: block;
    color: #ffffff;
    font-weight: 400;
}

.testimonial-heading-accent {
    display: block;
    color: var(--color-accent);
    font-weight: 700;
}

@media (max-width: 1200px) {
    .testimonials-container {
        grid-template-columns: 1fr;
        padding: 0 2rem;
    }
    .testimonial-right {
        order: -1;
        justify-content: flex-start;
    }
    .testimonial-heading {
        text-align: left;
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 5rem 0;
    }
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .testimonial-left {
        padding-right: 0;
    }
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: var(--color-surface);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

/* Let's Get Social Section */
.social-feed {
    padding: 4rem 0 8rem;
    background-color: var(--color-bg);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.social-feed-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 0 var(--sidebar-clearance);
}

.social-feed-header {
    text-align: center;
    margin-bottom: 4rem;
}

.social-feed-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.social-feed-title {
    font-size: 3rem;
    color: var(--color-text);
}

.social-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.social-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    display: block;
    cursor: pointer;
}

.social-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-card:hover .social-card-img {
    transform: scale(1.08);
}

/* Platform badge */
.social-card-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.9rem;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.social-badge-yt {
    background: #FF0000;
}

.social-badge-fb {
    background: #1877F2;
}

.social-badge-li {
    background: #0A66C2;
}

/* Hover overlay */
.social-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(240,148,51,0.85), rgba(220,39,67,0.85));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    color: #ffffff;
}

.social-overlay-yt {
    background: rgba(255, 0, 0, 0.8);
}

.social-overlay-fb {
    background: rgba(24, 119, 242, 0.8);
}

.social-overlay-li {
    background: rgba(10, 102, 194, 0.8);
}

.social-card:hover .social-card-overlay {
    opacity: 1;
}

.social-card-overlay i {
    font-size: 2rem;
}

.social-card-overlay span {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .social-feed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .social-feed {
        padding: 5rem 0;
    }
    .social-feed-title {
        font-size: 2.2rem;
    }
    .social-feed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* Newsletter Section */
.newsletter {
    position: relative;
    padding: 6rem 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.newsletter-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.newsletter-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsletter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
}

.newsletter-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem 0 var(--sidebar-clearance);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.newsletter-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 2.5rem;
}

/* Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.newsletter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.newsletter-field label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.newsletter-field input,
.newsletter-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.6rem 0;
    outline: none;
    transition: border-color var(--transition-fast);
    resize: none;
}

.newsletter-field input:focus,
.newsletter-field textarea:focus {
    border-bottom-color: var(--color-accent);
}

.newsletter-field-full {
    width: 100%;
}

/* Custom Checkboxes */
.newsletter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.newsletter-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    position: relative;
}

.newsletter-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    transition: all var(--transition-fast);
}

.newsletter-checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.newsletter-checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
}

.checkbox-text {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    font-weight: 300;
}

.checkbox-text a {
    color: var(--color-accent);
    text-decoration: underline;
}

.newsletter-btn {
    margin-top: 1rem;
    padding: 1rem 2.2rem;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    align-self: flex-start;
}

/* Right side: vertical text */
.newsletter-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.newsletter-vertical-text {
    writing-mode: vertical-lr;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 2rem;
}

.newsletter-v-bold {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    line-height: 1;
}

.newsletter-v-light {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1;
}

.newsletter-tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .newsletter-container {
        grid-template-columns: 1fr;
        padding: 0 2rem;
    }
    .newsletter-right {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }
    .newsletter-vertical-text {
        writing-mode: horizontal-tb;
        margin-bottom: 0;
    }
    .newsletter-v-bold,
    .newsletter-v-light {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .newsletter {
        padding: 4rem 0;
    }
    .newsletter-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .newsletter-v-bold,
    .newsletter-v-light {
        font-size: 2.2rem;
    }
}

/* Offices / Contact Section */
.offices {
    width: 100%;
    overflow: hidden;
}

.offices-strip {
    display: flex;
    width: 100%;
    height: 520px;
}

/* Intro panel */
.offices-intro {
    position: relative;
    flex: 0 0 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2.5rem 2.5rem var(--sidebar-clearance);
    overflow: hidden;
}

.offices-intro-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.offices-intro-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 80, 120, 0.55);
}

.offices-intro-content {
    position: relative;
    z-index: 1;
}

.offices-intro-text {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.offices-title-word {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    line-height: 1;
}

.offices-title-bold {
    font-weight: 700;
}

.offices-intro-tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
}

/* City panels */
.office-panel {
    position: relative;
    flex: 1;
    min-width: 0;
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: flex-end;
    padding: 2rem 1.2rem;
}

.office-panel-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.office-panel:hover .office-panel-bg {
    transform: scale(1.05);
}

.office-panel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    transition: background 0.4s ease;
}

.office-panel.active .office-panel-overlay {
    background: rgba(0, 0, 0, 0.35);
}

.office-city-name {
    position: absolute;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff;
    z-index: 2;
    bottom: 2rem;
    left: 50%;
    margin-left: -0.7em;
    transition: opacity 0.4s ease, left 0.4s ease;
    white-space: nowrap;
}

.office-panel.active .office-city-name {
    left: 1.8rem;
    margin-left: 0;
}

/* Contact details — visible on active */
.office-panel-details {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
    padding-left: 3.5rem;
    pointer-events: none;
}

.office-panel.active .office-panel-details {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.office-detail-line {
    width: 35px;
    height: 3px;
    background: var(--color-accent);
    margin-bottom: 1rem;
}

.office-phone {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.office-address {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-weight: 300;
}

/* Active panel expands */
.office-panel.active {
    flex: 8;
}

@media (max-width: 1200px) {
    .offices-strip {
        height: 380px;
    }
    .offices-intro {
        flex: 0 0 180px;
    }
    .offices-title-word {
        font-size: 2.5rem;
    }
    .office-city-name {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }
}

@media (max-width: 768px) {
    .offices-strip {
        flex-direction: column;
        height: auto;
    }
    .offices-intro {
        flex: none;
        height: 200px;
        padding: 2rem;
    }
    .offices-intro-text {
        writing-mode: horizontal-tb;
        transform: none;
    }
    .office-panel {
        flex: none;
        height: 100px;
        padding: 1.5rem;
    }
    .office-panel.active {
        height: 220px;
    }
    .office-city-name {
        writing-mode: horizontal-tb;
        transform: none;
        position: relative;
        bottom: auto;
        left: auto;
        margin-left: 0;
    }
    .office-panel.active .office-city-name {
        left: auto;
    }
    .office-panel-details {
        padding-left: 0;
        margin-top: 1rem;
    }
}

/* Footer */
.footer {
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.footer-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.footer-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.75) 50%, rgba(0,0,0,0.9) 100%);
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem 2rem;
    text-align: center;
}

.footer-logo-area {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.footer-logo-lockup {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.2;
}

.footer-logo-sub {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-top: 0.3rem;
    width: 100%;
}

.footer-logo-line {
    flex: 1;
    height: 1px;
    background: var(--color-accent);
    opacity: 0.6;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-nav a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.footer-description {
    margin-bottom: 2.5rem;
}

.footer-description p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-social-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-social-row a {
    color: var(--color-accent);
    font-size: 1.2rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-social-row a:hover {
    color: #ffffff;
    transform: scale(1.15);
}

.footer-social-row .zillow-img {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
    filter: brightness(0) saturate(100%) invert(70%) sepia(40%) saturate(400%) hue-rotate(5deg) brightness(95%);
    transition: filter var(--transition-fast);
}

.footer-social-row .zillow-icon:hover .zillow-img {
    filter: brightness(0) invert(1);
}

.footer-contact-info {
    margin-bottom: 2rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.footer-contact-info p {
    margin-bottom: 0.5rem;
}

.footer-contact-info a {
    color: rgba(255,255,255,0.5);
    transition: color var(--transition-fast);
}

.footer-contact-info a:hover {
    color: var(--color-accent);
}

.footer-divider {
    margin: 0 0.8rem;
    color: rgba(255,255,255,0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.35);
    font-size: 0.75rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.35);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--color-accent);
}

/* Page Hero (Internal Pages) */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(5,5,5,0.95) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.page-hero-title {
    font-size: 3.5rem;
    letter-spacing: 6px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Page Content (Internal Pages) */
.page-content {
    padding: 6rem 0;
    background: var(--color-bg);
}

.page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 0 var(--sidebar-clearance);
}

.page-container p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.page-container h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.page-container h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: var(--color-accent);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════════════════ */

/* About Hero */
.about-hero {
    position: relative;
    min-height: 40vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(5,5,5,0.95) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.about-hero-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Lead Paragraph */
.about-lead {
    padding: 2rem 0 3rem;
    background: var(--color-bg);
}

.about-lead-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 0 var(--sidebar-clearance);
}

.about-lead-text {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 2;
    font-weight: 300;
    text-align: center;
}

/* Stats Counter */
.about-stats {
    position: relative;
    padding: 5rem 0;
}

.about-stats-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-stats-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-stats-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.85);
}

.about-stats-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 0 var(--sidebar-clearance);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.about-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.about-stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

/* Swipe Reveal Animation */
.stat-swipe-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-swipe-reveal.revealed {
    clip-path: inset(0 0 0 0);
}

/* Generic About Section */
.about-section {
    padding: 6rem 0;
}

.about-section:nth-child(odd) {
    background: var(--color-bg);
}

.about-section:nth-child(even) {
    background: var(--color-surface);
}

.about-section-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 0 var(--sidebar-clearance);
}

.about-section-header {
    margin-bottom: 3rem;
}

.about-section-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.about-section-title {
    font-size: 2.5rem;
    letter-spacing: 3px;
}

.about-section-body p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.about-lead-sentence {
    font-size: 1.25rem !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
}

.text-accent {
    color: var(--color-accent);
}

/* Three Pillars */
.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 3rem 0;
}

.about-pillar {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s ease;
}

.about-pillar:hover {
    border-color: rgba(192, 160, 98, 0.3);
    transform: translateY(-5px);
    background: rgba(255,255,255,0.04);
}

.about-pillar-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: all 0.4s ease;
}

.about-pillar:hover .about-pillar-icon {
    background: var(--color-accent);
    color: #000;
}

.about-pillar-name {
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.about-pillar p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-weight: 300;
}

.about-pillars-motto {
    margin-top: 2rem;
}

.about-pillars-motto p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    font-weight: 300;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Cities Grid */
.about-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-city-tile {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    padding: 1.2rem 1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(192, 160, 98, 0.3);
}

.about-city-tile:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: transparent;
}

/* Agent Cards */
.about-agents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 0;
}

.about-agent-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.about-agent-card:hover {
    border-color: rgba(192, 160, 98, 0.3);
    transform: translateY(-5px);
}

.about-agent-img-wrapper {
    height: 350px;
    overflow: hidden;
    flex-shrink: 0;
}

.about-agent-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-agents-grid .about-agent-card:first-child .about-agent-img {
    object-position: 50% 15%;
}

.about-agents-grid .about-agent-card:nth-child(3) .about-agent-img {
    object-position: 50% 10%;
}

.about-agent-card:hover .about-agent-img {
    transform: scale(1.05);
}

.about-agent-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.about-agent-name {
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
    min-height: 3.2em;
}

.about-agent-role {
    font-size: 0.8rem;
    color: var(--color-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
    min-height: 3.6em;
    display: flex;
    align-items: flex-start;
}

.about-agent-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.about-agent-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
    max-width: 170px;
    flex-wrap: wrap;
    margin-top: auto;
}

.about-agent-link:hover {
    gap: 1rem;
    color: var(--color-accent-hover);
}

/* FAQ Section */
.about-faq-list {
    max-width: 900px;
}

.about-faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.about-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.about-faq-question:hover {
    color: var(--color-accent);
}

.about-faq-question i {
    font-size: 0.9rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.about-faq-item.open .about-faq-question i {
    transform: rotate(45deg);
}

.about-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.about-faq-item.open .about-faq-answer {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

.about-faq-answer p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-weight: 300;
}

/* CTA */
.about-contact-cta {
    padding: 8rem 0;
    background: var(--color-bg);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.about-contact-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-contact-cta-title {
    font-size: 2.5rem;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.about-contact-cta-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.about-contact-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Page Two-Column Layout */
.about-two-col {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem 0 var(--sidebar-clearance);
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
}

.about-two-col-left {
    position: sticky;
    top: 120px;
}

.about-two-col-right p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 2;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-two-col-right .about-lead-sentence {
    font-size: 1.15rem;
    color: #fff;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* About Hero Left Info */
.about-hero-team-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.3rem;
}

.about-hero-subtitle-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.about-hero-tagline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    font-style: italic;
}

/* About Page Responsive */
@media (max-width: 1024px) {
    .about-pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .about-agents-grid { grid-template-columns: repeat(2, 1fr); }
    .about-agents-section .about-section-container { max-width: 1000px; }
    .about-stats-container { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .about-stat-number { font-size: 2.5rem; }
    .about-two-col { gap: 3rem; }
}

@media (max-width: 768px) {
    .about-section { padding: 4rem 0; }
    .about-section-container { padding: 0 2rem; }
    .about-section-title { font-size: 2rem; }
    .about-pillars-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-cities-grid { grid-template-columns: repeat(2, 1fr); }
    .about-agents-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats-container { grid-template-columns: repeat(2, 1fr); }
    .about-stat-number { font-size: 2rem; }
    .about-contact-cta-title { font-size: 2rem; }
    .about-contact-cta-buttons { flex-direction: column; align-items: center; }
    .about-two-col {
        grid-template-columns: 1fr;
        padding: 0 2rem;
        gap: 2rem;
    }
    .about-two-col-left {
        position: static;
    }
    .about-two-col-right p { text-align: left; }
}


/* ═══════════════════════════════════════════════════════════════════════
   SELL WITH US PAGE
   ═══════════════════════════════════════════════════════════════════════ */

/* Sell Hero — Two Column Layout */
.sell-page {
    padding: 10rem 0 6rem;
    background: var(--color-bg);
}

.sell-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem 0 var(--sidebar-clearance);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

/* Left Column */
.sell-left {
    position: sticky;
    top: 120px;
}

.sell-heading-accent {
    width: 3px;
    height: 50px;
    background: var(--color-accent);
    margin-bottom: 1.5rem;
}

.sell-heading {
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.sell-heading-light {
    display: block;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1;
    color: var(--color-text-muted);
}

.sell-heading-bold {
    display: block;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1.1;
    color: #ffffff;
}

.sell-cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

.sell-cta-btn {
    justify-content: space-between;
    width: 100%;
    white-space: nowrap;
}

/* Right Column */
.sell-right p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 2;
    font-weight: 300;
    margin-bottom: 2rem;
    text-align: left;
}

/* Approach / Features Section */
.sell-section {
    padding: 6rem 0;
    background: var(--color-surface);
}

.sell-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 0 var(--sidebar-clearance);
}

.sell-section-header {
    margin-bottom: 4rem;
}

.sell-section-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.sell-section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    letter-spacing: 3px;
}

.sell-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.sell-feature {
    padding: 2.5rem 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s ease;
}

.sell-feature:hover {
    border-color: rgba(192, 160, 98, 0.3);
    transform: translateY(-5px);
    background: rgba(255,255,255,0.04);
}

.sell-feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--color-accent);
    transition: all 0.4s ease;
}

.sell-feature:hover .sell-feature-icon {
    background: var(--color-accent);
    color: #000;
}

.sell-feature h3 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.sell-feature p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-weight: 300;
}

/* CTA */
.sell-contact-cta {
    padding: 8rem 0;
    background: var(--color-bg);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.sell-contact-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sell-contact-cta-title {
    font-size: 2.5rem;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.sell-contact-cta-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.sell-contact-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Agents Hub Page */
.agents-hub-hero {
    max-width: 700px;
}

.agents-hub-hero .sell-heading-accent {
    margin: 0 0 1.5rem;
}

.agents-hub-subtitle,
.agents-hub-lead {
    font-size: 1rem;
    line-height: 1.9;
    font-weight: 300;
    color: var(--color-text-muted);
    margin-top: 1.5rem;
}

.agents-hub-section-header {
    max-width: 1100px;
    margin: 0 auto 2.5rem;
    padding: 0 5%;
}

.agents-hub-grid-section {
    padding: 4rem 5% 6rem;
}

.agents-hub-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.agents-hub-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    overflow: hidden;
    transition: all 0.4s ease;
}

.agents-hub-card:hover {
    border-color: rgba(192,160,98,0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.agents-hub-card-img {
    position: relative;
    overflow: hidden;
}

.agents-hub-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.5s ease;
}

.agents-hub-card:hover .agents-hub-card-img img {
    filter: grayscale(0%);
}

.agents-hub-card-content {
    padding: 2.5rem 2.5rem 2.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.agents-hub-card-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.agents-hub-card-role {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.2rem;
}

.agents-hub-card-desc {
    font-size: 0.92rem;
    line-height: 1.8;
    font-weight: 300;
    color: var(--color-text-muted);
    margin-bottom: 1.2rem;
}

.agents-hub-card-areas {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
}

.agents-hub-area-label {
    font-weight: 500;
    color: var(--color-text);
    margin-right: 0.4rem;
}

.agents-hub-card .btn {
    align-self: flex-start;
}

/* Agents Hub Responsive */
@media (max-width: 768px) {
    .agents-hub-card {
        grid-template-columns: 1fr;
    }
    .agents-hub-card-img {
        max-height: 350px;
    }
    .agents-hub-card-content {
        padding: 2rem;
    }
}

/* Agent Profile Page */
.agent-hero {
    padding: 160px 5% 80px;
    background: var(--color-bg);
}

.agent-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.agent-hero-img-wrapper {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.agent-hero-img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.5s ease;
}

.agent-hero-img-wrapper:hover .agent-hero-img {
    filter: grayscale(0%);
}

.agent-hero-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.agent-hero-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.agent-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 300;
    transition: color 0.3s ease;
}

.agent-contact-item i {
    color: var(--color-accent);
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
}

.agent-contact-item:hover {
    color: var(--color-accent);
}

.agent-hero-social {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.agent-hero-cta .btn {
    display: inline-flex;
}

.agent-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Agent Hero Lead Paragraph */
.agent-hero-lead {
    font-size: 0.92rem;
    line-height: 1.9;
    font-weight: 300;
    color: var(--color-text-muted);
    margin-top: 2rem;
}

.agent-hero-lead a {
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.agent-hero-lead a:hover {
    opacity: 0.8;
}

/* Agent Lead Paragraph */
.agent-lead {
    padding: 4rem 5%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.agent-lead-container {
    max-width: 900px;
    margin: 0 auto;
}

.agent-lead p {
    font-size: 1.1rem;
    line-height: 2;
    font-weight: 300;
    color: var(--color-text);
    text-align: center;
}

.agent-lead a {
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.agent-lead a:hover {
    opacity: 0.8;
}

/* Agent Stats Bar */
.agent-stats {
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 3rem 5%;
}

.agent-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    text-align: center;
}

.agent-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.agent-stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-text);
}

.agent-stat-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* Agent Bio Layout */
.agent-bio-layout {
    padding: 0;
}

.agent-bio-layout .sell-left {
    padding: 0;
    min-height: auto;
    justify-content: flex-start;
}

.agent-bio-layout .sell-right p {
    margin-bottom: 1.2rem;
    line-height: 1.9;
}

.agent-bio-layout .sell-right p:last-child {
    margin-bottom: 0;
}

/* Agent Designations */
.agent-designations {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.agent-designation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}

.agent-designation-item:hover {
    border-color: rgba(192,160,98,0.3);
    transform: translateX(5px);
}

.agent-designation-item i {
    color: var(--color-accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.agent-designation-item span {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-text);
    letter-spacing: 0.5px;
}

/* Agent Service Area City Tags */
.agent-service-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.5rem 0;
}

.agent-service-cities .agent-city-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.12);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.agent-service-cities .agent-city-tag:hover {
    border-color: var(--color-accent) !important;
    color: #ffffff !important;
    background: rgba(192,160,98,0.15) !important;
}

/* Agent Three Pillars */
.agent-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.agent-pillar {
    padding: 1.5rem 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-left: 3px solid var(--color-accent);
    transition: all 0.3s ease;
}

.agent-pillar:hover {
    border-color: rgba(192,160,98,0.3);
    border-left-color: var(--color-accent);
    transform: translateX(5px);
}

.agent-pillar h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    color: var(--color-accent);
}

.agent-pillar p {
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Agent Designation Descriptions */
.agent-designation-item div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.agent-designation-item strong {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.agent-designation-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 300;
    color: var(--color-text-muted);
    margin: 0;
}

/* Agent Bio Links */
.agent-bio-layout .sell-right a:not(.btn) {
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.agent-bio-layout .sell-right a:not(.btn):hover {
    opacity: 0.8;
}

/* Agent Profile Responsive */
@media (max-width: 900px) {
    .agent-hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .agent-hero-img-wrapper {
        max-width: 400px;
    }
    .agent-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .agent-stat-value {
        font-size: 1.8rem;
    }
    .agent-service-cities {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .agent-stats-container {
        grid-template-columns: 1fr;
    }
}

/* Contact Page */
.contact-page .sell-left {
    justify-content: flex-start;
    padding-top: 2rem;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 3rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.contact-info-item > i {
    color: var(--color-accent);
    font-size: 1rem;
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

.contact-info-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 2px;
}

.contact-info-value {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.contact-info-value:hover {
    color: var(--color-accent);
}

.contact-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.contact-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--color-text);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-3px);
}

.contact-zillow-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.contact-social-zillow:hover .contact-zillow-img {
    filter: brightness(0) invert(0.75) sepia(1) saturate(3) hue-rotate(10deg);
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 3rem;
}

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.contact-form-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form-field {
    display: flex;
    flex-direction: column;
}

.contact-form-field-full {
    margin-bottom: 1.5rem;
}

.contact-form-field label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-text);
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    transition: border-color 0.3s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
    border-color: var(--color-accent);
}

.contact-form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.contact-form-field select option {
    background: var(--color-bg);
    color: var(--color-text);
}

.contact-form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
    color: rgba(255,255,255,0.25);
    font-weight: 300;
}

.contact-form-consent {
    margin-bottom: 2rem;
}

.contact-submit-btn {
    width: 100%;
}

@media (max-width: 768px) {
    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* Concierge Steps */
.concierge-steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.concierge-step {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 2.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s ease;
}

.concierge-step:hover {
    border-color: rgba(192, 160, 98, 0.3);
    transform: translateX(5px);
}

.concierge-step-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.concierge-step:hover .concierge-step-number {
    opacity: 1;
}

.concierge-step-content h3 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.concierge-step-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-weight: 300;
}

/* Concierge Services Grid */
.concierge-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.concierge-service-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    transition: all 0.4s ease;
}

.concierge-service-card:hover {
    border-color: rgba(192, 160, 98, 0.3);
    transform: translateY(-5px);
}

.concierge-card-slider {
    height: 250px;
}

.concierge-card-slider .concierge-slider-img {
    height: 250px;
}

.concierge-card-slider .concierge-handle-circle {
    width: 30px;
    height: 30px;
}

.concierge-card-slider .concierge-handle-circle i {
    font-size: 0.5rem;
}

.concierge-card-slider .concierge-badge-before,
.concierge-card-slider .concierge-badge-after {
    font-size: 0.6rem;
    padding: 3px 8px;
}

.concierge-service-info {
    padding: 1.5rem;
}

.concierge-service-info h3 {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.concierge-service-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .concierge-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Concierge Responsive */
@media (max-width: 768px) {
    .concierge-step {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    .concierge-step-number {
        font-size: 2.5rem;
    }
    .concierge-services-grid {
        grid-template-columns: 1fr;
    }
}

/* Sell Page Responsive */
@media (max-width: 1024px) {
    .sell-heading-light,
    .sell-heading-bold { font-size: 4rem; }
    .sell-features-grid { grid-template-columns: repeat(2, 1fr); }
    .sell-page-container { gap: 3rem; }
}

@media (max-width: 768px) {
    .sell-page { padding: 7rem 0 4rem; }
    .sell-page-container {
        grid-template-columns: 1fr;
        padding: 0 2rem;
        gap: 3rem;
    }
    .sell-left {
        position: static;
        text-align: center;
    }
    .sell-heading-accent {
        margin: 0 auto 1.5rem;
    }
    .sell-heading-light,
    .sell-heading-bold { font-size: clamp(2rem, 8vw, 3rem); letter-spacing: 2px; }
    .sell-cta-group {
        max-width: 100%;
        align-items: center;
    }
    .sell-right p { text-align: left; }
    .sell-features-grid { grid-template-columns: 1fr; }
    .sell-contact-cta-title { font-size: 2rem; }
    .sell-contact-cta-buttons { flex-direction: column; align-items: center; }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title { font-size: clamp(2rem, 6vw, 3rem); }
    .property-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root {
        --sidebar-clearance: 2rem;
    }

    /* Hamburger toggle */
    .menu-toggle {
        display: flex;
        z-index: 201;
    }

    .menu-toggle span {
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .menu-toggle.active span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle.active span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    /* Mobile nav overlay */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(20px);
        padding: 6rem 2rem 3rem;
        gap: 0;
        align-items: flex-start;
        z-index: 200;
        overflow-y: auto;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links > a,
    .nav-links > .dropdown {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .nav-links > a {
        padding: 1.2rem 0;
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    /* Mobile dropdowns */
    .dropdown {
        flex-direction: column;
        align-items: flex-start;
    }

    .dropdown > .dropbtn {
        padding: 1.2rem 0;
        font-size: 1.1rem;
        letter-spacing: 2px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .dropdown > .dropbtn i {
        transition: transform 0.3s ease;
    }

    .dropdown.mobile-open > .dropbtn i {
        transform: rotate(180deg);
    }

    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        background: transparent;
        border: none;
        border-top: none;
        box-shadow: none;
        padding: 0 0 0.5rem 1.5rem;
    }

    .dropdown.mobile-open .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 0.8rem 0;
        font-size: 0.95rem;
        color: var(--color-text-muted);
    }

    .dropdown-content a:hover {
        padding-left: 0.5rem;
    }

    /* Prevent hover from triggering on mobile */
    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.mobile-open:hover .dropdown-content {
        display: block;
    }

    /* Nested dropdowns: expand inline on mobile instead of flying sideways */
    .dropdown-nested-content {
        position: static;
        left: auto;
        top: auto;
        min-width: 100%;
        width: 100%;
        background: rgba(255,255,255,0.04);
        border: none;
        border-top: 1px solid rgba(192,160,98,0.2);
        border-left: 2px solid var(--color-accent);
        box-shadow: none;
        padding: 0.25rem 0 0.25rem 1rem;
        margin-top: 0.25rem;
        display: none;
    }

    .dropdown-nested.nested-open .dropdown-nested-content {
        display: block;
    }

    .dropdown-nested.nested-open > .dropdown-nested-trigger i {
        transform: rotate(90deg);
    }

    /* Prevent desktop hover from showing nested on mobile */
    .dropdown-nested:hover .dropdown-nested-content {
        display: none;
    }

    .dropdown-nested.nested-open:hover .dropdown-nested-content {
        display: block;
    }

    .dropdown-nested-content a {
        padding: 0.7rem 0.5rem;
        font-size: 0.9rem;
    }

    .footer-nav { gap: 1rem; }
    .footer-logo-img { height: 60px; }
    .hero-title { font-size: clamp(1.5rem, 7vw, 2.5rem); letter-spacing: 2px; }
    .hero-content { margin-top: 5vh; padding: 1rem 1.5rem; }
    .cta-title { font-size: 2rem; }

    /* Lock body scroll when nav is open */
    body.nav-open {
        overflow: hidden;
    }
}

/* ============================================================
   Legal Pages (Privacy Policy, Terms of Service, etc.)
   ============================================================ */

.legal-page {
    background-color: #ffffff;
    min-height: 100vh;
}

/* Hero Banner */
.legal-hero {
    background-color: #0a0a0a;
    padding: 8rem 2rem 4rem;
    padding-left: var(--sidebar-clearance);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--color-accent);
}

.legal-hero-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.legal-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    margin: 0 0 1rem;
    line-height: 1.1;
}

.legal-hero-updated {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

/* Content Container */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

/* Body text overrides — keep Termly styles but ensure they're readable */
.legal-body {
    color: #595959;
    font-size: 14px;
    line-height: 1.8;
}

/* Table styling */
.legal-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 14px;
    color: #595959;
}

.legal-body table th {
    background: #f5f5f5;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid #ddd;
}

.legal-body table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.legal-body table tr:last-child td {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-hero {
        padding: 6rem 1.5rem 3rem;
    }
    .legal-container {
        padding: 3rem 1.5rem 4rem;
    }
    .legal-body table,
    .legal-body table thead,
    .legal-body table tbody,
    .legal-body table tr,
    .legal-body table th,
    .legal-body table td {
        display: block;
        width: 100%;
    }
    .legal-body table thead {
        display: none;
    }
    .legal-body table td {
        border-bottom: none;
        padding: 0.4rem 0;
    }
    .legal-body table tr {
        border-bottom: 1px solid #eee;
        padding: 0.75rem 0;
        margin-bottom: 0.5rem;
    }
}

/* ============================================================
   Community (Single City) Pages
   ============================================================ */

/* ── City Hero — Full Viewport ── */
.city-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.city-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.city-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15) 0%,
        rgba(0,0,0,0.35) 40%,
        rgba(5,5,5,0.88) 100%
    );
}

.city-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--sidebar-clearance) 5rem;
    width: 100%;
}

.city-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff;
    margin: 0.5rem 0 1rem;
    line-height: 1.05;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.city-hero-title span {
    color: var(--color-accent);
}

.city-hero-title-sub {
    display: block;
    font-size: 0.45em;
    letter-spacing: 6px;
    color: var(--color-accent);
    font-weight: 400;
    margin-top: 0.6rem;
    text-transform: uppercase;
}

.city-hero-tagline {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 600px;
    margin: 0 auto;
}

/* ── Quick Stats Bar ── */
.reviews-stats-bar {
    background: var(--color-bg);
    padding: 3rem 2rem 3rem var(--sidebar-clearance);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.reviews-stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.reviews-stat {
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.reviews-stat:hover {
    border-color: rgba(192,160,98,0.3);
}

.reviews-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 0.6rem;
}

.reviews-stat-number-sm {
    font-size: 1.05rem;
    letter-spacing: 0;
    line-height: 1.3;
}

.reviews-stat-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ── Neighborhood & Lifestyle Flip Cards ── */
.city-neighborhoods-grid,
.city-lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.city-hood-card {
    position: relative;
    height: 320px;
    overflow: hidden;
    cursor: pointer;
}

.city-lifestyle-card {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    cursor: default;
}

/* Card image layer */
.city-lifestyle-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.city-lifestyle-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-hood-card:hover .city-lifestyle-card-img,
.city-lifestyle-card:hover .city-lifestyle-card-img {
    transform: scale(1.08);
}

.city-lifestyle-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.35) 55%,
        rgba(0,0,0,0.1) 100%
    );
    transition: background 0.4s ease;
}

.city-hood-card:hover .city-lifestyle-card-overlay,
.city-lifestyle-card:hover .city-lifestyle-card-overlay {
    background: rgba(0,0,0,0.78);
}

/* Front face — title visible by default */
.city-lifestyle-card-front {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.city-lifestyle-card-front h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Back face — revealed on hover */
.city-lifestyle-card-back {
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

/* Neighborhood cards: frosted white panel so photo bleeds through */
.city-hood-card .city-lifestyle-card-back,
.city-lifestyle-card .city-lifestyle-card-back {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Lighten the overlay on hover so photo is still visible */
.city-hood-card:hover .city-lifestyle-card-overlay,
.city-lifestyle-card:hover .city-lifestyle-card-overlay {
    background: rgba(255, 255, 255, 0.15);
}

.city-hood-card .city-lifestyle-card-back h4,
.city-lifestyle-card .city-lifestyle-card-back h4 {
    color: #000000;
}

.city-hood-card .city-lifestyle-card-back .city-hood-desc,
.city-lifestyle-card .city-lifestyle-card-back p {
    color: #333333;
}

.city-lifestyle-card .city-lifestyle-card-back ul li a {
    color: #333333;
}

.city-lifestyle-card .city-lifestyle-card-back ul li a:hover {
    color: #000000;
}

.city-hood-card .city-lifestyle-card-back .city-hood-price {
    color: #000000;
    border-color: rgba(0, 0, 0, 0.25);
}

.city-hood-card:hover .city-lifestyle-card-back,
.city-lifestyle-card:hover .city-lifestyle-card-back {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.city-hood-card:hover .city-lifestyle-card-front,
.city-lifestyle-card:hover .city-lifestyle-card-front {
    opacity: 0;
    transform: translateY(-10px);
}

.city-lifestyle-card-back h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-accent);
    margin: 0 0 0.75rem;
}

.city-lifestyle-card-back ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.city-lifestyle-card-back ul li a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.82);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color var(--transition-fast);
}

.city-lifestyle-card-back ul li a:hover {
    color: var(--color-accent);
}

.city-lifestyle-card-back ul li a i {
    font-size: 0.65rem;
    opacity: 0.55;
}

/* Neighborhood back content */
.city-hood-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin: 0 0 0.75rem;
}

.city-hood-price {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 1px;
    color: var(--color-accent);
    border: 1px solid rgba(192,160,98,0.45);
    padding: 0.3rem 0.8rem;
}

/* ── Buying & Selling Cards ── */
.city-buysell-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.city-buysell-card {
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.07);
    border-left: 3px solid var(--color-accent);
    padding: 2.5rem;
    transition: border-color 0.3s ease;
}

.city-buysell-card:hover {
    border-color: rgba(192,160,98,0.4);
    border-left-color: var(--color-accent);
}

.city-buysell-card h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.city-buysell-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.city-buysell-btn {
    font-size: 0.8rem !important;
    padding: 0.8rem 1.8rem !important;
}

/* ── Other Communities Grid — matches homepage neighborhood tiles ── */
.city-other-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-width: 1200px;
}

.city-other-link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem 1rem;
    background-color: #000000;
    border: 1px solid rgba(192, 160, 98, 0.3);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-other-link:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: transparent;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    padding-left: 1rem;
}

.city-other-link i {
    display: none;
}

/* ── Community Page Responsive ── */
@media (max-width: 1024px) {
    .reviews-stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .reviews-stat:nth-child(2) { border-right: none; }
    .reviews-stat:nth-child(3),
    .reviews-stat:nth-child(4) {
        border-top: 1px solid rgba(255,255,255,0.06);
    }
    .city-buysell-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .city-hero { height: 85vh; }
    .city-hero-content { padding: 0 1.5rem 3rem; }
    .city-hero-title { font-size: 2.2rem; letter-spacing: 2px; }
    .reviews-stats-container { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .reviews-stats-bar { padding: 2rem 1.25rem; }
    .reviews-stat { padding: 1.5rem 0.75rem; }
    .reviews-stat-number { font-size: 1.3rem; }
    .city-neighborhoods-grid,
    .city-lifestyle-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    .city-other-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Our Marketing Page — Cards Grid
   ============================================================ */

.marketing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Card wrapper */
.marketing-card {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    cursor: pointer;
}

/* Front — image + overlay + icon/title */
.marketing-card-front {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.marketing-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.marketing-card:hover .marketing-card-img {
    transform: scale(1.06);
}

.marketing-card-front-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.35) 55%,
        rgba(0,0,0,0.1) 100%
    );
    transition: background 0.4s ease;
}

.marketing-card:hover .marketing-card-front-overlay {
    background: rgba(255, 255, 255, 0.15);
}

.marketing-card-front-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.75rem 1.5rem;
    z-index: 2;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.marketing-card-front-content i {
    font-size: 1.4rem;
    color: var(--color-accent);
    margin-bottom: 0.6rem;
    display: block;
}

.marketing-card-front-content h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    line-height: 1.3;
}

.marketing-card:hover .marketing-card-front-content {
    opacity: 0;
    transform: translateY(-10px);
}

/* Back — frosted white, dark text, revealed on hover */
.marketing-card-back {
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.marketing-card:hover .marketing-card-back {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.marketing-card-back h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000000;
    margin: 0 0 0.75rem;
}

.marketing-card-back p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.75;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .marketing-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .marketing-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Home Estimate Page
   ============================================================ */

/* ── How It Works — Step Boxes ── */
.estimate-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.estimate-step {
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.07);
    border-top: 3px solid var(--color-accent);
    padding: 2.5rem 2rem;
    transition: border-color 0.3s ease;
}

.estimate-step:hover {
    border-color: rgba(192,160,98,0.35);
    border-top-color: var(--color-accent);
}

.estimate-step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(192,160,98,0.2);
    line-height: 1;
    margin-bottom: 1.25rem;
    letter-spacing: -2px;
}

.estimate-step h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0 0 1rem;
}

.estimate-step p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin: 0;
}

/* ── Form Section ── */
.estimate-form-section {
    padding: 6rem 0;
    background: var(--color-surface);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.estimate-form-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 0 var(--sidebar-clearance);
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 6rem;
    align-items: start;
}

.estimate-form-left {
    position: sticky;
    top: 8rem;
}

.estimate-form-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-top: 1.5rem;
}

/* ── Form Fields ── */
.estimate-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.estimate-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.estimate-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.estimate-form-full {
    grid-column: 1 / -1;
}

.estimate-form-field label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    font-weight: 600;
}

.estimate-form-field input,
.estimate-form-field select,
.estimate-form-field textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    width: 100%;
    transition: border-color 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.estimate-form-field input:focus,
.estimate-form-field select:focus,
.estimate-form-field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.06);
}

.estimate-form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c0a062' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-color: rgba(255,255,255,0.04);
    padding-right: 2.5rem;
    cursor: pointer;
}

.estimate-form-field select option {
    background: #1a1a1a;
    color: var(--color-text);
}

.estimate-form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.estimate-upgrades-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.estimate-upgrade-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

.estimate-upgrade-check:hover {
    color: var(--color-text);
}

.estimate-upgrade-check input[type="checkbox"] {
    display: none;
}

.estimate-form-submit {
    margin-top: 0.5rem;
}

.estimate-form-submit .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: block;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .estimate-steps { grid-template-columns: 1fr; }
    .estimate-form-container { grid-template-columns: 1fr; gap: 3rem; }
    .estimate-form-left { position: static; }
}

@media (max-width: 640px) {
    .estimate-form-row { grid-template-columns: 1fr; }
    .estimate-upgrades-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Blog / Insights Page
   ============================================================ */

/* ── Topic Nav Tags (in hero) ── */
.blog-topic-nav {
    margin-top: 2rem;
}

.blog-topic-nav-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 0.75rem;
}

.blog-topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-topic-tag {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.4rem 1rem;
    transition: all 0.25s ease;
}

.blog-topic-tag:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ── Featured Article ── */
.blog-featured-post {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    transition: border-color 0.3s ease;
}

.blog-featured-post:hover {
    border-color: rgba(192,160,98,0.3);
}

.blog-featured-link {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
}

.blog-featured-image {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    background: var(--color-surface);
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-featured-post:hover .blog-featured-image img {
    transform: scale(1.04);
}

.blog-featured-no-image {
    background: var(--color-surface);
}

.blog-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(5,5,5,0.5) 100%);
    pointer-events: none;
}

.blog-featured-content {
    background: var(--color-surface);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
}

.blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-featured-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: 0.5px;
    margin: 0;
}

.blog-featured-excerpt {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin: 0;
}

/* ── Article Grid ── */
.blog-section {
    padding: 6rem 0;
}

.blog-section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 0 var(--sidebar-clearance);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

/* ── Blog Card ── */
.blog-card {
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
    border-color: rgba(192,160,98,0.3);
    transform: translateY(-4px);
}

.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #111;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}

.blog-card-no-image {
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}

.blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

/* ── Shared meta (category + date) ── */
.blog-card-meta,
.blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.blog-card-category {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
}

.blog-card-date {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
    letter-spacing: 0.3px;
}

.blog-card-excerpt {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin: 0;
    flex: 1;
}

/* ── Read More link ── */
.blog-read-more {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    transition: gap 0.25s ease;
}

.blog-card:hover .blog-read-more,
.blog-featured-post:hover .blog-read-more {
    gap: 0.75rem;
}

.blog-read-more i {
    font-size: 0.65rem;
}

/* ── Pagination ── */
.blog-pagination {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.blog-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-pagination .page-numbers {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.6rem 1rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .blog-featured-link { grid-template-columns: 1fr; }
    .blog-featured-image { min-height: 320px; }
    .blog-featured-overlay { background: linear-gradient(to bottom, transparent 60%, rgba(5,5,5,0.5) 100%); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-featured-content { padding: 2rem; }
    .blog-featured-image { display: none; }
    .blog-card-image { display: none; }
}

/* ── Prefer to Watch / YouTube Section ── */
.blog-youtube-section {
    background: rgba(255,255,255,0.01);
}

.blog-youtube-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
}

.blog-youtube-left {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.blog-youtube-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    margin: 0;
}

.blog-youtube-desc strong {
    color: var(--color-accent);
    font-weight: 600;
}

.blog-youtube-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.blog-youtube-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-youtube-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.07);
    background: var(--color-surface);
    width: 100%;
    max-width: 320px;
    transition: border-color 0.3s ease;
}

.blog-youtube-icon-wrapper:hover {
    border-color: rgba(196, 48, 43, 0.35);
}

.blog-youtube-icon-wrapper i {
    font-size: 4rem;
    color: #c4302b;
    filter: drop-shadow(0 4px 16px rgba(196,48,43,0.25));
}

.blog-youtube-handle {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .blog-youtube-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .blog-youtube-icon-wrapper {
        max-width: 100%;
    }
}

/* ============================================================
   Single Blog Post
   ============================================================ */

.single-post {
    background: var(--color-bg);
    min-height: 100vh;
}

/* ── Hero ── */
.single-post-hero {
    position: relative;
    height: 70vh;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.single-post-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.single-post-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post-no-image {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

.single-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15) 0%,
        rgba(0,0,0,0.45) 40%,
        rgba(5,5,5,0.92) 100%
    );
}

.single-post-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 4rem var(--sidebar-clearance);
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.single-post-date {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
}

.single-post-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin: 0 0 1.25rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.single-post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
}

.single-post-read-time {
    padding-left: 1rem;
    border-left: 1px solid rgba(255,255,255,0.2);
    color: var(--color-accent);
}

/* ── Post Content ── */
.single-post-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem 4rem var(--sidebar-clearance);
}

.single-post-content {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text-muted);
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    font-family: var(--font-heading);
    color: #ffffff;
    margin: 2.5rem 0 1rem;
    letter-spacing: 0.5px;
}

.single-post-content h2 { font-size: 1.6rem; }
.single-post-content h3 { font-size: 1.25rem; }
.single-post-content h4 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--color-accent); }

.single-post-content p { margin-bottom: 1.5rem; }

.single-post-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.single-post-content a:hover { color: #ffffff; }

.single-post-content ul,
.single-post-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.single-post-content li { margin-bottom: 0.5rem; }

.single-post-content blockquote {
    border-left: 3px solid var(--color-accent);
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.03);
    font-style: italic;
    color: rgba(255,255,255,0.7);
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem 0;
}

.single-post-content figure { margin: 2rem 0; }
.single-post-content figcaption {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

/* ── Tags ── */
.single-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.single-post-tag {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.35rem 0.9rem;
    transition: all 0.25s ease;
}

.single-post-tag:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ── Prev / Next Navigation ── */
.single-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.07);
}

.single-post-nav-item {
    background: var(--color-bg);
    padding: 2rem;
    transition: background 0.3s ease;
}

.single-post-nav-item:hover { background: var(--color-surface); }

.single-post-nav-next { text-align: right; }

.single-post-nav-item a {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.single-post-nav-label {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.single-post-nav-next .single-post-nav-label {
    justify-content: flex-end;
}

.single-post-nav-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .single-post-hero { height: 55vh; min-height: 360px; }
    .single-post-hero-bg { display: none; }
    .single-post-hero {
        height: auto;
        min-height: 0;
        padding: 8rem 1.5rem 3rem;
        background: #0a0a0a;
    }
    .single-post-hero-content,
    .single-post-container { padding-left: 1.5rem; padding-right: 1.5rem; }
    .single-post-nav { grid-template-columns: 1fr; }
    .single-post-nav-next { text-align: left; }
    .single-post-nav-next .single-post-nav-label { justify-content: flex-start; }
}

/* Suppress empty paragraphs left by stripped shortcodes */
.single-post-content p:empty,
.single-post-content p > br:only-child {
    display: none;
}

/* ============================================================
   Reviews / Testimonials Page
   ============================================================ */

/* ── Featured Review ── */
.reviews-featured {
    background: var(--color-surface);
    border: 1px solid rgba(192,160,98,0.2);
    padding: 3.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.reviews-featured-quote {
    position: relative;
}

.reviews-quote-icon {
    font-size: 3rem;
    color: var(--color-accent);
    opacity: 0.3;
    display: block;
    margin-bottom: 1.25rem;
    line-height: 1;
}

.reviews-featured blockquote {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.85);
    font-style: italic;
    margin: 0;
    padding: 0;
    border: none;
}

.reviews-featured-attribution {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.reviews-featured-stars {
    display: flex;
    gap: 0.25rem;
    color: var(--color-accent);
    font-size: 1rem;
}

.reviews-featured-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
}

.reviews-featured-detail {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

/* ── Reviews Grid ── */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

/* ── Review Card ── */
.review-card {
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.review-card:hover {
    border-color: rgba(192,160,98,0.25);
    transform: translateY(-4px);
}

.review-card-stars {
    display: flex;
    gap: 0.2rem;
    color: var(--color-accent);
    font-size: 0.85rem;
}

.review-card-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    font-style: italic;
    flex: 1;
    margin: 0;
}

.review-card-attribution {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: auto;
}

.review-card-name {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
}

.review-card-detail {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-featured { padding: 2rem; }
    .reviews-featured blockquote { font-size: 1rem; }
}

/* ============================================================
   Communities / Neighborhoods Page
   ============================================================ */

/* ── Hero ── */
.communities-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-bottom: 5rem;
}

.communities-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.communities-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.communities-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.2) 100%);
}

.communities-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 0 var(--sidebar-clearance);
    width: 100%;
}

.communities-hero-content .sell-heading-accent {
    margin-bottom: 1rem;
}

.communities-hero-content .sell-heading {
    margin-bottom: 1.25rem;
}

.communities-hero-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.communities-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
    max-width: 640px;
    margin: 0;
}

.communities-hero-content .sell-heading-light {
    color: var(--color-accent);
}

/* ── City Grid Section ── */
.communities-grid-section {
    padding: 5rem 0;
}

.communities-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 0 var(--sidebar-clearance);
}

.communities-section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-right: var(--sidebar-clearance);
}

.communities-section-header .sell-section-label,
.communities-section-header .sell-section-title {
    text-align: center;
}

.communities-section-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    max-width: 680px;
    margin: 1rem auto 0;
}

/* ── City Card Grid ── */
.communities-city-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ── Community Card ── */
.community-card {
    position: relative;
    display: block;
    height: 320px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

.community-card-bg {
    position: absolute;
    inset: 0;
}

.community-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.community-card:hover .community-card-img {
    transform: scale(1.06);
}

.community-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    transition: background 0.4s ease;
}

.community-card:hover .community-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.1) 100%);
}

.community-card-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
}

.community-card-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.4rem;
    letter-spacing: 0.5px;
}

.community-card-tagline {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    margin: 0 0 0.85rem;
    line-height: 1.5;
    min-height: 2.5rem; /* locks to 2-line height so all cards align */
    display: flex;
    align-items: flex-start;
}

.community-card-link {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.community-card:hover .community-card-link {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .communities-city-grid { grid-template-columns: repeat(2, 1fr); }
    .community-card { height: 280px; }
}

@media (max-width: 640px) {
    .communities-hero { min-height: 50vh; padding-bottom: 3rem; }
    .communities-city-grid { grid-template-columns: 1fr; }
    .community-card { height: 240px; }
}

/* ── Agent Service City Grid ── */
.agent-service-cities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1.25rem 0 1.5rem;
}

.neighborhood-tile {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(192,160,98,0.3);
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.9rem 0.75rem;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.neighborhood-tile:hover {
    background: rgba(192,160,98,0.08);
    border-color: rgba(192,160,98,0.6);
}

/* ── Homepage city tiles — black background for contrast ── */
.neighborhood-grid .neighborhood-tile {
    background-color: #000000;
}

.neighborhood-grid .neighborhood-tile:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: transparent;
}

/* ============================================================
   MOBILE FIXES — homepage (≤ 768px)
   Desktop styles are untouched — all rules scoped to max-width
   ============================================================ */

@media (max-width: 768px) {

    /* ── 1. Hero: scale title so it fits without wrapping ── */
    .hero-title {
        font-size: clamp(1.6rem, 7vw, 3rem);
        white-space: normal;
        letter-spacing: 2px;
        line-height: 1.15;
    }

    .hero-subheader {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    /* ── 2. Community & Neighborhood Guides: title fits on screen ── */
    .neighborhood-title {
        font-size: clamp(1.8rem, 7vw, 3rem);
        line-height: 1.2;
    }

    .neighborhood-container {
        padding: 0 1.5rem;
    }

    .neighborhood-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* ── 3. Founder section: stack cleanly, nothing overflows ── */
    .founder-bio {
        padding: 4rem 0;
    }

    .founder-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .founder-title-first,
    .founder-title-last {
        font-size: clamp(3rem, 14vw, 4.5rem);
        letter-spacing: -1px;
    }

    .founder-content {
        padding-top: 0;
        padding-right: 0;
    }

    .founder-headline {
        font-size: 1.4rem;
    }

    .founder-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .founder-image-wrapper {
        padding-left: 0;
        justify-content: center;
    }

    .founder-image {
        max-height: 380px;
        width: 100%;
        object-fit: cover;
    }

    .founder-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* ── 4. Services: vertical stack with background image cycling ── */
    .services-showcase {
        height: auto;
        min-height: 520px;
        padding: 3rem 0;
    }

    /* Keep background switching active on mobile */
    .services-bg-layer {
        position: absolute;
    }

    .services-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1.5rem;
        align-items: center;
    }

    .services-item {
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .services-item:last-child {
        border-bottom: none;
    }

    .services-label {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }



/* Extra small screens (≤ 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.4rem, 8vw, 2.2rem);
    }

    .neighborhood-title {
        font-size: 1.8rem;
    }

    .neighborhood-grid {
        grid-template-columns: 1fr;
    }

    .founder-title-first,
    .founder-title-last {
        font-size: clamp(2.5rem, 16vw, 3.5rem);
    }
}
