/* ============================================
   Emlak Sistemi - Ana Stil Dosyası
   Tasarımdaki TailwindCSS sınıflarının vanilla CSS karşılıkları
   ============================================ */

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f9fafb;
    color: #111827;
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* ---- Colors ---- */
:root {
    --red-600: #dc2626;
    --red-700: #b91c1c;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --orange-100: #ffedd5;
    --orange-800: #9a3412;
    --yellow-100: #fef9c3;
    --yellow-800: #854d0e;
    --blue-600: #2563eb;
    --blue-800: #1e40af;
    --blue-50: #eff6ff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ---- Layout Utilities ---- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow-x: hidden;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   CURRENCY BAR
   ============================================ */
.currency-bar {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.currency-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6px 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.currency-rates-ticker {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.currency-rate-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
}
.currency-flag {
    font-weight: 700;
    color: #f1f5f9;
    font-size: 0.85rem;
}
.currency-code {
    font-weight: 600;
    color: #94a3b8;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
}
.currency-value {
    font-weight: 700;
    color: #22d3ee;
    font-size: 0.82rem;
}
.currency-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.currency-selector-label {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 500;
    white-space: nowrap;
}
.currency-selector select {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.currency-selector select:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.25);
}
.currency-selector select option {
    background: #1e293b;
    color: #f1f5f9;
}
@media (max-width: 640px) {
    .currency-bar-inner {
        padding: 5px 1rem;
        flex-wrap: nowrap;
        gap: 8px;
    }
    .currency-rates-ticker {
        gap: 10px;
        overflow: hidden;
        flex: 1;
        min-width: 0;
    }
    .currency-rate-item {
        flex-shrink: 0;
    }
    .currency-selector-label {
        display: none;
    }
    .currency-selector select {
        padding: 3px 6px;
        font-size: 0.7rem;
    }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .header-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .header-container {
        padding: 0 2rem;
    }
}

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

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    background: var(--red-600);
    color: var(--white);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-accent {
    color: var(--red-600);
}

/* Navigation */
.header-nav {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
    }
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    color: var(--gray-700);
    transition: background-color 0.15s, color 0.15s;
    font-weight: 500;
    font-size: 0.9375rem;
}

.nav-link:hover {
    background: var(--gray-100);
}

.nav-link-active {
    background: var(--red-600) !important;
    color: var(--white) !important;
}

/* Header Actions */
.header-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .header-actions {
        display: flex;
    }
}

.header-icon-btn {
    color: var(--gray-700);
    transition: color 0.15s;
    font-size: 1.125rem;
    padding: 0.25rem;
}

.header-icon-btn:hover {
    color: var(--red-600);
}

.btn-admin {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    background: var(--gray-100);
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.875rem;
    transition: background-color 0.15s;
}

.btn-admin:hover {
    background: var(--gray-200);
}

.btn-admin-active {
    background: var(--red-600) !important;
    color: var(--white) !important;
}

.btn-primary {
    background: var(--red-600);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.15s;
    font-size: 0.9375rem;
}

.btn-primary:hover {
    background: var(--red-700);
}

/* Mobile Menu — Offcanvas Drawer */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    color: var(--gray-700);
    font-size: 1.5rem;
    transition: color 0.15s;
}

.mobile-menu-btn:hover {
    color: var(--red-600);
}

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

/* Overlay (arka plan) */
.mob-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.48);
    z-index: 9998;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.mob-overlay.active { display: block; }

/* Offcanvas Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 88vw;
    height: 100dvh;
    background: #fff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -6px 0 40px rgba(0,0,0,.18);
}
.mobile-menu.active { transform: translateX(0); }

/* Panel başlığı */
.mob-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}
.mob-logo { text-decoration: none; }
.mob-logo img { height: 38px; object-fit: contain; }
.mob-close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    background: #fff;
    transition: all .2s;
    flex-shrink: 0;
}
.mob-close:hover { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }

/* Nav linkleri */
.mob-nav {
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    gap: 2px;
}
.mob-nav-link {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all .15s;
    position: relative;
}
.mob-nav-link:hover { background: #f8fafc; color: #dc2626; }
.mob-nav-link.mob-nav-active { background: #fef2f2; color: #dc2626; font-weight: 600; }
.mob-nav-link svg { flex-shrink: 0; opacity: .65; }
.mob-nav-link.mob-nav-active svg,
.mob-nav-link:hover svg { opacity: 1; }
.mob-fav-badge {
    margin-left: auto;
    background: #dc2626;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 20px;
}

/* Bölüç */
.mob-divider { height: 1px; background: #f1f5f9; margin: 2px 0; flex-shrink: 0; }

/* Bölüm */
.mob-section { padding: 14px 20px; }
.mob-section-label {
    font-size: .68rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 10px;
}

/* Dil butonları */
.mob-lang {
    display: flex;
    gap: 8px;
}
.mob-lang-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    font-size: .82rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: all .2s;
}
.mob-lang-btn:hover { border-color: #dc2626; color: #dc2626; background: #fef2f2; }
.mob-lang-btn.mob-lang-active { background: #dc2626; color: #fff; border-color: #dc2626; }

/* Sosyal butonlar */
.mob-social {
    display: flex;
    gap: 8px;
}
.mob-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}
.mob-instagram {
    background: linear-gradient(135deg,#f8f4ff,#fff4f4);
    color: #c13584;
    border: 1.5px solid #e9d5f9;
}
.mob-instagram:hover { box-shadow: 0 3px 12px rgba(193,53,132,.18); transform: translateY(-1px); }
.mob-facebook {
    background: #eff6ff;
    color: #1877f2;
    border: 1.5px solid #dbeafe;
}
.mob-facebook:hover { box-shadow: 0 3px 12px rgba(24,119,242,.18); transform: translateY(-1px); }

/* Alt butonlar */
.mob-actions {
    margin-top: auto;
    padding: 16px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.breadcrumb-current {
    color: var(--gray-900);
    font-weight: 500;
}

/* ============================================
   PAGE TITLE SECTION
   ============================================ */
.page-title {
    margin-bottom: 1.5rem;
}

.page-title h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.page-title h1 .count {
    color: var(--red-600);
}

/* Tabs & Controls */
.controls-bar {
    display: flex;
    width: 100%;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .controls-bar {
        align-items: center;
    }
}

/* Responsive helpers */
.hide-mobile { display: inline; }
.show-mobile { display: none; }
@media (max-width: 639px) {
    .hide-mobile { display: none !important; }
    .show-mobile { display: inline !important; }
}

.tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.15s;
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
}

.tab-btn:hover {
    background: var(--gray-50);
}

.tab-btn-active {
    background: var(--red-600) !important;
    color: var(--white) !important;
    border-color: var(--red-600) !important;
}

.controls-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
    width: 100%;
}

@media (min-width: 640px) {
    .controls-right {
        gap: 1rem;
        width: 100%;
    }
}

.sort-select {
    padding: 0.7rem 2.25rem 0.7rem 0.9rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    background: var(--white);
    color: var(--gray-700);
    cursor: pointer;
    flex: 0 1 225px;
    min-width: 160px;
    height: 44px;
    order: 20;
    margin-left: auto;
}

@media (min-width: 640px) {
    .sort-select {
        flex: none;
    }
}

.sort-select:focus {
    border-color: var(--red-600);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.view-toggle {
    display: none;
    gap: 0;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    padding: 0.25rem;
    overflow: hidden;
    order: 10;
}

@media (min-width: 640px) {
    .view-toggle {
        display: flex;
    }
}

.view-toggle-btn {
    padding: 0.5rem;
    border-radius: 0.25rem;
    color: var(--gray-600);
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.view-toggle-btn:hover {
    background: var(--gray-100);
}

.view-toggle-btn.active {
    background: var(--red-600);
    color: var(--white);
}

.map-btns {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    order: 0;
    margin-right: auto;
}

.property-map-btn {
    min-width: 146px;
    height: 46px;
    padding: 0.55rem 1.15rem;
    border: 1px solid #dc2626;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    color: var(--white);
    box-shadow: 0 5px 14px rgba(220, 38, 38, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

/* Eski HTML tarayıcı önbelleğinden gelirse de harita butonunu doğru göster. */
.controls-right .map-btns .btn-outline {
    min-width: 146px;
    height: 46px;
    border-color: #dc2626;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    color: var(--white);
    box-shadow: 0 5px 14px rgba(220, 38, 38, 0.22);
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
}

.controls-right .map-btns .btn-outline:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: var(--white);
}

.property-map-btn:hover {
    color: var(--white);
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 8px 19px rgba(220, 38, 38, 0.3);
}

.property-map-btn:focus-visible {
    outline: 3px solid rgba(220, 38, 38, 0.28);
    outline-offset: 2px;
}

.property-map-btn .lucide-map {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    stroke-width: 2.25;
}

.btn-outline {
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    background: var(--white);
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.15s;
    white-space: nowrap;
}

@media (max-width: 639px) {
    .map-btns {
        gap: 0.35rem;
    }
    .property-map-btn {
        min-width: 122px;
        height: 43px;
        padding: 0.45rem 0.75rem;
        font-size: 0.85rem;
        gap: 0.45rem;
    }
    .cyprus-map-icon {
        width: 30px;
        height: 20px;
    }
    .sort-select {
        flex: 1 1 auto;
        min-width: 0;
        height: 43px;
        margin-left: auto;
    }
    .btn-outline i,
    .btn-outline svg {
        width: 16px;
        height: 16px;
    }
}

.btn-outline:hover {
    background: var(--gray-50);
}

/* ============================================
   MAIN LAYOUT (Sidebar + Content)
   ============================================ */
.main-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .main-layout {
        flex-direction: row;
    }
}

.sidebar {
    display: none;
    width: 320px;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .sidebar {
        display: block;
    }
}

.main-content {
    flex: 1;
    min-width: 0;
}

/* ============================================
   FILTER SIDEBAR
   ============================================ */
.filter-box {
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    position: sticky;
    top: 5rem;
}

.filter-box h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label.filter-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.filter-group .filter-label-sub {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
    display: block;
}

.filter-select,
.filter-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    background: var(--white);
    color: var(--gray-700);
}

.filter-select:focus,
.filter-input:focus {
    border-color: var(--red-600);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* Radio & Checkbox */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-types {
    max-height: 12rem;
    overflow-y: auto;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--red-600);
    cursor: pointer;
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-filter-search {
    width: 100%;
    padding: 0.75rem;
    background: var(--red-600);
    color: var(--white);
    border-radius: 0.375rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.15s;
}

.btn-filter-search:hover {
    background: var(--red-700);
}

.btn-filter-reset {
    width: 100%;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.15s;
}

.btn-filter-reset:hover {
    background: var(--gray-50);
}

/* ============================================
   PROPERTY CARD
   ============================================ */
.property-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (min-width: 1400px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


.property-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.property-card {
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: box-shadow 0.3s;
}

.property-card:hover {
    box-shadow: var(--shadow-xl);
}

.card-image {
    position: relative;
    display: block;
    height: 15rem;
    overflow: hidden;
    background: var(--gray-100);
}

/* List view: horizontal card layout with smaller image */
.property-list .property-card {
    display: flex;
    flex-direction: row;
}

.property-list .card-image {
    width: 420px;
    min-width: 420px;
    height: auto;
    min-height: 280px;
    align-self: stretch;
}

.property-list .card-body {
    flex: 1;
}

@media (max-width: 600px) {
    .property-list .property-card {
        flex-direction: column;
    }

    .property-list .card-image {
        width: 100%;
        min-width: unset;
        height: 10rem;
    }

    .card-body {
        padding: 0.75rem;
    }

    .card-price-row {
        gap: 0.4rem;
        margin-bottom: 0.5rem;
    }

    .card-price {
        font-size: 1rem;
        padding: 0.2rem 0.6rem;
    }

    .card-location-badge {
        font-size: 0.55rem;
        padding: 2px 6px;
    }

    .card-title {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .card-detail-badge {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .card-details {
        gap: 0.35rem;
        margin-bottom: 0.65rem;
        padding-bottom: 0.65rem;
    }

    .card-details-row {
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-bottom: 0.65rem;
        padding-bottom: 0.65rem;
    }

    .card-details-row .delivery-badge {
        font-size: 0.62rem;
        padding: 0.2rem 0.45rem;
    }

    .card-actions {
        gap: 0.4rem;
    }

    .btn-card {
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
    }
}

.property-grid .card-image {
    height: 220px;
    max-height: 220px;
}

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

.card-image .placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ee 0%, #c9d6e3 100%);
    color: var(--gray-400);
    font-size: 3rem;
}

.badge-status {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--white);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.15);
}

.badge-icon {
    font-size: 0.85rem;
    line-height: 1;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}

/* Süper Öne Çıkan - Altın gradient + parlama */
.badge-super {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
    animation: badge-shimmer 3s ease-in-out infinite;
}

/* Öne Çıkan - Mavi gradient + hafif glow */
.badge-one {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
    animation: badge-shimmer 3s ease-in-out infinite;
}

/* Acil Satılık - Kırmızı ateş + pulse glow */
.badge-urgent {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.6), inset 0 1px 0 rgba(255,255,255,0.15);
    animation: badge-pulse-urgent 2s ease-in-out infinite;
}

/* Bugün Satılık - Mor elektrik + flash */
.badge-today {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.55), inset 0 1px 0 rgba(255,255,255,0.2);
    animation: badge-pulse-today 2.5s ease-in-out infinite;
}

/* Animasyonlar */
@keyframes badge-pulse-urgent {
    0%, 100% {
        box-shadow: 0 2px 12px rgba(239, 68, 68, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 20px rgba(239, 68, 68, 0.8), 0 0 30px rgba(239, 68, 68, 0.3);
        transform: scale(1.03);
    }
}

@keyframes badge-pulse-today {
    0%, 100% {
        box-shadow: 0 2px 12px rgba(139, 92, 246, 0.55);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 18px rgba(139, 92, 246, 0.75), 0 0 25px rgba(139, 92, 246, 0.25);
        transform: scale(1.02);
    }
}

@keyframes badge-shimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.15);
    }
}

.btn-favorite,
.btn-compare {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-compare {
    top: 56px;
}

.btn-favorite:hover,
.btn-compare:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-favorite:hover {
    color: #ef4444;
}

.btn-compare:hover {
    color: #3b82f6;
}

.btn-favorite i,
.btn-favorite svg,
.btn-compare i,
.btn-compare svg {
    width: 18px;
    height: 18px;
}

.btn-compare.is-comparing {
    background: rgba(59, 130, 246, 0.9);
    color: #fff;
}

.btn-compare.is-comparing i,
.btn-compare.is-comparing svg {
    color: #fff;
}

/* ─── Satıldı Badge ─── */
.badge-sold {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* ─── Satıldı Çapraz Damga ─── */
.sold-diagonal-stamp {
    position: absolute;
    inset: 0;
    z-index: 15;
    overflow: hidden;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.35);
}

.sold-diagonal-stamp span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-35deg);
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 0.4rem 2.5rem;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.6);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.3);
    width: 140%;
    text-align: center;
}

.property-card-sold {
    opacity: 0.92;
    position: relative;
}

.property-card-sold .card-body {
    background: #f8faf8;
}

.property-card-sold .card-price {
    display: none;
}
.card-price-sold {
    font-size: 1rem;
    font-weight: 700;
    color: #16a34a;
    background: #dcfce7;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid #bbf7d0;
}
.detail-price-sold {
    font-size: 1.4rem;
    font-weight: 700;
    color: #16a34a;
    background: #dcfce7;
    padding: 6px 20px;
    border-radius: 24px;
    border: 1px solid #bbf7d0;
}
.compare-sold-label {
    font-weight: 700;
    color: #16a34a;
}

/* Satıldı bilgi barı (kart alt kısmı) */
.sold-info-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 0.6rem 0.8rem;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    color: #065f46;
    font-weight: 600;
    font-size: 0.82rem;
}

.sold-info-bar .sold-date {
    margin-left: auto;
    font-weight: 500;
    font-size: 0.75rem;
    color: #047857;
}

/* ─── Satılan Evler Carousel ─── */
.sold-carousel {
    margin: 1.25rem 0 1.5rem;
}

.sold-carousel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #dc2626 0%, #b91c1c 100%);
    padding: 0.55rem 1.25rem;
    margin: 0 0 0.75rem;
    border-radius: 4px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(185,28,28,0.25);
    width: 100%;
    box-sizing: border-box;
}

.sold-carousel-title i {
    width: 16px;
    height: 16px;
    color: #fff;
    flex-shrink: 0;
}

.sold-carousel-track {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.sold-carousel-track::-webkit-scrollbar {
    height: 4px;
}

.sold-carousel-track::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
}

.sold-carousel-track::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 2px;
}

.sold-card {
    flex: 0 0 160px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
    scroll-snap-align: start;
}

.sold-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sold-card-img {
    position: relative;
    height: 100px;
    overflow: hidden;
    background: #f1f5f9;
}

.sold-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(25%);
}

.sold-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}

.sold-card-stamp {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
    background: rgba(0, 0, 0, 0.35);
}

.sold-card-stamp span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-35deg);
    background: linear-gradient(135deg, #ef444491 0%, #dc2626 50%, #b91c1cc7 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0.2rem 2rem;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(220, 38, 38, 0.6);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    border: 1.5px solid rgba(255,255,255,0.3);
    width: 160%;
    text-align: center;
}

.sold-card-info {
    padding: 0.45rem 0.55rem;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sold-card-price {
    font-weight: 700;
    font-size: 0.78rem;
    color: #64748b;
    text-decoration: line-through;
}

.sold-card-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sold-card-loc {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.65rem;
    color: #94a3b8;
}

.sold-card-loc i {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .sold-card {
        flex: 0 0 140px;
    }
    .sold-card-img {
        height: 85px;
    }
}

.card-agency {
    position: absolute;
    top: 0.75rem;
    right: 3.5rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 10;
}

.card-body {
    padding: 1rem;
}

.card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    background-color: var(--red-600);
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

/* TL karşılığı (parantez içi) */
.price-try-equiv {
    font-size: 0.72em;
    font-weight: 500;
    opacity: 0.85;
    white-space: nowrap;
}

/* Verified stamp on card image */
.card-verified-stamp {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(29, 155, 240, 0.9);
    backdrop-filter: blur(4px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(29, 155, 240, 0.35);
}

.card-verified-stamp i,
.card-verified-stamp svg {
    width: 1.5rem !important;
    height: 1.5rem !important;
}

/* Shift favorite & compare down when verified exists */
.card-verified-stamp ~ .btn-favorite {
    top: 56px;
}

.card-verified-stamp ~ .btn-favorite ~ .btn-compare {
    top: 100px;
}

/* Delivery badge overlay on card image */
.card-delivery-overlay {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 5;
}

.card-delivery-overlay .delivery-badge {
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-location {
    display: flex;
    align-items: center;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    gap: 0.3rem;
}

.card-location-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.5), inset 0 1px 0 rgba(255,255,255,0.15);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.card-location-row {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
}

.card-location-badge i,
.card-location-badge svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px;
    flex-shrink: 0;
    stroke-width: 3.5 !important;
}

.card-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.8rem;
}

.card-detail-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--gray-600);
}

.card-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--red-600);
    color: var(--white);
    padding: 0.4rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.3;
}

.card-detail-badge [data-lucide] {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    stroke: var(--white);
}

/* Kalabalik detay satirlarini tek satirda ve okunakli tut */
.card-details:has(.card-detail-badge:nth-child(5)) {
    flex-wrap: nowrap;
    gap: 0.25rem;
}

.card-details:has(.card-detail-badge:nth-child(5)) .card-detail-badge {
    gap: 0.2rem;
    padding: 0.3rem 0.4rem;
    font-size: 0.72rem;
}

/* Teslim Durumu Badge - Resmin altında */
.card-details-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.card-details-row .card-details {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.card-delivery {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    display: flex;
    justify-content: flex-start;
}

.delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 0.375rem;
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.delivery-badge [data-lucide] {
    width: 0.9em;
    height: 0.9em;
    flex-shrink: 0;
}

.delivery-completed {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
}

.delivery-construction {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
}

.delivery-planning {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
}

/* Özel Etiket Badge'leri - Fiyat yanı */
.card-special-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
}

.special-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
    white-space: nowrap;
    line-height: 1.2;
}

.special-tag-badge [data-lucide] {
    width: 0.8em;
    height: 0.8em;
    flex-shrink: 0;
}

.tag-exclusive {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.5);
}

.tag-credit {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.5);
}

.tag-special {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.5);
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-card {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s;
}

.btn-card-outline {
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-card-outline:hover {
    background: var(--gray-50);
}

.btn-card-primary {
    background: var(--red-600);
    color: var(--white);
}

.btn-card-primary:hover {
    background: var(--red-700);
}

.btn-card-whatsapp {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

.btn-card-whatsapp:hover {
    background: #1fb855;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    padding: 3rem;
    text-align: center;
}

.empty-state p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

.empty-state .btn-primary {
    margin-top: 1rem;
    display: inline-block;
}

/* ============================================
   LOAD MORE
   ============================================ */
.load-more {
    margin-top: 2rem;
    text-align: center;
}

.btn-load-more {
    padding: 0.75rem 2rem;
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.15s;
}

.btn-load-more:hover {
    background: var(--gray-50);
}

/* ============================================
   MOBILE FILTER BUTTON (Fixed Bottom)
   ============================================ */
.mobile-filter-btn {
    display: block;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 5rem;
    z-index: 40;
    background: var(--red-600);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.mobile-filter-btn:hover {
    background: var(--red-700);
}

@media (min-width: 1024px) {
    .mobile-filter-btn {
        display: none;
    }
}

/* Mobile Filter Overlay */
.mobile-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 45;
}

.mobile-filter-overlay.active {
    display: block;
}

.mobile-filter-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85vh;
    background: var(--white);
    border-radius: 1rem 1rem 0 0;
    box-shadow: var(--shadow-xl);
    z-index: 46;
    overflow-y: auto;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-filter-panel.active {
    transform: translateY(0);
}

.mobile-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.mobile-filter-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
}

.mobile-filter-close {
    font-size: 1.5rem;
    color: var(--gray-500);
}

/* Mobile filter panel form styling */
#mobileFilterContent form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#mobileFilterContent .filter-section {
    padding: 0;
    border: none;
    margin-bottom: 0;
}

#mobileFilterContent .filter-group {
    margin-bottom: 0.5rem;
}

#mobileFilterContent .filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

#mobileFilterContent .advanced-filters {
    display: block !important;
}

#mobileFilterContent .filter-actions {
    position: sticky;
    bottom: 0;
    background: var(--white);
    padding: 0.75rem 0 0;
    border-top: 1px solid var(--gray-200);
    margin-top: 0.5rem;
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .admin-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.admin-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-header h1 i {
    color: var(--red-600);
    font-size: 2rem;
}

.admin-header p {
    color: var(--gray-600);
    margin-top: 0.25rem;
}

.btn-add {
    background: var(--red-600);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: background-color 0.15s;
    white-space: nowrap;
}

.btn-add:hover {
    background: var(--red-700);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.stat-card .stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-card .stat-value.red {
    color: var(--red-600);
}

.stat-card .stat-value.orange {
    color: var(--orange-500);
}

/* Table */
.table-wrapper {
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.table-scroll {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.admin-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table th.text-center {
    text-align: center;
}

.admin-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.admin-table tbody tr:hover {
    background: var(--gray-50);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.table-property {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.table-thumb {
    width: 64px;
    height: 64px;
    border-radius: 0.375rem;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-100);
}

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

.table-property-name {
    font-weight: 600;
    color: var(--gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.table-property-type {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.badge {
    display: inline-flex;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

.badge-orange {
    background: var(--orange-100);
    color: var(--orange-800);
}

.badge-yellow {
    background: var(--yellow-100);
    color: var(--yellow-800);
}

.badge-gray {
    background: var(--gray-100);
    color: var(--gray-800);
}

.table-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-action {
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.15s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-action-edit {
    color: var(--blue-600);
}

.btn-action-edit:hover {
    color: var(--blue-800);
    background: var(--blue-50);
}

.btn-action-delete {
    color: var(--red-600);
}

.btn-action-delete:hover {
    color: var(--red-700);
    background: #fef2f2;
}

.table-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--gray-500);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 50;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    max-width: 56rem;
    width: 100%;
    margin: 2rem auto;
    max-height: calc(100vh - 4rem);
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.modal-close {
    color: var(--gray-400);
    font-size: 1.5rem;
    transition: color 0.15s;
}

.modal-close:hover {
    color: var(--gray-600);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    font-size: 0.9375rem;
    background: var(--white);
    color: var(--gray-900);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--red-600);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

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

.form-row {
    display: flex;
    gap: 0.5rem;
}

.form-row .form-input,
.form-row .form-select {
    flex: 1;
}

/* Image Preview */
.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
}

@media (min-width: 768px) {
    .image-preview-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.image-preview-item {
    position: relative;
}

.image-preview-item img {
    width: 100%;
    height: 96px;
    object-fit: cover;
    border-radius: 0.375rem;
}

.image-remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: var(--red-600);
    color: var(--white);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.15s;
}

.image-preview-item:hover .image-remove-btn {
    opacity: 1;
}

/* Feature Tags */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.feature-tag-remove {
    color: var(--gray-500);
    transition: color 0.15s;
    font-size: 0.75rem;
    display: flex;
}

.feature-tag-remove:hover {
    color: var(--red-600);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.btn-form-submit {
    flex: 1;
    padding: 0.75rem;
    background: var(--red-600);
    color: var(--white);
    border-radius: 0.375rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.15s;
}

.btn-form-submit:hover {
    background: var(--red-700);
}

.btn-form-cancel {
    flex: 1;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.15s;
}

.btn-form-cancel:hover {
    background: var(--gray-50);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-sm {
    font-size: 0.875rem;
}

.text-center {
    text-align: center;
}

.font-semibold {
    font-weight: 600;
}

.text-gray-500 {
    color: var(--gray-500);
}

.text-gray-600 {
    color: var(--gray-600);
}

.text-gray-900 {
    color: var(--gray-900);
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.hidden {
    display: none !important;
}

/* Lucide SVG icon sizing */
[data-lucide] {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
}

.header-icon-btn [data-lucide],
.logo-icon [data-lucide] {
    width: 1.25em;
    height: 1.25em;
}

.mobile-menu-btn [data-lucide] {
    width: 1.5em;
    height: 1.5em;
}

.card-detail-item [data-lucide],
.card-location [data-lucide] {
    width: 0.875em;
    height: 0.875em;
    flex-shrink: 0;
}

.card-detail-badge [data-lucide] {
    width: 0.85em;
    height: 0.85em;
    flex-shrink: 0;
    stroke: #fff;
}

.placeholder-img [data-lucide] {
    width: 3rem;
    height: 3rem;
}

.admin-header h1 [data-lucide] {
    width: 2rem;
    height: 2rem;
}

.btn-add [data-lucide],
.btn-admin [data-lucide],
.btn-filter-search [data-lucide],
.btn-card [data-lucide] {
    width: 1.125em;
    height: 1.125em;
}

/* ============================================
   SPINNER / LOADING
   ============================================ */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-top-color: var(--red-600);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   TOAST / NOTIFICATION
   ============================================ */
.toast-container {
    position: fixed;
    top: 5rem;
    right: 1rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    animation: slideIn 0.3s ease;
    border-left: 4px solid var(--green-600, #16a34a);
}

.toast.error {
    border-left-color: var(--red-600);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* File Upload Area */
.upload-area {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.5rem;
}

.upload-area input[type="file"] {
    flex: 1;
    font-size: 0.875rem;
}

.btn-upload {
    padding: 0.5rem 1rem;
    background: var(--gray-600);
    color: var(--white);
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: background-color 0.15s;
}

.btn-upload:hover {
    background: var(--gray-700);
}

/* ============================================
   HEADER CONTACT & WHATSAPP BUTTONS
   ============================================ */
.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    background: #25D366;
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1fb855;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
}

.btn-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    background: var(--red-600);
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}

.btn-contact:hover {
    background: var(--red-700);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    transform: translateY(-1px);
}
.btn-contact.btn-contact-active {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .18), 0 4px 12px rgba(220, 38, 38, .35);
}

/* ============================================
   PROPERTY PREVIEW MODAL
   ============================================ */
.preview-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 20px;
}

.preview-modal-overlay.active {
    display: flex;
}

.preview-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: previewSlideIn 0.3s ease;
}

@keyframes previewSlideIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.preview-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.preview-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.preview-modal-close i {
    width: 20px;
    height: 20px;
}

/* Loading */
.preview-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.preview-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--red-600);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Content layout */
.preview-content {
    display: flex;
    max-height: 90vh;
}

/* Gallery side */
.preview-gallery {
    width: 55%;
    background: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    flex-shrink: 0;
}

.preview-gallery-main {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 350px;
}

.preview-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-gallery-prev,
.preview-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 5;
}

.preview-gallery-prev { left: 10px; }
.preview-gallery-next { right: 10px; }

.preview-gallery-prev:hover,
.preview-gallery-next:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: #fff;
}

.preview-gallery-prev i,
.preview-gallery-next i {
    width: 20px;
    height: 20px;
}

.preview-gallery-counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.preview-gallery-thumbs {
    display: flex;
    gap: 4px;
    padding: 6px;
    background: #111;
    overflow-x: auto;
    flex-shrink: 0;
}

.preview-gallery-thumbs img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.preview-gallery-thumbs img.active,
.preview-gallery-thumbs img:hover {
    opacity: 1;
    border-color: var(--red-600);
}

/* Info side */
.preview-info {
    width: 45%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.preview-info-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.preview-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    line-height: 1.4;
}

.preview-location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.preview-location i {
    width: 14px;
    height: 14px;
    color: var(--red-600);
}

.preview-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--red-600);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

/* Specs grid */
.preview-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 12px;
}

.preview-spec-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 5px 6px;
    text-align: center;
}

.preview-spec-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    display: block;
    line-height: 1.2;
}

.preview-spec-label {
    font-size: 0.6rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

/* Description */
.preview-description {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Contact section */
.preview-contact-section {
    margin-bottom: 16px;
}

.preview-contact-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.preview-contact-title i {
    width: 18px;
    height: 18px;
    color: var(--red-600);
}

/* Phone cards */
.preview-phones {
    display: flex;
    flex-direction: row;
    gap: 6px;
    margin-bottom: 10px;
}

.preview-phone-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.2s;
    flex: 1;
    min-width: 0;
}

.preview-phone-card:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.preview-phone-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--red-600);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.preview-phone-icon i {
    width: 14px;
    height: 14px;
}

.preview-phone-info {
    flex: 1;
    min-width: 0;
}

.preview-phone-label {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 500;
}

.preview-phone-number {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Buttons */
.preview-contact-btns {
    margin-bottom: 16px;
}

.preview-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.preview-btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.preview-btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* Inline form */
.preview-form-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}

.preview-form-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.preview-form-title i {
    width: 16px;
    height: 16px;
    color: #3b82f6;
}

.preview-form-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.preview-form-section input,
.preview-form-section textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.82rem;
    background: #fff;
    transition: border-color 0.2s;
}

.preview-form-section input:focus,
.preview-form-section textarea:focus {
    outline: none;
    border-color: var(--red-600);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

.preview-form-section textarea {
    resize: vertical;
    margin-bottom: 8px;
}

.preview-btn-submit {
    background: var(--red-600);
    color: #fff;
    margin-top: 4px;
}

.preview-btn-submit:hover {
    background: var(--red-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.preview-btn-submit i {
    width: 16px;
    height: 16px;
}

/* Detail link */
.preview-detail-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    color: var(--red-600);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid var(--red-600);
    border-radius: 10px;
    transition: all 0.2s;
}

.preview-detail-link:hover {
    background: var(--red-600);
    color: #fff;
}

.preview-detail-link i {
    width: 16px;
    height: 16px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .preview-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .preview-modal {
        max-height: 95vh;
        border-radius: 16px 16px 0 0;
        max-width: 100%;
    }

    .preview-content {
        flex-direction: column;
        max-height: 95vh;
    }

    .preview-gallery {
        width: 100%;
        max-height: 250px;
    }

    .preview-gallery-main {
        min-height: 200px;
    }

    .preview-gallery-thumbs {
        display: none;
    }

    .preview-info {
        width: 100%;
    }

    .preview-info-scroll {
        padding: 16px;
        max-height: calc(95vh - 250px);
    }

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

    .preview-phones {
        flex-direction: column;
    }

    .preview-form-row {
        flex-direction: column;
        gap: 6px;
    }

    .preview-title {
        font-size: 1.05rem;
    }

    .preview-price {
        font-size: 1.25rem;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
}

/* ============================================
   CONTACT MODAL
   ============================================ */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.contact-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 0, 0, 0.1);
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-modal-overlay.active .contact-modal {
    transform: translateY(0) scale(1);
}

.contact-modal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1.5rem 0;
    position: relative;
}

.contact-modal-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--red-600), #ef4444);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-modal-header-icon svg {
    width: 24px;
    height: 24px;
}

.contact-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.contact-modal-subtitle {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

.contact-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all 0.15s;
}

.contact-modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

/* Contact Form */
#contactForm {
    padding: 1.25rem 1.5rem 1.5rem;
}

.contact-form-section {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 0.75rem;
    border: 1px solid var(--gray-100);
}

.contact-form-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.contact-form-section-title svg {
    width: 16px;
    height: 16px;
    color: var(--red-600);
}

.required-badge {
    font-size: 0.625rem;
    background: var(--red-600);
    color: var(--white);
    padding: 0.125rem 0.5rem;
    border-radius: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-left: auto;
}

.optional-badge {
    font-size: 0.625rem;
    background: var(--gray-300);
    color: var(--gray-700);
    padding: 0.125rem 0.5rem;
    border-radius: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-left: auto;
}

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

@media (max-width: 480px) {
    .contact-form-row {
        grid-template-columns: 1fr;
    }
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background: var(--white);
    color: var(--gray-800);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    border-color: var(--red-600);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
    color: var(--gray-400);
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 0.5rem;
}

.btn-contact-cancel {
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.15s;
}

.btn-contact-cancel:hover {
    background: var(--gray-50);
}

.btn-contact-submit {
    padding: 0.625rem 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--red-600), #ef4444);
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.btn-contact-submit:hover {
    background: linear-gradient(135deg, #b91c1c, var(--red-600));
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
    transform: translateY(-1px);
}

.btn-contact-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-contact-submit svg {
    width: 16px;
    height: 16px;
}

/* Success State */
.contact-success {
    text-align: center;
    padding: 2rem 1rem;
}

.contact-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-success-icon svg {
    width: 32px;
    height: 32px;
}

.contact-success h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-success p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

/* Spin animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spin svg,
svg.spin {
    animation: spin 1s linear infinite;
}

/* Mobile contact buttons in mobile menu */
.mobile-nav .btn-whatsapp,
.mobile-nav .btn-contact {
    justify-content: center;
    padding: 0.75rem;
}

/* ============================================
   HEADER SOCIAL ICONS
   ============================================ */
.header-social {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--white);
}

.social-instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-instagram:hover {
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.4);
    transform: translateY(-2px);
}

.social-facebook {
    background: #1877F2;
}

.social-facebook:hover {
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
    transform: translateY(-2px);
}

.social-whatsapp {
    background: #25D366;
}

.social-whatsapp:hover {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.mobile-social {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

/* ============================================
   NEARBY POI (Points of Interest)
   ============================================ */
.poi-tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.poi-tab {
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.poi-tab:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}
.poi-tab.active {
    background: #1e293b;
    color: #fff;
    border-color: #1e293b;
}
.poi-tab-count {
    font-size: 10px;
    font-weight: 700;
    background: rgba(0,0,0,0.08);
    padding: 1px 6px;
    border-radius: 10px;
}
.poi-tab.active .poi-tab-count {
    background: rgba(255,255,255,0.2);
}

.poi-list {
    display: flex;
    flex-direction: column;
}
.poi-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}
.poi-item:last-child {
    border-bottom: none;
}
.poi-item:hover {
    background: #f8fafc;
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 8px;
}
.poi-item.poi-hidden {
    display: none;
}
.poi-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.poi-item-info {
    flex: 1;
    min-width: 0;
}
.poi-item-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.poi-item-category {
    display: block;
    font-size: 11px;
    font-weight: 500;
    margin-top: 2px;
}
.poi-item-distance {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    flex-shrink: 0;
}
.poi-attribution {
    margin-top: 12px;
    font-size: 11px;
    color: #94a3b8;
}

/* POI Collapsed State & Show More */
.poi-list.poi-collapsed .poi-extra {
    display: none;
}
.poi-show-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    margin-top: 8px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.poi-show-more-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #334155;
}
.poi-show-more-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* POI Anchor Button */
.detail-action-poi {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #16a34a !important;
    border-color: #bbf7d0 !important;
    text-decoration: none;
    font-weight: 600;
}
.detail-action-poi:hover {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0) !important;
    border-color: #86efac !important;
}
.detail-action-poi svg {
    flex-shrink: 0;
}

/* POI Loading State */
.poi-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px 16px;
    color: #94a3b8;
    font-size: 14px;
}
.poi-loading-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #e2e8f0;
    border-top-color: #ef4444;
    border-radius: 50%;
    animation: poiSpin 0.7s linear infinite;
}
@keyframes poiSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .poi-tabs-wrapper {
        gap: 4px;
    }
    .poi-tab {
        padding: 5px 10px;
        font-size: 11px;
    }
    .poi-item-name {
        font-size: 13px;
    }
    .poi-item-distance {
        font-size: 13px;
    }
}

/* ============================================
   SEO FOOTER LINKS
   ============================================ */
.seo-footer-links {
    background: #f8f9fa;
    padding: 48px 0 40px;
    border-top: 1px solid #e5e7eb;
}
.seo-footer-links .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.seo-link-group {
    margin-bottom: 36px;
}
.seo-link-group:last-child {
    margin-bottom: 0;
}
.seo-link-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 14px;
}
.seo-link-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.seo-pill {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: #fff;
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.seo-pill:hover {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
    text-decoration: none;
}

/* Popular Regions Expandable */
.seo-popular-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.seo-region-block {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}
.seo-region-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}
.seo-expand-btn {
    background: none;
    border: none;
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}
.seo-expand-btn:hover {
    color: #991b1b;
}
.seo-region-details {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.seo-detail-row {
    margin-bottom: 10px;
}
.seo-detail-row:last-child {
    margin-bottom: 0;
}
.seo-detail-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.seo-detail-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.seo-detail-links a {
    font-size: 12px;
    color: #dc2626;
    text-decoration: none;
    padding: 4px 10px;
    background: #fef2f2;
    border-radius: 6px;
    transition: all 0.2s;
}
.seo-detail-links a:hover {
    background: #dc2626;
    color: #fff;
}

@media (max-width: 768px) {
    .seo-footer-links {
        padding: 32px 0 28px;
    }
    .seo-link-title {
        font-size: 16px;
    }
    .seo-popular-columns {
        grid-template-columns: 1fr;
    }
    .seo-pill {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #1a1a2e;
    color: #c2c2d6;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 1.5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    filter: brightness(0) invert(1);
}

.footer-logo .logo-icon {
    background: var(--red-600);
    color: var(--white);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo .logo-accent {
    color: var(--red-600);
}

.footer-about {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #9ca3af;
    margin-bottom: 1.25rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.2s;
}

.footer-social-btn:hover {
    transform: translateY(-3px);
}

.footer-social-btn.social-instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.footer-social-btn.social-instagram:hover {
    box-shadow: 0 6px 20px rgba(131, 58, 180, 0.4);
}

.footer-social-btn.social-facebook {
    background: #1877F2;
}

.footer-social-btn.social-facebook:hover {
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.footer-social-btn.social-whatsapp {
    background: #25D366;
}

.footer-social-btn.social-whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* İletişim sayfası */
.contact-page{background:#f7f8fb;color:#172033}
.contact-page-hero{position:relative;overflow:hidden;padding:58px 0 72px;background:linear-gradient(125deg,#111b30 0%,#18253f 66%,#263957 100%);color:#fff}
.contact-page-hero:before{content:"";position:absolute;width:420px;height:420px;right:-120px;top:-230px;border:90px solid rgba(227,34,40,.11);border-radius:50%}
.contact-page-breadcrumb{position:relative;display:flex;align-items:center;gap:7px;margin-bottom:34px;color:#aab6cb;font-size:12px}.contact-page-breadcrumb a{color:#fff;text-decoration:none}.contact-page-breadcrumb svg{width:14px;height:14px}
.contact-page-hero-content{position:relative;max-width:760px}.contact-page-eyebrow{display:inline-flex;margin-bottom:14px;color:#ff7377;font-size:11px;font-weight:800;letter-spacing:.14em}
.contact-page-hero h1{max-width:720px;margin:0 0 17px;color:#fff;font-size:clamp(34px,5vw,58px);font-weight:800;line-height:1.06;letter-spacing:-.035em}.contact-page-hero p{max-width:680px;margin:0;color:#c8d2e2;font-size:16px;line-height:1.75}
.contact-page-main{position:relative;margin-top:-34px;padding:0 0 72px}.contact-page-info-grid{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}
.contact-info-card{display:flex;min-width:0;align-items:center;gap:12px;padding:17px;border:1px solid #e3e8f0;border-radius:15px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.06);color:inherit;text-decoration:none;transition:.2s ease}.contact-info-card:hover{border-color:#fecaca;box-shadow:0 14px 35px rgba(15,23,42,.1);transform:translateY(-2px)}
.contact-info-card>span{display:inline-flex;width:42px;height:42px;flex:0 0 42px;align-items:center;justify-content:center;border-radius:12px;background:#fff1f2;color:#e32228}.contact-info-card>span svg{width:19px;height:19px}.contact-info-card>div{min-width:0;flex:1}.contact-info-card small,.contact-info-card strong{display:block}.contact-info-card small{margin-bottom:4px;color:#8a97aa;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.contact-info-card strong{overflow:hidden;color:#263247;font-size:12px;line-height:1.4;text-overflow:ellipsis}.contact-info-card>svg{width:15px;height:15px;flex:0 0 15px;color:#a4afbf}
.contact-page-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.7fr);gap:20px;align-items:stretch}.contact-form-card,.contact-direct-card{border:1px solid #e3e8f0;border-radius:18px;background:#fff;box-shadow:0 12px 35px rgba(15,23,42,.055)}
.contact-form-card{padding:27px}.contact-section-heading{display:flex;align-items:flex-start;gap:13px;margin-bottom:24px}.contact-section-heading>span{display:inline-flex;width:42px;height:42px;flex:0 0 42px;align-items:center;justify-content:center;border-radius:12px;background:#e32228;color:#fff}.contact-section-heading h2{margin:0 0 5px;color:#172033;font-size:20px}.contact-section-heading p{margin:0;color:#7b8799;font-size:12px;line-height:1.55}
.contact-page-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.contact-page-field{display:flex;min-width:0;flex-direction:column;gap:6px}.contact-page-field-wide{grid-column:1/-1}.contact-page-field label{color:#475569;font-size:11px;font-weight:750}.contact-page-field input,.contact-page-field select,.contact-page-field textarea{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #dbe3ee;border-radius:10px;outline:none;background:#fbfcfe;color:#1e293b;font:inherit;font-size:13px;transition:.18s ease}.contact-page-field input,.contact-page-field select{height:44px}.contact-page-field textarea{min-height:112px;resize:vertical}.contact-page-field input:focus,.contact-page-field select:focus,.contact-page-field textarea:focus{border-color:#f87171;background:#fff;box-shadow:0 0 0 3px rgba(239,68,68,.08)}
.contact-page-submit{display:inline-flex;min-width:175px;height:46px;align-items:center;justify-content:center;gap:9px;margin-top:17px;padding:0 20px;border:0;border-radius:10px;background:#e32228;color:#fff;font-weight:800;cursor:pointer;box-shadow:0 8px 20px rgba(227,34,40,.2);transition:.18s ease}.contact-page-submit:hover{background:#c91d23;transform:translateY(-1px)}.contact-page-submit:disabled{cursor:wait;opacity:.7}.contact-page-submit svg{width:17px}.contact-page-submit.loading svg{animation:contactSubmitPulse .8s ease infinite}@keyframes contactSubmitPulse{50%{transform:translateX(4px)}}
.contact-page-form-result{margin-top:12px;font-size:12px;font-weight:650}.contact-page-form-result.success{color:#15803d}.contact-page-form-result.error{color:#b91c1c}
.contact-direct-card{position:relative;overflow:hidden;padding:29px;background:linear-gradient(150deg,#152139,#0f192c);color:#fff}.contact-direct-card:after{content:"";position:absolute;width:190px;height:190px;right:-95px;bottom:-95px;border:45px solid rgba(227,34,40,.12);border-radius:50%}.contact-direct-icon{display:inline-flex;width:48px;height:48px;align-items:center;justify-content:center;margin-bottom:22px;border-radius:14px;background:#e32228;color:#fff}.contact-direct-card h2{position:relative;margin:0 0 10px;color:#fff;font-size:24px;line-height:1.2}.contact-direct-card p{position:relative;margin:0 0 24px;color:#b5c0d2;font-size:12px;line-height:1.7}.contact-direct-card a{position:relative;z-index:1;display:flex;min-height:43px;align-items:center;justify-content:center;gap:8px;margin-top:9px;border-radius:10px;font-size:12px;font-weight:800;text-decoration:none}.contact-direct-whatsapp{background:#20c968;color:#fff}.contact-direct-phone{border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.07);color:#fff}.contact-direct-card a:hover{filter:brightness(1.06)}
.contact-map-section{padding:0 0 78px;background:#f7f8fb}.contact-map-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:17px}.contact-map-heading span{color:#e32228;font-size:10px;font-weight:850;letter-spacing:.12em}.contact-map-heading h2{margin:5px 0 0;color:#172033;font-size:28px}.contact-map-heading p{display:flex;max-width:420px;align-items:center;gap:7px;margin:0;color:#667085;font-size:12px;text-align:right}.contact-map-heading p svg{width:16px;flex:0 0 16px;color:#e32228}.contact-map-frame{height:430px;overflow:hidden;border:8px solid #fff;border-radius:19px;box-shadow:0 16px 40px rgba(15,23,42,.1)}.contact-map-frame iframe{display:block;width:100%;height:100%;border:0}
.footer-mini-map{position:relative;height:118px;overflow:hidden;margin-top:16px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#18243a}.footer-mini-map iframe{display:block;width:100%;height:100%;border:0;filter:saturate(.8)}.footer-mini-map a{position:absolute;right:7px;bottom:7px;display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:7px;background:rgba(15,25,44,.88);color:#fff;font-size:9px;font-weight:750;text-decoration:none;backdrop-filter:blur(5px)}
@media(max-width:1080px){.contact-page-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-page-layout{grid-template-columns:minmax(0,1.35fr) minmax(270px,.65fr)}}
@media(max-width:760px){.contact-page-hero{padding:42px 0 62px}.contact-page-main{padding-bottom:50px}.contact-page-info-grid,.contact-page-layout{grid-template-columns:1fr}.contact-form-card,.contact-direct-card{padding:21px}.contact-page-form-grid{grid-template-columns:1fr}.contact-page-field-wide{grid-column:auto}.contact-page-submit{width:100%}.contact-map-heading{align-items:flex-start;flex-direction:column}.contact-map-heading p{text-align:left}.contact-map-frame{height:330px;border-width:5px}.contact-map-section{padding-bottom:54px}}
@media(max-width:480px){.contact-page-info-grid{grid-template-columns:1fr}.contact-page-hero h1{font-size:34px}.contact-map-frame{height:280px}}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--red-600);
    display: inline-block;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    font-size: 0.875rem;
    color: #9ca3af;
    transition: color 0.15s, padding-left 0.15s;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--white);
    padding-left: 0.25rem;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.footer-contact-list li svg,
.footer-contact-list li i {
    color: var(--red-600);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Footer Form */
.footer-form {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

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

.footer-form-input {
    padding: 0.625rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transition: border-color 0.15s, background-color 0.15s;
    font-family: inherit;
    width: 100%;
}

.footer-form-input::placeholder {
    color: #6b7280;
}

.footer-form-input:focus {
    border-color: var(--red-600);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.footer-form-input option {
    background: #1a1a2e;
    color: var(--white);
}

textarea.footer-form-input {
    resize: vertical;
    min-height: 70px;
}

.footer-form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--red-600);
    color: var(--white);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.footer-form-submit:hover {
    background: var(--red-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.footer-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.footer-form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 0.5rem;
    color: #86efac;
    font-size: 0.875rem;
    font-weight: 500;
}

.footer-form-success svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #22c55e;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8125rem;
    color: #6b7280;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #6b7280;
    transition: color 0.15s;
    font-size: 0.8125rem;
}

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

/* ============================================
   ADMIN SETTINGS SECTION
   ============================================ */
.admin-settings-section {
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray-200);
}

.admin-settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.admin-settings-header h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-settings-header h2 svg {
    color: var(--red-600);
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .settings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.setting-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.setting-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-700);
}

.setting-label svg {
    width: 16px;
    height: 16px;
}

.setting-label .label-instagram {
    color: #E4405F;
}

.setting-label .label-facebook {
    color: #1877F2;
}

.setting-label .label-whatsapp {
    color: #25D366;
}

.setting-label .label-phone {
    color: var(--red-600);
}

.setting-label .label-email {
    color: var(--blue-600);
}

.setting-label .label-address {
    color: var(--orange-500);
}

.setting-label .label-message {
    color: var(--gray-500);
}

.setting-input {
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background: var(--white);
    color: var(--gray-800);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.setting-input:focus {
    border-color: var(--red-600);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    outline: none;
}

.btn-save-settings {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background: var(--red-600);
    color: var(--white);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-save-settings:hover {
    background: var(--red-700);
}

.btn-save-settings:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ============================================
   Property Detail Page
   ============================================ */

/* Breadcrumb Badge */
.detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    overflow: hidden;
}

.detail-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.15s;
}

.detail-breadcrumb a:hover {
    color: #fff;
}

.detail-breadcrumb .breadcrumb-sep {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.detail-breadcrumb span:not(.breadcrumb-sep) {
    color: #fff;
    font-weight: 600;
}

/* Gallery */
.detail-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    max-height: 440px;
}

.gallery-main {
    grid-row: 1 / 3;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-main:hover img {
    transform: scale(1.03);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.gallery-thumb {
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.05);
}

.gallery-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    font-weight: 500;
    gap: 4px;
}

/* Layout */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}

.detail-layout > * {
    min-width: 0;
}

/* Detail Status Bar */
.detail-status-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.15);
}

.detail-badge .badge-icon {
    font-size: 1rem;
}

.detail-badge-urgent {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    box-shadow: 0 3px 14px rgba(239, 68, 68, 0.45);
    animation: badge-pulse-urgent 2s ease-in-out infinite;
}

.detail-badge-today {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    box-shadow: 0 3px 14px rgba(139, 92, 246, 0.4);
    animation: badge-pulse-today 2.5s ease-in-out infinite;
}

.detail-badge-super {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    box-shadow: 0 3px 14px rgba(245, 158, 11, 0.4);
    animation: badge-shimmer 3s ease-in-out infinite;
}

.detail-badge-one {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    box-shadow: 0 3px 14px rgba(59, 130, 246, 0.35);
    animation: badge-shimmer 3s ease-in-out infinite;
}

.detail-badge-sold {
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);
    box-shadow: 0 3px 14px rgba(5, 150, 105, 0.4);
}

.detail-sold-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 0.8rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    color: #065f46;
    font-size: 0.85rem;
    font-weight: 600;
}

.detail-countdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.1);
    font-variant-numeric: tabular-nums;
    animation: countdown-pulse 2s ease-in-out infinite;
}

.detail-countdown-icon {
    font-size: 1rem;
}

.detail-countdown-label {
    opacity: 0.8;
    font-weight: 600;
}

.detail-countdown-text {
    color: #fbbf24;
    font-weight: 800;
}

.detail-countdown.countdown-expired {
    background: rgba(220, 38, 38, 0.85);
    animation: none;
}

.detail-countdown.countdown-expired .detail-countdown-text {
    color: #fff;
}

/* Header */
.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 6px;
}

/* Unit info badges (detail page) */
.detail-unit-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.unit-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0f4ff;
    color: #3b5998;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #d0daf5;
}

.unit-badge svg,
.unit-badge i {
    width: 14px;
    height: 14px;
}

/* Unit info badges (cards) */
.card-unit-info {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 6px;
}

.unit-badge-sm {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #f8fafc;
    color: #475569;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.unit-badge-sm svg,
.unit-badge-sm i {
    width: 11px;
    height: 11px;
}

.detail-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 14px;
}

.detail-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    background-color: var(--red-600);
    padding: 0.25rem 1rem;
    border-radius: 0.5rem;
    white-space: nowrap;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.2);
}

.detail-price .price-try-equiv {
    display: block;
    font-size: 0.6em;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 2px;
}

/* spec-value içindeki TL karşılığı */
.spec-value .price-try-equiv {
    color: #64748b;
    font-size: 0.85em;
    font-weight: 400;
}

/* similar-card-price içindeki TL karşılığı */
.similar-card-price .price-try-equiv {
    font-size: 0.65em;
    display: block;
    opacity: 0.9;
}

/* Quick Specs */
.detail-quick-specs {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.quick-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
}

.quick-spec i {
    width: 18px;
    height: 18px;
    color: #94a3b8;
}

/* Actions */
.detail-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.detail-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.detail-action-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.detail-action-btn i {
    width: 16px;
    height: 16px;
}

.detail-action-catalog {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border-color: #dc2626;
    text-decoration: none;
    font-weight: 600;
}

.detail-action-catalog:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: #b91c1c;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Specs Table */
.detail-specs-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.specs-grid .detail-specs-table:first-child {
    border-right: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr 1fr;
    }
    .specs-grid .detail-specs-table:first-child {
        border-right: 1px solid #e2e8f0;
    }
}

@media (max-width: 480px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
    .specs-grid .detail-specs-table:first-child {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
}

.detail-specs-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.detail-specs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.detail-specs-table tr:last-child td {
    border-bottom: none;
}

.spec-label {
    color: #64748b;
    font-weight: 400;
    width: 45%;
    background: #f8fafc;
}

.spec-value {
    color: #1e293b;
    font-weight: 600;
}

/* ============================== */
/* Construction Progress Timeline */
/* ============================== */
.construction-section .detail-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Construction Progress - Tab + Monthly Grid */
.con-tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}
.con-tab-bar::-webkit-scrollbar { display: none; }

.con-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
    flex-shrink: 0;
}

.con-tab:hover {
    border-color: var(--red-600);
    color: var(--red-600);
}

.con-tab.active {
    background: var(--red-600);
    border-color: var(--red-600);
    color: #fff;
}

.con-tab-count {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
    font-size: 0.75rem;
    padding: 1px 7px;
    min-width: 20px;
    text-align: center;
}

.con-tab.active .con-tab-count {
    background: rgba(255,255,255,0.25);
}

.con-tab-panel {
    display: none;
}

.con-tab-panel.active {
    display: block;
}

.con-month-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.con-month-img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.con-month-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.con-month-img:hover img {
    transform: scale(1.04);
}

.con-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    color: #fff;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 18px 8px 6px;
    line-height: 1.3;
}

/* Construction Lightbox */
.construction-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

.construction-lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.construction-lightbox-overlay img {
    max-width: calc(100% - 120px);
    max-height: 90vh;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.con-lb-prev, .con-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}

.con-lb-prev { left: 16px; }
.con-lb-next { right: 16px; }
.con-lb-prev:hover, .con-lb-next:hover { background: rgba(255,255,255,0.3); }

.con-lb-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 0.82rem;
    padding: 4px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Drone Lightbox */
.drone-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.drone-lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.drone-lightbox-overlay img {
    max-width: calc(100% - 120px);
    max-height: 90vh;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Drone zoom hint */
.drone-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    opacity: 0.7;
    transition: opacity 0.2s;
    pointer-events: none;
}
.drone-gallery-main:hover .drone-zoom-hint {
    opacity: 1;
}

@media (max-width: 768px) {
    .con-month-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ===================== */
/* Lead Action Cards     */
/* ===================== */
.lead-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.lead-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.18s;
    text-align: center;
    width: 100%;
}

.lead-action-btn:hover {
    border-color: var(--red-600);
    background: #fff5f5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220,38,38,0.08);
}

.lead-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lead-action-btn span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.3;
}

.agent-card-secondary {
    margin-top: 4px;
}

/* Lead Modal */
.lead-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.lead-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lead-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transform: scale(0.96);
    transition: transform 0.2s;
}

.lead-modal-overlay.active .lead-modal {
    transform: scale(1);
}

.lead-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #f1f5f9;
}

.lead-modal-hdr-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lead-modal-hdr-text h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.lead-modal-hdr-text p {
    margin: 3px 0 0;
    font-size: 0.78rem;
    color: #64748b;
}

.lead-modal-close-btn {
    margin-left: auto;
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    flex-shrink: 0;
    transition: background 0.15s;
}

.lead-modal-close-btn:hover { background: #e2e8f0; }

.lead-modal-body {
    padding: 18px;
}

.lead-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.lead-form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.lead-form-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
}

.lead-req { color: var(--red-600); }

.lead-form-field input,
.lead-form-field textarea {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.88rem;
    color: #1e293b;
    outline: none;
    transition: border-color 0.15s;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
}

.lead-form-field input:focus,
.lead-form-field textarea:focus {
    border-color: var(--red-600);
}

.lead-form-field textarea {
    resize: vertical;
    min-height: 70px;
    font-family: inherit;
}

.lead-time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.lead-time-btn {
    padding: 5px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s;
}

.lead-time-btn:hover,
.lead-time-btn.active {
    background: var(--red-600);
    border-color: var(--red-600);
    color: #fff;
}

.lead-form-error {
    color: #dc2626;
    font-size: 0.8rem;
    min-height: 16px;
    margin: 0 0 8px;
}

.lead-submit-btn {
    width: 100%;
    background: var(--red-600);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.lead-submit-btn:hover { background: #b91c1c; }
.lead-submit-btn:disabled { background: #94a3b8; cursor: not-allowed; }

.lead-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 20px 10px;
}

.lead-success-check {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #bbf7d0;
}

.lead-success h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #1e293b;
}

.lead-success p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
}

.lead-close-btn {
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    padding: 8px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    color: #475569;
    transition: background 0.15s;
}

.lead-close-btn:hover { background: #e2e8f0; }

@media (max-width: 480px) {
    .lead-form-row { grid-template-columns: 1fr; }
}

/* ===================== */
/* Drone Gallery        */
/* ===================== */
.drone-section .detail-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drone-section .detail-section-title i {
    color: var(--red-600);
}

.drone-gallery {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    max-width: 100%;
}

.drone-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.drone-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s;
}

.drone-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.drone-nav-btn:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-50%) scale(1.1);
}

.drone-nav-btn i {
    width: 20px;
    height: 20px;
}

.drone-prev {
    left: 12px;
}

.drone-next {
    right: 12px;
}

.drone-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.drone-gallery-thumbs {
    display: flex;
    gap: 3px;
    padding: 3px;
    background: #1e293b;
    overflow-x: auto;
    scrollbar-width: thin;
}

.drone-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 55px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    border: 2px solid transparent;
}

.drone-thumb.active {
    opacity: 1;
    border-color: var(--red-600);
}

.drone-thumb:hover {
    opacity: 0.85;
}

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

@media (max-width: 768px) {
    .drone-gallery-main {
        aspect-ratio: 4 / 3;
    }

    .drone-nav-btn {
        width: 34px;
        height: 34px;
    }

    .drone-thumb {
        width: 60px;
        height: 42px;
    }
}

/* ===================== */
/* Media Sections       */
/* ===================== */
.media-section .detail-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.media-section .detail-section-title i,
.media-section .detail-section-title svg {
    color: var(--red-600);
}

/* Virtual Tour */
.virtual-tour-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.virtual-tour-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* External Link Button */
.btn-media-external {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 20px;
    background: #f1f5f9;
    color: #334155;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.btn-media-external:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Floor Plan */
.floor-plan-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    max-height: 600px;
}

.floor-plan-wrapper:hover {
    border-color: var(--primary-color, #c8a55a);
    box-shadow: 0 4px 20px rgba(200, 165, 90, 0.15);
}

.floor-plan-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 580px;
}

.floor-plan-zoom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: white;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floor-plan-wrapper:hover .floor-plan-zoom {
    opacity: 1;
}

/* Floor Plan Modal */
.floor-plan-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 24px;
    animation: fadeInModal 0.25s ease;
}

.floor-plan-modal.active {
    display: flex;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.floor-plan-modal-inner {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floor-plan-modal-inner img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    object-fit: contain;
}

.floor-plan-modal-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
}

.floor-plan-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Media Section Responsive */
@media (max-width: 768px) {
    .virtual-tour-wrapper,
    .video-wrapper {
        border-radius: 8px;
    }

    .floor-plan-wrapper {
        max-height: 400px;
    }

    .floor-plan-wrapper img {
        max-height: 380px;
    }

    .floor-plan-modal {
        padding: 12px;
    }

    .floor-plan-modal-close {
        top: -12px;
        right: -12px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .btn-media-external {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
}

/* Features Grid */
.detail-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.detail-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f0fdf4;
    border-radius: 8px;
    font-size: 13px;
    color: #166534;
    font-weight: 500;
}

/* ═══ Tesisler / Facilities Grid (Frontend) ═══ */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
}
.facility-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1.5px solid #fecaca;
    border-radius: 10px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    flex-direction: column;
    text-align: center;

}
.facility-box:hover {
    transform: translateY(-2px);
    border-color: #dc2626;
    box-shadow: 0 4px 16px rgba(220, 38, 38, .15);
}
.facility-box svg,
.facility-box i {
    width: 20px;
    height: 20px;
    color: #dc2626;
    flex-shrink: 0;
}

/* Sections */
.detail-section {
    margin-bottom: 2rem;
}

.detail-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

/* Description */
.detail-description {
    color: #374151;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: break-word;
    word-break: break-word;
}

.detail-description p {
    margin-bottom: 0.5rem;
}

/* Map */
.detail-map {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.detail-map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Agent Sidebar */
.detail-agent-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    position: sticky;
    top: 90px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.agent-card-banner {
    height: 60px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.agent-card-info {
    text-align: center;
    padding: 0 1.5rem 1rem;
    margin-top: -40px;
}

.agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    border: 3px solid white;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.agent-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.agent-title {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

.property-keyword-tags,
.category-related-searches {
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.property-keyword-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.property-keyword-label {
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    margin-right: 2px;
}

.property-keyword-tags a,
.property-keyword-chip,
.category-related-links a {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #fff;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
}

.property-keyword-tags a:hover,
.category-related-links a:hover {
    border-color: #dc2626;
    background: #fef2f2;
}

.category-related-searches h2 {
    margin: 0 0 12px;
    color: #172033;
    font-size: 1.05rem;
}

.category-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.agent-card-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agent-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
    width: 100%;
}

.agent-btn i,
.agent-btn svg {
    width: 20px;
    height: 20px;
}

.agent-btn-phone {
    background: #dc2626;
    color: white;
}

.agent-btn-phone:hover {
    background: #b91c1c;
}

.agent-btn-message {
    background: white;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.agent-btn-message:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.agent-btn-whatsapp {
    background: #25d366;
    color: white;
}

.agent-btn-whatsapp:hover {
    background: #1da851;
}

/* ============================================
   KREDİ HESAPLAMA ARACI
   ============================================ */
.credit-calculator {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-top: 1rem;
}

.credit-calc-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
}

.credit-calc-header i,
.credit-calc-header svg {
    width: 20px;
    height: 20px;
}

.credit-calc-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.credit-calc-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calc-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.calc-input-group {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.calc-input-group:focus-within {
    border-color: var(--red-600);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.calc-currency {
    padding: 0.5rem 0.75rem;
    background: var(--gray-50);
    color: var(--gray-600);
    font-weight: 700;
    font-size: 0.9rem;
    border-right: 1.5px solid var(--gray-200);
}

.calc-input-group input {
    flex: 1;
    border: none;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    outline: none;
    background: transparent;
}

/* Range slider */
.calc-range-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.calc-range-row input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    outline: none;
}

.calc-range-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
    border: 2px solid #fff;
}

.calc-range-row input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
    border: 2px solid #fff;
}

.calc-range-val {
    min-width: 42px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--red-600);
    background: rgba(220, 38, 38, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
}

.calc-down-amount {
    margin-top: 0.3rem;
    font-size: 0.78rem;
    color: var(--gray-500);
}

.calc-down-amount strong {
    color: var(--gray-800);
}

/* Vade butonları */
.calc-term-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.calc-term-btn {
    padding: 0.45rem 0.5rem;
    border: 1.5px solid var(--gray-200);
    background: #fff;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
}

.calc-term-btn:hover {
    border-color: var(--red-600);
    color: var(--red-600);
}

.calc-term-btn.active {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

/* Sonuç */
.calc-result {
    background: linear-gradient(135deg, #fef2f2, #fff1f2);
    border: 1px solid #fecaca;
    border-radius: 10px;
    overflow: hidden;
}

.calc-result-main {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
}

.calc-result-label {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
}

.calc-result-amount {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.calc-result-details {
    padding: 0.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.calc-result-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.calc-result-row span:last-child {
    font-weight: 700;
    color: var(--gray-800);
}

.calc-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--gray-400);
    line-height: 1.4;
    margin: 0;
}

.calc-disclaimer i,
.calc-disclaimer svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ═══════════════════════════════════════════════
   ROI CALCULATOR
   ═══════════════════════════════════════════════ */
.roi-calculator {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-top: 1rem;
}

.roi-calc-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #065f46 0%, #064e3b 100%);
    color: #fff;
}

.roi-calc-header i,
.roi-calc-header svg {
    width: 20px;
    height: 20px;
}

.roi-calc-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.roi-calc-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Summary card */
.roi-summary-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    padding: 1rem;
}

.roi-summary-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roi-summary-icon svg {
    width: 20px;
    height: 20px;
}

.roi-summary-text {
    font-size: 0.88rem;
    color: #065f46;
    line-height: 1.5;
    margin: 0;
}

.roi-summary-text strong {
    color: #047857;
    font-weight: 800;
}

/* Stats grid */
.roi-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.roi-stat {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: var(--gray-50);
    border-radius: 8px;
    border: 1px solid var(--gray-100);
}

.roi-stat-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.roi-stat-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gray-800);
}

.roi-stat-green {
    color: #059669 !important;
}

/* Chart */
.roi-chart-section {
    margin-top: 0.5rem;
}

.roi-chart-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-700);
    margin: 0 0 0.75rem 0;
}

.roi-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    justify-content: space-between;
}

.roi-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.roi-bar-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.roi-bar {
    width: 100%;
    border-radius: 3px 3px 0 0;
    min-height: 2px;
    transition: height 0.4s ease;
}

.roi-bar-value {
    background: linear-gradient(180deg, #60a5fa, #3b82f6);
}

.roi-bar-rent {
    background: linear-gradient(180deg, #34d399, #10b981);
    border-radius: 3px 3px 0 0;
}

.roi-bar-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gray-500);
}

.roi-chart-legend {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.roi-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: var(--gray-600);
    font-weight: 500;
}

.roi-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* 10-year summary */
.roi-10yr-summary {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.roi-result-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.roi-result-row span:last-child {
    font-weight: 700;
    color: var(--gray-800);
}

@media (max-width: 480px) {
    .roi-stats-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .roi-stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 0.6rem 0.75rem;
    }
    .roi-stat-label {
        margin-bottom: 0;
    }
}

/* Similar Properties */
.similar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.similar-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.similar-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.similar-card-image {
    height: 140px;
    overflow: hidden;
}

.similar-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-card-body {
    padding: 12px;
}

.similar-card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    background-color: var(--red-600);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 4px;
    display: inline-block;
}

.similar-card-title {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.similar-card-location {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.similar-card-specs {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #64748b;
}

.similar-card-specs span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 14px 16px;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.lightbox-prev {
    left: 12px;
}

.lightbox-next {
    right: 12px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(220, 38, 38, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        padding: 12px 14px;
        font-size: 24px;
        background: rgba(0, 0, 0, 0.7);
        border-color: rgba(255, 255, 255, 0.6);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-counter {
    color: white;
    font-size: 14px;
    margin-top: 12px;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .detail-gallery {
        grid-template-columns: 1fr;
        max-height: 260px;
    }

    .gallery-thumbs {
        display: none;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-header {
        flex-direction: column;
    }

    .detail-price {
        font-size: 1.3rem;
        padding: 0.25rem 0.75rem;
    }

    .detail-specs-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .detail-quick-specs {
        flex-wrap: wrap;
        gap: 1rem;
    }

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

    .detail-agent-card {
        position: static;
    }

    .detail-breadcrumb {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }

    .detail-status-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .detail-countdown {
        white-space: normal;
        text-align: center;
        font-size: 0.75rem;
        width: 100%;
        justify-content: center;
    }

    .detail-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .detail-actions {
        gap: 6px;
    }

    .detail-action-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .detail-features-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .facilities-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .detail-description {
        font-size: 13px;
    }

    .detail-title {
        font-size: 1.15rem;
    }

    .detail-section-title {
        font-size: 1rem;
    }

    .lead-action-grid {
        grid-template-columns: 1fr 1fr;
    }

    .detail-map iframe {
        height: 220px;
    }

    .drone-gallery {
        border-radius: 8px;
    }

    .agent-card-actions {
        padding: 0 1rem 1rem;
    }

    .agent-card-info {
        padding: 0 1rem 0.75rem;
    }

    .credit-calculator {
        margin-top: 0.75rem;
    }

    .credit-calc-body {
        padding: 1rem;
    }
}

/* ═══════════════════════════════════════════
   Urgent Banner Slider - Fırsatlar (Desktop)
   ═══════════════════════════════════════════ */
.urgent-banner {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(220, 38, 38, 0.3);
    margin-top: 0.5rem;
    background: #991b1b;
}

.urgent-slide {
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.8s ease-in-out;
}

.urgent-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.urgent-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.95) 0%, rgba(153, 27, 27, 0.8) 50%, rgba(0, 0, 0, 0.3) 100%);
}

.urgent-slide-content {
    position: relative;
    z-index: 10;
    padding: 3rem 2.5rem;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
}

.urgent-badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.urgent-badge {
    background: #fbbf24;
    color: black;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-weight: 900;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.urgent-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 1.25rem 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
}

.urgent-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #dc2626;
    padding: 0.75rem 2rem;
    border-radius: 99px;
    font-weight: 800;
    font-size: 1.1rem;
    width: max-content;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.urgent-cta:hover {
    transform: scale(1.05);
}

.urgent-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.urgent-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════
   Urgent Stories Board (Mobile - Instagram tarzı)
   ═══════════════════════════════════════════ */
.urgent-stories {
    display: none; /* desktop'ta gizle */
}

.urgent-stories-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 8px 2px;
    scrollbar-width: none;
}

.urgent-stories-scroll::-webkit-scrollbar {
    display: none;
}

.urgent-story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    flex-shrink: 0;
    scroll-snap-align: start;
    width: 80px;
    position: relative;
    transition: transform 0.2s;
}

.urgent-story-item:active {
    transform: scale(0.95);
}

.urgent-story-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
    animation: story-ring-pulse 3s ease-in-out infinite;
}

@keyframes story-ring-pulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35); }
    50% { box-shadow: 0 4px 18px rgba(239, 68, 68, 0.55); }
}

.urgent-story-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 2.5px solid white;
    background: #f1f5f9;
}

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

.urgent-story-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #94a3b8;
}

.urgent-story-placeholder i {
    width: 24px;
    height: 24px;
}

.urgent-story-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.5rem;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
    z-index: 5;
    white-space: nowrap;
    line-height: 1;
}

.urgent-story-title {
    font-size: 0.65rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    line-height: 1.2;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Banner Countdown (Desktop slider) */
.urgent-countdown {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: white;
    padding: 0.35rem 0.9rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Card Countdown Badge */
.badge-countdown {
    position: absolute;
    top: 3.2rem;
    left: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 10;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    animation: countdown-pulse 2s ease-in-out infinite;
}

.badge-countdown-icon {
    font-size: 0.75rem;
    line-height: 1;
}

.badge-countdown-text {
    line-height: 1;
}

.badge-countdown.countdown-expired {
    background: rgba(220, 38, 38, 0.8);
    animation: none;
}

@keyframes countdown-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

/* Story Countdown (Mobile stories) */
.urgent-story-countdown {
    font-size: 0.55rem;
    font-weight: 700;
    color: #dc2626;
    text-align: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

/* ── Tablet (768px) ── */
@media (max-width: 768px) {
    /* Stories'i göster, slider'ı gizle */
    .urgent-stories {
        display: block;
        width: 100%;
        margin-bottom: 0.25rem;
    }

    .urgent-banner {
        display: none;
    }

    /* < 3 ilan varsa banner'ı mobilde de göster (responsive) */
    .urgent-banner.urgent-banner--always {
        display: block;
        height: 220px;
        border-radius: 12px;
    }

    .urgent-banner--always .urgent-slide-overlay {
        background: linear-gradient(180deg, rgba(220, 38, 38, 0.9) 0%, rgba(153, 27, 27, 0.85) 60%, rgba(0, 0, 0, 0.4) 100%);
    }

    .urgent-banner--always .urgent-slide-content {
        padding: 0.75rem 1rem;
        justify-content: flex-start;
    }

    .urgent-banner--always .urgent-badge-row {
        margin-bottom: 0.4rem;
    }

    .urgent-banner--always .urgent-title {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .urgent-banner--always .urgent-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
    }

    .urgent-banner--always .urgent-cta {
        font-size: 0.85rem;
        padding: 0.5rem 1.25rem;
    }

    .urgent-banner--always .urgent-countdown {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }

    .urgent-banner--always .urgent-dots {
        bottom: 0.75rem;
    }

    .urgent-banner--always .urgent-dot {
        width: 8px;
        height: 8px;
    }
}

/* ── Mobile (480px) ── */
@media (max-width: 480px) {
    .urgent-stories-scroll {
        gap: 12px;
        padding: 2px 0 6px 0;
    }

    .urgent-story-item {
        width: 72px;
    }

    .urgent-story-ring {
        width: 64px;
        height: 64px;
    }

    .urgent-story-title {
        font-size: 0.6rem;
        max-width: 72px;
    }

    .urgent-banner--always {
        height: 180px;
        border-radius: 10px;
    }

    .urgent-banner--always .urgent-slide-content {
        padding: 0.6rem 0.75rem;
    }

    .urgent-banner--always .urgent-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .urgent-banner--always .urgent-badge-row {
        margin-bottom: 0.5rem;
        flex-wrap: wrap;
    }

    .urgent-banner--always .urgent-cta {
        font-size: 0.78rem;
        padding: 0.4rem 1rem;
    }
}

/* ============================================
   POLICY PAGES (Gizlilik, Kullanım, Çerez)
   ============================================ */
.policy-page {
    padding: 40px 0 80px;
    min-height: 60vh;
    background: #f8fafc;
}

.policy-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.policy-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 24px;
}

.policy-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.policy-breadcrumb a:hover {
    color: #dc2626;
}

.policy-breadcrumb span {
    color: #1e293b;
    font-weight: 500;
}

/* Header */
.policy-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e2e8f0;
}

.policy-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.policy-icon i,
.policy-icon svg {
    width: 26px;
    height: 26px;
}

.policy-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

/* Content */
.policy-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    margin-bottom: 32px;
}

.policy-updated {
    display: inline-block;
    font-size: 0.8rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.policy-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 28px 0 12px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.policy-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.policy-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin: 20px 0 8px;
}

.policy-content p {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 12px;
}

.policy-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.policy-content ul li {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 4px;
}

.policy-content ul li strong {
    color: #1e293b;
}

.policy-content a {
    color: #dc2626;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.policy-content a:hover {
    color: #b91c1c;
}

.policy-contact-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 12px;
}

.policy-contact-info p {
    margin-bottom: 4px;
}

/* Alt Navigasyon */
.policy-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.policy-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.policy-nav-item:hover {
    border-color: #dc2626;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
    transform: translateY(-1px);
}

.policy-nav-item i,
.policy-nav-item > svg:first-of-type {
    width: 20px;
    height: 20px;
    color: #dc2626;
}

.policy-nav-item svg:last-child {
    margin-left: auto;
    color: #94a3b8;
}

@media (max-width: 640px) {
    .policy-page {
        padding: 24px 0 60px;
    }

    .policy-content {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .policy-header h1 {
        font-size: 1.35rem;
    }

    .policy-icon {
        width: 44px;
        height: 44px;
    }

    .policy-icon i,
    .policy-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* ============================================
   TRUST INFO BAR (Property Detail)
   ============================================ */
.detail-trust-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 10px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #64748b;
    white-space: nowrap;
}

.trust-item svg {
    flex-shrink: 0;
}

.trust-verified {
    color: #1D9BF0;
    font-weight: 600;
    background: #eff9ff;
    border: 1px solid #bae6fd;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
}

.trust-verified svg {
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .detail-trust-bar {
        gap: 4px 12px;
        padding: 8px 12px;
    }

    .trust-item {
        font-size: 0.73rem;
    }
}

/* Advanced Filters Toggle */
.btn-advanced-filters {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-advanced-filters:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.btn-advanced-filters i {
    width: 16px;
    height: 16px;
}

.btn-advanced-filters i:last-child {
    margin-left: auto;
    transition: transform 0.2s;
}

.btn-advanced-filters.active i:last-child {
    transform: rotate(180deg);
}

.advanced-filters {
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
}

/* ============================================
   CATEGORY LANDING PAGES (SEO)
   ============================================ */
.category-landing {
    padding: 24px 0 60px;
    min-height: 60vh;
}

.category-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 20px;
}

.category-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.category-breadcrumb a:hover {
    color: #dc2626;
}

.category-breadcrumb span {
    color: #1e293b;
    font-weight: 500;
}

.category-hero {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.category-hero h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.category-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.category-sort {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
}

.category-sort select {
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #1e293b;
    background: #f8fafc;
    cursor: pointer;
}

.category-seo-text {
    margin-top: 40px;
    padding: 28px 32px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.category-seo-text h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.category-seo-text p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state h3 {
    font-size: 1.2rem;
    color: #1e293b;
    margin: 16px 0 8px;
}

.empty-state p {
    color: #64748b;
}

@media (max-width: 640px) {
    .category-hero {
        padding: 20px;
    }
    .category-hero h1 {
        font-size: 1.25rem;
    }
    .category-sort {
        margin-left: 0;
        width: 100%;
    }
}

/* ============================================
   FAVORITES & COMPARE
   ============================================ */
/* Favorite button active state */
.btn-favorite.is-favorite {
    background: rgba(220, 38, 38, 0.9);
    color: #fff;
}

.btn-favorite.is-favorite i,
.btn-favorite.is-favorite svg {
    fill: #fff;
    color: #fff;
}

/* ============================================
   COMPARE OFF-CANVAS SIDEBAR
   ============================================ */
.compare-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.compare-overlay.open {
    opacity: 1;
    visibility: visible;
}

.compare-offcanvas {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    z-index: 9999;
    background: #fff;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.compare-offcanvas.open {
    right: 0;
}

.compare-offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}
.compare-offcanvas-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.compare-offcanvas-header h3 i {
    color: #dc2626;
    width: 20px;
    height: 20px;
}
.compare-offcanvas-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s;
}
.compare-offcanvas-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.compare-offcanvas-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compare-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    gap: 12px;
    color: #94a3b8;
}
.compare-empty p {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    margin: 0;
}
.compare-empty small {
    font-size: 0.78rem;
}

/* Compare Card in Off-canvas */
.compare-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.compare-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.compare-card-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.2s;
    padding: 0;
    z-index: 2;
}
.compare-card-remove i {
    width: 14px;
    height: 14px;
}
.compare-card-remove:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #ef4444;
}

.compare-card-img {
    width: 90px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
}
.compare-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.compare-card-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #cbd5e1;
}

.compare-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    padding-right: 24px;
}
.compare-card-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.compare-card-title:hover {
    color: #dc2626;
}
.compare-card-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #dc2626;
}

.compare-offcanvas-footer {
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8fafc;
}

.compare-offcanvas-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    width: 100%;
}
.compare-btn-primary {
    background: #dc2626;
    color: #fff;
}
.compare-btn-primary:hover {
    background: #b91c1c;
}
.compare-btn-primary:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}
.compare-btn-primary i {
    width: 18px;
    height: 18px;
}
.compare-btn-outline {
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
}
.compare-btn-outline:hover {
    background: #f8fafc;
    color: #1e293b;
}

/* ============================================
   MOBILE QUICK ACTIONS FAB
   ============================================ */
.mobile-fab-container {
    position: fixed;
    bottom: 80px;
    right: 16px;
    z-index: 901;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.mobile-fab-trigger {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(30, 41, 59, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
}
.mobile-fab-trigger:hover {
    transform: scale(1.1);
}
.mobile-fab-trigger .fab-icon-close {
    display: none;
}
.fab-open .mobile-fab-trigger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
    transform: rotate(0deg);
}
.fab-open .mobile-fab-trigger .fab-icon-menu {
    display: none;
}
.fab-open .mobile-fab-trigger .fab-icon-close {
    display: block;
}

/* Flyout panel */
.mobile-fab-flyout {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.fab-open .mobile-fab-flyout {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Each action button */
.fab-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row-reverse;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    animation: fabItemIn 0.3s ease forwards;
}
.fab-action-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
    transition: transform 0.2s;
}
.fab-action-btn:hover .fab-action-icon {
    transform: scale(1.1);
}
.fab-action-label {
    background: #1e293b;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    letter-spacing: 0.2px;
}

/* Colors for each action */
.fab-whatsapp .fab-action-icon {
    background: #25d366;
}
.fab-contact .fab-action-icon {
    background: #3b82f6;
}
.fab-favorites .fab-action-icon {
    background: #f43f5e;
}
.fab-lang .fab-action-icon {
    background: #8b5cf6;
}

/* Overlay */
.mobile-fab-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 899;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.mobile-fab-overlay.active {
    display: block;
}

/* Hide on desktop */
@media (min-width: 1024px) {
    .mobile-fab-container,
    .mobile-fab-overlay {
        display: none !important;
    }
}

@keyframes fabItemIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Compare Mini Badge (floating) */
.compare-mini-badge {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.compare-mini-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(220, 38, 38, 0.5);
}
.compare-mini-badge i {
    width: 24px;
    height: 24px;
}
.compare-mini-badge span {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1e293b;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

@media (max-width: 640px) {
    .compare-offcanvas {
        width: 100%;
        max-width: 100vw;
        right: -100%;
    }
    .compare-mini-badge {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
}

/* ============================================
   COMPARE PAGE (Table)
   ============================================ */
.compare-page {
    padding: 100px 0 60px;
    min-height: 80vh;
    background: #f8fafc;
}
.compare-page-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.compare-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.82rem;
}
.compare-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}
.compare-breadcrumb a:hover {
    color: #dc2626;
}
.compare-breadcrumb span {
    color: #1e293b;
    font-weight: 500;
}
.compare-page-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 28px;
}
.compare-page-title i {
    color: #dc2626;
    width: 28px;
    height: 28px;
}

.compare-table-wrapper {
    overflow-x: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.compare-label-col {
    width: 160px;
    min-width: 140px;
    background: #f8fafc;
}

.compare-property-col {
    padding: 0 !important;
}

.compare-property-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px 16px;
    gap: 10px;
    text-align: center;
}

.compare-property-img {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 2 items: large images */
.compare-table[data-count="2"] .compare-property-col {
    width: 40%;
}
.compare-table[data-count="2"] .compare-property-img {
    max-width: 100%;
    aspect-ratio: 16/10;
}
.compare-table[data-count="2"] .compare-property-name {
    font-size: 0.95rem;
}

/* 3 items */
.compare-table[data-count="3"] .compare-property-col {
    width: 27%;
}
.compare-table[data-count="3"] .compare-property-img {
    max-width: 100%;
    aspect-ratio: 4/3;
}

/* 4 items: compact */
.compare-table[data-count="4"] .compare-property-col {
    width: 20%;
}
.compare-table[data-count="4"] .compare-property-img {
    max-width: 100%;
    aspect-ratio: 4/3;
}
.compare-table[data-count="4"] .compare-property-name {
    font-size: 0.8rem;
}
.compare-property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.compare-property-img:hover img {
    transform: scale(1.05);
}
.compare-property-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #cbd5e1;
}

.compare-property-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.compare-property-name:hover {
    color: #dc2626;
}

.compare-remove-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.72rem;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
}
.compare-remove-btn i {
    width: 12px;
    height: 12px;
}
.compare-remove-btn:hover {
    color: #ef4444;
    border-color: #fca5a5;
    background: #fef2f2;
}

.compare-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
}
.compare-table tbody tr:nth-child(even) {
    background: #fafbfc;
}
.compare-table tbody tr:hover {
    background: #f8fafc;
}

.compare-label {
    padding: 14px 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    white-space: nowrap;
    border-right: 1px solid #f1f5f9;
}

.compare-value {
    padding: 14px 16px;
    font-size: 0.85rem;
    color: #1e293b;
    border-right: 1px solid #f1f5f9;
}
.compare-value:last-child {
    border-right: none;
}

.compare-value-price {
    font-weight: 700;
    color: #dc2626;
    font-size: 0.95rem;
}

.compare-yes {
    color: #16a34a;
    font-weight: 600;
}
.compare-no {
    color: #dc2626;
    font-weight: 600;
}

.compare-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.compare-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #dcfce7;
}

.compare-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.compare-actions .btn-card {
    font-size: 0.78rem;
    padding: 6px 10px;
}

@media (max-width: 768px) {
    .compare-page {
        padding: 80px 0 40px;
    }
    .compare-page-title {
        font-size: 1.2rem;
    }
    .compare-label-col {
        width: 120px;
        min-width: 100px;
    }
    .compare-property-img {
        max-width: 160px;
        aspect-ratio: 4/3;
    }
    .compare-label {
        padding: 10px 12px;
        font-size: 0.78rem;
    }
    .compare-value {
        padding: 10px 12px;
        font-size: 0.78rem;
    }
}

/* Language Switcher */
.lang-switcher,
.mobile-lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 2px;
}

.lang-btn {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    line-height: 1.4;
}

.lang-btn:hover {
    color: #0f172a;
    background: #e2e8f0;
}

.lang-btn.lang-active {
    background: #dc2626;
    color: #fff;
}

.mobile-lang-switcher {
    justify-content: center;
    margin: 8px 0;
}

/* Header favorites button */
.btn-header-fav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-header-fav:hover {
    color: #dc2626;
    border-color: #dc2626;
    background: #fef2f2;
}

.fav-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: #dc2626;
    color: #fff;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   MAP MODAL
   ============================================ */
.map-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #000;
}

/* Kapat butonu */
.map-modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1001;
    width: 38px;
    height: 38px;
    background: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
    font-size: 1.3rem;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s;
    line-height: 1;
}
.map-modal-close:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* Üst sağ kontrol bar */
.map-custom-controls {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 6px;
}
.map-ctrl-btn {
    height: 38px;
    padding: 0 14px;
    background: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #374151;
    transition: background .15s;
    white-space: nowrap;
    font-family: inherit;
}
.map-ctrl-btn:hover { background: #f1f5f9; }
.map-ctrl-location {
    background: #16a34a;
    color: #fff;
}
.map-ctrl-location:hover { background: #15803d; }

/* View dropdown */
.map-view-wrap { position: relative; }
.map-view-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    overflow: hidden;
    min-width: 140px;
    display: none;
    z-index: 10;
}
.map-view-menu.open { display: block; }
.map-view-menu button {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    color: #374151;
    transition: background .1s;
    font-family: inherit;
}
.map-view-menu button:hover { background: #f8fafc; }
.map-view-menu button.active { color: #dc2626; font-weight: 700; background: #fef2f2; }

/* Fiyat pill marker */
.map-price-pill {
    background: #16a34a;
    color: #fff;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
    border: 2px solid #fff;
    cursor: pointer;
    transition: transform .15s, background .15s;
    position: relative;
    display: inline-block;
}
.map-price-pill::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #fff;
}
.map-price-pill:hover {
    transform: scale(1.08);
    background: #15803d;
}

/* Property popup kart */
.map-prop-popup {
    width: 260px;
    font-family: inherit;
    border-radius: 12px;
    overflow: hidden;
}
.map-prop-img {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
}
.map-prop-body { padding: 12px 14px 14px; }
.map-prop-title {
    font-weight: 800;
    font-size: 12px;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: .3px;
    line-height: 1.3;
    margin-bottom: 2px;
}
.map-prop-type { font-size: 12px; color: #64748b; margin-bottom: 6px; }
.map-prop-price { font-size: 20px; font-weight: 800; color: #16a34a; margin-bottom: 8px; }
.map-prop-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
    margin-bottom: 10px;
}
.map-prop-stat { display: flex; align-items: center; gap: 3px; }
.map-prop-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px;
    background: #dc2626;
    color: #fff !important;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    transition: background .15s;
}
.map-prop-link:hover { background: #b91c1c; color: #fff !important; }

/* Leaflet popup özelleştirme */
.map-clean-popup .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
    overflow: hidden;
    width: 260px !important;
}
.map-clean-popup .leaflet-popup-content {
    margin: 0;
    width: 260px !important;
}
.map-clean-popup .leaflet-popup-tip-container { display: none; }

/* Leaflet custom cluster markers */
.region-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: #fff;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}
.region-marker:hover { transform: scale(1.15); }
.region-marker-count { font-size: 14px; font-weight: 700; line-height: 1; }
.region-marker-name { font-size: 9px; font-weight: 500; opacity: 0.9; white-space: nowrap; }

/* ─── Map Side Panel ─── */
.map-side-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 370px;
    background: #fff;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    box-shadow: -6px 0 24px rgba(0,0,0,.15);
}
.map-side-panel.open { transform: translateX(0); }
.map-panel-header {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    background: #fff;
}
.map-panel-back {
    width: 32px; height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 16px; color: #374151;
    flex-shrink: 0; line-height: 1;
    transition: background .15s;
}
.map-panel-back:hover { background: #f1f5f9; }
.map-panel-title { font-size: 15px; font-weight: 700; color: #0f172a; }
.map-panel-sub { font-size: 11px; color: #94a3b8; margin-top: 1px; }
.map-panel-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: #f8fafc;
}
.map-panel-loading {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    height: 200px; color: #94a3b8; gap: 12px; font-size: 13px;
}
.map-panel-loading-spin {
    width: 32px; height: 32px;
    border: 3px solid #e2e8f0;
    border-top-color: #dc2626;
    border-radius: 50%;
    animation: mapSpin .7s linear infinite;
}
@keyframes mapSpin { to { transform: rotate(360deg); } }
.map-panel-card {
    display: flex;
    flex: 0 0 auto;
    min-height: 118px;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
    cursor: pointer;
    transition: box-shadow .15s, transform .1s;
    text-decoration: none;
    color: inherit;
    border: 1.5px solid transparent;
}
.map-panel-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    transform: translateY(-1px);
    border-color: #e2e8f0;
    color: inherit;
    text-decoration: none;
}
.map-panel-card-img {
    width: 96px; flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    min-height: 100px;
    position: relative;
}
.map-panel-card-no-img {
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #cbd5e1;
}
.map-panel-card-body {
    flex: 1; padding: 10px 12px;
    display: flex; flex-direction: column; min-width: 0;
}
.map-panel-card-title {
    font-size: 11px; font-weight: 700;
    color: #0f172a; text-transform: uppercase;
    letter-spacing: .3px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 3px;
}
.map-panel-card-type { font-size: 11px; color: #94a3b8; margin-bottom: 3px; }
.map-panel-card-price { font-size: 16px; font-weight: 800; color: #16a34a; margin-bottom: 4px; }
.map-panel-card-meta { font-size: 11px; color: #94a3b8; margin-bottom: 8px; }
.map-panel-card-actions { display: flex; gap: 5px; margin-top: auto; flex-wrap: wrap; }
.map-panel-card-btn {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 4px 9px; border-radius: 6px;
    font-size: 11px; font-weight: 600;
    text-decoration: none; cursor: pointer;
    border: none; font-family: inherit; white-space: nowrap;
    transition: background .12s;
}
.map-pbtn-red   { background: #dc2626; color: #fff; }
.map-pbtn-red:hover { background: #b91c1c; color: #fff; }
.map-pbtn-blue  { background: #eff6ff; color: #2563eb; }
.map-pbtn-blue:hover { background: #dbeafe; }
@media (max-width: 600px) {
    .map-side-panel { width: 100%; }
}

/* ============================================
   SOCIAL PROOF NOTIFICATIONS
   ============================================ */
.social-proof-container {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 380px;
    pointer-events: none;
}

.social-proof-toast {
    background: var(--white, #fff);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 320px;
    max-width: 380px;
    animation: spSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    pointer-events: auto;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.3s ease;
}

.social-proof-toast:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-proof-toast.sp-exit {
    animation: spSlideOut 0.35s ease forwards;
}

.social-proof-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.social-proof-avatar.sp-view {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.social-proof-avatar.sp-purchase {
    background: linear-gradient(135deg, #10b981, #059669);
}

.social-proof-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-proof-body {
    flex: 1;
    min-width: 0;
}

.social-proof-action {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    margin: 0 0 3px;
    line-height: 1.3;
}

.social-proof-action strong {
    font-weight: 700;
    color: #0f172a;
}

.social-proof-property {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.social-proof-time {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.social-proof-time::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    animation: spPulse 2s infinite;
}

.social-proof-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    padding: 2px;
    opacity: 0;
    transition: opacity 0.2s;
}

.social-proof-toast:hover .social-proof-close {
    opacity: 1;
}

.social-proof-image {
    width: 52px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

@keyframes spSlideIn {
    from {
        transform: translateX(-100%) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes spSlideOut {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(-120%) scale(0.9);
        opacity: 0;
    }
}

@keyframes spPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@media (max-width: 768px) {
    .social-proof-container {
        display: none !important;
    }
}

/* ===== Price Anchor Toast ===== */
.price-anchor-toast {
    position: fixed;
    top: 5rem;
    right: 1.5rem;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1.5px solid #10b981;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12), 0 0 0 1px rgba(16,185,129,0.1);
    max-width: 400px;
    animation: paSlideIn 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.price-anchor-toast.pa-exit {
    opacity: 0;
    transform: translateX(120%);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.price-anchor-toast-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #059669;
}
.price-anchor-toast-quizzy {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border-radius: 50%;
    padding: 4px;
    animation: quizzyBounce 2s ease-in-out infinite;
}

.price-anchor-toast-body {
    flex: 1;
    min-width: 0;
}

.price-anchor-toast-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}

.price-anchor-toast-title strong {
    font-size: 17px;
    font-weight: 900;
    color: #059669;
}

.price-anchor-toast-sub {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
    line-height: 1.3;
}

.price-anchor-toast-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.price-anchor-toast-close:hover {
    background: #f3f4f6;
    color: #374151;
}

@keyframes paSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@media (max-width: 768px) {
    .price-anchor-toast {
        display: none !important;
    }
}

/* Live Visitors Badge */
.sp-live-visitors {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9997;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.06);
    animation: spFadeIn 0.5s ease;
    pointer-events: none;
    backdrop-filter: blur(12px);
    line-height: 1;
}

.sp-live-visitors strong {
    color: #4ade80;
    font-weight: 700;
    font-size: 14px;
}

.sp-live-visitors svg {
    opacity: 0.7;
    flex-shrink: 0;
}

.sp-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    flex-shrink: 0;
    animation: spPulse 2s infinite;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
}

@keyframes spFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .sp-live-visitors {
        bottom: 4.5rem;
        right: 0.75rem;
        font-size: 11px;
        padding: 8px 12px;
        gap: 6px;
    }
    .sp-live-visitors strong {
        font-size: 12px;
    }
}

/* ===== Why Us Section ===== */
.why-us-section {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding: 2rem 0;
}

.why-us-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.why-us-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.why-us-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #dc2626;
}

.why-us-card:hover::before {
    opacity: 1;
}

.why-us-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: #dc2626;
}

.why-us-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
}

.why-us-card p {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.45;
    margin: 0;
}

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

@media (max-width: 640px) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .why-us-card {
        padding: 1.25rem 1rem;
    }
    .why-us-title {
        font-size: 1.25rem;
    }
    .why-us-icon {
        width: 48px;
        height: 48px;
    }
    .why-us-icon svg {
        width: 24px;
        height: 24px;
    }
    .why-us-card h3 {
        font-size: 0.85rem;
    }
    .why-us-card p {
        font-size: 0.78rem;
    }
}

/* ===== Gated Content CTA Banners ===== */
.gated-cta-section {
    padding: 2rem 0 1rem;
}
.gated-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.gated-cta-card {
    position: relative;
    background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 50%, #ffffff 100%);
    border: 1px solid #fecaca;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
}
.gated-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
}
.gated-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.15);
    border-color: #f87171;
}
.gated-cta-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.gated-cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.gated-cta-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
}
.gated-cta-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}
.gated-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}
.gated-cta-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

/* ===== Gated Content Modal ===== */
.gated-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(4px);
    animation: gatedFadeIn 0.25s ease;
}
@keyframes gatedFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.gated-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 440px;
    width: 100%;
    padding: 2rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    animation: gatedSlideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes gatedSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: none; }
}
.gated-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}
.gated-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.gated-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.gated-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin: 0 0 0.5rem;
}
.gated-modal-desc {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}
.gated-modal-content-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 1.25rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}
.gated-modal-content-info:empty {
    display: none;
}
.gated-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.gated-form-group {
    margin-bottom: 0.75rem;
}
.gated-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}
.gated-form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #0f172a;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.gated-form-group input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    background: #fff;
}
.gated-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    border: none;
    padding: 13px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}
.gated-submit-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}
.gated-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success state */
.gated-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    animation: gatedPulse 0.5s ease;
}
@keyframes gatedPulse {
    0% { transform: scale(0); }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.gated-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    padding: 13px 32px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 0.75rem;
}
.gated-download-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
    color: #fff;
    text-decoration: none;
}
.gated-close-btn {
    display: block;
    background: none;
    border: 1px solid #e2e8f0;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    margin: 0 auto;
    transition: all 0.2s;
}
.gated-close-btn:hover {
    background: #f1f5f9;
    color: #334155;
}

/* Gated modal responsive */
@media (max-width: 640px) {
    .gated-cta-grid {
        grid-template-columns: 1fr;
    }
    .gated-cta-card {
        padding: 1.5rem;
    }
    .gated-modal {
        padding: 1.5rem;
        margin: 8px;
        border-radius: 16px;
    }
    .gated-form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== Quiz Funnel Modal ===== */
.quiz-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: quizFadeIn 0.3s ease;
}

@keyframes quizFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.quiz-modal {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 2rem 2rem 1.5rem;
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: quizSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes quizSlideUp {
    from { transform: translateY(40px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.quiz-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: #94a3b8;
    font-size: 22px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
}

.quiz-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Progress */
.quiz-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    margin-bottom: 4px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #a855f7);
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-step-label {
    font-size: 12px;
    color: #a855f7;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 1rem;
}

/* Step Content */
.quiz-step {
    animation: quizStepIn 0.35s ease;
}

@keyframes quizStepIn {
    from { transform: translateX(30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.quiz-step-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.quiz-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.quiz-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0 0 1.25rem;
    line-height: 1.5;
}

.quiz-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: #cbd5e1;
    margin: 1.25rem 0 0.75rem;
}

/* Option Buttons */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quiz-options-row {
    flex-direction: row;
    flex-wrap: wrap;
}

.quiz-options-multi {
    flex-direction: row;
    flex-wrap: wrap;
}

.quiz-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.quiz-opt:hover {
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-1px);
}

.quiz-opt.selected {
    background: rgba(124, 58, 237, 0.15);
    border-color: #7c3aed;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.quiz-opt-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.quiz-opt-label {
    flex: 1;
}

.quiz-opt-sm {
    width: auto;
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 12px 8px;
    min-width: 52px;
    font-weight: 600;
    font-size: 1rem;
}

.quiz-opt-feature {
    width: auto;
    flex: 0 0 calc(50% - 4px);
    padding: 10px 12px;
    font-size: 0.8rem;
}

/* Next & Submit Buttons */
.quiz-next-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    margin-top: 1.25rem;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.quiz-next-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

/* Form */
.quiz-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.quiz-form-group {
    margin-bottom: 12px;
}

.quiz-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 6px;
}

.quiz-form-group input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.quiz-form-group input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.quiz-form-group input::placeholder {
    color: #475569;
}

.quiz-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    margin-top: 4px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.quiz-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.quiz-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Results Grid */
.quiz-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 1rem 0;
    max-height: 320px;
    overflow-y: auto;
}

.quiz-result-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
}

.quiz-result-card:hover {
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.quiz-result-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    background: #1e293b;
}

.quiz-result-body {
    padding: 10px;
}

.quiz-result-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quiz-result-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #a855f7;
    margin: 0 0 2px;
}

.quiz-result-meta {
    font-size: 0.7rem;
    color: #64748b;
    margin: 0;
}

/* Result Actions */
.quiz-result-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

.quiz-browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.quiz-browse-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
    color: #fff;
}

.quiz-close-btn {
    padding: 12px 20px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.quiz-close-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
}

/* ===== Quizzy Mascot System ===== */

/* Base mascot container */
.quizzy-mascot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.quizzy-mascot svg { display: block; }

/* ─── Mood-specific idle animations ─── */
.quizzy-happy { animation: quizzyBounce 2.5s ease-in-out infinite; }
.quizzy-sad { animation: quizzySway 3s ease-in-out infinite; }
.quizzy-thinking { animation: quizzyThink 3s ease-in-out infinite; }
.quizzy-waving .quizzy-wave-arm { animation: quizzyWave 1s ease-in-out infinite; transform-origin: 56px 28px; }
.quizzy-sleeping { animation: quizzySleep 4s ease-in-out infinite; }
.quizzy-excited { animation: quizzyJump 0.6s ease-in-out infinite; }

@keyframes quizzyBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
@keyframes quizzySway {
    0%, 100% { transform: rotate(0deg); }
    30% { transform: rotate(-3deg); }
    70% { transform: rotate(3deg); }
}
@keyframes quizzyThink {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-2px) rotate(2deg); }
}
@keyframes quizzyWave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}
@keyframes quizzySleep {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(2px); opacity: 0.85; }
}
@keyframes quizzyJump {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
}

/* Antenna tip glow */
.quizzy-antenna-tip {
    animation: quizzyGlow 2s ease-in-out infinite;
}
@keyframes quizzyGlow {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(124, 58, 237, 0.4)); }
    50% { filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.8)); }
}

/* Tear animation */
.quizzy-tear {
    animation: quizzyTear 2s ease-in-out infinite;
}
@keyframes quizzyTear {
    0%, 40% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(4px); }
}

/* Z's floating */
.quizzy-zzz {
    animation: quizzyZzz 2.5s ease-in-out infinite;
}
.quizzy-zzz2 {
    animation: quizzyZzz 2.5s ease-in-out infinite 0.5s;
}
@keyframes quizzyZzz {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-3px); }
}

/* ─── Speech Bubble ─── */
.quizzy-bubble-wrap {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}
.quizzy-speech-bubble {
    position: relative;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    padding: 8px 14px;
    border-radius: 12px 12px 12px 2px;
    font-size: 0.8rem;
    font-weight: 500;
    max-width: 200px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
    animation: quizzyBubbleIn 0.5s ease-out;
    line-height: 1.4;
}
.quizzy-speech-bubble::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: -6px;
    width: 0; height: 0;
    border-right: 8px solid #7c3aed;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}
@keyframes quizzyBubbleIn {
    0% { opacity: 0; transform: scale(0.8) translateX(-10px); }
    100% { opacity: 1; transform: scale(1) translateX(0); }
}

/* ─── Peek-in from side (scroll triggered) ─── */
.quizzy-peek {
    position: fixed;
    z-index: 999;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}
.quizzy-peek-right {
    right: 0;
    top: 50%;
    transform: translateX(100%) translateY(-50%);
}
.quizzy-peek-left {
    left: 0;
    top: 50%;
    transform: translateX(-100%) translateY(-50%);
}
.quizzy-peek-right.quizzy-peek-visible {
    transform: translateX(-10px) translateY(-50%);
    pointer-events: auto;
    cursor: pointer;
}
.quizzy-peek-left.quizzy-peek-visible {
    transform: translateX(10px) translateY(-50%);
    pointer-events: auto;
    cursor: pointer;
}

/* ─── Empty state mascot ─── */
.quizzy-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 2.5rem 1rem;
    text-align: center;
}
.quizzy-empty-state .quizzy-mascot {
    animation: quizzySway 3s ease-in-out infinite;
}
.quizzy-empty-state p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
    max-width: 320px;
}

/* ─── Loading state mascot ─── */
.quizzy-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 2rem;
    text-align: center;
}
.quizzy-loading-state .quizzy-mascot {
    animation: quizzyJump 0.6s ease-in-out infinite;
}
.quizzy-loading-state p {
    color: #7c3aed;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
}
.quizzy-loading-dots::after {
    content: '';
    animation: quizzyDots 1.5s steps(4, end) infinite;
}
@keyframes quizzyDots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
}

/* ─── Section heading inline mascot ─── */
.quizzy-section-mascot {
    display: inline-flex;
    vertical-align: middle;
    margin-left: 8px;
    position: relative;
    top: -2px;
}

/* ─── Footer sitting mascot ─── */
.quizzy-footer-sit {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: -28px;
    margin-bottom: 12px;
    z-index: 2;
}
.quizzy-footer-sit .quizzy-mascot {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    cursor: pointer;
    transition: transform 0.3s;
}
.quizzy-footer-sit .quizzy-mascot:hover {
    transform: scale(1.15) translateY(-4px);
}
.quizzy-footer-sit .quizzy-speech-bubble {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    white-space: nowrap;
}
.quizzy-footer-sit:hover .quizzy-speech-bubble {
    opacity: 1;
}

/* ─── Property detail mascot tip ─── */
.quizzy-detail-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(124, 58, 237, 0.02));
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 12px;
}
.quizzy-detail-tip .quizzy-mascot {
    flex-shrink: 0;
}
.quizzy-detail-tip-text {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
}
.quizzy-detail-tip-text strong {
    color: #7c3aed;
    font-weight: 600;
}

/* ─── Why-us section title mascot ─── */
.why-us-title .quizzy-section-mascot {
    animation: quizzyBounce 2.5s ease-in-out infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .quizzy-peek { display: none; }
    .quizzy-footer-sit { margin-top: -20px; }
    .quizzy-detail-tip { flex-direction: column; align-items: center; text-align: center; }
    .quizzy-speech-bubble { max-width: 160px; font-size: 0.75rem; }
    .quizzy-empty-state { padding: 1.5rem 1rem; }
}

/* Floating Quiz CTA Button - Quizzy */
.quiz-float-btn {
    position: fixed;
    bottom: 6rem;
    right: 1.5rem;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(124, 58, 237, 0.4);
    transition: all 0.3s;
    animation: quizFloatPulse 3s infinite;
}

.quiz-float-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 36px rgba(124, 58, 237, 0.5);
}

.quizzy-robot-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    flex-shrink: 0;
    animation: quizzyBob 2s ease-in-out infinite;
}

@keyframes quizzyBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes quizFloatPulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(124, 58, 237, 0.4); }
    50% { box-shadow: 0 8px 28px rgba(124, 58, 237, 0.6), 0 0 0 8px rgba(124, 58, 237, 0.1); }
}

.quiz-float-btn svg {
    flex-shrink: 0;
}

/* Hero CTA Banner - Quizzy */
.quiz-hero-banner {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #5b21b6 100%);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.2);
}
.quiz-hero-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(124, 58, 237, 0.35);
}
.quiz-hero-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.quizzy-banner-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    animation: quizzyBob 2s ease-in-out infinite;
}
.quiz-hero-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #fff;
    flex: 1;
}
.quiz-hero-banner-text strong {
    font-size: 1.05rem;
    font-weight: 700;
}
.quiz-hero-banner-text span {
    font-size: 0.85rem;
    opacity: 0.85;
}
@media (max-width: 640px) {
    .quiz-hero-banner { padding: 1rem 1.15rem; }
    .quiz-hero-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
    .quizzy-banner-avatar { margin: 0 auto; }
    .quiz-hero-btn { justify-content: center; width: 100%; }
}

/* Quizzy Modal Header */
.quizzy-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}
.quizzy-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    animation: quizzyBob 2s ease-in-out infinite;
}
.quizzy-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.quizzy-header-text strong {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}
.quizzy-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
.quizzy-status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: quizzyPulse 2s ease-in-out infinite;
}
@keyframes quizzyPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

/* Hero CTA Button - Quizzy */
.quiz-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255,255,255,0.95);
    color: #6d28d9;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.quiz-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
    background: #fff;
    color: #6d28d9;
}

@media (max-width: 640px) {
    .quiz-modal {
        padding: 1.5rem 1.25rem 1.25rem;
        margin: 6px;
        border-radius: 16px;
        max-height: 95vh;
    }
    .quiz-title { font-size: 1.15rem; }
    .quiz-step-icon { font-size: 2rem; }
    .quiz-form-row { grid-template-columns: 1fr; }
    .quiz-results-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .quiz-result-img { height: 80px; }
    .quiz-opt-feature { flex: 0 0 calc(50% - 4px); }
    .quiz-float-btn span.quiz-float-text { display: none; }
    .quiz-float-btn { padding: 12px; border-radius: 50%; }
}

/* ═══════════════════════════════════════════════════
   LANDING PAGE (Kampanya Sayfaları)
   ═══════════════════════════════════════════════════ */

.landing-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0f172a 100%);
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 0;
    margin-bottom: 1rem;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: stretch;
}

.landing-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.75) 45%, rgba(15,23,42,0.35) 100%);
    z-index: 1;
}

.landing-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 3.5rem;
}

.landing-hero-text {
    flex: 1;
    min-width: 0;
}

.landing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(220,38,38,0.15);
    border: 1px solid rgba(220,38,38,0.35);
    color: #fca5a5;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}

.landing-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.landing-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    max-width: 480px;
}

.landing-hero-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    min-width: 220px;
}

.landing-hero-stat-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.landing-hero-stat-num {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-hero-stat-txt {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.landing-hero-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    padding: 16px 28px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(220,38,38,0.35);
}

.landing-hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(220,38,38,0.50);
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.landing-filter-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(96,165,250,0.12);
    color: #60a5fa;
    border: 1px solid rgba(96,165,250,0.2);
}

.landing-cta-section {
    margin: 2.5rem 0;
    scroll-margin-top: 80px;
}

.landing-cta-inner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(96,165,250,0.15);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 650px;
    margin: 0 auto;
}

.landing-cta-inner .lead-form-field label {
    color: #cbd5e1;
}

.landing-cta-inner .lead-form-field input,
.landing-cta-inner .lead-form-field textarea {
    background: rgba(255,255,255,0.08);
    border-color: rgba(148,163,184,0.25);
    color: #f1f5f9;
}

.landing-cta-inner .lead-form-field input::placeholder,
.landing-cta-inner .lead-form-field textarea::placeholder {
    color: #64748b;
}

.landing-cta-inner .lead-form-field input:focus,
.landing-cta-inner .lead-form-field textarea:focus {
    background: rgba(255,255,255,0.12);
    border-color: #3b82f6;
}

.landing-cta-inner .lead-submit-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    margin-top: 8px;
}

.landing-cta-inner .lead-submit-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

.landing-cta-inner .lead-success h3 {
    color: #f1f5f9;
}

.landing-cta-inner .lead-success p {
    color: #94a3b8;
}

.landing-cta-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .landing-hero { border-radius: 14px; min-height: auto; }
    .landing-hero-inner { flex-direction: column; padding: 2rem 1.5rem; text-align: center; gap: 1.5rem; }
    .landing-hero-title { font-size: 1.6rem; }
    .landing-hero-subtitle { font-size: 0.95rem; }
    .landing-hero-actions { min-width: unset; width: 100%; flex-direction: row; }
    .landing-hero-stat-card { flex: 1; padding: 1rem; }
    .landing-hero-stat-num { font-size: 2rem; }
    .landing-hero-cta-btn { flex: 1; padding: 14px 16px; font-size: 0.95rem; }
    .landing-cta-inner { padding: 1.5rem; }
}
/* SEO landing FAQ */
.category-faq {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}
.category-faq details {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    padding: 0 16px;
}
.category-faq summary {
    cursor: pointer;
    padding: 14px 0;
    font-weight: 700;
    color: #111827;
}
.category-faq details p {
    margin: 0;
    padding: 0 0 14px;
    color: #4b5563;
    line-height: 1.65;
}
