﻿/* ========================================
   Odrealitky.cz - Professional Real Estate Website Styles
   Czech Real Estate Agency - Prague
   ======================================== */

/* CSS Variables - Dark Premium Theme */
:root {
    --bg-primary: #0f1115;
    --bg-secondary: #1a1d24;
    --bg-tertiary: #242830;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --accent-gold: #cca466;
    --accent-gold-hover: #e0b87a;
    --accent-blue: #3b82f6;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --success: #10b981;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img,
picture {
    max-width: 100%;
    height: auto;
    display: block;
}

picture.picture-cover {
    width: 100%;
    height: 100%;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
.gold-text {
    color: var(--accent-gold);
}

/* ========================================
   Header Styles
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(20px);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(15, 17, 21, 0.95);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    /* Vertical center of text/content inside link */
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;

    /* Allow overlap */
    align-self: flex-start;
    margin-top: 10px;
    /* Push down slightly from top edge */
    position: relative;
    z-index: 1001;
    /* Ensure above other content */
}

.logo img {
    height: 100px;
    /* Significantly larger */
    width: auto;
    object-fit: contain;
    /* No translateY needed if we use margin/align-self strategy, or maybe slight tweak */
}

.logo-icon {
    color: var(--accent-gold);
    font-size: 1.8rem;
}

.logo-text {
    color: var(--text-primary);
}

.logo-dot {
    color: var(--accent-gold);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Submenu Styles */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    min-width: 200px;
    border-radius: 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    z-index: 100;
}

.nav-item-dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-link {
    display: block;
    padding: 10px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.submenu-link:hover {
    color: var(--accent-gold);
    background: rgba(212, 168, 83, 0.08);
    padding-left: 28px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 6px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile Submenu Adjustments */
@media (max-width: 768px) {
    .nav-item-dropdown {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 8px 0 16px 20px;
        display: none;
        width: 100%;
    }

    .nav-item-dropdown.active .submenu {
        display: block;
    }

    .nav-item-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .submenu-link {
        padding: 12px 0;
        font-size: 1.1rem;
        /* Better for mobile touch */
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-login {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 20px;
    transition: color var(--transition-fast);
}

.btn-login:hover {
    color: var(--text-primary);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    /* Larger touch target */
    z-index: 2000;
    /* Ensure on top */
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    /* Thicker for better visibility */
    background-color: #ffffff !important;
    /* Force white */
    border-radius: 3px;
    transition: all var(--transition-fast);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    /* Contrast against any bg */
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(15, 17, 21, 0.4) 0%,
            rgba(15, 17, 21, 0.6) 50%,
            rgba(15, 17, 21, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-primary);
    margin-bottom: 32px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

/* Hero Checklist Card */
.hero-checklist-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    max-width: 480px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.hero-check-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    flex-shrink: 0;
}

/* Hero Button Grid */
.hero-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.btn-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-height: 72px;
    line-height: 1.2;
}

.btn-main-text {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-sub-text {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
}

.btn-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

.btn-hero-prodat {
    background: linear-gradient(135deg, #c47e2c 0%, #945d1f 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-hero-odhad {
    background: linear-gradient(135deg, #2c3345 0%, #1a1e2b 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-hero-pronajem {
    background: linear-gradient(135deg, #3d352e 0%, #2a241f 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-micro-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.text-highlight {
    color: #5da8ff;
    font-weight: 500;
}

@media (max-width: 992px) {
    .hero-btns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 40px 20px 80px;
        text-align: center;
    }

    .hero-checklist-card {
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .hero-btns {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-hero {
        font-size: 1.1rem;
    }
}

/* Search Component */
.search-container {
    max-width: 800px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.search-tab {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.search-tab.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.search-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.search-box {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    transition: all var(--transition-fast);
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-hover);
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
}

.search-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-input {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    padding: 16px 0;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.search-btn:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
}

/* ========================================
   Contact Section V3 (CMS-First Design)
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    /* Matches image 2 proportions */
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Cards (Left & Right) */
.contact-info-card,
.contact-form-card {
    background: rgba(20, 22, 26, 0.75);
    /* Slight transparency for depth */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    padding: 34px;
    height: 100%;
    /* Match height visual if needed */
}

/* Trust Panel (Mini-Card above Form) */
.trust-panel {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    /* Align top for portrait */
    background: rgba(15, 16, 20, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

/* Trust Portrait - Rectangular with rounded corners */
.trust-portrait img {
    width: 110px;
    /* Slightly wider than 100px */
    height: auto;
    border-radius: 12px;
    /* Subtle rounded corners, not circle */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    display: block;
    object-fit: cover;
}

/* Trust Typography */
.trust-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 4px;
}

.trust-name {
    color: #cca86a;
    /* Gold accent */
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
    margin-bottom: 4px;
    font-family: 'Montserrat', sans-serif;
}

.trust-role {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.trust-message {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 4px;
}

.trust-subline {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 980px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 24px;
    }

    .trust-panel {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .trust-portrait img {
        width: 100px;
    }

    .trust-copy {
        align-items: center;
    }
}

/* Redefine critical overrides for CMS content that might have inline styles */
.contact-section .section-tag {
    color: var(--accent-gold);
}

/* ========================================
   Contact Section V3 - Global
   ======================================== */
.contact-section,
#kontakt {
    padding: 80px 0 100px;
    min-height: 600px;
    background:
        radial-gradient(ellipse 50% 40% at 8% 25%, rgba(180, 120, 50, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 35% 35% at 12% 35%, rgba(200, 150, 70, 0.08) 0%, transparent 40%),
        #0f1115 !important;
    position: relative;
    z-index: 1;
}

.contact-section::before {
    display: none;
}

.contact-grid {
    position: relative;
    z-index: 2;
}

/* Map Modal (Mobile/Global) */
.map-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Dark overlay */
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.map-modal-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.map-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 600px;
    background: #1a1d24;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.map-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.map-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.map-modal-header span {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.map-modal-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.map-modal-close:hover {
    color: #cca86a;
}

.map-directions-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #cca86a;
    text-decoration: none;
    font-weight: 600;
    padding: 12px;
    border: 1px solid rgba(204, 168, 106, 0.3);
    border-radius: 8px;
    transition: all 0.2s;
}

.map-directions-link:hover {
    background: rgba(204, 168, 106, 0.1);
    border-color: #cca86a;
}

/* Redefine critical overrides for CMS content that might have inline styles */
.contact-section .section-tag {
    color: var(--accent-gold);
}

.contact-section .section-title-large {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 24px;
}

/* Trust Strip */
.trust-strip {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 60px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-number {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
}

.trust-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.trust-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--bg-secondary);
    /* border removed */
    border-radius: 16px;
    padding: 32px;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.stat-change {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.stat-change.positive {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========================================
   Properties Section (Bento Grid)
   ======================================== */
.properties-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 24px;
}

/* Property Cards */
.property-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.property-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.property-card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.property-image {
    position: relative;
    overflow: hidden;
}

.property-card-large .property-image {
    height: 400px;
}

.property-card:not(.property-card-large) .property-image {
    height: 200px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
}

.favorite-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    opacity: 0;
}

.property-card:hover .favorite-btn {
    opacity: 1;
}

.favorite-btn:hover {
    background: var(--accent-gold);
    transform: scale(1.1);
}

.favorite-btn svg {
    width: 20px;
    height: 20px;
    color: var(--bg-primary);
}

.property-content {
    padding: 24px;
}

.property-card-large .property-content {
    padding: 32px;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.property-card-large .property-price {
    font-size: 2rem;
}

.property-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.property-location {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.feature {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 6px 12px;
    border-radius: 6px;
}

.property-btn {
    width: 100%;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.property-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* Stats Widget */
.stats-widget {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.widget-icon {
    font-size: 1.5rem;
}

.widget-title {
    font-size: 1rem;
    font-weight: 600;
}

.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    height: 150px;
    margin-bottom: 24px;
}

.chart-bar {
    flex: 1;
    height: var(--height);
    background: var(--bg-tertiary);
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: all var(--transition-normal);
}

.chart-bar.active {
    background: var(--accent-gold);
}

.bar-label {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.widget-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.widget-stat {
    font-size: 1.25rem;
    font-weight: 700;
}

.widget-stat.positive {
    color: var(--success);
}

.widget-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Project Card */
.project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.project-image {
    height: 180px;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 17, 21, 0.9) 0%, transparent 60%);
}

.project-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-blue);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.project-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.project-status {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 500;
}

/* About Teaser */
.about-teaser {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

.about-teaser:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.about-image {
    height: 160px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.about-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.about-content h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.about-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
}

.about-btn {
    color: var(--accent-gold);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.about-btn:hover {
    gap: 12px;
}

/* Contact Widget */
.contact-widget {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.contact-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.contact-phone {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    margin-bottom: 20px;
    transition: color var(--transition-fast);
}

.contact-phone:hover {
    color: var(--accent-gold);
}

.contact-btn {
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.contact-btn:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 17, 21, 0.85);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-btn {
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 18px 40px;
    border-radius: 10px;
    transition: all var(--transition-fast);
}

.cta-btn:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(204, 164, 102, 0.3);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.testimonial-stars {
    color: var(--accent-gold);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

/* About Story Section */
.about-story {
    padding: 80px 0;
    background: transparent !important;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start !important;
    /* Force top alignment */
    background: #1a1d23;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
}

.story-image {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 55px !important;
    /* Force alignment with H2 */
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.story-content {
    padding: 20px 0;
}

.story-content h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.story-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 24px;
    }

    .story-image {
        margin-top: 0;
    }
}

/* About Stats Section */
.about-stats {
    padding: 60px 0;
    background: transparent !important;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    background: #1a1d23;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.stat-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .stats-row {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-contact p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-social a {
    color: var(--text-muted);
    transition: color var(--transition-fast), transform 0.2s ease;
    display: flex;
    align-items: center;
}

.footer-social a:hover {
    color: var(--accent-gold);
    transform: scale(1.15);
}

.footer-legal {
    display: flex;
    gap: 32px;
}

.footer-legal a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--accent-gold);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .property-card-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: span 3;
    }
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-card-large {
        grid-column: span 2;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 40px 24px 60px;
    }

    .trust-strip {
        flex-wrap: wrap;
        gap: 24px;
    }

    .trust-divider {
        display: none;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .property-card-large {
        grid-column: span 1;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }

    .footer-brand {
        grid-column: span 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand .logo {
        margin: 0 auto !important;
        display: inline-block !important;
        width: auto !important;
        max-width: 100%;
    }

    .footer-brand .logo img {
        height: 50px !important;
        display: block;
        margin: 0 auto;
    }

    .footer-desc {
        margin-top: 10px !important;
        margin-bottom: 5px !important;
        font-size: 0.9rem;
    }

    /* Hide the "Chci prodat | Chci pronajmout | Hledám nájem" links in brand on mobile (they appear in footer-links) */
    .footer-brand>div {
        display: none !important;
    }

    /* Hide link section headings on mobile */
    .footer-links h4 {
        display: none;
    }

    /* Make footer links horizontal with less spacing */
    .footer-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 12px;
        padding: 0;
        margin: 0;
        border: none;
    }

    .footer-links a {
        display: inline;
        padding: 2px 0;
        font-size: 0.85rem;
    }

    /* Center contact section */
    .footer-contact {
        text-align: center;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-contact h4 {
        display: none;
    }

    .footer-contact p {
        margin-bottom: 6px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .search-box {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 16px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .search-tabs {
        width: 100%;
    }

    .search-tab {
        flex: 1;
        text-align: center;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .property-card-large .property-image {
        height: 250px;
    }
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 999;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav .nav-link {
    font-size: 1.25rem;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav .header-actions {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.mobile-nav .btn-login,
.mobile-nav .btn-primary {
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 1rem;
}

/* Mobile Nav Links Container */
.mobile-nav-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100%;
}

.mobile-nav-links .nav-link {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 1.25rem !important;
    padding: 18px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    position: relative !important;
}

.mobile-nav-links .nav-link::after {
    display: none !important;
}

.mobile-nav-links .nav-link:active {
    background: rgba(204, 164, 102, 0.1);
}

/* Mobile Nav Actions */
.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
}

.mobile-nav-actions .mobile-btn-login,
.mobile-nav-actions .mobile-btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 1rem;
    border-radius: 10px;
    font-weight: 600;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.mobile-nav-actions .mobile-btn-login {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.mobile-nav-actions .mobile-btn-primary {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border: none;
}

/* ========================================
   Bento Grid Section - Template Style
   ======================================== */
.bento-section {
    padding: 0 0 80px;
    background: var(--bg-primary);
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.bento-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

/* Large Property Card */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.property-featured .property-image {
    height: 320px;
    position: relative;
}

.property-featured .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-featured .property-content {
    padding: 24px;
}

.property-featured .property-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.property-featured .property-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 16px;
}

.property-featured .property-features {
    display: flex;
    gap: 16px;
}

.property-featured .feature {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 8px 16px;
    border-radius: 8px;
}

/* Stats Widget with Image */
.stats-widget {
    display: flex;
    flex-direction: column;
}

.stats-widget .widget-header {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stats-widget .widget-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-widget .widget-stat {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--success);
}

.stats-widget .widget-image {
    flex: 1;
    min-height: 120px;
}

.stats-widget .widget-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Card */
.project-card {
    display: flex;
    flex-direction: column;
}

.project-card .project-header {
    padding: 20px 20px 12px;
}

.project-card .project-tag {
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card h3 {
    padding: 0 20px 16px;
    font-size: 1.1rem;
}

.project-card .project-image {
    flex: 1;
    min-height: 120px;
}

.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Teaser - Bento Style */
.bento-card.about-teaser {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.bento-card.about-teaser .about-image {
    height: 100%;
}

.bento-card.about-teaser .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-card.about-teaser .about-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-card.about-teaser .about-tag {
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.bento-card.about-teaser h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.bento-card.about-teaser p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.bento-card.about-teaser .about-btn {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
}

/* Sale Time Widget */
.sale-time-widget {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sale-time-widget .widget-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.sale-time-widget .widget-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

.sale-time-widget .widget-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
}

/* Contact Widget - Bento Style */
.bento-card.contact-widget {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.bento-card.contact-widget .contact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.bento-card.contact-widget .contact-phone {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: block;
}

.bento-card.contact-widget .contact-phone:hover {
    color: var(--accent-gold);
}

.contact-actions {
    display: flex;
    gap: 12px;
}

.contact-btn-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.contact-btn-icon:hover {
    background: var(--accent-gold);
    transform: scale(1.1);
}

/* Search Actions */
.search-actions {
    display: flex;
    gap: 12px;
}

.search-actions .search-tab {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.search-actions .search-tab.active {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.search-actions .search-tab:not(.active) {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.search-actions .search-tab:hover:not(.active) {
    background: var(--accent-gold);
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

.btn-outline {
    display: inline-block;
    padding: 16px 32px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

/* Partner Badge */
.partner-badge {
    height: 40px;
    width: auto;
}

/* Responsive Bento Grid */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-card.about-teaser {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bento-section {
        margin-top: -50px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-card.about-teaser {
        grid-column: span 1;
    }

    .bento-card.about-teaser {
        grid-template-columns: 1fr;
    }

    .bento-card.about-teaser .about-image {
        height: 200px;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .search-actions {
        flex-direction: column;
    }

    .search-actions .search-tab {
        text-align: center;
    }
}


/* ========================================
   Page Styles - Additional Pages
   ======================================== */

/* Page Hero */
.page-hero {
    padding: 160px 0 80px;
    background: var(--bg-primary);
    text-align: center;
    position: relative;
}

.page-hero.seller-hero {
    padding: 200px 0 120px;
    text-align: left;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.seller-hero .page-subtitle {
    margin: 0;
}

.hero-cta {
    margin-top: 40px;
}

/* About Story Section */
.about-story {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-image {
    border-radius: 20px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: auto;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.story-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* About Stats */
.about-stats {
    padding: 80px 0;
    background: var(--bg-primary);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-gold);
}

.stat-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.team-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.team-card h3 {
    margin: 16px 0 8px;
    font-size: 1.25rem;
    white-space: nowrap;
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.team-avatar {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    backface-visibility: hidden;
}

.team-avatar span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bg-primary);
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.team-role {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.team-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section Redesign - Ultra Refined & Compact */
.contact-section {
    padding: 60px 0;
    /* Reduced from 100px */
    background:
        radial-gradient(circle at 10% 10%, rgba(196, 126, 44, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(45, 48, 58, 0.1) 0%, transparent 40%),
        #0f1115;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 32px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.contact-glass-card {
    background: rgba(20, 22, 28, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    /* Reduced from 48px */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.section-tag {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-weight: 700;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
}

.contact-intro {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.5;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    /* Reduced from 32px */
}

.contact-detail-item {
    display: flex;
    gap: 16px;
}

.icon-circle {
    width: 40px;
    /* Smaller icons */
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
}

/* Specific icon colors matching Image 1 */
.icon-address {
    color: #ff3385;
}

.icon-phone {
    color: #ff3385;
}

.icon-email {
    color: #fff;
}

.icon-time {
    color: #fff;
}

.detail-content strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 4px;
}

.detail-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.contact-aside-text {
    font-size: 0.85rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
    margin: -8px 0 8px 56px;
    line-height: 1.4;
}

.consultation-cta {
    display: inline-block;
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 0 12px 56px;
    transition: all 0.3s ease;
}

/* Personal Message Card - More Compact */
.personal-message-card {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.person-photo {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    /* Focus on face */
}

.person-info h3 {
    font-size: 1.6rem;
    color: var(--accent-gold);
    margin-bottom: 2px;
    font-weight: 700;
}

.person-role {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.person-msg-text {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 8px;
}

.person-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.person-checklist li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.person-checklist li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
}

/* Form Styling - Compact */
.styled-contact-form .form-group {
    margin-bottom: 20px;
}

.styled-contact-form .form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.styled-contact-form input,
.styled-contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.styled-contact-form input:focus,
.styled-contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(196, 126, 44, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-submit-gradient {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #c47e2c 0%, #945d1f 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 4px;
    box-shadow: 0 10px 30px rgba(196, 126, 44, 0.3);
}

.form-submit-gradient:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(196, 126, 44, 0.4);
    filter: brightness(1.1);
}

@media (max-width: 1100px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-glass-card {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .contact-glass-card {
        padding: 30px 20px;
    }

    .personal-message-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
    }

    .contact-aside-text,
    .consultation-cta {
        margin-left: 0;
        text-align: center;
        display: block;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

.contact-item .contact-icon {
    font-size: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-item a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--accent-gold);
}

/* Forms */
.contact-form-wrapper,
.valuation-form-wrapper {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
}

.contact-form,
.valuation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-submit {
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    margin-top: 12px;
}

.form-submit:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
}

/* Blog Styles */
.blog-featured {
    padding: 0 0 60px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.featured-article {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}

.featured-article .article-image {
    position: relative;
    min-height: 400px;
}

.featured-article .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
}

.featured-article .article-content {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.article-category {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.article-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.featured-article h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.featured-article p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.article-link {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1rem;
}

.article-link:hover {
    color: var(--accent-gold-hover);
}

/* Blog Grid */
.blog-section {
    padding: 60px 0 100px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.blog-image {
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-category {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.blog-link {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-load-more {
    text-align: center;
    margin-top: 48px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.newsletter-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 20px;
    color: var(--text-primary);
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--accent-gold-hover);
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.process-step {
    text-align: center;
    padding: 32px 20px;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats Banner */
.stats-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
}

.pricing-card.featured {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.pricing-value {
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-gold);
}

.pricing-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-features li {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Valuation Section */
.valuation-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.valuation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.valuation-info h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.valuation-info>p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.valuation-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--bg-primary);
}

/* Search Filters */
.search-filters-section {
    padding: 0 0 60px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.filters-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.filter-group select {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.filter-btn {
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    background: var(--accent-gold-hover);
}

/* Properties Listing */
.properties-listing {
    padding: 60px 0 100px;
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.listing-header h2 {
    font-size: 1.5rem;
}

.listing-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.listing-sort label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.listing-sort select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.page-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.page-btn:hover {
    background: var(--bg-tertiary);
}

.page-btn.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-primary);
}

.page-btn.next {
    width: auto;
    padding: 0 20px;
}

/* Buyer Services */
.buyer-services {
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* Property Badge Variants */
.property-badge.new {
    background: var(--accent-blue);
}

/* Nav Active State */
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive Styles for Additional Pages */
@media (max-width: 1200px) {

    .story-grid,
    .contact-grid,
    .valuation-grid {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 992px) {
    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-article .article-content {
        padding: 32px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 60px;
    }

    .values-grid,
    .team-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .filters-box {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .listing-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}


/* ========================================
   Template V2 Styles - Matching Reference
   ======================================== */

/* Hero Dark Theme */
.hero-dark {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 80px;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero-bg-collage {
    position: absolute;
    inset: 0;
    display: flex;
    gap: 20px;
    opacity: 0.15;
    filter: blur(2px);
}

.collage-item {
    flex: 1;
    overflow: hidden;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collage-1 {
    transform: translateY(-10%);
}

.collage-2 {
    transform: translateY(5%);
}

.collage-3 {
    transform: translateY(-5%);
}

.hero-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(15, 17, 21, 0.7) 0%,
            rgba(15, 17, 21, 0.9) 100%);
}

.hero-title-large {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 48px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Search Box Dark Theme */
.search-container-centered {
    max-width: 700px;
    margin: 0 auto 48px;
}

.search-box-dark {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    align-items: center;
}

.search-box-dark .search-input-wrapper {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
}

.search-box-dark .search-input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    padding: 12px 0;
    width: 100%;
}

.search-box-dark .search-input::placeholder {
    color: var(--text-muted);
}

.search-box-dark .search-actions {
    display: flex;
    gap: 8px;
}

.search-btn-outline {
    padding: 14px 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    background: transparent;
    transition: all var(--transition-fast);
}

.search-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.search-btn-filled {
    padding: 14px 28px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.search-btn-filled:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

/* Trust Strip Dark */
.trust-strip-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-strip-dark .trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.trust-strip-dark .trust-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-strip-dark .trust-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.trust-strip-dark .trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Bento Grid V2 - Matching Template */
.bento-section-v2 {
    padding: 0 0 80px;
    background: var(--bg-primary);
}

.bento-grid-v2 {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.bento-card-v2 {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all var(--transition-normal);
}

.bento-card-v2:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

/* Large Property Card */
.card-property-large {
    grid-row: span 2;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.card-property-large>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-property-large .property-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 6px;
    z-index: 2;
}

.favorite-btn-v2 {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all var(--transition-fast);
}

.favorite-btn-v2 svg {
    width: 20px;
    height: 20px;
    color: var(--bg-primary);
}

.favorite-btn-v2:hover {
    background: var(--accent-gold);
    transform: scale(1.1);
}

.property-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    z-index: 2;
}

.property-info-overlay h3 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.property-price-large {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 12px;
}

.property-specs {
    display: flex;
    gap: 16px;
}

.property-specs span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Stats Card */
.card-stats {
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.card-stats .card-bg-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 70%;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0.9;
}

.card-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.card-headline {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 2;
}

.card-headline.green {
    color: #4ade80;
}

/* Projects Card */
.card-projects {
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 180px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.card-projects .card-bg-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 80%;
    object-fit: cover;
    border-radius: 12px;
}

/* About Card */
.card-about {
    grid-column: span 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.about-image-wrapper {
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.about-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.about-link {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Sale Time Card */
.card-sale-time {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sale-time-content {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.chart-icon {
    font-size: 2.5rem;
}

.sale-time-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sale-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sale-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

/* Contact Card */
.card-contact {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.contact-phone-large {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 12px 0 16px;
    display: block;
}

.contact-phone-large:hover {
    color: var(--accent-gold);
}

.contact-icons {
    display: flex;
    gap: 12px;
}

.contact-icon-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.contact-icon-btn:hover {
    background: var(--accent-gold);
    transform: scale(1.1);
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card-v2 {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.project-card-v2:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
}

.project-image-v2 {
    position: relative;
    height: 220px;
}

.project-image-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-status {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
}

.project-status.new {
    background: var(--accent-blue);
    color: white;
}

.project-content-v2 {
    padding: 24px;
}

.project-content-v2 h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.project-content-v2>p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.project-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.project-link {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.project-link:hover {
    color: var(--accent-gold-hover);
}

/* Responsive Bento V2 */
@media (max-width: 1200px) {
    .bento-grid-v2 {
        grid-template-columns: 1fr 1fr;
    }

    .card-property-large {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 350px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-dark {
        min-height: auto;
        padding: 120px 16px 60px;
    }

    .hero-title-large {
        font-size: 2rem;
    }

    .search-box-dark {
        flex-direction: column;
    }

    .search-box-dark .search-actions {
        width: 100%;
        flex-direction: column;
    }

    .search-btn-outline,
    .search-btn-filled {
        width: 100%;
        text-align: center;
    }

    .trust-strip-dark {
        flex-direction: column;
        gap: 16px;
    }

    .trust-strip-dark .trust-divider {
        width: 60px;
        height: 1px;
    }

    .bento-grid-v2 {
        grid-template-columns: 1fr;
    }

    .card-property-large {
        grid-column: span 1;
        min-height: 400px;
    }

    .card-about .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        height: 200px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   HERO MOSAIC SECTION
   ============================================ */
.hero-mosaic {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mosaic-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 4px;
}

.mosaic-item {
    overflow: hidden;
    position: relative;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mosaic-item:hover img {
    transform: scale(1.05);
}

/* Mosaic grid placement */
.mosaic-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.mosaic-2 {
    grid-column: 3;
    grid-row: 1;
}

.mosaic-3 {
    grid-column: 4;
    grid-row: 1 / 2;
}

.mosaic-4 {
    grid-column: 3;
    grid-row: 2;
}

.mosaic-5 {
    grid-column: 4;
    grid-row: 2 / 4;
}

.mosaic-6 {
    grid-column: 1 / 4;
    grid-row: 3;
}

.mosaic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(15, 17, 21, 0.3) 0%,
            rgba(15, 17, 21, 0.7) 50%,
            rgba(15, 17, 21, 0.95) 100%);
    z-index: 1;
}

.hero-mosaic .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

/* Responsive mosaic */
@media (max-width: 768px) {
    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .mosaic-1 {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .mosaic-2 {
        grid-column: 1;
        grid-row: 2;
    }

    .mosaic-3 {
        grid-column: 2;
        grid-row: 2;
    }

    .mosaic-4 {
        grid-column: 1;
        grid-row: 3;
    }

    .mosaic-5 {
        grid-column: 2;
        grid-row: 3 / 5;
    }

    .mosaic-6 {
        grid-column: 1;
        grid-row: 4;
    }
}


/* ============================================
   PROPERTY DETAIL MODAL
   ============================================ */
.detail-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.detail-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.detail-modal-content {
    position: relative;
    background: var(--bg-secondary, #1a1d23);
    border-radius: 16px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.detail-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.detail-gallery {
    background: #000;
    border-radius: 16px 0 0 16px;
    overflow: hidden;
}

.detail-main-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.detail-thumbnails {
    display: flex;
    gap: 4px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.5);
}

.detail-thumbnails img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border-radius: 4px;
}

.detail-thumbnails img:hover,
.detail-thumbnails img.active {
    opacity: 1;
}

.detail-info {
    padding: 2rem;
}

.detail-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-gold, #cca466);
    margin-bottom: 0.5rem;
}

.detail-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.detail-location {
    color: var(--text-muted, #8a8f98);
    margin-bottom: 1.5rem;
}

.detail-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-spec {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.detail-description {
    margin-bottom: 1.5rem;
}

.detail-description h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold, #cca466);
}

.detail-description p {
    color: var(--text-muted, #8a8f98);
    line-height: 1.6;
}

.detail-actions {
    display: flex;
    gap: 1rem;
}

.detail-btn-primary,
.detail-btn-secondary {
    flex: 1;
    padding: 0.875rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
}

.detail-btn-primary {
    background: var(--accent-gold, #cca466);
    color: #000;
}

.detail-btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-gold, #cca466);
    color: var(--accent-gold, #cca466);
}

@media (max-width: 768px) {
    .detail-modal-content {
        grid-template-columns: 1fr;
    }

    .detail-gallery {
        border-radius: 16px 16px 0 0;
    }
}


/* Image Select Dropdown */
.image-select {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-primary, #0f1115);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
}

.image-select option {
    padding: 0.5rem;
    background: var(--bg-secondary, #1a1d23);
}

.admin-form small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted, #8a8f98);
    font-size: 0.8rem;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--bg-secondary);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    z-index: 2000;
    padding: 8px 0;
    border: 1px solid var(--border-color);
}

.dropdown-content a {
    color: var(--text-primary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background var(--transition-fast);
}

.dropdown-content a:hover {
    background-color: var(--bg-tertiary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* FAQ Styles */
.faq-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    list-style: none;
    color: var(--text-primary);
}

.faq-question::marker,
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 24px;
    font-size: 1.5rem;
    color: var(--accent-gold);
    line-height: 1;
}

.faq-item[open] .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Login Modal Styles
   ======================================== */
.login-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-modal.active {
    display: flex;
}

.login-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.login-modal-content {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
}

.login-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.login-modal-close:hover {
    color: var(--text-primary);
}

.login-modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-modal-header .logo-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 16px;
}

.login-modal-header h2 {
    font-size: 1.5rem;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.login-form input {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.login-form input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.login-form input::placeholder {
    color: var(--text-muted);
}

.login-error {
    color: #ef4444;
    font-size: 0.9rem;
    margin-bottom: 16px;
    text-align: center;
    min-height: 20px;
}

.login-submit {
    width: 100%;
    background: var(--accent-gold);
    color: var(--bg-primary);
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.login-submit:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
}

/* Property Card Styles */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.property-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-gold);
}

.property-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.sold-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(204, 164, 102, 0.9);
    color: #1a1a2e;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.property-card.sold .property-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.property-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-price {
    color: var(--accent-gold);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.property-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text-primary);
}

.property-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-features {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.feature {
    color: var(--text-primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-btn {
    margin-top: auto;
    display: block;
    text-align: center;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    text-decoration: none;
    font-weight: 500;
}

.property-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* ========================================
   Mobile Navigation Fixes
   ======================================== */
@media (max-width: 768px) {

    /* Hide desktop elements */
    .nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    /* Show and style mobile menu button */
    .mobile-menu-btn {
        display: flex;
        z-index: 1005;
        position: relative;
        cursor: pointer;
        background: transparent;
        border: none;
    }

    /* Prevent logo from overlapping the button */
    .logo {
        z-index: 1004;
        max-width: calc(100% - 60px);
        /* Leave space for button */
    }

    /* Adjust header container */
    .header-container {
        padding: 0 16px;
    }

    /* Mobile Menu Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Mobile Navigation Overlay */
    .mobile-nav {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 72px);
        background: var(--bg-primary);
        z-index: 2001;
        padding: 24px;
        transform: translateX(100%);
        transition: transform var(--transition-normal);
        display: flex;
        flex-direction: column;
        gap: 32px;
        border-top: 1px solid var(--border-color);
        overflow-y: auto;
    }

    .mobile-nav.active {
        transform: translateX(0);
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-nav-links .nav-link {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--text-primary);
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 12px;
        width: 100%;
        display: block;
    }

    .mobile-nav-links .nav-link:hover,
    .mobile-nav-links .nav-link.active {
        color: var(--accent-gold);
        border-color: var(--accent-gold);
    }

    .mobile-nav-actions {
        margin-top: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-bottom: 30px;
    }

    .mobile-btn-login,
    .mobile-btn-primary {
        width: 100%;
        padding: 16px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        text-align: center;
        cursor: pointer;
        display: block;
    }

    .mobile-btn-login {
        background: transparent;
        border: 1px solid var(--border-color);
        color: var(--text-primary);
    }

    .mobile-btn-primary {
        background: var(--accent-gold);
        color: var(--bg-primary);
        border: none;
    }
}

/* Value Card - O nĂˇs page */
.value-card {
    background: #1a1d23;
    border-radius: 16px;
    /* border removed */
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
}

.value-card:hover {
    transform: translateY(-5px);
    background: #20232a;
    border-color: rgba(255, 255, 255, 0.15);
}

.value-image {
    height: 160px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.value-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.value-card h3 {
    color: var(--accent-gold);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: transparent !important;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: #1a1d23;
    border-radius: 16px;
    /* border removed */
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: transparent !important;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    background: #1a1d23;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
    justify-items: center;
}

.team-card {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 24px;
}

.team-card h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.team-role {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: block;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        padding: 16px !important;
        overflow-x: hidden !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .team-grid .team-card {
        width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 0 !important;
    }

    .team-section {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .team-section .container {
        overflow-x: hidden !important;
        width: 100% !important;
        padding: 0 16px !important;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: transparent !important;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: #1a1d23;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-item a {
    color: var(--accent-gold);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 24px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 24px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
}

/* ========================================
   Blog Article Components (Premium)
   ======================================== */

.article-content {
    line-height: 1.8;
    font-size: 1.08rem;
    color: #eee;
}

.article-content h2 {
    font-size: 1.95rem;
    color: var(--accent-gold);
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.55rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #fff;
    border-left: 3px solid var(--accent-gold);
    padding-left: 15px;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 30px;
    padding-left: 25px;
}

.article-content ul {
    list-style: none;
}

.article-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.article-content ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.article-content strong {
    color: #fff;
    font-weight: 700;
}

/* CTA Boxes */
.cta-box {
    border-radius: 16px;
    padding: 35px;
    margin: 45px 0;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.cta-box--primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8943f 100%);
    color: #000;
}

.cta-box--primary .cta-box__title {
    color: #000;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.cta-box--dark {
    background: #1a1d24;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.cta-box--dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gold);
}

.cta-box--dark .cta-box__heading {
    color: var(--accent-gold);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Key Takeaways Box */
.key-takeaways {
    background: rgba(212, 168, 83, 0.1) !important;
    /* Force override inline styles */
    border-radius: 16px;
    padding: 35px;
    margin: 50px 0;
    border: 1px solid rgba(212, 168, 83, 0.2);
    position: relative;
    overflow: hidden;
    color: #e0e0e0 !important;
}

/* Target generic headers if they are used instead of specific class */
.key-takeaways h2,
.key-takeaways h3,
.key-takeaways h4,
.key-takeaways__title {
    color: var(--accent-gold) !important;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.key-takeaways__title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.key-takeaways__title::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent-gold);
}

.key-takeaways ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-takeaways ul li {
    list-style: none !important;
    position: relative;
    padding-left: 32px;
    margin-bottom: 18px;
    color: #e0e0e0 !important;
    /* Ensure visibility */
    line-height: 1.7;
    font-size: 1.05rem;
}

.key-takeaways ul li:last-child {
    margin-bottom: 0;
}

.key-takeaways ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 900;
    font-size: 1.1rem;
}

.key-takeaways ul li strong {
    color: #fff !important;
    font-weight: 600;
}

/* Article Images */
.article-image--inline {
    float: right;
    width: 420px;
    max-width: 45%;
    margin: 10px 0 35px 45px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-image--inline img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-image--inline:hover img {
    transform: scale(1.05);
}

/* Button Refinements */
.btn--gold {
    display: inline-block;
    background: #000;
    color: var(--accent-gold);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-gold);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn--gold:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 168, 83, 0.2);
}

.cta-box--primary .btn--gold {
    background: #000;
    color: var(--accent-gold);
    border-color: transparent;
}

.cta-box--dark .btn--gold {
    background: var(--accent-gold);
    color: #000;
}

@media (max-width: 992px) {
    .article-image--inline {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .article-image--inline {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 25px 0;
    }

    .article-content h2 {
        font-size: 1.6rem;
    }

    .cta-box {
        padding: 25px;
    }
}

/* ========================================
   Article Detail Typography (Global) - Added for Legal Pages
   ======================================== */
.article-detail-section {
    padding: 120px 0 60px 0;
}

.article-detail-header {
    margin-bottom: 40px;
}

.article-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.article-detail-category {
    color: #cca466;
    font-weight: 500;
}

.article-detail-date {
    color: #9ca3af;
}

.article-detail-title {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.article-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.article-detail-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 1.8rem;
}

.article-detail-content p {
    margin-bottom: 20px;
}

.article-detail-content ul,
.article-detail-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-detail-content li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.article-detail-content strong {
    color: #ffffff;
}

.article-detail-content a {
    color: #cca466;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-detail-content a:hover {
    color: #e0b87a;
    text-decoration: underline;
}

/* ========================================
   Global Mobile Centering Fixes
   ======================================== */
@media (max-width: 768px) {

    /* Page Hero centering */
    .page-hero {
        text-align: center;
    }

    .page-hero .container {
        text-align: center;
    }

    .page-tag {
        display: inline-block !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-title {
        text-align: center;
    }

    .page-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Section headers centering */
    .section-header {
        text-align: center !important;
    }

    .section-title {
        text-align: center;
    }

    .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Service/Benefit cards centering */
    .services-grid,
    .v-grid {
        text-align: center;
    }

    .service-card,
    .v-card {
        text-align: center;
    }

    .service-card h2,
    .service-card h3,
    .v-card h3 {
        text-align: center;
    }

    .service-card p,
    .v-card p {
        text-align: center;
    }

    .service-card>div,
    .v-card-body {
        text-align: center;
    }

    /* Why-us section centering */
    .why-us-grid {
        text-align: center !important;
    }

    .why-us-grid .grid-3 {
        text-align: center !important;
    }

    .why-us-grid .reason {
        text-align: center !important;
    }

    .why-us-grid .reason h3,
    .why-us-grid .reason p {
        text-align: center !important;
    }

    /* Generic flex container centering on mobile */
    .container>div[style*="display: flex"] {
        justify-content: center !important;
        flex-wrap: wrap;
    }
}

/* ========================================
   Contact Map - Expandable Feature
   ======================================== */

/* Map trigger link - subtle, premium styling */
.map-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    padding: 8px 0;
    margin: 8px 0 0 40px;
    cursor: pointer;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.map-trigger:hover {
    color: var(--accent-gold);
}

/* Expandable map container - hidden by default */
.map-container {
    display: none;
    margin: 16px 0 16px 40px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
}

.map-container.is-visible {
    display: block;
    opacity: 1;
    max-height: 350px;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}

.map-iframe {
    display: block;
    width: 100%;
    height: 250px;
    border: none;
    filter: grayscale(20%) brightness(0.9);
}

.map-directions-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 12px 0 4px 0;
    transition: color var(--transition-fast);
}

.map-directions-link:hover {
    color: var(--accent-gold-hover);
}

/* Microcopy styling */
.contact-microcopy {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    margin: 12px 0 20px 40px;
    padding-left: 0;
    border-left: none;
    line-height: 1.5;
}

/* Mobile bottom-sheet modal */
.map-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-modal-overlay.is-visible {
    display: block;
    opacity: 1;
}

.map-modal {
    display: none;
    position: fixed;
    top: 50%;
    /* Center vertical */
    left: 50%;
    /* Center horizontal */
    right: auto;
    bottom: auto;
    width: 90%;
    /* Responsive width */
    max-width: 400px;
    z-index: 9999;
    background: var(--bg-secondary);
    border-radius: 20px;
    /* Rounded corners */
    border: 1px solid var(--border-color);
    padding: 20px;
    transform: translate(-50%, -50%) !important;
    /* Center and force override slide up */
    max-height: 80vh;
}

.map-modal.is-visible {
    display: block !important;
    transform: translate(-50%, -50%) !important;
    /* Keep centered */
}

.map-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.map-modal-header span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.map-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-modal-close:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.map-modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.map-modal-content iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: none;
    filter: grayscale(20%) brightness(0.9);
}

.map-modal .map-directions-link {
    display: block;
    text-align: center;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-weight: 600;
}

/* Desktop: hide modal elements */
@media (min-width: 769px) {

    .map-modal-overlay,
    .map-modal {
        display: none !important;
    }
}

/* Video Showcase - mobile full width */
@media (max-width: 768px) {
    .video-showcase-section {
        padding: 16px 0 0 0 !important;
    }
    .video-showcase-section .container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    .video-showcase-section h2 {
        padding: 0 16px;
        font-size: 1.4rem !important;
        margin-bottom: 12px !important;
    }
    .video-showcase-section .section-subtitle,
    .video-showcase-section p {
        display: none !important;
    }
    .video-showcase-section div[style*="padding-bottom"] {
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        padding-bottom: 65% !important;
    }
    .video-showcase-section iframe {
        transform: scale(1.35);
        transform-origin: center center;
    }
}

/* Mobile: hide desktop map, show modal */
@media (max-width: 768px) {
    .map-container {
        display: none !important;
    }

    .map-trigger {
        margin-left: 0;
        justify-content: center;
    }

    .contact-microcopy {
        margin-left: 0;
        text-align: center;
    }
}

/* ========================================
   Blog - Call to Action (CTA) Enhancements
   ======================================== */
.cta-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(204, 164, 102, 0.2);
    /* Gold trace */
    border-radius: 12px;
    padding: 32px;
    margin: 40px 0;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.5;
}

.cta-title {
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
}

.cta-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.05rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Gold Button Style */
.btn--gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #cca466 0%, #e5c08a 100%);
    color: #000 !important;
    /* Force black text for readability */
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(204, 164, 102, 0.2);
}

.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 164, 102, 0.4);
    background: linear-gradient(135deg, #e5c08a 0%, #cca466 100%);
    color: #000 !important;
}

/* Fix for the low-contrast lists in articles */
.article-detail-content ul li {
    color: #fff !important;
    /* Ensure white text on dark background */
    opacity: 1 !important;
    margin-bottom: 10px;
    line-height: 1.6;
}

.article-detail-content ul li strong {
    color: #cca466 !important;
    /* Highlights in gold */
}

.btn--gold:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(204, 164, 102, 0.3);
}

/* Dark variant */
.cta-box--dark {
    background: rgba(15, 17, 21, 0.8);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Article Link Highlighting (CTA Fix) */
.article-detail-content a {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color var(--transition-fast);
}

.article-detail-content a:hover {
    color: var(--accent-gold-hover);
    text-decoration-color: transparent;
}

/* Legacy CTA compatibility in migrated blog posts:
   ensure primary CTA heading/button stay visible on dark article theme. */
.article-detail-content .cta-box--primary .cta-box__title {
    color: var(--accent-gold) !important;
}

.article-detail-content .cta-box--primary .btn--gold {
    background: #111 !important;
    color: var(--accent-gold) !important;
    border: 1px solid var(--accent-gold) !important;
}
