/* =============================================================================
   Kayalar İnşaat — ana stil dosyası
   Bölümler: 1 Tokenlar · 2 Temel · 3 Bileşenler · 4 Yerleşim · 5 Bölümler
             6 Formlar · 7 Footer · 8 Yüzen butonlar · 9 Duyarlılık
   ============================================================================= */

/* ── 1. Tokenlar ─────────────────────────────────────────────────────────── */

:root {
  /* Marka renkleri — logodaki altın rampasından alındı, panelden ezilebilir */
  --primary: #9C8442;
  --accent: #C7A961;
  --heading: #14161A;
  --text: #4F5359;
  --link: #7E6A2C;
  --link-hover: #5F4F1D;

  --primary-soft: color-mix(in srgb, var(--primary) 14%, transparent);
  --primary-ring: color-mix(in srgb, var(--primary) 30%, transparent);
  /* Altın dolgunun üstündeki yazı rengi. Marka tercihi beyazdır; üreteç
     panelden çok açık bir renk gelirse okunabilirlik için koyuya düşer. */
  --on-primary: #FFFFFF;
  /* Altın koyulaşarak değil, açılarak vurgulanır (hover). */
  --primary-lift: color-mix(in srgb, var(--primary) 80%, #FFF4DC);

  /* Yüzeyler (açık mod — varsayılan): nötr gri yerine ılık fildişi */
  --bg: #FFFFFF;
  --bg-alt: #F7F4ED;
  --bg-deep: #0E0F11;
  --surface: #FFFFFF;
  --surface-2: #F7F4ED;
  --border: #E6E0D3;
  --border-strong: #D0C6B2;
  --muted: #6E6A61;
  --on-deep: #F4F1E9;
  --on-deep-muted: #A9A497;

  /* Placeholder görsel renkleri */
  --ph-1: #EAE4D7;
  --ph-2: #D9D1C0;
  --ph-3: #B9AF98;
  --ph-4: #9E937A;

  /* Ölçek */
  --heading-scale: 1;
  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(28, 23, 10, .06), 0 2px 8px rgba(28, 23, 10, .05);
  --shadow: 0 4px 12px rgba(28, 23, 10, .08), 0 12px 32px rgba(28, 23, 10, .07);
  --shadow-lg: 0 18px 50px rgba(28, 23, 10, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .45s;

  --header-h: 78px;
  --topbar-h: 38px;
}

/* Koyu mod jetonları.
   Seçici "html[data-theme]" olarak yazılır: panelden yönetilen marka renkleri
   <head> içine sonradan :root{} olarak basıldığı için eşit özgüllükte kalsaydı
   onlar kazanır ve koyu modda başlıklar/menü okunmaz hâle gelirdi.
   Marka renkleri (--primary, --accent, --link) burada tanımlanmaz; her iki
   modda da panelden gelen değerler geçerli olmaya devam eder. */
html[data-theme="dark"] {
  --bg: #0B0C0E;
  --bg-alt: #111318;
  --bg-deep: #060708;
  --surface: #14161B;
  --surface-2: #1B1E24;
  --border: #292C33;
  --border-strong: #3A3E47;
  --heading: #F4F1EA;
  --text: #B7B3AA;
  --muted: #8C887F;
  --on-deep: #F4F1EA;
  --on-deep-muted: #9C978C;

  /* Altın koyu zeminde okunmaz; bağlantı tonu panelin renginden türetilerek
     açılır. Böylece panelde renk değişse bile gece teması uyumlu kalır. */
  --link: color-mix(in srgb, var(--primary) 50%, #FFF4DC);
  --link-hover: #FFF4DC;
  --primary-lift: color-mix(in srgb, var(--primary) 60%, #FFF4DC);
  --primary-soft: color-mix(in srgb, var(--primary) 20%, transparent);

  --ph-1: #20232A;
  --ph-2: #171A1F;
  --ph-3: #2E323A;
  --ph-4: #434852;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow: 0 4px 14px rgba(0, 0, 0, .45), 0 14px 36px rgba(0, 0, 0, .35);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, .55);

  color-scheme: dark;
}

/* ── 2. Temel ────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
  /* Uzun proje/hizmet adları taşmasın */
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1 { font-size: calc(clamp(2rem, 4.6vw, 3.4rem) * var(--heading-scale)); }
h2 { font-size: calc(clamp(1.6rem, 3.1vw, 2.4rem) * var(--heading-scale)); }
h3 { font-size: calc(clamp(1.15rem, 1.9vw, 1.4rem) * var(--heading-scale)); }
h4 { font-size: calc(1.05rem * var(--heading-scale)); }

p { margin: 0 0 1.1em; overflow-wrap: break-word; }
p:last-child { margin-bottom: 0; }

a { color: var(--link); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--link-hover); }

img, svg, video { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15rem; }
li { margin-bottom: .35em; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--primary);
  color: var(--on-primary);
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--on-primary); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .85rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--primary);
  flex: none;
}

/* ── 3. Bileşenler ───────────────────────────────────────────────────────── */

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
#preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { display: grid; justify-items: center; gap: 1.35rem; }
.preloader-mark {
  width: 180px;
  height: auto;
  animation: pulse 1.6s var(--ease) infinite;
}
.preloader-wordmark {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--heading);
  animation: pulse 1.6s var(--ease) infinite;
}
.preloader-bar {
  width: 148px;
  height: 3px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
  display: block;
}
.preloader-bar > span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 3px;
  background: var(--primary);
  animation: loadbar 1.15s var(--ease) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.975); } }
@keyframes loadbar { 0% { transform: translateX(-110%); } 100% { transform: translateX(360%); } }

/* Butonlar */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: var(--on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: .93rem;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { box-shadow: 0 6px 18px var(--primary-ring); }
.btn-primary:hover { background: var(--primary-lift); box-shadow: 0 10px 26px var(--primary-ring); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--heading); border-color: var(--border-strong); }
.btn-ghost:hover { --btn-fg: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.btn-light { --btn-bg: #F4F1E9; --btn-fg: #14161A; }
.btn-light:hover { --btn-bg: #E9E3D5; }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .42); }
.btn-outline-light:hover { --btn-bg: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-sm { padding: .55rem 1.05rem; font-size: .84rem; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-spinner {
  width: 15px; height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  display: none;
  animation: spin .7s linear infinite;
}
.btn.is-loading { pointer-events: none; opacity: .78; }
.btn.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Topbar */
.topbar {
  background: var(--bg-deep);
  color: var(--on-deep-muted);
  font-size: .8rem;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar-group { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; }
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  color: var(--on-deep-muted);
  font-weight: 500;
  white-space: nowrap;
}
.topbar-link:hover { color: #fff; }
.topbar-link svg { color: var(--primary); flex: none; }
.topbar-hours { color: var(--on-deep-muted); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--heading);
}
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: .55rem .85rem;
  border-radius: 999px;
  color: var(--heading);
  font-weight: 500;
  font-size: .93rem;
  position: relative;
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 20px; }
.main-nav a.active { color: var(--primary); font-weight: 600; }

.nav-close, .nav-footer { display: none; }

.header-actions { display: flex; align-items: center; gap: .6rem; flex: none; }

.theme-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease);
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); transform: rotate(-12deg); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  place-items: center;
  align-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--heading);
  margin-inline: auto;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(10, 12, 16, .55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.nav-backdrop.show { opacity: 1; }

/* Reveal animasyonu */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-out) var(--d, 0ms), transform .7s var(--ease-out) var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* Bölüm başlıkları */
.section { padding: clamp(3.6rem, 7vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-title { margin-bottom: .55rem; }
.section-lead { color: var(--muted); font-size: 1.03rem; margin: 0; }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.section-head-row .section-head { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }

.empty-note, .filter-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 0;
}

/* Breadcrumb */
.breadcrumb { border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: .85rem 0;
  font-size: .84rem;
  color: var(--muted);
}
.breadcrumb li + li::before { content: '/'; margin-right: .5rem; color: var(--border-strong); }
.breadcrumb li { display: flex; align-items: center; margin: 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-current] { color: var(--heading); font-weight: 500; }

/* ── 4. Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: clamp(600px, 92vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-deep);
  color: var(--on-deep);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(5rem, 8vw, 7rem);
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-layer { position: absolute; inset: 0; }
.hero-sky {
  background:
    radial-gradient(1100px 620px at 78% 8%, color-mix(in srgb, var(--primary) 26%, transparent) 0%, transparent 62%),
    radial-gradient(760px 520px at 12% 88%, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 65%),
    linear-gradient(168deg, #171C24 0%, #0E1116 58%, #080A0E 100%);
}
.hero-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 50% 42%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 20%, transparent 78%);
}
.hero-skyline {
  top: auto;
  bottom: -1px;
  height: min(46vh, 420px);
  will-change: transform;
}
.hero-skyline svg { width: 100%; height: 100%; }
.hero-skyline .sky-far rect { fill: rgba(255, 255, 255, .045); }
.hero-skyline .sky-near rect { fill: rgba(255, 255, 255, .075); }
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 780px; }
.hero-eyebrow {
  color: var(--accent);
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .15s forwards;
}
.hero-eyebrow::before { background: var(--accent); }

.hero-title {
  font-size: clamp(2.4rem, 6.6vw, 5rem);
  line-height: 1.03;
  letter-spacing: -.035em;
  color: #fff;
  margin-bottom: 1.35rem;
}
.hero-title .line { display: block; overflow: hidden; }
/* Sürüm notu v1: iki başlık satırı arasına 10px ek nefes payı. */
.hero-title .line + .line { margin-top: 10px; }
.hero-title .line-inner {
  display: block;
  transform: translateY(110%);
  animation: lineUp .95s var(--ease-out) forwards;
}
.hero-title .line:nth-child(1) .line-inner { animation-delay: .25s; }
.hero-title .line:nth-child(2) .line-inner { animation-delay: .38s; }
.hero-title .accent {
  background: linear-gradient(96deg, var(--primary) 6%, var(--accent) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-sub {
  max-width: 56ch;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  color: rgba(255, 255, 255, .74);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) .55s forwards;
}
.hero-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 3.6rem);
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) .7s forwards;
}
.hero-actions .btn-ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .3); }
.hero-actions .btn-ghost:hover { --btn-fg: #fff; background: rgba(255, 255, 255, .1); border-color: #fff; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* Sürüm notu v1: etiketler farklı sayıda satıra sarıyordu ve rakamlar
     kayıyordu. Sütunlar alta hizalanınca üç rakam da aynı çizgide durur. */
  align-items: end;
  gap: clamp(1rem, 3vw, 2.5rem);
  max-width: 680px;
  margin: 0;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) .85s forwards;
}
.hero-stats > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-stats dt {
  font-size: .76rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .52);
  margin-bottom: .35rem;
  overflow-wrap: anywhere;
}
.hero-stats dd {
  margin: 0;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.2rem, 3vw, 2.2rem);
  transform: translateX(-50%);
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: .6rem;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) 1.05s forwards;
}
.hero-scroll:hover { color: #fff; }
.hero-scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .6));
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  animation: scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Marquee */
.marquee {
  background: var(--primary);
  color: var(--on-primary);
  padding: .85rem 0;
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid color-mix(in srgb, #000 12%, var(--primary));
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee-item {
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.marquee-sep { opacity: .55; font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── 5. Hikâye bölümü (kaydırmaya bağlı inşaat) ──────────────────────────── */

.story {
  background: var(--bg-deep);
  color: var(--on-deep);
  position: relative;
}
.story-track { height: 480vh; position: relative; }
.story-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}

.story-visual { position: relative; }
.bld { width: 100%; max-width: 460px; margin-inline: auto; overflow: visible; }

/* Bina katmanları — varsayılan gizli, adım geldikçe açılır */
.bld g[class^="bld-"] { transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); }

/* Işık modeli: üst yüz en açık, sol (ön) yüz orta, sağ yüz en koyu.
   Hacim duygusu tek tek renklerden değil, bu üç kademeden gelir. */
.bld .f-t { filter: brightness(1.32); }
.bld .f-l { filter: brightness(1); }
.bld .f-r { filter: brightness(.68); }

.bld .soil { fill: #14161A; }
.bld .soil-lines path { stroke: rgba(255, 255, 255, .055); stroke-width: 1; fill: none; }
.bld .ground-line { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; }

.bld-survey { opacity: 0; }
.bld .drill { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; fill: none; stroke-dasharray: 60; stroke-dashoffset: 60; }
.bld .drill-dot { fill: var(--accent); opacity: 0; }
.bld .survey-marks polygon,
.bld .survey-marks path { fill: none; stroke: color-mix(in srgb, var(--accent) 45%, transparent); stroke-width: 1.2; stroke-dasharray: 4 4; }

.bld-foundation { opacity: 0; transform: translateY(18px); }
.bld .footing polygon { fill: #3A3D44; }
.bld .rebar path { stroke: var(--accent); stroke-width: 1.1; opacity: .7; fill: none; }

.bld-floor { opacity: 0; transform: translateY(26px); transition: opacity .55s var(--ease-out), transform .6s var(--ease-out); }
.bld .slab { fill: #565A63; }
.bld .col { fill: #3E4148; }
.bld .win > * { fill: color-mix(in srgb, var(--accent) 15%, #101216); stroke: rgba(255, 255, 255, .08); stroke-width: .8; }

.bld-facade { opacity: 0; }
.bld .facade-skin { fill: rgba(244, 241, 233, .10); stroke: rgba(255, 255, 255, .2); stroke-width: 1.2; }
.bld .facade-line path { stroke: rgba(255, 255, 255, .09); stroke-width: 1; fill: none; }
.bld .entrance { fill: color-mix(in srgb, var(--primary) 22%, transparent); stroke: var(--primary); stroke-width: 1.4; }
.bld .entrance-line { stroke: var(--primary); stroke-width: 1; opacity: .5; fill: none; }

.bld-roof { opacity: 0; transform: translateY(-14px); }
.bld .roof-slab polygon { fill: #565A63; }
.bld .parapet polygon { fill: #3A3D44; }
.bld .antenna path { stroke: rgba(255, 255, 255, .4); stroke-width: 1.6; fill: none; }
.bld .antenna circle { fill: var(--primary); }

.bld-landscape { opacity: 0; }
.bld .tree path { stroke: #4C4F57; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.bld .tree circle { fill: rgba(104, 138, 98, .55); }
.bld .path-line { stroke: rgba(255, 255, 255, .22); stroke-width: 2.2; stroke-dasharray: 6 6; fill: none; stroke-linejoin: round; }

.bld-crane { opacity: 0; }
/* Kule dolu bir blok olarak boyanırsa duvar gibi okunuyor: koyu gövde +
   altın kenar, üstüne kafes çaprazları. */
.bld .mast polygon { fill: #22252B; stroke: color-mix(in srgb, var(--accent) 70%, transparent); stroke-width: .9; }
.bld .jib polygon { fill: color-mix(in srgb, var(--accent) 58%, #23262C); }
.bld .mast-x path, .bld .jib-tie path { stroke: var(--accent); stroke-width: 1; opacity: .6; fill: none; stroke-linecap: round; }
.bld .counterweight polygon { fill: color-mix(in srgb, var(--accent) 40%, #23262C); }
.bld .cabin polygon { fill: color-mix(in srgb, var(--accent) 30%, #1B1E24); stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: .8; }
.bld .hook path { stroke: var(--accent); stroke-width: 1.4; fill: none; stroke-linecap: round; }
.bld .hook-block { fill: var(--accent); opacity: .85; }
.bld .hook { animation: hookSway 4.5s ease-in-out infinite; transform-origin: 187px 78px; }
@keyframes hookSway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }

/* Adım durumları */
.story[data-step="0"] .bld-survey { opacity: 1; }
.story[data-step="0"] .bld .drill { animation: drillDown 1.1s var(--ease-out) forwards; }
.story[data-step="0"] .bld .drill-dot { animation: fadeIn .5s .8s forwards; }
@keyframes drillDown { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.story[data-step="1"] .bld-foundation,
.story[data-step="2"] .bld-foundation,
.story[data-step="3"] .bld-foundation,
.story[data-step="4"] .bld-foundation { opacity: 1; transform: none; }

.story[data-step="2"] .bld-crane,
.story[data-step="3"] .bld-crane { opacity: 1; }

.story[data-step="2"] .bld-floor[data-floor="0"],
.story[data-step="2"] .bld-floor[data-floor="1"],
.story[data-step="2"] .bld-floor[data-floor="2"],
.story[data-step="2"] .bld-floor[data-floor="3"],
.story[data-step="3"] .bld-floor,
.story[data-step="4"] .bld-floor { opacity: 1; transform: none; }

.story[data-step="2"] .bld-floor[data-floor="1"] { transition-delay: .12s; }
.story[data-step="2"] .bld-floor[data-floor="2"] { transition-delay: .24s; }
.story[data-step="2"] .bld-floor[data-floor="3"] { transition-delay: .36s; }

.story[data-step="3"] .bld-facade,
.story[data-step="4"] .bld-facade { opacity: 1; }

.story[data-step="3"] .bld-roof,
.story[data-step="4"] .bld-roof { opacity: 1; transform: none; }

.story[data-step="4"] .bld-landscape { opacity: 1; }
.story[data-step="4"] .bld .win > * { fill: rgba(242, 160, 7, .5); transition: fill .8s var(--ease-out); }

.story-progressbar {
  margin: 1.6rem auto 0;
  max-width: 460px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}
.story-progressbar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width .15s linear;
}

.story-text { min-width: 0; }
.story-head { margin-bottom: 1.8rem; }
.story-head .section-title { color: #fff; }
.story-head .eyebrow { color: var(--accent); }
.story-head .eyebrow::before { background: var(--accent); }

.story-captions { position: relative; min-height: 210px; }
.story-caption {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  pointer-events: none;
}
.story-caption.active { opacity: 1; transform: none; pointer-events: auto; }
.story-num {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--primary);
  margin-bottom: .5rem;
}
.story-caption h3 { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin-bottom: .7rem; }
.story-caption p { color: rgba(255, 255, 255, .68); max-width: 46ch; }

.story-rail { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.story-dot {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .85rem .4rem .55rem;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  border-radius: 999px;
  color: rgba(255, 255, 255, .55);
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.story-dot:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.story-dot-fill {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  flex: none;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.story-dot.active { color: #fff; border-color: var(--primary); background: color-mix(in srgb, var(--primary) 16%, transparent); }
.story-dot.active .story-dot-fill { background: var(--primary); transform: scale(1.3); }

/* ── Stat kartları ───────────────────────────────────────────────────────── */

.section-stats { background: var(--bg-alt); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1rem, 2.2vw, 1.6rem);
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  display: grid;
  gap: .5rem;
  justify-items: start;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.stat-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: .35rem;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-value {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  color: var(--heading);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}
.stat-label { font-size: .88rem; color: var(--muted); }

/* ── Hizmet kartları ─────────────────────────────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2.2vw, 1.6rem);
}
.service-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: .55rem;
  padding: clamp(1.5rem, 2.8vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-strong); color: var(--text); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: .5rem;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: var(--primary); color: var(--on-primary); transform: rotate(-6deg) scale(1.05); }
.service-title { margin: 0; font-size: 1.18rem; }
.service-text { color: var(--muted); font-size: .94rem; margin: 0; }
.service-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .5rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--primary);
}
.service-more svg { transition: transform .3s var(--ease); }
.service-card:hover .service-more svg { transform: translateX(4px); }

/* ── Proje kartları ──────────────────────────────────────────────────────── */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
}
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.project-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); color: var(--text); }
.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.project-media img, .project-media .ph-art {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.project-card:hover .project-media img,
.project-card:hover .project-media .ph-art { transform: scale(1.06); }
.project-status {
  position: absolute;
  top: .85rem; left: .85rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  background: rgba(18, 21, 26, .78);
  color: #fff;
  backdrop-filter: blur(6px);
}
.project-status.status-ongoing { background: var(--accent); color: #14161A; }
.project-status.status-upcoming { background: rgba(244, 241, 233, .92); color: #14161A; }
.project-body { padding: clamp(1.2rem, 2.4vw, 1.7rem); display: grid; gap: .5rem; align-content: start; }
.project-meta { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.project-title { margin: 0; font-size: 1.22rem; }
.project-text { color: var(--muted); font-size: .93rem; margin: 0; }
.project-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .35rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--primary);
}
.project-more svg { transition: transform .3s var(--ease); }
.project-card:hover .project-more svg { transform: translateX(4px); }

/* Filtre çubuğu */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.filter-btn {
  padding: .5rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.project-card.filtered-out { display: none; }

/* ── Neden biz / değerler ────────────────────────────────────────────────── */

.section-why { background: var(--bg-alt); }
.why-grid, .values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1rem, 2.2vw, 1.6rem);
}
.why-card, .value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.why-card:hover, .value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 1rem;
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3, .value-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.why-card p, .value-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.value-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  opacity: .35;
  line-height: 1;
  margin-bottom: .7rem;
}

/* ── Arsa potansiyeli hesaplayıcı ────────────────────────────────────────── */

.section-calc { background: var(--bg-alt); }
.calc-shell {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: start;
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
}

.calc-form, .calc-out {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
}
.calc-form { display: grid; gap: 1.1rem; }
.calc-field { display: grid; gap: .45rem; min-width: 0; }
.calc-field > label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: .01em;
}
.calc-unit { color: var(--muted); font-weight: 500; }
.calc-field select,
.calc-number input {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--heading);
  font: inherit;
  font-size: .94rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.calc-field select:focus, .calc-number input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-ring);
}
.calc-hint { font-size: .78rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* Sayı alanı: − [ 500 ] + */
.calc-number { display: flex; align-items: stretch; gap: .4rem; }
.calc-number input { text-align: center; font-weight: 700; font-size: 1.05rem; -moz-appearance: textfield; }
.calc-number input::-webkit-outer-spin-button,
.calc-number input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-step {
  flex: 0 0 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--heading);
  font: inherit;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.calc-step:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.calc-range { width: 100%; accent-color: var(--primary); cursor: pointer; }

.calc-check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
}
.calc-check input { margin-top: .18rem; accent-color: var(--primary); width: 17px; height: 17px; flex: none; }

/* Sonuç paneli */
.calc-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}
.calc-metric {
  display: grid;
  align-content: start;
  gap: .3rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  min-width: 0;
}
.calc-metric.is-primary { border-color: var(--primary); background: var(--primary-soft); }
.calc-metric-label {
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.calc-metric-value {
  font-size: 1.05rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.calc-metric-value b {
  display: block;
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--heading);
  letter-spacing: -.02em;
}
.calc-metric.is-primary .calc-metric-value b { color: var(--primary); }
.calc-metric-sub { font-size: .78rem; color: var(--muted); }
.calc-metric-sub b { color: var(--heading); font-weight: 700; }

/* Pay çubuğu */
.calc-split { margin-top: 1.2rem; }
.calc-split-bar {
  display: flex;
  height: 42px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.calc-split-bar > span {
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.calc-split-owner {
  background: var(--primary);
  color: var(--on-primary);
  transition: width .45s var(--ease-out);
}
.calc-split-builder { flex: 1; background: var(--surface-2); color: var(--muted); }
.calc-split-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  margin: .6rem 0 0;
  font-size: .84rem;
  color: var(--muted);
}
.calc-split-legend b { color: var(--heading); }

.calc-note {
  margin: 1.1rem 0 0;
  padding-top: .9rem;
  border-top: 1px dashed var(--border);
  font-size: .8rem;
  line-height: 1.6;
  color: var(--muted);
}
.calc-note b { color: var(--heading); }

/* Dönüşüm bloğu */
.calc-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: center;
  margin-top: clamp(1.2rem, 3vw, 2rem);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--radius-lg);
  background: var(--bg-deep);
  color: var(--on-deep);
}
.calc-lead-copy h3 { color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: .6rem; }
.calc-lead-copy p { color: var(--on-deep-muted); margin-bottom: 1.1rem; line-height: 1.7; }
.calc-lead-copy p b { color: var(--accent); }
.calc-lead .btn-ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .3); }
.calc-lead .btn-ghost:hover { --btn-fg: #fff; background: rgba(255, 255, 255, .1); border-color: #fff; }

.calc-lead-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
}
.calc-lead-summary {
  font-size: .79rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 .85rem;
}

@media (max-width: 1080px) {
  .calc-shell { grid-template-columns: 1fr; }
  .calc-lead { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .calc-metrics { grid-template-columns: 1fr; }
  .calc-split-bar > span i { font-style: normal; }
}

/* ── Görsel şerit (showcase) ─────────────────────────────────────────────── */
/* Ana sayfa, hakkımızda ve hizmetler sayfalarındaki yazı yoğunluğunu kıran
   mozaik. İlk kare 2×2 alan kaplar, kalan dördü çevresine dizilir. */

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: clamp(.7rem, 1.6vw, 1.1rem);
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
}
.showcase-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
  aspect-ratio: 3 / 2;
  isolation: isolate;
}
.showcase-item.showcase-lead {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease-out);
}
.showcase-item:hover img { transform: scale(1.045); }
.showcase-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem .95rem .8rem;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: #F4F1E9;
  background: linear-gradient(to top, rgba(6, 7, 8, .82), transparent);
  pointer-events: none;
}
.showcase-item.showcase-lead figcaption { font-size: .95rem; padding-bottom: 1rem; }

@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-item.showcase-lead { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-item, .showcase-item.showcase-lead { aspect-ratio: 16 / 10; }
}

/* ── Referanslar ─────────────────────────────────────────────────────────── */

.testimonial-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: 900px;
  margin-inline: auto;
}
.testimonial-viewport {
  position: relative;
  flex: 1;
  min-height: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.testimonial {
  position: absolute;
  inset: clamp(1.8rem, 4vw, 3rem);
  margin: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  pointer-events: none;
  display: grid;
  align-content: center;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}
.testimonial[data-active] { opacity: 1; transform: none; pointer-events: auto; }
.quote-mark { color: var(--primary); opacity: .28; }
.testimonial blockquote {
  margin: 0;
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  line-height: 1.65;
  color: var(--heading);
  font-weight: 400;
}
.testimonial figcaption { display: grid; gap: .15rem; }
.t-name { font-weight: 600; color: var(--heading); }
.t-role { font-size: .84rem; color: var(--muted); }
.t-nav {
  width: 44px; height: 44px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.t-nav:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.testimonial-dots { display: flex; justify-content: center; gap: .45rem; margin-top: 1.4rem; }
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--border-strong);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.t-dot.active { background: var(--primary); width: 24px; border-radius: 999px; }

/* ── Blog kartları ───────────────────────────────────────────────────────── */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.blog-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.blog-card-link { display: flex; flex-direction: column; height: 100%; color: var(--text); }
.blog-card-link:hover { color: var(--text); }
.blog-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.blog-media img, .blog-media .ph-art {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.blog-card:hover .blog-media img, .blog-card:hover .blog-media .ph-art { transform: scale(1.06); }
.blog-body { padding: clamp(1.2rem, 2.4vw, 1.7rem); display: grid; gap: .5rem; align-content: start; }
.blog-body time { font-size: .78rem; color: var(--muted); letter-spacing: .03em; }
.blog-title { margin: 0; font-size: 1.18rem; }
.blog-text { color: var(--muted); font-size: .93rem; margin: 0; }
.blog-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .35rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--primary);
}
.blog-more svg { transition: transform .3s var(--ease); }
.blog-card:hover .blog-more svg { transform: translateX(4px); }

/* ── CTA ─────────────────────────────────────────────────────────────────── */

.section-cta { padding-bottom: clamp(4rem, 8vw, 7rem); }
.cta-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  padding: clamp(2rem, 5vw, 3.6rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 400px at 88% 12%, color-mix(in srgb, var(--primary) 40%, transparent), transparent 62%),
    linear-gradient(140deg, #191B20, #0B0C0E);
  color: #fff;
}
.cta-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(120deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 70%);
  pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; max-width: 54ch; }
.cta-copy h2 { color: #fff; margin-bottom: .5rem; }
.cta-copy p { color: rgba(255, 255, 255, .72); margin: 0; }
.cta-actions { position: relative; z-index: 1; display: flex; gap: .7rem; flex-wrap: wrap; }

/* ── Sayfa hero (iç sayfalar) ────────────────────────────────────────────── */

.page-hero {
  position: relative;
  padding: clamp(3.2rem, 7vw, 5.5rem) 0 clamp(2.6rem, 5vw, 4rem);
  background: var(--bg-deep);
  color: var(--on-deep);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 420px at 82% 0%, color-mix(in srgb, var(--primary) 28%, transparent), transparent 62%),
    linear-gradient(160deg, #171C24, #0E1116);
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 60% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 60% 30%, #000, transparent 75%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero .eyebrow::before { background: var(--accent); }
.page-hero-title { color: #fff; max-width: 22ch; margin-bottom: .8rem; }
.page-hero-sub { color: rgba(255, 255, 255, .72); max-width: 62ch; font-size: 1.05rem; margin: 0; }

/* Proje detay hero */
.project-hero { padding: clamp(2.6rem, 5vw, 4rem) 0 0; background: var(--bg-alt); }
.project-hero .container { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.project-hero-inner { max-width: 720px; }
.project-hero-inner h1 { margin-bottom: .7rem; }
.project-hero-inner p { color: var(--muted); font-size: 1.05rem; }
.project-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.project-hero-media img, .project-hero-media .ph-art { width: 100%; height: 100%; object-fit: cover; }

/* Detay yerleşimi */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.detail-main { min-width: 0; }
.detail-side { display: grid; gap: 1.2rem; position: sticky; top: calc(var(--header-h) + 20px); }

.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.6vw, 1.8rem);
}
.side-card h2, .side-card h3 { font-size: 1.08rem; margin-bottom: .8rem; }
.side-card > p { color: var(--muted); font-size: .92rem; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.side-links li { margin: 0; }
.side-links a {
  display: block;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: .92rem;
}
.side-links li:last-child a { border-bottom: 0; }
.side-links a:hover { color: var(--primary); padding-left: .3rem; transition: padding-left .2s var(--ease), color .2s var(--ease); }

.spec-list { margin: 0; display: grid; gap: 0; }
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; font-weight: 600; color: var(--heading); text-align: right; }

.highlight-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: 0;
  font-size: .96rem;
  color: var(--text);
}
.highlight-list svg { color: var(--primary); flex: none; margin-top: 4px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .9rem;
  margin-top: 2rem;
}
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.05); }

/* Hakkımızda */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.about-side { display: grid; gap: 1.2rem; }

/* Prose (blog / detay içeriği) */
.prose { color: var(--text); font-size: 1.02rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 2.2rem; margin-bottom: .7rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.8rem; margin-bottom: .6rem; font-size: 1.2rem; }
.prose h4 { margin-top: 1.5rem; margin-bottom: .5rem; }
.prose p { margin-bottom: 1.15em; line-height: 1.8; }
.prose ul, .prose ol { margin-bottom: 1.3em; padding-left: 1.35rem; }
.prose li { margin-bottom: .5em; line-height: 1.75; }
.prose img { border-radius: var(--radius); margin-block: 1.6rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin: 1.8rem 0;
  padding: 1rem 1.4rem;
  border-left: 3px solid var(--primary);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--heading);
  font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin-block: 1.6rem; font-size: .94rem; }
.prose th, .prose td { padding: .7rem .85rem; border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--bg-alt); color: var(--heading); font-weight: 600; }

/* Blog yazısı */
.post-header { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.2rem); background: var(--bg-alt); }
.post-header h1 { max-width: 24ch; }
.post-meta { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--muted); }
.post-cover {
  margin: clamp(1.6rem, 4vw, 2.6rem) 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--surface-2);
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post .detail-grid { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }

/* İletişim */
/* Kutu sayısı üreteçten `--cards` ile gelir. auto-fit + minmax(215px) beş
   kutuyu 1120px'lik iç genişliğe sığdıramayıp sonuncuyu alt satıra atıyordu;
   sütun sayısı artık tahmin edilmiyor, doğrudan biliniyor. */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(var(--cards, 4), minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.contact-card p { hyphens: auto; }

@media (max-width: 1080px) {
  .contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .contact-cards { grid-template-columns: 1fr; }
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: .8rem;
}
.contact-icon svg { width: 21px; height: 21px; }
.contact-card h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .35rem; font-weight: 600; }
.contact-card p { margin: 0; color: var(--heading); font-weight: 500; font-size: .96rem; overflow-wrap: anywhere; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.map-shell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 420px;
  background: var(--surface-2);
}
.map-shell iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map-empty { display: grid; place-items: center; padding: 2rem; text-align: center; color: var(--muted); }

/* ── Blog yazı şablonu ───────────────────────────────────────────────────── */
/* Yerleşim mevaemlak.com/blog şablonunu izler: solda yapışkan içindekiler +
   paylaşım kutusu, sağda yazı gövdesi, altta tam genişlikte ilgili yazılar. */

.blog-article { padding-top: clamp(2rem, 4vw, 3rem); }
.blog-article-layout {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  gap: clamp(1.6rem, 3.5vw, 2.8rem);
  align-items: start;
}
.blog-sidebar-sticky {
  position: sticky;
  top: calc(var(--header-h) + 1.2rem);
  display: grid;
  gap: 1rem;
}

/* İçindekiler */
.blog-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem;
  max-height: calc(100vh - var(--header-h) - 15rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.blog-toc h2 {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--muted);
  margin-bottom: .8rem;
}
.blog-toc ul { list-style: none; margin: 0; padding: 0; }
.blog-toc li { margin: 0; }
.blog-toc a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  line-height: 1.45;
  transition: color .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
.blog-toc a:hover { color: var(--primary); background: var(--primary-soft); }
.blog-toc .toc-h2 a {
  font-size: .88rem;
  font-weight: 600;
  color: var(--heading);
  padding: .42rem .55rem .42rem .65rem;
  border-left: 3px solid var(--primary);
  margin-top: .3rem;
}
.blog-toc li:first-child .toc-h2 a, .blog-toc .toc-h2:first-child a { margin-top: 0; }
.blog-toc .toc-h3 a {
  font-size: .82rem;
  padding: .32rem .5rem .32rem .65rem;
  border-left: 2px solid var(--border);
  margin-left: 18px;
}
.blog-toc .toc-h4 a {
  font-size: .79rem;
  padding: .26rem .5rem .26rem .65rem;
  border-left: 1px solid transparent;
  margin-left: 36px;
  opacity: .9;
}
.blog-toc .toc-h3 a:hover, .blog-toc .toc-h4 a:hover { border-left-color: var(--primary); }
/* Okunan bölüm — kaydırmaya göre main.js işaretler */
.blog-toc .is-active > a {
  color: var(--primary);
  background: var(--primary-soft);
  border-left-color: var(--primary);
}

/* Paylaşım */
.blog-share-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--muted);
  margin-bottom: .65rem;
}
.blog-share-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.blog-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .5rem .8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: filter .2s var(--ease), transform .2s var(--ease);
}
.blog-share-btn span { white-space: nowrap; }
.blog-share-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.blog-share-btn.is-whatsapp { background: #25D366; }
.blog-share-btn.is-x { background: #14161A; }
.blog-share-btn.is-facebook { background: #1877F2; }
.blog-share-btn.is-link {
  background: var(--surface);
  color: var(--heading);
  border-color: var(--border-strong);
}
.blog-share-btn.is-link:hover { background: var(--surface-2); filter: none; }
/* X'in siyahı koyu modda kart zeminiyle aynı tona düşüyor; ayırt edici kenar. */
html[data-theme="dark"] .blog-share-btn.is-x { background: #24272E; border-color: var(--border-strong); }

.blog-share-nav { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .85rem; }
.blog-share-nav-btn {
  display: inline-flex;
  align-items: center;
  padding: .5rem .85rem;
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  background: transparent;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.blog-share-nav-btn:hover { background: var(--primary-soft); color: var(--primary); }
.blog-share-nav-btn.is-primary { background: var(--primary); color: var(--on-primary); }
.blog-share-nav-btn.is-primary:hover { background: var(--primary-lift); color: var(--on-primary); }

/* Gövde */
.blog-article-main { min-width: 0; }
.blog-article-main .post-cover { margin-bottom: clamp(1.4rem, 3vw, 2rem); }
.blog-article-body { max-width: 72ch; }
/* Yapışkan başlık, başlığa atlarken metni kapatmasın */
.blog-article-body :is(h2, h3, h4) { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.blog-article-form { margin-top: clamp(2.2rem, 5vw, 3.2rem); }

/* İlgili yazılar */
.blog-related {
  margin-top: clamp(2.5rem, 5vw, 3.6rem);
  padding-top: clamp(1.8rem, 4vw, 2.6rem);
  padding-bottom: clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--border);
}
.blog-related > h2 { font-size: 1.25rem; margin-bottom: 1.2rem; }
.blog-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.blog-related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.blog-related-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-related-card h3 { font-size: .97rem; line-height: 1.4; margin-bottom: .45rem; }
.blog-related-card h3 a { color: var(--heading); text-decoration: none; }
.blog-related-card h3 a:hover { color: var(--primary); }
.blog-related-card p { font-size: .85rem; color: var(--muted); line-height: 1.6; margin: 0; }

@media (max-width: 1080px) {
  .blog-article-layout { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  /* Dar ekranda içindekiler yazının üstüne, akış içinde geçer */
  .blog-article-layout { grid-template-columns: 1fr; }
  .blog-sidebar-sticky { position: static; }
  .blog-toc { max-height: 17rem; }
  .blog-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .blog-related-grid { grid-template-columns: 1fr; }
}

/* 404 */
.section-404 { padding: clamp(4rem, 10vw, 8rem) 0; }
.err-panel { max-width: 620px; margin-inline: auto; text-align: center; }
.err-code {
  display: block;
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .5rem;
}
.err-panel p { color: var(--muted); margin-bottom: 2rem; }
.err-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }

/* ── 6. Formlar ──────────────────────────────────────────────────────────── */

.contact-form { display: grid; gap: 1.1rem; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1rem;
}
.field { display: grid; gap: .4rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: .01em;
}
.field .req { color: var(--primary); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="password"],
.field select,
.field textarea {
  width: 100%;
  padding: .72rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--heading);
  font: inherit;
  font-size: .94rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .72; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-ring);
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #DC2626; }
.field-error { font-size: .8rem; color: #DC2626; min-height: 0; }
.field.has-error .field-error { min-height: 1.1em; }

.phone-input { position: relative; display: flex; align-items: stretch; }
.phone-prefix {
  display: grid;
  place-items: center;
  padding: 0 .75rem;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--surface-2);
  color: var(--muted);
  font-size: .93rem;
  font-weight: 600;
  flex: none;
  user-select: none;
}
.phone-input input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  font-weight: 400 !important;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.55;
}
.checkbox input { width: 17px; height: 17px; margin-top: 3px; flex: none; accent-color: var(--primary); }

/* Bal küpü (spam tuzağı) — ekranda görünmez, ekran okuyucudan da gizli */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.form-note-muted { opacity: .8; }
.form-status { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-status.ok { color: #15803D; font-weight: 500; }
.form-status.err { color: #DC2626; font-weight: 500; }
[data-theme="dark"] .form-status.ok { color: #4ADE80; }
[data-theme="dark"] .form-status.err { color: #F87171; }

.side-form .form-grid { grid-template-columns: 1fr; }

/* ── 7. Footer ───────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--bg-deep);
  color: var(--on-deep-muted);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 4vw, 3rem);
  padding-bottom: clamp(2.2rem, 4vw, 3.2rem);
}
.footer-col { min-width: 0; }
.footer-logo { margin-bottom: 1.1rem; }
.footer-brand .brand-wordmark { color: #fff; display: block; margin-bottom: 1rem; }
.footer-about { font-size: .9rem; line-height: 1.75; max-width: 42ch; margin-bottom: 1.2rem; }
.footer-heading {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-links li, .footer-contact li { margin: 0; }
.footer-links a { color: var(--on-deep-muted); font-size: .9rem; }
.footer-links a:hover { color: var(--primary); padding-left: .25rem; transition: padding-left .2s var(--ease), color .2s var(--ease); }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; line-height: 1.6; }
.footer-contact svg { color: var(--primary); flex: none; margin-top: 4px; }
.footer-contact a { color: var(--on-deep-muted); overflow-wrap: anywhere; }
.footer-contact a:hover { color: #fff; }

.footer-social, .nav-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--on-deep-muted);
  transition: all .25s var(--ease);
}
.social-icon:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); transform: translateY(-3px); }

.footer-bottom {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .84rem;
}
.footer-bottom .takvio { color: #fff; font-weight: 700; }
.footer-bottom .takvio:hover { color: var(--primary); }

/* Panel içinde nav-social sadece mobil menüde görünür */
.nav-social .social-icon { border-color: var(--border); color: var(--muted); }
.nav-social .social-icon:hover { color: var(--on-primary); }

/* ── 8. Yüzen butonlar (WhatsApp + yukarı çık) ───────────────────────────── */

.floating-actions {
  position: fixed;
  right: clamp(.85rem, 2.5vw, 1.5rem);
  bottom: clamp(.85rem, 2.5vw, 1.5rem);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px; /* yol haritası: iki buton arası 12px */
}
.fab {
  width: 50px;
  height: 50px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), opacity .28s var(--ease);
}
.fab:hover { transform: translateY(-4px) scale(1.05); box-shadow: var(--shadow-lg); }
.fab-top {
  background: var(--primary);
  color: var(--on-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.fab-top.show { opacity: 1; visibility: visible; transform: none; }
.fab-top.show:hover { transform: translateY(-4px) scale(1.05); }
.fab-wa { background: #25D366; color: #fff; }
.fab-wa:hover { color: #fff; }

/* ── 9. Duyarlılık ───────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
  .about-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}

@media (max-width: 980px) {
  .story-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .story-visual { max-width: 340px; margin-inline: auto; }
  .bld { max-width: 300px; }
  .story-captions { min-height: 250px; }
  .story-stage { align-items: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: grid; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    z-index: 99;
    background: var(--bg);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 5.2rem 1.5rem 2rem;
    transform: translateX(105%);
    transition: transform .42s var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav.open { transform: none; }

  .main-nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .main-nav a {
    padding: .85rem .9rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .main-nav a::after { display: none; }
  .main-nav a.active { background: var(--primary-soft); border-radius: var(--radius-sm); border-bottom-color: transparent; }

  /* Yumuşak köşeli çerçeve içinde X ikonu */
  .nav-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--heading);
    cursor: pointer;
    transition: all .25s var(--ease);
  }
  .nav-close:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); transform: rotate(90deg); }

  .nav-footer { display: grid; gap: 1rem; margin-top: auto; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .topbar-hours { display: none; }
  .topbar-inner { justify-content: center; }
  .hero { min-height: 88vh; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .hero-stats > div:last-child { grid-column: 1 / -1; }
  .section-head-row { align-items: flex-start; }
  .story-track { height: 420vh; }
  .story-rail { gap: .4rem; }
  .story-dot-label { display: none; }
  .story-dot { padding: .45rem; }
  .cta-panel { flex-direction: column; align-items: flex-start; }
  .testimonial-shell { gap: .4rem; }
  .t-nav { width: 38px; height: 38px; }
  .testimonial-viewport { padding: 1.6rem 1rem; }
  .testimonial { inset: 1.6rem 1rem; }

  /* Yol haritası: mobil footer ikişer sütun */
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 1.2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-heading { font-size: .76rem; margin-bottom: .8rem; }
  .footer-links a, .footer-contact li { font-size: .85rem; }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .err-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line-inner { transform: none; }
  .hero-eyebrow, .hero-sub, .hero-actions, .hero-stats, .hero-scroll { opacity: 1; }
  .marquee-track { animation: none; }
  .story-track { height: auto; }
  .story-stage { position: static; height: auto; padding-block: 3rem; }
  .story-captions { min-height: 0; position: static; display: grid; gap: 1.5rem; }
  .story-caption { position: static; opacity: 1; transform: none; inset: auto; }
  .bld g[class^="bld-"] { opacity: 1 !important; transform: none !important; }
}

/* Yazdırma */
@media print {
  .topbar, .site-header, .site-footer, .floating-actions, #preloader, .marquee, .breadcrumb { display: none !important; }
  body { color: #000; background: #fff; }
  .section { padding: 1rem 0; }
}
