/* =========================================================
   VURALTAŞ GEOTEKNİK — style.css
   Palet logodan türetildi: lacivert + çelik mavisi,
   beton grileri ve tek vurgu rengi olarak şantiye amberi.
   ========================================================= */

:root {
  /* Renkler */
  --navy-950: #0E1C2E;
  --navy-900: #12233A;
  --navy-800: #1B3454;   /* logo laciverti */
  --navy-700: #234166;
  --steel-600: #3E6C99;
  --steel-500: #4F7EAC;  /* logo çelik mavisi */
  --steel-300: #9DB8D2;
  --steel-100: #E3EBF3;
  --slate: #42536A;
  --paper: #FFFFFF;
  --concrete: #F2F4F6;
  --concrete-2: #E9EDF0;
  --line: #D8DFE7;
  --amber: #F2A31B;      /* vurgu: CTA ve işaretler */
  --amber-600: #D98F0C;
  --amber-tint: #FDF3DE;
  --ok-bg: #EAF6EE; --ok-tx: #1D6B3A; --ok-ln: #BFE3CC;
  --err-bg: #FBECEC; --err-tx: #A93838; --err-ln: #EFC7C7;
  --wa: #25D366;

  /* Tipografi */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;

  /* Ölçüler */
  --container: 1180px;
  --radius: 12px;
  --radius-sm: 7px;
  --header-h: 78px;
  --shadow-card: 0 18px 34px -20px rgba(18, 35, 58, .28);
  --shadow-header: 0 10px 30px -18px rgba(18, 35, 58, .35);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 { margin: 0; color: var(--navy-900); }

::selection { background: var(--amber); color: var(--navy-950); }

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy-900);
  color: #fff;
  font: 600 14px var(--font-body);
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Küçük SVG ikon varsayılanları */
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font: 600 15px/1 var(--font-body);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease,
              border-color .18s ease, box-shadow .18s ease;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--amber);
  color: var(--navy-950);
  box-shadow: 0 10px 22px -10px rgba(242, 163, 27, .65);
}
.btn--primary:hover {
  background: var(--amber-600);
}

.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
}
.btn--ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn--wa {
  width: 100%;
  margin-top: 24px;
  background: #fff;
  border-color: var(--wa);
  color: var(--navy-900);
}
.btn--wa svg { width: 20px; height: 20px; color: #1DA851; }
.btn--wa:hover { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--wa:hover svg { color: #fff; }

.btn--sm { padding: 11px 18px; font-size: 14px; }

/* ---------- Eyebrow / KOT etiketi ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  font: 500 12px var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel-600);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--amber);
  flex: none;
}
.eyebrow--light { color: var(--steel-300); }

/* ---------- Bölüm iskeleti ---------- */
.section { padding-block: 100px; }

.section-head { max-width: 720px; margin-bottom: 52px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.section-sub {
  margin-top: 14px;
  font-size: 17.5px;
  color: var(--slate);
}

section[id], [id="fore-kazik"] { scroll-margin-top: calc(var(--header-h) + 10px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}
.brand-logo { width: auto; height: 58px; }

.brand-text {
  font: 700 24px/1 var(--font-display);
  letter-spacing: .03em;
  color: var(--navy-800);
}
.brand-text small {
  display: block;
  margin-top: 3px;
  font: 500 10px var(--font-mono);
  letter-spacing: .34em;
  color: var(--steel-600);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav-link {
  position: relative;
  padding: 6px 0;
  font: 500 15px var(--font-body);
  color: var(--navy-800);
  text-decoration: none;
  transition: color .15s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--amber);
  transition: right .2s ease;
}
.nav-link:hover { color: var(--navy-950); }
.nav-link:hover::after,
.nav-link.is-active::after { right: 0; }
.nav-link.is-active { color: var(--navy-950); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: #fff;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; }
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85) contrast(1.05);
  opacity: .5;
}
.hero-gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(157, 184, 210, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 184, 210, .09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 30% 20%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 90% at 30% 20%, #000 40%, transparent 100%);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 28, 46, .94) 0%, rgba(14, 28, 46, .72) 46%, rgba(14, 28, 46, .42) 100%),
    linear-gradient(180deg, rgba(14, 28, 46, 0) 60%, rgba(14, 28, 46, .5) 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 48px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 110px;
}

.hero-copy { max-width: 640px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 5.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: .012em;
  text-transform: uppercase;
  color: #fff;
}
.hero-title .accent { color: var(--amber); }

.hero-sub {
  margin-top: 22px;
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(227, 235, 243, .88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-tags {
  margin-top: 44px;
  font: 500 11.5px var(--font-mono);
  letter-spacing: .14em;
  color: var(--steel-300);
}

/* Teknik kazık kesiti */
.hero-figure { justify-self: end; width: min(100%, 420px); }
.pile-diagram { width: 100%; height: auto; display: block; }
.pd-line   { stroke: var(--steel-300); stroke-width: 1.6; opacity: .9; }
.pd-thin   { stroke-width: 1.1; }
.pd-dash   { stroke-dasharray: 5 6; opacity: .55; }
.pd-cage   { opacity: .45; }
.pd-shape  { fill: rgba(255, 255, 255, .045); stroke: var(--steel-300); stroke-width: 1.6; }
.pd-accent-line { stroke: var(--amber); stroke-width: 1.8; }
.pd-accent-dot  { fill: var(--amber); stroke: none; }
.pd-mono text {
  font: 500 11px var(--font-mono);
  letter-spacing: .08em;
  fill: var(--steel-300);
  stroke: none;
}
.pd-strata text { opacity: .8; }
.pd-label text { fill: var(--amber); }

/* Temsili zemin profili şeridi */
.strata {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--amber);
}
.strata-layer {
  padding: 15px 10px 13px;
  text-align: center;
}
.strata-layer span {
  font: 500 10.5px var(--font-mono);
  letter-spacing: .22em;
}
.s1 { background: #CBD3DB; color: #3E4A57; }
.s2 {
  background: #B3BEC9 repeating-linear-gradient(45deg,
    rgba(255, 255, 255, .28) 0 2px, transparent 2px 11px);
  color: #37424F;
}
.s3 {
  background: #93A2B1 repeating-linear-gradient(-45deg,
    rgba(255, 255, 255, .22) 0 2px, transparent 2px 11px);
  color: #26303C;
}
.s4 {
  background: #66748A
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .16) 0 2px, transparent 2px 10px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .1) 0 2px, transparent 2px 10px);
  background-color: #66748A;
  color: #EAEFF4;
}
.strata-note {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  font: 500 9.5px var(--font-mono);
  letter-spacing: .18em;
  color: rgba(20, 32, 48, .55);
  pointer-events: none;
}

/* =========================================================
   FORE KAZIK
   ========================================================= */
.section--fore { background: var(--paper); }

.fore-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 56px;
  align-items: start;
}

.fore-text .lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--navy-700);
}
.fore-text .lead strong { color: var(--navy-900); }

.fore-photo {
  margin: 32px 0 0;
}
.fore-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.fore-photo figcaption {
  margin-top: 10px;
  font: 500 11px var(--font-mono);
  letter-spacing: .12em;
  color: var(--steel-600);
}
.fore-photo.is-hidden { display: none; }

.list-title {
  margin: 30px 0 16px;
  font: 600 13px var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel-600);
}

.app-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 26px;
}
.app-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--navy-800);
}
.app-list svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--amber-600);
  stroke-width: 2.2;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.feature {
  padding: 24px 22px;
  background: linear-gradient(180deg, #fff, #F7F9FB);
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel-500);
  border-radius: 9px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-left-color: var(--amber);
  box-shadow: var(--shadow-card);
}
.feature svg { width: 27px; height: 27px; color: var(--steel-600); }
.feature h3 {
  margin: 13px 0 8px;
  font: 600 16.5px/1.35 var(--font-body);
}
.feature p { font-size: 14.5px; line-height: 1.6; }

/* Uygulama adımları (gerçek bir imalat sırası) */
.process {
  margin-top: 76px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.process-title {
  margin-bottom: 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 22px;
  border-top: 2px solid var(--line);
}
.step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--amber);
}
.step-num {
  font: 500 13px var(--font-mono);
  letter-spacing: .12em;
  color: var(--amber-600);
}
.step h4 {
  margin: 8px 0 8px;
  font: 600 17px var(--font-body);
}
.step p { font-size: 14.5px; line-height: 1.62; }

.inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  font: 600 16px var(--font-body);
  color: var(--navy-800);
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 4px;
  transition: color .15s ease, gap .2s ease;
}
.inline-cta svg { width: 18px; height: 18px; color: var(--amber-600); }
.inline-cta:hover { color: var(--amber-600); gap: 14px; }

/* =========================================================
   HİZMETLER
   ========================================================= */
.section--services { background: var(--concrete); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--steel-300);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--steel-100);
  color: var(--steel-600);
}
.card-icon svg { width: 25px; height: 25px; }
.card h3 { font: 600 17.5px var(--font-body); }
.card p { font-size: 14.8px; line-height: 1.6; }

.card--featured {
  background: var(--navy-800);
  border-color: var(--navy-800);
}
.card--featured h3 { color: #fff; }
.card--featured p { color: rgba(220, 230, 242, .85); }
.card--featured .card-icon {
  background: rgba(242, 163, 27, .16);
  color: var(--amber);
}
.card--featured:hover { border-color: var(--navy-700); }
.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 9px;
  background: var(--amber);
  border-radius: 4px;
  font: 500 10.5px var(--font-mono);
  letter-spacing: .12em;
  color: var(--navy-950);
}

/* =========================================================
   TEST & ÖLÇÜM
   ========================================================= */
.section--tests {
  position: relative;
  background: var(--navy-900);
}
.section--tests::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(157, 184, 210, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 184, 210, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.section--tests .container { position: relative; }
.section--tests .section-title { color: #fff; }
.section--tests .section-sub { color: rgba(227, 235, 243, .82); }

/* Bu bölüm .stack'i barındırdığı için genel .section dikey
   boşluğunu kendi kontrol eder (section-head üstte, .stack
   kendi yüksekliğini kendi hesaplar, not altında normal boşluk) */
.stack-section.section { padding-block: 0; }
.stack-section .section-head { padding-top: 100px; margin-bottom: 56px; }
.stack-section > .container:last-child { padding-block: 56px 100px; }

/* ---------------------------------------------------------
   Dikey görsel yığını (vertical image stack)

   Varsayılan (JS'siz / prefers-reduced-motion / dar ekran):
   #testStack normal akışta, auto yükseklikte; her hizmet kendi
   fotoğrafı + başlık + açıklama + linkiyle tam olarak görünür
   bir liste satırıdır — hiçbir içerik JS'e bağımlı gizlenmez.

   Etkinleştirilmiş mod (.stack--interactive, yalnızca geniş
   ekran + hareket izni varken script.js tarafından eklenir):
   #testStack, 5 hizmet için 5×100vh yüksekliğinde gerçek bir
   kaydırma alanına dönüşür; içindeki .stack-inner GSAP "pin"
   KULLANMADAN position:sticky ile header'ın hemen altına
   yapışır ve bu yüzden alttaki/üstteki hiçbir bölümün üzerine
   binmesi mümkün değildir — sticky, kendi kapsayıcısının
   (yüksekliği doğru hesaplanmış #testStack) sınırları dışına
   asla taşmaz. ScrollTrigger yalnızca scrub ile ilerlemeyi
   okur (pin:true yoktur), kartların transform/opacity'sini ve
   aktif başlık/dot durumunu günceller (bkz. script.js
   initServiceStack).
   --------------------------------------------------------- */
#testStack { position: relative; }

.stack-inner { position: static; }

.stack-grid {
  display: block;
}

/* --- Varsayılan / erişilebilir liste modu --- */
.stack-copy-list { display: flex; flex-direction: column; }
.stack-copy {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(157, 184, 210, .18);
}
.stack-copy:first-child { border-top: 0; padding-top: 0; }

.stack-copy-num {
  flex: none;
  padding-top: 4px;
  font: 600 15px var(--font-mono);
  letter-spacing: .1em;
  color: var(--amber);
}

.stack-copy-photo {
  flex: none;
  width: 168px;
  height: 124px;
  border-radius: 12px;
  object-fit: cover;
}

.stack-copy-text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 2vw, 23px);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}
.stack-copy-text p {
  font-size: 15px;
  line-height: 1.66;
  color: rgba(211, 223, 236, .78);
  margin-bottom: 12px;
}

.stack-item-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 13px var(--font-body);
  letter-spacing: .02em;
  color: var(--steel-300);
  text-decoration: none;
  transition: color .15s ease, gap .18s ease;
}
.stack-item-link svg { width: 15px; height: 15px; transition: transform .18s ease; }
.stack-item-link:hover { color: var(--amber); gap: 12px; }

/* Görsel taşıyıcı ve dot navigasyonu yalnızca etkileşimli
   modda görünür; varsayılan listede her satır kendi fotoğrafını
   zaten gösterdiği için burada tekrar edilmez */
.stack-visual,
.stack-dots { display: none; }

/* =========================================================
   Etkileşimli mod (.stack--interactive)
   ========================================================= */
.stack--interactive#testStack {
  height: calc(var(--stack-steps, 5) * 100vh);
}
.stack--interactive .stack-inner {
  position: sticky;
  top: var(--header-h);
  z-index: 2;
  height: calc(100vh - var(--header-h));
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.stack--interactive .stack-grid {
  display: grid;
  grid-template-columns: minmax(0, .56fr) minmax(0, .9fr) auto;
  align-items: stretch;
  gap: 56px;
  width: 100%;
}

/* Sol: numara + başlık + açıklama, tek seferde bir tanesi aktif */
.stack--interactive .stack-copy-list {
  position: relative;
  display: block;
}
.stack--interactive .stack-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}
.stack--interactive .stack-copy.is-active { opacity: 1; pointer-events: auto; }
.stack--interactive .stack-copy-photo { display: none; }
.stack--interactive .stack-copy-num {
  font-size: 17px;
  margin-bottom: 18px;
}
.stack--interactive .stack-copy-text h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 16px; }
.stack--interactive .stack-copy-text p { font-size: 16.5px; max-width: 44ch; }

/* Orta: gerçek saha fotoğraflarından oluşan dikey yığın */
.stack--interactive .stack-visual {
  display: block;
  position: relative;
  height: 100%;
}
.stack--interactive .stack-frame {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.stack--interactive .stack-card {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(4, 10, 20, .65);
  will-change: transform, opacity;
}
.stack--interactive .stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stack--interactive .stack-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 26px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 14, 26, .72) 100%);
  color: #fff;
  font: 600 12.5px var(--font-mono);
  letter-spacing: .12em;
}

/* Sağ: dikey dot navigasyonu */
.stack--interactive .stack-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.stack-dot {
  flex: none;
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1.5px solid rgba(157, 184, 210, .55);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.stack-dot:hover { border-color: var(--amber); }
.stack-dot.is-active {
  background: var(--amber);
  border-color: var(--amber);
  transform: scale(1.25);
}

.tests-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 58px;
  padding: 18px 22px;
  border: 1px dashed rgba(157, 184, 210, .45);
  border-radius: 10px;
  font: 500 12.5px var(--font-mono);
  letter-spacing: .1em;
  color: var(--steel-100);
}
.tests-note svg { flex: none; width: 22px; height: 22px; color: var(--amber); }

/* =========================================================
   NEDEN VURALTAŞ
   ========================================================= */
.section--why { background: var(--paper); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 36px;
}
.why { display: flex; gap: 16px; }
.why-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border: 1.5px solid var(--steel-500);
  border-radius: 6px;
  color: var(--amber-600);
}
.why-mark svg { width: 16px; height: 16px; stroke-width: 2.4; }
.why h3 { font: 600 16.5px var(--font-body); margin-bottom: 6px; }
.why p { font-size: 14.8px; line-height: 1.6; }

/* =========================================================
   PROJELER
   ========================================================= */
.section--projects { background: var(--concrete); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.project-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--steel-300);
}

.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--navy-800);
  overflow: hidden;
}
.project-media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Görsel yoksa: kurumsal desenli yer tutucu (tasarım bozulmaz) */
.media-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(157, 184, 210, .10) 0 2px, transparent 2px 16px),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: var(--steel-300);
}
.media-fallback svg { width: 52px; height: 52px; opacity: .95; }

.project-body { padding: 20px 22px 24px; }
.tag {
  display: inline-block;
  padding: 4px 9px;
  background: var(--amber-tint);
  border-radius: 4px;
  font: 500 11px var(--font-mono);
  letter-spacing: .12em;
  color: var(--amber-600);
}
.project-body h3 { margin: 12px 0 7px; font: 600 17px var(--font-body); }
.project-body p { font-size: 14.3px; line-height: 1.58; }

/* =========================================================
   İLETİŞİM
   ========================================================= */
.section--contact {
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F5F7 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 36px;
  align-items: start;
}

.contact-panel {
  position: relative;
  padding: 34px 30px;
  background: var(--navy-900);
  border-radius: 14px;
  color: #D7E2EF;
  overflow: hidden;
}
.contact-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 220px;
  height: 220px;
  background-image:
    linear-gradient(rgba(157, 184, 210, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 184, 210, .12) 1px, transparent 1px);
  background-size: 22px 22px;
  transform: rotate(12deg);
  pointer-events: none;
}
.contact-panel h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}

.c-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(157, 184, 210, .18);
}
.c-item:last-of-type { border-bottom: 0; }
.c-item > svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--amber); }
.c-label {
  display: block;
  font: 500 10.5px var(--font-mono);
  letter-spacing: .16em;
  color: var(--steel-300);
  margin-bottom: 3px;
}
.c-value {
  font: 500 16px var(--font-body);
  color: #fff;
  text-decoration: none;
}
a.c-value:hover { color: var(--amber); }

/* Form */
.contact-form {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 26px 50px -34px rgba(18, 35, 58, .35);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field--full { grid-column: 1 / -1; }

.field label {
  display: block;
  margin-bottom: 8px;
  font: 600 13.5px var(--font-body);
  color: var(--navy-800);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: #FBFCFD;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font: 400 15.5px var(--font-body);
  color: var(--navy-900);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: auto; cursor: pointer; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--steel-500);
  box-shadow: 0 0 0 3px rgba(79, 126, 172, .18);
}

.field-error {
  display: none;
  margin-top: 6px;
  font: 500 12.5px var(--font-body);
  color: var(--err-tx);
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: #D46A6A; }
.field.is-invalid .field-error { display: block; }

/* Bot tuzağı alanı: görünmez */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.form-note {
  font: 500 12px var(--font-mono);
  letter-spacing: .08em;
  color: var(--steel-600);
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font: 500 15px var(--font-body);
}
.form-status.is-busy {
  display: block;
  background: #EDF1F5;
  color: var(--navy-800);
  border: 1px solid var(--line);
}
.form-status.is-ok {
  display: block;
  background: var(--ok-bg);
  color: var(--ok-tx);
  border: 1px solid var(--ok-ln);
}
.form-status.is-err {
  display: block;
  background: var(--err-bg);
  color: var(--err-tx);
  border: 1px solid var(--err-ln);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy-950);
  color: #B9C7D8;
  padding: 68px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 44px;
}
.foot-brand {
  margin: 0 0 14px;
  font: 700 26px/1 var(--font-display);
  letter-spacing: .04em;
  color: #fff;
}
.foot-brand small {
  display: block;
  margin-top: 5px;
  font: 500 10px var(--font-mono);
  letter-spacing: .38em;
  color: var(--steel-300);
}
.foot-desc { font-size: 14.5px; line-height: 1.7; max-width: 32ch; }

.foot-title {
  margin: 0 0 16px;
  font: 500 12px var(--font-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--steel-300);
}
.foot-col li { margin-bottom: 10px; font-size: 14.5px; }
.foot-col a {
  color: #C9D6E4;
  text-decoration: none;
  transition: color .15s ease;
}
.foot-col a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(157, 184, 210, .16);
  font-size: 13.5px;
}
.footer-bottom p { margin: 0; }
.foot-mono {
  font: 500 11px var(--font-mono);
  letter-spacing: .2em;
  color: var(--steel-300);
}

/* =========================================================
   GÖRÜNÜM / HAREKET YARDIMCILARI
   ========================================================= */
img.is-hidden { display: none; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
}
.reveal.in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

body.nav-open { overflow: hidden; }

/* =========================================================
   SAYFA GEÇİŞİ — "BLUEPRINT LINE"
   Sayfalar arası geçişte lacivert panel kapanır/açılır ve
   amber çizgi kendini çizerek ilerler. JS çalışmadan önce de
   ekranı kaplar (çıplak sayfa flaşı olmaz); JS panel açılışını
   yönetir.
   ========================================================= */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  pointer-events: none;
}
.pt-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(157, 184, 210, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 184, 210, .08) 1px, transparent 1px);
  background-size: 48px 48px;
}
.pt-line {
  position: relative;
  width: min(72vw, 640px);
  height: 12px;
  overflow: visible;
}
.pt-line path {
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}
.pt-brand {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  font: 700 15px/1 var(--font-display);
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .55);
  text-align: center;
  white-space: nowrap;
}
.pt-brand small {
  display: block;
  margin-top: 5px;
  font: 500 9px var(--font-mono);
  letter-spacing: .34em;
  color: var(--steel-300);
}
html.no-js .page-transition { display: none; }

/* =========================================================
   METİN BÖLME (kelime / harf) — stagger reveal
   ========================================================= */
.split-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .06em;
  margin-bottom: -.06em;
}
.split-line .split-unit {
  display: inline-block;
  will-change: transform, opacity;
}

/* =========================================================
   GÖRSEL AÇILIŞ (clip-path wipe) + parallax
   ========================================================= */
.fore-photo img,
.page-figure img,
.project-media img {
  will-change: clip-path, transform;
}

/* =========================================================
   UYGULAMA ADIMLARI — bağlayıcı çizgi
   ========================================================= */
.process-track {
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 2px;
  background: var(--amber);
  transform-origin: left center;
  transform: scaleX(var(--line-progress, 0));
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .page-transition { display: none !important; }
  .process-track::before { transform: scaleX(1); }
}

/* =========================================================
   DUYARLI TASARIM
   ========================================================= */
@media (max-width: 1120px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 80px; padding-bottom: 88px; }
  .hero-figure { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-header);
  }
  .site-nav.is-open { display: flex; }
  .nav-link { padding: 14px 2px; border-bottom: 1px solid var(--concrete-2); font-size: 16px; }
  .nav-link::after { display: none; }
  .nav-link:last-child { border-bottom: 0; }
  .nav-toggle { display: inline-flex; }

  /* JS kapalıysa menü satır içi görünsün */
  html.no-js .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 18px;
    box-shadow: none;
    border: 0;
    padding: 0;
  }
  html.no-js .nav-toggle { display: none; }

  .fore-grid { grid-template-columns: 1fr; gap: 44px; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .process-track::before { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section { padding-block: 68px; }
  .section-head { margin-bottom: 40px; }

  .hero-inner { padding-top: 60px; padding-bottom: 68px; }
  .hero-sub { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-tags { display: none; }

  .brand-logo { height: 46px; }

  .strata { grid-template-columns: repeat(4, 1fr); }
  .strata-layer { padding: 12px 4px 10px; }
  .strata-layer span { font-size: 8.5px; letter-spacing: .14em; }
  .strata-note { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .app-list { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .stack-copy { flex-direction: column; gap: 14px; padding: 22px 0; }
  .stack-copy-photo { width: 100%; height: 200px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-form { padding: 26px 22px; }
  .contact-panel { padding: 28px 24px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 400px) {
  .container { padding-inline: 16px; }
  .header-inner { gap: 14px; }
  .header-cta { gap: 8px; }
  .header-cta .btn--sm { padding: 10px 13px; font-size: 13px; }
}

/* ============================================================
   ALT SAYFALAR (hizmet detay + bilgi merkezi) ve iç bağlantılar
   ============================================================ */

.card-link,
.more-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font: 600 13.5px var(--font-body);
  letter-spacing: .02em;
  color: var(--steel-600);
  text-decoration: none;
}
.card-link svg,
.more-link a svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}
.card-link:hover, .more-link a:hover { color: var(--navy-800); }
.card-link:hover svg, .more-link a:hover svg { transform: translateX(3px); }
.card--featured .card-link { color: var(--amber); }
.card--featured .card-link:hover { color: #fff; }
.more-link { margin-top: 18px; }

/* --- Sayfa girişi --- */
.page-hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #fff;
  padding: 64px 0 56px;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(157, 184, 210, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 184, 210, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity 1.1s ease, clip-path 1.1s ease;
}
.page-hero.is-drawn::after {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}
.page-hero .container { position: relative; z-index: 1; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font: 500 12px var(--font-mono);
  letter-spacing: .1em;
  color: var(--steel-300);
}
.crumbs a { color: var(--steel-300); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .55; }
.crumbs .here { color: #fff; }
.page-title {
  font: 700 clamp(34px, 5vw, 52px)/1.04 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .015em;
  margin: 0 0 16px;
}
.page-lead {
  max-width: 760px;
  margin: 0;
  font: 400 17px/1.65 var(--font-body);
  color: var(--steel-100);
}
.page-hero .btn { margin-top: 26px; }

/* --- Sayfa gövdesi --- */
.page-body {
  padding: 64px 0 24px;
}
.page-body .container { max-width: 860px; }
.page-body h2 {
  font: 600 clamp(24px, 3vw, 30px)/1.15 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--navy-800);
  margin: 44px 0 14px;
}
.page-body h2:first-child { margin-top: 0; }
.page-body h3 {
  font: 600 19px/1.3 var(--font-body);
  color: var(--navy-800);
  margin: 26px 0 10px;
}
.page-body p {
  margin: 0 0 16px;
  font: 400 16.5px/1.7 var(--font-body);
  color: var(--slate);
}
.page-body ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.page-body ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  font: 400 16.5px/1.6 var(--font-body);
  color: var(--slate);
}
.page-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--amber);
  border-radius: 2px;
}
.page-body a { color: var(--steel-600); text-decoration: underline; text-underline-offset: 3px; }
.page-body a:hover { color: var(--navy-800); }

.page-figure {
  margin: 30px 0 34px;
}
.page-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.page-figure figcaption {
  margin-top: 10px;
  font: 500 11px var(--font-mono);
  letter-spacing: .12em;
  color: var(--steel-600);
}

/* --- SSS --- */
.faq-block {
  margin-top: 52px;
  border-top: 3px solid var(--navy-800);
  padding-top: 34px;
}
.faq-item {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 14px;
  background: var(--paper);
}
.faq-item h3 { margin: 0 0 8px; }
.faq-item p { margin: 0; }

/* --- Alt CTA bandı --- */
.cta-band {
  margin: 64px 0 0;
  background: var(--navy-900);
  color: #fff;
  padding: 52px 0;
}
.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.cta-band h2 {
  margin: 0;
  font: 600 clamp(22px, 3vw, 30px)/1.15 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.cta-band p {
  margin: 6px 0 0;
  color: var(--steel-300);
  font: 400 15px/1.6 var(--font-body);
}

/* --- Bilgi merkezi listesi --- */
.post-meta {
  display: block;
  margin-bottom: 10px;
  font: 500 11px var(--font-mono);
  letter-spacing: .12em;
  color: var(--steel-600);
}

@media (max-width: 680px) {
  .page-hero { padding: 48px 0 44px; }
  .page-body { padding: 52px 0 12px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}
