:root {
    --bg-body: #FAF6F4;
    --bg-surface: #FFFFFF;
    --bg-card: #F3EAE6;
    --accent: #C45345;
    --accent-hover: #873027;
    --accent-light: #E57869;
    --text-main: #26100E;
    --text-muted: #6E5450;
    --border-color: #E7D8D3;
    --badge-bg: rgba(196, 83, 69, 0.12);
    --transition: all 0.25s ease;
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* HEADER & BURGER MENU */
header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(145deg, #FCE3DC 0%, #F29E8E 45%, #C45345 100%);
    border: 1px solid #E7D8D3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(135, 48, 39, 0.14);
    flex-shrink: 0;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
    line-height: 1.15;
}

.logo-text span {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn {
    background-color: var(--accent);
    color: #FFFFFF;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

.btn-secondary {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: var(--bg-card);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

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

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
}

.burger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* HERO & HIGHLIGHTS (INDEX) */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    background: radial-gradient(circle at 70% 20%, rgba(196, 91, 75, 0.08) 0%, transparent 52%);
    text-align: center;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.highlights {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
    min-width: 0;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(158, 66, 55, 0.08);
}

.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.card-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}

.card-link:hover {
    color: var(--accent-hover);
}

/* MAIN CONTENT & CATALOG */
.main-content {
    padding-top: 140px;
    padding-bottom: 100px;
}

.page-header {
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-muted);
}

.filter-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--badge-bg);
    border-color: var(--accent);
    color: var(--accent);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.property-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.property-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(38, 37, 34, 0.14);
}

.property-image {
    height: 180px;
    background: var(--bg-card);
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.property-badge {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(196, 91, 75, 0.25);
}

.property-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-address {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.property-title {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.property-features {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.feature-item {
    font-size: 13px;
    color: var(--text-muted);
}

.feature-item strong {
    color: var(--text-main);
    display: block;
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.property-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 12px;
}

.property-price {
    font-size: 17px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.property-price span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
}

/* OBJECT & ROOM PAGES */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.back-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.object-header {
    margin-bottom: 32px;
}

.object-header h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.object-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.badge-inline {
    display: inline-block;
    background: var(--badge-bg);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
}

.object-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}

.gallery-container {
    margin-bottom: 24px;
}

.main-image-box {
    width: 100%;
    height: 400px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    color: var(--text-muted);
    font-size: 16px;
    text-align: center;
    padding: 20px;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.thumbnails-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.thumb-item {
    height: 80px;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 12px;
    padding: 6px;
    text-align: center;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: var(--accent);
    color: var(--text-main);
}

.specs-box,
.desc-box,
.rooms-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

.specs-box h3,
.desc-box h3,
.rooms-box h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
    gap: 16px;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row span:last-child {
    font-weight: 600;
    color: var(--text-main);
    text-align: right;
}

.spec-row span:first-child {
    color: var(--text-muted);
}

.desc-box p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.desc-box p:last-child {
    margin-bottom: 0;
}

.room-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.room-card:last-child {
    margin-bottom: 0;
}

.room-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.room-info h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.room-info p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.room-tag {
    display: inline-block;
    background: var(--badge-bg);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.room-tag.muted {
    background: rgba(110, 106, 99, 0.14);
    color: var(--text-muted);
}

.room-action {
    text-align: right;
    flex-shrink: 0;
}

.room-price {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-bottom: 10px;
    display: block;
}

.room-price-sub {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    font-weight: 400;
}

.sidebar-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: sticky;
    top: 110px;
}

.sidebar-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.sidebar-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.price-big {
    font-size: 28px;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--accent);
    margin-bottom: 20px;
}

.price-big span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
}

/* CONTACTS & FORMS */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.contact-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.contact-item {
    margin-bottom: 18px;
    font-size: 16px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item strong {
    color: var(--text-muted);
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.04em;
}

.contact-link {
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.contact-muted {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.contact-muted:last-child {
    margin-bottom: 0;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.booking-form.with-divider {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
    width: 100%;
}

.form-textarea {
    min-height: 96px;
    resize: vertical;
}

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

.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}

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

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

/* PRIVACY POLICY PAGE */
.policy-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
}

.policy-box h2 {
    font-size: 22px;
    margin-top: 24px;
    margin-bottom: 12px;
}

.policy-box h2:first-child {
    margin-top: 0;
}

.policy-box p,
.policy-box li {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 12px;
}

.policy-box ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

/* FOOTER */
footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--accent);
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

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

@media (max-width: 900px) {
    .object-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        position: static;
    }

    .hero h1 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .logo {
        gap: 9px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .logo-text {
        font-size: 14px;
        letter-spacing: 0.02em;
    }

    .logo-text span {
        font-size: 10px;
    }

    .burger-btn {
        display: inline-flex;
    }

    .header-cta {
        display: none;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        padding: 16px 24px 24px;
        z-index: 999;
        box-shadow: 0 16px 32px rgba(38, 37, 34, 0.22);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
    }

    .mobile-menu-cta {
        margin-top: 16px;
        width: 100%;
    }

    .grid-3,
    .property-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 72px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .main-content {
        padding-top: 116px;
        padding-bottom: 72px;
    }

    .main-image-box {
        height: 260px;
    }

    .thumbnails-grid,
    .thumbnails-grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .room-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .room-action {
        text-align: left;
        width: 100%;
    }

    .policy-box,
    .contact-card,
    .sidebar-card,
    .specs-box,
    .desc-box,
    .rooms-box {
        padding: 24px 20px;
    }
}

@media (min-width: 769px) {
    .mobile-menu-item {
        display: none;
    }
}

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

/* ENHANCED PHOTO GALLERY & LIGHTBOX */
.main-image-box.has-photo {
    height: 480px;
    cursor: zoom-in;
    user-select: none;
}

.gallery-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.42);
    transform: scale(1.12);
    z-index: 1;
    transition: background-image 0.25s ease;
}

.main-gallery-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.gallery-caption-bar {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.gallery-caption-badge {
    background: rgba(38, 37, 34, 0.86);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

.gallery-zoom-hint {
    background: rgba(38, 37, 34, 0.86);
    backdrop-filter: blur(8px);
    color: #F29E8E;
    border: 1px solid rgba(242, 158, 142, 0.28);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(38, 37, 34, 0.84);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-nav-btn:hover {
    border-color: #F29E8E;
    color: #F29E8E;
    background: rgba(38, 37, 34, 0.94);
}

.gallery-nav-btn.prev {
    left: 14px;
}

.gallery-nav-btn.next {
    right: 14px;
}

.thumbnails-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.thumb-item.thumb-photo {
    height: 104px;
    padding: 0;
    position: relative;
}

.thumb-item.thumb-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.thumb-item.thumb-photo:hover img {
    transform: scale(1.04);
}

.thumb-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 6px 10px;
    background: linear-gradient(180deg, rgba(38, 37, 34, 0) 0%, rgba(38, 37, 34, 0.88) 100%);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
}

/* LIGHTBOX MODAL */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(38, 37, 34, 0.94);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox-modal.open {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 92vw;
    max-height: 80vh;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 12px;
    color: #E4DFD5;
    font-size: 14px;
    text-align: center;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 768px) {
    .main-image-box.has-photo {
        height: 380px;
    }

    .gallery-zoom-hint {
        display: none;
    }

    .thumb-item.thumb-photo {
        height: 88px;
    }
}

/* BUILDING CARD FACADE IMAGE (RESPONSIVE) */
.property-image.has-photo {
    height: auto;
    aspect-ratio: 16 / 10;
    min-height: 180px;
    max-height: 240px;
    padding: 0;
    overflow: hidden;
    background: var(--bg-card);
}

.property-image.has-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image.has-photo img {
    transform: scale(1.04);
}

.property-image.has-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(38, 37, 34, 0.04) 35%, rgba(38, 37, 34, 0.82) 100%);
    pointer-events: none;
    z-index: 1;
}

.property-image.has-photo .property-badge {
    position: relative;
    z-index: 2;
    margin: 16px;
}

@media (max-width: 768px) {
    .property-image.has-photo {
        aspect-ratio: 3 / 2;
        min-height: 190px;
        max-height: 260px;
    }
}