/* Kalistack — kurumsal sayfa widget'ları
   Palet: koyu #083C64 · ikinci renk #f5821f · yumuşak zemin #EAF2F8
   Buradaki değerler yalnızca varsayılan; renk ve ölçüler Elementor'dan gelir. */

.ksp, .ksp *, .ksp *::before, .ksp *::after { box-sizing: border-box; }
.ksp { font-family: inherit; }

/* Tam genişlik: kapsayıcıdan taşıp ekranı kaplar */
.ksp-tam {
  /* 100vw dikey kaydirma cubugunu da sayar ve yatay tasma yaratir;
     --ksp-sb degiskenini pages.js olcup ayarlar. */
  width: calc(100vw - var(--ksp-sb, 0px));
  margin-left: calc(50% - 50vw + var(--ksp-sb, 0px) / 2);
  margin-right: calc(50% - 50vw + var(--ksp-sb, 0px) / 2);
  max-width: none;
}

/* ---------- 1) Sayfa hero ---------- */
.ksp-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 24px;
  background-color: var(--ksp-bg1, #083C64);
}
.ksp-hero.ksp-zemin-gradyan {
  background-image: linear-gradient(var(--ksp-bg-aci, 130deg), var(--ksp-bg1, #083C64) 0%, var(--ksp-bg2, #0C5688) 100%);
}
.ksp-hero.ksp-zemin-acik { background-color: var(--ksp-bg1, #EAF2F8); }
.ksp-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--ksp-bg-img, none);
  background-size: cover; background-position: center;
  opacity: var(--ksp-bg-img-op, .18);
  pointer-events: none;
}
.ksp-hero-ic { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; text-align: center; }

.ksp-rozet {
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 12px; margin-bottom: 18px;
  border-radius: 7px;
  background: #f5821f; color: #FFFFFF;
  font-size: 11.5px; font-weight: 800; letter-spacing: .07em;
}
.ksp-hero-baslik {
  margin: 0 0 16px;
  font-size: 42px; font-weight: 800; line-height: 1.14;
  letter-spacing: -.025em; color: #fff;
}
.ksp-vurgu { color: #f5821f; }
.ksp-hero-aciklama {
  margin: 0 auto; max-width: 62ch;
  font-size: 16px; line-height: 1.7; color: #B9CEE0;
}
.ksp-hero-ic[style*="left"] .ksp-hero-aciklama,
.ksp-hero-ic[style*="right"] .ksp-hero-aciklama { margin-left: 0; margin-right: 0; }

.ksp-hero-dugmeler { display: flex; flex-wrap: wrap; gap: 12px; justify-content: inherit; margin-top: 28px; }
.ksp-hero-ic { display: block; }
.ksp-hero-dugmeler { justify-content: center; }
.ksp-hero-ic[style*="text-align: left"] .ksp-hero-dugmeler { justify-content: flex-start; }
.ksp-hero-ic[style*="text-align: right"] .ksp-hero-dugmeler { justify-content: flex-end; }

.ksp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 28px;
  border: 0; border-radius: 10px;
  background: #f5821f; color: #FFFFFF !important;
  font-size: 14.5px; font-weight: 700; text-decoration: none !important;
  transition: filter .15s ease, background-color .15s ease;
}
.ksp-btn:hover { filter: brightness(.94); }
.ksp-btn-cizgi {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, .45);
  color: #fff !important;
}
.ksp-btn-cizgi:hover { background: rgba(255, 255, 255, .1) !important; filter: none; }

@media (max-width: 767px) {
  .ksp-hero { padding: 52px 18px; }
  .ksp-hero-baslik { font-size: 28px; }
}

/* ---------- 2) Sayı şeridi ---------- */
.ksp-sayi-serit { background: #083C64; border-radius: 16px; padding: 40px 24px; }
.ksp-sayilar {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1160px; margin: 0 auto;
}
.ksp-sayi { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 6px 14px; text-align: center; }
.ksp-sayilar--cizgili .ksp-sayi + .ksp-sayi { border-left: 1px solid rgba(255, 255, 255, .14); }
.ksp-sayi-ikon { font-size: 22px; color: #f5821f; line-height: 1; margin-bottom: 4px; }
.ksp-sayi-ikon svg { width: 1em; height: 1em; fill: currentColor; }
.ksp-sayi-deger { font-size: 32px; font-weight: 800; line-height: 1.05; color: #fff; letter-spacing: -.02em; }
.ksp-sayi-etiket { font-size: 13px; font-weight: 600; color: #A9C4D8; }

@media (max-width: 600px) {
  .ksp-sayilar--cizgili .ksp-sayi + .ksp-sayi { border-left: 0; }
}

/* ---------- 3) Logo duvarı ---------- */
.ksp-logolar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; max-width: 1160px; margin: 0 auto; }
.ksp-logo {
  display: flex; align-items: center; justify-content: center;
  height: 92px; padding: 14px;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 12px;
  text-decoration: none !important;
  transition: border-color .15s ease, transform .15s ease;
}
.ksp-logo:hover { border-color: #C7D6E4; }
.ksp-logo img { max-height: 44px; max-width: 100%; width: auto; object-fit: contain; }
.ksp-logolar--gri .ksp-logo img { filter: grayscale(1); opacity: .72; transition: filter .18s ease, opacity .18s ease; }
.ksp-logolar--gri .ksp-logo:hover img { filter: none; opacity: 1; }
.ksp-logo-ad { font-size: 15px; font-weight: 700; color: #083C64; text-align: center; }

/* ---------- 4) Referans kartları ---------- */
.ksp-vakalar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1160px; margin: 0 auto; }
.ksp-vaka {
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 16px;
  padding: 26px 24px;
  transition: transform .16s ease, box-shadow .16s ease;
}
/* hover golgesi kullanilmaz — asagida kenarlik degisimi var */
.ksp-vaka-gorsel { margin-bottom: 16px; }
.ksp-vaka-gorsel img { max-height: 40px; width: auto; object-fit: contain; }
.ksp-vaka-sektor {
  display: inline-flex; align-items: center; height: 23px; padding: 0 10px;
  border-radius: 6px; background: #EAF2F8; color: #083C64;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
}
.ksp-vaka-baslik { margin: 12px 0 8px; font-size: 19px; font-weight: 800; color: #083C64; line-height: 1.28; letter-spacing: -.01em; }
.ksp-vaka-aciklama { margin: 0 0 16px; font-size: 14px; line-height: 1.65; color: #5A6B7B; }
.ksp-vaka-sonuc {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 9px;
  background: #F7FAFD; color: #0C5688;
  font-size: 13px; font-weight: 700;
}
.ksp-vaka-sonuc::before { content: "▲"; font-size: 9px; }
.ksp-vaka-link { margin-top: 14px; font-size: 13.5px; font-weight: 700; color: #0C5688; text-decoration: none !important; }
.ksp-vaka-link:hover { text-decoration: underline !important; }

/* ---------- 5) Müşteri görüşleri ---------- */
.ksp-gorusler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1160px; margin: 0 auto; }
.ksp-gorus {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 16px;
  padding: 26px 24px;
}
.ksp-gorus::before {
  content: "\201C";
  position: absolute; top: 6px; right: 18px;
  font-size: 62px; line-height: 1; color: #EAF2F8;
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
}
.ksp-yildizlar { display: flex; gap: 2px; margin-bottom: 12px; }
.ksp-yildiz { color: #f5821f; font-size: 14px; line-height: 1; }
.ksp-gorus-metin { position: relative; z-index: 1; margin: 0 0 20px; font-size: 14.5px; line-height: 1.7; color: #2F4356; }
.ksp-gorus-kisi { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.ksp-gorus-avatar {
  width: var(--ksp-avatar, 44px); height: var(--ksp-avatar, 44px);
  border-radius: 50%; object-fit: cover; flex: 0 0 auto;
}
.ksp-gorus-avatar--harf {
  display: inline-flex; align-items: center; justify-content: center;
  background: #EAF2F8; color: #083C64;
  font-size: 17px; font-weight: 800;
}
.ksp-gorus-kimlik { display: flex; flex-direction: column; min-width: 0; }
.ksp-gorus-ad { font-size: 14px; font-weight: 700; color: #083C64; line-height: 1.3; }
.ksp-gorus-unvan { font-size: 12.5px; color: #7A8C9C; }

/* ---------- 6) Sayfa üstü: slider + yan bloklar ---------- */
.ksp-ust { background: #F2F6FA; padding: 28px 20px; }
.ksp-ust-ic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
  align-items: stretch;
}

.ksp-slider { position: relative; border-radius: 16px; overflow: hidden; }
.ksp-slaytlar { position: relative; height: 100%; }
.ksp-slayt {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  min-height: 360px; padding: 44px;
  background-color: var(--s-bg1, #083C64);
  background-image: linear-gradient(130deg, var(--s-bg1, #083C64) 0%, var(--s-bg2, #0C5688) 100%);
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease;
}
.ksp-slayt.ksp-aktif { position: relative; opacity: 1; visibility: visible; }
.ksp-slayt::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--s-img, none);
  background-size: cover; background-position: center;
  opacity: var(--s-img-op, .2);
  pointer-events: none;
}
.ksp-slayt > * { position: relative; z-index: 2; }
.ksp-slayt-baslik {
  margin: 0 0 12px;
  font-size: 34px; font-weight: 800; line-height: 1.16;
  letter-spacing: -.02em; color: #fff;
}
.ksp-slayt-aciklama { margin: 0 0 22px; max-width: 52ch; font-size: 15px; line-height: 1.65; color: #C3D6E4; }
.ksp-slayt .ksp-btn { background: #f5821f; color: #fff !important; }

.ksp-noktalar {
  position: absolute; left: 44px; bottom: 22px; z-index: 5;
  display: flex; gap: 7px;
}
.ksp-nokta {
  width: 22px; height: 4px; padding: 0;
  border: 0; border-radius: 3px;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.ksp-nokta.ksp-aktif { background: #f5821f; width: 34px; }

.ksp-yan { display: flex; flex-direction: column; gap: 20px; }
.ksp-yan-blok {
  flex: 1 1 0;
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 16px;
  padding: 22px 20px;
}
.ksp-yan-ikon { font-size: 22px; color: #f5821f; line-height: 1; margin-bottom: 12px; }
.ksp-yan-ikon svg { width: 1em; height: 1em; fill: currentColor; }
.ksp-yan-baslik { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: #083C64; line-height: 1.3; }
.ksp-yan-metin { margin: 0; font-size: 13.5px; line-height: 1.6; color: #5A6B7B; }
.ksp-yan-link { margin-top: 12px; font-size: 13px; font-weight: 700; color: #f5821f; text-decoration: none !important; }
.ksp-yan-link:hover { text-decoration: underline !important; }

@media (max-width: 991px) {
  .ksp-ust-ic { grid-template-columns: minmax(0, 1fr) !important; }
  .ksp-yan { flex-direction: row; flex-wrap: wrap; }
  .ksp-yan-blok { flex: 1 1 240px; }
}
@media (max-width: 767px) {
  .ksp-ust { padding: 16px 14px; }
  .ksp-slayt { padding: 30px 22px; min-height: 260px; }
  .ksp-slayt-baslik { font-size: 24px; }
  .ksp-noktalar { left: 22px; bottom: 16px; }
}

/* ---------- Hover: gölge kullanılmaz, yalnızca kenarlık koyulaşır ---------- */
.ksp-hover .ksp-vaka:hover,
.ksp-logo:hover,
.ksp-gorus:hover { transform: none; box-shadow: none; border-color: #C7D6E4; }

/* ---------- 7) Metin + Görsel ---------- */
.ksp-split { background: #fff; padding: 64px 20px; }
.ksp-split-ic {
  display: grid;
  grid-template-columns: var(--ksp-oran, 52%) minmax(0, 1fr);
  gap: 48px; align-items: center;
  max-width: 1160px; margin: 0 auto;
}
.ksp-split-ic.ksp-split--sol { grid-template-columns: minmax(0, 1fr) var(--ksp-oran, 52%); }
.ksp-split-ic.ksp-split--sol .ksp-split-metin-kol { order: 2; }
.ksp-split-ic.ksp-split--sol .ksp-split-yan { order: 1; }

.ksp-split-ust {
  display: block; margin-bottom: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .1em;
  color: #f5821f; text-transform: uppercase;
}
.ksp-split-baslik {
  margin: 0 0 16px;
  font-size: 32px; font-weight: 800; line-height: 1.2;
  letter-spacing: -.02em; color: #083C64;
}
.ksp-split-metin { font-size: 15px; line-height: 1.75; color: #4A5B6B; }
.ksp-split-metin p { margin: 0 0 14px; }
.ksp-split-metin p:last-child { margin-bottom: 0; }

.ksp-maddeler { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ksp-madde { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.55; color: #2F4356; }
.ksp-madde i { color: #f5821f; font-size: 14px; margin-top: 3px; flex: 0 0 auto; }
.ksp-madde svg { width: 14px; height: 14px; fill: currentColor; margin-top: 3px; flex: 0 0 auto; }

.ksp-split .ksp-btn { margin-top: 26px; background: #083C64; color: #fff !important; }

.ksp-split-gorsel img { width: 100%; height: auto; display: block; border-radius: 16px; }
.ksp-split-kart {
  display: flex; flex-direction: column;
  background: #083C64; border-radius: 16px; padding: 8px 26px 18px;
}
.ksp-split-kart-satir { padding: 18px 0; }
.ksp-split-kart-satir + .ksp-split-kart-satir { border-top: 1px solid rgba(255, 255, 255, .14); }
.ksp-split-kart-deger { display: block; font-size: 28px; font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.02em; }
.ksp-split-kart-etiket { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: #A9C4D8; }

@media (max-width: 860px) {
  .ksp-split-ic,
  .ksp-split-ic.ksp-split--sol { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .ksp-split-ic.ksp-split--sol .ksp-split-metin-kol { order: 1; }
  .ksp-split-ic.ksp-split--sol .ksp-split-yan { order: 2; }
  .ksp-split { padding: 44px 16px; }
  .ksp-split-baslik { font-size: 25px; }
}

/* ---------- 8) Serbest Promo Kombinasyon ---------- */
.ksp-promo { padding: 28px 20px; }
.ksp-promo-ic {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px; max-width: 1300px; margin: 0 auto; align-items: stretch;
}
.ksp-promo-hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  min-height: 360px; padding: 44px; border-radius: 16px;
  background-color: var(--p-bg1, #083C64);
  background-image: linear-gradient(130deg, var(--p-bg1, #083C64) 0%, var(--p-bg2, #0C5688) 100%);
}
.ksp-promo-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--p-img, none); background-size: cover; background-position: center;
  opacity: .2; pointer-events: none;
}
.ksp-promo-hero > * { position: relative; z-index: 2; }
.ksp-promo-baslik { margin: 0 0 12px; font-size: 32px; font-weight: 800; line-height: 1.18; letter-spacing: -.02em; color: #fff; }
.ksp-promo-aciklama { margin: 0 0 22px; max-width: 50ch; font-size: 15px; line-height: 1.65; color: #C3D6E4; }
.ksp-promo-hero .ksp-btn { background: #f5821f; color: #fff !important; }

.ksp-promo-yan { display: flex; flex-direction: column; gap: 20px; }
.ksp-promo-kart {
  background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 20px;
}
.ksp-kart-ust {
  display: block; margin-bottom: 4px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em;
  color: #f5821f; text-transform: uppercase;
}
.ksp-kart-baslik { margin: 0 0 14px; font-size: 17px; font-weight: 800; color: #083C64; line-height: 1.3; }

.ksp-satirlar { display: flex; flex-direction: column; gap: 8px; }
.ksp-satir {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #F5F8FB; border-radius: 9px; padding: 10px 13px;
  font-size: 13.5px; text-decoration: none !important;
}
a.ksp-satir:hover { filter: brightness(.97); }
.ksp-satir-sol { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #2F4356; min-width: 0; }
.ksp-satir-sag { font-weight: 700; color: #083C64; white-space: nowrap; }
.ksp-satir-ikon { color: #f5821f; font-size: 12px; line-height: 1; }
.ksp-satir-ikon svg { width: 1em; height: 1em; fill: currentColor; }
.ksp-satir-gorsel { height: 16px; width: auto; max-width: 60px; object-fit: contain; }

.ksp-firsat { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ksp-firsat-metinler { min-width: 0; }
.ksp-firsat-buyuk { display: block; font-size: 34px; font-weight: 800; color: #f5821f; line-height: 1.05; letter-spacing: -.02em; }
.ksp-firsat-alt { font-size: 15px; font-weight: 700; margin-left: 4px; }
.ksp-firsat-metin { margin: 6px 0 12px; font-size: 12.5px; line-height: 1.5; color: #5A6B7B; }
.ksp-firsat-ikon { flex: 0 0 auto; font-size: 30px; color: #f5821f; opacity: .28; }
.ksp-firsat-ikon svg { width: 1em; height: 1em; fill: currentColor; }
.ksp-btn-ince {
  height: 38px; padding: 0 18px;
  background: transparent !important; border: 1.5px solid #f5821f;
  color: #f5821f !important; font-size: 13px;
}
.ksp-btn-ince:hover { background: #f5821f !important; color: #fff !important; filter: none; }

@media (max-width: 991px) {
  .ksp-promo-ic { grid-template-columns: minmax(0, 1fr) !important; }
  .ksp-promo-yan { flex-direction: row; flex-wrap: wrap; }
  .ksp-promo-kart { flex: 1 1 260px; }
}
@media (max-width: 767px) {
  .ksp-promo { padding: 16px 14px; }
  .ksp-promo-hero { padding: 30px 22px; min-height: 280px; }
  .ksp-promo-baslik { font-size: 24px; }
}

/* Sayfa üstü: yan sütunda promo kartı seçildiğinde */
.ksp-yan .ksp-promo-kart { flex: 0 0 auto; }
.ksp-yan .ksp-firsat { flex: 1 1 auto; }

.ksp-ust-ic.ksp-ust-tek { grid-template-columns: minmax(0, 1fr) !important; }

/* Promo Kombinasyon — bolumler gizlendiginde duzen
   yansiz : yalnizca tanitim blogu var  -> tek sutun
   herosuz: yalnizca kartlar var        -> kartlar yan yana */
.ksp-promo--yansiz .ksp-promo-ic { grid-template-columns: minmax(0, 1fr) !important; }
.ksp-promo--herosuz .ksp-promo-ic { grid-template-columns: minmax(0, 1fr) !important; }
.ksp-promo--herosuz .ksp-promo-yan { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
.ksp-promo--herosuz .ksp-promo-kart { flex: 1 1 280px; }
@media (max-width: 700px) {
  .ksp-promo--herosuz .ksp-promo-yan { flex-direction: column; }
}
