/* Prime Reality — site stilleri */
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/marcellus-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/marcellus-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #161917;
  --ink-2: #1F2320;
  --ink-3: #2A2F2B;
  --stone: #ECE7DC;
  --stone-2: #E2DACA;
  --paper: #F6F3EC;
  --line: #D3C9B6;
  --line-dark: rgba(236, 231, 220, .16);
  --brass: #B8935A;
  --brass-hi: #CFAE76;
  --brass-ink: #74592C;
  --sea: #1C3336;
  --sea-2: #24403F;
  --text: #161917;
  --muted: #55584F;
  --on-dark: #ECE7DC;
  --on-dark-muted: #ADA999;
  --danger: #9A3B26;
  --ok: #3C6B4A;

  --serif: "Marcellus", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, .75, .2);
  --t1: 240ms;
  --t2: 600ms;
  --t3: 1100ms;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --header-h: 84px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--stone);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 1px; }
.dark :focus-visible, .on-dark :focus-visible { outline-color: var(--brass-hi); }
html { scrollbar-color: var(--brass) var(--stone-2); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--stone-2); }
::-webkit-scrollbar-thumb { background: var(--brass); border: 2px solid var(--stone-2); border-radius: 6px; }
input, textarea { caret-color: var(--brass-ink); }

.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--brass); color: var(--ink); padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brass); --fg: var(--ink); --sweep: var(--brass-hi);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.5em;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg); border-radius: var(--radius);
  font: 600 .95rem/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: color var(--t1) var(--ease), border-color var(--t1) var(--ease), transform 120ms var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--sweep); transform: scaleX(0); transform-origin: right;
  transition: transform 420ms var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:active { transform: translateY(1px); }
.btn .ico { transition: transform 420ms var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--on-dark); --sweep: var(--on-dark); border-color: rgba(236, 231, 220, .45); }
.btn--ghost:hover { color: var(--ink); border-color: var(--on-dark); }
.btn--line { --bg: transparent; --fg: var(--ink); --sweep: var(--ink); border-color: var(--ink); }
.btn--line:hover { color: var(--stone); }
.btn--ink { --bg: var(--ink); --fg: var(--stone); --sweep: var(--ink-3); }
.btn--sm { min-height: 40px; padding: 0 1.1em; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--brass-ink); }
.link-arrow .ico { transition: transform 420ms var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 420ms var(--ease); padding-bottom: 2px; }
.link-arrow:hover span { background-size: 100% 1px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--on-dark);
  transition: background-color var(--t2) var(--ease), transform var(--t2) var(--ease), height var(--t2) var(--ease), border-color var(--t2) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(22, 25, 23, .94); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); border-bottom-color: var(--line-dark); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--brass);
  display: grid; place-items: center; font: 400 1.15rem/1 var(--serif); color: var(--brass-hi); letter-spacing: .02em;
}
.brand__name { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name b { font: 400 1.2rem/1.1 var(--serif); letter-spacing: .06em; }
.brand__name small { font-size: .72rem; letter-spacing: .32em; color: var(--brass-hi); margin-top: 4px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform 420ms var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--brass-hi); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line-dark); background: transparent; color: inherit; border-radius: var(--radius); cursor: pointer; place-items: center; }
.menu-btn .ico { width: 22px; height: 22px; }

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .menu-btn { display: grid; }
  .brand__mark { width: 40px; height: 40px; font-size: 1rem; }
  .brand__name b { font-size: 1.05rem; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 49; margin: 0;
    background: var(--ink); flex-direction: column; align-items: stretch; gap: 0;
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path var(--t2) var(--ease), visibility 0s linear var(--t2);
  }
  .nav a:not(.btn) { font: 400 1.9rem/1.2 var(--serif); padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 24px; }
  .nav__phone { font-family: var(--sans) !important; font-size: 1.1rem !important; }
  .menu-open .nav { clip-path: inset(0); visibility: visible; transition: clip-path var(--t2) var(--ease), visibility 0s; }
  .menu-open .site-header { background: var(--ink); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: max(640px, 100svh); color: var(--on-dark); background: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; object-position: center 60%; will-change: transform; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 25, 23, .9) 0%, rgba(22, 25, 23, .62) 38%, rgba(22, 25, 23, .08) 72%),
    linear-gradient(0deg, rgba(22, 25, 23, .75) 0%, rgba(22, 25, 23, 0) 38%),
    linear-gradient(180deg, rgba(22, 25, 23, .55) 0%, rgba(22, 25, 23, 0) 22%);
}
.hero__inner { position: relative; padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(150px, 20vh, 200px); }
.hero h1 { font-size: clamp(2.9rem, 7.4vw, 6rem); line-height: .98; max-width: 11ch; letter-spacing: -.02em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.hero h1 .line > span { display: block; }
.hero__lead { margin-top: 28px; max-width: 46ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #D9D4C6; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__place { position: absolute; right: var(--gutter); bottom: clamp(150px, 20vh, 200px); display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #D9D4C6; writing-mode: vertical-rl; transform: rotate(180deg); }
.hero__place::after { content: ""; width: 1px; height: 64px; background: var(--brass); }


@media (max-width: 700px) {
  .hero__place { display: none; }
  .hero__media::after, [dir="rtl"] .hero__media::after {
    background: linear-gradient(0deg, rgba(22, 25, 23, .92) 0%, rgba(22, 25, 23, .72) 45%, rgba(22, 25, 23, .25) 75%, rgba(22, 25, 23, .55) 100%);
  }
}

/* Hero entrance: tek, kurgulanmış açılış */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__media { animation: curtain 1.5s var(--ease) both; }
  .js .hero__media img { animation: settle 2.6s var(--ease) both; }
  .js .hero h1 .line > span { animation: rise 1.1s var(--ease) both; animation-delay: calc(.55s + var(--i, 0) * .12s); }
  .js .hero__lead, .js .hero__actions { animation: lift .9s var(--ease) both; animation-delay: 1s; }
  .js .hero__actions { animation-delay: 1.1s; }
  .js .hero__place { animation: fade 1.2s var(--ease) both 1.4s; }
  .js .search-dock { animation: dock 1s var(--ease) both 1.15s; }
}
@keyframes curtain { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes lift { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dock { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ---------- Search console ---------- */
.search-dock { position: relative; z-index: 3; margin-top: -96px; }
.search {
  background: var(--paper); color: var(--text); border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(22, 25, 23, .45), 0 2px 6px rgba(22, 25, 23, .08);
  display: grid; grid-template-columns: auto 1fr 1fr 1fr 1fr auto; align-items: stretch;
}
.search__seg { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px 22px; border-right: 1px solid var(--line); }
.seg { display: inline-flex; background: var(--stone); border-radius: var(--radius); padding: 3px; position: relative; }
.seg button { position: relative; z-index: 1; border: 0; background: transparent; padding: 9px 14px; min-height: 40px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--muted); border-radius: var(--radius); transition: color var(--t1) var(--ease); }
.seg button[aria-pressed="true"] { color: var(--stone); }
.seg__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; background: var(--ink); border-radius: var(--radius); transition: transform 480ms var(--ease), width 480ms var(--ease); }
.field { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 22px; border-right: 1px solid var(--line); min-width: 0; }
.field label, .label { font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.field select, .field input {
  border: 0; background: transparent; padding: 4px 0; min-height: 32px; width: 100%;
  font-size: 1rem; font-weight: 500; outline: none; appearance: none; -webkit-appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374592C' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right center / 16px no-repeat; padding-right: 22px; cursor: pointer; }
.field:focus-within { background: var(--stone); }
.field input::placeholder, .input input::placeholder, .chip-input::placeholder { color: #6A665A; }
.search__go { margin: 12px; min-height: auto; padding: 0 28px; }
@media (max-width: 1080px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search__seg { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .field { border-bottom: 1px solid var(--line); }
  .field:nth-of-type(even) { border-right: 0; }
  .search__go { grid-column: 1 / -1; min-height: 52px; }
}
@media (max-width: 560px) {
  .search-dock { margin-top: -56px; }
  .field { padding: 12px 16px; }
  .search__seg { padding: 16px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 12vw, 168px) 0; }
.section--tight { padding-top: clamp(64px, 8vw, 104px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2, .h2 { font-size: clamp(2.2rem, 4.6vw, 3.75rem); max-width: 18ch; }
.section-head p { color: var(--muted); max-width: 40ch; margin-top: 16px; }
.dark { background: var(--ink); color: var(--on-dark); }
.dark .section-head p, .dark .muted { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.reveal-line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.reveal-line > span { display: block; }

/* ---------- Listing cards ---------- */
.portfolio { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.portfolio > .card { grid-column: span 4; }
.portfolio > .card:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.portfolio > .card:nth-child(2), .portfolio > .card:nth-child(3) { grid-column: span 5; }
.portfolio > .card:nth-child(1) .card__media { aspect-ratio: auto; flex: 1; min-height: 420px; }
.portfolio > .card:nth-child(1) .card__media img { position: absolute; inset: 0; }
.portfolio > .card:nth-child(1) .card__title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
@media (max-width: 1000px) {
  .portfolio > .card, .portfolio > .card:nth-child(n) { grid-column: span 6; grid-row: auto; }
  .portfolio > .card:nth-child(1) { grid-column: 1 / -1; }
  .portfolio > .card:nth-child(1) .card__media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) { .portfolio > .card:nth-child(n) { grid-column: 1 / -1; } }

.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; min-width: 0; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter var(--t2) var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__chip { position: absolute; left: 14px; top: 14px; background: var(--paper); color: var(--ink); font-size: .78rem; font-weight: 700; padding: 6px 10px; border-radius: var(--radius); letter-spacing: .02em; }
.card__chip--rent { background: var(--ink); color: var(--stone); }
.card__closed { position: absolute; inset: auto 0 0 0; padding: 10px 14px; background: rgba(22, 25, 23, .82); color: var(--on-dark); font: 400 1.05rem/1.2 var(--serif); letter-spacing: .02em; }
.card--closed .card__media img { filter: grayscale(.55) brightness(.92); }
.card--closed .card__price { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.card__view {
  position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--brass); color: var(--ink); display: grid; place-items: center;
  transform: translateY(12px) scale(.8); opacity: 0; transition: transform 480ms var(--ease), opacity var(--t1) var(--ease);
}
.card:hover .card__view, .card:focus-visible .card__view { transform: none; opacity: 1; }
.card__body { padding-top: 18px; display: grid; gap: 6px; }
.card__price { font: 600 1.15rem/1.3 var(--sans); font-variant-numeric: tabular-nums; }
.card__title { font: 400 1.4rem/1.2 var(--serif); }
.card__loc { color: var(--muted); font-size: .92rem; display: flex; align-items: center; gap: 6px; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.card__meta .ico { color: var(--brass-ink); }

/* ---------- Category accordion (imza etkileşimi) ---------- */
.cats { display: flex; gap: 12px; height: clamp(440px, 62vh, 600px); }
.cat {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--radius);
  color: var(--on-dark); text-decoration: none; background: var(--ink-2);
  transition: flex-grow 900ms var(--ease);
}
.cat.is-active { flex-grow: 3.2; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.7); transform: scale(1.08); transition: filter 900ms var(--ease), transform 1.4s var(--ease); }
.cat.is-active img { filter: saturate(1) brightness(.85); transform: scale(1); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22, 25, 23, .88) 0%, rgba(22, 25, 23, 0) 60%); }
.cat__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.4vw, 32px); display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.cat__name { font: 400 clamp(1.7rem, 2.6vw, 2.6rem)/1 var(--serif); white-space: nowrap; }
.cat__count { display: block; margin-top: 10px; font-size: .92rem; color: #D9D4C6; font-variant-numeric: tabular-nums; }
.cat__go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(236, 231, 220, .5); display: grid; place-items: center; flex: none; opacity: 0; transform: translateX(-12px); transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease), background-color var(--t1) var(--ease); }
.cat.is-active .cat__go { opacity: 1; transform: none; }
.cat:hover .cat__go { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.cat__desc { max-width: 34ch; margin-top: 12px; color: #D9D4C6; font-size: .95rem; opacity: 0; transform: translateY(10px); transition: opacity var(--t2) var(--ease) 150ms, transform var(--t2) var(--ease) 150ms; }
.cat.is-active .cat__desc { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .cats { flex-direction: column; height: auto; }
  .cat, .cat.is-active { flex: none; height: 220px; }
  .cat__go, .cat__desc { opacity: 1; transform: none; }
  .cat__desc { display: none; }
}

/* ---------- Story / expanding frame ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.story__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone-2); border-radius: var(--radius); }
.story__frame img { width: 100%; height: 100%; object-fit: cover; }
.story__text p { margin-top: 24px; max-width: 52ch; color: var(--muted); font-size: 1.1rem; }
.story__text .btn { margin-top: 36px; }
.facts { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.facts div:nth-child(even) { padding-left: 20px; }
.facts dt { font: 400 1.5rem/1.1 var(--serif); }
.facts dd { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story__frame { aspect-ratio: 4 / 3; } }

/* ---------- Services ---------- */
.services { border-top: 1px solid var(--line); counter-reset: svc; }
.svc { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); position: relative; }
.svc::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--brass-ink); transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease); }
.svc:hover::before { transform: scaleX(1); }
.svc__icon { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brass-ink); transition: background-color var(--t2) var(--ease), color var(--t2) var(--ease), border-color var(--t2) var(--ease); }
.svc__icon .ico { width: 24px; height: 24px; }
.svc:hover .svc__icon { background: var(--ink); color: var(--brass-hi); border-color: var(--ink); }
.svc h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.svc p { color: var(--muted); max-width: 46ch; }
.svc a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--brass-ink); }
@media (max-width: 760px) {
  .svc { grid-template-columns: 48px 1fr; gap: 14px 18px; }
  .svc__icon { width: 48px; height: 48px; }
  .svc p { grid-column: 2; }
  .svc a { display: none; }
}

/* ---------- Contact ---------- */
.contact { background: var(--sea); color: var(--on-dark); position: relative; overflow: hidden; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); }
.contact h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.contact__lead { margin-top: 20px; color: #C3CCC6; max-width: 42ch; font-size: 1.1rem; }
.channels { margin-top: 40px; display: grid; border-top: 1px solid rgba(236, 231, 220, .18); }
.channel { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(236, 231, 220, .18); text-decoration: none; transition: padding var(--t2) var(--ease), color var(--t1) var(--ease); }
a.channel:hover { padding-left: 10px; color: var(--brass-hi); }
.channel .ico { width: 22px; height: 22px; color: var(--brass-hi); }
.channel small { display: block; font-size: .8rem; color: #A9B5AE; }
.channel span { font-size: 1.05rem; }
.map { margin-top: 32px; aspect-ratio: 16 / 9; border: 0; width: 100%; filter: grayscale(.6) contrast(.95); border-radius: var(--radius); background: var(--sea-2); }

.form { display: grid; gap: 18px; }
.form--panel { background: var(--paper); color: var(--text); padding: clamp(24px, 3.2vw, 44px); border-radius: var(--radius); align-self: start; }
.form h3 { font-size: 1.8rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.input { display: grid; gap: 6px; }
.input label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.input input, .input select, .input textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: #FFFDF8; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; transition: border-color var(--t1) var(--ease), box-shadow var(--t1) var(--ease);
}
.input textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
.input input:hover, .input select:hover, .input textarea:hover { border-color: #B9AD95; }
.input input:focus, .input select:focus, .input textarea:focus { outline: none; border-color: var(--brass-ink); box-shadow: 0 0 0 3px rgba(184, 147, 90, .22); }
.input [aria-invalid="true"] { border-color: var(--danger); }
.input .err { color: var(--danger); font-size: .85rem; min-height: 0; }
.input .err:empty { display: none; }
.form__note { font-size: .85rem; color: var(--muted); }
.form-success { display: none; padding: 20px; border: 1px solid var(--ok); color: var(--ok); border-radius: var(--radius); background: rgba(60, 107, 74, .07); }
.form-success.is-on { display: flex; gap: 12px; align-items: flex-start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: clamp(64px, 8vw, 104px) 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer__top p { color: var(--on-dark-muted); margin-top: 20px; max-width: 34ch; }
.footer__col h4 { font: 600 .85rem/1 var(--sans); color: var(--brass-hi); margin-bottom: 18px; letter-spacing: .02em; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a { text-decoration: none; color: var(--on-dark-muted); transition: color var(--t1) var(--ease); }
.footer__col a:hover { color: var(--on-dark); }
.footer__bottom { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--on-dark-muted); }
.footer__bottom a { color: var(--on-dark-muted); }
.footer__mega { font: 400 clamp(3rem, 12.5vw, 11rem)/.9 var(--serif); color: var(--ink-3); letter-spacing: -.02em; margin-top: 48px; white-space: nowrap; user-select: none; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > :first-child { grid-column: 1 / -1; } }

/* WhatsApp hızlı buton */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: var(--brass); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 14px 30px -12px rgba(22, 25, 23, .6);
  transition: transform var(--t1) var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float .ico { width: 28px; height: 28px; }

/* ---------- Page head (iç sayfalar) ---------- */
.page-head { background: var(--ink); color: var(--on-dark); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.page-head p { color: var(--on-dark-muted); margin-top: 14px; max-width: 52ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--on-dark-muted); margin-bottom: 22px; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--on-dark); }

/* ---------- Filters ---------- */
.filters { position: sticky; top: 0; z-index: 20; background: var(--stone); border-bottom: 1px solid var(--line); transition: top var(--t2) var(--ease); }
body.header-shown .filters { top: var(--header-h); }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding-top: 16px; padding-bottom: 16px; }
.chip-select { position: relative; }
.chip-select select, .chip-input {
  min-height: 44px; padding: 0 38px 0 14px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius);
  font-size: .95rem; appearance: none; -webkit-appearance: none; cursor: pointer;
}
.chip-select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--brass-ink); border-bottom: 1.5px solid var(--brass-ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.chip-input { width: 130px; padding-right: 14px; cursor: text; }
.chip-select select:focus, .chip-input:focus { outline: none; border-color: var(--brass-ink); box-shadow: 0 0 0 3px rgba(184, 147, 90, .22); }
.filters__count { margin-left: auto; color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; }
.filters__reset { border: 0; background: none; color: var(--brass-ink); font-weight: 600; cursor: pointer; padding: 10px 4px; min-height: 44px; }
.filters__toggle { display: none; }
@media (max-width: 860px) {
  .filters__toggle { display: inline-flex; }
  .filters__more { display: none; width: 100%; flex-wrap: wrap; gap: 12px; }
  .filters.is-open .filters__more { display: flex; }
  .chip-input { width: calc(50% - 6px); }
  .filters__more .chip-select { flex: 1 1 calc(50% - 6px); }
  .filters__more .chip-select select { width: 100%; }
}
@media (min-width: 861px) { .filters__more { display: contents; } }

.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); padding: clamp(40px, 5vw, 64px) 0 clamp(80px, 10vw, 140px); }
@media (max-width: 1000px) { .results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .results { grid-template-columns: 1fr; } }
.empty { grid-column: 1 / -1; padding: 72px 0; text-align: left; max-width: 52ch; }
.empty h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.empty p { color: var(--muted); margin: 14px 0 24px; }

/* ---------- Detail ---------- */
.detail-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.detail-head h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); max-width: 20ch; }
.detail-head .price { font: 400 clamp(1.8rem, 3.2vw, 2.6rem)/1 var(--serif); color: var(--brass-hi); font-variant-numeric: tabular-nums; }
.detail-head .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--on-dark-muted); font-size: .95rem; }
.detail-head .meta span { display: inline-flex; gap: 6px; align-items: center; }

.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(360px, 62vh, 640px); margin-top: clamp(-48px, -4vw, -24px); }
.gallery button { position: relative; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--stone-2); border-radius: var(--radius); }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery__all { position: absolute; right: 14px; bottom: 14px; background: var(--paper); color: var(--ink); padding: 10px 14px; font-weight: 600; font-size: .88rem; border-radius: var(--radius); display: inline-flex; gap: 8px; align-items: center; }
.gallery--1 { grid-template-columns: 1fr; }
.gallery--1 button:first-child, .gallery--2 button:first-child { grid-row: auto; }
.gallery--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
@media (max-width: 760px) {
  .gallery, .gallery--2 { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .gallery button:not(:first-child) { display: none; }
  .gallery button:first-child { aspect-ratio: 4 / 3; grid-row: auto; }
}

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 5vw, 80px); padding: clamp(48px, 6vw, 88px) 0 clamp(80px, 10vw, 140px); align-items: start; }
@media (max-width: 1000px) { .detail { grid-template-columns: 1fr; } }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.specs div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: .82rem; color: var(--muted); font-weight: 600; }
.specs dd { margin: 4px 0 0; font: 400 1.25rem/1.25 var(--serif); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .specs { grid-template-columns: 1fr 1fr; } }
.detail h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: clamp(40px, 5vw, 64px) 0 18px; }
.prose p + p { margin-top: 1em; }
.prose { max-width: 68ch; font-size: 1.08rem; color: #2C2F2A; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.feature-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.feature-list .ico { color: var(--brass-ink); }
@media (max-width: 560px) { .feature-list { grid-template-columns: 1fr; } }
.feat-groups { display: grid; gap: 28px; }
.feat-group h3 { font: 600 .9rem/1.3 var(--sans); letter-spacing: 0; color: var(--muted); margin-bottom: 6px; }
.agent__note { color: var(--on-dark-muted); font-size: .92rem; border-top: 1px solid var(--line-dark); padding-top: 12px; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.agent { background: var(--ink); color: var(--on-dark); padding: 28px; border-radius: var(--radius); display: grid; gap: 12px; }
.agent__id { font-size: .85rem; color: var(--on-dark-muted); }
.agent__price { font: 400 2rem/1.1 var(--serif); color: var(--brass-hi); font-variant-numeric: tabular-nums; }
.agent .btn { width: 100%; }
.agent .btn--ghost { color: var(--on-dark); }

/* Lightbox */
.lightbox { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(14, 16, 15, .96); color: var(--on-dark); }
.lightbox::backdrop { background: rgba(14, 16, 15, .9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade 320ms var(--ease); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); }
.lightbox__stage { position: relative; display: grid; place-items: center; overflow: hidden; padding: 0 var(--gutter); }
.lightbox__stage img { max-height: 78vh; max-width: 100%; object-fit: contain; animation: lbIn 520ms var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; transition: background-color var(--t1) var(--ease), color var(--t1) var(--ease); }
.icon-btn:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.lightbox__nav { display: flex; justify-content: center; gap: 12px; padding: 16px; }

/* ---------- Dil seçici ---------- */
.langs { display: inline-flex; gap: 2px; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 2px; }
.langs a { text-decoration: none; font-size: .78rem !important; font-weight: 600; letter-spacing: .04em; padding: 8px 8px !important; min-width: 34px; text-align: center; color: var(--on-dark-muted); border-radius: var(--radius); font-family: var(--sans) !important; border: 0 !important; transition: color var(--t1) var(--ease), background-color var(--t1) var(--ease); }
.langs a::after { display: none; }
.langs a:hover { color: var(--on-dark); }
.langs a[aria-current] { background: var(--on-dark); color: var(--ink); }
@media (max-width: 960px) { .langs { margin-top: 24px; align-self: flex-start; } .langs a { padding: 12px 14px !important; } }

/* ---------- Dile göre yazı tipleri ---------- */
:lang(ru) { --serif: "Forum", "Marcellus", Georgia, serif; --sans: "Manrope", "Hanken Grotesk", system-ui, sans-serif; }
:lang(ru) .hero h1 { font-size: clamp(2.5rem, 6vw, 5.2rem); max-width: 14ch; }
:lang(ar) { --serif: "Reem Kufi", "Noto Sans Arabic", serif; --sans: "Noto Sans Arabic", system-ui, sans-serif; }
:lang(ar) body { line-height: 1.8; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; line-height: 1.3; }
:lang(ar) .hero h1 { line-height: 1.25; max-width: 14ch; font-size: clamp(2.5rem, 6vw, 5rem); }
:lang(ar) .brand__name small, :lang(ar) .footer__col h4 { letter-spacing: 0; }
.brand__name b, .footer__mega, .brand__mark { font-family: "Marcellus", Georgia, serif; }

/* ---------- Sağdan sola (Arapça) ---------- */
[dir="rtl"] .hero__media::after {
  background:
    linear-gradient(270deg, rgba(22, 25, 23, .9) 0%, rgba(22, 25, 23, .62) 38%, rgba(22, 25, 23, .08) 72%),
    linear-gradient(0deg, rgba(22, 25, 23, .75) 0%, rgba(22, 25, 23, 0) 38%),
    linear-gradient(180deg, rgba(22, 25, 23, .55) 0%, rgba(22, 25, 23, 0) 22%);
}
[dir="rtl"] .hero__place { right: auto; left: var(--gutter); }
[dir="rtl"] .ico-arrow, [dir="rtl"] .link-arrow .ico, [dir="rtl"] .cat__go .ico, [dir="rtl"] .flip-rtl, [dir="rtl"] .svc a .ico { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .ico-arrow, [dir="rtl"] .link-arrow:hover .ico { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .menu-btn { margin-left: 0; margin-right: auto; }
[dir="rtl"] .search__seg, [dir="rtl"] .field { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .field select { background-position: left center; padding-right: 0; padding-left: 22px; }
[dir="rtl"] .card__chip { left: auto; right: 14px; }
[dir="rtl"] .card__view { right: auto; left: 14px; }
[dir="rtl"] .cat__go { transform: translateX(12px); }
[dir="rtl"] .cat.is-active .cat__go { transform: none; }
[dir="rtl"] a.channel:hover { padding-left: 0; padding-right: 10px; }
[dir="rtl"] .facts div:nth-child(odd) { padding-right: 0; padding-left: 20px; border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .facts div:nth-child(even) { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .specs div { padding: 18px 0 18px 16px; }
[dir="rtl"] .filters__count { margin-left: 0; margin-right: auto; }
[dir="rtl"] .chip-select::after { right: auto; left: 14px; }
[dir="rtl"] .chip-select select { padding: 0 14px 0 38px; }
[dir="rtl"] .gallery__all { right: auto; left: 14px; }
[dir="rtl"] .wa-float { right: auto; left: 20px; }
[dir="rtl"] .svc::before { transform-origin: right; }
[dir="rtl"] .footer__mega { direction: ltr; text-align: right; }
[dir="rtl"] [data-set="phone"], [dir="rtl"] [data-set="email"], [dir="rtl"] [data-set="address"], [dir="rtl"] [data-set="instagram"], [dir="rtl"] .tnum { direction: ltr; unicode-bidi: isolate; }
@media (max-width: 1080px) { [dir="rtl"] .field:nth-of-type(even) { border-left: 0; } }
@media (max-width: 960px) { [dir="rtl"] .nav { margin-right: 0; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

.footer__credit {
  margin: 0;
  padding-block: .7rem 1rem;
  text-align: center;
  color: #e0d8ca;
  font-size: .82rem;
}
.footer__credit a {
  color: #e8ca96;
  text-decoration: underline;
  text-underline-offset: .18em;
}
