/* ==========================================================================
   BMM DÖKÜM — Kurumsal Tasarım Sistemi
   Bayraktar Mühendislik Makina
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENLAR
   -------------------------------------------------------------------------- */
:root {
  /* Nötr rampa (çelik / grafit) */
  --c-950: #050607;
  --c-900: #0a0c10;
  --c-850: #0f1319;
  --c-800: #151a22;
  --c-700: #1f2732;
  --c-600: #313c4b;
  --c-500: #5b6878;
  --c-400: #8b97a6;
  --c-300: #b8c2ce;
  --c-200: #dde3ea;
  --c-100: #eef2f6;
  --c-50:  #f7f9fb;
  --c-white: #ffffff;

  /* Kurumsal aksanlar */
  --blue-900: #16296b;
  --blue-800: #1e3a8a;   /* Ana kurumsal mavi */
  --blue-700: #1d4ed8;
  --blue-500: #3b82f6;   /* Etkileşim mavisi */
  --blue-400: #60a5fa;   /* Koyu zeminde okunabilir mavi */
  --blue-300: #93c5fd;

  /* Kırmızı rampası logodan türetildi: #820201 doğrudan kurumsal logonun
     ölçülmüş rengidir. Sitedeki tüm kırmızılar bu tonun üyesidir. */
  --red-900: #650101;
  --red-800: #820201;    /* Logo kırmızısı */
  --red-700: #a10302;
  --red-600: #c11310;
  --red-500: #d33a35;    /* Koyu zeminde okunabilir ton */
  --red-400: #e8635e;

  /* Semantik */
  --bg:            var(--c-950);
  --bg-elevated:   var(--c-900);
  --bg-light:      var(--c-white);
  --bg-offwhite:   var(--c-50);

  --text:          #f1f4f8;
  --text-muted:    var(--c-400);
  --text-dark:     #0d1420;
  --text-dark-mut: #4a5768;

  --line-dark:     rgba(255, 255, 255, 0.08);
  --line-dark-str: rgba(255, 255, 255, 0.16);
  --line-light:    #e3e9f0;

  --glow-blue:       rgba(30, 58, 138, 0.5);
  --glow-blue-soft:  rgba(59, 130, 246, 0.14);

  /* Tipografi */
  --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Ölçek */
  --step--1: clamp(0.8rem, 0.77rem + 0.15vw, 0.875rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.16vw, 1.0625rem);
  --step-1:  clamp(1.1rem, 1.04rem + 0.3vw, 1.3rem);
  --step-2:  clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  --step-3:  clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);
  --step-5:  clamp(2.8rem, 1.6rem + 5.4vw, 6.5rem);

  /* Yerleşim */
  --container: 1280px;
  --container-narrow: 820px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 132px);
  --header-h: 76px;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-full: 999px;

  --sh-sm: 0 2px 8px rgba(5, 8, 14, 0.08);
  --sh-md: 0 12px 28px -8px rgba(9, 14, 24, 0.18);
  --sh-lg: 0 28px 60px -18px rgba(9, 14, 24, 0.32);
  --sh-dark: 0 24px 56px -20px rgba(0, 0, 0, 0.85);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s var(--ease);
  --t: 0.32s var(--ease);
  --t-slow: 0.6s var(--ease);
}

/* --------------------------------------------------------------------------
   2. TEMEL
   -------------------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-size: var(--step-0);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.025em; font-weight: 800; }
strong { font-weight: 700; }
::selection { background: var(--blue-700); color: #fff; }

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

.skip-link {
  position: absolute; top: 8px; left: 8px; z-index: 999;
  padding: 12px 20px; border-radius: var(--r-sm);
  background: var(--blue-800); color: #fff; font-weight: 700; font-size: var(--step--1);
  transform: translateY(-160%);
  transition: transform var(--t);
}
.skip-link:focus { transform: translateY(0); }

/* Yardımcılar */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.text-center { text-align: center; }
.text-blue { color: var(--blue-800); }
.text-red  { color: var(--red-700); }
.text-white{ color: #fff; }
.text-muted{ color: var(--text-muted); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   3. GİRİŞ ANİMASYONLARI (JS yoksa içerik daima görünür)
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   4. BUTONLAR
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast),
              transform var(--t-fast), box-shadow var(--t-fast);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--sm { padding: 11px 20px; font-size: 0.8125rem; }
.btn--lg { padding: 18px 34px; font-size: var(--step-0); }
.btn--block { width: 100%; }

/* Ana eylem butonu logo kırmızısında. Beyaz metinle kontrast 12,4:1. */
.btn--primary { background: var(--red-800); border-color: var(--red-800); color: #fff; }
.btn--primary:hover { background: var(--red-700); border-color: var(--red-700); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(130, 2, 1, 0.85); }

.btn--red { background: var(--red-800); border-color: var(--red-800); color: #fff; }
.btn--red:hover { background: var(--red-700); border-color: var(--red-700); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(130, 2, 1, 0.85); }

.btn--ghost { border-color: var(--line-dark-str); color: #fff; background: rgba(255,255,255,0.03); }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--c-950); transform: translateY(-2px); }

.btn--outline-dark { border-color: var(--c-200); color: var(--text-dark); background: #fff; }
.btn--outline-dark:hover { border-color: var(--blue-800); color: var(--blue-800); transform: translateY(-2px); box-shadow: var(--sh-md); }

.btn--wa { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.btn--wa:hover { background: #178043; border-color: #178043; transform: translateY(-2px); }

/* Metin bağlantısı */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: var(--step--1); color: var(--blue-800);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--blue-400); }

/* --------------------------------------------------------------------------
   5. HEADER
   -------------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
}
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(5, 6, 7, 0.85), rgba(5, 6, 7, 0));
  pointer-events: none;
}
.header.is-scrolled {
  background: rgba(8, 10, 14, 0.82);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line-dark);
}
.header.is-scrolled::before { opacity: 0; }

.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

/* Logo tek başına kullanılır, yanında yazı yoktur.
   bmd harf işareti kurumsal dosyadan vektörleştirildi, oran 441:189 (2.33).
   Koyu zeminde logo-koyu-zemin.svg, açık zeminde logo.svg kullanılır. */
.header__logo { display: flex; align-items: center; flex: none; }
.logo-mark {
  width: 96px; height: auto; aspect-ratio: 441 / 189; flex: none;
  transition: opacity var(--t-fast);
}
.header__logo:hover .logo-mark { opacity: 0.78; }

.header__nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 10px 14px;
  font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.66);
  border-radius: var(--r-sm);
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav__link.active { color: #fff; }
.nav__link.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--red-700);
}

.nav__cta { display: none; }
/* Menü paneli header'ın alt öğesi olduğundan aynı yığın bağlamındadır.
   Kapatma düğmesi panelin üstünde kalmalı, aksi halde menü açıkken kapatılamaz. */
.header__actions { display: flex; align-items: center; gap: 12px; flex: none; position: relative; z-index: 96; }

/* Masaüstünde menü header'ın tam ortasında dursun. Soldaki logo ile sağdaki
   butonlar farklı genişlikte olduğu için flex ile ortalamak menüyü kaydırıyor;
   eşit yan kolonlu grid gerçek ortalamayı veriyor. */
@media (min-width: 961px) {
  .header__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; }
  .header__nav { margin-left: 0; justify-self: center; }
  .header__actions { justify-self: end; }
}
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500;
  color: rgba(255,255,255,0.72); padding: 8px 4px;
}
.header__phone svg { width: 15px; height: 15px; color: var(--red-500); }
.header__phone:hover { color: #fff; }

/* Hamburger */
.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px;
  border: 1px solid var(--line-dark-str); border-radius: var(--r-sm);
  background: rgba(255,255,255,0.04);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 50%; width: 19px; height: 2px;
  border-radius: 2px; background: #fff; transform: translateX(-50%);
  transition: transform var(--t), opacity var(--t-fast), width var(--t);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { left: 0; transform: none; top: -6px; }
.nav-toggle span::after  { left: 0; transform: none; top: 6px; width: 13px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { top: 0; width: 19px; transform: rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(3, 5, 8, 0.72);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
}
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--c-950);
  display: flex; align-items: center;
  min-height: min(100svh, 900px);
  padding: calc(var(--header-h) + 64px) 0 96px;
}
.hero--internal {
  min-height: 0;
  padding: calc(var(--header-h) + clamp(72px, 11vw, 132px)) 0 clamp(64px, 9vw, 104px);
  border-bottom: 1px solid var(--line-dark);
}

/* Teknik ızgara + glow katmanları */
.tech-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.tech-bg::before {
  content: ''; position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 10%, transparent 78%);
}
.tech-bg::after {
  content: ''; position: absolute; top: 42%; left: 50%;
  width: min(78vw, 900px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; filter: blur(90px);
  background: radial-gradient(circle, var(--glow-blue) 0%, var(--glow-blue-soft) 42%, transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
  0%   { transform: translate(-50%, -50%) scale(0.82); opacity: 0.65; }
  100% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}
.tech-bg--soft::after { opacity: 0.55; animation: none; top: 50%; width: min(70vw, 720px); }

/* --------------------------------------------------------------------------
   HERO HAREKETLİ KATMAN
   Gerçek tanıtım videosu yüklendiğinde JS .hero--videolu sınıfını ekler ve
   bu katman gizlenir. Yalnızca transform/opacity kullanır, ek dosya indirmez.
   -------------------------------------------------------------------------- */
.hero__motion { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero--videolu .hero__motion { display: none; }

/* Yükselen kor parçacıkları */
.hero__motion span {
  position: absolute; bottom: -8%;
  width: 3px; height: 3px; border-radius: 50%;
  background: #f0a23a;
  opacity: 0;
  filter: blur(0.4px);
  animation: korYukselis linear infinite;
}
@keyframes korYukselis {
  0%   { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  12%  { opacity: 0.75; }
  70%  { opacity: 0.45; }
  100% { transform: translate3d(var(--kayma, 30px), -108vh, 0) scale(1); opacity: 0; }
}

/* Her parçacığa farklı konum, hız ve gecikme: düzenli görünmesin */
.hero__motion span:nth-child(1)  { left: 6%;  --kayma:  34px; animation-duration: 17s; animation-delay: -2s;  }
.hero__motion span:nth-child(2)  { left: 14%; --kayma: -22px; animation-duration: 23s; animation-delay: -11s; width: 2px; height: 2px; }
.hero__motion span:nth-child(3)  { left: 22%; --kayma:  46px; animation-duration: 19s; animation-delay: -6s;  }
.hero__motion span:nth-child(4)  { left: 29%; --kayma: -38px; animation-duration: 26s; animation-delay: -17s; width: 4px; height: 4px; background: #d33a35; }
.hero__motion span:nth-child(5)  { left: 37%; --kayma:  18px; animation-duration: 21s; animation-delay: -4s;  width: 2px; height: 2px; }
.hero__motion span:nth-child(6)  { left: 44%; --kayma: -30px; animation-duration: 29s; animation-delay: -21s; }
.hero__motion span:nth-child(7)  { left: 51%; --kayma:  40px; animation-duration: 18s; animation-delay: -9s;  width: 2px; height: 2px; }
.hero__motion span:nth-child(8)  { left: 58%; --kayma: -16px; animation-duration: 24s; animation-delay: -14s; }
.hero__motion span:nth-child(9)  { left: 65%; --kayma:  28px; animation-duration: 20s; animation-delay: -3s;  width: 4px; height: 4px; background: #d33a35; }
.hero__motion span:nth-child(10) { left: 72%; --kayma: -44px; animation-duration: 27s; animation-delay: -19s; width: 2px; height: 2px; }
.hero__motion span:nth-child(11) { left: 79%; --kayma:  24px; animation-duration: 22s; animation-delay: -7s;  }
.hero__motion span:nth-child(12) { left: 86%; --kayma: -26px; animation-duration: 25s; animation-delay: -13s; width: 2px; height: 2px; }
.hero__motion span:nth-child(13) { left: 92%; --kayma:  36px; animation-duration: 18s; animation-delay: -16s; }
.hero__motion span:nth-child(14) { left: 97%; --kayma: -20px; animation-duration: 30s; animation-delay: -24s; width: 2px; height: 2px; }

/* Izgaranın çok yavaş kayması: sahne canlı dursun ama dikkat dağıtmasın */
.hero .tech-bg::before { animation: izgaraKaymasi 90s linear infinite; }
@keyframes izgaraKaymasi {
  from { background-position: 0 0; }
  to   { background-position: 72px 72px; }
}

/* Hero tanıtım videosu.
   Video dosyası yoksa .hero--videosuz sınıfı eklenir (js/app.js) ve video gizlenir;
   arkadaki teknik ızgara görünmeye devam eder. */
.hero__video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  background: transparent;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  pointer-events: none;
}
.hero__video.is-ready { opacity: 0.42; }
.hero--videosuz .hero__video,
.hero--videosuz .hero__scrim { display: none; }

/* Video üzerinde metnin okunur kalması için karartma katmanı */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(5,6,7,0.82) 0%, rgba(5,6,7,0.42) 38%, rgba(5,6,7,0.9) 100%),
    radial-gradient(ellipse 62% 55% at 50% 45%, rgba(5,6,7,0.25), rgba(5,6,7,0.78) 100%);
}

.hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Satır aralığı 1.05'in altına inmemeli: Türkçe İ, Ü, Ö, Ğ, Ş işaretleri
   bir üst satırın altına girip kırpılıyor. */
.hero__title {
  font-size: var(--step-5); font-weight: 800; letter-spacing: -0.045em; line-height: 1.06;
  background: linear-gradient(178deg, #ffffff 18%, #7d8794 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-block: 0.06em 0.08em;
}
.hero__lede {
  max-width: 56ch; margin: 24px auto 0;
  font-size: var(--step-1); line-height: 1.6; color: var(--c-400);
}
.hero__lede b { color: var(--c-200); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

/* Hero altı teknik şerit */
.spec-strip {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(56px, 8vw, 88px);
  border: 1px solid var(--line-dark); border-radius: var(--r-lg);
  background: rgba(255,255,255,0.025);
  overflow: hidden;
}
.spec-strip__item { padding: 26px 24px; border-left: 1px solid var(--line-dark); }
.spec-strip__item:first-child { border-left: 0; }
.spec-strip__val {
  font-family: var(--font-mono); font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600; color: #fff; line-height: 1; letter-spacing: -0.02em;
}
.spec-strip__val sup { font-size: 0.5em; color: var(--blue-400); top: -0.7em; }
.spec-strip__val small { font-size: 0.5em; font-weight: 500; color: var(--blue-400); margin-left: 2px; }
.spec-strip__key {
  display: block; margin-top: 10px; font-size: 0.8125rem; font-weight: 600;
  color: var(--c-400);
}

/* İç sayfa hero */
.hero__breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 20px;
  font-size: 0.8125rem; color: var(--c-400);
}
.hero__breadcrumb a { color: var(--c-300); }
.hero__breadcrumb a:hover { color: var(--blue-400); }
.hero__breadcrumb li { display: flex; align-items: center; gap: 10px; }
.hero__breadcrumb li + li::before { content: '/'; color: var(--c-600); }
.hero--internal .hero__content { align-items: flex-start; text-align: left; }
.hero--internal .hero__title { font-size: var(--step-4); background-image: linear-gradient(178deg, #fff 30%, #98a1ad 100%); }
.hero--internal .hero__lede { margin-inline: 0; text-align: left; }

/* Keşfet göstergesi */
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transform: translateX(-50%);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.42);
  transition: color var(--t-fast);
}
.scroll-cue:hover { color: #fff; }
.mouse { position: relative; width: 22px; height: 34px; border: 2px solid rgba(255,255,255,0.28); border-radius: var(--r-full); }
.mouse::before {
  content: ''; position: absolute; top: 6px; left: 50%; width: 4px; height: 4px;
  border-radius: 50%; background: #fff; transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}
@keyframes scrollWheel { 0% { top: 6px; opacity: 1; } 100% { top: 20px; opacity: 0; } }

/* --------------------------------------------------------------------------
   7. BÖLÜMLER
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); position: relative; }
.section--light { background: var(--bg-light); color: var(--text-dark); }
.section--offwhite { background: var(--bg-offwhite); color: var(--text-dark); }
.section--dark { background: var(--bg); }
.section--elevated { background: var(--bg-elevated); border-block: 1px solid var(--line-dark); }
.section--tight { padding-block: clamp(56px, 6vw, 84px); }

.section-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 68px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--red-700);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--red-700); }
.eyebrow--light { color: var(--blue-400); }
.eyebrow--light::before { background: var(--blue-400); }
.section-head--center .eyebrow { justify-content: center; }

.section-title { font-size: var(--step-3); line-height: 1.15; margin-bottom: 20px; }
.section--light .section-title, .section--offwhite .section-title { color: var(--blue-800); }
.section--dark .section-title, .section--elevated .section-title { color: #fff; }
.section-desc { font-size: var(--step-1); line-height: 1.65; color: var(--text-dark-mut); }
.section--dark .section-desc, .section--elevated .section-desc,
.error-page .section-desc, .login-screen .section-desc { color: var(--text-muted); }
.section-head--center .section-desc { margin-inline: auto; }

.prose p { margin-bottom: 20px; color: var(--text-dark-mut); line-height: 1.8; }
.prose p:last-child { margin-bottom: 0; }
.section--dark .prose p, .section--elevated .prose p { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   8. HAKKIMIZDA GRID
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: -1; }

.media-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--c-800); box-shadow: var(--sh-lg);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  border-radius: inherit;
}

/* Görsel üstü rozet */
.media-badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; border-radius: var(--r-md);
  background: rgba(10, 12, 16, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-dark-str);
}
.media-badge__val { font-family: var(--font-mono); font-size: 1.375rem; font-weight: 600; color: #fff; line-height: 1; }
.media-badge__key { display: block; margin-top: 5px; font-size: 0.8125rem; color: var(--c-400); }

/* Madde listesi */
.check-list { display: grid; gap: 14px; margin: 28px 0 32px; }
.check-list li { position: relative; padding-left: 32px; font-size: var(--step-0); color: var(--text-dark-mut); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 0.42em;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(30, 58, 138, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3a8a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.check-list li strong { color: var(--text-dark); }
.section--dark .check-list li, .section--elevated .check-list li { color: var(--text-muted); }
/* --elevated de koyu bir zemin; atlanırsa etiketler koyu üstünde koyu kalıp kayboluyor */
.section--dark .check-list li strong,
.section--elevated .check-list li strong { color: #fff; }
.section--dark .check-list li::before, .section--elevated .check-list li::before {
  background-color: rgba(96, 165, 250, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   9. HİZMET KARTLARI
   -------------------------------------------------------------------------- */
.card-grid { display: grid; gap: 24px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 36px); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-light); color: var(--text-dark);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-dark);
  transition: transform var(--t), box-shadow var(--t);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 36px 70px -24px rgba(0,0,0,0.9); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-200); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__index {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: grid; place-items: center; min-width: 34px; height: 34px; padding-inline: 9px;
  border-radius: var(--r-sm); background: rgba(10, 12, 16, 0.78); backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; color: #fff;
  letter-spacing: 0.04em;
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 26px 30px; }
.card__title { font-size: var(--step-1); font-weight: 800; color: var(--blue-800); margin-bottom: 12px; }
.card__text { font-size: 0.9375rem; line-height: 1.7; color: var(--text-dark-mut); }
.card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tag {
  padding: 5px 11px; border-radius: var(--r-full);
  background: var(--c-100); border: 1px solid var(--line-light);
  font-size: 0.75rem; font-weight: 600; color: var(--c-500);
}
.card__foot { margin-top: auto; padding-top: 22px; }

/* İkonlu sade kart (koyu zemin) */
.feature {
  padding: 32px 28px; border-radius: var(--r-lg);
  border: 1px solid var(--line-dark); background: rgba(255,255,255,0.025);
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.feature:hover { border-color: var(--line-dark-str); background: rgba(255,255,255,0.05); transform: translateY(-4px); }
.feature__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px;
  border-radius: var(--r-md); background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.22); color: var(--blue-400);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature__title { font-size: var(--step-1); color: #fff; margin-bottom: 10px; }
.feature__text { font-size: 0.9375rem; line-height: 1.7; color: var(--text-muted); }
.feature--light { background: #fff; border-color: var(--line-light); box-shadow: var(--sh-sm); }
.feature--light:hover { background: #fff; border-color: var(--c-300); box-shadow: var(--sh-md); }
.feature--light .feature__title { color: var(--blue-800); }
.feature--light .feature__text { color: var(--text-dark-mut); }
.feature--light .feature__icon { background: rgba(30, 58, 138, 0.08); border-color: rgba(30, 58, 138, 0.14); color: var(--blue-800); }

/* --------------------------------------------------------------------------
   10. SÜREÇ ADIMLARI
   -------------------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.process__step { position: relative; padding: 40px 28px 0; border-top: 2px solid var(--line-dark); counter-increment: step; }
.process__step::before {
  content: ''; position: absolute; top: -6px; left: 0; width: 10px; height: 10px;
  border-radius: 50%; background: var(--c-600); transition: background var(--t), box-shadow var(--t);
}
.process__step:hover::before { background: var(--red-500); box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.18); }
.process__num {
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500;
  color: var(--blue-400);
}
.process__num::before { content: '0' counter(step); }
.process__title { font-size: var(--step-1); color: #fff; margin: 14px 0 12px; }
.process__text { font-size: 0.9375rem; line-height: 1.7; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   11. TEKNİK TABLO (Makine Parkuru)
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-dark); border-radius: var(--r-lg); background: rgba(255,255,255,0.02); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.spec-table th, .spec-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line-dark); }
.spec-table thead th {
  font-size: 0.8125rem; font-weight: 700; color: var(--c-400);
  background: rgba(255,255,255,0.03);
  white-space: nowrap;
}
.spec-table tbody th { font-size: 0.9375rem; font-weight: 700; color: #fff; white-space: nowrap; }
.spec-table td { font-family: var(--font-mono); font-size: 0.875rem; font-weight: 400; color: var(--c-300); }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr { transition: background var(--t-fast); }
.spec-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.table-note { margin-top: 16px; font-size: 0.8125rem; color: var(--c-500); }

/* --------------------------------------------------------------------------
   12. SEKTÖRLER
   -------------------------------------------------------------------------- */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
.sector {
  display: flex; align-items: center; gap: 16px; padding: 26px 24px;
  background: var(--bg); transition: background var(--t-fast);
}
.sector:hover { background: var(--c-850); }
.sector__icon { color: var(--blue-400); flex: none; }
.sector__icon svg { width: 22px; height: 22px; }
.sector__name { font-size: 0.9375rem; font-weight: 700; color: #fff; }
.sector__note { display: block; margin-top: 3px; font-size: 0.8125rem; font-weight: 400; color: var(--c-400); }

/* --------------------------------------------------------------------------
   13. İSTATİSTİKLER
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 52px; padding-top: 52px; border-top: 1px solid var(--line-dark); }
.stat__val {
  font-family: var(--font-mono); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; color: var(--blue-400); line-height: 1; letter-spacing: -0.03em;
}
.stat__val small { font-size: 0.4em; font-weight: 500; margin-left: 3px; }
.stat__key { display: block; margin-top: 12px; font-size: 0.875rem; font-weight: 600; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   15. CTA BANDI
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--c-900); border-top: 1px solid var(--line-dark); }
.cta-band__inner { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; text-align: center; }
.cta-band__title { font-size: var(--step-3); color: #fff; margin-bottom: 18px; }
.cta-band__desc { font-size: var(--step-1); color: var(--text-muted); margin-bottom: 36px; }
.cta-band__mail {
  display: inline-block; font-size: clamp(1.5rem, 3.6vw, 2.75rem); font-weight: 800;
  letter-spacing: -0.03em; color: #fff;
  border-bottom: 2px solid var(--line-dark-str); padding-bottom: 6px;
  transition: color var(--t-fast), border-color var(--t-fast);
  overflow-wrap: anywhere;
}
.cta-band__mail:hover { color: var(--blue-400); border-color: var(--blue-400); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

/* --------------------------------------------------------------------------
   16. BLOG
   -------------------------------------------------------------------------- */
.post-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--c-200); }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-200); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 24px 28px; }
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 0.8125rem; color: var(--c-500);
}
.post-meta__cat { color: var(--red-700); font-weight: 700; }
.post-meta span + span::before { content: '·'; margin-right: 8px; color: var(--c-300); }
.post-card__title { font-size: var(--step-1); line-height: 1.3; margin-bottom: 12px; }
.post-card__title a { color: var(--text-dark); }
.post-card__title a:hover { color: var(--blue-800); }
.post-card__excerpt { font-size: 0.9375rem; line-height: 1.7; color: var(--text-dark-mut); }
.post-card__foot { margin-top: auto; padding-top: 22px; }

/* Öne çıkan yazı */
.post-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: stretch; }
.post-featured .post-card__media { aspect-ratio: auto; height: 100%; min-height: 320px; }
.post-featured .post-card__body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.post-featured .post-card__title { font-size: var(--step-2); }

/* Makale gövdesi */
.article { max-width: 760px; margin-inline: auto; }
.article__lede { font-size: var(--step-1); line-height: 1.7; color: var(--text-dark); font-weight: 500; margin-bottom: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--line-light); }
.article__body { font-size: 1.0625rem; line-height: 1.85; color: var(--text-dark-mut); }
.article__body > * + * { margin-top: 24px; }
.article__body h2 { font-size: var(--step-2); color: var(--blue-800); margin-top: 48px; }
.article__body h3 { font-size: var(--step-1); color: var(--text-dark); margin-top: 36px; }
.article__body ul, .article__body ol { display: grid; gap: 12px; padding-left: 4px; }
.article__body ul li { position: relative; padding-left: 26px; }
.article__body ul li::before { content: ''; position: absolute; left: 4px; top: 0.72em; width: 7px; height: 7px; border-radius: 2px; background: var(--red-700); }
.article__body ol { counter-reset: n; }
.article__body ol li { position: relative; padding-left: 34px; counter-increment: n; }
.article__body ol li::before {
  content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 0.1em;
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 600; color: var(--blue-800);
}
.article__body strong { color: var(--text-dark); }
.article__body a { color: var(--blue-800); text-decoration: underline; text-underline-offset: 3px; }
.article__body blockquote {
  padding: 24px 28px; border-left: 3px solid var(--red-700);
  background: var(--c-50); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--step-1); font-weight: 500; color: var(--text-dark); line-height: 1.6;
}
.article__body figure figcaption { margin-top: 12px; font-size: 0.8125rem; color: var(--c-500); text-align: center; }
.article__body img { border-radius: var(--r-md); }

.article__table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.article__table th, .article__table td { padding: 14px 16px; text-align: left; border: 1px solid var(--line-light); }
.article__table thead th { background: var(--c-50); font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-500); }
.article__table td { color: var(--text-dark-mut); }
.article-scroll { overflow-x: auto; }

.article__share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--line-light); }
.article__share span { font-size: 0.8125rem; font-weight: 700; color: var(--c-500); margin-right: 4px; }
.share-btn {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line-light); border-radius: var(--r-sm); color: var(--text-dark-mut);
  transition: all var(--t-fast);
}
.share-btn:hover { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }
.share-btn svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   17. İLETİŞİM
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 4vw, 56px); align-items: start; }

.info-card {
  display: flex; gap: 18px; padding: 26px;
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); transition: box-shadow var(--t), border-color var(--t);
}
.info-card + .info-card { margin-top: 16px; }
.info-card:hover { box-shadow: var(--sh-md); border-color: var(--c-200); }
.info-card__icon {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: var(--r-md); background: rgba(30, 58, 138, 0.08); color: var(--blue-800);
}
.info-card__icon svg { width: 20px; height: 20px; }
.info-card__label { font-size: 0.8125rem; font-weight: 700; color: var(--c-500); margin-bottom: 6px; }
.info-card__value { font-size: 1.0625rem; font-weight: 700; color: var(--text-dark); line-height: 1.5; }
.info-card__value a:hover { color: var(--blue-800); }
.info-card__note { margin-top: 6px; font-size: 0.875rem; font-weight: 400; color: var(--text-dark-mut); line-height: 1.6; }

.hours-list { display: grid; gap: 10px; margin-top: 10px; font-size: 0.875rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; color: var(--text-dark-mut); }
.hours-list b { font-family: var(--font-mono); font-weight: 500; color: var(--text-dark); }

/* Form */
.form-card { padding: clamp(28px, 3.5vw, 44px); background: #fff; border: 1px solid var(--line-light); border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 0.8125rem; font-weight: 700; color: var(--text-dark); }
.field label .req { color: var(--red-700); margin-left: 2px; }
.control {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--c-200); border-radius: var(--r-sm);
  background: var(--c-50); color: var(--text-dark);
  font-family: var(--font-main); font-size: 0.9375rem; line-height: 1.5;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.control::placeholder { color: var(--c-400); }
.control:hover { border-color: var(--c-300); }
.control:focus { outline: none; background: #fff; border-color: var(--blue-800); box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12); }
textarea.control { resize: vertical; min-height: 130px; }
select.control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6878' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  padding-right: 42px;
}
.field.has-error .control { border-color: var(--red-700); background: #fff5f5; }
.field-error { display: none; margin-top: 7px; font-size: 0.8125rem; font-weight: 600; color: var(--red-700); }
.field.has-error .field-error, .consent.has-error .field-error { display: block; }
.consent.has-error input { outline: 2px solid var(--red-700); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--blue-800); }
.consent label { font-size: 0.8125rem; font-weight: 400; line-height: 1.6; color: var(--text-dark-mut); margin: 0; }
.consent a { color: var(--blue-800); text-decoration: underline; text-underline-offset: 2px; }

.form-status {
  display: none; align-items: flex-start; gap: 12px; margin-top: 20px; padding: 16px 18px;
  border-radius: var(--r-sm); font-size: 0.875rem; line-height: 1.6;
}
.form-status.is-visible { display: flex; }
.form-status--ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.form-status--err { background: #fef2f2; border: 1px solid #fecaca; color: var(--red-700); }
.form-status svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.form-hint { margin-top: 18px; font-size: 0.8125rem; color: var(--c-500); line-height: 1.6; }

/* Harita */
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-light); box-shadow: var(--sh-sm); line-height: 0; background: var(--c-100); }
.map-frame iframe { width: 100%; height: clamp(300px, 42vw, 440px); border: 0; display: block; }

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: #030405; border-top: 1px solid var(--line-dark); padding-top: clamp(56px, 7vw, 88px); font-size: 0.9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(32px, 4vw, 56px); padding-bottom: clamp(44px, 5vw, 64px); }
.footer__brand { display: flex; align-items: center; margin-bottom: 22px; }
.footer__brand .logo-mark { width: 104px; }
.footer__desc { color: var(--text-muted); line-height: 1.75; max-width: 34ch; font-size: 0.9375rem; }
.footer__label { margin-bottom: 22px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-400); }
.footer__links { display: grid; gap: 13px; }
.footer__links a { color: var(--c-400); }
.footer__links a:hover { color: var(--blue-400); }
.footer__contact { display: grid; gap: 18px; }
.footer__contact li { display: flex; gap: 12px; color: var(--text-muted); line-height: 1.65; }
.footer__contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--c-600); }
.footer__contact a:hover { color: #fff; }
.footer__socials { display: flex; gap: 10px; margin-top: 24px; }
.footer__socials a {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--line-dark); border-radius: var(--r-sm); color: var(--c-400);
  transition: all var(--t-fast);
}
.footer__socials a:hover { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }
.footer__socials svg { width: 16px; height: 16px; }

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-block: 26px; border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem; color: var(--c-400);
}
.footer__bottom a { color: var(--c-400); }
.footer__bottom a:hover { color: var(--blue-400); }
.credits a { color: #fff; font-weight: 700; }
.credits a:hover { color: var(--blue-400); }

/* Yukarı çık */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: var(--r-md); border: 1px solid var(--line-dark-str);
  background: rgba(12, 15, 20, 0.86); backdrop-filter: blur(10px); color: #fff;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--t), visibility var(--t), transform var(--t), background var(--t-fast);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-800); border-color: var(--blue-800); }
.to-top svg { width: 18px; height: 18px; }

/* Hızlı arama kısayolu.
   WhatsApp hattı devreye girdiğinde: <a class="float-call float-call--wa" href="https://wa.me/90...">
   ve ikonu WhatsApp logosuyla değiştirmek yeterlidir. */
.float-call {
  position: fixed; right: 22px; bottom: 78px; z-index: 80;
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: var(--r-md); background: var(--red-800); color: #fff;
  box-shadow: 0 12px 26px -10px rgba(130, 2, 1, 0.95);
  transition: transform var(--t-fast), background var(--t-fast);
}
.float-call:hover { transform: translateY(-2px); background: var(--red-700); }
.float-call svg { width: 21px; height: 21px; }
.float-call--wa { background: #1f9d55; box-shadow: 0 12px 26px -10px rgba(31, 157, 85, 0.8); }
.float-call--wa:hover { background: #178043; }

/* --------------------------------------------------------------------------
   18a. ÖZEL İMLEÇ
   js/app.js tarafından oluşturulur. Yalnızca gerçek fare olan cihazlarda,
   hareket azaltma tercihi kapalıyken devreye girer. Dokunmatikte hiç yüklenmez.
   -------------------------------------------------------------------------- */
.imlec-nokta, .imlec-halka {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none;                 /* tıklamayı asla engellemez */
  border-radius: 50%;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.imlec-hazir .imlec-nokta,
.imlec-hazir .imlec-halka { opacity: 1; }

.imlec-nokta {
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  background: var(--red-500);
  transition: opacity 0.25s var(--ease), width 0.2s var(--ease),
              height 0.2s var(--ease), margin 0.2s var(--ease);
}
.imlec-halka {
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid rgba(211, 58, 53, 0.5);
  transition: opacity 0.25s var(--ease), width 0.28s var(--ease),
              height 0.28s var(--ease), margin 0.28s var(--ease),
              border-color 0.28s var(--ease), background 0.28s var(--ease);
}

/* Bağlantı ve düğme üzerinde halka büyür, nokta küçülür */
.imlec-etkin .imlec-halka {
  width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border-color: rgba(211, 58, 53, 0.85);
  background: rgba(211, 58, 53, 0.09);
}
.imlec-etkin .imlec-nokta {
  width: 4px; height: 4px; margin: -2px 0 0 -2px;
}
/* Basılı tutarken hafif toplanır */
.imlec-basili .imlec-halka {
  width: 26px; height: 26px; margin: -13px 0 0 -13px;
}

/* Yazı alanlarında sistem imleci geri gelsin, özel imleç gizlensin */
.imlec-metin .imlec-nokta,
.imlec-metin .imlec-halka { opacity: 0; }

@media (pointer: fine) {
  /* Yalnızca özel imleç gerçekten çalışırken sistem imlecini gizle */
  .imlec-var, .imlec-var a, .imlec-var button,
  .imlec-var [role="button"], .imlec-var label { cursor: none; }
  .imlec-var input, .imlec-var textarea, .imlec-var select,
  .imlec-var [contenteditable] { cursor: auto; }
}

/* --------------------------------------------------------------------------
   18b. DUYURU PENCERESİ (POPUP)
   Yönetim panelinden açılır, js/app.js tarafından oluşturulur.
   -------------------------------------------------------------------------- */
.popup {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 20px;
  opacity: 0; transition: opacity 0.25s var(--ease);
}
.popup.is-acik { opacity: 1; }
.popup__perde { position: absolute; inset: 0; background: rgba(3, 5, 8, 0.78); backdrop-filter: blur(4px); }

.popup__kutu {
  position: relative; width: 100%; max-width: 460px;
  max-height: calc(100svh - 40px); overflow-y: auto;
  background: var(--c-900); border: 1px solid var(--line-dark-str);
  border-radius: var(--r-xl); box-shadow: var(--sh-dark);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
}
.popup.is-acik .popup__kutu { transform: none; }

.popup__kapat {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: var(--r-sm); color: #fff;
  background: rgba(10, 12, 16, 0.6); backdrop-filter: blur(6px);
  transition: background var(--t-fast);
}
.popup__kapat:hover { background: var(--red-800); }
.popup__kapat svg { width: 17px; height: 17px; }

.popup__gorsel { line-height: 0; background: var(--c-800); }
.popup__gorsel img {
  width: 100%; height: auto; max-height: 260px; object-fit: cover;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.popup__ic { padding: clamp(24px, 4vw, 34px); text-align: center; }
.popup__baslik { font-size: var(--step-2); color: #fff; margin-bottom: 14px; }
.popup__metin { font-size: 0.9375rem; line-height: 1.75; color: var(--text-muted); }
.popup__metin p + p { margin-top: 12px; }
.popup__metin a { color: var(--red-400); text-decoration: underline; }
.popup__btn { margin-top: 24px; }

@media (max-width: 480px) {
  .popup__gorsel img { max-height: 180px; }
}

/* --------------------------------------------------------------------------
   19. GİRİŞ SAYFASI
   -------------------------------------------------------------------------- */
.login-screen {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: 48px var(--gutter); background: var(--c-950); overflow: hidden;
}
.login-card {
  position: relative; z-index: 2; width: 100%; max-width: 420px;
  padding: clamp(32px, 5vw, 44px);
  background: rgba(16, 20, 27, 0.86); backdrop-filter: blur(20px);
  border: 1px solid var(--line-dark-str); border-radius: var(--r-xl);
  box-shadow: var(--sh-dark);
}
.login-card .header__logo { justify-content: center; margin-bottom: 32px; }
.login-title { font-size: var(--step-2); color: #fff; text-align: center; }
.login-sub { margin: 10px 0 32px; font-size: 0.875rem; color: var(--text-muted); text-align: center; }
.login-card .field label { color: var(--c-300); }
.login-card .control { background: rgba(255,255,255,0.04); border-color: var(--line-dark-str); color: #fff; }
.login-card .control::placeholder { color: var(--c-600); }
.login-card .control:focus { background: rgba(255,255,255,0.07); border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.16); }
.login-back { display: block; margin-top: 26px; text-align: center; font-size: 0.8125rem; color: var(--c-500); }
.login-back:hover { color: var(--blue-400); }

/* --------------------------------------------------------------------------
   20. 404
   -------------------------------------------------------------------------- */
.error-page { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 64px) var(--gutter) 80px; overflow: hidden; }
.error-code {
  font-family: var(--font-mono); font-size: clamp(5rem, 20vw, 12rem); font-weight: 300;
  line-height: 0.9; letter-spacing: -0.05em; color: transparent;
  background: linear-gradient(180deg, #fff 25%, #4a5462 100%);
  -webkit-background-clip: text; background-clip: text;
}
.error-page__inner { position: relative; z-index: 2; max-width: 560px; }

/* --------------------------------------------------------------------------
   21. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .header__phone { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  /* Mobil menü */
  .nav-toggle { display: block; }
  .header__nav {
    position: fixed; inset: 0 0 0 auto; z-index: 95;
    width: min(340px, 86vw);
    padding: calc(var(--header-h) + 28px) 26px 40px;
    background: var(--c-900);
    border-left: 1px solid var(--line-dark);
    box-shadow: -30px 0 60px -20px rgba(0,0,0,0.8);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  body.nav-open .header__nav { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link {
    padding: 16px 14px; font-size: 1.0625rem; font-weight: 700;
    border-bottom: 1px solid var(--line-dark); border-radius: 0;
  }
  .nav__link:hover { background: transparent; padding-left: 20px; }
  .nav__link.active { color: var(--blue-400); }
  .nav__link.active::after { display: none; }
  .nav__cta { margin-top: 28px; display: grid; gap: 12px; }

  .header__nav { margin-left: 0; }
  .header__actions { margin-left: auto; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .post-card__media { min-height: 240px; aspect-ratio: 16/9; }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .spec-strip__item:nth-child(odd) { border-left: 0; }
  .spec-strip__item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 700px) {
  .card-grid--4, .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__desc { max-width: none; }
  .hero__actions .btn, .cta-band__actions .btn { width: 100%; }
  .header__actions .btn { display: none; }
  .pledge__text { max-width: none; }
  .float-call, .to-top { right: 14px; }
  .to-top { bottom: 14px; }
  .float-call { bottom: 70px; }
}

@media (max-width: 420px) {
  .logo-mark { width: 78px; }
  .spec-strip { grid-template-columns: 1fr; }
  .spec-strip__item { border-left: 0; }
  .spec-strip__item + .spec-strip__item { border-top: 1px solid var(--line-dark); }
  .stats { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   22. YAZDIRMA
   -------------------------------------------------------------------------- */
@media print {
  .header, .footer, .to-top, .float-call, .scroll-cue, .nav-backdrop, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero { padding-block: 20px; background: #fff !important; color: #000 !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 0.75em; color: #555; }
}
