/* İzmir Teknik ekosistemi — mobil öncelikli tema (§42)
   Tek dosya, dış bağımlılık yok; ağ isteği ve CLS minimumda tutulur (§41). */

:root {
  --ink: #0f1b2d;
  --ink-2: #4a5b70;
  --bg: #ffffff;
  --bg-2: #f4f7fa;
  --cizgi: #dde5ee;
  --vurgu: #c0392b;
  --vurgu-koyu: #96291d;
  --mavi: #14456e;
  --yesil: #1f8a4c;
  --r: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  padding-bottom: 68px; /* mobil çubuk payı */
}

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

a { color: var(--mavi); }

.kap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 18px; }

.atla {
  position: absolute; left: -9999px;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.atla:focus { left: 12px; top: 12px; }

/* ---------- Üst ---------- */
.ust { background: var(--mavi); color: #fff; position: sticky; top: 0; z-index: 40; }
.ust-ic { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.logo { color: #fff; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: .2px; }
.ust-tel { color: #fff; text-decoration: none; text-align: right; line-height: 1.15; }
.ust-tel-etiket { display: block; font-size: 11px; opacity: .8; text-transform: uppercase; letter-spacing: .5px; }
.ust-tel-no { display: block; font-weight: 800; font-size: 17px; }

/* ---------- Kahraman ---------- */
.kahraman { background: linear-gradient(180deg, #14456e 0%, #0f3556 100%); color: #fff; padding: 34px 0 30px; }
.kahraman h1 { font-size: 27px; line-height: 1.25; font-weight: 800; margin-bottom: 12px; }
.kahraman .ozet { font-size: 16px; opacity: .93; max-width: 62ch; }
.rozetler { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rozet { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }

.cta-satir { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 14px 22px; border-radius: var(--r); font-size: 16px; }
.btn-ana { background: var(--vurgu); color: #fff; }
.btn-ana:hover { background: var(--vurgu-koyu); }
.btn-ikincil { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }

/* ---------- Bölümler ---------- */
.bolum { padding: 34px 0; }
.bolum-gri { background: var(--bg-2); }
.bolum h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.bolum h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.bolum p + p { margin-top: 10px; }
.bolum .giris { color: var(--ink-2); max-width: 68ch; margin-bottom: 18px; }

.izgara { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 700px) { .izgara-2 { grid-template-columns: repeat(2, 1fr); } .izgara-3 { grid-template-columns: repeat(3, 1fr); } }

.kart { background: #fff; border: 1px solid var(--cizgi); border-radius: var(--r); padding: 18px; }
.bolum-gri .kart { background: #fff; }
.kart p { color: var(--ink-2); font-size: 15px; }
.kart-baslik { font-weight: 700; margin-bottom: 6px; color: var(--ink); }

/* ---------- Şube kutusu ---------- */
.sube { border: 1px solid var(--cizgi); border-left: 4px solid var(--vurgu); border-radius: var(--r); padding: 20px; background: #fff; }
.sube-satir { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--cizgi); font-size: 15px; }
.sube-satir:last-child { border-bottom: 0; }
.sube-etiket { min-width: 108px; color: var(--ink-2); font-weight: 600; }

/* ---------- Liste ---------- */
.olcek { list-style: none; }
.olcek li { padding: 9px 0 9px 26px; position: relative; border-bottom: 1px solid var(--cizgi); font-size: 15px; }
.olcek li:last-child { border-bottom: 0; }
.olcek li::before { content: ""; position: absolute; left: 6px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--vurgu); }

/* ---------- Hata kodu tablosu ---------- */
.tablo-sar { overflow-x: auto; border: 1px solid var(--cizgi); border-radius: var(--r); }
table.kod { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
table.kod th, table.kod td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--cizgi); vertical-align: top; }
table.kod th { background: var(--bg-2); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: var(--ink-2); }
table.kod tr:last-child td { border-bottom: 0; }
table.kod td.kod-no { font-weight: 800; color: var(--vurgu); white-space: nowrap; }

/* ---------- SSS ---------- */
.sss details { border: 1px solid var(--cizgi); border-radius: var(--r); padding: 14px 16px; background: #fff; margin-bottom: 10px; }
.sss summary { font-weight: 700; cursor: pointer; }
.sss details p { margin-top: 9px; color: var(--ink-2); font-size: 15px; }

/* ---------- Alt ---------- */
.alt { background: var(--ink); color: #c8d4e2; padding: 30px 0 24px; margin-top: 16px; }
.alt-izgara { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .alt-izgara { grid-template-columns: repeat(3, 1fr); } }
.alt-baslik { color: #fff; font-weight: 700; margin-bottom: 8px; }
.alt-metin { font-size: 14px; }
.alt a { color: #a9c6e4; }
.alt-cizgi { border-top: 1px solid rgba(255,255,255,.13); margin-top: 22px; padding-top: 14px; }
.alt-kucuk { font-size: 12.5px; color: #8fa2b6; }
.alt-kucuk + .alt-kucuk { margin-top: 6px; }

/* ---------- Mobil çubuk ---------- */
.mobil-cubuk { position: fixed; left: 0; right: 0; bottom: 0; display: flex; gap: 1px; background: var(--cizgi); z-index: 50; box-shadow: 0 -3px 14px rgba(0,0,0,.13); }
.mc-buton { flex: 1; text-align: center; padding: 16px 8px; font-weight: 800; text-decoration: none; color: #fff; font-size: 15px; }
.mc-ara { background: var(--vurgu); }
.mc-wa { background: var(--yesil); }
@media (min-width: 860px) { .mobil-cubuk { display: none; } body { padding-bottom: 0; } }

/* ---------- Basit durum sayfaları ---------- */
.orta { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 18px; }
.orta h1 { font-size: 23px; margin-bottom: 10px; }
.orta p { color: var(--ink-2); margin-bottom: 20px; }
