/* Emlak Ofisi demo — site stilleri
   Görsel dil: İstanbul sokak tabelası mavisi, mahalle tabelaları, kapı numarası plakaları. */

@font-face {
  font-family: "Overpass";
  src: url("../fonts/overpass-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Kufi Arabic";
  src: url("../fonts/notokufi-arabic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
  --sign: #1f3e8f;
  --sign-deep: #16306f;
  --sign-tint: #e7ecf6;
  --ink: #14213d;
  --muted: #56627a;
  --plaster: #eef1f5;
  --paper: #ffffff;
  --line: #d6dce5;
  --lamp: #f3b23a;
  --lamp-deep: #e09a1c;
  --wa: #15803d;
  --wa-deep: #116a33;
  --font: "Overpass", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 32px);
  --r-plate: 7px;
  --r-card: 4px;
  --r-ctl: 6px;
  --header-h: 72px;
}
[dir="rtl"] { --font: "Noto Kufi Arabic", "Overpass", Tahoma, system-ui, sans-serif; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
[dir="rtl"] body { font-size: 1rem; line-height: 1.8; }
h1, h2, h3 { margin: 0 0 .45em; font-weight: 800; line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
[dir="rtl"] :is(h1, h2, h3) { line-height: 1.5; letter-spacing: 0; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.75rem); font-weight: 850; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.05rem); }
h3, .h3 { font-size: 1.18rem; font-weight: 750; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--sign); text-underline-offset: .18em; }
a:hover { color: var(--sign-deep); }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; top: -80px; inset-inline-start: 12px; z-index: 200; padding: 10px 16px; border-radius: var(--r-ctl); background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
.icon { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .72em 1.25em .6em; border: 2px solid transparent; border-radius: var(--r-ctl); font-size: 1rem; font-weight: 750; line-height: 1.1; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
[dir="rtl"] .btn { padding-block: .6em .55em; line-height: 1.4; }
.btn .icon { width: 1.25em; height: 1.25em; }
.btn--primary { background: var(--sign); color: #fff; }
.btn--primary:hover { background: var(--sign-deep); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-deep); color: #fff; }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--sign); }
.btn--ghost:hover { background: var(--sign-tint); color: var(--sign-deep); }
.btn--lamp { background: var(--lamp); color: var(--ink); }
.btn--lamp:hover { background: var(--lamp-deep); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #0c172e; color: #fff; }
.link-strong { font-weight: 750; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .97); }
@supports (backdrop-filter: blur(4px)) {
  .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.5) blur(8px); }
}
.header-row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand__name { padding-top: .12em; font-family: "Overpass", sans-serif; font-size: 1.22rem; font-weight: 850; line-height: 1; letter-spacing: -.015em; }
.brand:hover { color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.main-nav a { position: relative; padding: 10px 12px 8px; border-radius: var(--r-ctl); color: var(--ink); font-weight: 650; text-decoration: none; }
.main-nav a:hover { background: var(--plaster); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--sign); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 3px; border-radius: 2px; background: var(--sign); }
.header-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-ctl); }
.lang-switch a { min-width: 40px; padding: 7px 10px 5px; color: var(--muted); font-family: "Overpass", sans-serif; font-size: .82rem; font-weight: 750; line-height: 1.3; text-align: center; text-decoration: none; }
.lang-switch a:lang(ar) { padding-block: 4px; font-family: "Noto Kufi Arabic", sans-serif; }
.lang-switch a + a { border-inline-start: 1px solid var(--line); }
.lang-switch a:hover { background: var(--plaster); color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--sign); color: #fff; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--sign); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
@media (max-width: 1100px) {
  .header-phone span { display: none; }
}
@media (max-width: 940px) {
  .main-nav { position: absolute; top: 100%; inset-inline: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 6px var(--gutter) 14px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 16px 24px -16px rgba(20, 33, 61, .25); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 2px 12px; border-bottom: 1px solid var(--plaster); border-radius: 0; font-size: 1.06rem; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .header-tools { margin-inline-start: auto; }
  .nav-toggle { display: inline-flex; }
  .header-phone { display: none; }
}
@media (max-width: 480px) {
  .header-row { gap: 10px; }
  .header-tools { gap: 8px; }
  .brand { gap: 8px; }
  .brand__name { font-size: 1.06rem; }
  .brand img { width: 34px; height: 34px; }
  .lang-switch a { min-width: 34px; padding-inline: 6px; }
  .nav-toggle { width: 44px; height: 44px; }
}
@media (max-width: 350px) {
  .brand__name { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--plaster); }
.hero__roads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
[dir="rtl"] .hero__roads { transform: scaleX(-1); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(28px, 5vw, 64px); padding-block: clamp(40px, 7vw, 88px) clamp(80px, 9vw, 116px); }
.hero h1 { max-width: 12ch; margin-bottom: .35em; }
[dir="rtl"] .hero h1 { max-width: 15ch; }
.hero__lead { max-width: 38ch; color: var(--muted); font-size: 1.22rem; line-height: 1.5; }
[dir="rtl"] .hero__lead { font-size: 1.1rem; line-height: 1.8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.rating { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: .95rem; font-weight: 650; text-decoration: none; }
.rating:hover { color: var(--sign); }
.rating__stars { display: inline-flex; gap: 1px; color: var(--lamp); }
.rating__stars .icon { width: 18px; height: 18px; }
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
}

/* ---------- Signpost (the five roads) ---------- */
.signpost { position: relative; direction: ltr; display: grid; grid-template-columns: 1fr 1fr; row-gap: 16px; justify-self: center; width: 100%; max-width: 600px; padding: 36px 0 30px; }
.signpost__pole { position: absolute; top: 16px; bottom: 0; left: 50%; width: 16px; margin-left: -8px; border-radius: 3px; background: linear-gradient(90deg, #7f899b 0%, #c6cdd8 42%, #8e98a9 100%); }
.signpost__cap { position: absolute; top: 4px; left: 50%; width: 26px; height: 18px; margin-left: -13px; border-radius: 13px 13px 3px 3px; background: #6f798c; }
.signpost__base { position: absolute; bottom: -10px; left: 50%; width: 160px; height: 20px; margin-left: -80px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 33, 61, .2), rgba(20, 33, 61, 0)); }
.sign { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; gap: 1px; width: var(--len, 100%); min-height: 72px; padding-block: 13px 10px; background: var(--sign); color: #fff; text-decoration: none; transform: rotate(var(--tilt, 0deg)); transform-origin: var(--origin, 50% 50%); transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.sign::before, .sign::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.sign::before { background: #fff; }
.sign::after { background: var(--sign); }
.sign__label { font-size: 1.12rem; font-weight: 800; line-height: 1.15; }
.sign__count { font-size: .8rem; font-weight: 650; line-height: 1.2; opacity: .85; }
[dir="rtl"] .sign { direction: rtl; padding-block: 9px 8px; }
[dir="rtl"] .sign__label { font-size: 1.04rem; line-height: 1.5; }
[dir="rtl"] .sign__count { line-height: 1.5; }
.sign--accent { background: var(--lamp); color: var(--ink); }
.sign--accent::before { background: var(--ink); }
.sign--accent::after { background: var(--lamp); }
.sign:hover { color: #fff; }
.sign--accent:hover { color: var(--ink); }
.sign:focus-visible { outline: none; }
.sign:focus-visible::after { background: var(--sign-deep); }
.sign--accent:focus-visible::after { background: var(--lamp-deep); }
.sign:focus-visible .sign__label { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .2em; }

/* right-pointing arm, bolted to the pole at its left end */
.sign--r { grid-column: 2; justify-self: start; margin-left: 2px; padding-left: 26px; padding-right: 50px; --origin: 0% 50%;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 50%, calc(100% - 32px) 100%, 0 100%); }
.sign--r::before { clip-path: polygon(4px 4px, calc(100% - 33.7px) 4px, calc(100% - 5.9px) 50%, calc(100% - 33.7px) calc(100% - 4px), 4px calc(100% - 4px)); }
.sign--r::after { clip-path: polygon(7px 7px, calc(100% - 35.1px) 7px, calc(100% - 10.4px) 50%, calc(100% - 35.1px) calc(100% - 7px), 7px calc(100% - 7px)); }
/* left-pointing arm, bolted at its right end */
.sign--l { grid-column: 1; justify-self: end; margin-right: 2px; padding-left: 50px; padding-right: 26px; --origin: 100% 50%;
  clip-path: polygon(32px 0, 100% 0, 100% 100%, 32px 100%, 0 50%); }
.sign--l::before { clip-path: polygon(33.7px 4px, calc(100% - 4px) 4px, calc(100% - 4px) calc(100% - 4px), 33.7px calc(100% - 4px), 5.9px 50%); }
.sign--l::after { clip-path: polygon(35.1px 7px, calc(100% - 7px) 7px, calc(100% - 7px) calc(100% - 7px), 35.1px calc(100% - 7px), 10.4px 50%); }
.sign--r:hover { transform: rotate(var(--tilt)) translateX(6px); }
.sign--l:hover { transform: rotate(var(--tilt)) translateX(-6px); }

@media (prefers-reduced-motion: no-preference) {
  .sign { animation: sign-swing .75s cubic-bezier(.25, 1.55, .45, 1) backwards; animation-delay: calc(var(--i, 0) * 95ms + 180ms); }
  @keyframes sign-swing {
    from { opacity: 0; transform: rotate(calc(var(--tilt, 0deg) * -5)) scaleX(.55); }
    to { opacity: 1; transform: rotate(var(--tilt, 0deg)); }
  }
}

@media (max-width: 560px) {
  .signpost { grid-template-columns: 1fr; row-gap: 12px; max-width: none; padding: 30px 0 22px; }
  .signpost__pole { left: 20px; margin-left: 0; }
  .signpost__cap { left: 15px; margin-left: 0; }
  .signpost__base { left: 28px; }
  .sign--r, .sign--l { grid-column: 1; justify-self: start; width: calc(var(--len, 100%) - 48px); min-height: 64px; margin: 0 0 0 38px; padding-left: 20px; padding-right: 46px; --origin: 0% 50%;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 50%, calc(100% - 30px) 100%, 0 100%); }
  .sign--r::before, .sign--l::before { clip-path: polygon(4px 4px, calc(100% - 31.7px) 4px, calc(100% - 5.9px) 50%, calc(100% - 31.7px) calc(100% - 4px), 4px calc(100% - 4px)); }
  .sign--r::after, .sign--l::after { clip-path: polygon(7px 7px, calc(100% - 33px) 7px, calc(100% - 10.4px) 50%, calc(100% - 33px) calc(100% - 7px), 7px calc(100% - 7px)); }
  .sign--l:hover { transform: rotate(var(--tilt)) translateX(6px); }
  [dir="rtl"] .signpost__pole { left: auto; right: 20px; }
  [dir="rtl"] .signpost__cap { left: auto; right: 15px; }
  [dir="rtl"] .signpost__base { left: auto; right: -52px; }
  [dir="rtl"] .sign--r, [dir="rtl"] .sign--l { justify-self: end; margin: 0 38px 0 0; padding-left: 46px; padding-right: 20px; --origin: 100% 50%;
    clip-path: polygon(30px 0, 100% 0, 100% 100%, 30px 100%, 0 50%); }
  [dir="rtl"] .sign--r::before, [dir="rtl"] .sign--l::before { clip-path: polygon(31.7px 4px, calc(100% - 4px) 4px, calc(100% - 4px) calc(100% - 4px), 31.7px calc(100% - 4px), 5.9px 50%); }
  [dir="rtl"] .sign--r::after, [dir="rtl"] .sign--l::after { clip-path: polygon(33px 7px, calc(100% - 7px) 7px, calc(100% - 7px) calc(100% - 7px), 33px calc(100% - 7px), 10.4px 50%); }
  [dir="rtl"] .sign--r:hover, [dir="rtl"] .sign--l:hover { transform: rotate(var(--tilt)) translateX(-6px); }
}

/* ---------- Search ---------- */
.search-wrap { position: relative; z-index: 3; margin-top: -52px; }
.search { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)) auto; align-items: end; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-plate); background: #fff; box-shadow: 0 22px 40px -28px rgba(20, 33, 61, .45); }
.seg { display: inline-flex; min-height: 50px; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--plaster); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px 6px; border-radius: 4px; color: var(--muted); font-weight: 750; white-space: nowrap; cursor: pointer; }
.seg input:checked + label { background: var(--sign); color: #fff; }
.seg input:focus-visible + label { outline: 3px solid var(--lamp); outline-offset: 1px; }
.seg--full { display: flex; flex-wrap: wrap; width: 100%; }
.seg--full label { flex: 1; }
.seg--full legend.field-label { width: 100%; margin-bottom: 6px; padding: 0; float: left; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field-label { color: var(--muted); font-size: .84rem; font-weight: 750; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { width: 100%; min-height: 50px; padding: 11px 12px 9px; border: 1px solid #c3cbd7; border-radius: var(--r-ctl); background: #fff; color: var(--ink); font: inherit; font-size: 1rem; }
[dir="rtl"] input:not([type="checkbox"]):not([type="radio"]), [dir="rtl"] select, [dir="rtl"] textarea { padding-block: 8px; }
textarea { min-height: 120px; line-height: 1.5; resize: vertical; }
select { appearance: none; padding-inline-end: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356627a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-position: right 12px center; background-repeat: no-repeat; background-size: 14px; cursor: pointer; }
[dir="rtl"] select { background-position: left 12px center; }
input:focus, select:focus, textarea:focus { border-color: var(--sign); outline: none; box-shadow: 0 0 0 3px rgba(31, 62, 143, .2); }
input[type="checkbox"], input[type="radio"] { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--sign); }
@media (max-width: 1040px) {
  .search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search .seg, .search__submit { grid-column: 1 / -1; }
  .search .seg { display: flex; }
  .search .seg label { flex: 1; }
}
@media (max-width: 520px) {
  .search-wrap { margin-top: -40px; }
  .search { grid-template-columns: 1fr; padding: 14px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--plaster { background: var(--plaster); }
.section--first { padding-top: clamp(36px, 5vw, 56px); }
.section--tight { padding-block: 0 clamp(56px, 8vw, 96px); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.section__head h2 { margin: 0; }
.section__head p { max-width: 56ch; margin: 8px 0 0; color: var(--muted); }

/* ---------- Plates (street signs and door numbers) ---------- */
.plate { display: inline-flex; padding: 3px; border-radius: 5px; background: var(--sign); color: #fff; line-height: 1; }
.plate__inner { display: inline-flex; align-items: baseline; gap: .3em; padding: 5px 8px 2px; border: 1.5px solid #fff; border-radius: 3px; font-family: "Overpass", var(--font); font-size: .85rem; font-weight: 800; white-space: nowrap; }
.plate__inner small { font-family: var(--font); font-size: .72em; font-weight: 700; opacity: .9; }
.plate--door .plate__inner { padding: 7px 12px 3px; font-size: 1.55rem; }
.plate--xl { padding: 6px; border-radius: 10px; }
.plate--xl .plate__inner { padding: 12px 28px 4px; border-width: 3px; border-radius: 6px; font-size: clamp(3rem, 10vw, 5rem); }
.street-plate { display: block; padding: 5px; border-radius: var(--r-plate); background: var(--sign); color: #fff; }
.street-plate__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 92px; padding: 14px 14px 10px; border: 2px solid #fff; border-radius: 4px; text-align: center; }
.street-plate__name { font-family: "Overpass", sans-serif; font-size: 1.85rem; font-weight: 850; line-height: 1; letter-spacing: -.01em; }
.street-plate__district { font-family: "Overpass", sans-serif; font-size: .85rem; font-weight: 650; line-height: 1.2; opacity: .88; }
.street-plate__local { display: block; margin-top: 8px; color: var(--sign); font-weight: 700; }
.street-plate--sm { display: inline-block; }
.street-plate--sm .street-plate__inner { min-height: 0; padding: 8px 16px 5px; }
.street-plate--sm .street-plate__name { font-size: 1.18rem; }
.street-plate--sm .street-plate__district { font-size: .72rem; }
.street-plate--xl { display: inline-block; padding: 7px; border-radius: 10px; }
.street-plate--xl .street-plate__inner { padding: 22px 44px 14px; border-width: 3px; border-radius: 6px; }
.street-plate--xl .street-plate__name { font-size: clamp(2.6rem, 7vw, 4.6rem); }
.street-plate--xl .street-plate__district { font-size: 1rem; }

/* ---------- Listing cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.grid--results { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.card:hover { border-color: var(--sign); color: var(--ink); }
.card:hover .card__title { text-decoration: underline; text-decoration-thickness: 1px; }
.card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--plaster); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 12px; inset-inline-start: 12px; padding: 5px 10px 3px; border-radius: 3px; font-size: .8rem; font-weight: 800; line-height: 1.3; }
[dir="rtl"] .tag { padding: 2px 10px; line-height: 1.6; }
.tag--sale { background: var(--lamp); color: var(--ink); }
.tag--rent { background: #fff; color: var(--sign); box-shadow: inset 0 0 0 1.5px var(--sign); }
.tag--static { position: static; display: inline-block; }
.card .plate { position: absolute; bottom: 12px; inset-inline-end: 12px; }
.card__body { display: grid; gap: 6px; padding: 16px 18px 18px; }
.card__price { font-size: 1.5rem; font-weight: 850; line-height: 1.15; letter-spacing: -.01em; }
.card__price small, .detail__price small, .aside-card__price small { color: var(--muted); font-size: .6em; font-weight: 650; }
.card__title { display: -webkit-box; min-height: 2.7em; overflow: hidden; font-size: 1rem; font-weight: 650; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
[dir="rtl"] .card__title { min-height: 3.3em; line-height: 1.65; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; color: var(--muted); font-size: .9rem; }
.card__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.card__meta .icon { color: var(--sign); }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.areas--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.area-card { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.area-card:hover { color: var(--ink); }
.area-card:hover .street-plate { background: var(--sign-deep); }
.area-card__text { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.area-card__count { color: var(--sign); font-size: .95rem; font-weight: 750; }
@media (max-width: 900px) {
  .areas, .areas--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .areas, .areas--3 { grid-template-columns: 1fr; }
}

/* ---------- Students / points ---------- */
.intl { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(32px, 6vw, 72px); }
.intl__intro p { max-width: 44ch; margin-bottom: 24px; color: var(--muted); font-size: 1.1rem; }
.points { border-top: 1px solid var(--line); }
.point { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.point__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sign-tint); color: var(--sign); }
.point__icon .icon { width: 24px; height: 24px; }
.point h3 { margin: 4px 0; }
.point p { margin: 0; color: var(--muted); }
@media (max-width: 880px) {
  .intl { grid-template-columns: 1fr; }
}

/* ---------- Owner band: a full-width street sign ---------- */
.owner { padding-block: 14px; background: var(--sign); color: #fff; }
.owner__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(32px, 5vw, 52px) clamp(22px, 4vw, 48px); border: 2px solid rgba(255, 255, 255, .92); border-radius: 8px; }
.owner h2 { max-width: 24ch; margin-bottom: .3em; color: #fff; }
.owner p { max-width: 52ch; margin: 0; color: rgba(255, 255, 255, .86); font-size: 1.08rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.quote { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.quote blockquote { margin: 0 0 12px; font-size: 1.05rem; }
.quote figcaption { color: var(--muted); font-weight: 750; }

/* ---------- Visit / hours / map ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; gap: clamp(28px, 5vw, 64px); }
.visit__info > p { max-width: 46ch; color: var(--muted); }
.address-plates { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 22px 0 12px; }
.visit__addr { margin-bottom: 22px; color: var(--muted); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visit__hours h3 { margin-bottom: 12px; }
.hours { margin: 0; padding: 0; list-style: none; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0 8px; border-bottom: 1px solid var(--line); }
.hours li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours .is-today { color: var(--sign); font-weight: 800; }
.hours em { color: var(--muted); font-size: .88em; font-style: normal; font-weight: 600; }
.map { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-card); background: var(--plaster); }
.map--office { min-height: 280px; margin-top: 40px; aspect-ratio: 21 / 8; }
.section--tight .map--office { margin-top: 0; }
.map--area { aspect-ratio: 4 / 3; }
@media (max-width: 800px) {
  .visit { grid-template-columns: 1fr; }
  .map--office { aspect-ratio: 4 / 3; }
}

/* ---------- Page heads ---------- */
.page-head { padding-block: 28px 32px; border-bottom: 1px solid var(--line); background: var(--plaster); }
.page-head h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 3rem); }
.page-head__lead { max-width: 56ch; margin: 12px 0 0; color: var(--muted); font-size: 1.12rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 14px; padding: 0; color: var(--muted); font-size: .88rem; list-style: none; }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: #9aa4b5; }
.crumbs a { color: var(--muted); }
.crumbs--detail { margin: 22px 0 18px; }

/* ---------- Listings page ---------- */
.layout-filter { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 32px; padding-block: 32px 80px; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-plate); background: #fff; }
.filters__title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.1rem; }
.checks { display: grid; gap: 2px; margin: 0; padding: 0; border: 0; }
.checks legend { margin-bottom: 6px; padding: 0; color: var(--muted); font-size: .84rem; font-weight: 750; }
.checks label { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 600; cursor: pointer; }
.filters__clear { justify-self: center; color: var(--muted); font-size: .92rem; font-weight: 650; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.results-bar__count { margin: 0; font-size: 1.1rem; font-weight: 800; }
.results-bar__tools { display: flex; align-items: center; gap: 10px; }
.sort select { width: auto; min-width: 230px; min-height: 46px; }
.filter-toggle { display: none; }
@media (max-width: 900px) {
  .layout-filter { grid-template-columns: 1fr; padding-top: 20px; }
  .filters { position: static; display: none; }
  .filters.is-open { display: grid; }
  .filter-toggle { display: inline-flex; min-height: 46px; }
  .results-bar__tools { width: 100%; }
  .results-bar__tools > * { flex: 1 1 0; min-width: 0; }
  .sort select { width: 100%; min-width: 0; }
}
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 46px; min-height: 46px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: #fff; color: var(--ink); font-weight: 750; text-decoration: none; }
.pager a:hover { border-color: var(--sign); color: var(--sign); }
.pager [aria-current] { border-color: var(--sign); background: var(--sign); color: #fff; }
.empty { display: grid; justify-items: center; gap: 14px; padding: 48px 24px; border: 1.5px dashed #b8c1cf; border-radius: var(--r-plate); background: #fff; text-align: center; }
.empty h2 { margin: 0; font-size: 1.4rem; }
.empty p { max-width: 52ch; margin: 0; color: var(--muted); }

/* ---------- Listing detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: clamp(28px, 4vw, 48px); padding-bottom: 72px; }
.gallery__main { position: relative; display: block; width: 100%; overflow: hidden; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: var(--r-card); background: var(--plaster); cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__count { position: absolute; bottom: 12px; inset-inline-end: 12px; padding: 5px 10px 3px; border-radius: 4px; background: rgba(20, 33, 61, .8); color: #fff; font-size: .82rem; font-weight: 700; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 10px; }
.gallery__thumbs button { display: block; overflow: hidden; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: var(--r-card); background: var(--plaster); opacity: .72; cursor: pointer; }
.gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--sign); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail__head { margin: 26px 0 8px; }
.detail__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.detail__type { color: var(--muted); font-weight: 700; }
.plate--inline .plate__inner { font-size: .8rem; }
.detail__title { margin-bottom: .3em; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.detail__loc { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-weight: 600; }
.detail__loc .icon { color: var(--sign); }
.detail__price { margin: 14px 0 0; font-size: 1.9rem; font-weight: 850; }
.detail__price--mobile { display: none; }
.detail__block { margin-top: 40px; }
.detail__block h2 { margin-bottom: 16px; font-size: 1.35rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.fact { padding: 14px 16px 12px; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.fact dt { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; font-weight: 650; }
.fact dt .icon { width: 1.05em; height: 1.05em; color: var(--sign); }
.fact dd { margin: 4px 0 0; font-size: 1.06rem; font-weight: 800; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 24px; margin: 0; padding: 0; list-style: none; }
.features li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-weight: 600; }
.features .icon { width: 1.25em; height: 1.25em; color: var(--wa); }
.desc { max-width: 70ch; font-size: 1.06rem; line-height: 1.7; }
[dir="rtl"] .desc { line-height: 1.95; }
.note { margin-top: 10px; color: var(--muted); font-size: .88rem; }
.aside-card { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-plate); background: #fff; }
.aside-card__price { margin: 0 0 6px; font-size: 2rem; font-weight: 850; line-height: 1.1; letter-spacing: -.01em; }
.aside-card .btn { width: 100%; }
.callback { display: grid; gap: 10px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.callback h2 { margin: 0; font-size: 1.15rem; }
.callback p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 960px) {
  .detail { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .detail__price--mobile { display: block; }
  .aside-card__price { display: none; }
}

/* ---------- Forms ---------- */
.alert { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 14px; border-radius: var(--r-ctl); font-size: .95rem; font-weight: 650; line-height: 1.45; }
.alert .icon { margin-top: 2px; }
.alert--ok { border: 1px solid #b9e2c7; background: #e8f6ed; color: #0f5a2b; }
.alert--err { display: block; border: 1px solid #f3c3c3; background: #fdeeee; color: #8a1c1c; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .88rem; line-height: 1.45; cursor: pointer; }
.consent input { margin-top: 2px; }
.card-form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--r-plate); background: #fff; }
.card-form h2 { margin: 0; font-size: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Lightbox / toast ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 64px 16px; background: rgba(9, 15, 30, .94); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; border-radius: 4px; object-fit: contain; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox__btn .icon { width: 26px; height: 26px; }
.lightbox__close { top: 12px; inset-inline-end: 12px; }
.lightbox__prev { top: 50%; inset-inline-start: 12px; margin-top: -26px; }
.lightbox__next { top: 50%; inset-inline-end: 12px; margin-top: -26px; }
.lightbox__count { position: absolute; right: 0; bottom: 16px; left: 0; margin: 0; color: rgba(255, 255, 255, .85); font-size: .9rem; font-weight: 700; text-align: center; }
.toast { position: fixed; bottom: 96px; left: 50%; z-index: 130; padding: 10px 16px 8px; border-radius: var(--r-ctl); background: var(--ink); color: #fff; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .2s, transform .2s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Area page ---------- */
.area-hero { padding-block: 28px clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); background: var(--plaster); }
.area-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 56px); }
.area-hero__title { margin: 6px 0 22px; font-size: inherit; line-height: 1; }
.area-hero__lead { max-width: 52ch; margin-bottom: 24px; font-size: 1.15rem; line-height: 1.6; }
.area-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 20px; border-top: 1px solid var(--line); }
.area-points .point { border-bottom: 0; }
@media (max-width: 880px) {
  .area-hero__grid, .area-points { grid-template-columns: 1fr; }
  .area-points .point { border-bottom: 1px solid var(--line); }
}

/* ---------- About / contact / owners ---------- */
.about, .contact, .sell { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: clamp(32px, 6vw, 72px); }
.lead { font-size: 1.3rem; font-weight: 600; line-height: 1.5; }
.about__text p:not(.lead) { max-width: 62ch; color: var(--muted); }
.about__card { display: grid; justify-items: start; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-plate); background: #fff; }
.about__card .address-plates { margin: 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-top: 60px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 0; inset-inline-start: 0; display: grid; place-items: center; width: 44px; height: 44px; padding-top: 3px; border-radius: 6px; background: var(--sign); color: #fff; font-family: "Overpass", sans-serif; font-size: 1.25rem; font-weight: 850; box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5px #fff; }
.steps li h3 { margin-bottom: 6px; }
.steps li p { margin: 0; color: var(--muted); }
.steps--compact { grid-template-columns: 1fr; gap: 0; margin: 18px 0 24px; }
.steps--compact li { min-height: 76px; padding: 16px 0 16px 62px; border-bottom: 1px solid var(--line); }
[dir="rtl"] .steps--compact li { padding: 16px 62px 16px 0; }
.steps--compact li::before { top: 16px; }
.steps--compact li p { color: var(--ink); }
.contact-list { display: grid; gap: 2px; margin: 0 0 24px; padding: 0; list-style: none; }
.contact-list a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.06rem; font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--sign); }
.contact-list .icon { width: 1.3em; height: 1.3em; color: var(--sign); }
.contact__hours { margin-top: 28px; }
.prose { max-width: 72ch; }
.nf__inner { display: grid; justify-items: start; gap: 12px; padding-block: 40px; }
.nf h1 { margin: 18px 0 0; font-size: clamp(2rem, 5vw, 3rem); }
.nf p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .contact, .sell { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c5cedd; font-size: .96rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 32px 40px; padding-block: 56px 36px; }
.site-footer h2 { margin: 0 0 14px; color: #fff; font-size: 1rem; letter-spacing: 0; }
.site-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-brand p { max-width: 34ch; margin: 14px 0 16px; }
.brand--light, .brand--light:hover { color: #fff; }
.site-footer .rating { color: #fff; }
.footer-addr { margin-bottom: 12px; line-height: 1.5; }
.footer-contact li, .footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact .icon { color: var(--lamp); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Floating WhatsApp / mobile contact bar ---------- */
.mbar { display: none; }
.wa-float { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 70; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 24px -6px rgba(21, 128, 61, .55); }
.wa-float:hover { background: var(--wa-deep); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }
@media (max-width: 760px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mbar { position: fixed; bottom: 0; inset-inline: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px; padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; border-radius: var(--r-ctl); font-size: .98rem; font-weight: 800; text-decoration: none; }
  .mbar .icon { width: 20px; height: 20px; }
  .mbar__call { background: var(--sign); color: #fff; }
  .mbar__wa { background: var(--wa); color: #fff; }
  .mbar__list { background: var(--plaster); color: var(--ink); }
  .wa-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .mbar, .wa-float, .site-footer, .callback, .search-wrap, .lightbox { display: none !important; }
}

/* TAK. Creative demo şeridi */
.demo-serit{padding:8px 16px;background:#14234F;color:#fff;font-size:14px;line-height:1.45;text-align:center}
.demo-serit b{font-weight:700}
.demo-serit a{margin-left:6px;color:#F3B23A;font-weight:700;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
