/* ==========================================================================
   Mersin Hurdacılık Geri Dönüşüm — tek stil dosyası
   Mobil öncelikli, sistem fontlu (harici font isteği yok), WCAG AA kontrast.
   ========================================================================== */

:root {
  /* Renk — tümü beyaz üzerinde en az 4.5:1 kontrast verecek şekilde seçildi. */
  --brand: #0b5c3e;          /* 8.0:1 */
  --brand-dark: #084731;
  --brand-tint: #eaf3ee;
  --brand-tint-2: #d5e7de;
  --wa: #0f6f62;             /* 6.0:1 — WhatsApp aksiyonları */
  --wa-dark: #0b574d;

  --ink: #14181b;
  --ink-2: #4c565c;          /* 7.5:1 */
  --ink-3: #6b757a;

  --surface: #ffffff;
  --surface-2: #f5f7f6;
  --surface-3: #eceff0;
  --line: #dde3e1;
  --line-strong: #c3cdc8;

  --focus: #14607f;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(20, 24, 27, .06), 0 6px 20px rgba(20, 24, 27, .06);

  --wrap: 74rem;
  --gap: clamp(1rem, 3vw, 2rem);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  /* Sabit mobil çubuğun içeriği örtmemesi için. */
  padding-bottom: env(safe-area-inset-bottom);
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

a {
  color: var(--brand);
  text-underline-offset: .18em;
}
a:hover { color: var(--brand-dark); }

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

h1, h2, h3, h4 {
  line-height: 1.22;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.75rem, 1.15rem + 2.6vw, 2.85rem); }
h2 { font-size: clamp(1.35rem, 1.06rem + 1.25vw, 1.9rem); margin-top: 2.2rem; }
h3 { font-size: clamp(1.1rem, .99rem + .5vw, 1.3rem); margin-top: 1.6rem; }
h4 { font-size: 1.02rem; margin-top: 1.2rem; }

p, ul, ol, table, figure { margin: 0 0 1.1rem; }
p { text-wrap: pretty; }
ul, ol { padding-left: 1.35rem; }
li + li { margin-top: .35rem; }
strong { font-weight: 650; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; color: #fff; }

.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;
}

/* ── İkon ──────────────────────────────────────────────────────────────── */

.ico {
  display: inline-flex;
  flex: none;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -.18em;
}
.ico svg { width: 100%; height: 100%; }

/* ── Butonlar ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  /* Dokunma hedefi en az 44px. */
  min-height: 2.9rem;
  padding: .65rem 1.15rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--brand-tint); border-color: var(--brand); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--brand-tint); color: var(--brand-dark); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.25rem 0 0;
}

/* ── Başlık ────────────────────────────────────────────────────────────── */

.topbar {
  background: var(--brand-dark);
  color: #e7f1ec;
  font-size: .875rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.4rem;
  padding-block: .3rem;
}
.topbar__note { margin: 0; }
.topbar__tel {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.4rem;
  padding-inline: .25rem;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.topbar__tel:hover { color: #fff; text-decoration: underline; }
@media (max-width: 40rem) {
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
}

.site-head {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.head__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: .7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand__mark { width: 42px; height: 42px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.05rem; letter-spacing: -.01em; }
.brand__text span { font-size: .8rem; color: var(--ink-2); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .5rem .9rem;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .15rem;
}
.nav a {
  display: block;
  padding: .55rem .7rem;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  font-size: .95rem;
}
.nav a:hover { background: var(--brand-tint); color: var(--brand-dark); }
.nav a[aria-current="page"] {
  background: var(--brand-tint);
  color: var(--brand-dark);
  box-shadow: inset 0 -2px 0 var(--brand);
}

@media (max-width: 63.99rem) {
  .nav {
    flex-basis: 100%;
    display: none;
  }
  .nav[data-open="true"] { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding-block: .4rem; }
  .nav a {
    padding: .8rem .6rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
}
@media (min-width: 64rem) {
  .nav-toggle { display: none; }
  .nav { display: block !important; }
}

/* ── Breadcrumb ────────────────────────────────────────────────────────── */

.crumbs {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0;
  padding: .6rem 0;
}
.crumbs li + li::before {
  content: "›";
  margin-right: .35rem;
  color: var(--ink-3);
}
.crumbs a { color: var(--ink-2); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ── Bölüm iskeleti ────────────────────────────────────────────────────── */

section { padding-block: clamp(2.25rem, 5vw, 3.75rem); }
section.tight { padding-block: clamp(1.5rem, 3vw, 2.25rem); }
section.alt { background: var(--surface-2); }
section.brandish { background: var(--brand-tint); }

.section-head { max-width: 46rem; margin-bottom: 1.75rem; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--ink-2); margin-bottom: 0; }

.prose { max-width: 44rem; }
.prose h2:first-child { margin-top: 0; }

.lead {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem);
  color: var(--ink-2);
}

.note {
  border-left: 4px solid var(--brand);
  background: var(--brand-tint);
  padding: .9rem 1.1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.25rem 0;
}
.note p:last-child { margin-bottom: 0; }

.warn {
  border-left: 4px solid #8a4b0f;
  background: #fdf4e8;
  padding: .9rem 1.1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.25rem 0;
}
.warn p:last-child { margin-bottom: 0; }

/* ── Kahraman bölüm ────────────────────────────────────────────────────── */

.hero { padding-block: clamp(2rem, 4vw, 3.25rem); }
.hero__grid {
  display: grid;
  gap: var(--gap);
  align-items: center;
}
@media (min-width: 56rem) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}
.hero h1 { margin-top: 0; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero__points {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: .5rem;
}
.hero__points li {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  color: var(--ink-2);
}
.hero__points li::before {
  content: "";
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .28rem;
  border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='m10 15.2-3.6-3.6-1.4 1.4L10 18l9-9-1.4-1.4z'/%3E%3C/svg%3E") center/72% no-repeat;
}

.page-head { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-top: 0; }
.page-head .lead { margin-bottom: 0; max-width: 48rem; }
.page-head .btn-row { margin-top: 1.5rem; }

/* ── Kart ızgaraları ───────────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}
.grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.grid--tight { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--brand); }
.card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card__body { padding: 1rem 1.15rem 1.15rem; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin: 0 0 .4rem; font-size: 1.08rem; }
/* Kart başlığı ve "daha fazla" bağlantısı, dokunma hedefi en az ~44px olacak
   şekilde blok halinde ve dikey boşlukla veriliyor. */
.card__body h3 a { display: block; padding-block: .35rem; text-decoration: none; }
.card__body h3 a:hover { text-decoration: underline; }
.card__body p { color: var(--ink-2); font-size: .94rem; margin-bottom: .75rem; }
.card__more {
  display: inline-block;
  margin-top: auto;
  padding-block: .5rem;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
}
.card__more::after { content: " →"; }

.card--flat { border-radius: var(--radius); }
.card--flat .card__body { padding: 1rem; }

/* Bağlantı listesi (ilçe/hurda türü kısayolları) */
.linklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
}
.linklist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 2.9rem;
  padding: .6rem .9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  font-weight: 550;
  font-size: .95rem;
}
.linklist a:hover { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-dark); }
.linklist a::after { content: "→"; color: var(--brand); }
.linklist li { margin: 0; }

/* ── Adım listesi ──────────────────────────────────────────────────────── */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}
.steps li {
  counter-increment: step;
  margin: 0;
  padding: 1.15rem 1.15rem 1.15rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: .6rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
}
.steps h3 { margin: 0 0 .35rem; font-size: 1.02rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: .94rem; }

/* ── Özellik listesi (etiket + açıklama) ───────────────────────────────── */

.deflist { margin: 0; }
.deflist > div {
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}
.deflist > div:first-child { border-top: 1px solid var(--line); }
.deflist dt { font-weight: 650; margin-bottom: .2rem; }
.deflist dd { margin: 0; color: var(--ink-2); }

/* ── Tablo ─────────────────────────────────────────────────────────────── */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1.1rem;
}
table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: .94rem;
  margin: 0;
}
caption {
  text-align: left;
  padding: .75rem .9rem;
  color: var(--ink-2);
  font-size: .9rem;
  border-bottom: 1px solid var(--line);
}
th, td {
  text-align: left;
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th { background: var(--surface-2); font-weight: 650; }
tbody tr:last-child td { border-bottom: 0; }

/* ── SSS (JavaScript'siz) ──────────────────────────────────────────────── */

.faq { display: grid; gap: .6rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq details[open] { border-color: var(--brand); }
.faq summary {
  cursor: pointer;
  padding: .9rem 1.05rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  min-height: 2.9rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--brand);
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { background: var(--surface-2); }
.faq .faq__answer { padding: 0 1.05rem 1rem; color: var(--ink-2); }
.faq .faq__answer p:last-child { margin-bottom: 0; }

/* ── CTA bloğu ─────────────────────────────────────────────────────────── */

.cta { background: var(--brand); color: #fff; padding-block: clamp(2rem, 4vw, 3rem); }
.cta__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 52rem) {
  .cta__inner { grid-template-columns: 1.1fr .9fr; }
}
.cta h2 { margin: 0 0 .4rem; color: #fff; }
.cta p { margin: 0; color: #dcece4; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta .btn--primary { background: #fff; color: var(--brand-dark); }
.cta .btn--primary:hover { background: var(--brand-tint); color: var(--brand-dark); }
.cta .btn--wa { background: var(--wa-dark); color: #fff; border-color: rgba(255,255,255,.35); }
.cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

/* ── Rozet ─────────────────────────────────────────────────────────────── */

.badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  background: var(--brand-tint-2);
  color: var(--brand-dark);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .01em;
}
.badge--muted { background: var(--surface-3); color: var(--ink-2); }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
  font-size: .85rem;
  color: var(--ink-2);
  margin-bottom: 1rem;
}
.meta time { white-space: nowrap; }

/* ── Galeri ────────────────────────────────────────────────────────────── */

.gallery {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
.gallery li { margin: 0; }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.gallery figcaption {
  margin-top: .4rem;
  font-size: .85rem;
  color: var(--ink-2);
}

/* ── Form ──────────────────────────────────────────────────────────────── */

.form {
  display: grid;
  gap: 1.1rem;
  max-width: 40rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 3vw, 1.75rem);
}
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-2); }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: .65rem .75rem;
  min-height: 2.9rem;
  width: 100%;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { border-color: var(--focus); }
.field--error input,
.field--error select,
.field--error textarea { border-color: #a52a15; }
.field .error {
  font-size: .85rem;
  color: #8f2411;
  font-weight: 600;
}
.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .6rem;
}
.field--check input { width: 1.2rem; height: 1.2rem; min-height: 0; margin-top: .28rem; }
.field--check label { font-weight: 450; font-size: .92rem; }

.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 40rem) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
}

.form__status {
  padding: .9rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.form__status[data-state="ok"] { background: var(--brand-tint); color: var(--brand-dark); }
.form__status[data-state="error"] { background: #fdecea; color: #8f2411; }
.form__status[hidden] { display: none; }

/* Bot tuzağı — ekran okuyuculardan da gizli, gerçek kullanıcı doldurmaz. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── İletişim kartları ─────────────────────────────────────────────────── */

.contact-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
}
.contact-card h3 { margin: 0 0 .5rem; font-size: 1rem; display: flex; align-items: center; gap: .5rem; }
.contact-card p { margin: 0 0 .3rem; }
.contact-card .todo { color: var(--ink-2); font-size: .9rem; }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
}
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-placeholder {
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--ink-2);
}

/* ── Altbilgi ──────────────────────────────────────────────────────────── */

.site-foot {
  margin-top: 0;
  background: var(--ink);
  color: #ced7d3;
  font-size: .93rem;
}
.foot__grid {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.foot__col h2 {
  margin: 0 0 .9rem;
  font-size: 1rem;
  color: #fff;
  letter-spacing: .01em;
}
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col li { margin: 0 0 .1rem; }
.foot__col a {
  display: inline-block;
  padding: .45rem 0;
  color: #ced7d3;
  text-decoration: none;
}
.foot__col a:hover { color: #fff; text-decoration: underline; }
.foot__cols-2 { columns: 2; column-gap: 1rem; }
@media (max-width: 30rem) { .foot__cols-2 { columns: 1; } }

.foot__col--nap address { font-style: normal; }
.foot__col--nap address p {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  margin: 0 0 .5rem;
}
.foot__col--nap .ico { color: #86b9a2; margin-top: .22rem; }
.foot__todo { color: #9aa5a1; font-size: .87rem; }
.foot__social { display: flex; gap: 1rem; margin-top: .75rem; list-style: none; padding: 0; }

.foot__legal { border-top: 1px solid #2a3134; }
.foot__legal-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  font-size: .87rem;
}
.foot__legal p { margin: 0; }
.foot__legal ul { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.foot__legal li { margin: 0; }
.foot__legal a { color: #ced7d3; }

/* ── Sabit mobil eylem çubuğu ──────────────────────────────────────────── */

.mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -2px 12px rgba(20, 24, 27, .1);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  min-height: 3.4rem;
  padding: .4rem;
  color: var(--ink);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 600;
}
.mobile-bar a + a { border-left: 1px solid var(--line); }
.mobile-bar a:hover { background: var(--brand-tint); }
.mobile-bar .ico { width: 1.35rem; height: 1.35rem; color: var(--brand); }
.mobile-bar a[data-cta="wa"] .ico { color: var(--wa); }

@media (min-width: 48rem) {
  .mobile-bar { display: none; }
}
@media (max-width: 47.99rem) {
  /* Sabit çubuğun içeriğin son satırını örtmemesi için. */
  body { padding-bottom: calc(3.4rem + env(safe-area-inset-bottom)); }
}

/* ── Yardımcılar ───────────────────────────────────────────────────────── */

.stack > * + * { margin-top: 1.1rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-2); }
.center { text-align: center; }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.pill-row li { margin: 0; }
.pill-row a {
  display: inline-block;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
}
.pill-row a:hover { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-dark); }

/* Rehber yazısı kapak görseli */
.post-cover {
  width: 100%;
  max-width: 60rem;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.error-page { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }
.error-page .code {
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin: 0 0 .5rem;
}
