/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Firefox: ince ve sabit scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  overflow-x: hidden;
}

/* Drawer/modal açıkken js/components/scroll-lock.js tarafından eklenir.
   position:fixed zaten scroll'u kilitler; overflow burada ek güvence. */
html.scroll-locked {
  overflow: hidden;
}
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  /* İç şeritlerin negatif margin'inden doğan yatay taşmayı kes.
     'clip' kullanıyoruz ki sticky header bozulmasın. */
  overflow-x: clip;
}

/* WebKit (Chrome/Safari/Edge): ince, sade dikey scrollbar */
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
  border: 2px solid var(--bg);
}
html::-webkit-scrollbar-thumb:hover { background: #cbd0d8; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; }

/* iOS Safari, 16px'ten küçük fontlu bir alana odaklanınca sayfayı
   otomatik yakınlaştırır. Dokunmatik cihazlarda tüm form kontrollerini
   16px'e sabitleyerek bu zoom'u engelliyoruz. !important, bileşenlerin
   daha spesifik 14px kurallarını da ezmesi için. */
@media (pointer: coarse) {
  input,
  input[type],
  select,
  textarea,
  .form-field input,
  .form-field textarea,
  .callback-form input,
  .callback-form textarea {
    font-size: 16px !important;
  }
}

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

/* Klavye kullanıcıları için "Ana içeriğe geç" bağlantısı */
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .15s ease;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-head h2 { font-size: 34px; margin-bottom: 12px; }
.section-desc { color: var(--text-muted); font-size: 16px; }

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
}
