/* =========================================================
   Emart Gayrimenkul — Tasarım sistemi
   Ana referans: Airbnb (marketplace, fotoğraf odaklı, renk kıtlığı)
   Ödünç: The1 — hero'da dev, sıkı izli başlık
   Yapı: Trulia ekranları (filtre çubuğu, liste+harita, detay)
   ========================================================= */

:root {
  /* Yüzeyler */
  --canvas: #f0efed;        /* sayfa zemini, footer (beyaz kartlar ayrışsın diye hafif kırık gri) */
  --surface: #ffffff;       /* kart, header, modal */
  --placeholder: #dddddd;   /* görsel yüklenirken */
  /* Metin & çizgi */
  --ink: #222222;           /* birincil metin, birincil buton */
  --slate: #6a6a6a;         /* ikincil metin, metadata */
  --silver: #c1c1c1;        /* pasif */
  --mist: #e4e3e0;          /* ayırıcılar */
  /* Marka — YALNIZCA logo, arama butonu, aktif durum, harita pini */
  --brand: #b78927;
  --brand-deep: #96701f;
  --brand-tint: #f6efe0;    /* aktif filtre zemini */
  /* Durum (yalnızca fiyat rozeti) */
  --good: #1f7a4d;
  --good-tint: #e7f3ec;
  --warn: #9a5b13;
  --warn-tint: #fbf0e1;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-card: 20px; --r-pill: 32px; --r-badge: 4px; --r-input: 14px; --r-btn: 8px;

  --shadow-pop: 0 0 0 1px rgba(0,0,0,.02), 0 2px 6px rgba(0,0,0,.04), 0 4px 8px rgba(0,0,0,.10);
  --shadow-arrow: 0 0 0 1px rgba(0,0,0,.02), 0 2px 4px rgba(0,0,0,.16);
  --shadow-badge: 0 2px 6px rgba(0,0,0,.25);

  --max: 1440px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: 64px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 15px/1.45 var(--font); letter-spacing: -0.009em;
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01";
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 15px; height: 15px; }
.ico-lg { width: 22px; height: 22px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar .wrap { display: flex; gap: 24px; justify-content: space-between; align-items: center; min-height: 36px; }
.topbar a { opacity: .85; } .topbar a:hover { opacity: 1; }
.topbar-offices { display: flex; gap: 20px; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-socials { gap: 12px; }
.topbar-socials .ico { width: 15px; height: 15px; }
@media (max-width: 720px) { .topbar-offices span.hide-sm { display: none; } .topbar-note { display: none; } }
@media (max-width: 420px) { .topbar-socials { display: none; } }

.header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--mist); }
.header .wrap { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; color: #fff; }
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--slate); letter-spacing: .04em; text-transform: uppercase; margin-top: -2px; }
.logo-img { display: block; width: auto; flex-shrink: 0; }
.header .logo-img { height: 44px; }
.footer .logo-img { height: 52px; }
@media (max-width: 560px) { .header .logo-img { height: 38px; } }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 12px; font-weight: 600; font-size: 14px; border-radius: var(--r-btn); position: relative; }
.nav a:hover { background: var(--canvas); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--ink); border-radius: 2px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; position: relative; transition: background .25s var(--ease); }
.icon-btn:hover { background: var(--canvas); }
.badge-count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.badge-count:empty, .badge-count[data-n="0"] { display: none; }
.menu-btn { display: none; }
@media (max-width: 980px) {
  .nav { display: none; } .menu-btn { display: inline-grid; }
  .header .wrap { height: 64px; gap: 12px; }
  .hide-md { display: none !important; }
}
.mobile-nav { display: none; border-top: 1px solid var(--mist); padding: 8px var(--gutter) 16px; background: var(--surface); }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--mist); }
.mobile-nav .mobile-group { display: grid; border-bottom: 1px solid var(--mist); padding: 10px 0 4px; }
.mobile-nav .mobile-group b { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); padding-bottom: 2px; }
.mobile-nav .mobile-group a { padding: 10px 0 10px 12px; border-bottom: 0; }
/* Kapalı özel portföy bağlantısı: menüde tek altın vurgu (sayfanın kendi stili private.css) */
.nav a.nav-private, .mobile-nav a.nav-private { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-deep); }
.nav-private .ico { color: var(--brand); }
.mobile-nav a.nav-private { display: flex; gap: 8px; }
@media (min-width: 981px) and (max-width: 1180px) { .header-actions .btn.hide-md { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r-btn); font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .25s var(--ease), border-color .25s var(--ease), transform .1s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-outline { border: 1px solid var(--ink); background: var(--surface); }
.btn-outline:hover { background: var(--canvas); }
.btn-ghost:hover { background: var(--canvas); }
.btn-block { width: 100%; }
.btn-sm { height: 36px; padding: 0 12px; font-size: 13px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pills / chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--mist); border-radius: var(--r-pill); background: var(--surface); font-size: 13px; font-weight: 500; white-space: nowrap; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip .x { margin-right: -4px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: var(--r-badge); background: var(--surface); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; box-shadow: var(--shadow-badge); }
.price-flag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: var(--r-badge); font-size: 12px; font-weight: 600; }
.price-flag.below { background: var(--good-tint); color: var(--good); }
.price-flag.above { background: var(--warn-tint); color: var(--warn); }
.price-flag.even { background: var(--canvas); color: var(--slate); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 24px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--slate); margin-bottom: 20px; }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.hero h1 { font-size: clamp(42px, 7.4vw, 104px); line-height: .94; letter-spacing: -0.055em; font-weight: 600; max-width: 13ch; }
.hero-sub { margin-top: 20px; font-size: 18px; color: var(--slate); max-width: 52ch; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
/* Hero haritası: Londra → İstanbul → Ankara */
.hero-map { position: relative; margin: 0; align-self: center; width: 100%; aspect-ratio: 640 / 460; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--mist); overflow: hidden; } /* oran haritayla aynı: etiketler % ile tam oturur */
.hero-map-dots, .hero-map-route { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero-map-route { overflow: visible; }
.hero-map .hm-arc { fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: arc-draw 7s cubic-bezier(.6,0,.2,1) infinite; }
.hero-map .hm-arc-2 { animation-name: arc-draw-2; }
.hero-map .hm-core { fill: var(--brand); stroke: var(--surface); stroke-width: 2.5; }
.hero-map .hm-ring { fill: var(--brand); opacity: 0; transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.4s ease-out infinite; animation-delay: var(--d); }
.map-label { position: absolute; left: var(--x); top: var(--y); display: grid; gap: 1px; padding: 6px 10px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-card, 0 2px 10px rgba(0,0,0,.12)); font-size: 13px; line-height: 1.2; white-space: nowrap; opacity: 0; animation: label-in .5s ease-out forwards; animation-delay: var(--d); }
.map-label b { font-weight: 600; } .map-label small { color: var(--slate); font-size: 11px; }
.lbl-lon { transform: translate(-50%, calc(-100% - 14px)); }
.lbl-ist { transform: translate(calc(-100% - 10px), 6px); }
.lbl-ank { transform: translate(10px, 12px); }
@keyframes arc-draw { 0% { stroke-dashoffset: 1; } 16%, 86% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes arc-draw-2 { 0%, 16% { stroke-dashoffset: 1; } 26%, 86% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes pin-pulse { 0% { opacity: .45; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(4); } }
@keyframes label-in { from { opacity: 0; margin-top: 6px; } to { opacity: 1; margin-top: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-map .hm-arc { animation: none; stroke-dashoffset: 0; }
  .hero-map .hm-ring { animation: none; }
  .map-label { animation: none; opacity: 1; }
}
@media (max-width: 520px) { .map-label { padding: 4px 8px; font-size: 12px; } .map-label small { display: none; } }
.hero-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; min-height: 420px; align-self: stretch; contain: size; } /* fotoğraflar metin sütununu büyütmesin */
.hero-photos img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--r-card); background: var(--placeholder); }
.hero-photos img:first-child { grid-row: span 2; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero-photos { min-height: 220px; height: 240px; } .hero { padding-top: 32px; } }

/* ---------- Search bar (Airbnb segment pill) ---------- */
.search { margin-top: 36px; }
.search-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border-radius: var(--r-pill); box-shadow: var(--shadow-pop); margin-bottom: 12px; }
.search-tabs button { height: 36px; padding: 0 18px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; color: var(--slate); }
.search-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.searchbar { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr auto; align-items: center; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-pop); padding: 8px; }
.seg { position: relative; padding: 10px 18px; border-radius: 14px; cursor: pointer; min-width: 0; transition: background .2s; }
.seg:hover { background: var(--canvas); }
.seg + .seg::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--mist); }
.seg:hover::before, .seg:hover + .seg::before { opacity: 0; }
.seg label, .seg .seg-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.seg input, .seg select { width: 100%; border: 0; outline: 0; padding: 2px 0 0; background: transparent; font-size: 14px; color: var(--ink); appearance: none; cursor: pointer; text-overflow: ellipsis; }
.seg input::placeholder { color: var(--slate); }
.seg select:invalid, .seg select.is-empty { color: var(--slate); }
.search-go { height: 56px; padding: 0 22px 0 18px; border-radius: 14px; background: var(--brand); color: #fff; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; transition: background .25s; }
.search-go:hover { background: var(--brand-deep); }
.search-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.search-quick[hidden] { display: none; }
.search-quick span { font-size: 13px; color: var(--slate); margin-right: 4px; }
@media (max-width: 860px) {
  .searchbar { grid-template-columns: 1fr 1fr; gap: 2px; }
  .seg:first-child { grid-column: span 2; }
  .seg + .seg::before { display: none; }
  .seg { background: var(--canvas); }
  .search-go { grid-column: span 2; justify-content: center; margin-top: 6px; }
}

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--mist); }
.stats div { padding: 20px 20px 0 0; }
.stats b { display: block; font-size: 28px; letter-spacing: -0.03em; font-weight: 600; }
.stats span { color: var(--slate); font-size: 13px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0 0; }
.section:last-of-type { padding-bottom: var(--section); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.section-head p { color: var(--slate); margin-top: 6px; }
.section-tools { display: flex; gap: 8px; align-items: center; }

/* ---------- Category tiles ---------- */
/* Esnek ızgara: kart sayısı değişince (ilanı olmayan tip gizlenince) satırı boşluksuz doldurur */
.cats { display: flex; flex-wrap: wrap; gap: 12px; }
.cats > .cat { flex: 1 1 calc((100% - 5 * 12px) / 6); min-width: 0; }
.cat { background: var(--surface); border-radius: 16px; padding: 18px; display: grid; gap: 22px; border: 1px solid transparent; transition: border-color .2s, transform .25s var(--ease); }
.cat:hover { border-color: var(--ink); }
.cat b { font-weight: 600; font-size: 15px; display: block; }
.cat span { color: var(--slate); font-size: 13px; }
@media (max-width: 980px) { .cats > .cat { flex-basis: calc((100% - 2 * 12px) / 3); } }
@media (max-width: 560px) { .cats > .cat { flex-basis: calc((100% - 12px) / 2); } }

/* ---------- Carousel ---------- */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .carousel { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 760px) { .carousel { grid-auto-columns: 78%; } }
.arrow-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-arrow); display: inline-grid; place-items: center; transition: transform .1s; }
.arrow-btn:disabled { background: var(--canvas); color: var(--silver); box-shadow: none; cursor: default; }

/* ---------- Listing card ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-card); overflow: hidden; transition: box-shadow .25s var(--ease); }
.card:hover { box-shadow: var(--shadow-pop); }
.card.is-hl { box-shadow: 0 0 0 2px var(--ink); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--placeholder); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.card:hover .card-media img { transform: scale(1.03); }
.card-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.card-fav { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); box-shadow: var(--shadow-arrow); }
.card-fav .ico { width: 18px; height: 18px; }
.card-fav[aria-pressed="true"] .ico { fill: var(--brand); stroke: var(--brand); }
.card-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; }
.card-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); }
.card-dots i.on { background: #fff; }
.card-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; opacity: 0; transition: opacity .2s; box-shadow: var(--shadow-arrow); }
.card-nav.prev { left: 10px; } .card-nav.next { right: 10px; }
.card:hover .card-nav, .card-nav:focus-visible { opacity: 1; }
@media (hover: none) { .card-nav { display: none; } }
.card-body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.card-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.card-price b { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.card-price small { color: var(--slate); font-size: 13px; }
.card-title { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.card-loc { display: flex; align-items: center; gap: 4px; color: var(--slate); font-size: 13px; }
.card-facts { display: flex; gap: 14px; color: var(--ink); font-size: 13px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--mist); }
.card-facts span { display: inline-flex; align-items: center; gap: 5px; }
.card-facts .ico { width: 15px; height: 15px; color: var(--slate); }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-id { font-size: 12px; color: var(--slate); }
.card a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card-fav, .card-nav { z-index: 2; }

/* ---------- Region cards ---------- */
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.region { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 10; background: var(--placeholder); }
.region img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.region:hover img { transform: scale(1.04); }
.region-info { position: absolute; left: 12px; right: 12px; bottom: 12px; background: var(--surface); border-radius: 14px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.region-info b { font-weight: 600; display: block; }
.region-info span { font-size: 13px; color: var(--slate); }
.region-info .m2 { text-align: right; font-size: 13px; }
.region-info .m2 b { font-size: 15px; }
@media (max-width: 900px) { .regions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .regions { grid-template-columns: 1fr; } }

/* ---------- Map teaser ---------- */
.map-teaser { display: grid; grid-template-columns: .8fr 1.2fr; background: var(--surface); border-radius: var(--r-card); overflow: hidden; }
.map-teaser-text { padding: 40px; display: grid; gap: 16px; align-content: center; }
.map-teaser-text h2 { font-size: 34px; letter-spacing: -0.035em; font-weight: 600; line-height: 1.05; }
.map-teaser-text p { color: var(--slate); }
.map-teaser .map { min-height: 380px; }
@media (max-width: 900px) { .map-teaser { grid-template-columns: 1fr; } .map-teaser-text { padding: 28px; } .map-teaser .map { min-height: 300px; } }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check-list .ico { color: var(--brand); margin-top: 1px; }

/* ---------- Valuation ---------- */
.valuation { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 48px; }
.valuation h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.045em; line-height: 1; font-weight: 600; }
.valuation p { color: rgba(255,255,255,.72); margin-top: 14px; }
.val-form { background: var(--surface); color: var(--ink); border-radius: 16px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.val-form .full { grid-column: span 2; }
.val-result { grid-column: span 2; background: var(--canvas); border-radius: 12px; padding: 14px 16px; display: none; }
.val-result.show { display: block; }
.val-result b { font-size: 22px; letter-spacing: -0.02em; }
@media (max-width: 900px) { .valuation { grid-template-columns: 1fr; padding: 28px; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field > span, .field > label { font-size: 12px; font-weight: 600; }
.input, .select, .textarea { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--silver); border-radius: var(--r-input); background: var(--surface); font-size: 14px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23222' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.range-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--canvas); border: 1px solid var(--mist); }
.segmented button { height: 34px; padding: 0 14px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--slate); }
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-arrow); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; padding: 6px 0; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.agent { background: var(--surface); border-radius: var(--r-card); padding: 20px; display: grid; gap: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--canvas); border: 1px solid var(--mist); display: grid; place-items: center; font-weight: 600; letter-spacing: -0.02em; }
.agent b { display: block; } .agent span { font-size: 13px; color: var(--slate); }
.agent-actions { display: flex; gap: 8px; }
@media (max-width: 980px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }

/* ---------- Articles ---------- */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.article { background: var(--surface); border-radius: var(--r-card); overflow: hidden; display: grid; }
.article img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--placeholder); }
.article div { padding: 16px; display: grid; gap: 8px; }
.article small { color: var(--slate); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.article b { font-weight: 600; font-size: 16px; line-height: 1.3; letter-spacing: -0.015em; }
@media (max-width: 900px) { .articles { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--mist); margin-top: var(--section); padding: 48px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--slate); }
.footer ul a:hover { color: var(--ink); text-decoration: underline; }
.office { background: var(--surface); border-radius: 16px; padding: 16px; display: grid; gap: 4px; margin-bottom: 10px; }
.office b { font-weight: 600; } .office span { color: var(--slate); font-size: 13px; }
.office a { font-weight: 600; margin-top: 4px; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--mist); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--slate); font-size: 13px; }
.socials { display: flex; gap: 14px; align-items: center; }
.footer .socials a { color: var(--slate); } .footer .socials a:hover { color: var(--ink); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; height: 52px; padding: 0 18px 0 14px; border-radius: 26px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-pop); }
.wa-float:hover { background: #000; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { width: 52px; padding: 0; justify-content: center; } }

/* =========================================================
   İlanlar (arama sonuçları)
   ========================================================= */
.filterbar { position: sticky; top: 76px; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--mist); }
.filterbar .wrap { max-width: none; display: flex; gap: 8px; align-items: center; padding-top: 12px; padding-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.filterbar .wrap::-webkit-scrollbar { display: none; }
.fb-search { position: relative; flex: 0 0 260px; }
.fb-search .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--slate); }
.fb-search input { height: 40px; width: 100%; border: 1px solid var(--silver); border-radius: var(--r-pill); padding: 0 14px 0 38px; font-size: 14px; outline: 0; }
.fb-search input:focus { border-color: var(--ink); }
.dd { position: relative; flex: none; }
.dd > .chip .ico { width: 14px; height: 14px; }
.dd.has-value > .chip { border-color: var(--ink); background: var(--brand-tint); }
.dd-panel { position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-pop); padding: 16px; display: none; z-index: 45; }
.dd.open .dd-panel { display: grid; gap: 14px; }
.dd-panel footer { display: flex; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--mist); }
@media (max-width: 980px) { .filterbar { top: 64px; } .fb-search { flex-basis: 200px; } .dd-panel { position: fixed; left: 16px; right: 16px; top: auto; bottom: 16px; } }

.results-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42%); min-height: calc(100vh - 140px); }
.results-layout[data-view="list"] { grid-template-columns: 1fr; }
.results-layout[data-view="list"] .results-map { display: none; }
.results-layout[data-view="list"] .grid { grid-template-columns: repeat(4, 1fr); }
.results-layout[data-view="map"] { grid-template-columns: 1fr; }
.results-layout[data-view="map"] .results-list { display: none; }
.results-list { padding: 20px var(--gutter) 48px; min-width: 0; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.results-head h1 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.results-head p { color: var(--slate); font-size: 13px; margin-top: 2px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filters:empty { display: none; }
.active-filters .chip { height: 30px; font-size: 12px; background: var(--brand-tint); border-color: transparent; }
.active-filters .clear { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 0 6px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
@media (min-width: 1500px) { .results-layout:not([data-view="list"]) .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .results-layout[data-view="list"] .grid { grid-template-columns: repeat(3, 1fr); } }
.results-map { position: sticky; top: 141px; height: calc(100vh - 141px); padding: 12px 12px 12px 0; }
.results-layout[data-view="map"] .results-map { padding: 12px var(--gutter); }
.results-map .map { height: 100%; border-radius: var(--r-card); overflow: hidden; }
.sort { height: 36px; border: 1px solid var(--mist); border-radius: var(--r-pill); padding: 0 34px 0 14px; font-size: 13px; font-weight: 500; background-color: var(--surface); }
.empty { background: var(--surface); border-radius: var(--r-card); padding: 48px 24px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.empty h2 { font-size: 20px; font-weight: 600; }
.empty p { color: var(--slate); max-width: 42ch; }
.map-toggle-float { display: none; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pager button { width: 38px; height: 38px; border-radius: 50%; font-weight: 600; font-size: 14px; }
.pager button[aria-current="true"] { background: var(--ink); color: #fff; }
.pager button:not([aria-current="true"]):hover { background: var(--surface); }
@media (max-width: 980px) {
  .results-layout, .results-layout[data-view="list"] { grid-template-columns: 1fr; }
  .results-layout .results-map { display: none; }
  .results-layout[data-view="map"] .results-list { display: none; }
  .results-layout[data-view="map"] .results-map { display: block; position: relative; top: 0; height: calc(100vh - 132px); padding: 0; }
  .results-layout[data-view="map"] .results-map .map { border-radius: 0; }
  .grid, .results-layout[data-view="list"] .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .view-toggle { display: none !important; }
  .map-toggle-float { display: inline-flex; position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 55; height: 46px; padding: 0 20px; border-radius: 23px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; align-items: center; gap: 8px; box-shadow: var(--shadow-pop); }
}
@media (max-width: 620px) { .grid, .results-layout[data-view="list"] .grid { grid-template-columns: 1fr; } }

/* Drawer (Tüm filtreler) */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--surface); z-index: 81; transform: translateX(100%); transition: transform .3s var(--ease); display: grid; grid-template-rows: auto 1fr auto; }
.drawer-open .drawer { transform: none; } .drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer header, .drawer footer { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--mist); }
.drawer footer { border-bottom: 0; border-top: 1px solid var(--mist); }
.drawer h2 { font-size: 17px; font-weight: 600; }
.drawer-body { overflow-y: auto; padding: 8px 20px 24px; }
.drawer-group { padding: 18px 0; border-bottom: 1px solid var(--mist); display: grid; gap: 12px; }
.drawer-group h3 { font-size: 15px; font-weight: 600; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }

/* Leaflet price pins */
.pin { background: var(--surface); color: var(--ink); border-radius: 14px; padding: 5px 9px; font: 700 12px/1 var(--font); white-space: nowrap; box-shadow: var(--shadow-arrow); border: 1px solid rgba(0,0,0,.06); transform: translate(-50%, -50%); display: inline-block; transition: transform .15s; }
.pin.is-hl, .pin:hover { background: var(--ink); color: #fff; transform: translate(-50%, -50%) scale(1.08); z-index: 1000; }
.pin.is-fav { box-shadow: 0 0 0 2px var(--brand); }
.pin.cluster { background: var(--ink); color: #fff; padding: 9px 14px; border-radius: 20px; font-size: 13px; cursor: pointer; }
.pin.cluster:hover { background: var(--brand); }
.detail-page .wa-float { display: none; }
.pin-wrap { width: 0 !important; height: 0 !important; }
.leaflet-container { font-family: var(--font); background: #eef0ee; }
/* Harita fotoğrafların ve fiyat pinlerinin önüne geçmesin: nötr, açık tonlu zemin */
.leaflet-tile-pane { filter: grayscale(1) brightness(1.06) contrast(.88); }
.leaflet-popup-content-wrapper { border-radius: 16px; padding: 0; overflow: hidden; box-shadow: var(--shadow-pop); }
.leaflet-popup-content { margin: 0; width: 240px !important; }
.popup-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.popup-card div { padding: 10px 12px 12px; display: grid; gap: 2px; font-size: 13px; }
.popup-card b { font-size: 16px; }
.popup-card span { color: var(--slate); }

/* =========================================================
   İlan detay
   ========================================================= */
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--slate); padding: 20px 0 14px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.detail-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.detail-top h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.detail-top .card-loc { margin-top: 8px; font-size: 14px; }
.detail-actions { display: flex; gap: 6px; }
/* İlan galerisi: büyük fotoğraf (kırpmadan, arkası bulanık) + oklar + küçük resim şeridi */
.viewer { display: grid; gap: 10px; min-width: 0; }
.viewer-stage { position: relative; height: min(560px, 62vh); border-radius: var(--r-card); overflow: hidden; background: #1a1a1a; outline-offset: 3px; }
.viewer-main { position: absolute; inset: 0; width: 100%; padding: 0; isolation: isolate; cursor: zoom-in; overflow: hidden; }
.viewer-main::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: var(--bg) center / cover; filter: blur(28px) saturate(1.1) brightness(.85); }
.viewer-main img { width: 100%; height: 100%; object-fit: contain; }
.viewer-nav { position: absolute; top: 50%; z-index: 1; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: var(--shadow-arrow); transition: transform .15s; }
.viewer-nav:hover { transform: translateY(-50%) scale(1.07); }
.viewer-nav.prev { left: 14px; } .viewer-nav.next { right: 14px; }
.viewer-count { position: absolute; right: 14px; bottom: 14px; z-index: 1; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(0,0,0,.62); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; }
.viewer-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.viewer-thumbs button { flex: none; width: 96px; height: 68px; padding: 0; border-radius: 10px; overflow: hidden; background: var(--placeholder); opacity: .55; transition: opacity .15s; }
.viewer-thumbs button:hover { opacity: .85; }
.viewer-thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid var(--ink); outline-offset: 2px; }
.viewer-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .viewer-stage { height: 300px; border-radius: 16px; }
  .viewer-nav { width: 36px; height: 36px; } .viewer-nav.prev { left: 8px; } .viewer-nav.next { right: 8px; }
  .viewer-thumbs button { width: 72px; height: 52px; border-radius: 8px; }
}
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; margin-top: 32px; align-items: start; }
@media (max-width: 1040px) { .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.price-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.price-big { font-size: 36px; font-weight: 700; letter-spacing: -0.035em; }
.price-big small { font-size: 16px; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.price-meta { color: var(--slate); font-size: 14px; margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 24px; background: var(--surface); border-radius: 16px; overflow: hidden; }
.facts div { padding: 16px; border-right: 1px solid var(--mist); border-bottom: 1px solid var(--mist); display: grid; gap: 4px; }
.facts div:nth-child(4n) { border-right: 0; }
.facts div:nth-last-child(-n+4) { border-bottom: 0; }
.facts span { font-size: 12px; color: var(--slate); display: flex; align-items: center; gap: 6px; }
.facts b { font-weight: 600; font-size: 15px; }
@media (max-width: 620px) { .facts { grid-template-columns: repeat(2, 1fr); } .facts div:nth-child(4n) { border-right: 1px solid var(--mist); } .facts div:nth-child(2n) { border-right: 0; } .facts div:nth-last-child(-n+4) { border-bottom: 1px solid var(--mist); } .facts div:nth-last-child(-n+2) { border-bottom: 0; } }
.d-section { padding: 32px 0; border-bottom: 1px solid var(--mist); }
.d-section:last-child { border-bottom: 0; }
.d-section h2 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.d-section .prose { color: #3a3a3a; font-size: 15px; line-height: 1.65; display: grid; gap: 12px; max-width: 70ch; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; list-style: none; margin: 0; padding: 0; }
.features li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.features li.no { color: var(--silver); text-decoration: line-through; }
.features .ico { color: var(--ink); }
@media (max-width: 620px) { .features { grid-template-columns: 1fr 1fr; } }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); border-radius: 16px; overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--mist); }
.spec-table th { color: var(--slate); font-weight: 400; width: 45%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .spec-cols { grid-template-columns: 1fr; } }
.detail-map { height: 340px; border-radius: var(--r-card); overflow: hidden; }

/* ---------- 3D mülk haritası (MapLibre) ---------- */
.pmap { position: relative; height: 500px; border-radius: var(--r-card); overflow: hidden; background: #f3efe6; isolation: isolate; }
.pmap:fullscreen { border-radius: 0; height: 100%; }
.pmap-canvas { position: absolute; inset: 0; }
.pmap-tl, .pmap-tr, .pmap-bl, .pmap-br { position: absolute; z-index: 2; display: flex; gap: 8px; align-items: center; }
.pmap-tl { top: 14px; left: 14px; flex-wrap: wrap; right: 70px; }
.pmap-tr { top: 14px; right: 14px; }
.pmap-bl { bottom: 14px; left: 14px; flex-wrap: wrap; }
.pmap-br { bottom: 14px; right: 14px; flex-direction: column; gap: 0; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-pop); overflow: hidden; }
.pmap-br .pmap-btn { box-shadow: none; border-radius: 0; }
.pmap-br .pmap-btn + .pmap-btn { border-top: 1px solid var(--mist); }
.pmap-seg { display: inline-flex; padding: 4px; background: var(--surface); border-radius: var(--r-pill); box-shadow: var(--shadow-pop); }
.pmap-seg button { height: 32px; padding: 0 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--slate); }
.pmap-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pmap-chip { height: 40px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-pop); font-size: 13px; font-weight: 600; }
.pmap-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-pop); display: inline-grid; place-items: center; color: var(--ink); transition: background .2s, color .2s; }
.pmap-btn:hover { background: var(--canvas); }
.pmap-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pmap-btn[aria-pressed="true"] .ico { color: var(--brand); }
.pmap-wide { width: auto; padding: 0 16px 0 13px; border-radius: 22px; display: inline-flex; gap: 8px; font-size: 13px; font-weight: 600; }
.pmap-draw { position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%); background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-pop); padding: 10px 10px 10px 16px; display: flex; gap: 16px; align-items: center; width: max-content; max-width: calc(100% - 28px); }
.pmap-draw[hidden] { display: none; }
.pmap-draw b { display: block; font-size: 17px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pmap-draw span { font-size: 12px; color: var(--slate); }
.pmap-draw-actions { display: flex; gap: 4px; }
.pmap:has(.pmap-draw:not([hidden])) .pmap-bl { bottom: 92px; }
.pin-static { transform: none !important; display: inline-block; }
.maplibregl-ctrl-bottom-right { bottom: 98px !important; }
.maplibregl-ctrl-attrib { font-size: 11px; }
@media (max-width: 760px) {
  .pmap { height: 440px; border-radius: 16px; }
  .pmap-wide span { display: none; } .pmap-wide { width: 44px; padding: 0; justify-content: center; }
  .pmap-chip { display: none; }
  .pmap-draw { left: 14px; right: 70px; transform: none; width: auto; flex-direction: column; align-items: stretch; gap: 8px; }
  .pmap:has(.pmap-draw:not([hidden])) .pmap-bl { bottom: 150px; }
}
/* Konum Bilgisi: yakındaki yerler (OpenStreetMap) — filtre çipleri, yatay kaydırılan kategori kartları */
.nb-addr { display: flex; align-items: center; gap: 6px; color: var(--slate); font-size: 14px; margin: -6px 0 14px; }
#nearby { margin-top: 16px; }
.nb-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.nb-chips::-webkit-scrollbar { display: none; }
.nb-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff; flex: none; }
.nb-cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 14px; padding-bottom: 6px; scrollbar-width: thin; }
.nb-card { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--mist); border-radius: 16px; padding: 14px 6px 8px; min-width: 0; }
.nb-card[hidden] { display: none; }
.nb-card header { display: flex; align-items: center; gap: 10px; padding: 0 10px 10px; }
.nb-card h3 { font-size: 15px; font-weight: 600; }
.nb-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c); flex: none; }
.nb-card ul { list-style: none; margin: 0; padding: 0; }
.nb-row { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 10px; border-radius: 10px; font-size: 13px; text-align: left; color: var(--ink); }
.nb-card li + li .nb-row { border-top: 1px solid var(--mist); border-radius: 0; }
button.nb-row:hover { background: var(--canvas); border-radius: 10px; }
.nb-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-row em { font-style: normal; color: var(--slate); }
.nb-row b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nb-src { font-size: 12px; color: var(--slate); margin-top: 8px; }
.nb-src a { text-decoration: underline; text-underline-offset: 2px; }
.nb-pop .maplibregl-popup-content { border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow-pop); font: 13px/1.4 var(--font); }
.nb-pop b { display: block; font-weight: 600; }
.nb-pop span { color: var(--slate); font-size: 12px; }
@media (max-width: 760px) { .nb-cards { grid-auto-columns: 86%; } }

/* Calculator */
.calc { background: var(--surface); border-radius: 16px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.calc .out { grid-column: span 3; display: flex; justify-content: space-between; align-items: end; gap: 12px; padding-top: 14px; border-top: 1px solid var(--mist); flex-wrap: wrap; }
.calc .out b { font-size: 26px; letter-spacing: -0.03em; }
.calc .out span { color: var(--slate); font-size: 13px; }
@media (max-width: 620px) { .calc { grid-template-columns: 1fr; } .calc .out { grid-column: auto; } }

/* Sticky contact */
.contact-card { position: sticky; top: 100px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-pop); padding: 22px; display: grid; gap: 16px; }
.contact-card .agent-row { display: flex; gap: 12px; align-items: center; }
.contact-card .agent-row b { display: block; } .contact-card .agent-row span { font-size: 13px; color: var(--slate); }
.contact-card hr { border: 0; border-top: 1px solid var(--mist); margin: 0; width: 100%; }
.slot-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slot { border: 1px solid var(--mist); border-radius: 12px; padding: 8px 4px; text-align: center; font-size: 12px; color: var(--slate); }
.slot b { display: block; font-size: 16px; color: var(--ink); font-weight: 600; }
.slot[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.listing-no { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--slate); }
.listing-no button { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--ink); }
.form-note { font-size: 12px; color: var(--slate); }
.form-ok { display: none; background: var(--good-tint); color: var(--good); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 500; }
.form-ok.show { display: block; }

.mobile-cta { display: none; }
@media (max-width: 1040px) {
  .contact-card { position: static; }
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--surface); border-top: 1px solid var(--mist); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 8px; align-items: center; }
  .mobile-cta .mp { margin-right: auto; } .mobile-cta .mp b { display: block; font-size: 17px; letter-spacing: -0.02em; } .mobile-cta .mp span { font-size: 12px; color: var(--slate); }
  .detail-page .wa-float { display: none; }
  .detail-page .footer { padding-bottom: 96px; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,15,15,.96); color: #fff; display: none; grid-template-rows: auto 1fr auto; }
.lightbox.open { display: grid; }
.lightbox header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-size: 14px; }
.lightbox .icon-btn:hover { background: rgba(255,255,255,.1); }
.lightbox figure { margin: 0; display: grid; place-items: center; padding: 0 72px; min-height: 0; }
.lightbox figure img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 8px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; color: #fff; }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; padding: 14px; overflow-x: auto; }
.lb-thumbs button { width: 72px; height: 52px; border-radius: 8px; overflow: hidden; opacity: .5; flex: none; }
.lb-thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid #fff; outline-offset: 2px; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 620px) { .lightbox figure { padding: 0 8px; } .lb-nav { display: none; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 88px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 500; z-index: 120; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   İlan broşürü (Yazdır / PDF) — A4, tek sayfa
   ========================================================= */
#print-root { display: none; }
.pdf-stage { position: fixed; left: -10000px; top: 0; z-index: -1; }
.print-sheet { width: 210mm; height: 296mm; padding: 12mm 13mm 10mm; background: #fff; color: var(--ink); font: 400 10.5pt/1.4 var(--font); display: flex; flex-direction: column; gap: 5mm; overflow: hidden; box-sizing: border-box; }
.print-sheet h1 { font-size: 21pt; letter-spacing: -0.035em; line-height: 1.08; font-weight: 600; }
.print-sheet h2 { font-size: 10.5pt; font-weight: 600; margin-bottom: 2.5mm; }
.ps-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 4mm; border-bottom: 1px solid var(--mist); }
.ps-logo { display: flex; gap: 3mm; align-items: center; }
.ps-logo img { height: 13mm; width: auto; display: block; }
.ps-logo small { border-left: 1px solid var(--mist); padding-left: 3mm; }
.ps-logo b { display: block; font-size: 12pt; letter-spacing: -0.02em; }
.ps-logo small, .ps-meta span { font-size: 8.5pt; color: var(--slate); }
.ps-meta { text-align: right; } .ps-meta b { display: block; font-size: 10pt; }
.ps-status { font-size: 8pt; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-deep); }
.ps-title p { color: var(--slate); margin-top: 1.5mm; }
/* Fotoğraflar arka plan görseli: PDF motoru (html2canvas) object-fit tanımaz, background-size: cover tanır */
.ps-photos { display: grid; gap: 2mm; height: 84mm; flex: none; overflow: hidden; }
.ps-photos.n1 { grid-template-columns: 1fr; }
.ps-photos.n2 { grid-template-columns: 1fr 1fr; }
.ps-photos.n3, .ps-photos.n4 { grid-template-columns: 2fr 1fr; }
.ps-side { display: grid; grid-auto-rows: 1fr; gap: 2mm; min-height: 0; height: 84mm; }
.ps-ph { background-color: var(--placeholder); background-position: center; background-size: cover; background-repeat: no-repeat; border-radius: 3mm; min-height: 0; height: 100%; }
.ps-price { display: flex; gap: 8mm; align-items: flex-end; padding: 4mm 5mm; background: var(--canvas); border-radius: 3mm; }
.ps-price span { display: block; font-size: 8.5pt; color: var(--slate); }
/* PDF motoru negatif harf aralığı + tabular rakamda boşluk kaydırıyor (1 .800.000); normal aralık */
.ps-price b { font-size: 13pt; letter-spacing: 0; font-variant-numeric: normal; white-space: nowrap; }
.ps-price > div:first-child b { font-size: 20pt; }
.ps-price em { display: inline-flex; font-style: normal; margin-left: 2mm; font-size: 8.5pt; }
.ps-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; flex: 1; min-height: 0; overflow: hidden; align-content: start; }
.ps-cols .ps-sub { margin-top: 5mm; }
.ps-cols table { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
.ps-cols th, .ps-cols td { text-align: left; padding: 1.6mm 0; border-bottom: 1px solid var(--mist); }
.ps-cols th { color: var(--slate); font-weight: 400; width: 42%; }
.ps-cols ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2mm 4mm; font-size: 9.5pt; }
.ps-price { flex: none; }
.ps-cols li.no { color: var(--silver); }
.ps-desc { font-size: 9.5pt; color: #3a3a3a; line-height: 1.5; }
.ps-foot { display: grid; grid-template-columns: 1.1fr 1.2fr auto; gap: 6mm; align-items: center; padding-top: 4mm; border-top: 1px solid var(--mist); }
.ps-agent { display: flex; gap: 3mm; align-items: center; }
.ps-agent .avatar { width: 12mm; height: 12mm; font-size: 10pt; display: grid; place-items: center; color: var(--ink); flex: none; }
.ps-agent b, .ps-office b { display: block; font-size: 10pt; }
.ps-agent span, .ps-office span { display: block; font-size: 8.5pt; color: var(--slate); }
.ps-phone { margin-top: 1mm; font-size: 11pt !important; }
.ps-qr { display: flex; gap: 3mm; align-items: center; max-width: 52mm; }
.ps-qr [data-qr] img, .ps-qr [data-qr] canvas { width: 22mm !important; height: 22mm !important; }
.ps-qr span { font-size: 8pt; color: var(--slate); }
.ps-legal { font-size: 7pt; color: var(--slate); }

@media print {
  @page { size: A4; margin: 0; }
  html, body { background: #fff !important; }
  body > *:not(#print-root) { display: none !important; }
  #print-root { display: block !important; }
  .print-sheet { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Portal bağlantıları (sahibinden / hepsiemlak) */
.portal-links { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 18px 0 4px; padding: 14px 16px; border: 1px solid var(--mist); border-radius: 14px; background: var(--surface); }
.portal-links > span { font-size: 13px; color: var(--slate); }
.portal-links > div { display: flex; gap: 8px; flex-wrap: wrap; }
.portal-btn i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 1px rgba(0,0,0,.12) inset; }
.portal-btn[data-portal="sahibinden"] i { background: #ffe800; }
.portal-btn[data-portal="hepsiemlak"] i { background: #e1251b; }
.portal-btn .ico-sm { opacity: .55; }

@media (max-width: 600px) {
  .detail-actions { flex-wrap: wrap; gap: 0; margin-left: -10px; }
  .detail-actions .btn { padding-inline: 9px; }
}

/* =========================================================
   Kurumsal sayfalar: menü, rehber, yazı, basın, ekip, hakkımızda, iletişim
   ========================================================= */
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; font: inherit; font-weight: 600; font-size: 14px; border: 0; background: none; border-radius: var(--r-btn); cursor: pointer; color: inherit; position: relative; }
.nav-drop-btn:hover { background: var(--canvas); }
.nav-drop-btn .ico-sm { transition: transform .2s var(--ease); }
.nav-drop-btn[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 200px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-pop); padding: 6px; display: none; z-index: 60; }
.nav-menu a { display: block; padding: 10px 12px; }
.nav-menu a.nav-all { margin-top: 4px; border-top: 1px solid var(--mist); border-radius: 0 0 10px 10px; color: var(--slate); font-size: 13px; }
.nav-menu a[aria-current="page"]::after { display: none; }
.nav-menu a[aria-current="page"] { background: var(--canvas); }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu, .nav-drop-btn[aria-expanded="true"] + .nav-menu { display: block; }
.nav-drop:hover .nav-drop-btn .ico-sm, .nav-drop-btn[aria-expanded="true"] .ico-sm { transform: rotate(180deg); }
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }

.page-hero { padding: 8px 0 32px; }
.page-hero h1 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1; letter-spacing: -0.045em; font-weight: 600; max-width: 18ch; }
.page-hero .lede { font-size: clamp(16px, 1.4vw, 19px); color: var(--slate); margin-top: 16px; max-width: 60ch; line-height: 1.5; }
.page-hero .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--slate); margin-bottom: 16px; }
.page-hero .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.crumbs span[aria-hidden] { color: var(--silver); }

/* Rehber listesi */
.topic-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.topic-chips .chip { cursor: pointer; font: inherit; font-size: 13px; font-weight: 500; }
.topic-chips .chip .num { opacity: .6; font-weight: 600; }
.articles.is-index { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.article { transition: box-shadow .25s var(--ease); }
.article:hover { box-shadow: var(--shadow-pop); }
.article:hover b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article[hidden] { display: none; }
.post-cover { aspect-ratio: 16 / 9; display: grid; align-content: end; padding: 16px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.post-cover::before { content: ""; position: absolute; right: -14%; bottom: -55%; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 26px solid var(--brand); }
.post-cover span { position: relative; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* Yazı sayfası */
/* Yazı sayfası: solda yazı kartı, sağda yapışkan içindekiler */
.post-shell { max-width: 1220px; margin: 0 auto; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.post-layout.no-toc { grid-template-columns: minmax(0, 880px); justify-content: center; }
.post-layout.no-toc .post-aside { display: none; }
.post { background: var(--surface); border-radius: var(--r-card); padding: 40px 48px 44px; min-width: 0; }
.post h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; margin-top: 14px; }
.post-topic { display: inline-flex; padding: 5px 12px; border-radius: var(--r-pill); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.post-topic:hover { background: var(--brand-deep); }
.post-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--slate); font-size: 14px; margin-top: 14px; }
.post-meta b { color: var(--ink); font-weight: 600; }
.ai-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ai-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: var(--r-pill); color: #fff; font-size: 14px; font-weight: 600; transition: filter .2s var(--ease), transform .1s; }
.ai-btn:hover { filter: brightness(1.12); } .ai-btn:active { transform: scale(.97); }
.ai-chatgpt { background: #0f7a5c; } .ai-perplexity { background: #4f46c8; } .ai-grok { background: #b4470f; }
.post-aside { position: sticky; top: 100px; }
.toc { background: var(--surface); border-radius: var(--r-card); overflow: hidden; }
.toc-head { padding: 18px 20px 0; }
.toc-head b { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.toc-progress { display: block; height: 3px; background: var(--mist); margin: 14px -20px 0; }
.toc-progress i { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .1s linear; }
.toc ol { list-style: none; margin: 0; padding: 10px 10px 14px; display: grid; gap: 2px; max-height: calc(100vh - 220px); overflow-y: auto; position: relative; overscroll-behavior: contain; }
.toc li a { display: grid; grid-template-columns: 18px 1fr; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 14px; line-height: 1.4; color: var(--slate); position: relative; }
.toc li a::before { content: ""; width: 8px; height: 8px; margin: 6px 0 0 4px; border-radius: 50%; border: 1.5px solid #c9c9c9; box-sizing: border-box; }
.toc li a:hover { color: var(--ink); background: var(--canvas); }
.toc li a.is-done { color: var(--ink); }
.toc li a.is-done::before { width: 16px; height: 16px; margin: 1px 0 0; border: 0; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.toc li a.is-active { background: var(--brand-tint); color: var(--ink); font-weight: 600; }
.toc li a.is-active::after { content: ""; position: absolute; left: -10px; top: 6px; bottom: 6px; width: 4px; border-radius: 0 4px 4px 0; background: var(--brand); }
.toc li a.is-active::before { border: 0; background: var(--brand); width: 10px; height: 10px; margin: 5px 0 0 3px; }
.toc-inline { display: none; margin-top: 24px; border: 1px solid var(--mist); }
.toc-inline summary { padding: 14px 18px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.toc-inline summary span { color: var(--slate); font-weight: 500; font-size: 13px; }
.toc-inline ol { max-height: none; padding-top: 0; }
@media (max-width: 1080px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-aside { display: none; }
  .toc-inline { display: block; }
}
@media (max-width: 640px) { .post { padding: 24px 18px 28px; border-radius: 16px; } .ai-btn { height: 36px; padding: 0 14px; font-size: 13px; } }
.post-lede { font-size: 19px; line-height: 1.5; color: var(--ink); margin-top: 20px; letter-spacing: -0.012em; }
.post-hero { margin: 28px 0 8px; border-radius: var(--r-card); overflow: hidden; background: var(--placeholder); }
.post-hero img { width: 100%; height: auto; display: block; aspect-ratio: 960 / 602; object-fit: cover; }
.prose { font-size: 17px; line-height: 1.7; color: #2b2b2b; margin-top: 28px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.025em; font-weight: 600; margin-top: 1.8em; color: var(--ink); }
.post .prose h2 { border-left: 4px solid var(--brand); padding-left: 14px; scroll-margin-top: 110px; }
.prose h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; margin-top: 1.5em; color: var(--ink); }
.prose h4 { font-size: 17px; font-weight: 600; margin-top: 1.3em; color: var(--ink); }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .5em; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand-deep); font-weight: 600; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand); color: var(--ink); }
.prose img { width: 100%; height: auto; border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose td, .prose th { border-bottom: 1px solid var(--mist); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.prose tr:first-child td { font-weight: 600; color: var(--ink); }
.prose ol.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 12px; margin-top: 1.4em; }
.prose ol.steps li { counter-increment: step; background: var(--surface); border-radius: 16px; padding: 18px 20px 18px 64px; position: relative; margin: 0; }
.prose ol.steps li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.prose ol.steps h3 { margin: 0; font-size: 17px; }
.prose ol.steps p { margin-top: 6px; font-size: 16px; line-height: 1.6; }
.post-cta { margin: 48px 0 0; background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 28px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.post-cta b { font-size: 20px; letter-spacing: -0.02em; font-weight: 600; display: block; }
.post-cta p { color: rgba(255,255,255,.72); margin-top: 6px; font-size: 15px; }
.post-cta .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.post-cta .btn { background: #fff; color: var(--ink); }
.post-cta .btn.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.post-note { margin-top: 20px; font-size: 13px; color: var(--slate); }

/* Basında biz */
.press-facts { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 24px; }
.press-facts b { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; display: block; line-height: 1.1; }
.press-facts span { color: var(--slate); font-size: 13px; }
.press-year { padding-top: 36px; }
.press-year h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 16px; display: flex; align-items: center; gap: 14px; }
.press-year h2::after { content: ""; flex: 1; height: 1px; background: var(--mist); }
.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.press-card { background: var(--surface); border-radius: var(--r-card); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: box-shadow .25s var(--ease); }
.press-card:hover { box-shadow: var(--shadow-pop); }
.press-card > div:last-child { padding: 16px; display: grid; gap: 8px; align-content: start; }
.press-card small { color: var(--slate); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.press-card b { font-weight: 600; font-size: 16px; line-height: 1.32; letter-spacing: -0.015em; }
.press-card .link-arrow { margin-top: 4px; font-size: 13px; color: var(--brand-deep); }
.press-thumb { aspect-ratio: 16 / 10; background: var(--canvas); overflow: hidden; border-bottom: 1px solid var(--mist); }
.press-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.press-thumb.is-empty { background: var(--ink); }

/* Ekip */
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.member { background: var(--surface); border-radius: var(--r-card); overflow: hidden; display: grid; grid-template-rows: auto 1fr; scroll-margin-top: 100px; }
.member:target { box-shadow: 0 0 0 2px var(--brand); }
.member-photo { aspect-ratio: 4 / 5; background: var(--canvas); position: relative; overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.member-photo .avatar { position: absolute; inset: 0; width: auto; height: auto; border-radius: 0; border: 0; font-size: 40px; }
.member-body { padding: 16px; display: grid; gap: 12px; align-content: start; }
.member-body b { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; display: block; }
.member-body .role { display: block; margin-top: 2px; color: var(--slate); font-size: 13px; }
.member-body .contact { display: grid; gap: 4px; font-size: 14px; }
.member-body .contact a { display: inline-flex; gap: 8px; align-items: center; min-width: 0; }
.member-body .contact a span { min-width: 0; overflow-wrap: break-word; }
.member-body .contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.member-body .contact .ico-sm { color: var(--slate); flex: none; }
.member-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.team.has-photos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.team.has-photos .member-photo { aspect-ratio: 1; }
.team.has-photos .member-actions { gap: 6px; }
.team.has-photos .member-actions .btn { flex: 1; justify-content: center; padding-inline: 8px; }
.team.has-photos .member-actions .btn-ghost { box-shadow: inset 0 0 0 1px var(--mist); }

/* Hakkımızda */
.about-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.about-portrait { margin: 0; border-radius: var(--r-card); overflow: hidden; background: #f3f3f3; aspect-ratio: 714 / 840; justify-self: end; width: 100%; max-width: 440px; position: relative; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.about-portrait figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--surface); border-radius: 12px; padding: 10px 14px; font-size: 13px; color: var(--slate); box-shadow: var(--shadow-pop); }
.about-portrait figcaption b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.about-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--mist); border-radius: var(--r-card); overflow: hidden; margin-top: 40px; }
.about-facts div { background: var(--surface); padding: 22px 20px; }
.about-facts b { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.04em; display: block; line-height: 1; }
.about-facts span { color: var(--slate); font-size: 13px; display: block; margin-top: 8px; }
.about-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.about-story h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; font-weight: 600; line-height: 1.1; }
.about-story .prose { margin-top: 0; }
.about-story img { width: 100%; border-radius: var(--r-card); margin-top: 24px; aspect-ratio: 764 / 500; object-fit: cover; background: var(--placeholder); display: block; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vm > div { background: var(--surface); border-radius: var(--r-card); padding: 28px; }
.vm small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-deep); }
.vm p { font-size: 20px; line-height: 1.45; letter-spacing: -0.015em; margin-top: 12px; }

/* İletişim */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.office-card { background: var(--surface); border-radius: var(--r-card); overflow: hidden; display: grid; grid-template-rows: auto 1fr; scroll-margin-top: 100px; }
.office-card iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: var(--placeholder); }
.office-card > div { padding: 22px; display: grid; gap: 14px; align-content: start; }
.office-card h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.office-card address { font-style: normal; color: var(--slate); line-height: 1.5; }
.office-lines { display: grid; gap: 6px; }
.office-lines a { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; }
.office-lines a:hover { text-decoration: underline; text-underline-offset: 3px; }
.office-lines .ico-sm { color: var(--slate); }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.channel { background: var(--surface); border-radius: var(--r-card); padding: 22px; display: grid; gap: 8px; align-content: start; transition: box-shadow .25s var(--ease); }
.channel:hover { box-shadow: var(--shadow-pop); }
.channel b { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; margin-top: 6px; }
.channel span { color: var(--slate); font-size: 14px; overflow-wrap: anywhere; }
.social-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; color: var(--slate); font-size: 14px; }
.socials-lg { gap: 8px; flex-wrap: wrap; }
.socials-lg a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--mist); color: var(--ink); font-weight: 500; transition: border-color .2s var(--ease); }
.socials-lg a:hover { border-color: var(--ink); }

@media (max-width: 980px) {
  .about-hero, .about-story, .offices { grid-template-columns: 1fr; }
  .about-portrait { justify-self: start; max-width: 360px; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .channels { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .vm { grid-template-columns: 1fr; }
  .vm p { font-size: 18px; }
  .post-cta { grid-template-columns: 1fr; padding: 22px; }
  .prose { font-size: 16px; }
  .prose ol.steps li { padding: 16px 16px 16px 56px; }
  .prose ol.steps li::before { left: 14px; top: 16px; }
  .post-lede { font-size: 17px; }
}

[hidden] { display: none !important; }
/* /ekibimiz: yatay kartlar, 3×2 düzen */
.members { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.members .member { grid-template-rows: none; grid-template-columns: 42% minmax(0, 1fr); }
.members .member-photo { aspect-ratio: auto; min-height: 100%; }
.members .member-photo img { position: absolute; inset: 0; }
.members .member-body { padding: 18px; }
@media (max-width: 1180px) { .members { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .members { grid-template-columns: minmax(0, 1fr); } .members .member { grid-template-columns: 38% minmax(0, 1fr); } .members .member-body { padding: 14px; } }
.about-hero { align-items: center; }
.about-portrait { max-width: 400px; }
.article img, .press-thumb img { height: auto; }
.press-thumb img { height: 100%; }

/* ---------- SSR yedek içerik (api/ssr.go) ----------
   JS çalıştırmayan tarayıcı/ajanlar için sunucuda yazılan sade listeler; sayfa betiği
   aynı kapları kartlarla yeniden doldurur, bu stiller yalnızca o ilk anda görünür. */
.ssr-list { grid-column: 1 / -1; margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--slate); }
.ssr-list li { padding: 10px 0; border-bottom: 1px solid var(--mist); }
.ssr-list a { color: var(--ink); }
.ssr-list span { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.carousel:has(> .ssr-list) { display: block; }
.ssr-detail { padding: 24px 0; display: grid; gap: 12px; max-width: 760px; }
.ssr-detail img { width: 100%; height: auto; border-radius: var(--r-card); }
.ssr-detail dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.ssr-detail dt { color: var(--slate); }
.ssr-detail dd { margin: 0; }

/* ---------- Talep formları (POST /api/leads) ---------- */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-err { background: var(--warn-tint); color: var(--warn); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 500; }
.val-form .form-err, .val-form .form-ok { grid-column: 1 / -1; }
.valuation .form-err { color: var(--warn); margin-top: 0; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.lead-card { background: var(--surface); border-radius: var(--r-card); padding: 28px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; scroll-margin-top: 100px; }
.lead-card h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.lead-card > div > p { color: var(--slate); margin-top: 10px; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.lead-form .full, .lead-form .form-err { grid-column: 1 / -1; }
.lead-form .choice-row { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 760px) { .lead-card { grid-template-columns: 1fr; padding: 20px; gap: 18px; } .lead-form { grid-template-columns: 1fr; } }
.val-side { display: grid; gap: 12px; }
.val-lead > b { grid-column: 1 / -1; font-size: 15px; font-weight: 600; }
.val-lead > p { grid-column: 1 / -1; font-size: 13px; color: var(--slate); margin: -6px 0 0; }

/* Duyuru şeridi (panel: announcement) */
.announce { background: var(--brand-tint); color: var(--ink); font-size: 13px; font-weight: 500; text-align: center; }
.announce .wrap { min-height: 32px; display: flex; align-items: center; justify-content: center; padding-block: 6px; }
.announce a { display: inline-flex; gap: 6px; align-items: center; text-decoration: underline; text-underline-offset: 3px; }

/* Arsa: tapu parsel kartı (TKGM parsel sorgu kaydı) */
.tapu-card { margin-top: 10px; padding: 14px 16px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--mist); }
.tapu-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.tapu-head b { font-size: 15px; } .tapu-head span { font-size: 12px; color: var(--slate); }
.tapu-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; margin: 0; }
.tapu-card dt { font-size: 12px; color: var(--slate); } .tapu-card dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.tapu-card p { margin: 0; font-size: 13px; color: var(--slate); }
@media (max-width: 620px) { .tapu-card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
