/* Layout: tam ekran 3D sahne, üzerinde yarı saydam paneller. Renkler müşteri ayarından JS ile gelir. */
:root {
  --primary: #1b2a41;
  --accent: #d4a64a;
  --accent-ink: #1a1408;
  --panel: rgba(16, 22, 32, 0.78);
  --panel-solid: #131a26;
  --line: rgba(255, 255, 255, 0.12);
  --fg: #f2f4f7;
  --muted: #a7b0bf;
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg);
  background: #0d121a;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

#app { position: fixed; inset: 0; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }

/* ---------- Üst bar ---------- */
.topbar {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter-r) 12px var(--gutter);
  background: linear-gradient(to bottom, rgba(10, 14, 20, 0.7), rgba(10, 14, 20, 0));
  pointer-events: none;
  z-index: 5;
}
.topbar > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.02em;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-size: 17px; font-weight: 600; white-space: nowrap; }
.brand-text small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.client-switch { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.client-switch select {
  background: var(--panel); color: var(--fg); border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 8px; font: inherit;
}

/* ---------- Butonlar ---------- */
.btn {
  border: 1px solid transparent; border-radius: 10px; padding: 9px 14px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.01em;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-lg { padding: 13px 18px; font-size: 14px; width: 100%; }
.icon-btn {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05); font-size: 20px; line-height: 1;
}

/* ---------- Paneller ---------- */
.panel {
  position: absolute; z-index: 4;
  background: var(--panel);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.panel-left {
  top: calc(76px + env(safe-area-inset-top, 0px)); left: var(--gutter); bottom: 64px;
  width: 340px; padding: 20px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 18px;
}
.panel-right {
  top: calc(76px + env(safe-area-inset-top, 0px)); right: var(--gutter-r);
  width: 330px; max-height: calc(100% - 150px); overflow-y: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  animation: slideIn .35s ease;
}
@keyframes slideIn { from { transform: translateX(20px); opacity: .4; } to { transform: none; opacity: 1; } }
.close { position: absolute; top: 14px; right: 14px; }

.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 700; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
h1 { font-size: 26px; font-weight: 700; line-height: 1.15; margin-top: 4px; }
h2 { font-size: 24px; font-weight: 700; }
h3 { font-size: 19px; }
.project-head p { color: var(--muted); line-height: 1.55; margin: 8px 0 0; }
.muted { color: var(--muted); font-size: 12px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; }
.facts-2 { grid-template-columns: repeat(2, 1fr); margin: 0; }
.facts div { background: rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 8px 10px; }
.facts dt { font-size: 11px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  border-radius: 999px; padding: 7px 13px; font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; gap: 7px;
}
.chip .dot { width: 9px; height: 9px; border-radius: 50%; }
.chip.active { background: var(--fg); color: #0d121a; border-color: var(--fg); }

.type-cards { display: flex; flex-direction: column; gap: 8px; }
.type-card {
  text-align: left; width: 100%;
  display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  border-radius: 12px; padding: 10px 12px;
  transition: border-color .15s, background .15s;
}
.type-card:hover { background: rgba(255, 255, 255, 0.07); }
.type-card.active { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 14%, transparent); }
.type-badge {
  height: 44px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  background: color-mix(in srgb, var(--tc) 22%, transparent); color: var(--tc);
}
.type-card strong { display: block; font-size: 14px; }
.type-card span { color: var(--muted); font-size: 12px; }
.type-card .avail { font-size: 12px; font-weight: 700; color: var(--ok); text-align: right; white-space: nowrap; }

.unit-list-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.unit-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.unit-list li button {
  width: 100%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  border-radius: 9px; padding: 7px 4px; font-size: 12px; font-variant-numeric: tabular-nums;
}
.unit-list li button:hover, .unit-list li button.active { border-color: var(--accent); background: rgba(255, 255, 255, 0.1); }
.unit-list li button[data-status="sold"] { opacity: .45; text-decoration: line-through; }
.unit-list li button[data-status="reserved"] { color: var(--warn); }

.highlights { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.highlights li { font-size: 12px; color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; padding: 5px 9px; }

.status { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.status.available { background: rgba(52, 211, 153, 0.15); color: var(--ok); }
.status.reserved { background: rgba(251, 191, 36, 0.15); color: var(--warn); }
.status.sold { background: rgba(248, 113, 113, 0.15); color: var(--bad); }
.price { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin: 4px 0; color: var(--accent); }
.rooms { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 13px; }
.rooms li { display: contents; }
.rooms li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.features { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.features li { font-size: 12px; background: rgba(255, 255, 255, 0.06); border-radius: 7px; padding: 4px 8px; }
.actions { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }

/* ---------- Daire içi ---------- */
.interior-bar {
  position: absolute; z-index: 4;
  top: calc(76px + env(safe-area-inset-top, 0px)); left: var(--gutter); right: var(--gutter-r);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.interior-bar > .btn, .seg, .room-chips button { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.interior-bar > .btn { background: var(--panel); }
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 7px 12px; border-radius: 8px; font-weight: 700; font-size: 13px; }
.seg button.active { background: var(--accent); color: var(--accent-ink); }
.room-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.room-chips button {
  border: 1px solid var(--line); background: var(--panel); border-radius: 999px;
  padding: 7px 12px; font-size: 12px; font-weight: 600;
}
.room-chips button.active { border-color: var(--accent); color: var(--accent); }

#labels { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.room-label {
  position: absolute; transform: translate(-50%, -50%);
  background: rgba(12, 16, 24, 0.82); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 9px; text-align: center; white-space: nowrap;
  pointer-events: auto; cursor: pointer; font-size: 12px; font-weight: 700;
  transition: background .15s;
}
.room-label small { display: block; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.room-label:hover { background: var(--accent); color: var(--accent-ink); }
.room-label:hover small { color: inherit; }

.help {
  position: absolute; z-index: 4; left: 50%; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  font-size: 12px; color: var(--muted); white-space: nowrap; pointer-events: none;
}
.touch-only { display: none; }
@media (pointer: coarse) { .touch-only { display: inline; } .desktop-only { display: none; } }
.dpad {
  position: absolute; z-index: 4;
  right: var(--gutter-r); bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  display: grid; grid-template-columns: repeat(3, 52px); grid-template-rows: repeat(2, 52px); gap: 6px;
}
.dpad button {
  border: 1px solid var(--line); background: var(--panel); border-radius: 12px; font-size: 16px;
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.dpad button:active { background: var(--accent); color: var(--accent-ink); }
.dpad [data-key="f"] { grid-column: 2; grid-row: 1; }
.dpad [data-key="l"] { grid-column: 1; grid-row: 2; }
.dpad [data-key="b"] { grid-column: 2; grid-row: 2; }
.dpad [data-key="r"] { grid-column: 3; grid-row: 2; }

#tooltip {
  position: absolute; z-index: 6; pointer-events: none;
  background: rgba(12, 16, 24, 0.92); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 11px; font-size: 12px; line-height: 1.45; transform: translate(14px, 14px);
  white-space: nowrap;
}
#tooltip b { font-size: 13px; }

.contact-strip {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center;
  padding: 12px var(--gutter-r) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gutter);
  background: linear-gradient(to top, rgba(10, 14, 20, 0.75), rgba(10, 14, 20, 0));
  font-size: 12px; color: var(--muted);
}
.contact-strip strong { color: var(--fg); font-weight: 600; user-select: all; }

.loading {
  position: absolute; inset: 0; z-index: 20; display: grid; place-content: center; justify-items: center; gap: 14px;
  background: #0d121a; color: var(--muted); transition: opacity .5s ease;
}
.loading.done { opacity: 0; pointer-events: none; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Form ---------- */
dialog {
  border: 1px solid var(--line); border-radius: 16px; padding: 0; width: min(420px, calc(100% - 32px));
  background: var(--panel-solid); color: var(--fg);
}
dialog::backdrop { background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(3px); }
dialog form { position: relative; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
dialog h3 { margin-right: 40px; }
dialog label { font-size: 12px; color: var(--muted); margin-top: 6px; }
dialog input, dialog textarea {
  font: inherit; color: var(--fg); background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line); border-radius: 9px; padding: 10px 11px;
}
dialog label.check { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; margin: 10px 0 2px; }
.form-msg { min-height: 18px; font-size: 13px; margin: 4px 0; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--bad); }

/* ---------- Mobil ---------- */
@media (max-width: 820px) {
  .brand-text small, .client-switch span { display: none; }
  .panel-left {
    top: auto; bottom: calc(44px + env(safe-area-inset-bottom, 0px)); right: var(--gutter-r); width: auto;
    max-height: 42%; padding: 14px; gap: 12px;
  }
  .project-head p, .facts, .highlights { display: none; }
  h1 { font-size: 19px; }
  .type-card { grid-template-columns: 46px 1fr auto; padding: 8px 10px; }
  .type-badge { height: 38px; font-size: 14px; }
  .unit-list ul { grid-template-columns: repeat(4, 1fr); }
  .panel-right {
    top: auto; left: var(--gutter); right: var(--gutter-r); width: auto;
    bottom: calc(44px + env(safe-area-inset-bottom, 0px)); max-height: 62%; z-index: 6;
  }
  .rooms, .features { display: none; }
  .contact-strip { font-size: 11px; padding-top: 8px; gap: 2px 14px; }
  .contact-strip .addr { display: none; }
  .help { bottom: calc(190px + env(safe-area-inset-bottom, 0px)); white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 32px); }
  .dpad { left: 50%; right: auto; transform: translateX(-50%); bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
dialog label.check a { color: var(--fg); }

/* ---------- Gerçekçi görseller: açılış ekranı ---------- */
.btn-glass { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.2); }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 700; font-size: 12px; }

.intro {
  position: absolute; inset: 0; z-index: 4; overflow: hidden;
  display: flex; align-items: flex-end;
  transition: opacity .7s ease, transform .9s ease;
}
.intro.leaving { opacity: 0; transform: scale(1.03); pointer-events: none; }
.intro-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: introZoom 22s ease-out forwards;
}
@keyframes introZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.intro-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 17, 0.82) 0%, rgba(8, 11, 17, 0.45) 42%, rgba(8, 11, 17, 0) 70%),
    linear-gradient(0deg, rgba(8, 11, 17, 0.7) 0%, rgba(8, 11, 17, 0) 45%);
}
.intro-body {
  position: relative; max-width: 560px;
  padding: 0 var(--gutter) calc(64px + env(safe-area-inset-bottom, 0px)) clamp(16px, 6vw, 88px);
  animation: introUp .9s .2s ease both;
}
@keyframes introUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.intro h1 { font-size: clamp(34px, 5.2vw, 64px); line-height: 1.03; letter-spacing: -0.02em; margin: 10px 0 14px; }
.intro p { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.55; color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 46ch; }
.intro-facts { display: flex; gap: 28px; margin: 24px 0 28px; }
.intro-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, 0.6); }
.intro-facts dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.intro-actions .btn-lg { width: auto; padding: 14px 22px; }
.intro-note { position: absolute; right: var(--gutter-r); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); color: rgba(255, 255, 255, 0.6); font-size: 11px; }

/* ---------- Sol panel: görsel şeridi ---------- */
.gallery-strip { display: flex; flex-direction: column; gap: 8px; }
.gs-head { display: flex; justify-content: space-between; align-items: baseline; }
.gs-head strong { font-size: 13px; }
.gs-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gs-row button, .room-photos button {
  position: relative; padding: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden;
  aspect-ratio: 4 / 3; background: rgba(255, 255, 255, 0.05);
}
.gs-row img, .room-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gs-row button:hover img, .room-photos button:hover img { transform: scale(1.06); }
.gs-row .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.5); font-weight: 700; }

/* ---------- Daire paneli: oda görselleri ---------- */
.room-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.room-photos button span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 4px; font-size: 11px; font-weight: 700; text-align: left;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

/* ---------- Yürüme modu: oda görseli kartı ---------- */
.room-photo-card {
  position: absolute; z-index: 5; left: var(--gutter); bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px; width: 260px; padding: 6px; text-align: left;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: slideIn .35s ease;
}
.room-photo-card img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.room-photo-card span { display: flex; flex-direction: column; gap: 2px; }
.room-photo-card small { color: var(--muted); font-size: 11px; }

/* ---------- Galeri ---------- */
dialog.gallery { width: min(1280px, calc(100% - 32px)); background: #07090d; border-color: rgba(255, 255, 255, 0.08); }
.gal-stage { position: relative; aspect-ratio: 16 / 9; max-height: calc(100vh - 160px); margin: 0 auto; background: #000; }
.gal-stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 28px; line-height: 1;
}
.gal-nav.prev { left: 14px; } .gal-nav.next { right: 14px; }
.gallery .close { background: rgba(0, 0, 0, 0.5); color: #fff; }
.gal-caption {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: baseline; gap: 12px; padding: 30px 18px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
.gal-caption strong { font-family: var(--font-display); font-size: 17px; }
.gal-caption small { color: rgba(255, 255, 255, 0.6); font-size: 11px; }
.gal-caption span { margin-left: auto; color: rgba(255, 255, 255, 0.7); font-variant-numeric: tabular-nums; }
.gal-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.gal-thumbs button { flex: none; width: 96px; aspect-ratio: 16 / 10; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; opacity: .6; background: none; }
.gal-thumbs button.active { border-color: var(--accent); opacity: 1; }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 820px) {
  .intro-body { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
  .intro-shade { background: linear-gradient(0deg, rgba(8, 11, 17, 0.92) 0%, rgba(8, 11, 17, 0.55) 55%, rgba(8, 11, 17, 0.1) 100%); }
  .intro-facts { gap: 18px; margin: 16px 0 20px; }
  .intro-facts dd { font-size: 18px; }
  .intro-actions .btn-lg { flex: 1 1 100%; }
  .intro-note { left: var(--gutter); right: auto; }
  .gallery-strip { display: none; }
  .room-photos { grid-template-columns: repeat(3, 1fr); }
  .room-photo-card { width: auto; right: var(--gutter-r); bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
  dialog.gallery { width: 100%; max-width: 100%; border-radius: 0; }
  .gal-nav { width: 38px; height: 38px; font-size: 22px; }
}

/* ---------- Sosyal alanlar ---------- */
.amenity-strip { display: flex; flex-direction: column; gap: 8px; }
.amenity-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.amenity-chips button {
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 600;
}
.amenity-chips button:hover, .amenity-chips button.active { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.amenity-strip > .btn { width: 100%; }
.am-img { padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: rgba(255, 255, 255, 0.05); }
.am-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.am-cap { margin: 0; color: var(--fg); font-weight: 700; }
.site-label {
  position: absolute; transform: translate(-50%, -100%); pointer-events: auto; cursor: pointer; white-space: nowrap;
  background: var(--panel); border: 1px solid var(--line); color: var(--fg); border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 700;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.site-label::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 2px; height: 6px; background: var(--accent); transform: translateX(-50%); }
.site-label:hover { background: var(--accent); color: var(--accent-ink); }
.contact-strip .credit { margin-left: auto; opacity: 0.75; }
.contact-strip .credit a { color: inherit; }
@media (max-width: 820px) {
  .amenity-strip { display: flex; }
  .amenity-strip .gs-head, .amenity-strip > .btn { display: none; }
  .amenity-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .amenity-chips button { flex: none; }
  .contact-strip .credit { display: none; }
}

/* Satış demosu etiketi */
.demo-badge {
  flex: none; align-self: center; margin-left: 4px; padding: 3px 8px; border-radius: 999px;
  border: 1px solid var(--accent); color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(0, 0, 0, 0.25);
}
@media (max-width: 820px) {
  .brand { position: relative; }
  .brand-text strong { font-size: 15px; }
  .demo-badge { position: absolute; left: 50px; top: 27px; margin: 0; padding: 1px 6px; font-size: 8.5px; letter-spacing: 0.06em; }
  .top-actions .btn { white-space: nowrap; padding: 9px 12px; }
  .client-switch select { max-width: 120px; }
}

.tod-btn { white-space: nowrap; }
@media (max-width: 820px) { .tod-btn { padding: 9px 10px; } }
@media (max-width: 480px) {
  .client-switch { display: none !important; }
  .demo-badge { white-space: nowrap; }
}
