:root {
  --ink: #0d2730;
  --muted: #5a7681;
  --paper: #f6fbfa;
  --sea-deep: #0c6f7e;
  --sea: #1597a6;
  --sea-light: #38c0c6;
  --land: #f4e2bd;
  --gold: #f2b441;
  --coral: #f4623a;
  --mint: #4cc18a;
  --cobalt: #2f6df0;
  --neighbor: #cbd4d6;
  --line: rgba(13, 39, 48, 0.12);
  --radius: 14px;
  --shadow-soft: 0 18px 48px rgba(8, 40, 50, 0.16);
  --shadow-card: 0 24px 60px rgba(8, 40, 50, 0.22);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --topbar-h: 68px;
  --font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); font-family: var(--font); background: var(--paper); -webkit-font-smoothing: antialiased; }
button, input, a { font: inherit; -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; top: -60px; left: 12px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 14px; height: var(--topbar-h); padding: 0 18px;
  background: rgba(246, 251, 250, 0.82); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand-logo { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 8px 18px rgba(8, 40, 50, 0.18); }
.brand-copy { display: grid; gap: 1px; line-height: 1; }
.brand-copy strong { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.brand-copy small { color: var(--muted); font-size: 12px; font-weight: 600; }

.hood-nav { display: flex; align-items: center; gap: 7px; flex: 1 1 auto; min-width: 0; overflow-x: auto; padding: 6px 2px; scrollbar-width: none; scroll-snap-type: x proximity; }
.hood-nav::-webkit-scrollbar { display: none; }
.hood-chip { flex: 0 0 auto; height: 38px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; scroll-snap-align: start; transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease); }
.hood-chip:hover { transform: translateY(-1px); color: var(--ink); }
.hood-chip.is-active { color: #fff; background: linear-gradient(135deg, var(--sea), var(--sea-deep)); border-color: transparent; box-shadow: 0 8px 18px rgba(12, 111, 126, 0.32); }

.contact-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; box-shadow: 0 10px 22px rgba(13, 39, 48, 0.22); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.contact-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(13, 39, 48, 0.28); }
.contact-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Map hero (izometrik statik sahne) ---------- */
.map-hero {
  position: relative; height: calc(100svh - var(--topbar-h)); min-height: 460px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% -10%, rgba(56, 192, 198, 0.25), transparent 60%), linear-gradient(180deg, #e7f6f3, #d8efec);
}
.map-scene { position: absolute; inset: 0; overflow: hidden; }
.map-scene::after {
  content: ""; position: absolute; inset: 0; z-index: 12; pointer-events: none;
  background: linear-gradient(180deg, rgba(226, 244, 240, 0.5) 0%, rgba(226, 244, 240, 0.1) 8%, transparent 20%);
}
.iso-world { position: absolute; inset: 0; }
.iso-svg { display: block; width: 100%; height: 100%; }

/* sea */
.iso-sea { }
/* neighbors (gri/bugulu) */
.iso-neighbor { fill: var(--neighbor); stroke: rgba(120, 138, 143, 0.55); stroke-width: 2; stroke-linejoin: round; opacity: 0.97; filter: blur(0.6px); }
.iso-neighbor-shadow { fill: rgba(40, 70, 78, 0.2); filter: blur(4px); }
.iso-neighbor-label text { fill: rgba(70, 92, 99, 0.46); font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: 0.2em; paint-order: stroke; stroke: rgba(255, 255, 255, 0.45); stroke-width: 3px; }
/* land */
.iso-land-fill { fill: url(#landGrad); stroke: #0c7585; stroke-width: 5; stroke-linejoin: round; }
.iso-land-shadow { fill: rgba(10, 60, 70, 0.28); filter: blur(2px); }
.iso-foam-line { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 13; opacity: 0.9; }
/* parks */
.iso-park { fill: rgba(76, 193, 138, 0.66); stroke: rgba(29, 130, 82, 0.34); stroke-width: 2.4; stroke-linejoin: round; filter: drop-shadow(0 4px 0 rgba(23, 120, 79, 0.12)); }

/* roads */
.iso-road-shadow { fill: none; stroke: rgba(20, 60, 74, 0.18); stroke-linecap: round; stroke-linejoin: round; }
.iso-road-casing { fill: none; stroke: #ffffff; stroke-linecap: round; stroke-linejoin: round; }
.iso-road-fill { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.iso-road-fill.highway { stroke: var(--coral); }
.iso-road-fill.primary { stroke: #f7a23f; }
.iso-road-fill.secondary { stroke: #fcd27a; }
.iso-road-fill.coast { stroke: #3aa0e6; }
/* metro */
.iso-metro-casing { fill: none; stroke: rgba(255, 255, 255, 0.9); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.iso-metro-line { fill: none; stroke: #6b3fb5; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 9; }

/* road / artery labels */
.iso-road-label rect { fill: rgba(13, 39, 48, 0.92); stroke: rgba(255, 255, 255, 0.9); stroke-width: 1.4; filter: drop-shadow(0 4px 0 rgba(10, 50, 62, 0.16)); }
.iso-road-label text { fill: #fff; font-family: var(--font-display); font-size: 12.5px; font-weight: 800; paint-order: stroke; letter-spacing: 0.01em; }
.iso-road-label.d100 rect { fill: var(--coral); }
.iso-road-label.coast rect { fill: #2f86d8; }
.iso-road-label.metro rect { fill: #6b3fb5; }

/* hood labels */
.iso-hood text { font-family: var(--font-display); fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, 0.92); stroke-width: 3.4px; font-weight: 800; }
.iso-hood-dot { fill: var(--ink); stroke: #fff; stroke-width: 1.6; }
.iso-hood.r1 text { font-size: 19px; letter-spacing: 0.01em; }
.iso-hood.r2 text { font-size: 14px; fill: #2b4954; stroke-width: 3px; }

/* offices (3D) */
.iso-office { cursor: pointer; }
.iso-office-hit { pointer-events: all; }
.iso-office-body { transition: transform .18s var(--ease), filter .18s var(--ease); }
.iso-office:hover .iso-office-body,
.iso-office:focus-visible .iso-office-body { transform: translateY(-4px); }
.iso-office:focus { outline: none; }
.iso-office-shadow { fill: rgba(12, 50, 62, 0.26); filter: blur(2px); }
.iso-office-pulse { fill: none; stroke: rgba(244, 98, 58, 0.6); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: officePulse 2.2s var(--ease) infinite; }
@keyframes officePulse { 0% { opacity: .8; transform: scale(.6); } 70% { opacity: .1; transform: scale(1.35); } 100% { opacity: 0; transform: scale(1.45); } }
.iso-office-left, .iso-office-right, .iso-office-top { stroke: rgba(20, 50, 62, 0.18); stroke-width: 1; stroke-linejoin: round; }
.iso-office-win { stroke: rgba(255, 255, 255, 0.62); stroke-width: 1.4; stroke-linecap: round; fill: none; }
.iso-office-stem { stroke: rgba(13, 39, 48, 0.5); stroke-width: 1.5; }
.iso-office-pin { filter: drop-shadow(0 4px 4px rgba(10, 46, 61, 0.3)); }
.iso-office.is-active .iso-office-body { filter: drop-shadow(0 8px 14px rgba(10, 46, 61, 0.35)); }
.iso-office-name rect { fill: rgba(13, 39, 48, 0.94); stroke: rgba(255, 255, 255, 0.7); stroke-width: 1; }
.iso-office-name text { fill: #fff; font-family: var(--font-display); font-size: 11px; font-weight: 800; paint-order: stroke; }
.iso-office-name { opacity: 0; transition: opacity .16s var(--ease); pointer-events: none; }
.iso-office.is-active .iso-office-name, .iso-office:hover .iso-office-name { opacity: 1; }

/* connector (ekran uzayi, transform'dan bagimsiz) */
.connector-layer { position: absolute; inset: 0; z-index: 18; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.connector-layer path { fill: none; stroke: rgba(255, 255, 255, 0.96); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 8 9; filter: drop-shadow(0 3px 0 rgba(13, 39, 48, 0.2)); animation: dash 1.1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -17; } }

/* ---------- HUD ---------- */
.agency-card {
  position: absolute; left: 22px; bottom: 22px; z-index: 19;
  display: grid; grid-template-columns: 64px 1fr; gap: 14px; width: min(390px, calc(100vw - 36px)); padding: 14px;
  background: rgba(255, 255, 255, 0.94); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: var(--radius);
  box-shadow: var(--shadow-card); backdrop-filter: blur(18px); opacity: 0; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.agency-card.is-ready { opacity: 1; transform: none; }
.agency-badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; color: #fff; font-family: var(--font-display); font-size: 20px; font-weight: 800; background: linear-gradient(135deg, var(--badge-a), var(--badge-b)); box-shadow: inset 0 -14px 30px rgba(8, 44, 62, 0.2); }
.agency-info { min-width: 0; display: grid; gap: 9px; align-content: start; }
.agency-info h2 { margin: 0; font-family: var(--font-display); font-size: 19px; line-height: 1.12; font-weight: 800; }
.agency-info .hood { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.agency-info .hood svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.agency-info .addr { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.agency-actions { display: flex; gap: 8px; margin-top: 6px; }
.agency-actions a, .agency-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .18s var(--ease); }
.agency-actions a:hover, .agency-actions button:hover { transform: translateY(-1px); }
.agency-actions .primary { flex: 1 1 auto; color: #fff; background: var(--ink); border-color: transparent; box-shadow: 0 10px 20px rgba(13, 39, 48, 0.2); }
.agency-actions .phone-masked { cursor: default; pointer-events: none; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.agency-actions svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.result-pill { position: absolute; left: 22px; top: 18px; z-index: 20; margin: 0; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--ink); background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 0.86); box-shadow: var(--shadow-soft); backdrop-filter: blur(14px); }

.scroll-cue { position: absolute; left: 50%; bottom: 16px; z-index: 18; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(13, 39, 48, 0.7); color: #fff; font-size: 12px; font-weight: 700; animation: floatY 2.4s var(--ease) infinite; pointer-events: none; }
.scroll-cue svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes floatY { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 5px); } }

/* ---------- Content ---------- */
.content { max-width: 1080px; margin: 0 auto; padding: 0 22px 60px; }
.content section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.content section:last-of-type { border-bottom: 0; }
.lede { text-align: center; }
.eyebrow { display: inline-block; margin: 0 0 10px; padding: 6px 14px; border-radius: 999px; background: rgba(244, 98, 58, 0.12); color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.lede h1 { margin: 0 0 16px; font-family: var(--font-display); font-size: clamp(40px, 7vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(135deg, var(--sea-deep), var(--cobalt)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede-text { max-width: 720px; margin: 0 auto 26px; font-size: 18px; line-height: 1.6; color: #2b4954; }
.lede-text strong { color: var(--ink); }
.cta { display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 999px; background: linear-gradient(135deg, var(--coral), #d8431f); color: #fff; text-decoration: none; font-weight: 800; font-size: 15px; box-shadow: 0 16px 30px rgba(216, 67, 31, 0.32); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.cta:hover { transform: translateY(-2px); box-shadow: 0 22px 40px rgba(216, 67, 31, 0.4); }
.content h2 { font-family: var(--font-display); font-size: clamp(26px, 4vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 26px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.why-card { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(8, 40, 50, 0.06); }
.why-card h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.why-card p { margin: 0; color: #41606b; line-height: 1.55; font-size: 14.5px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--coral); font-weight: 800; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: #41606b; line-height: 1.6; }
.closing { text-align: center; }
.closing p { max-width: 640px; margin: 0 auto 24px; font-size: 17px; line-height: 1.6; color: #2b4954; }
.site-footer { padding: 30px 0 0; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.7; border-bottom: 0; }
.site-footer a { color: var(--sea-deep); font-weight: 700; }

/* ---------- Sale modal ---------- */
.sale-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.sale-modal[hidden] { display: none; }
.sale-backdrop { position: absolute; inset: 0; background: rgba(8, 30, 38, 0.5); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s var(--ease); }
.sale-card { position: relative; width: min(440px, 100%); padding: 34px 30px 28px; text-align: center; background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 22px; box-shadow: 0 40px 80px rgba(8, 40, 50, 0.4); backdrop-filter: blur(20px); transform: translateY(16px) scale(0.96); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.sale-modal.is-open .sale-backdrop { opacity: 1; }
.sale-modal.is-open .sale-card { transform: none; opacity: 1; }
.sale-kicker { display: inline-block; margin-bottom: 12px; padding: 6px 16px; border-radius: 999px; background: linear-gradient(135deg, var(--coral), #d8431f); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.sale-card h2 { margin: 0 0 12px; font-family: var(--font-display); font-size: 24px; line-height: 1.15; font-weight: 800; }
.sale-card p { margin: 0 0 24px; color: #41606b; font-size: 15.5px; line-height: 1.55; }
.sale-card p strong { color: var(--ink); }
.sale-actions { display: grid; gap: 10px; }
.sale-primary { display: inline-flex; align-items: center; justify-content: center; height: 50px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 800; font-size: 15px; box-shadow: 0 14px 26px rgba(13, 39, 48, 0.28); transition: transform .18s var(--ease); }
.sale-primary:hover { transform: translateY(-2px); }
.sale-secondary { height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-weight: 700; cursor: pointer; }
.sale-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(13, 39, 48, 0.06); color: var(--ink); cursor: pointer; }
.sale-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.sale-badge { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--coral), #d8431f); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; box-shadow: 0 14px 28px rgba(216, 67, 31, 0.4); animation: badgePop .4s var(--ease) both; }
.sale-badge[hidden] { display: none; }
.sale-badge-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: ring 1.8s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }
@keyframes badgePop { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.noscript-banner { padding: 16px; text-align: center; background: var(--gold); color: var(--ink); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  :root { --topbar-h: auto; }
  .topbar { flex-wrap: wrap; padding: 10px 14px; gap: 10px; }
  .brand { order: 1; }
  .contact-btn { order: 2; margin-left: auto; }
  .hood-nav { order: 3; flex-basis: 100%; }
  .map-hero { height: 78svh; }
  .agency-card { left: 12px; right: 12px; bottom: 14px; width: auto; }
  .result-pill { left: 12px; top: 12px; }
  .content { padding: 0 16px 50px; }
}
@media (max-width: 520px) {
  .agency-card { grid-template-columns: 1fr; }
  .agency-badge { display: none; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
