/* ============================================================
   ATAKUM CAM BALKON — Monoline / Çizgi Sanat × Endüstriyel
   Ortak stil dosyası — tüm sayfalar bu dosyayı paylaşır.
   ============================================================ */

/* ---------- 1. Tokenlar ---------- */
:root {
  --bg:        #fbfaf7;
  --ink:       #1d2b33;
  --ink-soft:  #44545d;
  --acc:       #e0654a;   /* grafik/çizgi aksanı */
  --acc-deep:  #c14e33;   /* AA uyumlu dolgu aksanı (beyaz metinle 6.9:1) */
  --amber:     #f0a500;
  --teal:      #2f9e8f;
  --hair:      rgba(29, 43, 51, .16);
  --hair-soft: rgba(29, 43, 51, .09);
  --card:      #ffffff;
  --r:   16px;
  --r-lg: 20px;
  --r-sm: 12px;

  /* Hareket sistemi — tek kaynaktan zamanlama + easing (premium, snappy his) */
  --ease:      cubic-bezier(.2, 0, 0, 1);    /* genel standart easing */
  --ease-out:  cubic-bezier(.2, .7, .2, 1);  /* yumuşak çıkış — vurgu çizgileri */
  --dur-press: 120ms;   /* dokunma / press mikro geri bildirim */
  --dur-fast:  150ms;   /* hover mikro etkileşim */
  --dur:       190ms;   /* genel geçişler */
  --dur-slow:  240ms;   /* menü / drawer / overlay gibi büyük geçişler */
  --dur-reveal: 340ms;  /* scroll reveal girişi */

  /* Yükselti — tutarlı, hafif gölge skalası (mevcut temaya uygun) */
  --shadow-1: 0 1px 2px rgba(29,43,51,.05), 0 8px 18px -12px rgba(29,43,51,.28);
  --shadow-2: 0 22px 40px -26px rgba(29,43,51,.5);

  /* Odak halkası — markaya uygun tek kaynak */
  --ring: 0 0 0 3px rgba(224,101,74,.28);

  --font-head: "Hanken Grotesk", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", monospace;

  --h1: clamp(2.35rem, 1.2rem + 5vw, 4.4rem);
  --h2: clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem);
  --h3: clamp(1.05rem, 1rem + .4vw, 1.3rem);
  --body: clamp(.88rem, .85rem + .15vw, .95rem);
  --caption: .72rem;

  --section: clamp(64px, 6vw + 32px, 120px);
  --header-h: 75px; /* tek kaynak: header yüksekliği = mobil menü ofseti */
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* iOS yatay moddа metin şişirmesini engelle */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* yatay taşmaya karşı kalıcı emniyet — clip scroll container oluşturmaz, sticky bozulmaz */
  overflow-x: clip;
  /* Markaya uygun ince kaydırma çubuğu (yalnızca sayfa) */
  scrollbar-width: thin;
  scrollbar-color: var(--hair) transparent;
}
html::-webkit-scrollbar { width: 11px; height: 11px; }
html::-webkit-scrollbar-thumb {
  background: var(--hair);
  border-radius: 8px;
  border: 3px solid var(--bg);
}
html::-webkit-scrollbar-thumb:hover { background: var(--ink-soft); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}
/* Menü açıkken gövde kilidi — JS scroll pozisyonunu saklar/geri yükler */
body.nav-locked {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a, button, .btn { touch-action: manipulation; } /* çift-dokunma zoom gecikmesini kaldır */
/* Sabit header altında kalmasın: tüm çapa hedefleri */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--amber); color: var(--ink); }

/* ---------- 3. Yardımcılar ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  /* çentikli cihazlarda güvenli alan: hangisi büyükse o boşluk uygulanır */
  padding-left: max(clamp(20px, 4vw, 40px), env(safe-area-inset-left));
  padding-right: max(clamp(20px, 4vw, 40px), env(safe-area-inset-right));
}
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * .62); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: var(--caption);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--acc);
}
.lead {
  color: var(--ink-soft);
  max-width: 58ch;
}
.muted { color: var(--ink-soft); }
.accent-word { color: var(--acc); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  z-index: 200;
  font-family: var(--font-mono);
}
.skip-link:focus { left: 0; }

/* İnce blueprint ızgara dokusu (endüstriyel katman) */
.blueprint {
  background-image:
    linear-gradient(var(--hair-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair-soft) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ---------- 4. Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              transform var(--dur-press) var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: transform var(--dur-fast) var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
/* Press geri bildirimi — tıklama/dokunma anında anında yanıt verir */
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2.5px solid var(--acc);
  outline-offset: 3px;
}
/* Devre dışı + yükleniyor durumları */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn.is-loading {
  color: transparent !important;
  pointer-events: none;
  position: relative;
}
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin .6s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--acc-deep); border-color: var(--acc-deep); color: #fff; box-shadow: var(--shadow-1); }
.btn-accent { background: var(--acc-deep); border-color: var(--acc-deep); color: #fff; }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-1); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light { border-color: var(--bg); color: var(--bg); }
.btn-light:hover { background: var(--bg); color: var(--ink); }

/* Telefon CTA — numara asla taşmaz/kırılmaz; iki satır net hiyerarşi (etiket + numara) */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 54px;
  padding: 8px 24px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              transform var(--dur-press) var(--ease);
}
.btn-call:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}
.btn-call:active { transform: translateY(0) scale(.98); }
.btn-call svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--acc-deep);
  transition: color var(--dur-fast) var(--ease);
}
.btn-call:hover svg { color: var(--amber); }
.call-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.call-label {
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color var(--dur-fast) var(--ease);
}
.btn-call:hover .call-label { color: rgba(251, 250, 247, .65); }
.call-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .01em;
}

/* ---------- 5. Header / Navigasyon ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, .92);
  -webkit-backdrop-filter: blur(8px); /* iOS Safari */
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--hair);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: calc(var(--header-h) - 1.5px); /* border dahil toplam = --header-h */
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding-block: 8px;
}
.brand-mark { width: 38px; height: 38px; color: var(--ink); flex: none; }
.brand-word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -.01em;
  line-height: 1.05;
}
.brand-word em {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--acc-deep);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.5vw, 18px);
}
.main-nav > a,
.dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: color var(--dur-fast) var(--ease);
}
.main-nav > a:hover,
.dd-btn:hover { color: var(--acc-deep); }
.main-nav > a.btn:hover,
.main-nav > a.nav-quote:hover {
  color: #fff;
}
/* Hover alt çizgisi — mevcut sayfa göstergesiyle aynı dilde, transform ile akıcı */
.main-nav > a:not(.btn),
.dd-btn { position: relative; }
.main-nav > a:not(.btn)::after,
.dd-btn::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 1.5px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.main-nav > a:not(.btn):hover::after,
.dd-btn:hover::after { transform: scaleX(1); }
.main-nav > a[aria-current="page"] {
  color: var(--acc-deep);
  box-shadow: inset 0 -2px 0 var(--acc);
  border-radius: 0;
}
.main-nav > a[aria-current="page"]::after { display: none; }
.dd { position: relative; }
.dd-btn svg { width: 13px; height: 13px; transition: transform var(--dur) var(--ease); }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  translate: -50% 0;
  /* viewport'tan geniş olamaz — dar masaüstü/tablette taşma garantili engellenir */
  width: min(560px, calc(100vw - 32px));
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 14px;
  background: var(--bg);
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.dd.open .dd-menu,
.dd:focus-within .dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (hover: hover) {
  .dd:hover .dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
}
.dd-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: .76rem;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--ink);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.dd-menu a::before {
  content: "—";
  color: var(--acc);
  font-weight: 700;
  flex: none;
}
.dd-menu a:hover { background: var(--ink); color: var(--bg); }
.dd-menu a[aria-current="page"] { color: var(--acc-deep); }
.main-nav > a.nav-quote {
  margin-left: 6px;
  min-height: 46px;
  padding: 10px 20px;
  background: var(--ink);
  border: 1.5px solid var(--ink);
  color: var(--bg);
}
.main-nav > a.nav-quote:hover {
  background: var(--acc-deep);
  border-color: var(--acc-deep);
  color: #fff;
  box-shadow: var(--shadow-1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.6px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

/* ---------- 6. Hero (ana sayfa) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 110px) clamp(40px, 6vw, 80px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 em {
  font-style: normal;
  color: var(--acc-deep);
  position: relative;
  white-space: nowrap;
}
.hero h1 em svg {
  position: absolute;
  left: 0;
  bottom: -.12em;
  width: 100%;
  height: .28em;
  color: var(--amber);
  overflow: visible;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-note {
  margin-top: 18px;
  font-size: var(--caption);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.hero-photo {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-2);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1.5px solid rgba(251, 250, 247, .7);
  border-radius: calc(var(--r-lg) - 6px);
  pointer-events: none;
}
.hero-photo img,
.card-media img,
.about-photo img,
.proof-photo img,
.service-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo img { filter: saturate(.95) contrast(1.02); }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1.5px solid var(--ink);
  margin-top: clamp(40px, 6vw, 72px);
}
.stat {
  padding: 26px 20px;
  border-left: 1.5px solid var(--hair);
}
.stat:first-child { border-left: 0; }
.stat b {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1;
}
.stat { position: relative; transition: background var(--dur) var(--ease); }
.stat:hover { background: var(--hair-soft); }
.stat b sup { font-size: .55em; color: var(--acc-deep); }
.stat span {
  font-size: var(--caption);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- 7. Kart ızgaraları ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(32px, 4vw, 52px);
}
.card {
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--hair);
  border-radius: var(--r);
  padding: clamp(24px, 2.5vw, 34px);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: clamp(24px, 2.5vw, 34px);
  top: -1.5px;
  width: 0;
  height: 3px;
  background: var(--acc);
  border-radius: 3px;
  transition: width var(--dur-slow) var(--ease-out);
}
.card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.card:hover::after { width: 34px; }
.card .ic-box {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
  margin-bottom: 20px;
  color: var(--ink);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card:hover .ic-box {
  color: var(--acc-deep);
  border-color: var(--acc-deep);
}
.card .ic { width: 28px; height: 28px; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: .85rem; }
.card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-top: 22px;
  border: 1.5px solid var(--hair);
  border-radius: var(--r-sm);
  background: var(--hair-soft);
}
.card-media img {
  filter: saturate(.92) contrast(1.02);
  transition: transform var(--dur-slow) var(--ease-out);
}
.card:hover .card-media img { transform: scale(1.035); }
.card-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: var(--caption);
  letter-spacing: .14em;
  color: var(--hair);
  font-weight: 700;
}
.ic { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Hizmet listesi (ana sayfa kompakt indeks) */
.svc-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 40px;
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1.5px solid var(--ink);
}
.svc-index a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 14px 6px;
  border-bottom: 1.5px solid var(--hair);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  /* transform ile kaydırma — layout (padding) yerine GPU dostu, jank yok */
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.svc-index a:hover { color: var(--acc-deep); transform: translateX(6px); }
.svc-index a i {
  font-style: normal;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--caption);
  letter-spacing: .1em;
  color: var(--amber);
  flex: none;
  width: 30px;
}
.svc-index a svg {
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex: none;
  color: var(--acc);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  transform: translateX(-6px);
}
.svc-index a:hover svg { opacity: 1; transform: translateX(0); }

/* ---------- 8. Süreç adımları ---------- */
/* Ana sayfa uygulama kanitlari */
.proof-section { padding-top: 0; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(28px, 4vw, 44px);
}
.proof-item {
  overflow: hidden;
  border: 1.5px solid var(--hair);
  border-radius: var(--r);
  background: var(--card);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.proof-item:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.proof-photo {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--hair-soft);
}
.proof-photo img {
  filter: saturate(.93) contrast(1.02);
  transition: transform var(--dur-slow) var(--ease-out);
}
.proof-item:hover .proof-photo img { transform: scale(1.03); }
.proof-meta {
  min-height: 132px;
  padding: 20px clamp(20px, 2.4vw, 28px) 22px;
  border-top: 1.5px solid var(--hair);
}
.proof-meta span {
  display: block;
  margin-bottom: 8px;
  font-size: var(--caption);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc-deep);
}
.proof-meta b {
  display: block;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 500;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: clamp(30px, 4vw, 48px);
  counter-reset: step;
}
.step {
  position: relative;
  border-top: 1.5px solid var(--ink);
  padding-top: 22px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: var(--caption);
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--acc-deep);
}
.step h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.step p { font-size: .82rem; color: var(--ink-soft); }

/* ---------- 9. CTA bandı ---------- */
.cta-band { padding-block: 0 var(--section); }
.cta-card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 84px) clamp(26px, 5vw, 80px);
  text-align: center;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 250, 247, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 250, 247, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card .kicker { color: rgba(251, 250, 247, .75); justify-content: center; }
.cta-card .kicker::before { background: var(--amber); }
.cta-card h2 { max-width: 22ch; margin-inline: auto; }
.cta-card p { color: rgba(251, 250, 247, .78); max-width: 52ch; margin-inline: auto; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- 10. İç sayfa hero ---------- */
.page-hero {
  position: relative;
  border-bottom: 1.5px solid var(--ink);
  padding-block: clamp(48px, 6vw, 88px);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: -60px;
  width: 340px;
  height: 100%;
  background-image:
    linear-gradient(var(--hair-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair-soft) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to left, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent);
  pointer-events: none;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--caption);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.crumbs a {
  text-decoration: none;
  /* görsel yüksekliği bozmadan 44px dokunma alanı */
  display: inline-flex;
  align-items: center;
  padding-block: 13px;
  margin-block: -13px;
}
.crumbs a:hover { color: var(--acc-deep); }
.crumbs span[aria-hidden] { color: var(--acc); }
.page-hero .lead { font-size: calc(var(--body) * 1.06); }

/* ---------- 11. Hakkımızda ---------- */
.service-hero .container {
  position: relative;
  z-index: 1;
}
.service-hero {
  background:
    linear-gradient(90deg, transparent 0 58%, rgba(29, 43, 51, .035) 58% 100%),
    var(--bg);
}
.service-hero::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1.5px;
  width: min(46vw, 620px);
  height: 5px;
  background: var(--acc);
  pointer-events: none;
}
.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(320px, 9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.service-hero-copy {
  min-width: 0;
  padding-left: clamp(18px, 2.6vw, 34px);
  border-left: 1.5px solid var(--ink);
}
.service-hero-art {
  min-width: 0;
  transform: translateY(14px);
}
.service-hero-ctas { margin-top: 30px; }
.service-hero .service-hero-photo {
  aspect-ratio: 4 / 3;
  max-height: none;
}
.service-hero .service-hero-photo img { filter: saturate(.94) contrast(1.02); }
.service-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 44px);
  margin-top: clamp(30px, 4vw, 46px);
  padding: clamp(22px, 3vw, 32px) 0;
  border-block: 1.5px solid var(--ink);
}
.service-inline-cta span {
  display: block;
  margin-bottom: 8px;
  font-size: var(--caption);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc-deep);
}
.service-inline-cta b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 1rem + .65vw, 1.55rem);
  line-height: 1.18;
}
.service-inline-cta p {
  max-width: 58ch;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: .86rem;
}
.service-inline-actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.about-art {
  position: sticky;
  top: 110px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 36px);
  background: var(--card);
}
.about-art svg { width: 100%; height: auto; }
.about-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 7 / 6;
  border-radius: var(--r-sm);
  background: var(--hair-soft);
}
.about-photo img { filter: saturate(.94) contrast(1.02); }
.value-list { margin: 28px 0 0; padding: 0; list-style: none; }
.value-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1.5px solid var(--hair);
}
.value-list svg { width: 22px; height: 22px; flex: none; margin-top: 4px; color: var(--teal); }
.value-list b { font-family: var(--font-head); font-size: 1.02rem; display: block; }
.value-list p { font-size: .84rem; color: var(--ink-soft); margin: 2px 0 0; }

/* ---------- 12. İletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 52px);
}
.quote-form {
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--card);
  padding: clamp(24px, 3.5vw, 44px);
}
.contact-direct h2 { max-width: 13ch; }
.contact-direct > p {
  color: var(--ink-soft);
  max-width: 58ch;
}
.contact-direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.contact-direct-note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1.5px solid var(--hair);
  font-size: .84rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: var(--caption);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.field label i { font-style: normal; color: var(--acc-deep); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1.5px solid var(--hair);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1rem; /* 16px sabit: iOS Safari'nin odakta otomatik zoom yapmasını engeller */
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-soft); opacity: .65; }
/* Hover ipucu — alanın etkileşilebilir olduğunu sezdirir */
.field input:hover:not(:focus),
.field select:hover:not(:focus),
.field textarea:hover:not(:focus) { border-color: var(--ink-soft); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--acc-deep);
  box-shadow: var(--ring);
}
/* Doğrulama hata durumu — JS .invalid sınıfı + tarayıcı :user-invalid ile */
.field.invalid input,
.field.invalid select,
.field.invalid textarea,
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--acc-deep); }
.field.invalid input:focus,
.field.invalid select:focus,
.field.invalid textarea:focus { box-shadow: var(--ring); }
.field-error {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: var(--caption);
  letter-spacing: .02em;
  color: var(--acc-deep);
}
.field-error::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: none;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-weight: 700;
  font-size: .62rem;
  line-height: 1;
}
.form-ok {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1.5px solid var(--teal);
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, rgba(47,158,143,.08), transparent);
  color: var(--ink);
  font-size: .82rem;
}
.form-ok.show {
  display: block;
  animation: form-ok-in var(--dur) var(--ease);
}
@keyframes form-ok-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.info-card {
  border: 1.5px solid var(--hair);
  border-radius: var(--r);
  background: var(--card);
  padding: 22px 24px;
  margin-bottom: 16px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.info-card:hover { border-color: var(--ink); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.info-card svg { width: 24px; height: 24px; flex: none; margin-top: 3px; color: var(--acc-deep); }
.info-card b { font-family: var(--font-head); font-size: 1rem; display: block; margin-bottom: 2px; }
.info-card a {
  text-decoration-color: var(--acc);
  text-underline-offset: 4px;
  /* 44px dokunma alanı — komşu metni itmeden */
  display: inline-block;
  padding-block: 12px;
  margin-block: -12px;
}
.info-card p { font-size: .82rem; color: var(--ink-soft); margin: 0; }
.map-ph {
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--card);
}
.map-ph svg { width: 100%; height: auto; }
.map-ph iframe { width: 100%; height: 320px; display: block; border: 0; }
.map-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  border-top: 1.5px solid var(--ink);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.map-link svg { width: 18px; height: 18px; color: var(--acc-deep); transition: color var(--dur-fast) var(--ease); }
.map-link:hover { background: var(--acc); color: #fff; }
.map-link:hover svg { color: #fff; }
.map-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: var(--caption);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1.5px solid var(--hair);
  background: linear-gradient(180deg, rgba(47,158,143,.06), transparent);
}
.map-head svg { width: 16px; height: 16px; flex: none; color: var(--teal); }

/* ---------- 12b. Premium ayrıntılar ---------- */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--caption);
  letter-spacing: .04em;
  color: var(--ink-soft);
}
.trust-row svg { width: 16px; height: 16px; color: var(--teal); }

/* ---------- 13. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(251, 250, 247, .82);
  font-size: .8rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.6fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 56px);
}
.site-footer .footer-col-title {
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: var(--caption);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer .footer-col-title::after {
  content: "";
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--acc);
  margin-top: 10px;
}
.footer-brand .brand-word { color: var(--bg); }
.footer-brand .brand-mark { color: var(--bg); }
.footer-brand p { margin-top: 16px; max-width: 30ch; color: rgba(251, 250, 247, .6); }
.footer-tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--bg);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.footer-tel:hover { color: var(--amber); }
.footer-links { columns: 2; column-gap: 28px; padding: 0; margin: 0; list-style: none; }
.footer-links-single { columns: 1; }
.footer-links li { break-inside: avoid; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  min-height: 44px;
  text-decoration: none;
  color: rgba(251, 250, 247, .72);
  transition: color var(--dur-fast) var(--ease);
}
.footer-links a:hover { color: var(--amber); }
.footer-contact { padding: 0; margin: 0; list-style: none; }
.footer-contact li { display: flex; gap: 12px; padding: 7px 0; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--acc); }
.footer-contact a {
  color: rgba(251, 250, 247, .82);
  text-decoration: none;
  /* 44px dokunma alanı — satır aralığını bozmadan */
  display: inline-block;
  padding-block: 11px;
  margin-block: -11px;
  transition: color var(--dur-fast) var(--ease);
}
.footer-contact a:hover { color: var(--amber); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid rgba(251, 250, 247, .14);
  font-size: var(--caption);
  letter-spacing: .08em;
  color: rgba(251, 250, 247, .5);
}
.footer-credit a {
  color: rgba(251, 250, 247, .72);
  text-decoration: none;
  border-bottom: 1px solid rgba(251, 250, 247, .25);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.footer-credit a:hover { color: var(--amber); border-color: var(--amber); }

/* ---------- 14. Reveal + çizgi çizilme animasyonları ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-reveal) var(--ease) var(--d, 0s), transform var(--dur-reveal) var(--ease) var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

.draw :is(path, circle, rect, line, polyline, ellipse) {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.js .in .draw :is(path, circle, rect, line, polyline, ellipse),
.js .draw.in :is(path, circle, rect, line, polyline, ellipse) {
  animation: draw .9s var(--ease) forwards;
}
.draw :is(path, circle, rect, line, polyline, ellipse):nth-child(2)  { animation-delay: .06s; }
.draw :is(path, circle, rect, line, polyline, ellipse):nth-child(3)  { animation-delay: .12s; }
.draw :is(path, circle, rect, line, polyline, ellipse):nth-child(4)  { animation-delay: .18s; }
.draw :is(path, circle, rect, line, polyline, ellipse):nth-child(5)  { animation-delay: .24s; }
.draw :is(path, circle, rect, line, polyline, ellipse):nth-child(6)  { animation-delay: .3s; }
.draw :is(path, circle, rect, line, polyline, ellipse):nth-child(7)  { animation-delay: .36s; }
.draw :is(path, circle, rect, line, polyline, ellipse):nth-child(8)  { animation-delay: .42s; }
.draw :is(path, circle, rect, line, polyline, ellipse):nth-child(9)  { animation-delay: .48s; }
.draw :is(path, circle, rect, line, polyline, ellipse):nth-child(n+10) { animation-delay: .54s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.no-js .reveal { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .draw :is(path, circle, rect, line, polyline, ellipse) { stroke-dashoffset: 0; }
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 1020px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  /* Mobilde header'daki backdrop-filter, içindeki position:fixed menü için
     containing block oluşturup menüyü header kutusuna hapsediyordu.
     Bu breakpoint'te blur'ı kaldırıp arka planı opak yapıyoruz ki
     menü viewport'a göre tam ekran açılsın. */
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--bg);
  }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h); /* header yüksekliğiyle tek kaynaktan senkron */
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px
      max(clamp(20px, 4vw, 40px), env(safe-area-inset-right))
      calc(40px + env(safe-area-inset-bottom))
      max(clamp(20px, 4vw, 40px), env(safe-area-inset-left));
    background: var(--bg);
    border-top: 1.5px solid var(--ink);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--dur-slow) var(--ease), visibility var(--dur-slow);
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav > a,
  .dd-btn {
    width: 100%;
    justify-content: space-between;
    min-height: 54px;
    padding: 14px 4px;
    border-bottom: 1.5px solid var(--hair);
    border-radius: 0;
    font-size: .85rem;
  }
  /* Hover alt çizgisi tam-genişlik mobil satırlara uymaz — kapat */
  .main-nav > a:not(.btn)::after,
  .dd-btn::after { display: none; }
  .main-nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--acc); }
  .dd { width: 100%; }
  .dd-menu {
    position: static;
    translate: 0 0;
    min-width: 0;
    grid-template-columns: 1fr;
    border: 0;
    border-left: 1.5px solid var(--acc);
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0 4px 14px;
    margin: 4px 0 8px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .dd.open .dd-menu { display: grid; }
  .nav-quote { margin: 18px 0 0; width: 100%; }
  .hero-grid,
  .service-hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; }
  .service-hero-art {
    max-width: 560px;
    transform: none;
  }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-art { position: static; max-width: 520px; }
}

@media (max-width: 680px) {
  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-ctas .btn {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding-inline: 10px;
    gap: 8px;
    flex-wrap: wrap;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
    font-size: .68rem;
    letter-spacing: .04em;
  }
  .hero-ctas .btn svg {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
  }
  .hero-ctas .btn-call { width: 100%; justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-meta { min-height: 0; }
  .service-inline-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .service-inline-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .service-inline-actions .btn,
  .service-inline-actions .btn-call { width: 100%; justify-content: center; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1.5px solid var(--hair); }
  .svc-index { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
