:root {
  --ks-ana: #1e3a5f;
  --ks-vurgu: #c9a227;
  --ks-bg: #f4f1ea;
  --ks-text: #161616;
  --ks-muted: #5a5854;
  --ks-card: #fff;
  --ks-hero: none;
}
.ks-tema-modern { --ks-bg: #f6f7f9; }
.ks-tema-sanayi { --ks-bg: #121212; --ks-text: #f2f2f2; --ks-muted: #b8b8b8; --ks-card: #1c1c1c; }
.ks-tema-hizmet { --ks-bg: #f2f7f6; }
.ks-tema-saglik { --ks-bg: #f3f8f6; }
.ks-tema-egitim { --ks-bg: #faf6f0; }

html { overflow-x: clip; }
.ks-body {
  margin: 0;
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  background: var(--ks-bg);
  color: var(--ks-text);
  line-height: 1.6;
  overflow-x: clip;
}
.ks-body h1, .ks-body h2, .ks-body h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 680;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.ks-wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

.ks-topbar { background: #0d0d0d; color: #ececec; font-size: 12px; letter-spacing: .04em; }
.ks-topbar-inner { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 34px; flex-wrap: wrap; }
.ks-topbar-links { display: flex; gap: 16px; flex-wrap: wrap; }
.ks-topbar a { color: #fff; text-decoration: none; }
.ks-topbar em { font-style: normal; opacity: .7; }

.ks-header { background: var(--ks-ana); color: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 8px 24px #0002; }
.ks-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.ks-brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 800; font-size: 1.05rem; }
.ks-brand img { max-height: 44px; max-width: 150px; }
.ks-nav { display: flex; flex-wrap: wrap; gap: 6px 4px; align-items: center; }
.ks-nav a { color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 8px 10px; border-radius: 999px; opacity: .88; }
.ks-nav a.is-active, .ks-nav a:hover { opacity: 1; background: #ffffff18; }
.ks-nav-cta { background: var(--ks-vurgu) !important; color: #111 !important; opacity: 1 !important; }
.ks-nav-toggle { display: none; background: transparent; color: #fff; border: 1px solid #fff6; border-radius: 8px; padding: 7px 12px; font: inherit; }

.ks-hero, .ks-pagehead {
  background: linear-gradient(120deg, color-mix(in srgb, var(--ks-ana) 88%, #000), #0007), var(--ks-hero) center/cover no-repeat, var(--ks-ana);
  color: #fff;
}
.ks-hero { padding: 92px 0 84px; }
.ks-hero h1, .ks-slide-cap h1, .ks-pagehead h1 { margin: 0 0 12px; font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 16ch; }
.ks-lead { font-size: 1.15rem; opacity: .92; max-width: 42ch; }
.ks-kicker { letter-spacing: .16em; text-transform: uppercase; font-size: 11px; font-weight: 700; opacity: .78; margin: 0 0 10px; }
.ks-kicker-dark { color: var(--ks-ana); opacity: 1; }
.ks-tema-sanayi .ks-kicker-dark { color: var(--ks-vurgu); }
.ks-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.ks-btn { display: inline-block; background: var(--ks-vurgu); color: #111; text-decoration: none; padding: 12px 20px; border-radius: 999px; border: 0; font-weight: 800; cursor: pointer; font-family: inherit; }
.ks-btn-ghost { background: transparent; color: #fff; border: 1px solid #fff; }
.ks-section { padding: 72px 0; }
.ks-section h2 { margin: 0 0 28px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.ks-section-alt { background: color-mix(in srgb, var(--ks-ana) 7%, transparent); }
.ks-pagehead { padding: 72px 0 56px; }
.ks-pagehead a { color: inherit; }

.ks-about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ks-about-photo { margin: 0; border-radius: 18px; overflow: hidden; min-height: 320px; }
.ks-about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; }

.ks-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.ks-cards-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ks-card { background: var(--ks-card); padding: 22px; border-radius: 16px; box-shadow: 0 10px 30px #0000000d; overflow: hidden; }
.ks-card-lift { padding: 0 0 20px; }
.ks-card-media { height: 150px; overflow: hidden; }
.ks-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-card-lift h3, .ks-card-lift p, .ks-card-lift .ks-card-no { padding-left: 20px; padding-right: 20px; }
.ks-card-no { display: block; color: var(--ks-vurgu); font-weight: 800; font-size: 13px; margin: 14px 0 4px; }
.ks-card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.ks-card a { color: var(--ks-ana); text-decoration: none; }
.ks-card a:hover { text-decoration: underline; }
.ks-tema-sanayi .ks-card a { color: var(--ks-vurgu); }
.ks-meta { color: var(--ks-vurgu); font-weight: 700; }
.ks-prose { max-width: 68ch; }
.ks-prose img { max-width: 100%; height: auto; }
.ks-faq-wrap { max-width: 760px; }
.ks-faq { background: var(--ks-card); margin: 0 0 10px; padding: 14px 16px; border-radius: 12px; }
.ks-faq summary { cursor: pointer; font-weight: 700; }
.ks-more { margin-top: 22px; }
.ks-more a { color: var(--ks-ana); font-weight: 700; }

.ks-footer { background: #111; color: #ddd; padding: 48px 0 18px; overflow-wrap: anywhere; }
.ks-footer a { color: #fff; text-decoration: none; }
.ks-footer a:hover { text-decoration: underline; }
.ks-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 28px 22px;
}
.ks-footer-grid > * { min-width: 0; }
.ks-footer-links { display: flex; flex-direction: column; gap: 7px; }
.ks-foot-label {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  font-weight: 700;
  color: #c8c8c8;
  margin: 0 0 8px;
}
.ks-footer-satici {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #3a3a3a;
}
.ks-copy { text-align: center; color: #c8c8c8; font-size: 13px; margin: 28px 0 0; }
.ks-powered { text-align: center; font-size: 13px; color: #c8c8c8; margin: 8px 0 0; }
.ks-powered a { color: #fff; font-weight: 700; }
@media (max-width: 768px) {
  .ks-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .ks-footer { padding: 36px 0 16px; }
  .ks-footer-grid { grid-template-columns: 1fr; gap: 22px; }
}
.ks-cta-band { background: var(--ks-ana); color: #fff; padding: 48px 0; }
.ks-cta-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.ks-cta-inner h2 { margin: 0 0 6px; }
.ks-cta-inner p { margin: 0; opacity: .85; }
.ks-alert { padding: 10px 14px; border-radius: 8px; margin: 16px auto; }
.ks-alert-ok { background: #e8f7ee; color: #146c2e; }
.ks-alert-err { background: #fde8e8; color: #9b1c1c; }
.ks-split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.ks-form { display: flex; flex-direction: column; gap: 12px; background: var(--ks-card); padding: 22px; border-radius: 16px; }
.ks-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.ks-form input, .ks-form textarea { padding: 10px 12px; border: 1px solid #d5d1c8; border-radius: 8px; font: inherit; font-weight: 400; }
.ks-hp { position: absolute; left: -9999px; }
.ks-wa {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 10px 28px #25d36666;
  z-index: 40;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ks-wa:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 32px #25d36680; }
.ks-wa svg { display: block; }
.ks-form .ks-captcha { margin-top: 4px; }
.ks-form .simple-captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ks-form .simple-captcha-refresh {
  min-width: 40px;
  height: 40px;
  border: 1px solid #d5d1c8;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
}
.ks-form .ks-captcha input { max-width: 110px; letter-spacing: .12em; text-align: center; font-weight: 700; }
.ks-map { margin-top: 8px; border-radius: 16px; overflow: hidden; }
.ks-main { min-height: 46vh; }

.ks-slider { position: relative; min-height: 78vh; background: var(--ks-ana); color: #fff; overflow: hidden; }
.ks-slide { display: none; min-height: 78vh; position: relative; background: var(--ks-ana); }
.ks-slide.is-on { display: block; }
.ks-slide img { width: 100%; height: 78vh; min-height: 520px; object-fit: cover; display: block; }
.ks-slide-cap { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, #000c 10%, #0003 70%, #0000); padding: 80px 0; }
.ks-slide:not(:has(img)) .ks-slide-cap { position: relative; min-height: 78vh; }
.ks-slide-nav { position: absolute; top: 50%; transform: translateY(-50%); background: #0007; color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 24px; }
.ks-slide-prev { left: 16px; }
.ks-slide-next { right: 16px; }
.ks-slide-dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.ks-slide-dots button { width: 28px; height: 3px; border: 0; background: #fff5; cursor: pointer; }
.ks-slide-dots button.is-on { background: var(--ks-vurgu); }

.ks-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ks-gallery-home { grid-template-columns: repeat(3, 1fr); }
.ks-gallery-item { margin: 0; background: var(--ks-card); border-radius: 14px; overflow: hidden; position: relative; }
.ks-gallery-item img { width: 100%; height: 260px; object-fit: cover; display: block; }
.ks-gallery-item figcaption { padding: 10px 12px; font-size: 13px; font-weight: 600; }
.ks-counter-band { background: #111; color: #fff; padding: 42px 0; }
.ks-counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; text-align: center; }
.ks-counter strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 2.4rem; color: var(--ks-vurgu); }
.ks-quote { position: relative; }
.ks-quote p { margin: 0 0 12px; font-size: 1.05rem; }
.ks-quote footer { color: var(--ks-muted); font-size: 13px; }

body.ks-admin-page .erp-content {
  background: #eef0f3;
}
body.ks-admin-page .erp-content > .alert {
  max-width: 1280px;
  margin: 0 auto 14px;
}
.ks-admin {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 48px;
  align-items: start;
}
.ks-admin-aside {
  position: sticky;
  top: 88px;
  background: #fff;
  border: 1px solid #e2e4e8;
  border-radius: 16px;
  padding: 16px 12px 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.ks-admin-brand {
  margin: 0 8px 14px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #1e3a5f;
  white-space: nowrap;
}
.ks-admin-grup {
  margin: 16px 8px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8b919a;
}
.ks-admin-grup:first-of-type { margin-top: 0; }
.ks-admin-link {
  display: block;
  padding: 8px 10px;
  border-radius: 9px;
  text-decoration: none;
  color: #2c3138;
  font-size: 13.5px;
  font-weight: 600;
}
.ks-admin-link:hover { background: #f4f6f8; color: #1e3a5f; }
.ks-admin-link.is-active { background: #1e3a5f; color: #fff; }
.ks-admin-main { min-width: 0; }
.ks-admin-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin: 2px 0 18px;
  flex-wrap: wrap;
}
.ks-admin-head h1 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  letter-spacing: -.02em;
  color: #152033;
}
.ks-admin-lead { margin: 0; color: #66707c; font-size: 14px; max-width: 58ch; line-height: 1.45; }
.ks-admin-head-act { display: flex; gap: 8px; align-items: center; }
.ks-pill {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.ks-pill.is-on { background: #d9f3e3; color: #146c2e; }
.ks-pill.is-off { background: #eceff2; color: #5c6570; }
.ks-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.ks-admin-form-grid { display: contents; }
.ks-admin-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 16px;
  align-items: start;
}
.ks-box {
  background: #fff;
  border: 1px solid #e2e4e8;
  border-radius: 16px;
  padding: 20px 20px 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.ks-box h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #152033;
}
.ks-count {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #eef1f5;
  color: #4b5563;
  font-size: 11px;
  font-weight: 800;
  align-items: center;
  justify-content: center;
}
.ks-box-kicker {
  margin: 0 0 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1e3a5f;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ks-box > .muted { margin: 0 0 8px; font-size: 13px; color: #6b7280; }
.ks-box-wide { grid-column: 1 / -1; }
.ks-box-grow { min-width: 0; }
.ks-box-aside {
  position: sticky;
  top: 88px;
  background: #fbfcfd;
}
.ks-box-form .form-group { margin-top: 10px; }
.ks-fields-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ks-box .form-group { margin: 10px 0 0; }
.ks-box .form-group:first-of-type { margin-top: 8px; }
.ks-box .form-group label { font-size: 13px; font-weight: 650; color: #374151; }
.ks-box input:not([type=checkbox]):not([type=radio]):not([type=color]),
.ks-box select,
.ks-box textarea {
  width: 100%;
  border: 1px solid #d7dbe2;
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
}
.ks-box input[type=color] {
  width: 100%;
  height: 38px;
  border: 1px solid #d7dbe2;
  border-radius: 10px;
  padding: 4px;
  background: #fff;
}
.ks-box .data-table {
  margin: 4px 0 0;
  width: 100%;
  border-collapse: collapse;
}
.ks-box .data-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7b8490;
  font-weight: 700;
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid #eceff2;
}
.ks-box .data-table td {
  padding: 10px 10px 10px 0;
  border-bottom: 1px solid #f1f3f6;
  vertical-align: middle;
  font-size: 13.5px;
}
.ks-box .data-table tbody tr:only-child td.muted {
  padding: 36px 8px;
  text-align: center;
  color: #7b8490;
}
.ks-box .checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 8px 0 0;
  font-size: 13.5px;
}
.ks-savebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: sticky;
  bottom: 14px;
  padding: 14px 18px;
  background: #1e3a5f;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(15, 30, 50, .22);
  z-index: 6;
}
.ks-savebar p { margin: 0; font-size: 13px; line-height: 1.4; max-width: 62ch; opacity: .92; }
.ks-savebar .btn-primary {
  background: #3dd6c6;
  color: #072033;
  border: 0;
  font-weight: 800;
}
.ks-panel-nav { display: none; }
.ks-section-title { font-weight: 700; margin: 18px 0 8px; }
.ks-blok-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.ks-blok-grid .checkbox-label {
  margin: 0;
  padding: 7px 10px;
  border: 1px solid #e2e4e8;
  border-radius: 999px;
  background: #f7f8fa;
}
.ks-thumb { width: 56px; height: 40px; object-fit: cover; border-radius: 6px; }
.ks-thumb-lg { width: 220px; height: auto; max-height: 140px; border-radius: 8px; }
.ks-tema-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.ks-tema-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid #e2e4e8;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  background: #fff;
}
.ks-tema-card.is-selected { border-color: #1e3a5f; box-shadow: 0 0 0 2px #1e3a5f33; }
.ks-tema-swatch { height: 28px; border-radius: 6px; background: linear-gradient(90deg, var(--ks-a), var(--ks-v)); }
.ks-mesaj {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eef0f3;
}
.ks-mesaj:last-child { border-bottom: 0; }
.ks-mesaj.is-yeni {
  background: #fff8e8;
  margin: 0 -12px;
  padding: 14px 12px;
  border-radius: 10px;
  border-bottom: 0;
}
.inline-form { display: inline; }

@media (max-width: 960px) {
  .ks-admin { grid-template-columns: 1fr; }
  .ks-admin-aside { position: static; }
  .ks-admin-split { grid-template-columns: 1fr; }
  .ks-box-aside { position: static; }
}
@media (max-width: 900px) {
  .ks-about, .ks-split, .ks-gallery, .ks-gallery-home { grid-template-columns: 1fr; }
  .ks-slide img, .ks-slider, .ks-slide { min-height: 62vh; height: auto; }
  .ks-slide img { height: 62vh; min-height: 280px; }
  .ks-gallery-item img { height: 200px; }
  .ks-wrap { padding: 0 16px; }
  .ks-section { padding: 48px 0; }
  .ks-hero { padding: 64px 0 56px; }
  .ks-cta-inner { align-items: flex-start; }
}
@media (max-width: 800px) {
  .ks-topbar-inner { min-height: 40px; padding: 6px 0; }
  .ks-nav-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    min-width: 44px;
    padding: 8px 14px;
  }
  .ks-header-inner { position: relative; flex-wrap: nowrap; min-height: 64px; }
  .ks-brand span { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ks-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px 16px 16px;
    background: var(--ks-ana);
    box-shadow: 0 16px 28px #0005;
  }
  .ks-nav.is-open { display: flex; }
  .ks-nav a { padding: 12px 14px; font-size: 15px; }
  .ks-slide-nav { width: 40px; height: 40px; }
  .ks-slide-prev { left: 8px; }
  .ks-slide-next { right: 8px; }
  .ks-wa { width: 52px; height: 52px; }
  .ks-form { padding: 18px 16px; }
  .ks-admin { grid-template-columns: 1fr; }
  .ks-admin-aside { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .ks-admin-grup, .ks-admin-brand { width: 100%; }
  .ks-admin-split, .ks-admin-grid, .ks-fields-2 { grid-template-columns: 1fr; }
  .ks-box-aside { position: static; }
  .ks-savebar { position: static; }
}
@media (max-width: 480px) {
  .ks-hero h1, .ks-slide-cap h1, .ks-pagehead h1 { max-width: none; font-size: 1.85rem; }
  .ks-slide-cap { padding: 48px 0; }
  .ks-hero-actions .ks-btn { width: 100%; text-align: center; }
}
