/* Servis Ağı ve Hız Taahhüdü — includes/servis-agi.php (2026-11-29). Açık tema; renkler style.css :root tokenlarından. */
.sa-bolum {
  --sa-koyu: var(--lkp-koyu, #0b1220);
  --sa-turuncu: var(--lkp-turuncu, #ff6a1a);
  --sa-turuncu-metin: var(--lkp-turuncu-metin, #c2410c);
  --sa-gri: var(--lkp-gri, #646d7c);
  --sa-cizgi: #e2e8f0;
  padding: 56px 0;
  background: linear-gradient(180deg, #f5f7fb 0%, #fff 100%);
  border-top: 1px solid #e9eef5;
  border-bottom: 1px solid #e9eef5;
  color: var(--lkp-yazi, #1c2433);
}
.sa-kompakt { padding: 44px 0; }

.sa-ust { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; flex-wrap: wrap; margin-bottom: 22px; }
.sa-ust-metin { max-width: 660px; }
.sa-etiket { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--sa-turuncu-metin); margin-bottom: 6px; }
.sa-baslik { font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.35rem); font-weight: 800; line-height: 1.15; color: var(--sa-koyu); margin: 0 0 10px; letter-spacing: -.01em; }
.sa-baslik span { color: var(--sa-turuncu); }
.sa-metin { font-size: 1.02rem; line-height: 1.6; color: #3a4456; margin: 0; }
.sa-metin strong { color: var(--sa-koyu); }

.sa-rakamlar { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.sa-rakamlar li { display: flex; flex-direction: column; padding: 2px 22px; border-left: 1px solid #dbe2ec; }
.sa-rakamlar li:first-child { padding-left: 0; border-left: 0; }
.sa-rakamlar strong { font-size: 1.5rem; font-weight: 800; line-height: 1.15; color: var(--sa-koyu); white-space: nowrap; }
.sa-rakamlar .sa-rakam-vurgu strong { color: var(--sa-turuncu-metin); }
.sa-rakamlar span { font-size: .82rem; color: var(--sa-gri); }

/* Sahne + hesaplayıcı */
.sa-govde { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 992px) {
  .sa-govde { grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: stretch; }
}
.sa-sahne {
  position: relative; overflow: hidden; border-radius: 16px; border: 1px solid #e1e7ef;
  aspect-ratio: 2.2 / 1; min-height: 220px;
  background: radial-gradient(120% 95% at 50% 38%, #fff 0%, #eef2f8 100%);
  -webkit-user-select: none; user-select: none; align-self: start; width: 100%;
}
.sa-kompakt .sa-sahne { aspect-ratio: 2.4 / 1; }
@media (max-width: 767.98px) {
  .sa-sahne, .sa-kompakt .sa-sahne { aspect-ratio: 1.45 / 1; min-height: 0; }
}

.sa-svg { position: absolute; inset: 0; width: 100%; height: 100%; padding: 5% 4%; box-sizing: border-box; transition: opacity .5s ease, visibility 0s linear 0s; }
.sa-svg-kara { fill: #fff; stroke: #22324f; stroke-width: 1.3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sa-svg-golge .sa-svg-kara { fill: rgba(19, 28, 46, .10); stroke: none; }
.sa-svg-il { fill: #3a4c6b; cursor: pointer; transform-box: fill-box; transform-origin: center; transition: transform .25s ease, fill .25s ease; }
.sa-svg-il.sa-bolge-sec { fill: #ff9d63; transform: scale(1.5); }
.sa-svg-il.sa-sec { fill: var(--sa-turuncu); transform: scale(2); }
.sa-svg-merkez { fill: var(--sa-turuncu); stroke: #fff; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.sa-svg-dalga { fill: none; stroke: var(--sa-turuncu); stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: saDalga 2.4s ease-out infinite; }
.sa-svg-yay { fill: none; stroke: var(--sa-turuncu); stroke-width: 1.8; stroke-linecap: round; opacity: .5; stroke-dasharray: 5 7; vector-effect: non-scaling-stroke; animation: saAkis 1.4s linear infinite; }
.sa-svg-halka { fill: rgba(255, 106, 26, .05); stroke: var(--sa-turuncu); stroke-width: 1.2; stroke-dasharray: 5 5; opacity: .75; vector-effect: non-scaling-stroke; }
.sa-svg-secim { fill: none; stroke: var(--sa-turuncu); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
@keyframes saDalga { from { transform: scale(1); opacity: .8; } to { transform: scale(4.5); opacity: 0; } }
@keyframes saAkis { to { stroke-dashoffset: -24; } }

.sa-tuval { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; z-index: 1; opacity: 0; transition: opacity .6s ease; touch-action: pan-y; cursor: grab; }
.sa-sahne.sa-3d .sa-tuval { opacity: 1; }
.sa-sahne.sa-3d .sa-svg { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.sa-sahne.sa-surukle .sa-tuval { cursor: grabbing; }

.sa-katman { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.sa-et {
  position: absolute; left: 0; top: -8px; white-space: nowrap;
  font-size: .76rem; font-weight: 700; line-height: 1.3; color: var(--sa-koyu);
  background: rgba(255, 255, 255, .94); border: 1px solid #dfe6ef; border-radius: 999px; padding: 3px 10px;
  box-shadow: 0 4px 14px rgba(19, 28, 46, .10); opacity: 0; transition: opacity .25s ease; will-change: transform;
}
.sa-et.sa-gor { opacity: 1; }
.sa-et small { font-size: .72rem; font-weight: 700; color: var(--sa-turuncu-metin); margin-left: 6px; }
.sa-et-merkez { background: var(--sa-koyu); color: #fff; border-color: transparent; }
.sa-et-merkez small { color: #ffb17e; }
.sa-et-hedef { border-color: #ffc3a0; }
.sa-et-halka { font-size: .68rem; font-weight: 700; color: #8a4a20; background: rgba(255, 255, 255, .82); border-color: #ffd7bf; padding: 2px 8px; box-shadow: none; transform-origin: center; }
.sa-et-halka small { font-size: .68rem; }
.sa-et-ipucu { z-index: 3; font-weight: 600; }

.sa-anlatim {
  position: absolute; left: 12px; bottom: 10px; z-index: 3; max-width: calc(100% - 210px);
  font-size: .86rem; color: #3a4456; background: rgba(255, 255, 255, .9); border: 1px solid #e1e7ef; border-radius: 10px;
  padding: 6px 12px; opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.sa-anlatim.sa-gor { opacity: 1; }
.sa-anlatim strong { color: var(--sa-koyu); }
.sa-ipucu {
  position: absolute; right: 10px; bottom: 8px; z-index: 3; font-size: .74rem; color: #5d6777;
  background: rgba(255, 255, 255, .85); border-radius: 6px; padding: 2px 8px; opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.sa-sahne.sa-3d .sa-ipucu { opacity: 1; }

.sa-hesap {
  display: flex; flex-direction: column; gap: 10px; padding: 18px;
  background: #fff; border: 1px solid #e1e7ef; border-radius: 16px; box-shadow: 0 10px 30px rgba(19, 28, 46, .05);
}
.sa-hesap-etiket { font-size: .95rem; font-weight: 800; color: var(--sa-koyu); margin: 0; }
.sa-sonuc { display: flex; flex-direction: column; gap: 4px; }
.sa-sonuc-bos { font-size: .9rem; line-height: 1.5; color: var(--sa-gri); margin: 4px 0 0; }
.sa-sonuc-ust { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; }
.sa-sonuc-ad { font-size: 1.15rem; font-weight: 800; color: var(--sa-koyu); }
.sa-sonuc-alt { font-size: .82rem; color: var(--sa-gri); }
.sa-sonuc-sure { margin: 2px 0 6px; font-size: .92rem; color: #3a4456; }
.sa-sonuc-sure strong { display: block; font-size: 2rem; line-height: 1.1; font-weight: 800; color: var(--sa-turuncu-metin); }
.sa-sonuc-liste { list-style: none; margin: 0 0 12px; padding: 0; font-size: .87rem; line-height: 1.45; color: #3a4456; }
.sa-sonuc-liste li { padding: 6px 0; border-top: 1px solid #edf1f6; }
.sa-sonuc-liste strong { color: var(--sa-koyu); }
/* Küçük, tek satır buton (kullanıcı: "butonu küçült") */
.sa-sonuc .sa-sonuc-btn { align-self: flex-start; width: auto; padding: 7px 16px; font-size: .86rem; white-space: nowrap; box-shadow: 0 3px 10px rgba(255, 106, 26, .28); }

/* Mesafe kademeleri + rotalar */
.sa-alt { margin-top: 16px; }
.sa-kademeler { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sa-kademe {
  appearance: none; font: inherit; color: inherit; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 2px; padding: 12px 14px;
  background: #fff; border: 1px solid #e1e7ef; border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.sa-kademe-ad { font-size: .8rem; font-weight: 700; color: var(--sa-gri); }
.sa-kademe strong { font-size: 1.25rem; line-height: 1.2; font-weight: 800; color: var(--sa-turuncu-metin); }
.sa-kademe-il { font-size: .8rem; line-height: 1.4; color: #3a4456; }
.sa-kademe:hover, .sa-rota:hover { border-color: #ffc3a0; }
.sa-kademe:focus-visible, .sa-rota:focus-visible { outline: 2px solid var(--sa-turuncu); outline-offset: 2px; }
.sa-kademe.sa-oto, .sa-rota.sa-oto { border-color: #ffd3b9; }
.sa-kademe.sa-aktif, .sa-rota.sa-aktif { border-color: var(--sa-turuncu); box-shadow: 0 0 0 3px rgba(255, 106, 26, .15); }
@media (max-width: 767.98px) {
  .sa-kademeler { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sa-kademe { padding: 10px 12px; }
  .sa-kademe strong { font-size: 1.1rem; }
}

.sa-rotalar { margin-top: 20px; }
.sa-alt-baslik { font-size: 1rem; font-weight: 800; color: var(--sa-koyu); margin: 0 0 10px; }
.sa-rotalar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.sa-rota {
  appearance: none; font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; height: 100%;
  display: grid; align-content: start; gap: 3px; padding: 12px 14px;
  background: #fff; border: 1px solid #e1e7ef; border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.sa-rota-ad { font-weight: 800; color: var(--sa-koyu); }
.sa-rota-gun { font-size: .82rem; font-weight: 700; color: var(--sa-turuncu-metin); }
.sa-rota-yol { font-size: .85rem; line-height: 1.45; color: #3a4456; }
.sa-rota-not { font-size: .8rem; color: var(--sa-gri); }

.sa-not { font-size: .82rem; color: var(--sa-gri); margin: 14px 0 0; }
.sa-cta { margin-top: 18px; text-align: center; }

@media (max-width: 767.98px) {
  .sa-bolum, .sa-kompakt { padding: 36px 0; }
  .sa-rakamlar { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 0; }
  .sa-rakamlar li { padding: 0 0 0 14px; }
  .sa-rakamlar li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .sa-rakamlar strong { font-size: 1.3rem; }
  .sa-ipucu { display: none; }
  .sa-anlatim { max-width: calc(100% - 24px); font-size: .8rem; }
}

/* Servis talebi formuna kaydırınca yapışkan başlığın altında kalmasın */
#servis-formu, #servis-agi { scroll-margin-top: 96px; }

@media (prefers-reduced-motion: reduce) {
  .sa-svg-dalga, .sa-svg-yay { animation: none; }
  .sa-tuval, .sa-svg, .sa-et, .sa-anlatim { transition: none; }
}

/* "En çok hizmet verdiğimiz bölgeler" — harita kartının üst şeridi + yeşil bölge noktaları (2026-11-29) */
.sa-harita { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid #e1e7ef; border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 95% at 50% 45%, #fff 0%, #eef2f8 100%); }
.sa-harita .sa-sahne { border: 0; border-radius: 0; background: transparent; }
.sa-sayilar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 26px; align-items: center; padding: 16px 20px 14px;
  border-bottom: 1px solid #e6ebf2; background: rgba(255, 255, 255, .72); }
.sa-sayi-toplam strong { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; color: #22355a; letter-spacing: -.02em; }
.sa-sayi-toplam strong span { color: var(--sa-turuncu); }
.sa-sayi-toplam small { display: block; max-width: 200px; margin-top: 6px; font-size: .78rem; font-weight: 600; line-height: 1.35; color: #4a5466; }
.sa-sayi-baslik { font-size: .74rem; font-weight: 700; color: var(--sa-gri); margin-bottom: 4px; }
/* Bölge adları TEK SATIR (kullanıcı: "patlamasın") — sütun en az "Güneydoğu Anadolu" + sayı kadar geniş */
.sa-sayi-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 20px; }
.sa-bolge-sayi { appearance: none; font: inherit; color: inherit; cursor: pointer; text-align: left; background: none; border: 0; border-bottom: 1px solid #e6ebf2;
  display: flex; align-items: center; gap: 8px; padding: 7px 2px; border-radius: 0; transition: border-color .2s ease; }
.sa-bolge-sayi > span { flex: 1; min-width: 0; font-size: .82rem; font-weight: 600; line-height: 1.25; color: #3a4456; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-bolge-sayi b { white-space: nowrap; }
.sa-ad-kisa { display: none; }
/* Liste alanı darsa (konteyner sorgusu): kısa ad ("Güneydoğu") + daha dar sütun → 3–4 sütun, yine tek satır */
.sa-sayi-sag { min-width: 0; container-type: inline-size; }
@container (max-width: 779px) {
  .sa-sayi-liste { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .sa-ad-uzun { display: none; }
  .sa-ad-kisa { display: inline; }
}
.sa-bolge-sayi b { font-size: .92rem; font-weight: 800; color: #22355a; }
.sa-bolge-sayi:hover > span { color: var(--sa-koyu); }
.sa-bolge-sayi:focus-visible { outline: 2px solid #22c55e; outline-offset: 2px; }
.sa-bolge-sayi.sa-oto { border-bottom-color: #bbf7d0; }
.sa-bolge-sayi.sa-aktif { border-bottom-color: #22c55e; }
.sa-bolge-sayi.sa-aktif b { color: #15803d; }
.sa-yesil { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: saYesil 2.4s ease-out infinite; }
@keyframes saYesil { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.sa-svg-yesil { fill: #22c55e; fill-opacity: .8; stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; cursor: pointer; }
.sa-et small.sa-et-yesil { color: #15803d; }
@media (max-width: 767.98px) {
  .sa-sayilar { grid-template-columns: 1fr; padding: 14px 14px 10px; }
  .sa-sayi-toplam { display: flex; align-items: baseline; gap: 10px; }
  .sa-sayi-toplam strong { font-size: 1.9rem; }
  .sa-sayi-toplam small { margin-top: 0; max-width: none; }
  .sa-sayi-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .sa-ad-uzun { display: none; }
  .sa-ad-kisa { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .sa-yesil { animation: none; } }

/* Panelin altındaki "Ücretsiz Verimlilik Analizi" çağrısı — boş alanı doldurur, sonuç gelince altta kalır */
.sa-hesap-va { margin-top: auto; padding-top: 14px; border-top: 1px solid #edf1f6; }
.sa-hesap-va strong { display: block; font-size: .9rem; font-weight: 800; color: var(--sa-koyu); }
.sa-hesap-va p { margin: 4px 0 10px; font-size: .82rem; line-height: 1.45; color: #4a5466; }
.sa-hesap-va .sa-va-btn { font-size: .84rem; padding: 7px 18px; white-space: nowrap; }
