/* ==========================================================================
   Durnagöz Makina Kalıp — "Hassas Mühendislik" tasarım sistemi
   Tek stil dosyası · framework yok · mobil öncelikli · belge: docs/SPEC-DESIGN.md

   İÇİNDEKİLER
    1  Tokenlar                     9  Hizmet kartları
    2  Temel / erişilebilirlik     10  Sektör karoları
    3  Yerleşim ve bölüm başlığı   11  Hakkımızda + rakam üçlüsü
    4  Atomlar (ikon, düğme, çip)  12  Makine kartları + pleyt
    5  Görsel kutusu ve foto tonu  13  Galeri şeridi, ızgara, lightbox
    6  Teknik çizim öğeleri        14  Neden listesi + teklif kutusu
    7  Header / drawer             15  Çağrı bandı + iletişim satırları
    8  Hero + gösterge şeridi      16  İç sayfa: hero, süzgeç, metin, tablo
   17  Form                        19  Footer (antet)
   18  SSS, iletişim, harita,      20  Yüzen öğeler + çerez bandı
       boş durum, uyarı, 404       21  Hareket, baskı, erişilebilirlik modları
   ========================================================================== */

/* ---------- 1. Tokenlar ---------- */
:root {
  color-scheme: dark;

  /* Vurgu — panelden değişir; layout aynı adları satır içi <style> ile yeniden yazar (dm_accent_css). */
  --accent: #1f7cff;
  --accent-rgb: 31 124 255;
  --accent-fill: #1c70e6;      /* birincil düğme zemini (üstündeki yazı ≥ 4.6:1) */
  --accent-hover: #175ec1;
  --accent-text: #62a3ff;      /* koyu yüzeyde küçük vurgu yazısı (≥ 6.5:1) */
  --accent-bright: #99c3ff;    /* başlık geçişinin aydınlık ucu */
  --on-accent: #fff;
  --accent-soft: rgb(var(--accent-rgb) / .12);
  --accent-line: rgb(var(--accent-rgb) / .45);

  /* Zeminler: düz siyah değil, lacivert katmanlar */
  --bg: #070b14;
  --bg-2: #0a101b;
  --surface: #0e1623;
  --surface-2: #131d2c;
  --surface-3: #1b2739;

  /* Çizgiler */
  --line: #1c2738;             /* kıl çizgi */
  --line-2: #2b394f;           /* belirgin çizgi */
  --line-3: #5d6e88;           /* form denetimi sınırı (3:1) */

  /* Metin: hafif sıcak nötrler (zeminde 15:1 / 10:1 / 6.5:1) */
  --text: #f4f2ee;
  --text-2: #c9c8c4;
  --text-3: #9c9b98;

  /* Tezgâh fotoğrafı pleyti */
  --plate-hi: #eceff3;
  --plate: #d5dbe3;
  --plate-lo: #a9b3c1;
  --plate-ink: #0b1320;

  /* Durum */
  --ok: #4ade9a;
  --danger: #ff8080;
  --wa: #3fd47f;

  /* Yazı */
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --w-display: 82%;            /* başlık genişliği (Archivo wdth ekseni) */
  --w-hero: 76%;
  --w-ui: 88%;                 /* düğme / menü */

  --fs-display: clamp(2.75rem, 1rem + 6.4vw, 6rem);
  --fs-h1: clamp(2.25rem, 1.45rem + 3.5vw, 4.5rem);
  --fs-h2: clamp(1.75rem, 1.25rem + 2.15vw, 3.125rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + .45vw, 1.5rem);
  --fs-h4: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.06rem + .32vw, 1.3125rem);
  --fs-body: clamp(1.0625rem, 1.03rem + .15vw, 1.125rem);
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;
  --fs-label: .75rem;          /* mono etiket (12 px) */
  --fs-micro: .6875rem;        /* yalnız pleyt no / çip sayacı (11 px) */

  /* Boşluk (4 px taban) */
  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section-y: clamp(4.5rem, 2.8rem + 5.4vw, 7.75rem);
  --gutter: clamp(1rem, .4rem + 2.6vw, 3rem);
  --gap: clamp(.75rem, .5rem + 1vw, 1.5rem);

  /* Ölçüler */
  --container: 82.5rem;        /* 1320 px */
  --header-h: 4rem;
  --bar-h: 0px;                /* mobil alt çubuk (body.has-bar) */
  --r-1: 2px;
  --r-2: 4px;

  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Foto tonu: tek lacivert aile. Görsel griye çekilir, üstüne vurgu rengi "color" karışımıyla biner. */
  --tone-filter: grayscale(.94) contrast(1.1) brightness(.88);
  --tone-live: grayscale(0) contrast(1) brightness(1);
  --tone-strength: .3;

  --hatch: repeating-linear-gradient(135deg, transparent 0 11px, rgb(140 175 225 / .055) 11px 12px);
  --grid-line: rgb(150 185 235 / .06);
  --grid: linear-gradient(var(--grid-line) 1px, transparent 1px) center top / 4rem 4rem,
          linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) center top / 4rem 4rem;
  --tick: rgb(150 175 215 / .34);
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13'%3E%3Cpath d='M6.5 0v13M0 6.5h13' stroke='%23000'/%3E%3C/svg%3E");
  --arrowhead: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 7'%3E%3Cpath d='M0 3.5 9 0v7z'/%3E%3C/svg%3E");
}

@media (min-width: 640px) {
  :root { --w-hero: 80%; }
}

@media (max-width: 767.98px) {
  .has-bar { --bar-h: 3.75rem; }
}

@media (min-width: 1200px) {
  :root { --header-h: 5.5rem; }
}

/* ---------- 2. Temel / erişilebilirlik ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  color: var(--text-2);
  font: 400 var(--fs-body)/1.65 var(--font-text);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  counter-reset: sec;
}

body.is-locked { overflow: hidden; }
main { display: block; }
main:focus { outline: 0; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-stretch: var(--w-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: .005em;
  text-transform: uppercase;
  text-wrap: balance;
}

h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.12; font-stretch: 86%; }
h4 { font-size: var(--fs-h4); line-height: 1.25; font-stretch: 88%; letter-spacing: .03em; }

p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }

a { color: inherit; text-decoration: none; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; color: transparent; }
picture { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }

::selection { background: var(--accent-fill); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 200;
  padding: .75rem 1rem;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap { white-space: nowrap; }
.text-accent { color: var(--accent-text); }

/* Rakam: Archivo + sabit genişlikli rakamlar (mono DEĞİL) */
.num {
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

/* ---------- 3. Yerleşim ve bölüm başlığı ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 58rem; }

.section {
  position: relative;
  padding-block: var(--section-y);
}

/* Dönüşümlü bölüm: kenarlarda zemine eriyen yüzey + üstte çok hafif mavi ışık (katmanlı derinlik) */
.section--alt {
  background:
    radial-gradient(70% 22rem at 12% 0%, rgb(var(--accent-rgb) / .055), transparent 70%),
    linear-gradient(180deg, var(--bg) 0, var(--bg-2) 7rem, var(--bg-2) calc(100% - 7rem), var(--bg) 100%);
}

.section--tight { padding-block: calc(var(--section-y) * .62); }
.header-offset { padding-top: var(--header-h); }   /* hero'suz sayfada sabit başlığın altında kalmamak için */
.section--flush-top { padding-top: 0; }

/* Bölüm başlığı: "01 — ETİKET" + başlık + sağda açıklama / bağlantı. Numara CSS sayacıdır. */
.section-head {
  counter-increment: sec;
  position: relative;
  display: grid;
  gap: var(--s-4) var(--s-6);
  margin-bottom: clamp(2rem, 1.3rem + 2.8vw, 4rem);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}

.section-head::before {            /* başlangıç (datum) işareti */
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3rem;
  height: 1px;
  background: var(--accent);
}

.section-head::after {             /* bitiş çentiği */
  content: "";
  position: absolute;
  top: -5px;
  right: 0;
  width: 1px;
  height: 9px;
  background: var(--line-2);
}

.section-head--plain { counter-increment: none; }
.section-head--plain .section-head__no { display: none; }

/* Mikro etiket: mono · büyük harf · aralıklı — yalnız 11–12 px etiketlerde (ortak kural) */
.section-head__label,
.label,
.eyebrow,
.plate__no,
.plate__cat,
.fact__label,
.info-list__key,
.title-block__key,
.footer__title,
.spec__row dt,
.spec-table caption,
.spec-table thead th,
.breadcrumb,
.svc-card__no,
.shot__no,
.rail__count,
.chip__count,
.tag,
.dim,
.dim-row {
  font-family: var(--font-mono);
  font-weight: 500;
  font-stretch: 100%;
  font-size: var(--fs-label);
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.section-head__label,
.label {
  display: flex;
  align-items: center;
  gap: .75rem;
  letter-spacing: .14em;
}

.section-head__no { color: var(--accent-text); }
.section-head__no::before { content: counter(sec, decimal-leading-zero); }

.section-head__no::after {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  margin-left: .75rem;
  vertical-align: middle;
  background: var(--line-2);
}

.section-head__title { max-width: 27ch; }

.section-head__side {
  display: grid;
  gap: var(--s-4);
  justify-items: start;
  align-content: end;
}

.section-head__lead,
.lead {
  color: var(--text-2);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.section-head__lead { max-width: 34ch; }

@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .section-head__label { grid-column: 1 / -1; }
  .section-head__side { justify-items: end; text-align: right; padding-bottom: .35rem; }
}

.section__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3) var(--s-6);
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: var(--fs-sm);
}

/* Genel ızgaralar ve iki sütunlu düzen */
.grid { display: grid; gap: var(--gap); }
.stack { display: grid; gap: var(--s-5); align-content: start; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }

@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.split { display: grid; gap: var(--s-7); }

@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 5vw, 5rem); align-items: start; }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--center { align-items: center; }
  .split--flip > :first-child { order: 2; }
  /* Yapışkan yan sütun: ekrandan uzunsa main.js --sticky-top'u eksiye çeker (alt kenar görünür kalır) */
  .split__aside { position: sticky; top: var(--sticky-top, calc(var(--header-h) + 1rem)); }
}

/* Çerçeveli yüzey kutusu */
.card {
  position: relative;
  padding: var(--s-5);
  border: 1px solid var(--line);
  background: var(--surface);
}

.aside-card {
  position: relative;
  padding: var(--s-5);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--surface-2), var(--surface) 12rem);
}

.aside-card__title { margin-top: .75rem; font-size: var(--fs-h3); }
.aside-card__lead { margin-top: .5rem; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.55; }
.aside-card > .form { margin-top: var(--s-5); }

@media (min-width: 1024px) {
  .card { padding: var(--s-6); }
  .aside-card { padding: var(--s-6); }
}

/* ---------- 4. Atomlar ---------- */
.icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
}

.icon--sm { width: 1rem; height: 1rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }

/* Arayüz yazısı: yarı kalın, büyük harf — düğme, bağlantı, çip, menü ortak */
.btn,
.link-arrow,
.chip,
.nav__link,
.mobile-bar__item {
  font: 600 .9375rem/1.1 var(--font-display);
  font-stretch: var(--w-ui);
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn {
  --btn-h: 3rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: var(--btn-h);
  padding: .5rem 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--r-1);
  background: none;
  color: var(--text);
  text-align: center;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}

.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon--move { transform: translateX(4px); }

.btn--primary {
  background: var(--accent-fill);
  color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 10px 28px -14px rgb(var(--accent-rgb) / .8);
}

.btn--primary:hover { background: var(--accent-hover); }

.btn--outline { border-color: var(--line-3); background: rgb(7 11 20 / .35); }
.btn--outline:hover { border-color: var(--accent-text); background: var(--accent-soft); }

.btn--chrome { background: var(--text); color: var(--bg); }
.btn--chrome:hover { background: #fff; }

.btn--ghost { padding-inline: .25rem; }
.btn--ghost:hover { color: var(--accent-text); }

.btn--wa { border-color: var(--line-3); background: rgb(7 11 20 / .35); }
.btn--wa .icon { color: var(--wa); }
.btn--wa:hover { border-color: var(--wa); background: rgb(63 212 127 / .08); }

.btn--sm { --btn-h: 2.75rem; padding-inline: 1.125rem; font-size: .875rem; gap: .625rem; }
.btn--lg { --btn-h: 3.5rem; padding-inline: 1.75rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn--icon { width: var(--btn-h); padding: 0; }
.btn--wrap { white-space: normal; }

.btn[disabled],
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.btn.is-loading { pointer-events: none; opacity: .8; }

/* Oklu bağlantı */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  min-height: 2.75rem;
  color: var(--text);
  background: linear-gradient(var(--accent), var(--accent)) left calc(100% - .5rem) / 1.5rem 1px no-repeat;
  transition: background-size .35s var(--ease), color .25s;
}

.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; color: var(--accent-text); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Metin içi bağlantı (açıklama satırları, form notları) */
.link {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  text-decoration-color: var(--accent-line);
  transition: color .2s, text-decoration-color .2s;
}

.link:hover { color: var(--text); text-decoration-color: currentColor; }

/* Etiket (tag) */
.tags { display: flex; flex-wrap: wrap; gap: .375rem; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .375rem .5rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  color: var(--text-2);
  line-height: 1;
  letter-spacing: .06em;
  white-space: nowrap;
}

.tag--plain { text-transform: none; letter-spacing: .03em; }
.tag--accent { border-color: var(--accent-line); color: var(--accent-text); }
.tag--solid { border-color: transparent; background: var(--surface-3); color: var(--text); }

/* Süzgeç çipi */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .25rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  background: none;
  color: var(--text-2);
  font-size: .875rem;
  transition: border-color .2s, color .2s, background-color .2s;
}

.chip:hover { border-color: var(--line-3); color: var(--text); }

.chip[aria-pressed="true"] {
  border-color: var(--accent-text);
  background: var(--accent-soft);
  color: var(--text);
}

.chip__count { font-size: var(--fs-micro); letter-spacing: .04em; }

/* Simge karesi: iletişim satırı, neden listesi, boş durum, dosya alanı */
.icon-box {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-2);
  background: rgb(7 11 20 / .5);
  color: var(--accent-text);
}

.icon-box--lg { width: 3.5rem; height: 3.5rem; }

/* Onay işaretli liste */
.check-list { display: grid; gap: .625rem; }

.check-list li {
  position: relative;
  padding-left: 1.875rem;
  color: var(--text-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 1.125rem;
  height: 1.125rem;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='m3 7.3 2.6 2.6L11 4.2' stroke='%2399c3ff' stroke-width='1.6'/%3E%3C/svg%3E") center / .75rem no-repeat;
}

@media (min-width: 640px) {
  .check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); }
}

/* Numaralı adımlar (süreç) */
.steps { display: grid; gap: var(--gap); counter-reset: step; }

.step {
  counter-increment: step;
  position: relative;
  display: grid;
  gap: .5rem;
  align-content: start;
  padding: var(--s-5);
  border: 1px solid var(--line);
  background: var(--surface);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  color: var(--accent-text);
  font: 700 2rem/1 var(--font-display);
  font-stretch: var(--w-display);
  font-variant-numeric: tabular-nums;
}

.step__title { font-size: var(--fs-h3); }
.step__text { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.55; }

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
}

/* ---------- 5. Görsel kutusu ve foto tonu ---------- */
/* Dosya yoksa (is-empty: PHP, is-missing: JS) taralı koyu zemin görünür; kırık görsel simgesi çıkmaz. */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: var(--ratio, auto);
  background: var(--hatch), var(--surface-2);
}

.media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  transition: transform .9s var(--ease), filter .6s var(--ease);
}

.media.is-missing > img { display: none; }

/* Tek ton: tüm stok/atölye fotoğrafları aynı lacivert aileye çekilir; hover / odakta doğal renk döner. */
.media--tone > img { filter: var(--tone-filter); }

.media--tone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(var(--accent-rgb));
  mix-blend-mode: color;
  opacity: var(--tone-strength);
  pointer-events: none;
  transition: opacity .6s var(--ease);
}

.media--tone.is-empty::before,
.media--tone.is-missing::before { display: none; }

a:hover .media--tone > img,
a:focus-visible .media--tone > img,
.tone-live:hover .media--tone > img,
.tone-live:focus-within .media--tone > img,
.media--tone.tone-live:hover > img { filter: var(--tone-live); }

a:hover .media--tone::before,
a:focus-visible .media--tone::before,
.tone-live:hover .media--tone::before,
.tone-live:focus-within .media--tone::before,
.media--tone.tone-live:hover::before { opacity: 0; }

/* Alt yazı için koyu geçiş */
.media--shade::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgb(7 11 20 / .38) 0%, rgb(7 11 20 / 0) 32%, rgb(7 11 20 / .24) 56%, rgb(7 11 20 / .94) 100%);
  pointer-events: none;
}

.media--frame { border: 1px solid var(--line); }

/* ---------- 6. Teknik çizim öğeleri ---------- */
/* 6.1 Köşe artıları — yalnız koyu zeminli çerçevede (hero); fotoğraf üstünde KULLANILMAZ */
.marks::after {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * .35);
  z-index: 0;
  background: rgb(255 255 255 / .5);
  -webkit-mask: var(--mark) left top no-repeat, var(--mark) right top no-repeat, var(--mark) left bottom no-repeat, var(--mark) right bottom no-repeat;
  mask: var(--mark) left top no-repeat, var(--mark) right top no-repeat, var(--mark) left bottom no-repeat, var(--mark) right bottom no-repeat;
  pointer-events: none;
}

/* 6.2 Ölçü çizgisi: |<—— etiket ——>| */
.dim {
  display: flex;
  align-items: center;
  gap: .75rem;
  height: 1.25rem;
  border-inline: 1px solid currentColor;
  color: var(--accent-text);
  letter-spacing: .06em;
  text-transform: none;
  white-space: nowrap;
}

.dim::before,
.dim::after {
  content: "";
  flex: 1;
  min-width: 1rem;
  height: 7px;
  background: currentColor;
  -webkit-mask: linear-gradient(#000, #000) center / 100% 1px no-repeat, var(--arrowhead) left center / 9px 7px no-repeat;
  mask: linear-gradient(#000, #000) center / 100% 1px no-repeat, var(--arrowhead) left center / 9px 7px no-repeat;
}

.dim::after { transform: scaleX(-1); }
.dim__label { color: var(--text); }

.dim-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  letter-spacing: .1em;
}

.dim-row__end { color: var(--text); font-size: var(--fs-xs); }

/* 6.3 Cetvel taksimatı */
.ruler,
.readout::before,
.plate::before,
.rail__progress {
  height: 10px;
  background:
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 40px) left var(--ruler-y, top) / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 8px) left var(--ruler-y, top) / 100% 5px no-repeat;
}

/* 6.4 Künye satırları (anahtar / değer). Değer bölünmez; sığmazsa tümüyle alt satıra iner. */
.spec { display: grid; }

.spec__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .125rem .75rem;
  padding-block: .5625rem;
  border-top: 1px solid var(--line);
}

.spec__row dt { flex: none; }

.spec__row dd {
  margin-left: auto;
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

/* 6.5 Gösterge şeridi (rakam şeridi). Hücre çizgileri 1 px'lik gap'ten gelir. */
.readout {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-2);
  background: var(--line);
}

.readout::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  pointer-events: none;
}

.readout__cell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: .625rem;
  padding: 1.625rem var(--s-4) 1.125rem;
  background: linear-gradient(180deg, #0a101c, #080c16);
}

.readout__icon { color: var(--accent-text); }

.readout__value {
  display: flex;
  align-items: baseline;
  align-self: end;
  flex-wrap: wrap;
  gap: 0 .5rem;
  color: var(--text);
  font: 700 1.1875rem/1.08 var(--font-display);
  font-stretch: var(--w-display);
  letter-spacing: .015em;
  text-transform: uppercase;
  text-wrap: balance;
}

.readout__fig {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  font-weight: 600;
  font-stretch: 88%;
  line-height: .95;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -.015em;
  text-transform: none;
}

.readout__unit {
  color: var(--accent-text);
  font-size: .9375rem;
  font-weight: 600;
  font-stretch: 92%;
  letter-spacing: .06em;
  text-transform: none;
}

.readout__label {
  color: var(--text-3);
  font-size: var(--fs-xs);
  line-height: 1.35;
}

.readout--1 { grid-template-columns: minmax(0, 1fr); }
.readout--3 { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 640px) {
  .readout--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .readout__cell { padding-inline: var(--s-5); }
  .readout__value { font-size: 1.375rem; }
  .readout__label { font-size: var(--fs-sm); }
}

@media (min-width: 900px) {
  .readout--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .readout__cell { grid-template-rows: auto minmax(3.25rem, 1fr) auto; padding: 1.875rem var(--s-5) 1.375rem; }
}

@media (min-width: 1200px) {
  .readout__value { font-size: 1.5rem; }
}

/* ---------- 7. Header / drawer ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background-color: rgb(7 11 20 / 0);
  transition: background-color .3s, border-color .3s, height .3s var(--ease);
}

.site-header::before {             /* hero üstünde menü okunurluğu için yumuşak perde */
  content: "";
  position: absolute;
  inset: 0 0 -2.5rem;
  z-index: -1;
  background: linear-gradient(180deg, rgb(7 11 20 / .82), rgb(7 11 20 / 0));
  pointer-events: none;
  transition: opacity .3s;
}

.site-header.is-scrolled::before,
.site-header.is-open::before { opacity: 0; }

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom-color: var(--line);
  background-color: rgb(7 11 20 / .95);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-scrolled {
    background-color: rgb(7 11 20 / .8);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  height: 100%;
}

.brand {
  flex: none;
  display: block;
  width: 8.25rem;
  margin-right: auto;
}

.logo img { width: 100%; height: auto; }

.logo--text {
  display: block;
  color: var(--text);
  font: 800 1.25rem/1.1 var(--font-display);
  font-stretch: 100%;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav { display: none; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(.875rem, -.6rem + 1.9vw, 1.875rem);
}

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--text-2);
  font-size: .9375rem;
  transition: color .2s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .375rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.nav__link:hover,
.nav__link.is-active { color: var(--text); }

.nav__link:hover::after,
.nav__link.is-active::after { transform: none; }

/* 8 ve üzeri öğe: dar ölçü */
.site-header--dense .nav__list { gap: clamp(.75rem, -.9rem + 1.75vw, 1.375rem); }
.site-header--dense .nav__link { font-size: .875rem; letter-spacing: .055em; }

.header-tools {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.header-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  color: var(--text);
  font-size: .9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .2s;
}

.header-tel .icon { color: var(--accent-text); }
.header-tel:hover { color: var(--accent-text); }
.header-tel__num { display: none; }
.header-cta { display: none; }

.menu-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line-3);
  border-radius: var(--r-1);
  background: rgb(7 11 20 / .35);
  color: var(--text);
}

.menu-toggle span {
  grid-area: 1 / 1;
  width: 1.125rem;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}

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

@media (min-width: 480px) {
  .brand { width: 9.5rem; }
  .header-cta { display: inline-flex; }
}

/* Masaüstü menü: 7 öğeye kadar 1200 px, 8+ öğede (site-header--dense) 1340 px'ten itibaren */
@media (min-width: 1200px) {
  .brand { width: 10.5rem; transition: width .3s var(--ease); }
  .site-header.is-scrolled { height: 4.5rem; }
  .site-header.is-scrolled .brand { width: 9.5rem; }
  .header-tools { gap: var(--s-3); }

  .site-header:not(.site-header--dense) .brand { margin-right: 0; }
  .site-header:not(.site-header--dense) .nav { display: block; margin-inline: auto; }
  .site-header:not(.site-header--dense) .menu-toggle { display: none; }
}

@media (min-width: 1340px) {
  .site-header--dense .brand { margin-right: 0; }
  .site-header--dense .nav { display: block; margin-inline: auto; }
  .site-header--dense .menu-toggle { display: none; }
}

@media (min-width: 1440px) {
  .brand { width: 11.5rem; }
}

@media (min-width: 1600px) {
  .site-header:not(.site-header--dense) .header-tel__num { display: inline; }
}

/* JS yokken: menü düğmesi gizlenir, bağlantılar başlığın altında yatay kaydırılan bir şerit olur */
.no-js .menu-toggle { display: none; }

@media (max-width: 1199.98px) {
  .no-js .nav { display: block; position: absolute; top: 100%; inset-inline: 0; overflow-x: auto; padding-inline: var(--gutter); border-block: 1px solid var(--line); background: var(--bg); }
  .no-js .site-header ~ main { padding-top: 2.75rem; }
}

@media (min-width: 1200px) and (max-width: 1339.98px) {
  .no-js .site-header--dense .nav { display: block; position: absolute; top: 100%; inset-inline: 0; overflow-x: auto; padding-inline: var(--gutter); border-block: 1px solid var(--line); background: var(--bg); }
  .no-js .site-header--dense ~ main { padding-top: 2.75rem; }
}

/* Drawer */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--s-5) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  opacity: 0;
  transform: translateY(-.75rem);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}

.drawer.is-open { opacity: 1; transform: none; }

.drawer__list { border-top: 1px solid var(--line); }

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 3.5rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font: 700 1.5rem/1.1 var(--font-display);
  font-stretch: var(--w-display);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.drawer__link .icon { color: var(--text-3); transition: transform .3s var(--ease), color .2s; }
.drawer__link:hover .icon { transform: translateX(4px); color: var(--accent-text); }
.drawer__link.is-active { color: var(--accent-text); }
.drawer__link.is-active .icon { color: var(--accent-text); }

.drawer__foot {
  display: grid;
  gap: var(--s-3);
  margin-top: auto;
  padding-top: var(--s-6);
}

.drawer__contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: var(--s-3);
}

.drawer__meta {
  display: grid;
  gap: .125rem;
  margin-top: var(--s-2);
  color: var(--text-3);
  font-size: var(--fs-sm);
  line-height: 1.55;
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(100svh, 60rem);
  padding-top: var(--header-h);
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  --tone-strength: .2;
  --tone-filter: grayscale(.45) contrast(1.06) brightness(.96);
}

.hero::before {                    /* okunurluk perdesi: altta sayfa zeminine erir */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgb(7 11 20 / .78) 0%, rgb(7 11 20 / .58) 26%, rgb(7 11 20 / .8) 62%, var(--bg) 94%);
}

.hero::after {                     /* ölçüm ızgarası */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grid);
  -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
  mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  flex: 1;
  display: grid;
  align-content: center;
  gap: var(--s-7);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--s-7);
}

.hero__inner.marks::after { display: none; }
.hero__content { position: relative; z-index: 1; min-width: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--text-2);
  letter-spacing: .1em;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 1px;
  background: var(--accent);
}

@media (min-width: 480px) {
  .eyebrow { gap: .875rem; letter-spacing: .16em; }
  .eyebrow::before { width: 2rem; }
}

.hero__title {
  margin-top: calc(var(--s-6) + 1.25rem);
  font-size: var(--fs-display);
  font-stretch: var(--w-hero);
  font-weight: 800;
  line-height: .96;
  letter-spacing: 0;
  text-wrap: wrap;                 /* varsayılan başlık tek satıra sığar; panelden uzun başlık girilirse taşmak yerine kırılır */
  overflow-wrap: anywhere;
}

.hero__title--plain { margin-top: var(--s-5); }

@media (max-width: 359.98px) {
  .hero__title { font-size: 2.375rem; }
}

.hero__line {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

/* 1. satır: krom — harf altları mat griye düşmez, parlak kalır */
.hero__line--chrome {
  padding-top: .04em;
  background-image: linear-gradient(180deg, #fff 12%, #f1f4f8 56%, #cdd6e2 100%);
  color: transparent;
}

/* 2. satır: ham vurgu yerine yumuşak geçiş (aydınlık vurgu → vurgu) */
.hero__line--accent {
  padding-bottom: .08em;
  background-image: linear-gradient(180deg, var(--accent-bright) 4%, var(--accent-text) 46%, var(--accent) 100%);
  color: transparent;
}

.hero__title .dim {
  position: absolute;
  inset: auto 0 100%;
  margin-bottom: .5rem;
  -webkit-text-fill-color: currentColor;
}

.hero__title .dim__label { -webkit-text-fill-color: var(--text); }

.hero__lead {
  max-width: 36rem;
  margin-top: var(--s-5);
  color: var(--text);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

.hero__actions .btn { flex: 1 1 auto; }

/* Numaralı maddeler: kılavuz çizgisi fotoğrafa uzanmaz; balonlar tek dikey eksende hizalıdır */
.callouts {
  position: relative;
  z-index: 1;
  display: grid;
  border-top: 1px solid var(--line-2);
}

.callout {
  position: relative;
  display: flex;
  align-items: center;
  gap: .875rem;
  min-height: 3.25rem;
  border-bottom: 1px solid var(--line-2);
  color: var(--text);
  font: 600 1.0625rem/1.15 var(--font-display);
  font-stretch: 86%;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.callout__no {
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--accent-text);
  border-radius: 50%;
  background: rgb(7 11 20 / .6);
  color: var(--text);
  font-size: var(--fs-xs);
  font-stretch: 100%;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.hero__readout { position: relative; z-index: 1; padding-bottom: clamp(1rem, .5rem + 2vw, 2.5rem); }

@media (min-width: 640px) {
  .hero__actions .btn { flex: 0 0 auto; }
  .callouts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); border-top: 0; }
  .callout { padding-top: .25rem; border-top: 1px solid var(--line-2); border-bottom: 0; }
}

@media (min-width: 1024px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgb(7 11 20 / .72) 0%, rgb(7 11 20 / .1) 22%, rgb(7 11 20 / .18) 58%, rgb(7 11 20 / .84) 86%, var(--bg) 100%),
      linear-gradient(90deg, rgb(7 11 20 / .94) 0%, rgb(7 11 20 / .8) 30%, rgb(7 11 20 / .32) 62%, rgb(7 11 20 / .12) 100%);
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--s-6);
  }

  .hero__inner.marks::after { display: block; }

  .callouts {
    grid-template-columns: none;
    gap: .875rem;
    padding-bottom: .5rem;
  }

  .callouts::before {              /* ortak, kısa ve hizalı eksen çizgisi (balon merkezlerinden geçer) */
    content: "";
    position: absolute;
    left: 1.125rem;
    top: 1.125rem;
    bottom: 1.625rem;
    width: 1px;
    background: var(--accent-line);
  }

  .callout {
    min-height: 2.25rem;
    padding: 0;
    border: 0;
    font-size: 1.125rem;
    text-shadow: 0 0 1rem rgb(7 11 20 / .95), 0 1px 2px rgb(7 11 20 / .7);
  }

  .callout__no { position: relative; width: 2.25rem; height: 2.25rem; background: #0a1120; text-shadow: none; }
}

/* ---------- 9. Hizmet kartları ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}

/* Mobil: yatay kompakt kart (görsel solda, metin sağda) */
.svc-card {
  position: relative;
  display: grid;
  grid-template-columns: 6.75rem minmax(0, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}

.svc-card__media { min-height: 7.25rem; }

.svc-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: .375rem var(--s-3);
  padding: var(--s-4);
}

.svc-card__no { grid-column: 1 / -1; color: var(--accent-text); }
.svc-card__title { font-size: 1.1875rem; }

.svc-card__link::after {           /* kartın tamamı tıklanır */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.svc-card__link:focus-visible { outline: 0; }
.svc-card__link:focus-visible::after { outline: 2px solid var(--accent-text); outline-offset: 3px; }

.svc-card__arrow {
  align-self: center;
  color: var(--accent-text);
  transition: transform .3s var(--ease);
}

.svc-card__text {
  grid-column: 1 / -1;
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.svc-card:hover,
.svc-card:focus-within { border-color: var(--accent-line); background: var(--surface-2); }
.svc-card:hover .svc-card__arrow { transform: translateX(4px); }
.svc-card:hover .media > img { transform: scale(1.045); }

.svc-card--feature { grid-template-columns: minmax(0, 1fr); }
.svc-card--feature .svc-card__media { aspect-ratio: 4 / 3; min-height: 0; }
.svc-card--feature .svc-card__title { font-size: var(--fs-h3); }
.svc-card--feature .svc-card__text { font-size: 1rem; }

@media (min-width: 640px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .svc-card__media { aspect-ratio: 4 / 3; min-height: 0; }
  .svc-card__body { align-content: start; padding: var(--s-5); }
  .svc-card__title { font-size: var(--fs-h3); }
  .svc-grid--feature .svc-card--feature { grid-column: 1 / -1; }
  .svc-grid--feature .svc-card--feature .svc-card__media { aspect-ratio: 16 / 8; }
}

@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-card__body { padding: var(--s-5) var(--s-5) 1.375rem; }

  /* Ana sayfa düzeni: 1 büyük + 4 küçük */
  .svc-grid--feature { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .svc-grid--feature .svc-card { grid-column: span 3; }

  .svc-grid--feature .svc-card--feature {
    grid-column: span 6;
    grid-row: span 2;
    display: flex;
    align-items: flex-end;
    min-height: 30rem;
  }

  .svc-grid--feature .svc-card--feature .svc-card__media { position: absolute; inset: 0; aspect-ratio: auto; }

  .svc-grid--feature .svc-card--feature .svc-card__body {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--s-6);
    gap: .625rem var(--s-5);
  }

  .svc-grid--feature .svc-card--feature .svc-card__title { font-size: clamp(1.875rem, 1rem + 1.7vw, 2.5rem); }
  .svc-grid--feature .svc-card--feature .svc-card__text { max-width: 26rem; font-size: var(--fs-lead); color: var(--text); }
  .svc-grid--feature .svc-card--feature .svc-card__arrow { width: 1.75rem; height: 1.75rem; }
}

/* ---------- 10. Sektör karoları ---------- */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.5rem, .3rem + .9vw, 1.25rem);
}

.sector-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  aspect-ratio: 1;
  padding: .875rem;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  color: var(--text);
  transition: border-color .3s var(--ease);
}

.sector-tile__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  aspect-ratio: auto;
}

.sector-tile__icon {
  position: absolute;
  top: .75rem;
  left: .75rem;
  color: var(--text);
  opacity: .82;
}

.sector-tile__title {
  font: 700 1.0625rem/1.1 var(--font-display);
  font-stretch: var(--w-display);
  letter-spacing: .02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.sector-tile__sub {
  margin-top: .375rem;
  color: var(--text-2);
  font-size: var(--fs-xs);
  line-height: 1.4;
}

.sector-tile__arrow {
  position: absolute;
  top: .625rem;
  right: .75rem;
  color: var(--accent-bright);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity .3s, transform .3s var(--ease);
}

a.sector-tile:hover,
a.sector-tile:focus-visible { border-color: var(--accent-line); }
a.sector-tile:hover .media > img,
a.sector-tile:focus-visible .media > img { transform: scale(1.05); }
a.sector-tile:hover .sector-tile__arrow,
a.sector-tile:focus-visible .sector-tile__arrow { opacity: 1; transform: none; }

@media (min-width: 560px) {
  .sector-tile { aspect-ratio: 4 / 3; padding: 1.125rem; }
  .sector-tile__title { font-size: 1.1875rem; }
  .sector-tile__icon { top: 1rem; left: 1.125rem; }
}

@media (min-width: 760px) {
  .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .sector-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sector-tile { padding: 1.25rem; }
  .sector-tile__title { font-size: 1.3125rem; }
  .sector-tile__icon { top: 1.125rem; left: 1.25rem; }
}

/* ---------- 11. Hakkımızda + rakam üçlüsü ---------- */
.about {
  display: grid;
  gap: var(--s-7);
}

.about__media { position: relative; }
.about__photo { aspect-ratio: 4 / 3; }

.about__photo-2 {
  position: absolute;
  right: 0;
  bottom: 2.75rem;
  width: 40%;
  aspect-ratio: 1;
  outline: .5rem solid var(--bg);
  display: none;
}

.about__media .dim-row { margin-top: var(--s-4); }
.about__title { font-size: var(--fs-h2); max-width: 18ch; }

.about__body {
  counter-increment: sec;
  display: grid;
  gap: var(--s-5);
  align-content: center;
}

.about__text { display: grid; gap: var(--s-4); max-width: 38rem; }
.about__text > :first-child { color: var(--text); font-size: var(--fs-lead); line-height: 1.6; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts--1 { grid-template-columns: minmax(0, 1fr); }

.fact {
  display: grid;
  gap: .5rem;
  align-content: start;
  padding: var(--s-5) var(--s-2) var(--s-5) 0;
}

.fact + .fact { padding-left: var(--s-4); border-left: 1px solid var(--line); }
.fact__label { letter-spacing: .08em; }

.fact__value {
  order: -1;
  color: var(--text);
  font: 700 clamp(2.125rem, 1.5rem + 2.5vw, 3.5rem)/.92 var(--font-display);
  font-stretch: var(--w-hero);
  font-variant-numeric: tabular-nums lining-nums;
}

@media (min-width: 640px) {
  .about__media--duo .about__photo { aspect-ratio: 5 / 4; width: 86%; }
  .about__media--duo .about__photo-2 { display: block; }
}

@media (min-width: 1024px) {
  .about {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: clamp(3rem, 6vw, 6.5rem);
    align-items: center;
  }

  .about__photo { aspect-ratio: 1; }
  .about__media--duo .about__photo { aspect-ratio: 6 / 5; }
}

/* ---------- 12. Makine kartları + pleyt ---------- */
/* Pleyt: açık "ölçüm plakası". Fotoğraf multiply ile karışır → beyaz fon plakada kaybolur, hale kalmaz. */
.plate {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;              /* multiply yalnızca plakayla karışır */
  background: radial-gradient(125% 100% at 50% 36%, var(--plate-hi) 0%, var(--plate) 55%, var(--plate-lo) 100%);
  color: var(--plate-ink);
}

.plate > img {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  max-width: 82%;
  max-height: 74%;
  margin: auto;
  mix-blend-mode: multiply;
  filter: contrast(1.04) brightness(1.02);   /* kırık beyazı tam beyaza iter */
  clip-path: inset(2px);                     /* kaynak fotoğrafların 1 px'lik kenar çizgisini keser */
  transition: transform .7s var(--ease);
}

.plate.is-missing > img { display: none; }

.plate.is-empty,
.plate.is-missing { background: repeating-linear-gradient(135deg, transparent 0 11px, rgb(11 19 32 / .07) 11px 12px), var(--plate); }

.plate::before {                   /* alt kenarda ölçek cetveli */
  content: "";
  position: absolute;
  inset: auto 0 0;
  --tick: rgb(11 19 32 / .45);
  --ruler-y: bottom;
}

.plate__no,
.plate__cat {
  position: absolute;
  top: .75rem;
  z-index: 1;
  color: inherit;
  font-size: var(--fs-micro);
}

.plate__no { left: .875rem; font-size: var(--fs-label); }
.plate__cat { right: .875rem; opacity: .8; }

.machine-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}

/* Mobil: yatay "parça listesi" satırı */
.machine-card {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  border: 1px solid var(--line-2);
  background: var(--surface);
  transition: border-color .3s var(--ease);
}

.machine-card[hidden] { display: none; }
.machine-card:hover { border-color: var(--line-3); }
.machine-card:hover .plate > img { transform: scale(1.035); }
.machine-card .plate { aspect-ratio: auto; min-height: 100%; }
.machine-card .plate__cat { display: none; }

.machine-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: .875rem .75rem .625rem;
}

.machine-card__name { font-size: 1.0625rem; }

.machine-card__spec {
  margin-top: .5rem;
  color: var(--accent-text);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.machine-card__details {
  display: grid;
  gap: .375rem;
  margin-top: .875rem;
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.machine-card__details li {
  position: relative;
  padding-left: 1.125rem;
}

.machine-card__details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(.75em - 2px);
  width: 5px;
  height: 5px;
  background: var(--accent);
}

/* Künye her zaman kartın altına yaslanır: kartlar aynı hizada biter, spec satırı yoksa boşluk kalmaz */
.machine-card .spec { margin-top: auto; padding-top: .75rem; }
.machine-card .spec__row:last-child { padding-bottom: .25rem; }

/* Dikey (tam) kart: ≥ 600 px'te ve .machine-grid--full içinde her genişlikte */
.machine-grid--full .machine-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
.machine-grid--full .machine-card .plate { aspect-ratio: 4 / 3; min-height: 0; }
.machine-grid--full .machine-card .plate__cat { display: block; }
.machine-grid--full .machine-card__body { padding: var(--s-5) var(--s-4) var(--s-4); }
.machine-grid--full .machine-card__name { font-size: var(--fs-h3); }

@media (min-width: 600px) {
  .machine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .machine-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .machine-card .plate { aspect-ratio: 4 / 3; min-height: 0; }
  .machine-card .plate__cat { display: block; }
  .machine-card__body,
  .machine-grid--full .machine-card__body { padding: var(--s-5) var(--s-5) var(--s-4); }
  .machine-card__name { font-size: var(--fs-h3); }
  .machine-card__spec { margin-top: .625rem; }
}

@media (min-width: 1024px) {
  .machine-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 13. Galeri şeridi, ızgara, lightbox ---------- */
.rail { --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }

.rail__track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  padding-inline: var(--edge);
  scroll-padding-inline: var(--edge);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rail__track::-webkit-scrollbar { display: none; }
.rail__track:focus-visible { outline-offset: -2px; }

.rail__item {
  flex: none;
  width: min(78vw, 26rem);
  scroll-snap-align: start;
}

.shot { position: relative; display: block; }
.shot[hidden] { display: none; }
.shot__media { aspect-ratio: 3 / 2; border: 1px solid var(--line); }
.shot:hover .shot__media > img { transform: scale(1.04); }

.shot__zoom {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgb(255 255 255 / .22);
  background: rgb(7 11 20 / .7);
  color: var(--text);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s, transform .3s var(--ease);
}

.shot:hover .shot__zoom,
.shot:focus-visible .shot__zoom { opacity: 1; transform: none; }

.shot__caption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .75rem;
  align-items: baseline;
  padding-top: .875rem;
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.45;
}

.shot__caption--plain { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
.shot__no { color: var(--accent-text); }
.shot__cat { color: var(--text-3); font-size: var(--fs-xs); }

.rail__bar {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  margin-top: var(--s-6);
}

.rail__count { flex: none; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.rail__count b { color: var(--text); font-weight: 500; }

.rail__progress {
  position: relative;
  flex: 1;
  --ruler-y: bottom;
  border-bottom: 1px solid var(--line-2);
}

.rail__progress i {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(var(--p, .1));
  transform-origin: left;
  transition: transform .2s linear;
}

.rail__nav { display: none; gap: .5rem; }
.js .rail__nav { display: flex; }
.rail__nav .btn[disabled] { opacity: .35; }

/* Galeri ızgarası (galeri sayfası, hizmet detayı) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5) var(--gap);
}

.gallery-grid .shot__media { aspect-ratio: 4 / 3; }

@media (max-width: 479.98px) {
  .gallery-grid { column-gap: .625rem; }
  .gallery-grid .shot__caption { font-size: var(--fs-xs); padding-top: .625rem; }
}

@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s-6); }
  .gallery-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Lightbox (<dialog>) */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(4 7 13 / .97);
  color: var(--text);
  overflow: hidden;
}

.lightbox::backdrop { background: rgb(4 7 13 / .9); }

.lightbox__stage {
  position: absolute;
  inset: 4.25rem 0 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--s-3);
  touch-action: pan-y;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 9.75rem);
  max-height: calc(100dvh - 9.75rem);
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity .25s;
}

.lightbox.is-loading .lightbox__img { opacity: .25; }

.lightbox__top,
.lightbox__bottom {
  position: absolute;
  inset-inline: 0;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding-inline: var(--gutter);
}

.lightbox__top { top: 0; height: 4.25rem; justify-content: space-between; }
.lightbox__bottom { bottom: 0; min-height: 5.5rem; padding-block: var(--s-3); justify-content: center; text-align: center; }
.lightbox__count { color: var(--text-2); font: 500 var(--fs-label)/1 var(--font-mono); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.lightbox__caption { max-width: 52rem; color: var(--text); font-size: var(--fs-sm); line-height: 1.45; }
.lightbox__caption small { display: block; margin-top: .125rem; color: var(--text-3); font-size: var(--fs-xs); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  margin-top: -1.5rem;
  background: rgb(7 11 20 / .75);
}

.lightbox__nav--prev { left: var(--s-3); }
.lightbox__nav--next { right: var(--s-3); }

@media (min-width: 900px) {
  .lightbox__stage { padding-inline: 6rem; }
  .lightbox__nav--prev { left: var(--s-5); }
  .lightbox__nav--next { right: var(--s-5); }
}

/* ---------- 14. Neden listesi + teklif kutusu ---------- */
.why {
  display: grid;
  gap: var(--gap);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
}

.why-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .375rem var(--s-4);
  align-content: start;
  padding: var(--s-5);
  border-top: 1px solid var(--line);
  transition: background-color .3s var(--ease);
}

.why-item:first-child { border-top: 0; }
.why-item:hover { background: var(--surface-2); }
.why-item__icon { grid-row: span 2; width: 3rem; height: 3rem; }
.why-item__title { align-self: end; font-size: 1.1875rem; }
.why-item__text { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.5; }
.why-item--noicon { grid-template-columns: minmax(0, 1fr); }

.quote-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-6) var(--s-5);
  border: 1px solid var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--surface);
}

.quote-box::before,
.aside-card::before {              /* sol üst köşede vurgu çentiği */
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 4rem;
  height: 2px;
  background: var(--accent);
}

.quote-box__title { font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem); }
.quote-box__text { color: var(--text-2); }
.quote-box__actions { display: grid; gap: var(--s-3); margin-top: auto; padding-top: var(--s-3); }

@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-item { grid-template-columns: minmax(0, 1fr); gap: .625rem; padding: var(--s-6) var(--s-5); }
  .why-item__icon { grid-row: auto; margin-bottom: var(--s-3); }
  .why-item:nth-child(2) { border-top: 0; }
  .why-item:nth-child(even) { border-left: 1px solid var(--line); }
  .why-item__title { font-size: var(--fs-h3); }
  .why-item__text { font-size: 1rem; }
  .why-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-grid--3 .why-item:nth-child(3) { border-top: 0; }
  .why-grid--3 .why-item:nth-child(even) { border-left: 0; }
  .why-grid--3 .why-item:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
}

@media (min-width: 1024px) {
  .why--aside { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .quote-box { padding: var(--s-6); }
}

/* ---------- 15. Çağrı bandı + iletişim satırları ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--section-y);
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}

.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  --tone-filter: grayscale(.85) contrast(1.1) brightness(.6);
  --tone-strength: .3;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0, rgb(7 11 20 / 0) 22%, rgb(7 11 20 / 0) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgb(7 11 20 / .95) 0%, rgb(7 11 20 / .8) 45%, rgb(7 11 20 / .6) 100%),
    var(--grid);
}

.cta-band__inner {
  counter-increment: sec;
  display: grid;
  gap: var(--s-7);
}

.cta-band__title {
  margin-top: var(--s-4);
  font-size: var(--fs-display);
  font-stretch: var(--w-hero);
  font-weight: 800;
  line-height: .96;
}

.cta-band__title span {
  display: block;
  color: var(--text-2);
  font-size: .4em;
  font-weight: 600;
  font-stretch: 86%;
  line-height: 1.15;
  letter-spacing: .03em;
}

.cta-band__title strong { display: block; margin-top: .12em; font-weight: inherit; }

.cta-band__lead {
  max-width: 31rem;
  margin-top: var(--s-5);
  color: var(--text);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

.cta-band__actions .btn { flex: 1 1 auto; }

/* İletişim satırları: simge karesi + küçük başlık + değer */
.info-list { display: grid; }

.info-list__row {
  position: relative;
  display: grid;
  gap: .25rem;
  align-content: center;
  min-height: 4.75rem;
  padding: var(--s-4) 0 var(--s-4) 3.75rem;
  border-top: 1px solid var(--line);
}

.info-list__row:first-child { border-top: 0; }
.info-list__row .icon-box { position: absolute; left: 0; top: var(--s-4); }
.info-list__key { letter-spacing: .14em; }

.info-list__val {
  display: grid;
  justify-items: start;
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.info-list__val a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  background: linear-gradient(var(--accent), var(--accent)) left calc(100% - .25rem) / 0 1px no-repeat;
  transition: background-size .3s var(--ease), color .2s;
}

.info-list__val a:hover { color: var(--accent-text); background-size: 100% 1px; }

.info-list__val--xl a {
  min-height: 2.5rem;
  font: 600 clamp(1.5rem, 1.25rem + 1vw, 2rem)/1.15 var(--font-display);
  font-stretch: 92%;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: .01em;
}

.info-list--boxed {
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--line-2);
  background: rgb(7 11 20 / .8);
}

@media (min-width: 640px) {
  .cta-band__actions .btn { flex: 0 0 auto; }
}

@media (min-width: 1024px) {
  .cta-band__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--s-8); }
  .info-list--boxed { padding-inline: var(--s-5); }
}

/* ---------- 16. İç sayfa: hero, süzgeç, metin, tablo ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2rem, 1.2rem + 4.5vw, 5.5rem));
  padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  --tone-filter: grayscale(.85) contrast(1.1) brightness(.58);
  --tone-strength: .3;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(7 11 20 / .72) 0%, rgb(7 11 20 / .5) 45%, var(--bg) 100%),
    linear-gradient(90deg, rgb(7 11 20 / .9), rgb(7 11 20 / .35)),
    var(--grid);
}

.page-hero--compact { padding-bottom: clamp(2rem, 1.4rem + 2.5vw, 3.5rem); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 .625rem;
}

.breadcrumb li { display: inline-flex; align-items: center; gap: .625rem; min-height: 2.75rem; }
.breadcrumb li + li::before { content: "/"; color: var(--line-3); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--text-2); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent-text); }
.breadcrumb [aria-current] { color: var(--text); }

.page-hero__label { margin-top: var(--s-4); }

.page-hero__title {
  max-width: 20ch;
  margin-top: var(--s-4);
  font-size: var(--fs-h1);
  font-stretch: var(--w-hero);
  font-weight: 800;
  line-height: .98;
}

.page-hero__lead {
  max-width: 42rem;
  margin-top: var(--s-5);
  color: var(--text);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.page-hero .readout { margin-top: clamp(2rem, 1.2rem + 3vw, 4rem); }

/* Süzgeç çubuğu */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3) var(--s-4);
  margin-bottom: var(--s-6);
}

.filter-bar .chips {
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: calc(100% + var(--gutter) * 2);
  margin-inline: calc(var(--gutter) * -1);
  padding: 2px var(--gutter);
  scrollbar-width: none;
}

.filter-bar .chips::-webkit-scrollbar { display: none; }
.filter-bar__count { color: var(--text-3); font-size: var(--fs-sm); }
.filter-bar__count b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.no-js .filter-bar .chips { display: none; }

@media (min-width: 900px) {
  .filter-bar .chips { flex-wrap: wrap; overflow: visible; max-width: none; margin: 0; padding: 0; }
}

/* Uzun metin (c_html çıktısı) */
.prose {
  max-width: 44rem;
  color: var(--text-2);
  font-size: var(--fs-body);
  line-height: 1.75;
}

.prose--wide { max-width: none; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: clamp(1.625rem, 1.3rem + 1.5vw, 2.5rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.9em; }
.prose h4 { margin-top: 1.7em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .75em; }
.prose > :first-child { margin-top: 0; }
.prose .lead, .prose--lead > p:first-child { color: var(--text); font-size: var(--fs-lead); line-height: 1.6; }
.prose strong, .prose b { color: var(--text); font-weight: 600; }

.prose a {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  text-decoration-color: var(--accent-line);
  transition: text-decoration-color .2s, color .2s;
}

.prose a:hover { color: var(--text); text-decoration-color: currentColor; }

.prose ul,
.prose ol { display: grid; gap: .5em; padding: 0; list-style: none; }

.prose ul > li,
.prose ol > li { position: relative; padding-left: 2rem; }

.prose ul > li::before {
  content: "";
  position: absolute;
  left: .375rem;
  top: calc(.875em - 2px);
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.prose ol { counter-reset: ol; }

.prose ol > li::before {
  counter-increment: ol;
  content: counter(ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .36em;
  color: var(--accent-text);
  font: 500 var(--fs-label)/1.4 var(--font-mono);
  letter-spacing: .04em;
}

.prose blockquote {
  position: relative;
  margin-block: 2em;
  padding: var(--s-5) 0 var(--s-5) var(--s-5);
  border-left: 1px solid var(--accent);
  color: var(--text);
  font: 500 var(--fs-h3)/1.35 var(--font-display);
  font-stretch: 92%;
}

.prose img { margin-block: 2em; border: 1px solid var(--line); }
.prose hr { height: 1px; margin-block: 2.5em; border: 0; background: var(--line); }

/* Özellik tablosu */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.spec-table caption {
  padding: .875rem var(--s-4);
  border-bottom: 1px solid var(--line-2);
  background: var(--surface);
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: .875rem var(--s-4);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}

.spec-table tr:last-child > * { border-bottom: 0; }
.spec-table thead th { background: var(--surface); white-space: nowrap; }
.spec-table tbody th { width: 42%; color: var(--text-2); font-weight: 400; }
.spec-table td { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.spec-table tbody tr:hover > * { background: var(--surface); }

/* ---------- 17. Form ---------- */
.form { display: grid; gap: var(--s-4); }
.form__row { display: grid; gap: var(--s-4); }
.form__note { color: var(--text-3); font-size: var(--fs-xs); line-height: 1.5; }
.form__or { color: var(--text-2); font-size: var(--fs-sm); text-align: center; }
.form__or a { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.form__or a:hover { color: var(--accent-text); }

@media (min-width: 480px) {
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.field { display: grid; gap: .4375rem; align-content: start; min-width: 0; }

.field__label {
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.3;
}

.field__req { color: var(--accent-text); margin-left: .125rem; }

.input,
.select,
.textarea {
  width: 100%;
  min-height: 3rem;
  padding: .625rem .875rem;
  border: 1px solid var(--line-3);
  border-radius: var(--r-1);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.textarea { min-height: 7rem; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-3); }

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  outline: 0;
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 1px var(--accent-text);
}

.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='m1 1 6 6 6-6' stroke='%239aa7b8' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.select option { background: var(--surface); color: var(--text); }

.field__help {
  color: var(--text-3);
  font-size: var(--fs-xs);
  line-height: 1.5;
}

.field__error {
  display: flex;
  align-items: flex-start;
  gap: .375rem;
  color: var(--danger);
  font-size: var(--fs-xs);
  line-height: 1.45;
}

.field__error .icon { width: 1rem; height: 1rem; margin-top: .0625rem; }

.field--error .input,
.field--error .select,
.field--error .textarea,
.field--error .file-drop { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }

/* Dosya alanı */
.file-drop {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .125rem var(--s-3);
  align-items: center;
  padding: .875rem;
  border: 1px dashed var(--line-3);
  border-radius: var(--r-1);
  background: var(--hatch), var(--bg);
  transition: border-color .2s, background-color .2s;
}

.file-drop:hover,
.file-drop.is-over { border-color: var(--accent-text); }
.file-drop:focus-within { border-color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-soft); }

.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-drop .icon-box { background: var(--surface); }
.file-drop__title { color: var(--text); font-size: var(--fs-sm); font-weight: 500; }

/* JS yokken yerel dosya denetimi görünür kalır */
.no-js .file-drop { display: block; padding: .75rem; }
.no-js .file-drop input[type="file"] { position: static; opacity: 1; height: auto; }
.no-js .file-drop .icon-box, .no-js .file-drop__title { display: none; }

.file-list { display: grid; gap: .25rem; }

.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: .375rem .375rem .375rem .75rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-xs);
}

.file-list__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list__size { flex: none; margin-left: auto; color: var(--text-3); font-variant-numeric: tabular-nums; }

.file-list__remove {
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-3);
}

.file-list__remove:hover { color: var(--danger); }

/* Onay kutusu */
.check {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  min-height: 2.75rem;
  padding-block: .5rem;
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  border: 1px solid var(--line-3);
  border-radius: var(--r-1);
  background: var(--bg) center / .875rem no-repeat;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}

.check input:checked {
  border-color: var(--accent-fill);
  background-color: var(--accent-fill);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='m2.5 7.5 3 3 6-7' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E");
}

.field--error .check input { border-color: var(--danger); }
.check a { color: var(--accent-text); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.check a:hover { color: var(--text); }

/* Uyarılar */
.alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .25rem var(--s-3);
  padding: var(--s-4);
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--text-3);
  background: var(--surface);
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.alert > .icon { grid-row: span 3; margin-top: .125rem; }
.alert__title { color: var(--text); font-weight: 600; }
.alert__list { display: grid; gap: .125rem; margin-top: .25rem; padding-left: 1.125rem; list-style: square; }
.alert__list a { text-decoration: underline; text-underline-offset: .2em; }
.alert--success { border-left-color: var(--ok); background: linear-gradient(90deg, rgb(74 222 154 / .08), transparent 60%), var(--surface); }
.alert--success > .icon { color: var(--ok); }
.alert--error { border-left-color: var(--danger); background: linear-gradient(90deg, rgb(255 128 128 / .08), transparent 60%), var(--surface); }
.alert--error > .icon { color: var(--danger); }
.alert--info { border-left-color: var(--accent-text); }
.alert--info > .icon { color: var(--accent-text); }

/* ---------- 18. SSS, iletişim, harita, boş durum, 404 ---------- */
/* İki sütunlu SSS: solda başlık + yardım + telefon düğmesi, sağda akordeon */
.faq-layout { display: grid; gap: var(--s-6); }
.faq-layout__head { counter-increment: sec; display: grid; gap: var(--s-4); align-content: start; justify-items: start; }
.faq-layout__title { font-size: var(--fs-h2); max-width: 18ch; }
.faq-layout__text { max-width: 26rem; color: var(--text-2); }
.faq-layout__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }

@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .faq-layout__head { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }

.faq__item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-4);
  align-items: center;
  min-height: 4rem;
  padding-block: var(--s-4);
  color: var(--text);
  font: 600 clamp(1.0625rem, 1rem + .3vw, 1.25rem)/1.35 var(--font-display);
  font-stretch: 94%;
  list-style: none;
  cursor: pointer;
  transition: color .2s;
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-text); }

.faq__icon {
  position: relative;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line-2);
  color: var(--accent-text);
  transition: border-color .2s;
}

.faq__item summary:hover .faq__icon { border-color: var(--accent-line); }

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: .75rem;
  height: 1.5px;
  margin: -.75px 0 0 -.375rem;
  background: currentColor;
  transition: transform .3s var(--ease);
}

.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: none; }

.faq__answer {
  max-width: 46rem;
  padding: 0 3rem var(--s-5) 0;
  color: var(--text-2);
}

.faq__answer > * + * { margin-top: .75em; }

@media (max-width: 559.98px) {
  .faq__answer { padding-right: 0; }
}

/* İletişim bloğu + harita */
.contact-grid { display: grid; gap: var(--s-6); }
.contact-grid__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.contact-grid__actions .btn { flex: 1 1 auto; }

.map-box {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 20rem;
  padding: var(--s-4);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px) center / 2rem 2rem,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) center / 2rem 2rem,
    var(--surface);
}

.map-box::before,
.map-box::after {                  /* merkez nişangâhı */
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--accent-line);
}

.map-box::before { left: 0; right: 0; top: 50%; height: 1px; }
.map-box::after { top: 0; bottom: 0; left: 50%; width: 1px; }

.map-box__inner {
  display: grid;
  gap: var(--s-4);
  justify-items: center;
  max-width: 24rem;
  padding: var(--s-5);
  border: 1px solid var(--line-2);
  background: var(--surface);
  text-align: center;
}

.map-box__inner > .icon { color: var(--accent-text); }
.map-box__addr { color: var(--text); line-height: 1.5; }
.map-box__note { color: var(--text-3); font-size: var(--fs-xs); line-height: 1.5; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (min-width: 640px) {
  .contact-grid__actions .btn { flex: 0 0 auto; }
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: stretch; }
  .map-box { min-height: 26rem; }
}

/* Boş durum */
.empty-state {
  display: grid;
  gap: var(--s-4);
  justify-items: center;
  padding: clamp(2.5rem, 1.5rem + 5vw, 5rem) var(--s-5);
  border: 1px dashed var(--line-3);
  background: var(--hatch);
  text-align: center;
}

.empty-state .icon-box { background: var(--bg); }
.empty-state__title { font-size: var(--fs-h3); }
.empty-state__text { max-width: 32rem; color: var(--text-2); }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-2); }

/* 404 */
.notfound { display: grid; gap: var(--s-7); }

.notfound__code {
  color: transparent;
  font: 800 clamp(6rem, 3rem + 18vw, 15rem)/.82 var(--font-display);
  font-stretch: var(--w-hero);
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-text-stroke: 1.5px rgb(var(--accent-rgb) / .75);
}

.notfound__title { font-size: var(--fs-h2); max-width: 18ch; }
.notfound .lead { max-width: 36rem; }
.notfound__links { display: grid; border-top: 1px solid var(--line-2); }

.notfound__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 3.5rem;
  border-bottom: 1px solid var(--line-2);
  color: var(--text);
  font: 600 1.125rem/1.2 var(--font-display);
  font-stretch: 90%;
  transition: color .2s, padding .3s var(--ease);
}

.notfound__links a .icon { color: var(--accent-text); }
.notfound__links a:hover { padding-left: .5rem; color: var(--accent-text); }

@media (min-width: 900px) {
  .notfound { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--s-8); }
}

/* ---------- 19. Footer (antet) ---------- */
.site-footer {
  position: relative;
  background: var(--bg);
  color: var(--text-2);
  font-size: var(--fs-sm);
}

.footer__top {
  display: grid;
  gap: var(--s-7) var(--s-6);
  padding-block: var(--s-8) var(--s-7);
}

.footer__brand { display: grid; gap: var(--s-5); align-content: start; justify-items: start; }
.footer__logo { width: 12rem; }
.footer__about { max-width: 27rem; line-height: 1.65; }
.footer__title { margin-bottom: var(--s-3); letter-spacing: .16em; }
.footer__list { display: grid; }

.footer__list a,
.footer__contact a,
.title-block__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  transition: color .2s;
}

.footer__list a { color: var(--text-2); }
.footer__list a:hover,
.footer__list a[aria-current] { color: var(--text); }
.footer__contact { display: grid; justify-items: start; }
.footer__contact a { color: var(--text); overflow-wrap: anywhere; }
.footer__contact a:hover { color: var(--accent-text); }
.footer__tel { font-size: 1.1875rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.footer__contact address { margin-top: .5rem; max-width: 21rem; line-height: 1.6; }

.footer__social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-4); }
.footer__social a { min-height: 0; color: var(--text-2); }
.footer__social a:hover { border-color: var(--accent-line); color: var(--text); }

/* Antet (çizim başlık bloğu): firma · kuruluş · yasal · geliştirici imzası */
.title-block {
  display: grid;
  margin-bottom: var(--s-6);
  border: 1px solid var(--line-2);
}

.title-block__cell {
  display: grid;
  gap: .5rem;
  align-content: start;
  padding: .875rem var(--s-4);
  border-top: 1px solid var(--line-2);
  color: var(--text-2);
  font-size: var(--fs-xs);
  line-height: 1.5;
}

.title-block__cell:first-child { border-top: 0; }
.title-block__links { display: flex; flex-wrap: wrap; gap: 0 1.125rem; }
.title-block__links a { margin-block: -.375rem; }
.title-block__links a:hover { color: var(--text); }

.credit {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  width: fit-content;
  min-height: 2.75rem;
  margin-block: -.375rem;
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: color .2s;
}

.credit__logo {
  width: auto;
  height: 3rem;
  opacity: .92;
  transition: opacity .2s;
}

.credit:hover { color: var(--accent-text); }
.credit:hover .credit__logo { opacity: 1; }

@media (min-width: 640px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .title-block { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .title-block__cell:nth-child(2) { border-top: 0; }
  .title-block__cell:nth-child(even) { border-left: 1px solid var(--line-2); }
}

@media (min-width: 1024px) {
  .footer__top { grid-template-columns: minmax(0, 4fr) repeat(var(--cols, 2), minmax(0, 2.2fr)) minmax(0, 3.2fr); padding-block: var(--s-9) var(--s-8); }
  .footer__brand { grid-column: auto; }
  .title-block { display: flex; }
  .title-block__cell { flex: 1 1 0; padding: 1rem var(--s-5); border-top: 0; }
  .title-block__cell--firm { flex-grow: 1.35; }
  .title-block__cell--fit { flex: 0 0 auto; }
  .title-block__cell + .title-block__cell { border-left: 1px solid var(--line-2); }
  .title-block__cell--credit { justify-items: end; text-align: right; }   /* imza sağa yaslı */
}

/* ---------- 20. Yüzen öğeler + çerez bandı ---------- */
/* WhatsApp: koyu zemin, ince çizgi; yalnız simge yeşil (birincil mavi düğmeyle yarışmaz) */
.wa-float {
  position: fixed;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  z-index: 90;
  display: none;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgb(14 22 35 / .94);
  color: var(--wa);
  box-shadow: 0 14px 34px -12px rgb(0 0 0 / .8), inset 0 1px 0 rgb(255 255 255 / .06);
  transition: border-color .25s, transform .3s var(--ease), background-color .25s;
}

.wa-float .icon { width: 1.625rem; height: 1.625rem; }
.wa-float:hover { border-color: var(--wa); background: #101b2a; transform: translateY(-2px); }

@media (min-width: 768px) {
  .wa-float { display: grid; }
}

.mobile-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--line-2);
  background: rgb(7 11 20 / .97);
}

.mobile-bar--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mobile-bar--1 { grid-template-columns: minmax(0, 1fr); }

.mobile-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-width: 0;
  min-height: 3.75rem;
  padding-inline: .25rem;
  color: var(--text);
  font-size: .8125rem;
  letter-spacing: .04em;
}

@media (min-width: 390px) {
  .mobile-bar__item { font-size: .875rem; letter-spacing: .05em; }
}

.mobile-bar__item span { overflow: hidden; text-overflow: ellipsis; }
.mobile-bar__item + .mobile-bar__item { border-left: 1px solid var(--line-2); }
.mobile-bar__item .icon { color: var(--accent-text); }
.mobile-bar__item--wa .icon { color: var(--wa); }
.mobile-bar__item--primary { background: var(--accent-fill); color: var(--on-accent); border-left: 0 !important; }
.mobile-bar__item--primary .icon { color: inherit; }

@media (min-width: 768px) {
  .mobile-bar { display: none; }
}

/* Çerez bandı: JS seçim yoksa gösterir (hidden kaldırılır). İki düğme eşit ağırlıkta. */
.consent {
  position: fixed;
  left: var(--s-3);
  right: var(--s-3);
  bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + var(--s-3));
  z-index: 96;
  display: grid;
  gap: var(--s-4);
  max-width: 30rem;
  padding: var(--s-4);
  border: 1px solid var(--line-2);
  background: rgb(14 22 35 / .98);
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / .85);
  color: var(--text-2);
  font-size: var(--fs-xs);
  line-height: 1.55;
}

.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }

@media (min-width: 768px) {
  .consent { left: clamp(1rem, 2vw, 1.75rem); right: auto; bottom: clamp(1rem, 2vw, 1.75rem); padding: var(--s-5); font-size: var(--fs-sm); }
}

/* ---------- 21. Hareket, baskı, erişilebilirlik modları ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(1.125rem);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .reveal.is-in,
.no-reveal .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .hero__line--chrome, .hero__line--accent { background: none; color: CanvasText; }
  .notfound__code { color: CanvasText; -webkit-text-stroke: 0; }
  .btn, .chip, .tag, .icon-box { border-color: currentColor; }
  .media--tone::before { display: none; }
}

@media print {
  .site-header, .drawer, .wa-float, .mobile-bar, .consent, .skip-link, .rail__nav { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}
