/* ============================================================
 * Goldengolbyatlas — public theme · v3 (yeni)
 * Beyaz · Siyah · Gold · Sade kurumsal · Responsive
 * ============================================================ */

/* ---------- Tokens ---------- */
:root {
    --bg:           #FFFFFF;
    --bg-soft:      #FAFAF6;
    --bg-muted:     #F4F1E9;
    --surface:      #FFFFFF;
    --ink:          #141414;
    --text:         #1A1A1A;
    --text-2:       #4A4A4A;
    --text-3:       #6F6F6F;
    --text-4:       #9A9A9A;
    --line:         #E5E2D6;
    --line-2:       #EFECDF;
    --line-3:       #F5F2E7;
    --gold:         #B89968;
    --gold-dark:    #8C6F47;
    --gold-light:   #DABF8E;
    --gold-soft:    #F1E8D4;
    --success:      #2E7D32;
    --error:        #C62828;
    --shadow-sm:    0 1px 2px rgba(20,20,20,.04);
    --shadow:       0 4px 16px -8px rgba(20,20,20,.08);
    --shadow-lg:    0 12px 32px -12px rgba(20,20,20,.12);
    --shadow-xl:    0 24px 56px -20px rgba(20,20,20,.18);
    --r-sm:         4px;
    --r:            6px;
    --r-lg:         10px;
    --t-fast:       150ms;
    --t:            250ms;
    --t-slow:       400ms;
    --ease:         cubic-bezier(.22,1,.36,1);
    --container:    1280px;
    --gutter:       clamp(16px, 4vw, 40px);
    --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--text); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--r-sm); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #C9C0AE; border: 2px solid var(--bg-soft); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---------- Typography ---------- */
.h1, h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.02em; }
.h2, h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
.h3, h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; }
.h4, h4 { font-size: 1.05rem; font-weight: 600; }
.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-dark);
}
.lede {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-2);
    max-width: 60ch;
}
.muted { color: var(--text-3); }
.gold { color: var(--gold-dark); }
p { color: var(--text-2); }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p, .section-dark .lede { color: rgba(255,255,255,.78); }
.section-dark .eyebrow { color: var(--gold-light); }

.section-head {
    margin-bottom: clamp(32px, 5vw, 56px);
    max-width: 720px;
}
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lede { color: var(--text-2); }

.divider { height: 1px; background: var(--line); margin: 0; border: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    border: 1px solid var(--ink);
    color: var(--ink);
    background: transparent;
    border-radius: var(--r-sm);
    transition: all var(--t-fast) var(--ease);
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
}
.btn:hover { background: var(--ink); color: #fff; }

.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--text); color: var(--text); }

.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-lg { padding: 16px 28px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }

.btn-arrow::after {
    content: "→";
    transition: transform var(--t-fast) var(--ease);
    font-size: 1.1em;
}
.btn-arrow:hover::after { transform: translateX(3px); }

.link {
    color: var(--gold-dark);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 1px;
    font-weight: 500;
    transition: all var(--t-fast) var(--ease);
}
.link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-2);
    transition: padding var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.nav.scrolled { padding: 12px 0; box-shadow: var(--shadow-sm); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -.02em;
    line-height: 1;
}
.brand-mark { color: var(--gold-dark); }
.brand-logo img { height: 36px; width: auto; max-width: 220px; display: block; }

.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
}
.nav-menu a {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    border-radius: var(--r-sm);
    transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-menu a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-menu a.active { color: var(--gold-dark); background: var(--gold-soft); }

.nav-cta {
    margin-left: 8px;
    padding: 9px 16px !important;
    border: 1px solid var(--ink);
    color: var(--ink) !important;
    border-radius: var(--r-sm);
    font-weight: 600 !important;
}
.nav-cta:hover, .nav-cta.active {
    background: var(--ink) !important;
    color: #fff !important;
}
.nav-cta.nav-cta-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff !important;
}
.nav-cta.nav-cta-gold:hover, .nav-cta.nav-cta-gold.active {
    background: var(--gold-dark) !important;
    border-color: var(--gold-dark);
    color: #fff !important;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    padding: 6px 10px;
    border-radius: var(--r-sm);
    transition: color var(--t-fast) var(--ease);
}
.nav-phone:hover { color: var(--gold-dark); }

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface);
}
.nav-toggle span {
    display: block;
    width: 18px; height: 1.5px;
    background: var(--ink);
    position: relative;
    transition: all var(--t-fast) var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; left: 0;
    width: 100%; height: 1.5px;
    background: var(--ink);
    transition: all var(--t-fast) var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
    .nav-menu, .nav-phone { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-menu.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: var(--surface);
        padding: 20px var(--gutter);
        gap: 4px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }
    .nav-menu.mobile-open a { padding: 12px 14px; font-size: 15px; }
}

.brand-demo {
    display: inline-block;
    padding: 2px 6px;
    background: var(--gold-soft);
    color: var(--gold-dark);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-left: 6px;
    border-radius: 3px;
    line-height: 1;
    align-self: center;
}

/* ============================================================
 * HERO — Luxe editorial · full-bg image · glass content card
 * Yapısı: .hero > .hero-slide > .slide-media + .hero-content
 *         + .hero-controls (sağ-alt) + .hero-next (sağ-üst)
 * ============================================================ */
.hero {
    position: relative;
    min-height: clamp(540px, 70vh, 720px);
    background: var(--ink);
    overflow: hidden;
    isolation: isolate;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility 0s linear .9s;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity .9s ease;
    z-index: 1;
}

.hero-slide .slide-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.hero-slide .slide-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 9s cubic-bezier(.22,1,.36,1);
}
.hero-slide.active .slide-media img { transform: scale(1); }

/* Lokal gölge — sadece sol-alt content kısmında, görselin geri kalanı tam açık */
.hero-slide .slide-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 18% 95%, rgba(15,15,15,.78) 0%, rgba(15,15,15,.45) 30%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}

/* Content — sol-alt köşede konumlanır */
.hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 0 var(--gutter) clamp(72px, 9vw, 110px);
    color: #fff;
}
@media (min-width: 1320px) {
    .hero-content {
        padding-left: calc((100vw - var(--container)) / 2 + var(--gutter));
    }
}
.hero-content > * { max-width: 580px; }

/* Eyebrow — gold çizgi + label */
.hero-content .eyebrow {
    color: var(--gold-light);
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    padding: 6px 14px 6px 0;
}
.hero-content .eyebrow::before {
    content: "";
    display: inline-block;
    width: 36px;
    height: 1px;
    background: var(--gold-light);
    flex-shrink: 0;
}

/* H1 — büyük, 3 satır clamp, gölge */
.hero h1 {
    color: #fff;
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -.015em;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 16px rgba(0,0,0,.30);
}
.hero h1 em { color: var(--gold-light); font-style: normal; font-weight: 700; }

.hero-lede {
    color: rgba(255,255,255,.88);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 22px;
    max-width: 460px;
    text-shadow: 0 1px 8px rgba(0,0,0,.25);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.hero-actions .btn {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 8px 24px -8px rgba(184,147,104,.5);
}
.hero-actions .btn:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}
.hero-actions .btn.btn-ghost {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.4);
    color: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
}
.hero-actions .btn.btn-ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

/* Slider controls — sağ-alt köşe, hero-content ile aynı baseline */
.hero-controls {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(28px, 5vw, 48px);
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 5;
    color: rgba(255,255,255,.9);
}
@media (min-width: 1280px) {
    .hero-controls {
        right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
    }
}

.hero-counter {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .14em;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}
.hero-counter .current {
    color: var(--gold-light);
    font-weight: 700;
    font-size: 15px;
}
.hero-counter .total { color: rgba(255,255,255,.5); font-size: 12px; }
.hero-counter .progress {
    width: 64px; height: 1px;
    background: rgba(255,255,255,.22);
    position: relative;
    overflow: hidden;
}
.hero-counter .progress-bar {
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    background: var(--gold-light);
    transition: width .6s var(--ease);
}

.hero-arrows {
    display: flex;
    gap: 6px;
}
.hero-prev, .hero-next-btn {
    width: 42px; height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: all var(--t-fast) var(--ease);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 16px;
}
.hero-prev:hover, .hero-next-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-1px);
}

/* Hero next önizleme — sağ üst, cam kart */
.hero-next {
    position: absolute;
    right: var(--gutter);
    top: clamp(96px, 12vh, 130px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 10px 10px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.20);
    color: #fff;
    border-radius: var(--r);
    transition: all var(--t-fast) var(--ease);
    z-index: 4;
    max-width: 260px;
    text-decoration: none;
}
@media (min-width: 1280px) {
    .hero-next {
        right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
    }
}
.hero-next:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.4);
    transform: translateY(-2px);
}
.hero-next .thumb {
    width: 44px; height: 44px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--r-sm);
    border: 1px solid rgba(255,255,255,.15);
}
.hero-next .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-next .info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.hero-next .label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 600;
}
.hero-next .title {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== Hero responsive ===== */
@media (max-width: 980px) {
    .hero-next {
        top: 90px;
        max-width: 200px;
        padding: 8px 12px 8px 8px;
    }
    .hero-next .thumb { width: 36px; height: 36px; }
    .hero-next .title { font-size: 11px; }
    .hero-content { padding-bottom: 100px; }
}
@media (max-width: 760px) {
    .hero { min-height: 520px; }
    .hero-next { display: none; }
    .hero-content {
        padding: 24px var(--gutter) 92px;
    }
    .hero-content .eyebrow { font-size: 10px; letter-spacing: .18em; }
    .hero h1 { font-size: clamp(1.4rem, 5.5vw, 2rem); -webkit-line-clamp: 4; }
    .hero-lede { font-size: 14px; -webkit-line-clamp: 3; max-width: 100%; }
    .hero-actions { gap: 8px; }
    .hero-actions .btn { padding: 11px 18px; font-size: 12px; }
    .hero-controls { right: var(--gutter); bottom: 22px; gap: 12px; }
    .hero-counter .progress { width: 44px; }
    .hero-prev, .hero-next-btn { width: 36px; height: 36px; }
}
@media (max-width: 480px) {
    .hero-counter .total { display: none; }
    .hero-actions .btn.btn-ghost { display: none; }
}

/* ---------- Search Bar — hero altında ayrı bölüm, bindirme yok ---------- */
.search {
    position: relative;
    max-width: var(--container);
    margin: 36px auto 0;
    padding: 0 var(--gutter);
    z-index: 10;
}
.search-inner {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 8px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.3fr 0.85fr 0.95fr 0.85fr 1fr auto;
    gap: 0;
}
.search-field {
    padding: 12px 16px;
    border-right: 1px solid var(--line-2);
    min-width: 0;
}
.search-field:last-of-type { border-right: 0; }
.search-field label {
    display: block;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 4px;
    font-weight: 600;
}
.search-field input,
.search-field select {
    width: 100%;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    padding: 0;
}
.search-field input::placeholder { color: var(--text-4); font-weight: 400; }
.search-field select { appearance: none; cursor: pointer; padding-right: 16px;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%),
                      linear-gradient(-45deg, transparent 50%, var(--text-3) 50%);
    background-position: calc(100% - 8px) 8px, calc(100% - 4px) 8px;
    background-size: 4px 4px, 4px 4px;
    background-repeat: no-repeat;
}
.search-field select option { color: var(--text); background: var(--surface); }

.search-budget { display: flex; align-items: center; gap: 6px; }
.search-budget input { font-size: 13px; }
.search-budget .sep { color: var(--text-3); }

.search-submit {
    background: var(--ink);
    color: #fff;
    border: 0;
    padding: 0 24px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    border-radius: var(--r-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background var(--t-fast) var(--ease);
}
.search-submit:hover { background: var(--gold-dark); }

@media (max-width: 980px) {
    .search-inner {
        grid-template-columns: 1fr 1fr;
    }
    .search-field { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 14px 16px; }
    .search-field:nth-child(odd) { border-right: 1px solid var(--line-2); }
    /* Bütçe (5th) tek satır — iki input içerir, dar gelmesin */
    .search-field:nth-child(5) { grid-column: 1 / -1; border-right: 0; }
    .search-submit { grid-column: 1 / -1; padding: 14px; }
}
@media (max-width: 560px) {
    .search-inner { grid-template-columns: 1fr; }
    .search-field { border-right: 0 !important; grid-column: 1 / -1 !important; }
}

/* ---------- Page Head ---------- */
.page-head {
    padding: 128px 0 48px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line-2);
    position: relative;
    overflow: hidden;
}
.page-head .container { position: relative; z-index: 2; }
.page-head .eyebrow { margin-bottom: 12px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-head .lede { font-size: 16px; max-width: 640px; }

.page-head.has-bg {
    background: var(--ink);
    color: #fff;
    min-height: 360px;
    padding: 160px 0 80px;
}
.page-head-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    filter: brightness(.55);
}
.page-head:not(.has-bg) .page-head-bg { display: none; }
.page-head.has-bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,20,20,.20) 0%, rgba(20,20,20,.7) 100%);
    z-index: 1;
}
.page-head.has-bg h1 { color: #fff; }
.page-head.has-bg h1 em { color: var(--gold-light); font-style: normal; }
.page-head.has-bg .eyebrow { color: var(--gold-light); }
.page-head.has-bg .lede { color: rgba(255,255,255,.82); }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    color: var(--text-3);
    margin-top: 16px;
}
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb .sep { color: var(--text-4); }
.page-head.has-bg .breadcrumb { color: rgba(255,255,255,.7); }
.page-head.has-bg .breadcrumb a:hover { color: var(--gold-light); }

/* ---------- LISTING CARD ---------- */
.card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
    color: inherit;
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--line);
}

.card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-soft);
    flex-shrink: 0;
}
.card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }

.card-badges {
    position: absolute;
    top: 10px; left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}
.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 3px;
    line-height: 1;
}
.badge-gold { background: var(--gold); color: #fff; }
.badge-dark { background: rgba(20,20,20,.85); color: #fff; backdrop-filter: blur(4px); }
.badge-light { background: rgba(255,255,255,.95); color: var(--ink); border: 1px solid rgba(0,0,0,.08); }
.badge-red { background: var(--error); color: #fff; }

.card-fav {
    position: absolute;
    top: 10px; right: 10px;
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0,0,0,.06);
    color: var(--text-3);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--t-fast) var(--ease);
    z-index: 2;
}
.card-fav:hover { color: var(--gold-dark); transform: scale(1.05); }
.card-fav.active { background: var(--gold); color: #fff; border-color: var(--gold); }
.card-fav svg { width: 16px; height: 16px; }
.card-fav.active svg { fill: currentColor; }

.card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}
.card-meta .ref { color: var(--gold-dark); }
.card-meta .sep { color: var(--line); }

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    transition: color var(--t-fast) var(--ease);
    /* clamp 2 satır */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card:hover .card-title { color: var(--gold-dark); }

.card-loc {
    font-size: 12px;
    color: var(--text-3);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-specs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid var(--line-3);
    color: var(--text-2);
    font-size: 13px;
    margin-top: auto;
}
.card-specs > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.card-specs b { color: var(--text); font-weight: 600; }

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid var(--line-3);
}
.card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-dark);
    letter-spacing: -.01em;
    line-height: 1;
}
.card-cta {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-3);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all var(--t-fast) var(--ease);
}
.card:hover .card-cta { color: var(--gold-dark); gap: 8px; }
.card-cta::after { content: "→"; }

/* ---------- RESPONSIVE LISTINGS GRID ---------- */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.listings-grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.listings-grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
@media (max-width: 480px) {
    .listings-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Empty state */
.listings-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 24px;
    color: var(--text-3);
    background: var(--bg-soft);
    border: 1px dashed var(--line);
    border-radius: var(--r);
}
.listings-empty h3 { color: var(--text); margin-bottom: 8px; }

/* ---------- LISTINGS PAGE LAYOUT ---------- */
.listings-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 32px 0 80px;
}
@media (max-width: 980px) {
    .listings-layout { grid-template-columns: 1fr; gap: 0; padding-top: 16px; }
}

.listings-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0 24px;
    border-bottom: 1px solid var(--line-2);
    margin-bottom: 24px;
}
.listings-topbar .count {
    font-size: 14px;
    color: var(--text-2);
}
.listings-topbar .count b { color: var(--text); font-weight: 700; }
.listings-topbar .sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-3);
}
.listings-topbar .sort select {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 8px 28px 8px 12px;
    font-size: 13px;
    cursor: pointer;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%),
                      linear-gradient(-45deg, transparent 50%, var(--text-3) 50%);
    background-position: calc(100% - 12px) 50%, calc(100% - 8px) 50%;
    background-size: 4px 4px, 4px 4px;
    background-repeat: no-repeat;
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text-2);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--t-fast) var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- FILTER PANEL ---------- */
.filter-panel {
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    padding: 20px;
    align-self: start;
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line-2);
}
.filter-head h3 { font-size: 14px; font-weight: 700; }
.filter-head .reset {
    font-size: 12px;
    color: var(--text-3);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
}
.filter-head .reset:hover { color: var(--gold-dark); }

.filter-group { margin-bottom: 18px; }
.filter-group h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 10px;
}
.filter-list { display: flex; flex-direction: column; gap: 6px; }
.filter-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    padding: 4px 0;
}
.filter-list label:hover { color: var(--gold-dark); }
.filter-list input[type=checkbox],
.filter-list input[type=radio] {
    accent-color: var(--gold);
    width: 14px; height: 14px;
}
.filter-list .count {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-4);
    font-family: var(--font-mono);
}

.filter-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font-size: 13px;
    border-radius: var(--r-sm);
    outline: none;
    transition: border-color var(--t-fast) var(--ease);
}
.filter-input:focus { border-color: var(--gold); }

.filter-range {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-range input { flex: 1; }
.filter-range .sep { color: var(--text-3); font-size: 12px; }

.filter-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-tag {
    display: inline-flex;
    padding: 5px 10px;
    border: 1px solid var(--line);
    color: var(--text-2);
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--r-sm);
    cursor: pointer;
    user-select: none;
    transition: all var(--t-fast) var(--ease);
    background: var(--surface);
}
.filter-tag:hover { border-color: var(--ink); color: var(--ink); }
.filter-tag.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.filter-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line-2);
}
.filter-actions .btn { flex: 1; padding: 10px; font-size: 12px; }

/* Mobile filter button + drawer */
.filter-toggle-mobile {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--r-sm);
    border: 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.filter-toggle-mobile .filter-count {
    display: none;
    width: 22px; height: 22px;
    background: var(--gold);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-left: 4px;
}
.filter-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20,20,20,.5);
    backdrop-filter: blur(2px);
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t) var(--ease), visibility 0s linear var(--t);
}
.filter-backdrop.open {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--t) var(--ease), visibility 0s linear 0s;
}

@media (max-width: 980px) {
    .filter-toggle-mobile { display: inline-flex; }
    .filter-backdrop { display: block; }
    .filter-panel {
        position: fixed;
        top: 0; right: 0;
        height: 100%;
        width: 340px;
        max-width: 90vw;
        z-index: 120;
        transform: translateX(100%);
        transition: transform var(--t) var(--ease);
        border-radius: 0;
        border-left: 1px solid var(--line);
        max-height: 100vh;
        padding-bottom: 80px;
    }
    .filter-panel.open { transform: translateX(0); }
}

.filter-drawer-close {
    display: none;
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
}
@media (max-width: 980px) { .filter-drawer-close { display: flex; } }

/* ============================================================
 * DETAIL PAGE — emlakk21 tarzı pro layout
 * Yapı: breadcrumb → gallery (büyük main + thumb şerit) → title bar
 *       → 2-col grid (info + sticky aside) → similar listings
 * ============================================================ */

.detail-page {
    background: var(--bg-soft);
    padding: 80px 0 0;
}

.detail-breadcrumb {
    padding: 16px 0;
    font-size: 12px;
    color: var(--text-3);
}
.detail-breadcrumb .breadcrumb { margin-top: 0; }

/* === GALLERY === */
.detail-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    height: clamp(380px, 50vw, 560px);
    margin-bottom: 12px;
    border-radius: var(--r);
    overflow: hidden;
    background: var(--bg-soft);
}
.detail-gallery > div {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}
.detail-gallery .primary { height: 100%; }
.detail-gallery > .primary:only-child { grid-column: 1 / -1; }
.detail-gallery .secondary {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
}
.detail-gallery img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
    cursor: zoom-in;
    display: block;
}
.detail-gallery > div:hover img { transform: scale(1.03); }
.detail-gallery .more-photos { position: relative; }
.detail-gallery .more-photos-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20,20,20,.55);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    pointer-events: none;
    transition: background var(--t-fast) var(--ease);
}
.detail-gallery .more-photos:hover .more-photos-overlay { background: rgba(20,20,20,.75); }
.detail-gallery .more-num { font-size: 32px; font-weight: 700; color: var(--gold-light); line-height: 1; }
.detail-gallery .more-label {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.78);
    font-weight: 600;
}

/* Tüm galeri butonu */
.gallery-cta {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255,255,255,.95);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--r-sm);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all var(--t-fast) var(--ease);
    z-index: 3;
    border: 0;
}
.gallery-cta:hover { background: var(--ink); color: #fff; }
.gallery-cta svg { width: 14px; height: 14px; }

@media (max-width: 760px) {
    .detail-gallery {
        grid-template-columns: 1fr;
        height: auto;
        gap: 6px;
    }
    .detail-gallery .primary { aspect-ratio: 4/3; height: auto; }
    .detail-gallery .secondary { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .detail-gallery .secondary > div { aspect-ratio: 4/3; }
}

/* === HEADER (title + tags + price compact bar) === */
.detail-header {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: clamp(20px, 3vw, 28px);
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(20px, 3vw, 36px);
    align-items: start;
}
@media (max-width: 760px) {
    .detail-header { grid-template-columns: 1fr; }
}
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.detail-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: var(--r-sm);
    line-height: 1;
}
.detail-tag.primary { background: var(--ink); color: #fff; }
.detail-tag.gold { background: var(--gold); color: #fff; }
.detail-tag.ghost { background: var(--bg-soft); color: var(--text-2); border: 1px solid var(--line); }

.detail-header h1 {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.015em;
    margin-bottom: 8px;
    color: var(--text);
}
.detail-header h1 em { color: var(--gold-dark); font-style: normal; }

.detail-loc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-2);
    margin-bottom: 14px;
}
.detail-loc svg { width: 14px; height: 14px; color: var(--gold-dark); }

/* Header compact stats — quick spec line */
.detail-header-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 12px;
    border-top: 1px solid var(--line-2);
}
.detail-header-stats > div {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-2);
}
.detail-header-stats b { color: var(--text); font-weight: 700; }

/* Right side — price */
.detail-price {
    text-align: right;
    padding-left: clamp(20px, 3vw, 36px);
    border-left: 1px solid var(--line-2);
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 760px) {
    .detail-price {
        text-align: left;
        padding-left: 0;
        padding-top: 16px;
        border-left: 0;
        border-top: 1px solid var(--line-2);
    }
}
.detail-price .label {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 6px;
    display: block;
    font-weight: 600;
}
.detail-price .price {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--gold-dark);
    letter-spacing: -.01em;
    line-height: 1.05;
}
.detail-price .price-per {
    font-size: 12px;
    color: var(--text-3);
    font-weight: 500;
    margin-top: 4px;
    letter-spacing: 0;
}

/* === MAIN GRID === */
.detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    padding-bottom: 80px;
}
@media (max-width: 1024px) {
    .detail-main { grid-template-columns: 1fr; }
}

/* Section card */
.detail-section {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: clamp(20px, 3vw, 28px);
    margin-bottom: 16px;
}
.detail-section h2 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-2);
    color: var(--text);
    letter-spacing: -.005em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.detail-section h2::before {
    content: "";
    width: 3px;
    height: 16px;
    background: var(--gold);
    border-radius: 2px;
}

/* Description — paragraph spacing */
.detail-description {
    word-wrap: break-word;
    overflow-wrap: anywhere;
}
.detail-description p {
    color: var(--text-2);
    margin: 0 0 16px;
    line-height: 1.8;
    font-size: 15px;
}
.detail-description p:last-child { margin-bottom: 0; }
.detail-description p + p { margin-top: 0; } /* margin-bottom handles spacing */
.detail-description br + br { display: none; } /* duplicate breaks */

/* Specs grid */
.detail-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1px;
    background: var(--line-2);
    border: 1px solid var(--line-2);
    border-radius: var(--r-sm);
    overflow: hidden;
    list-style: none;
}
.detail-specs li {
    padding: 14px 16px;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 64px;
}
.detail-specs span {
    display: block;
    font-size: 11px;
    color: var(--text-3);
    margin-bottom: 4px;
    letter-spacing: .04em;
    font-weight: 500;
}
.detail-specs b {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

/* Features list */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px 20px;
    list-style: none;
}
.features-list li {
    padding: 8px 0 8px 22px;
    font-size: 13px;
    color: var(--text);
    border-bottom: 1px solid var(--line-3);
    position: relative;
    line-height: 1.4;
}
.features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 14px;
    height: 14px;
    background: var(--gold-soft);
    border-radius: 50%;
}
.features-list li::after {
    content: "✓";
    position: absolute;
    left: 3px;
    top: 7px;
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 10px;
    line-height: 1;
}

/* === ASIDE — sticky sidebar === */
.detail-aside {
    align-self: start;
}
@media (min-width: 1025px) {
    .detail-aside {
        position: sticky;
        top: 88px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        scrollbar-width: thin;
    }
}

.aside-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 22px;
    margin-bottom: 12px;
}
.aside-card-head {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.aside-card-head::before {
    content: "";
    width: 14px; height: 1px;
    background: var(--gold);
}

/* Agent card */
.agent-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 22px;
    margin-bottom: 12px;
}
.agent-card-head {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.agent-card-head::before {
    content: "";
    width: 14px; height: 1px;
    background: var(--gold);
}
.agent-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.agent-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--line);
    flex-shrink: 0;
    background: var(--bg-soft);
}
.agent-avatar img { width: 100%; height: 100%; object-fit: cover; }
.agent-info { min-width: 0; flex: 1; }
.agent-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
    line-height: 1.2;
}
.agent-role {
    font-size: 11px;
    letter-spacing: .06em;
    color: var(--gold-dark);
    font-weight: 600;
}

.agent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.agent-actions .btn { padding: 11px 14px; font-size: 12px; }
.agent-actions .btn.btn-block { grid-column: 1 / -1; }

/* Quick form in aside */
.aside-form .field { margin-bottom: 10px; }
.aside-form input, .aside-form textarea {
    padding: 10px 12px;
    font-size: 13px;
}
.aside-form textarea { min-height: 80px; }
.aside-form .btn { width: 100%; }

/* === SIMILAR LISTINGS === */
.detail-similar {
    background: var(--surface);
    padding: clamp(48px, 7vw, 80px) 0;
    border-top: 1px solid var(--line-2);
}

/* ---------- LIGHTBOX ---------- */
.ilbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15,15,15,.96);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.ilbox.open { display: flex; }
.ilbox-stage {
    max-width: 100%;
    max-height: 100%;
    pointer-events: none;
}
.ilbox-stage img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    pointer-events: auto;
    border-radius: var(--r);
    background: #1a1a1a;
}
.ilbox button {
    position: absolute;
    z-index: 2;
    width: 48px; height: 48px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all var(--t-fast) var(--ease);
}
.ilbox button:hover { background: var(--gold); border-color: var(--gold); }
.ilbox-close { top: 20px; right: 20px; }
.ilbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.ilbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }
.ilbox-counter {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255,255,255,.7);
    background: rgba(0,0,0,.4);
    padding: 6px 12px;
    border-radius: 999px;
}
@media (max-width: 600px) {
    .ilbox { padding: 16px; }
    .ilbox button { width: 40px; height: 40px; font-size: 20px; }
}

/* ---------- FORMS ---------- */
.field { margin-bottom: 16px; }
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.field label,
.field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=number],
input[type=search],
textarea,
select {
    width: 100%;
    padding: 11px 13px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    outline: none;
    transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--text-4); }
input:focus, textarea:focus, select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-soft);
}
textarea { min-height: 110px; resize: vertical; }

.field-help { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.field-error {
    background: #FDF2F2;
    color: var(--error);
    border: 1px solid #F0C8C8;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    font-size: 13px;
    margin-bottom: 14px;
}
.field-success {
    background: #F2FBF3;
    color: var(--success);
    border: 1px solid #C5E5C7;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    font-size: 13px;
    margin-bottom: 14px;
}

.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: clamp(20px, 3vw, 32px);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-2);
    margin: 14px 0;
    line-height: 1.5;
}
.checkbox input { margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
.checkbox a { color: var(--gold-dark); text-decoration: underline; }

/* ---------- TWO-COL CONTENT BLOCK ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }

.two-col-media {
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: var(--r);
    background: var(--bg-soft);
}
.two-col-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- STATS ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
}
.stat {
    padding: 24px 20px;
    border-right: 1px solid var(--line-2);
}
.stat:last-child { border-right: 0; }
.stat .num {
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    font-weight: 700;
    color: var(--gold-dark);
    letter-spacing: -.02em;
    line-height: 1;
    margin-bottom: 6px;
    display: block;
}
.stat .label {
    font-size: 12px;
    color: var(--text-3);
    font-weight: 500;
    letter-spacing: .03em;
}

/* ---------- TESTIMONIALS ---------- */
.testimonial {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.testimonial-stage { position: relative; min-height: 180px; }
.testimonial-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
    pointer-events: none;
}
.testimonial-slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}
.testimonial-quote {
    font-size: clamp(18px, 2.4vw, 22px);
    line-height: 1.55;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 22px;
}
.testimonial-quote::before { content: "“"; color: var(--gold); font-size: 1.4em; line-height: 0; vertical-align: -.1em; }
.testimonial-quote::after  { content: "”"; color: var(--gold); font-size: 1.4em; line-height: 0; vertical-align: -.1em; }
.testimonial-author {
    font-size: 12px;
    color: var(--text-3);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
}
.testimonial-author b { color: var(--gold-dark); }
.testimonial-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.testimonial-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--line);
    border: 0;
    cursor: pointer;
    transition: all var(--t-fast) var(--ease);
}
.testimonial-dot.is-active { background: var(--gold); transform: scale(1.3); }

/* ---------- FOOTER ---------- */
.footer {
    background: var(--ink);
    color: rgba(255,255,255,.7);
    padding: 64px 0 24px;
    border-top: 4px solid var(--gold);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 880px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-grid > *:first-child { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > *:first-child { grid-column: auto; }
}
.footer-brand {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 12px;
    display: inline-block;
}
.footer-brand-mark { color: var(--gold-light); }
.footer-brand-logo img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .92;
}
.footer-tag {
    color: rgba(255,255,255,.55);
    font-size: 14px;
    line-height: 1.65;
    max-width: 320px;
    margin: 12px 0 18px;
}
.footer h4 {
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer ul a {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    transition: color var(--t-fast) var(--ease);
}
.footer ul a:hover { color: var(--gold-light); }
.footer address {
    font-style: normal;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    line-height: 1.7;
}
.footer address a:hover { color: var(--gold-light); }

.footer-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 18px; }
.footer-legal { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-legal .sep { color: rgba(255,255,255,.2); }

.footer-credit {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.06);
    text-align: center;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .12em;
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
}
.footer-credit a { color: var(--gold-light); }

/* ---------- LEGAL DOCS ---------- */
.legal-doc {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 0 64px;
    color: var(--text);
    line-height: 1.75;
    font-size: 15px;
}
.legal-doc .lede {
    font-size: 16px;
    color: var(--text-2);
    border-left: 3px solid var(--gold);
    padding-left: 18px;
    margin: 0 0 36px;
}
.legal-doc h2 {
    font-size: 20px;
    margin: 36px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line-2);
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p { color: var(--text-2); margin: 0 0 14px; }
.legal-doc ul { margin: 0 0 16px; padding-left: 20px; list-style: disc; color: var(--text-2); }
.legal-doc ul li { margin-bottom: 6px; }
.legal-doc ul li::marker { color: var(--gold); }
.legal-doc b, .legal-doc strong { color: var(--text); font-weight: 600; }
.legal-doc a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc a:hover { color: var(--ink); }
.legal-contact {
    background: var(--bg-soft);
    border: 1px solid var(--line-2);
    border-left: 3px solid var(--gold);
    padding: 16px 20px;
    border-radius: var(--r-sm);
    margin: 20px 0 !important;
    color: var(--text) !important;
    font-size: 14px;
}
.legal-fine {
    margin-top: 36px !important;
    padding-top: 16px;
    border-top: 1px solid var(--line-2);
    font-size: 12px !important;
    color: var(--text-3);
    font-style: italic;
}

/* ---------- MAP ---------- */
.map-block {
    position: relative;
    aspect-ratio: 16/9;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    background: var(--bg-soft);
}
.map-block iframe { width: 100%; height: 100%; border: 0; }
.map-cta {
    position: absolute;
    bottom: 14px; right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--r-sm);
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: background var(--t-fast) var(--ease);
}
.map-cta:hover { background: var(--gold-dark); }

/* ---------- COOKIE BANNER ---------- */
.cookie {
    position: fixed;
    right: clamp(16px, 2vw, 28px);
    bottom: clamp(16px, 2vw, 28px);
    z-index: 999;
    width: 360px;
    max-width: calc(100vw - 32px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: var(--r);
    padding: 22px 24px 20px;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all .4s var(--ease);
}
.cookie[hidden] { display: none !important; }
.cookie.is-shown { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cookie-eyebrow::before {
    content: "";
    width: 20px; height: 1px;
    background: var(--gold);
}
.cookie-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.cookie-title em { color: var(--gold-dark); font-style: normal; }
.cookie-desc { font-size: 13px; color: var(--text-2); margin-bottom: 16px; line-height: 1.55; }
.cookie-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 8px;
}
.cookie-btn {
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--r-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-2);
    cursor: pointer;
    transition: all var(--t-fast) var(--ease);
}
.cookie-btn:hover { border-color: var(--ink); color: var(--ink); }
.cookie-btn-primary {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    padding: 10px 18px;
}
.cookie-btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.cookie-readmore {
    font-size: 11px;
    color: var(--text-3);
    text-decoration: underline;
}
.cookie-readmore:hover { color: var(--gold-dark); }

@media (max-width: 480px) {
    .cookie { right: 12px; left: 12px; bottom: 12px; width: auto; }
    .cookie-actions { grid-template-columns: 1fr; }
}

/* ---------- REVEAL / ANIM ---------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex-row { display: flex; gap: 12px; flex-wrap: wrap; }
.no-mobile { }
@media (max-width: 760px) { .no-mobile { display: none; } }

/* ---------- CAPTCHA OVERRIDES (light tema) ---------- */
.ggy-captcha-display {
    background: var(--bg-muted) !important;
    border: 1px solid var(--gold-soft) !important;
}
.ggy-captcha-code { color: var(--text) !important; }
.ggy-captcha-input {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: var(--font-mono);
    text-align: center;
}
