/* ==========================================================================
   Tuncay Yazğan SMMM — tasarım sistemi
   Sistem fontu, saydam katmanlar, ölçüye göre tracking, kesintiye uğrayabilen
   hareket. Harici font/ikon/CDN yok.
   ========================================================================== */

/* --- Token'lar ----------------------------------------------------------- */
:root {
  --paper:        #fbfaf8;
  --paper-2:      #f3f1ec;
  --surface:      #ffffff;
  --ink:          #14161a;
  --ink-2:        #3d434b;
  --muted:        #6a7079;
  --line:         rgba(20, 22, 26, 0.10);
  --line-strong:  rgba(20, 22, 26, 0.18);

  --accent:       #2d3193;          /* logodaki lacivert */
  --accent-ink:   #1f2270;
  --accent-soft:  rgba(45, 49, 147, 0.07);
  --accent-line:  rgba(45, 49, 147, 0.22);

  --chrome:       rgba(251, 250, 248, 0.72);
  --chrome-line:  rgba(255, 255, 255, 0.55);

  --shadow-s: 0 1px 2px rgba(20, 22, 26, 0.05), 0 2px 8px rgba(20, 22, 26, 0.04);
  --shadow-m: 0 2px 6px rgba(20, 22, 26, 0.06), 0 12px 32px rgba(20, 22, 26, 0.07);
  --shadow-l: 0 4px 12px rgba(20, 22, 26, 0.08), 0 28px 64px rgba(20, 22, 26, 0.12);

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;

  --wrap: 1140px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);

  /* Kritik sönümlü (damping 1.0) — taşma yok, varsayılan */
  --spring:      280ms cubic-bezier(0.32, 0.72, 0, 1);
  --spring-slow: 460ms cubic-bezier(0.32, 0.72, 0, 1);
  /* Momentumlu hareket için hafif taşma (damping ~0.8) */
  --spring-bounce: 420ms cubic-bezier(0.34, 1.32, 0.44, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:        #0b0c0e;
    --paper-2:      #121417;
    --surface:      #16181c;
    --ink:          #f1f2f4;
    --ink-2:        #c3c7cd;
    --muted:        #9298a1;
    --line:         rgba(255, 255, 255, 0.10);
    --line-strong:  rgba(255, 255, 255, 0.20);

    --accent:       #4f7df0;
    --accent-ink:   #6d95f5;
    --accent-soft:  rgba(79, 125, 240, 0.16);
    --accent-line:  rgba(79, 125, 240, 0.36);

    --chrome:       rgba(11, 12, 14, 0.72);
    --chrome-line:  rgba(255, 255, 255, 0.10);

    --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-m: 0 2px 6px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.36);
    --shadow-l: 0 4px 12px rgba(0, 0, 0, 0.5), 0 28px 64px rgba(0, 0, 0, 0.45);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
               system-ui, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: 0;                    /* gövde metninde tracking ~0 */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Tipografi: tracking ve leading ölçüyle birlikte değişir --------------- */
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 600;
  color: var(--ink);
}

.display {
  font-size: clamp(2.4rem, 6.2vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -0.035em;             /* büyüdükçe negatif tracking */
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.08; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.022em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem);  line-height: 1.25; letter-spacing: -0.014em; }
h4 { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.008em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink-2);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.075em;              /* küçük metinde pozitif tracking */
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--accent-line);
}
.eyebrow.center { justify-content: center; }

.muted { color: var(--muted); }

/* --- Yerleşim ------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 720px; }
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.sec-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.g-svc { grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr)); }

.tint { background: var(--paper-2); }

/* --- Düğmeler: geri bildirim basışta, bırakışta değil ------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 0.97rem;
  font-weight: 550;
  letter-spacing: -0.006em;
  cursor: pointer;
  transition: transform var(--spring), background var(--spring), border-color var(--spring), opacity var(--spring);
  will-change: transform;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.968); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn-primary:hover { --btn-bg: var(--accent-ink); }
@media (prefers-color-scheme: dark) {
  .btn-primary { --btn-fg: #ffffff; }
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { --btn-bg: var(--accent-soft); border-color: var(--accent-line); }

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* Metin bağlantısı — ok jestin yönünü gösterir */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-weight: 550;
  font-size: 0.97rem;
}
.link svg { width: 0.95em; height: 0.95em; transition: transform var(--spring); }
.link:hover svg { transform: translateX(3px); }

/* --- Üst çubuk: saydam katman, içerik altından akar --------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--chrome);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--spring), box-shadow var(--spring);
}
/* Kaydırma kenarı efekti: sabit çizgi yerine, ancak içerik altına girince */
.topbar.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(20, 22, 26, 0.05);
}

.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand { display: inline-flex; align-items: center; padding-block: 0.5rem; }
.brand-logo {
  height: 2.15rem;
  width: auto;
  display: block;
}
.foot .brand-logo { height: 2.5rem; }

/* Karanlık temada siyah yazılı logoyu okunur bir zemine oturtuyoruz */
@media (prefers-color-scheme: dark) {
  .brand-logo {
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
    background: #ffffff;
  }
}

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  position: relative;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color var(--spring), background var(--spring);
}
.nav a:hover { color: var(--ink); background: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

.topbar-cta { display: flex; align-items: center; gap: 0.6rem; }

.menu-btn {
  display: none;
  width: 2.6rem; height: 2.6rem;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: transform var(--spring), background var(--spring);
}
.menu-btn:active { transform: scale(0.94); }
.menu-btn svg { width: 1.15rem; height: 1.15rem; }

@media (max-width: 900px) {
  .nav, .topbar-cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
}

/* --- Mobil menü: malzeme gibi belirir (blur + ölçek birlikte) ----------- */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  align-content: start;
  gap: 0.15rem;
  padding: 5.5rem var(--gut) 2rem;
  background: var(--chrome);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  transform-origin: top right;          /* açan düğmeden doğar */
  opacity: 0;
  transform: scale(1.03) translateY(-8px);
  pointer-events: none;
  transition: opacity var(--spring), transform var(--spring),
              -webkit-backdrop-filter var(--spring), backdrop-filter var(--spring);
}
.sheet.open { opacity: 1; transform: none; pointer-events: auto; }
.sheet a {
  padding: 0.85rem 0.25rem;
  font-size: 1.35rem;
  font-weight: 550;
  letter-spacing: -0.022em;
  border-bottom: 1px solid var(--line);
}
.sheet a:last-of-type { border-bottom: 0; }
.sheet .btn { margin-top: 1.25rem; justify-content: center; }
.sheet-close {
  position: absolute;
  top: 1.05rem; right: var(--gut);
  width: 2.6rem; height: 2.6rem;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: transform var(--spring);
}
.sheet-close:active { transform: scale(0.94); }
.sheet-close svg { width: 1.05rem; height: 1.05rem; }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(60% 60% at 70% 25%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.hero-in {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
}
@media (max-width: 940px) { .hero-in { grid-template-columns: 1fr; } }

.hero p.lead { max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero-facts div { min-width: 7rem; }
.hero-facts b {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero-facts span { font-size: 0.86rem; color: var(--muted); }

.hero-panel {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-l);
}
.panel-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.35rem;
}
.panel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.panel-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.panel-list .card-icon { margin: 0; width: 2.3rem; height: 2.3rem; flex: none; }
.panel-list dl { margin: 0; }
.panel-list dt { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.12rem; }
.panel-list dd { margin: 0; font-weight: 500; letter-spacing: -0.008em; line-height: 1.45; }
.panel-list a:hover { color: var(--accent); }

.panel-tags {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin-top: 1.6rem; padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}
.panel-tags a {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.42rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink-2);
  transition: background var(--spring), border-color var(--spring), color var(--spring), transform var(--spring);
}
.panel-tags a:hover { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.panel-tags a:active { transform: scale(0.97); }
.panel-tags svg { width: 0.85em; height: 0.85em; color: var(--accent); }

/* --- Kartlar ------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.2vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-s);
  transition: transform var(--spring), box-shadow var(--spring), border-color var(--spring);
  will-change: transform;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: var(--accent-line); }
a.card:active { transform: translateY(-1px) scale(0.994); }
.card h3 { margin-bottom: 0.45rem; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .link { margin-top: auto; padding-top: 1.1rem; }

.card-icon {
  width: 2.6rem; height: 2.6rem;
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.card-icon svg { width: 1.3rem; height: 1.3rem; }

/* Sayı kutuları */
.stat { text-align: left; }
.stat b {
  display: block;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.stat h4 { margin: 0.35rem 0 0.3rem; }
.stat p { font-size: 0.92rem; color: var(--muted); }

/* Yazı kartı */
.post-thumb {
  margin: calc(-1 * clamp(1.35rem, 2.2vw, 1.75rem));
  margin-bottom: 1.25rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-2);
  border-radius: var(--r-m) var(--r-m) 0 0;
}
.post-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--spring-slow);
}
a.card:hover .post-thumb img { transform: scale(1.035); }
.post-meta {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--muted);
  margin-bottom: 0.55rem;
}
.post-meta span::after { content: "·"; margin-left: 0.5rem; }
.post-meta span:last-child::after { content: ""; }

/* --- İlçe dizini ------------------------------------------------------- */
.ilceler {
  display: grid;
  gap: 1.25rem 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
}
.ilce {
  display: grid;
  gap: 0.28rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
}
.ilce h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  letter-spacing: -0.012em;
}
.ilce a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--spring);
}
.ilce a:hover { color: var(--accent); }

/* --- Zengin içerik (veritabanından gelen HTML) -------------------------- */
.prose { font-size: 1.075rem; line-height: 1.72; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.25em; color: var(--ink); }
.prose h3 { margin-top: 1.85em; color: var(--ink); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.18em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.15em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--accent); }
.prose img { border-radius: var(--r-m); margin: 1.75em 0; box-shadow: var(--shadow-s); }
.prose blockquote {
  margin: 1.75em 0;
  padding: 0.15em 0 0.15em 1.35em;
  border-left: 3px solid var(--accent-line);
  color: var(--ink-2);
  font-style: normal;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.75em 0; font-size: 0.95rem; }
.prose th, .prose td { padding: 0.7em 0.9em; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-weight: 600; color: var(--ink); }
.prose-scroll { overflow-x: auto; }

/* --- Sayfa başlığı ------------------------------------------------------- */
.pagehead {
  padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.9rem; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: 0.5; }

/* --- İletişim ------------------------------------------------------------ */
.contact-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { display: grid; gap: 1.15rem; margin: 0; padding: 0; list-style: none; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list .card-icon { margin: 0; width: 2.4rem; height: 2.4rem; flex: none; }
.info-list dt { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.15rem; }
.info-list dd { margin: 0; font-weight: 500; letter-spacing: -0.008em; }
.info-list a:hover { color: var(--accent); }

.field { display: block; margin-bottom: 1rem; }
.field > span { display: block; font-size: 0.85rem; font-weight: 550; margin-bottom: 0.4rem; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  transition: border-color var(--spring), box-shadow var(--spring);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field .err { display: none; margin-top: 0.35rem; font-size: 0.82rem; color: #c0392b; }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .err { display: block; }
@media (prefers-color-scheme: dark) { .field .err { color: #ff8a7a; } .field.invalid input, .field.invalid textarea { border-color: #ff8a7a; } }

.hp { position: absolute; left: -9999px; opacity: 0; }

.note {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 0.9rem 1.05rem;
  border-radius: var(--r-s);
  font-size: 0.94rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--ink-2);
}
.note svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--accent); margin-top: 0.1rem; }
.note.bad { border-color: rgba(192, 57, 43, 0.35); background: rgba(192, 57, 43, 0.07); }
.note.bad svg { color: #c0392b; }

.map {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  background: var(--paper-2);
  aspect-ratio: 16 / 10;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- CTA şeridi ---------------------------------------------------------- */
.cta {
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: var(--r-l);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.cta h2 { color: inherit; }
.cta p { color: rgba(255, 255, 255, 0.72); max-width: 52ch; }
@media (prefers-color-scheme: dark) {
  .cta { background: var(--surface); border: 1px solid var(--line); }
  .cta p { color: var(--muted); }
}
.cta .btn-ghost { --btn-fg: var(--paper); border-color: rgba(255, 255, 255, 0.28); }
.cta .btn-ghost:hover { --btn-bg: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.45); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* --- Alt bilgi ----------------------------------------------------------- */
.foot {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-block: clamp(2.75rem, 5vw, 4rem) 1.75rem;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 0.94rem;
}
.foot-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .foot-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); } }
.foot h4 { font-size: 0.8rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.foot a { color: var(--ink-2); }
.foot a:hover { color: var(--accent); }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  justify-content: space-between; align-items: center;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.86rem;
}

/* --- Hızlı iletişim: masaüstünde balon, mobilde alt çubuk ------------- */
.quick {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
}
.quick a {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  font-size: 0.93rem; font-weight: 550;
  letter-spacing: -0.006em;
  color: #fff;
  box-shadow: var(--shadow-m);
  transition: transform var(--spring), box-shadow var(--spring), background var(--spring);
  will-change: transform;
  touch-action: manipulation;
}
.quick a:active { transform: scale(0.955); }
.quick a:hover { box-shadow: var(--shadow-l); }
.quick a svg { width: 1.15rem; height: 1.15rem; flex: none; }
.quick-wa   { background: #1fab54; }
.quick-wa:hover { background: #18944a; }
.quick-call { background: var(--accent); }
.quick-call:hover { background: var(--accent-ink); }
@media (prefers-color-scheme: dark) {
  .quick-call { color: #10113a; }
}

/* Masaüstünde "Hemen ara" üst çubukta zaten var — balonda tekrar etmesin */
@media (min-width: 701px) {
  .quick .quick-call { display: none; }
}

/* Mobilde ekranın altına sabit, iki eşit düğme */
@media (max-width: 700px) {
  body { padding-bottom: 4.6rem; }
  .quick {
    right: 0; left: 0; bottom: 0;
    flex-direction: row;
    gap: 0;
    padding: 0.6rem var(--gut) calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--chrome);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--line);
  }
  .quick a { flex: 1; justify-content: center; box-shadow: none; padding-block: 0.8rem; }
  .quick a + a { margin-left: 0.6rem; }
}
@media (prefers-reduced-transparency: reduce) {
  .quick { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* --- Döviz kurları ------------------------------------------------------ */
.rates { display: grid; gap: 0.85rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.rate {
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-s);
}
.rate-kod { font-weight: 600; letter-spacing: -0.01em; }
.rate-ad  { display: block; font-size: 0.75rem; font-weight: 400; color: var(--muted); letter-spacing: 0.01em; }
.rate-deger {
  font-size: 1.35rem; font-weight: 600;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  white-space: nowrap;
}
.rate-alt { font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* --- Görünürlük animasyonu (kesintiye uğrayabilir, tek yönlü) ----------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--spring-slow), transform var(--spring-slow);
}
.reveal.in { opacity: 1; transform: none; }

.skip {
  position: absolute; left: -9999px;
  z-index: 100; padding: 0.75rem 1.1rem;
  background: var(--accent); color: #fff; border-radius: 0 0 var(--r-s) 0;
}
.skip:focus { left: 0; top: 0; }

/* --- Erişilebilirlik tercihleri ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 160ms !important;
  }
  .reveal { transform: none; transition: opacity 200ms ease; }
  .sheet { transform: none !important; }
  a.card:hover, a.card:hover .post-thumb img { transform: none; }
  .btn:active, .wa:active, .menu-btn:active { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .topbar, .sheet { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(20, 22, 26, 0.35); --line-strong: rgba(20, 22, 26, 0.6); --muted: #4a4f57; }
  .topbar, .sheet { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .card, .field input, .field textarea { border-width: 1.5px; }
}

@media print {
  .topbar, .sheet, .wa, .cta, .foot, .menu-btn { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
