/* 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; }
/* açılış sunucuda hazır geldiyse yükleme perdesi onu örtmesin */
.intro.ssr:not([hidden]) ~ .loading { display: 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; flex-wrap: wrap; row-gap: 12px; 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; white-space: nowrap; }
.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; }
}

/* ---------- Kat bilgi kartı (bina üzerinde gezinirken) ---------- */
#tooltip.unit-card {
  display: flex; gap: 14px; align-items: stretch; padding: 14px 16px; min-width: 250px; max-width: 320px;
  background: rgba(10, 14, 22, 0.92); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 4px; transform: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.unit-card .uc-floor { display: flex; flex-direction: column; justify-content: center; padding-right: 14px; border-right: 1px solid rgba(255, 255, 255, 0.14); }
.unit-card .uc-floor small { font-size: 9px; letter-spacing: 0.18em; color: var(--muted); }
.unit-card .uc-floor b { font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1; }
.unit-card .uc-body { display: flex; flex-direction: column; gap: 4px; }
.unit-card .uc-body strong { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.unit-card .uc-body span { font-size: 12px; color: var(--muted); }
.unit-card .uc-st { align-self: flex-start; margin-top: 4px; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 8px; border: 1px solid currentColor; }
.unit-card .uc-st.available { color: var(--ok); } .unit-card .uc-st.reserved { color: var(--warn); } .unit-card .uc-st.sold { color: #c9ced6; }

/* ---------- Alt ikon çubuğu ---------- */
.dock {
  position: absolute; z-index: 5; left: 50%; transform: translateX(-50%); bottom: calc(46px + env(safe-area-inset-bottom, 0px));
  display: flex; gap: 2px; padding: 6px; max-width: min(980px, calc(100% - 32px)); overflow-x: auto; scrollbar-width: none;
  background: rgba(10, 14, 22, 0.72); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.dock::-webkit-scrollbar { display: none; }
.dock button {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 74px; padding: 7px 8px 6px;
  border: 0; border-radius: 10px; background: transparent; color: rgba(255, 255, 255, 0.82); transition: background .2s ease, color .2s ease;
}
.dock button:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.dock button.active { background: var(--accent); color: var(--accent-ink); }
.dock .di { font-size: 17px; line-height: 1; }
.dock .dl { font-size: 10.5px; font-weight: 700; white-space: nowrap; max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
.nav-status {
  position: absolute; z-index: 6; left: var(--gutter); bottom: calc(118px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(10, 14, 22, 0.78); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; transition: opacity .4s ease;
}
.nav-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1s ease-in-out infinite; }
.nav-status.done .dot { animation: none; background: var(--ok); }
@keyframes pulse { 50% { opacity: .3; } }
@media (min-width: 821px) { .panel-left { bottom: 130px; } .nav-status { left: calc(var(--gutter) + 360px); bottom: calc(122px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 820px) {
  .dock { left: var(--gutter); right: var(--gutter-r); transform: none; max-width: none; bottom: calc(40px + env(safe-area-inset-bottom, 0px)); border-radius: 12px; }
  .dock button { min-width: 64px; }
  .panel-left { bottom: calc(112px + env(safe-area-inset-bottom, 0px)) !important; max-height: 36%; }
  .panel-right { bottom: calc(112px + env(safe-area-inset-bottom, 0px)) !important; }
  .nav-status { top: calc(70px + env(safe-area-inset-top, 0px)); bottom: auto; }
}

/* ---------- Daire maket paneli ---------- */
.apt-panel {
  top: calc(140px + env(safe-area-inset-top, 0px)); right: var(--gutter-r); width: 330px; max-height: calc(100% - 210px); overflow-y: auto;
  padding: 22px; display: flex; flex-direction: column; gap: 12px; border-radius: 4px; background: rgba(8, 11, 18, 0.88);
}
.apt-panel h2 { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; }
.ap-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 6px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ap-stats div { padding: 12px 0; text-align: left; }
.ap-stats div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.ap-stats dd { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.ap-stats dt { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ap-desc { margin: 0; color: rgba(255, 255, 255, 0.78); line-height: 1.55; font-size: 13px; }
.ap-rooms { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ap-rooms button { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 2px; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.ap-rooms button span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; }
.ap-rooms button small { color: var(--muted); font-size: 11px; }
.ap-rooms button:hover span { color: var(--accent); }

/* ---------- Fotogerçekçi oda görünümü ---------- */
.room-view { position: absolute; inset: 0; z-index: 9; background: #05070c; overflow: hidden; animation: rvIn .45s ease; }
@keyframes rvIn { from { opacity: 0; } to { opacity: 1; } }
.rv-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.rv-stage img.on { opacity: 1; }
.rv-stage img.kb { animation: kenburns 18s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.0) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }
.rv-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 32%), linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 22%); }
.rv-top { position: absolute; top: calc(76px + env(safe-area-inset-top, 0px)); left: var(--gutter); right: var(--gutter-r); display: flex; gap: 10px; align-items: center; }
.rv-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.rv-chips button { flex: none; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(0, 0, 0, 0.35); color: #fff; font-size: 12px; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rv-chips button.active { background: #fff; color: #111; border-color: #fff; }
.rv-label { position: absolute; left: clamp(16px, 4vw, 56px); bottom: calc(64px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 4px; color: #fff; }
.rv-label small { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.rv-label strong { font-family: var(--font-display); font-size: clamp(28px, 4vw, 48px); font-weight: 600; letter-spacing: -0.01em; }
.rv-label span { font-size: 11px; color: rgba(255, 255, 255, 0.6); }
.rv-actions { position: absolute; right: var(--gutter-r); bottom: calc(64px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 10px; align-items: center; }
.rv-actions .gal-nav { position: static; transform: none; }
@media (max-width: 820px) {
  .apt-panel { top: auto; left: var(--gutter); right: var(--gutter-r); width: auto; bottom: calc(44px + env(safe-area-inset-bottom, 0px)); max-height: 46%; padding: 16px; }
  .apt-panel h2 { font-size: 22px; } .ap-desc { display: none; }
  .rv-label { bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
  .rv-actions { left: var(--gutter); right: var(--gutter-r); justify-content: space-between; bottom: calc(52px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Açılış: sade, lüks ---------- */
.intro h1 { font-weight: 300; letter-spacing: -0.03em; font-size: clamp(40px, 6.4vw, 84px); }
.intro .eyebrow { letter-spacing: 0.28em; }
.intro-facts { gap: 0; }
.intro-facts div { padding-right: 26px; margin-right: 26px; border-right: 1px solid rgba(255, 255, 255, 0.22); }
.intro-facts div:last-child { border-right: 0; }
.intro-facts dd { font-weight: 400; }
.intro-actions { align-items: center; gap: 22px; }
.intro-cta { border-radius: 2px; padding: 16px 28px !important; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.intro-link { color: #fff; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid rgba(255, 255, 255, 0.5); padding-bottom: 3px; }
.intro-nav { position: absolute; top: calc(22px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); display: flex; gap: 30px; z-index: 6; }
.intro-nav button { background: none; border: 0; padding: 4px 0; color: rgba(255, 255, 255, 0.85); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.intro-nav button:hover { color: #fff; box-shadow: 0 1px 0 #fff; }
@media (max-width: 1439px) { .intro-nav { display: none; } }
@media (max-width: 820px) { .intro-facts div { padding-right: 14px; margin-right: 14px; } .intro-actions .intro-cta { flex: 1 1 100%; } }

#rvBack { white-space: nowrap; flex: none; }

.rv-pano { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; z-index: 0; }
.rv-pano:active { cursor: grabbing; }
.room-view .rv-shade, .room-view .rv-top, .room-view .rv-label, .room-view .rv-actions { z-index: 1; }

/* ---------- Fotogerçekçi ana görünüm (render + şeffaf 3B katman) ---------- */
.hero-render { position: absolute; inset: 0; overflow: hidden; background: #0b0f17; }
.hero-render img {
  position: absolute; left: var(--hx, 0); top: var(--hy, 0); width: var(--hw, 100%); height: var(--hh, 100%);
  max-width: none; opacity: 0; transition: opacity 1.4s ease; user-select: none; pointer-events: none;
}
.hero-render img.on { opacity: 1; }
/* dar dikey ekranda görüntünün üstü/altı: aynı karenin bulanık hâli (kesik kenar görünmesin) */
.hero-render.letterbox::before {
  content: ""; position: absolute; inset: -40px; background: var(--hero-blur, none) center / cover; filter: blur(28px) brightness(.7);
}
.tod-bar {
  position: absolute; z-index: 6; left: 50%; transform: translateX(-50%); top: calc(76px + env(safe-area-inset-top, 0px));
  padding: 4px; background: rgba(10, 14, 22, 0.58); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; color: #fff;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.tod-seg { display: flex; gap: 2px; }
.tod-seg button {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: rgba(255, 255, 255, 0.78);
  font: 600 13px/1 var(--font-body, inherit); padding: 8px 13px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s;
}
.tod-seg button:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.tod-seg button.active { background: rgba(255, 255, 255, 0.94); color: #0d121a; }
.tod-seg .ic { font-size: 15px; line-height: 1; }
.tod-seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.hero-hint {
  position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.96); margin: 0;
  display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; pointer-events: none;
  background: rgba(10, 14, 22, 0.72); color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s ease, transform .4s ease;
}
.hero-hint.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hero-hint .sw { font-size: 18px; animation: hintSway 1.6s ease-in-out infinite; }
.hero-hint .short { display: none; }
@keyframes hintSway { 50% { transform: translateX(6px); } }
.free-3d {
  position: absolute; z-index: 6; right: var(--gutter-r, 16px); bottom: calc(52px + env(safe-area-inset-bottom, 0px));
  border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(10, 14, 22, 0.5); color: rgba(255, 255, 255, 0.8);
  font: 600 12px/1 inherit; padding: 8px 12px; border-radius: 8px; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.free-3d:hover { color: #fff; background: rgba(10, 14, 22, 0.7); }
body.hero-mode #scene { cursor: grab; touch-action: pan-y; }
body.orbiting #scene { cursor: grabbing; }
.render-back { position: absolute; z-index: 6; left: 50%; transform: translateX(-50%); top: calc(78px + env(safe-area-inset-top, 0px)); }

/* telefon: saat seçici üstte yalnız simgeler (seçili olanın adı görünür); 3D düğmesi alt çubuğun üstünde */
@media (max-width: 820px) {
  .tod-bar { top: calc(64px + env(safe-area-inset-top, 0px)); }
  .tod-seg button { padding: 8px 10px; }
  .tod-seg button .lb { display: none; }
  .tod-seg button.active .lb { display: inline; }
  .free-3d { bottom: auto; top: calc(64px + env(safe-area-inset-top, 0px)); right: 12px; padding: 9px 10px; }
  .hero-hint { top: 30%; font-size: 13px; padding: 9px 14px; }
  .hero-hint .long { display: none; } .hero-hint .short { display: inline; }
}
@media (max-width: 420px) { .free-3d { display: none; } }
/* giriş ekranı açıkken ana görünüm kontrolleri görünmesin */
body:has(#intro:not([hidden]):not(.leaving)) :is(.tod-bar, .free-3d, .hero-hint, .render-back) { display: none !important; }

/* ---------- Oda görünümü: kroki (daire planı), Bilgi al, WhatsApp ---------- */
.rv-top { align-items: center; }
.rv-lead { margin-left: auto; flex: none; }
.rv-plan {
  position: absolute; z-index: 3; right: var(--gutter-r, 18px); top: calc(132px + env(safe-area-inset-top, 0px)); margin: 0; width: min(300px, 26vw); padding: 10px 10px 8px;
  background: rgba(10, 14, 22, 0.66); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.rv-plan svg { display: block; width: 100%; height: auto; max-height: 34vh; }
.rv-plan .pr rect { fill: rgba(255, 255, 255, 0.07); stroke: rgba(255, 255, 255, 0.55); stroke-width: 0.06; transition: fill .2s; }
.rv-plan .pr.no rect { fill: url(#none); fill: rgba(255, 255, 255, 0.02); stroke-dasharray: 0.18 0.12; stroke: rgba(255, 255, 255, 0.35); }
.rv-plan .pr { cursor: pointer; outline: none; }
.rv-plan .pr:hover rect, .rv-plan .pr:focus-visible rect { fill: rgba(255, 255, 255, 0.18); }
.rv-plan .pr.on rect { fill: color-mix(in srgb, var(--accent) 35%, transparent); stroke: var(--accent); stroke-width: 0.1; }
.rv-plan text { fill: rgba(255, 255, 255, 0.86); text-anchor: middle; font-weight: 600; pointer-events: none; font-family: var(--font-body, sans-serif); }
.rv-plan .pr.no text { fill: rgba(255, 255, 255, 0.5); }
.rv-plan .eye path { fill: color-mix(in srgb, var(--accent) 55%, transparent); }
.rv-plan .eye circle { fill: #fff; stroke: var(--accent); stroke-width: 0.08; }
.rv-plan figcaption { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11px; color: rgba(255, 255, 255, 0.65); }
.rv-plan .lg { display: inline-block; width: 12px; height: 9px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.12); }
.rv-plan .lg.no { border-style: dashed; background: transparent; margin-left: 8px; }
.wa-btn { background: #1f9e57 !important; border-color: #1f9e57 !important; color: #fff !important; }
.wa-btn::before { content: ""; width: 16px; height: 16px; margin-right: 6px; display: inline-block; vertical-align: -3px;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 11.9 11.9 0 0 0 4.6 4c1.7.7 2.4.8 3.2.6a2.8 2.8 0 0 0 1.8-1.3 2.3 2.3 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 11.9 11.9 0 0 0 4.6 4c1.7.7 2.4.8 3.2.6a2.8 2.8 0 0 0 1.8-1.3 2.3 2.3 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 820px) {
  .rv-plan { top: calc(124px + env(safe-area-inset-top, 0px)); right: 10px; width: 128px; padding: 6px; }
  .rv-plan svg { max-height: 22vh; }
  .rv-plan text, .rv-plan figcaption { display: none; }
  .rv-lead { padding: 8px 12px; }
}
/* ---------- Bilgi al formu ---------- */
.up-contact { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
#leadModal .lead-unit { margin: 2px 0 12px; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); font-size: 13px; color: var(--fg); }
#leadModal .opt { color: var(--muted); font-weight: 400; font-size: 12px; }
#leadModal .calltime { border: 0; padding: 0; margin: 10px 0 4px; display: flex; flex-wrap: wrap; gap: 6px; }
#leadModal .calltime legend { width: 100%; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
#leadModal .calltime label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; cursor: pointer; }
#leadModal .calltime input { accent-color: var(--accent); margin: 0; }
#leadModal .calltime label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
#leadModal .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#leadModal .check { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; margin-top: 10px; }
#leadModal .check input { margin-top: 2px; flex: none; }
#leadModal .wa-alt { width: 100%; margin-top: 8px; }
#leadModal #leadSubmit { width: 100%; }
.lead-done { text-align: center; padding: 12px 6px 4px; }
.lead-done .ok-ic { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 700; background: var(--ok); color: #fff; }
.lead-done p { margin: 8px 0; }
.lead-done .btn { width: 100%; margin-top: 10px; }
#leadStep { display: flex; flex-direction: column; gap: 6px; }

/* ---------- İlk izlenim cilası (insaat2) ---------- */
/* üst çubuk: açık gökyüzü önünde de menü okunur */
.topbar { background: linear-gradient(to bottom, rgba(8, 12, 20, 0.82), rgba(8, 12, 20, 0.38) 62%, rgba(8, 12, 20, 0)); padding-bottom: 30px; }
/* açılış rakamları masaüstünde tek satır (Teslim alta düşmesin) */
@media (min-width: 821px) { .intro-facts { flex-wrap: nowrap; } .intro-facts div { padding-right: 20px; margin-right: 20px; } }
/* alt çubuk: uzun sosyal alan adları kesilmesin, iki satıra insin */
.dock button { min-width: 70px; }
.dock .dl { white-space: normal; max-width: 86px; text-align: center; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.intro-nav button { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55); }
.dock button { min-width: 0; padding: 7px 7px 6px; }
.dock .dl { max-width: 78px; }
/* açılış ekranındayken üst çubuğun karartması menünün ÜSTÜNE biniyordu (üst çubuk z5 > açılış z4): karartma açılışın içine alınır */
.topbar:has(~ .intro:not([hidden]):not(.leaving)) { background: none; }
.intro::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 150px; z-index: 5; pointer-events: none; background: linear-gradient(to bottom, rgba(8, 12, 20, 0.7), rgba(8, 12, 20, 0)); }
/* alt çubukta devamı olduğunu gösteren kenar solması */
.dock.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.dock.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px); mask-image: linear-gradient(90deg, transparent, #000 56px); }
.dock.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }

/* ---------- Drone ile içeri giriş ---------- */
.drone-fx { position: fixed; inset: 0; z-index: 60; overflow: hidden; background: #0b0f17; pointer-events: none; }
.drone-fx .drone-a { position: fixed; max-width: none; will-change: transform, filter; }
.drone-fx .drone-vig { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 45%, rgba(4, 6, 10, 0.75) 100%); opacity: 0; }
.drone-fx .drone-b { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; will-change: transform, opacity; }

/* ---------- Döner maket ---------- */
.rv-maket { position: absolute; inset: 0; z-index: 1; background: #10141b; cursor: grab; touch-action: pan-y; user-select: none; }
.rv-maket.grab { cursor: grabbing; }
.rv-maket img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.rv-maket .mk-hint { position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; background: rgba(8, 11, 18, 0.72); color: #fff; font-weight: 700; font-size: 14px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none; }
.rv-maket .mk-pin { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(224, 164, 88, 0.7); pointer-events: none; }
.rv-maket .mk-pin.on { animation: mkPulse .75s ease-out 1; }
@keyframes mkPulse { 0% { transform: scale(.4); box-shadow: 0 0 0 0 rgba(224, 164, 88, 0.75); } 70% { transform: scale(1); box-shadow: 0 0 0 26px rgba(224, 164, 88, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(224, 164, 88, 0); } }
/* dar dikey ekranda maket küçük kalmasın: kare kenar boşlukları bol, biraz büyütülür */
@media (max-aspect-ratio: 1/1) { .rv-maket img { transform: scale(1.45); } }
