:root {
    --primary: #0c3d4a;
    --primary-light: #165a6b;
    --primary-dark: #082a33;
    --accent: #14b8a6;
    --accent-hover: #0d9488;
    --accent-soft: #ccfbf1;
    --accent-warm: #f59e0b;
    --accent-warm-soft: #fef3c7;
    --bg: #f4f8f7;
    --surface: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #dce8e5;
    --success: #059669;
    --sale: #e11d48;
    --sale-soft: #ffe4e6;
    --rent: #0d9488;
    --rent-soft: #ccfbf1;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 4px 20px rgba(12, 61, 74, 0.07);
    --shadow-lg: 0 20px 50px rgba(12, 61, 74, 0.12);
    --shadow-accent: 0 8px 28px rgba(20, 184, 166, 0.25);
    --font: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(16px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 2rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.25rem; color: var(--primary); }
.logo img { height: 40px; width: auto; }
.logo-icon { font-size: 1.5rem; }
.main-nav { display: flex; gap: 2rem; }
.main-nav a { font-weight: 500; color: var(--text-muted); transition: color var(--transition); position: relative; }
.main-nav a:hover { color: var(--accent); }
.main-nav a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--accent); transition: width var(--transition);
}
.main-nav a:hover::after { width: 100%; }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
    display: inline-flex; align-items: center; gap: 0.35rem;
    background: none; border: none; font-family: inherit; font-weight: 500;
    font-size: inherit; color: var(--text-muted); cursor: pointer; padding: 0;
    transition: color var(--transition);
}
.nav-dropdown-trigger:hover, .nav-dropdown.is-open .nav-dropdown-trigger { color: var(--accent); }
.nav-dropdown-menu {
    display: none; position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
    min-width: 200px; background: var(--surface); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
    padding: 0.5rem 0; z-index: 200;
}
.nav-dropdown-menu::before {
    content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
    width: 12px; height: 12px; background: var(--surface); border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
}
.nav-dropdown.is-open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
    display: block; padding: 0.6rem 1.25rem; font-size: 0.9rem; font-weight: 500;
    color: var(--text); transition: background var(--transition), color var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--accent-soft); color: var(--accent-hover); }
.nav-dropdown-menu a::after { display: none; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
    border: 2px solid transparent; cursor: pointer; transition: all var(--transition); font-family: inherit;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white; box-shadow: var(--shadow-accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(20, 184, 166, 0.35); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-hover); background: var(--accent-soft); }
.btn-outline.btn-light { border-color: rgba(255,255,255,0.35); color: white; }
.btn-outline.btn-light:hover { background: rgba(255,255,255,0.12); border-color: white; color: white; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { position: relative; min-height: 580px; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 45%, var(--primary-light) 100%);
}
.hero-bg::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(20, 184, 166, 0.18), transparent 60%);
}
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; padding: 3.5rem 0; width: 100%; }
.hero-title {
    font-family: var(--font-display); font-size: clamp(1.5rem, 3.2vw, 2.25rem);
    color: var(--surface); font-weight: 700; line-height: 1.3; margin-bottom: 1rem; max-width: 640px;
}
.hero-subtitle { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin-bottom: 2rem; max-width: 520px; }

.search-box {
    background: var(--surface); border-radius: var(--radius-lg); padding: 1.75rem;
    box-shadow: var(--shadow-lg); margin-bottom: 2rem; border: 1px solid rgba(255,255,255,0.8);
}
.search-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.search-field label { display: block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.4rem; }
.search-field select, .search-field input {
    width: 100%; padding: 0.65rem 0.85rem; border: 1px solid var(--border);
    border-radius: 10px; font-family: inherit; font-size: 0.9rem; background: var(--bg); transition: border-color var(--transition);
}
.search-field select:focus, .search-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12); }
.btn-search { width: 100%; padding: 1rem; font-size: 1rem; }

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.stat-card {
    display: flex; align-items: center; gap: 1rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    transition: all var(--transition);
}
.stat-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(20, 184, 166, 0.45);
    transform: translateY(-2px);
}
.stat-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-icon--primary { background: rgba(20, 184, 166, 0.2); color: #5eead4; }
.stat-icon--sale { background: rgba(225, 29, 72, 0.2); color: #fda4af; }
.stat-icon--rent { background: rgba(13, 148, 136, 0.25); color: #99f6e4; }
.stat-icon--happy { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }
.stat-body strong { display: block; font-size: 1.65rem; font-weight: 700; color: white; line-height: 1.1; }
.stat-body span { color: rgba(255,255,255,0.6); font-size: 0.82rem; font-weight: 500; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--surface); }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.section-title { font-family: var(--font-display); font-size: 1.9rem; color: var(--primary); font-weight: 700; }
.section-desc { color: var(--text-muted); margin-top: 0.25rem; }
.link-more { color: var(--accent-hover); font-weight: 600; transition: color var(--transition); }
.link-more:hover { color: var(--accent); }

/* Property Grid */
.property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.75rem; }

.property-card {
    background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border);
}
.property-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-image { position: relative; aspect-ratio: 4/3; overflow: hidden; display: block; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.property-card:hover .card-image img { transform: scale(1.05); }
.card-badges { position: absolute; top: 1rem; left: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.badge { padding: 0.3rem 0.75rem; border-radius: 8px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.badge-sale { background: var(--sale); color: white; }
.badge-rent { background: var(--rent); color: white; }
.badge-featured { background: var(--accent-warm); color: var(--primary-dark); }
.badge-type { background: rgba(12, 61, 74, 0.85); color: white; backdrop-filter: blur(4px); }
.card-body { padding: 1.25rem 1.5rem 1.5rem; }
.card-price { font-size: 1.3rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.price-night, .card-price .price-night { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); }
.card-body h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.4; }
.card-body h3 a:hover { color: var(--accent-hover); }
.card-location { display: flex; align-items: center; gap: 0.35rem; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.75rem; }
.card-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; font-size: 0.82rem; color: var(--text-muted); }
.card-meta span { background: var(--bg); padding: 0.25rem 0.65rem; border-radius: 8px; border: 1px solid var(--border); }
.card-agency { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--accent-hover); font-weight: 500; }

/* Agency Grid */
.section-eyebrow { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.35rem; }
.section-header--center { justify-content: center; text-align: center; }
.section-header--center .section-desc { margin-left: auto; margin-right: auto; }

/* Consultants */
.consultants-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.consultant-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition);
}
.consultant-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.consultant-photo { aspect-ratio: 1; overflow: hidden; background: var(--bg); }
.consultant-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.consultant-card:hover .consultant-photo img { transform: scale(1.05); }
.consultant-info { padding: 1.35rem 1.5rem 1.5rem; text-align: center; }
.consultant-info h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 0.25rem; }
.consultant-title { color: var(--accent-hover); font-size: 0.88rem; font-weight: 500; margin-bottom: 1rem; }
.consultant-contacts { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-item {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-size: 0.88rem; color: var(--text-muted); padding: 0.5rem; border-radius: 10px;
    transition: all var(--transition);
}
.contact-item:hover { background: var(--accent-soft); color: var(--accent-hover); }

.consultant-detail-photo {
    width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
    margin: 0 auto 1rem; display: block; border: 3px solid var(--accent-soft);
}
.consultant-detail-title { display: block; text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.consultant-detail-card { text-align: center; }

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 4rem 0; position: relative; overflow: hidden; }
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(20, 184, 166, 0.15), transparent 50%);
}
.cta-inner { text-align: center; color: white; position: relative; }
.cta-inner h2 { font-family: var(--font-display); font-size: 1.9rem; margin-bottom: 0.75rem; }
.cta-inner p { color: rgba(255,255,255,0.72); margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* Page Header */
.page-header { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: white; padding: 2.75rem 0; }
.page-header h1 { font-family: var(--font-display); font-size: 2rem; }
.page-header p { color: rgba(255,255,255,0.7); margin-top: 0.5rem; }

/* Listings Layout */
.listings-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.filters-panel {
    background: var(--surface); border-radius: var(--radius-lg); padding: 1.5rem;
    box-shadow: var(--shadow); position: sticky; top: 90px; border: 1px solid var(--border);
}
.filters-form h3 { font-size: 1.05rem; margin-bottom: 1.25rem; color: var(--primary); }
.filter-group { margin-bottom: 1rem; }
.filter-group label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.35rem; }
.filter-group select, .filter-group input {
    width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--border);
    border-radius: 10px; font-family: inherit; font-size: 0.9rem; transition: border-color var(--transition);
}
.filter-group select:focus, .filter-group input:focus { outline: none; border-color: var(--accent); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a { padding: 0.5rem 0.85rem; border: 1px solid var(--border); border-radius: 10px; background: white; font-weight: 500; transition: all var(--transition); }
.pagination a.active, .pagination a:hover { background: var(--primary); color: white; border-color: var(--primary); }

.empty-state { text-align: center; padding: 4rem 2rem; background: white; border-radius: var(--radius-lg); color: var(--text-muted); border: 1px dashed var(--border); }

/* ===== Detail Page ===== */
.detail-page { padding-bottom: 3rem; }

.breadcrumb { padding: 1.25rem 0 0; font-size: 0.88rem; color: var(--text-muted); }
.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }

.detail-top { margin: 1rem 0 1.5rem; }
.detail-title {
    font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary); margin: 0 0 0.75rem; line-height: 1.25;
}
.detail-meta-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.detail-meta-row .detail-location { margin: 0; }

.detail-header {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem;
    margin: 1.25rem 0 1.75rem; flex-wrap: wrap;
    padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.detail-header h1 { font-family: var(--font-display); font-size: 1.85rem; color: var(--primary); margin: 0.6rem 0; line-height: 1.25; }
.detail-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.detail-location { color: var(--text-muted); display: flex; align-items: center; gap: 0.35rem; font-size: 0.95rem; }
.detail-price-box {
    text-align: right; background: linear-gradient(135deg, var(--accent-soft), var(--surface));
    padding: 1rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--border);
}
.detail-price { font-size: 2rem; font-weight: 700; color: var(--primary); font-family: var(--font-display); }
.price-period { color: var(--text-muted); font-size: 0.88rem; }

/* Gallery */
.detail-gallery { margin-bottom: 2.5rem; }

.gallery-wrapper {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 0.75rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.gallery-wrapper--single { grid-template-columns: 1fr; }

.gallery-main {
    position: relative;
    border-radius: calc(var(--radius-lg) - 4px);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--primary-dark);
    cursor: zoom-in;
}

.gallery-main img {
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity 0.35s ease, transform 0.5s ease;
}
.gallery-main:hover img { transform: scale(1.02); }
.gallery-main img.is-fading { opacity: 0; }

.gallery-counter {
    position: absolute; bottom: 1rem; left: 1rem;
    background: rgba(8, 42, 51, 0.75); backdrop-filter: blur(8px);
    color: white; padding: 0.4rem 0.85rem; border-radius: 20px;
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em;
}

.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.92); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: all var(--transition); color: var(--primary);
    opacity: 0; pointer-events: none;
}
.gallery-main:hover .gallery-nav,
.gallery-nav:focus { opacity: 1; pointer-events: auto; }
.gallery-nav:hover { background: var(--accent); color: white; transform: translateY(-50%) scale(1.08); }
.gallery-nav--prev { left: 1rem; }
.gallery-nav--next { right: 1rem; }
.gallery-nav svg { width: 20px; height: 20px; }

.gallery-thumbs {
    display: flex; flex-direction: column; gap: 0.6rem;
    overflow-y: auto; max-height: 100%;
    padding-right: 2px;
}
.gallery-thumbs::-webkit-scrollbar { width: 4px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.thumb {
    border: 2px solid transparent; border-radius: 10px; overflow: hidden;
    aspect-ratio: 4/3; cursor: pointer; padding: 0; background: var(--bg);
    flex-shrink: 0; transition: all var(--transition); position: relative;
}
.thumb::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(12, 61, 74, 0); transition: background var(--transition);
}
.thumb:hover::after { background: rgba(12, 61, 74, 0.15); }
.thumb.active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.25); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs--horizontal { display: none; }

/* Detail content */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.detail-section { margin-bottom: 2rem; }
.detail-section h2 {
    font-size: 1.15rem; color: var(--primary); margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.detail-section h2::before {
    content: ''; width: 4px; height: 1.1em;
    background: linear-gradient(180deg, var(--accent), var(--primary-light));
    border-radius: 2px;
}

.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.85rem; }
.info-item {
    background: var(--surface); padding: 1rem 1.15rem; border-radius: var(--radius);
    border: 1px solid var(--border); transition: border-color var(--transition), box-shadow var(--transition);
}
.info-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.info-item span { display: block; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.info-item strong { color: var(--primary); font-size: 1rem; }

.description-text {
    background: var(--surface); padding: 1.5rem; border-radius: var(--radius);
    border: 1px solid var(--border); line-height: 1.85; color: var(--text);
}

.agent-card {
    background: var(--surface); border-radius: var(--radius-lg); padding: 1.75rem;
    box-shadow: var(--shadow); border: 1px solid var(--border);
    position: sticky; top: 90px;
}
.agent-card::before {
    content: ''; display: block; height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    border-radius: 4px; margin: -1.75rem -1.75rem 1.25rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.agent-card h3 { margin-bottom: 1rem; color: var(--primary); font-size: 1rem; }
.agent-logo { max-height: 50px; margin-bottom: 1rem; border-radius: 8px; }
.agent-card strong { display: block; margin-bottom: 1rem; font-size: 1.05rem; color: var(--primary); }
.agent-card .btn { margin-bottom: 0.5rem; }

/* Booking card */
.booking-card {
    background: var(--surface); border-radius: var(--radius-lg); padding: 1.75rem;
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
    position: sticky; top: 90px;
}
.booking-card h3 { margin-bottom: 0.5rem; color: var(--primary); font-size: 1.1rem; }
.booking-price { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 1.25rem; }
.booking-price span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.booking-card .form-group { margin-bottom: 0.85rem; }
.booking-card label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.35rem; }
.booking-card input, .booking-card select, .booking-card textarea {
    width: 100%; padding: 0.65rem 0.85rem; border: 1px solid var(--border);
    border-radius: 10px; font-family: inherit; font-size: 0.95rem;
    transition: border-color var(--transition);
}
.booking-card input:focus, .booking-card select:focus, .booking-card textarea:focus {
    outline: none; border-color: var(--accent);
}
.booking-divider { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }
.booking-summary { background: var(--bg); border-radius: 10px; padding: 1rem; margin-bottom: 0.85rem; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.summary-total { font-size: 1rem; color: var(--primary); margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px dashed var(--border); }
.booking-availability { font-size: 0.88rem; margin-bottom: 0.75rem; font-weight: 600; }
.booking-availability.is-success { color: var(--success); }
.booking-availability.is-error { color: #dc2626; }
.booking-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 0.75rem; line-height: 1.5; }
.alert { padding: 1rem 1.25rem; border-radius: 10px; margin-bottom: 1.5rem; font-weight: 500; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Header actions */
.header-actions { display: flex; gap: 0.5rem; align-items: center; }

/* Booking search — otel tarzı */
.booking-search-wrap { margin-bottom: 2rem; }
.booking-search-form {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 0; background: var(--surface); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: visible;
    position: relative;
}
.booking-search-form--compact { grid-template-columns: 2fr 1fr auto; }
.bs-field { padding: 1rem 1.25rem; border-right: 1px solid var(--border); position: relative; }
.bs-field:last-child { border-right: none; }
.bs-field label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.35rem; }
.bs-field--action { display: flex; align-items: flex-end; padding: 0.75rem; }
.bs-field select, .guest-trigger, .drp-display {
    width: 100%; background: transparent; border: none; text-align: left;
    font-family: inherit; font-size: 0.95rem; font-weight: 600; color: var(--primary);
    cursor: pointer; padding: 0;
}
.drp-display { display: flex; align-items: center; gap: 0.75rem; }
.drp-date { display: flex; flex-direction: column; }
.drp-date small { font-size: 0.7rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; }
.drp-date strong { font-size: 0.95rem; color: var(--primary); }
.drp-sep { color: var(--text-muted); font-size: 1.1rem; }

/* Date range picker popup */
.drp-popup {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 200;
    background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    border: 1px solid var(--border); padding: 1.25rem; min-width: 620px;
}
.drp-popup.is-open { display: block; }
.drp-popup--detail { left: 0; right: auto; }
.drp-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.drp-title { font-weight: 600; color: var(--primary); font-size: 0.9rem; }
.drp-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: white; cursor: pointer; font-size: 1.2rem; color: var(--primary); }
.drp-nav:hover { background: var(--accent-soft); border-color: var(--accent); }
.drp-calendars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.drp-month-name { font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; font-size: 0.9rem; }
.drp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.drp-dow { text-align: center; font-size: 0.7rem; font-weight: 700; color: var(--text-muted); padding: 0.35rem; }
.drp-day { aspect-ratio: 1; border: none; background: transparent; border-radius: 8px; font-size: 0.85rem; font-weight: 500; cursor: pointer; color: var(--text); font-family: inherit; }
.drp-day:hover:not(:disabled) { background: var(--accent-soft); }
.drp-day.drp-start, .drp-day.drp-end { background: var(--accent); color: white; font-weight: 700; }
.drp-day.drp-in-range { background: var(--accent-soft); color: var(--primary); }
.drp-day.drp-disabled { color: #cbd5e1; cursor: not-allowed; text-decoration: line-through; }
.drp-footer { display: flex; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.drp-clear { background: none; border: none; color: var(--text-muted); cursor: pointer; font-family: inherit; text-decoration: underline; }
.drp-apply { background: var(--accent); color: white; border: none; padding: 0.6rem 1.25rem; border-radius: 10px; font-weight: 600; cursor: pointer; font-family: inherit; }
.drp-apply:disabled { opacity: 0.4; cursor: not-allowed; }

/* Guest selector */
.guest-selector { position: relative; }
.guest-panel {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 200;
    background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    border: 1px solid var(--border); padding: 1rem; min-width: 280px;
}
.guest-panel.is-open { display: block; }
.guest-row { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.guest-row small { display: block; color: var(--text-muted); font-size: 0.78rem; }
.guest-controls { display: flex; align-items: center; gap: 0.75rem; }
.guest-controls button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); background: white; cursor: pointer; font-size: 1.1rem; }
.guest-controls button:hover { border-color: var(--accent); color: var(--accent); }
.guest-apply { margin-top: 0.75rem; }

/* Hotel booking bar — detay sayfası */
.hotel-booking-bar {
    background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    border: 1px solid var(--border); margin: 1.5rem 0 2rem; position: relative; z-index: 50;
}
.hotel-booking-bar.is-stuck {
    position: fixed; top: 72px; left: 0; right: 0; z-index: 90;
    border-radius: 0; margin: 0; box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.hotel-booking-bar.is-stuck .hbb-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.hbb-inner { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 0; align-items: stretch; }
.hbb-dates, .hbb-guests, .hbb-price { padding: 1rem 1.5rem; border-right: 1px solid var(--border); }
.hbb-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.35rem; }
.hbb-total { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.hbb-btn { margin: 0.75rem; align-self: center; padding: 1rem 2rem; white-space: nowrap; }
.detail-layout--full { grid-template-columns: 1fr !important; }

/* Booking modal */
.booking-modal { display: none; position: fixed; inset: 0; z-index: 1000; }
.booking-modal.is-open { display: flex; align-items: center; justify-content: center; }
.booking-modal-backdrop { position: absolute; inset: 0; background: rgba(8, 42, 51, 0.5); backdrop-filter: blur(4px); }
.booking-modal-panel {
    position: relative; background: white; border-radius: var(--radius-lg);
    padding: 2rem; max-width: 480px; width: 90%; max-height: 90vh; overflow-y: auto;
    box-shadow: var(--shadow-lg); z-index: 1;
}
.booking-modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); }
.booking-modal-panel h2 { color: var(--primary); margin-bottom: 0.25rem; }
.modal-subtitle { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Host profile inline */
.host-card-inline .host-profile { display: flex; align-items: center; gap: 1rem; }
.host-profile img { width: 64px; height: 64px; border-radius: 50%; }
.host-profile a { display: block; color: var(--accent); font-size: 0.9rem; }

.booking-bar-section { background: var(--surface); border-bottom: 1px solid var(--border); padding: 1.25rem 0; margin-bottom: 0; }
.booking-search-wrap--page .booking-search-form { box-shadow: var(--shadow); }
.page-header--booking { padding-bottom: 1rem; }

.agency-header { display: flex; align-items: center; gap: 1.5rem; }
.agency-header-logo { width: 80px; height: 80px; object-fit: contain; border-radius: 14px; background: white; padding: 0.5rem; }

/* Footer */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.78); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand h3 { color: white; font-family: var(--font-display); margin-bottom: 0.75rem; }
.footer-grid h4 { color: white; margin-bottom: 1rem; font-size: 0.95rem; }
.footer-grid a { display: block; color: rgba(255,255,255,0.55); margin-bottom: 0.5rem; transition: color var(--transition); }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; text-align: center; font-size: 0.88rem; color: rgba(255,255,255,0.4); }

.error-page { text-align: center; padding: 6rem 2rem; }
.error-page h1 { font-size: 4rem; color: var(--primary); font-family: var(--font-display); }

@media (max-width: 900px) {
    .main-nav { display: none; }
    .header-actions .btn-outline { display: none; }
    .listings-layout, .detail-layout { grid-template-columns: 1fr; }
    .filters-panel { position: static; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .booking-search-form, .booking-search-form--compact { grid-template-columns: 1fr; }
    .bs-field { border-right: none; border-bottom: 1px solid var(--border); }
    .drp-popup { min-width: calc(100vw - 2rem); left: 0; }
    .drp-calendars { grid-template-columns: 1fr; }
    .hbb-inner { grid-template-columns: 1fr; }
    .hbb-dates, .hbb-guests, .hbb-price { border-right: none; border-bottom: 1px solid var(--border); }
    .hbb-btn { margin: 0; border-radius: 0; width: 100%; }

    .gallery-wrapper { grid-template-columns: 1fr; }
    .gallery-thumbs { display: none; }
    .gallery-thumbs--horizontal {
        display: flex; flex-direction: row; gap: 0.6rem;
        margin-top: 0.75rem; overflow-x: auto; padding-bottom: 4px;
    }
    .gallery-thumbs--horizontal .thumb { width: 90px; height: 68px; flex-shrink: 0; }
    .gallery-nav { opacity: 1; pointer-events: auto; width: 38px; height: 38px; }
    .detail-price-box { text-align: left; width: 100%; }
}
