/* Kızıltoprak Sürücü Kursu · Şerit teması
   Renk = anlam: sarı uyarı/eylem, mavi bilgi, kırmızı yalnızca son tarih ve hata. */

:root {
    --sari: #FFC21A;
    --sari-d: #F0AE00;
    --sari-a: #FFF4D1;
    --mavi: #0E518D;
    --mavi-d: #0A3F6E;
    --kirmizi: #C8102E;
    --asfalt: #2A2D31;
    --asfalt-2: #34383D;
    --kasa: #17191C;
    --beton: #ECEEEF;
    --cizgi: #D6DADD;
    --murekkep: #1E2124;
    --gri: #596068;
    --acik: #C6CBD0;
    --amber: #FFB000;
    --font: "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1240px;
    --gut: clamp(18px, 4vw, 32px);
    --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body.ks {
    margin: 0;
    font: 400 17px/1.6 var(--font);
    color: var(--murekkep);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern";
}
:where(.ks) img { max-width: 100%; height: auto; display: block; }
:where(.ks) a { color: inherit; }
:where(.ks) button { font: inherit; color: inherit; }
:where(.ks) :where(h1, h2, h3, h4, p) { margin: 0; }
.ks [hidden] { display: none !important; }

.ks-ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em; }
.ks-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ks-skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--sari); color: var(--murekkep); padding: 10px 16px; font-weight: 800; border-radius: 8px; text-decoration: none; }
.ks-skip:focus { top: 12px; }
.ks :focus-visible { outline: 3px solid var(--mavi); outline-offset: 2px; }
.ks-hero :focus-visible, .ks-footer :focus-visible, .ks-sec--asfalt :focus-visible, .ks-aside__box :focus-visible { outline-color: var(--sari); }

.ks-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.ks-narrow { max-width: 860px; }
.ks-mt { margin-top: 48px; }
.ks-muted { color: var(--gri); }
.ks-opt { font-weight: 400; color: var(--gri); }

/* ---------- Tipografi ---------- */
.ks-h1 { font-weight: 900; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.02em; }
.ks-h2 { font-weight: 900; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 0.45em; text-wrap: balance; }
.ks-h3 { font-weight: 800; font-size: 22px; line-height: 1.2; margin-bottom: 12px; }
.ks-lead { font-size: 19px; line-height: 1.55; color: var(--gri); max-width: 38em; }
.ks-sec--asfalt .ks-lead { color: var(--acik); }

.ks-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--mavi) !important; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ks-link .ks-ico { transition: transform .15s; }
.ks-link:hover .ks-ico { transform: translateX(3px); }
.ks-sec--asfalt .ks-link { color: var(--sari) !important; }
.ks-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 24px; }

/* ---------- Düğmeler ---------- */
.ks-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px; border-radius: 8px; border: 2px solid transparent;
    font-weight: 800; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.ks-btn--sari { background: var(--sari); color: var(--murekkep) !important; }
.ks-btn--sari:hover { background: var(--sari-d); }
.ks-btn--dark { background: var(--asfalt); color: #fff !important; }
.ks-btn--dark:hover { background: var(--murekkep); }
.ks-btn--ghost { border-color: rgba(255, 255, 255, .38); color: #fff !important; background: transparent; }
.ks-btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.ks-btn--ghost-dark { border-color: #B6BCC2; color: var(--murekkep) !important; background: #fff; }
.ks-btn--ghost-dark:hover { border-color: var(--murekkep); }
.ks-btn--lg { min-height: 56px; padding: 0 26px; font-size: 17px; }
.ks-btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-width: 1.5px; }
.ks-btn--block { width: 100%; }
.ks-btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ks-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 0; background: transparent; cursor: pointer; }
.ks-iconbtn .ks-ico { width: 24px; height: 24px; }
.ks-tag { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--beton); font-size: 13px; font-weight: 800; color: var(--murekkep); }
.ks-tag--light { background: #fff; border: 1px solid var(--cizgi); }

/* ---------- Üst başlık ---------- */
.ks-header { position: sticky; top: 0; z-index: 80; background: #fff; border-bottom: 1px solid var(--cizgi); }
.ks-header__bar { display: flex; align-items: center; gap: 20px; height: var(--head-h); }
.ks-brand { flex: none; display: block; }
.ks-brand img { width: auto; height: 46px; }
.ks-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ks-header__phone { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; font-weight: 800; text-decoration: none; border-radius: 8px; white-space: nowrap; }
.ks-header__phone:hover { background: var(--beton); }
.ks-header__phone .ks-ico { width: 20px; height: 20px; }
.ks-header__cta { min-height: 44px; }

.ks-nav__list { list-style: none; margin: 0; padding: 0; }
.ks-nav__link, .ks-nav__sublink { text-decoration: none; }
.ks-nav__chev { width: 16px; height: 16px; transition: transform .15s; }
.ks-nav__head, .ks-nav__foot { display: none; }
.ks-nav a[href^="http"]:not([href*="kiziltopraksurucukursu.com"]) .ks-nav__label::after { content: "↗"; font-size: .8em; margin-left: 4px; opacity: .6; }

@media (min-width: 1280px) {
    .ks-nav { flex: 1; min-width: 0; }
    .ks-nav__list { display: flex; align-items: center; justify-content: flex-end; gap: 0; }
    .ks-nav__list > .ks-nav__item > a[href$="online-basvuru"] { display: none; }
    .ks-nav__item { position: relative; }
    .ks-nav__link { display: flex; align-items: center; gap: 2px; padding: 9px 6px; border-radius: 8px; font-size: 14.5px; font-weight: 700; white-space: nowrap; }
    .ks-nav__chev { width: 14px; height: 14px; }
    .ks-nav__link:hover, .ks-nav__item--sub:hover > .ks-nav__link, .ks-nav__item.is-open > .ks-nav__link { background: var(--beton); }
    .ks-nav__sub {
        position: absolute; top: calc(100% + 6px); left: -8px; min-width: 280px;
        list-style: none; margin: 0; padding: 8px; background: #fff;
        border: 1px solid var(--cizgi); border-radius: 12px; box-shadow: 0 24px 48px -24px rgba(30, 33, 36, .45);
        opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
    }
    .ks-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
    .ks-nav__item--sub:hover > .ks-nav__sub, .ks-nav__item--sub:focus-within > .ks-nav__sub, .ks-nav__item.is-open > .ks-nav__sub { opacity: 1; visibility: visible; transform: none; }
    .ks-nav__item--sub:hover .ks-nav__chev, .ks-nav__item.is-open .ks-nav__chev { transform: rotate(180deg); }
    .ks-nav__sublink { display: block; padding: 10px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; line-height: 1.3; }
    .ks-nav__sublink:hover { background: var(--beton); }
    .ks-burger { display: none; }
}
@media (max-width: 1599px) { .ks-header__phone span { display: none; } }
@media (min-width: 1280px) and (max-width: 1439px) { .ks-header__phone { display: none; } }
@media (max-width: 1279px) {
    .ks-nav {
        position: fixed; z-index: 120; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
        background: #fff; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
        transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
    }
    .is-nav-open .ks-nav { transform: none; visibility: visible; }
    .ks-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px var(--gut); border-bottom: 1px solid var(--cizgi); }
    .ks-nav__title { font-weight: 900; font-size: 20px; }
    .ks-nav__list { padding: 8px 0; }
    .ks-nav__item { border-bottom: 1px solid var(--beton); }
    .ks-nav__link { display: flex; justify-content: space-between; align-items: center; padding: 15px var(--gut); font-size: 18px; font-weight: 800; }
    .ks-nav__sub { display: none; list-style: none; margin: 0; padding: 0 0 10px; }
    .ks-nav__item.is-open > .ks-nav__sub { display: block; }
    .ks-nav__item.is-open .ks-nav__chev { transform: rotate(180deg); }
    .ks-nav__sublink { display: block; padding: 10px var(--gut) 10px calc(var(--gut) + 16px); font-size: 16px; font-weight: 600; color: var(--gri); }
    .ks-nav__foot { display: grid; gap: 10px; padding: 20px var(--gut) 32px; margin-top: auto; }
    .ks-nav__addr { font-size: 14px; color: var(--gri); }
    .ks-nav__foot .ks-btn--ghost { color: var(--murekkep) !important; border-color: var(--cizgi); }
}
@media (max-width: 560px) {
    :root { --head-h: 64px; }
    .ks-brand img { height: 38px; }
    .ks-header__cta { display: none; }
    .ks-header__bar { gap: 8px; }
}
.ks-scrim { position: fixed; inset: 0; z-index: 110; background: rgba(23, 25, 28, .55); }
.is-nav-open { overflow: hidden; }

/* ---------- Bölümler ---------- */
.ks-sec { padding-block: clamp(64px, 9vw, 120px); }
.ks-sec--tight { padding-block: clamp(40px, 6vw, 72px); }
.ks-sec--beton { background: var(--beton); }
.ks-sec--asfalt { background: var(--asfalt); color: #fff; }
.ks-sechead { margin-bottom: 44px; max-width: 760px; }
.ks-sechead--row { max-width: none; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 12px 48px; }
.ks-sechead--row .ks-h2 { margin-bottom: 0; }
.ks-sechead--row > :last-child { justify-self: start; }
@media (max-width: 860px) { .ks-sechead--row { grid-template-columns: 1fr; } }

/* ---------- Giriş (asfalt + duyuru görseli) ---------- */
.ks-hero {
    position: relative; color: #fff; background: var(--asfalt);
    padding: clamp(36px, 5vw, 72px) 0 clamp(72px, 8vw, 104px);
    overflow: hidden; isolation: isolate;
}
.ks-hero__bgs { position: absolute; inset: 0; z-index: -1; }
.ks-hero__bg { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transform: scale(1.04); transition: opacity 1.1s ease, transform 6s ease-out; }
.ks-hero__bg.is-on { opacity: 1; transform: none; }
/* Görsel net görünsün (müşteri isteği, 2026-12-02): nokta deseni yok, koyu perde yalnız metnin arkasında. */
.ks-hero__bgs::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(36, 39, 43, .80) 0%, rgba(36, 39, 43, .58) 40%, rgba(36, 39, 43, .18) 70%, rgba(36, 39, 43, .30) 100%);
}
.ks-hero__kicker, .ks-hero__lead, .ks-reach { text-shadow: 0 1px 2px rgba(0, 0, 0, .65), 0 0 18px rgba(0, 0, 0, .45); }
.ks-hero__grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ks-hero__kicker { font-weight: 700; color: #DADDE0; font-size: 16px; line-height: 1.4; }
.ks-hero__lead { margin-top: 28px; font-size: 18px; color: #D5D8DB; max-width: 34em; }
.ks-hero__lead strong { color: #fff; font-weight: 800; }
.ks-hero__reach { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 28px; }
.ks-reach { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 19px; line-height: 1.15; }
.ks-reach small { display: block; font-size: 13px; font-weight: 600; color: var(--acik); }
.ks-reach__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sari); color: var(--murekkep); }
.ks-reach__ico--wa { background: #25D366; color: #0B3D1E; }
.ks-reach:hover small { color: #fff; }
.ks-hero__road {
    position: absolute; left: 0; right: 0; bottom: 30px; height: 6px;
    background: repeating-linear-gradient(90deg, var(--sari) 0 64px, transparent 64px 112px);
    opacity: .9; animation: ks-lane 1.4s cubic-bezier(.2, .7, .2, 1) both;
}
.ks-hero__road::after { content: ""; position: absolute; left: 0; right: 0; bottom: -24px; height: 3px; background: rgba(255, 255, 255, .75); }
@keyframes ks-lane { from { background-position: -560px 0; opacity: 0; } to { background-position: 0 0; opacity: .9; } }
@media (max-width: 1023px) {
    .ks-hero__grid { grid-template-columns: 1fr; }
    .ks-hero__form { max-width: 680px; }
    .ks-hero__bgs::after { background: linear-gradient(180deg, rgba(36, 39, 43, .50) 0%, rgba(36, 39, 43, .72) 55%, rgba(36, 39, 43, .90) 100%); }
}

/* Değişken mesaj levhası: girişin başlığı */
.ks-vms { margin-top: 22px; max-width: 660px; }
.ks-vms__msg { display: grid; justify-items: start; }
.ks-vms__tag {
    position: relative; z-index: 1; margin-left: 20px; padding: 7px 14px 6px;
    background: var(--sari); color: var(--murekkep); border-radius: 6px 6px 0 0;
    font-size: 14px; font-weight: 900; letter-spacing: .06em; line-height: 1.2;
}
.ks-vms__screen {
    position: relative; justify-self: stretch; display: grid; gap: 6px;
    background: rgba(17, 19, 21, .94); border: 6px solid #3B3F45; border-radius: 6px;
    padding: 22px 26px 24px;
    box-shadow: inset 0 0 0 2px #0E0F11, 0 24px 48px -26px rgba(0, 0, 0, .9);
}
.ks-vms__screen::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at center, transparent 0 1.35px, rgba(17, 19, 21, .55) 1.8px) 0 0 / 4px 4px;
}
.ks-vms__line {
    display: block; color: var(--amber); font-weight: 900; letter-spacing: .035em; line-height: 1.12;
    font-size: clamp(24px, 2.9vw, 40px); text-wrap: balance;
    text-shadow: 0 0 14px rgba(255, 176, 0, .5);
}
.ks-vms__sub {
    justify-self: stretch; margin: 0; padding: 10px 26px 11px;
    background: #0E0F11; border: 6px solid #3B3F45; border-top: 0; border-radius: 0 0 6px 6px;
    color: #FFD27A; font-size: clamp(15px, 1.4vw, 18px); font-weight: 800; letter-spacing: .05em; line-height: 1.3;
}
.ks-vms__msg:has(.ks-vms__sub) .ks-vms__screen { border-radius: 6px 6px 0 0; }
.ks-vms__msg.is-on .ks-vms__line { animation: ks-led .7s steps(6, end) both; }
.ks-vms__msg.is-on .ks-vms__line:nth-child(2) { animation-delay: .08s; }
.ks-vms__msg.is-on .ks-vms__line:nth-child(3) { animation-delay: .16s; }
.ks-vms__link { margin-top: 18px; }
.ks-vms__bar { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.ks-vms__dots { display: flex; gap: 6px; margin-right: auto; }
.ks-vms__dots span { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .35); transition: width .25s, background-color .25s; }
.ks-vms__dots span.is-on { width: 24px; background: var(--sari); }
.ks-vms__bar button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(17, 19, 21, .5); color: #fff; cursor: pointer; }
.ks-vms__bar button:hover { background: rgba(255, 255, 255, .1); }
.ks-vms__bar .ks-ico { width: 18px; height: 18px; }
@keyframes ks-led { 0% { opacity: 0; } 35% { opacity: .9; } 50% { opacity: .25; } 100% { opacity: 1; } }

/* ---------- Başvuru kartı ---------- */
.ks-card { background: #fff; color: var(--murekkep); border-radius: 12px; overflow: hidden; }
.ks-hero .ks-card { box-shadow: 0 36px 70px -34px rgba(0, 0, 0, .75); }
.ks-card__band { display: flex; align-items: center; gap: 12px; padding: 11px 22px; background: var(--mavi); color: #fff; font-size: 14px; font-weight: 700; }
.ks-card__flag { display: grid; place-items: center; width: 34px; height: 24px; border: 1.5px solid #fff; border-radius: 4px; font-size: 12px; font-weight: 900; color: var(--sari); }
.ks-deadline { display: flex; align-items: center; gap: 16px; margin: 18px 22px 0; padding: 12px 14px; border: 3px solid var(--kirmizi); border-radius: 10px; }
.ks-deadline__count { flex: none; min-width: 64px; text-align: center; color: var(--kirmizi); line-height: 1; }
.ks-deadline__count strong { display: block; font-size: 36px; font-weight: 900; font-feature-settings: "tnum"; }
.ks-deadline__count span { font-size: 13px; font-weight: 800; }
.ks-deadline p { font-size: 15px; line-height: 1.45; }
.ks-deadline__note { display: block; margin-top: 2px; font-size: 13px; color: var(--gri); }
.ks-deadline.is-past { border-color: var(--cizgi); }

.ks-apply__form { padding: 20px 22px 24px; display: grid; gap: 18px; }
.ks-label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 800; }
.ks-classes { border: 0; margin: 0; padding: 0; min-width: 0; }
.ks-classes legend { padding: 0; }
.ks-classes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ks-class { position: relative; display: block; cursor: pointer; }
.ks-class input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ks-class__box {
    display: grid; grid-template-columns: auto 1fr; grid-template-areas: "pic code" "name name" "hint hint";
    align-items: center; column-gap: 8px; height: 100%; padding: 10px 11px 11px;
    border: 2px solid var(--cizgi); border-radius: 10px; transition: border-color .12s, background-color .12s;
}
.ks-class__pic { grid-area: pic; width: 34px; height: 34px; color: var(--gri); }
.ks-class__code { grid-area: code; justify-self: end; font-size: 22px; font-weight: 900; line-height: 1; }
.ks-class__name { grid-area: name; margin-top: 6px; font-size: 14px; font-weight: 800; line-height: 1.2; }
.ks-class__hint { grid-area: hint; font-size: 12px; line-height: 1.3; color: var(--gri); }
.ks-class:hover .ks-class__box { border-color: #9BA2A9; }
.ks-class input:checked + .ks-class__box { border-color: var(--murekkep); background: var(--sari-a); box-shadow: inset 0 0 0 1px var(--murekkep); }
.ks-class input:checked + .ks-class__box .ks-class__pic { color: var(--murekkep); }
.ks-class input:focus-visible + .ks-class__box { outline: 3px solid var(--mavi); outline-offset: 2px; }

.ks-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.ks input[type="text"], .ks input[type="tel"], .ks input[type="email"], .ks input[type="date"], .ks input[type="search"], .ks select, .ks textarea {
    width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid #BFC5CA; border-radius: 8px;
    background: #fff; color: var(--murekkep); font: 400 16px/1.4 var(--font); appearance: none;
}
.ks select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231E2124' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.ks textarea { padding: 12px 14px; min-height: 120px; resize: vertical; }
.ks input:focus, .ks select:focus, .ks textarea:focus { outline: none; border-color: var(--mavi); box-shadow: 0 0 0 3px rgba(14, 81, 141, .2); }
.ks-field__err { display: none; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--kirmizi); }
.is-invalid .ks-field__err, .ks-classes.is-invalid .ks-field__err { display: block; }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--kirmizi); }
.ks-classes.is-invalid .ks-class__box { border-color: #E7A3AE; }
.ks-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--gri); cursor: pointer; }
.ks-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--murekkep); flex: none; }
.ks-apply__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.ks-apply__submit p { flex: 1 1 220px; font-size: 13px; color: var(--gri); line-height: 1.45; }
.ks-form__msg { font-size: 14px; font-weight: 700; color: var(--kirmizi); }
.ks-form__msg:empty { display: none; }
[data-ks-form].is-busy button[type="submit"] { opacity: .65; pointer-events: none; }
.ks-apply__done { padding: 40px 28px 44px; text-align: center; }
.ks-apply__done:focus { outline: none; }
.ks-apply__tick { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--sari); margin-bottom: 18px; }
.ks-apply__tick .ks-ico { width: 34px; height: 34px; }
.ks-apply__done h3 { font-size: 26px; font-weight: 900; margin-bottom: 8px; }
.ks-apply__done p { color: var(--gri); max-width: 30em; margin-inline: auto; }
.ks-apply__done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px !important; }
@media (max-width: 560px) {
    .ks-classes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ks-grid2 { grid-template-columns: 1fr; }
    .ks-apply__form { padding: 18px 16px 20px; }
    .ks-deadline { margin: 16px 16px 0; }
    .ks-card__band { padding: 10px 16px; }
}

/* ---------- Ehliyet sınıfları: yön levhası ---------- */
.ks-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .ks-split { grid-template-columns: 1fr; } }
.ks-sign { background: var(--mavi); border-radius: 14px; padding: 9px; box-shadow: 0 2px 0 var(--mavi-d), 0 28px 50px -34px rgba(10, 63, 110, .8); }
.ks-sign ul { list-style: none; margin: 0; padding: 4px 0; border: 3px solid #fff; border-radius: 8px; }
.ks-sign li + li { border-top: 2px solid rgba(255, 255, 255, .9); }
.ks-sign__row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 32px; align-items: center; gap: 18px; padding: 17px 20px; color: #fff; text-decoration: none; }
.ks-sign__row:hover { background: rgba(255, 255, 255, .07); }
.ks-sign__pic { width: 52px; height: 52px; color: #fff; }
.ks-sign__name { display: block; font-size: clamp(19px, 2vw, 24px); font-weight: 800; line-height: 1.15; }
.ks-sign__code { display: block; margin-top: 3px; font-size: 14px; font-weight: 600; color: #CFE0F1; }
.ks-sign__arrow { width: 30px; height: 30px; transition: transform .15s; }
.ks-sign__row:hover .ks-sign__arrow { transform: translateX(4px); }
@media (max-width: 560px) { .ks-sign__row { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 12px; padding: 14px; } .ks-sign__pic { width: 40px; height: 40px; } }

/* ---------- Ehliyete giden yol ---------- */
.ks-road__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.ks-road__list::before {
    content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 14px; border-radius: 4px;
    background: repeating-linear-gradient(90deg, var(--sari) 0 26px, transparent 26px 48px) center / 100% 2px no-repeat, var(--asfalt);
}
.ks-road__stop { position: relative; padding-right: 28px; }
.ks-road__num {
    position: relative; z-index: 1; display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 26px;
    background: #fff; border: 4px solid var(--asfalt); border-radius: 50%; font-size: 28px; font-weight: 900; line-height: 1;
}
.ks-road__stop h3 { font-size: 22px; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.ks-road__stop p { color: var(--gri); margin-bottom: 14px; }
@media (max-width: 960px) {
    .ks-road__list { grid-template-columns: 1fr; gap: 36px; }
    .ks-road__list::before { left: 26px; right: auto; top: 0; bottom: 0; width: 14px; height: auto; background: repeating-linear-gradient(180deg, var(--sari) 0 26px, transparent 26px 48px) center / 2px 100% no-repeat, var(--asfalt); }
    .ks-road__stop { padding: 0 0 0 92px; min-height: 66px; }
    .ks-road__num { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- Hikâye ve kilometre taşları ---------- */
.ks-story__grid, .ks-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ks-about__grid { align-items: start; }
.ks-story__text .ks-btn { margin-top: 32px; }
.ks-facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.ks-facts li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ks-facts .ks-ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--sari); }
.ks-story__photos { position: relative; margin: 0; padding-bottom: 40px; }
.ks-story__p1 { width: 80%; border-radius: 6px; aspect-ratio: 32 / 26; object-fit: cover; }
.ks-story__p2 { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 5; object-fit: cover; border: 8px solid #fff; border-radius: 6px; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .5); }
@media (max-width: 900px) { .ks-story__grid, .ks-about__grid { grid-template-columns: 1fr; } }

.ks-stones { list-style: none; margin: clamp(56px, 7vw, 88px) 0 0; padding: 0 0 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; align-items: end; }
.ks-stones::after { content: ""; position: absolute; left: -12px; right: -12px; bottom: 0; height: 6px; border-radius: 3px; background: var(--asfalt); }
.ks-stone { position: relative; display: grid; text-align: center; padding: 34px 18px 22px; background: #fff; border: 2px solid var(--asfalt); border-radius: 48px 48px 4px 4px; overflow: hidden; }
.ks-stone::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--sari); border-bottom: 2px solid var(--asfalt); }
.ks-stone:nth-child(2) { min-height: 150px; } .ks-stone:nth-child(3) { min-height: 166px; } .ks-stone:nth-child(4) { min-height: 182px; background: var(--asfalt); color: #fff; }
.ks-stone__year { font-size: clamp(28px, 3vw, 38px); font-weight: 900; line-height: 1.05; font-feature-settings: "tnum"; }
.ks-stone__txt { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--gri); line-height: 1.35; }
.ks-stone:nth-child(4) .ks-stone__txt { color: var(--acik); }
@media (max-width: 760px) { .ks-stones { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ks-stone { min-height: 0 !important; } }

/* ---------- Ünlü mezunlar ---------- */
.ks-alumni__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 18px; }
.ks-alum img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 5px solid #fff; border-radius: 3px; filter: grayscale(1) contrast(1.06); transition: filter .2s; }
.ks-alum:hover img { filter: none; }
.ks-alum span { display: block; margin-top: 10px; font-size: 15px; font-weight: 700; line-height: 1.25; }
.ks-alumni [data-ks-alumni-more] { margin-top: 36px; }
@media (max-width: 1000px) { .ks-alumni__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ks-alumni__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; } .ks-alum img { border-width: 3px; } .ks-alum span { font-size: 13px; } }

/* ---------- Bilgi levhaları ---------- */
.ks-prep__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ks-infosign {
    display: grid; align-content: start; gap: 8px; height: 100%; min-height: 210px; padding: 24px 24px 26px;
    background: var(--mavi); color: #fff !important; text-decoration: none; border-radius: 12px;
    box-shadow: inset 0 0 0 5px var(--mavi), inset 0 0 0 8px #fff;
}
.ks-infosign:hover { background: var(--mavi-d); box-shadow: inset 0 0 0 5px var(--mavi-d), inset 0 0 0 8px #fff; }
.ks-infosign__ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 10px; background: #fff; color: var(--mavi); border-radius: 8px; }
.ks-infosign__ico .ks-ico { width: 26px; height: 26px; }
.ks-infosign__t { font-size: 21px; font-weight: 800; line-height: 1.2; }
.ks-infosign__d { font-size: 15px; color: #D3E3F3; }
.ks-prep__ext { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 28px; }
@media (max-width: 1000px) { .ks-prep__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ks-prep__grid { grid-template-columns: 1fr; } .ks-infosign { min-height: 0; } }

/* ---------- Duyurular ---------- */
.ks-sechead--link { max-width: none; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.ks-sechead--link .ks-h2 { margin-bottom: 0; }
.ks-news-sec__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3.5vw, 44px); align-items: stretch; }

.ks-cover-post { position: relative; display: block; min-height: 420px; border-radius: 12px; overflow: hidden; background: var(--asfalt); color: #fff !important; text-decoration: none; isolation: isolate; }
.ks-cover-post img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.ks-cover-post::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 33, 36, 0) 18%, rgba(30, 33, 36, .72) 48%, rgba(30, 33, 36, .96) 100%); }
.ks-cover-post:hover img { transform: scale(1.03); }
.ks-cover-post__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 10px; padding: clamp(22px, 3vw, 34px); }
.ks-cover-post__meta { display: flex; align-items: center; gap: 12px; }
.ks-cover-post__tag { padding: 4px 10px; border-radius: 6px; background: var(--sari); color: var(--murekkep); font-size: 13px; font-weight: 900; }
.ks-cover-post .ks-cover-post__meta time { color: #F1F3F4; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.ks-cover-post strong { font-size: clamp(22px, 2.3vw, 30px); font-weight: 900; line-height: 1.15; max-width: 26ch; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; }
.ks-cover-post__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--sari); }

.ks time { font-size: 14px; font-weight: 700; color: var(--gri); }
.ks-postlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); }
.ks-postlist li { display: flex; }
.ks-postlist li + li { border-top: 1px solid var(--cizgi); }
.ks-postlist a { flex: 1; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px 0; text-decoration: none; }
.ks-postlist li:first-child a { padding-top: 0; }
.ks-postlist li:last-child a { padding-bottom: 0; }
.ks-postlist img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.ks-postlist strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 17px; font-weight: 800; line-height: 1.3; }
.ks-postlist a:hover strong { text-decoration: underline; }
@media (max-width: 900px) {
    .ks-news-sec__grid { grid-template-columns: 1fr; }
    .ks-cover-post { min-height: 0; aspect-ratio: 4 / 3; }
    .ks-postlist { grid-template-rows: none; }
}
@media (max-width: 480px) { .ks-postlist a { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; } .ks-postlist strong { font-size: 16px; } .ks-cover-post { aspect-ratio: 3 / 4; } }

/* Blog listesi ve yazı kartları */
.ks-feature { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--cizgi); }
.ks-feature__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ks-feature__body { padding: 24px 28px 30px; }
.ks-feature h3, .ks-feature h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; line-height: 1.15; margin: 8px 0 10px; text-wrap: balance; }
.ks-feature h3 a, .ks-feature h2 a { text-decoration: none; }
.ks-feature h3 a:hover, .ks-feature h2 a:hover { text-decoration: underline; }
.ks-feature p { color: var(--gri); }
.ks-feature .ks-link { margin-top: 18px; }

.ks-feature--wide { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.ks-feature--wide .ks-feature__img img { height: 100%; }
.ks-feature--wide .ks-feature__body { align-self: center; padding: 32px 36px; }
@media (max-width: 860px) { .ks-feature--wide { grid-template-columns: 1fr; } }
.ks-cards { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.ks-postcard a { display: grid; gap: 6px; text-decoration: none; }
.ks-postcard__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.ks-postcard strong { font-size: 19px; font-weight: 800; line-height: 1.25; }
.ks-postcard a:hover strong { text-decoration: underline; }
.ks-postcard__txt { font-size: 15px; color: var(--gri); }
@media (max-width: 960px) { .ks-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ks-cards { grid-template-columns: 1fr; } }

/* ---------- Kursa uğra ---------- */
.ks-visit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.ks-visit__addr { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; line-height: 1.15; margin: 4px 0 28px; color: var(--sari); max-width: 16em; }
.ks-visit__dl { display: grid; gap: 16px; margin: 0; }
.ks-visit__dl dt { font-size: 14px; font-weight: 700; color: var(--acik); }
.ks-visit__dl dd { margin: 2px 0 0; font-size: 19px; font-weight: 700; }
.ks-visit__dl a { text-decoration: none; }
.ks-visit__dl a:hover { text-decoration: underline; }
.ks-map { border-radius: 12px; overflow: hidden; background: var(--asfalt-2); min-height: 380px; }
.ks-map iframe { display: block; width: 100% !important; height: 100% !important; min-height: 420px; border: 0; }
.ks-map--full { border-radius: 0; }
@media (max-width: 900px) { .ks-visit__grid { grid-template-columns: 1fr; } }

/* ---------- Çağrı bandı ---------- */
.ks-cta { background: var(--sari); padding-block: clamp(44px, 6vw, 64px); }
.ks-cta__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px 36px; align-items: center; }
.ks-cta__sign { width: 92px; height: 92px; }
.ks-cta .ks-h2 { margin-bottom: 8px; }
.ks-cta p { font-size: 18px; color: #3A3E44; max-width: 36em; }
.ks-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ks-cta .ks-btn--ghost-dark { background: transparent; border-color: var(--murekkep); }
.ks-cta .ks-btn--ghost-dark:hover { background: rgba(0, 0, 0, .06); }
@media (max-width: 960px) { .ks-cta__inner { grid-template-columns: 1fr; } .ks-cta__sign { width: 64px; height: 64px; } }

/* ---------- İç sayfa başlığı ---------- */
.ks-pagehead { background: var(--beton); padding: clamp(28px, 4vw, 44px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--cizgi); }
.ks-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; font-weight: 600; color: var(--gri); }
.ks-crumbs li + li::before { content: "›"; margin-right: 8px; color: #8C939A; }
.ks-crumbs a { text-decoration: none; }
.ks-crumbs a:hover { text-decoration: underline; }
.ks-crumbs [aria-current] { color: var(--murekkep); }
.ks-pagehead__title { margin-top: 18px; font-weight: 900; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -0.022em; max-width: 24ch; text-wrap: balance; }
.ks-pagehead__lead { margin-top: 14px; font-size: 19px; color: var(--gri); max-width: 46em; }
.ks-pagehead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--gri); }

/* ---------- İçerik + kenar sütunu ---------- */
.ks-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.ks-sec .ks-layout { padding-block: 0; }
.ks-layout__main { min-width: 0; }
@media (max-width: 1000px) { .ks-layout { grid-template-columns: 1fr; } }

.ks-aside { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 1000px) { .ks-aside { position: static; } }
.ks-aside__box { background: var(--asfalt); color: #fff; border-radius: 12px; padding: 26px 24px; display: grid; gap: 10px; }
.ks-aside__sign { width: 56px; height: 56px; margin-bottom: 4px; }
.ks-aside__box h2 { font-size: 24px; font-weight: 900; line-height: 1.15; }
.ks-aside__box p { font-size: 15px; color: var(--acik); }
.ks-aside__box .ks-aside__deadline { color: var(--sari); }
.ks-aside__box .ks-btn { margin-top: 4px; }
.ks-aside__box .ks-btn--ghost-dark { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .35); }
.ks-aside__box .ks-btn--ghost-dark:hover { border-color: #fff; }
.ks-aside__wa { display: inline-flex; justify-content: center; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; font-size: 15px; text-decoration: none; color: #fff; }
.ks-aside__wa:hover { text-decoration: underline; }
.ks-guides { border: 1px solid var(--cizgi); border-radius: 12px; padding: 20px 22px 10px; }
.ks-guides h2 { font-size: 17px; font-weight: 900; margin-bottom: 6px; }
.ks-guides ul { list-style: none; margin: 0; padding: 0; }
.ks-guides li + li { border-top: 1px solid var(--beton); }
.ks-guides a { display: block; padding: 10px 0; font-size: 15px; font-weight: 600; text-decoration: none; line-height: 1.35; }
.ks-guides a:hover { color: var(--mavi); }
.ks-guides a[aria-current] { color: var(--mavi); font-weight: 800; box-shadow: inset 4px 0 0 var(--mavi); padding-left: 12px; }

/* ---------- Okuma düzeni ---------- */
.ks-prose { max-width: 70ch; font-size: 18px; line-height: 1.72; overflow-wrap: anywhere; }
.ks-prose > * + * { margin-top: 1.05em; }
.ks-prose h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 900; line-height: 1.2; margin-top: 1.8em; letter-spacing: -0.01em; }
.ks-prose h3 { font-size: 22px; font-weight: 800; line-height: 1.25; margin-top: 1.6em; }
.ks-prose h4, .ks-prose h5 { font-size: 19px; font-weight: 800; margin-top: 1.4em; }
.ks-prose h2 + *, .ks-prose h3 + *, .ks-prose h4 + * { margin-top: .5em; }
.ks-prose > :first-child { margin-top: 0; }
.ks-prose ul, .ks-prose ol { padding-left: 1.3em; }
.ks-prose li + li { margin-top: .45em; }
.ks-prose ul li::marker { color: var(--mavi); }
.ks-prose ol li::marker { font-weight: 800; }
.ks-prose a { color: var(--mavi); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ks-prose strong, .ks-prose b { font-weight: 800; }
.ks-prose img { border-radius: 8px; height: auto !important; }
.ks-prose iframe { max-width: 100%; border: 0; border-radius: 8px; }
.ks-prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.ks-prose th, .ks-prose td { padding: 10px 12px; border-bottom: 1px solid var(--cizgi); text-align: left; vertical-align: top; }
.ks-prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sari); font-size: 20px; font-weight: 600; }
.ks-prose hr { border: 0; border-top: 2px dashed var(--cizgi); margin-block: 2em; }
.ks-prose--lead > p:first-child { font-size: 20px; line-height: 1.6; }
.ks-prose--compact { font-size: 16px; line-height: 1.65; }
.ks-cover { margin: 0 0 36px; }
.ks-cover img { width: 100%; border-radius: 10px; aspect-ratio: 12 / 7; object-fit: cover; }

.ks-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--cizgi); }
.ks-share__label { margin-right: 8px; font-size: 14px; font-weight: 800; color: var(--gri); }
.ks-share a, .ks-share button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--cizgi); background: #fff; cursor: pointer; }
.ks-share a:hover, .ks-share button:hover { border-color: var(--murekkep); }
.ks-share button.is-done { background: var(--sari); border-color: var(--sari); }

/* ---------- Programlar ---------- */
.ks-progcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ks-progcard a { display: grid; height: 100%; text-decoration: none; border: 1px solid var(--cizgi); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .15s; }
.ks-progcard a:hover { border-color: var(--murekkep); }
.ks-progcard__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ks-progcard__body { display: grid; gap: 8px; align-content: start; padding: 22px 24px 26px; }
.ks-progcard__head { display: flex; justify-content: space-between; align-items: center; }
.ks-progcard__pic { width: 44px; height: 44px; color: var(--mavi); }
.ks-progcard strong { font-size: 24px; font-weight: 900; line-height: 1.15; }
.ks-progcard__txt { color: var(--gri); }
.ks-progcard .ks-link { margin-top: 6px; }
@media (max-width: 760px) { .ks-progcards { grid-template-columns: 1fr; } }

.ks-programs { margin-top: 40px; display: grid; gap: 40px; }
.ks-program { border-top: 4px solid var(--asfalt); padding-top: 22px; }
.ks-program__head h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; line-height: 1.2; }
.ks-program__head p { margin-top: 8px; color: var(--gri); max-width: 62ch; }
.ks-program__img { margin: 18px 0; border-radius: 8px; }
.ks-program .ks-prose { margin-top: 16px; }

/* ---------- Fiyat panosu ---------- */
.ks-board { border: 1px solid var(--cizgi); border-radius: 12px; overflow: hidden; background: #fff; }
.ks-board__filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 22px; background: var(--beton); border-bottom: 1px solid var(--cizgi); }
.ks-board__filters button { min-height: 38px; padding: 0 16px; border-radius: 8px; border: 1.5px solid #B6BCC2; background: #fff; font-weight: 800; font-size: 14px; cursor: pointer; }
.ks-board__filters button:hover { border-color: var(--murekkep); }
.ks-board__filters button.is-on { background: var(--asfalt); border-color: var(--asfalt); color: #fff; }
.ks-board__group { padding: 6px 22px 10px; }
.ks-board__group + .ks-board__group { border-top: 6px solid var(--beton); }
.ks-board__h { margin: 20px 0 4px; font-size: 15px; font-weight: 900; color: var(--mavi); }
.ks-board__note { font-size: 14px; color: var(--gri); margin-bottom: 4px; }
.ks-board__list { margin: 0; }
.ks-board__row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 15px 0; border-bottom: 1px dashed var(--cizgi); }
.ks-board__row:last-child { border-bottom: 0; }
.ks-board__row dt { font-size: 16px; font-weight: 600; line-height: 1.4; }
.ks-board__row dd { margin: 0; white-space: nowrap; }
.ks-price { font-size: 22px; font-weight: 900; font-feature-settings: "tnum"; }
.ks-price__cur { margin-left: 4px; font-size: 16px; font-weight: 800; color: var(--gri); }
.ks-board__foot { padding: 16px 22px; background: var(--beton); font-size: 14px; color: var(--gri); }
@media (max-width: 480px) { .ks-board__row { flex-direction: column; gap: 4px; } .ks-board__group, .ks-board__filters, .ks-board__foot { padding-inline: 16px; } }

/* ---------- Başvuru ve iletişim sayfaları ---------- */
.ks-applypage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 56px); align-items: start; }
.ks--apply .ks-apply { border: 1px solid var(--cizgi); box-shadow: 0 30px 60px -40px rgba(30, 33, 36, .45); }
.ks-applypage__side { display: grid; gap: 28px; }
@media (max-width: 960px) { .ks-applypage { grid-template-columns: 1fr; } }
.ks-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 16px; }
.ks-steps li { counter-increment: s; position: relative; padding-left: 50px; color: var(--gri); }
.ks-steps li::before { content: counter(s); position: absolute; left: 0; top: -3px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--asfalt); font-weight: 900; color: var(--murekkep); }
.ks-steps strong { display: block; color: var(--murekkep); }
.ks-contactmini { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--cizgi); font-weight: 700; }
.ks-contactmini a, .ks-contactmini span { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; }
.ks-contactmini span { font-weight: 600; color: var(--gri); }

.ks-videocard { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--asfalt); text-align: left; cursor: pointer; }
.ks-videocard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .82; transition: opacity .15s; }
.ks-videocard:hover img { opacity: 1; }
.ks-videocard__play { position: absolute; left: 50%; top: 0; transform: translate(-50%, 0); margin-top: calc(28% - 32px); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sari); color: var(--murekkep); }
.ks-videocard__play .ks-ico { width: 28px; height: 28px; margin-left: 3px; }
.ks-videocard__t { display: block; padding: 14px 18px 16px; color: #fff; font-weight: 800; font-size: 17px; line-height: 1.3; }
.ks-videocard__t small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--acik); }
.ks-videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 960px) { .ks-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ks-videos { grid-template-columns: 1fr; } }

.ks-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.ks-contact__list { list-style: none; margin: 0; padding: 0; }
.ks-contact__list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--cizgi); }
.ks-contact__list li:first-child { padding-top: 0; }
.ks-contact__list .ks-ico { width: 24px; height: 24px; color: var(--mavi); margin-top: 2px; }
.ks-contact__k { display: block; font-size: 13px; font-weight: 700; color: var(--gri); }
.ks-contact__list a, .ks-contact__list span:not(.ks-contact__k) { font-size: 18px; font-weight: 700; text-decoration: none; }
.ks-contact__list a:hover { text-decoration: underline; }
.ks-contact__form { border: 1px solid var(--cizgi); padding: clamp(22px, 3vw, 32px); }
.ks-contact__form form { display: grid; gap: 16px; margin-top: 20px; }
.ks-contact__form form .ks-btn { justify-self: start; }
@media (max-width: 900px) { .ks-contact { grid-template-columns: 1fr; } }

/* ---------- Eğitim kaynakları ---------- */
.ks-lessons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ks-lesson { display: grid; grid-template-columns: 200px minmax(0, 1fr); height: 100%; border: 1px solid var(--cizgi); border-radius: 12px; overflow: hidden; text-decoration: none; transition: border-color .15s; }
.ks-lesson:hover { border-color: var(--murekkep); }
.ks-lesson__img img { width: 100%; height: 100%; object-fit: cover; }
.ks-lesson__body { display: grid; gap: 8px; align-content: start; padding: 20px 22px; }
.ks-lesson__body strong { font-size: 22px; font-weight: 900; line-height: 1.2; }
.ks-lesson__body > span:not(.ks-link) { color: var(--gri); font-size: 15px; }
@media (max-width: 900px) { .ks-lessons { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ks-lesson { grid-template-columns: 1fr; } .ks-lesson__img img { aspect-ratio: 16 / 9; } }

.ks-files { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cizgi); }
.ks-file { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--cizgi); }
.ks-file__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px; background: var(--mavi); color: #fff; }
.ks-file__t { font-size: 17px; font-weight: 800; line-height: 1.3; }
.ks-file__t small { display: block; font-size: 12px; font-weight: 700; color: var(--gri); }

.ks-table-wrap { overflow-x: auto; border: 1px solid var(--cizgi); border-radius: 12px; }
.ks-table { width: 100%; border-collapse: collapse; }
.ks-table th, .ks-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--cizgi); vertical-align: middle; }
.ks-table thead th { background: var(--beton); font-size: 13px; font-weight: 800; color: var(--gri); }
.ks-table tbody th { font-weight: 700; font-size: 16px; line-height: 1.35; }
.ks-table tbody tr:last-child > * { border-bottom: 0; }
.ks-table td:last-child { text-align: right; white-space: nowrap; }
@media (max-width: 640px) {
    .ks-table thead { display: none; }
    .ks-table, .ks-table tbody, .ks-table tr, .ks-table th, .ks-table td { display: block; }
    .ks-table tr { padding: 14px 16px; border-bottom: 1px solid var(--cizgi); }
    .ks-table tbody tr:last-child { border-bottom: 0; }
    .ks-table th, .ks-table td { padding: 2px 0; border: 0; text-align: left !important; }
    .ks-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--gri); }
    .ks-table td:last-child { margin-top: 10px; }
}

/* ---------- Hakkımızda ---------- */
.ks-team__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ks-member { display: grid; gap: 4px; align-content: start; padding: 22px; background: #fff; border-radius: 12px; }
.ks-member img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; margin-bottom: 12px; }
.ks-member__mono { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 12px; border-radius: 50%; background: var(--asfalt); color: var(--sari); font-size: 28px; font-weight: 900; }
.ks-member strong { font-size: 18px; font-weight: 800; line-height: 1.25; }
.ks-member span:not(.ks-member__mono) { font-size: 15px; color: var(--gri); line-height: 1.35; }
@media (max-width: 960px) { .ks-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ks-gallery { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ks-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
@media (max-width: 760px) { .ks-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Arama, 404, sayfalama ---------- */
.ks-searchform { display: flex; gap: 10px; margin-bottom: 32px; }
.ks-searchform input { flex: 1; min-height: 54px !important; font-size: 18px !important; }
.ks-searchform .ks-btn { min-height: 54px; }
.ks-results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cizgi); }
.ks-results a { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--cizgi); text-decoration: none; }
.ks-results strong { font-size: 20px; font-weight: 800; }
.ks-results a:hover strong { text-decoration: underline; }
.ks-results span { color: var(--gri); }
.ks-empty { padding: 22px 24px; background: var(--beton); border-radius: 10px; }
.ks-404__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ks-404__sign { width: clamp(120px, 18vw, 220px); height: auto; }
.ks-404__code { font-size: 18px; font-weight: 900; color: var(--kirmizi); margin-bottom: 6px; }
.ks-404 .ks-lead { margin-top: 16px; }
@media (max-width: 640px) { .ks-404__inner { grid-template-columns: 1fr; } }
.ks-pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 40px 0 0; }
.ks-pager a { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1.5px solid var(--cizgi); border-radius: 8px; font-weight: 800; text-decoration: none; }
.ks-pager a[aria-current] { background: var(--asfalt); border-color: var(--asfalt); color: #fff; }

/* ---------- Alt bilgi ---------- */
.ks-footer { background: var(--asfalt); color: var(--acik); font-size: 16px; }
.ks-lane { height: 6px; background: repeating-linear-gradient(90deg, var(--sari) 0 52px, transparent 52px 92px); margin-bottom: clamp(48px, 6vw, 72px); }
.ks-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 40px; }
.ks-footer__h { margin-bottom: 14px; font-size: 16px; font-weight: 900; color: #fff; }
.ks-footer ul { list-style: none; margin: 0; padding: 0; }
.ks-footer__col li + li { margin-top: 9px; }
.ks-footer a { text-decoration: none; }
.ks-footer a:hover { color: #fff; text-decoration: underline; }
.ks-wordmark { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none !important; margin-bottom: 16px; }
.ks-wordmark__sign { width: 58px; height: 58px; flex: none; }
.ks-wordmark span { font-size: 17px; font-weight: 600; line-height: 1.1; }
.ks-wordmark strong { display: block; font-size: 24px; font-weight: 900; letter-spacing: -0.01em; }
.ks-footer__brand p { max-width: 30em; font-size: 15px; }
.ks-social { list-style: none; padding: 0; margin-bottom: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px !important; }
.ks-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); color: #fff; }
.ks-social a:hover { background: rgba(255, 255, 255, .1); }
.ks-social--dark a { color: var(--murekkep); border-color: var(--cizgi); }
.ks-social--dark { margin-top: 24px !important; }
.ks-footer__contact address { font-style: normal; display: grid; gap: 12px; }
.ks-footer__contact address a, .ks-footer__line { display: flex; gap: 10px; align-items: flex-start; }
.ks-footer__contact .ks-ico { margin-top: 3px; color: var(--sari); }
.ks-footer__news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: center; margin-top: 56px; padding-block: 32px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ks-footer__news p { font-size: 15px; }
.ks-news { display: flex; flex-wrap: wrap; gap: 10px; }
.ks-news input { flex: 1 1 220px; border-color: transparent !important; }
.ks-news__msg { flex-basis: 100%; font-size: 14px; font-weight: 700; color: var(--sari); }
.ks-news__msg:empty { display: none; }
.ks-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.ks-footer__bottom p:last-child { display: flex; gap: 20px; }
@media (max-width: 1000px) { .ks-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ks-footer__grid, .ks-footer__news { grid-template-columns: 1fr; } }

/* ---------- Mobil eylem çubuğu ---------- */
.ks-actionbar { display: none; }
@media (max-width: 900px) {
    .ks-actionbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(3, 1fr);
        background: #fff; border-top: 1px solid var(--cizgi); padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -10px 24px -18px rgba(0, 0, 0, .4);
    }
    .ks-actionbar a { display: grid; justify-items: center; gap: 2px; padding: 9px 0 8px; font-size: 13px; font-weight: 800; text-decoration: none; }
    .ks-actionbar .ks-ico { width: 22px; height: 22px; }
    .ks-actionbar .is-primary { background: var(--sari); }
    body.ks { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}
/* Çekirdeğin dikey yapışkan arama/WhatsApp bileşeni bu temada alt çubukla değişti */
.ks .simurgh-fixed-bar, .ks .fly-whatsapp-button, .ks #fly-whatsapp { display: none !important; }

/* ---------- Video / görsel penceresi ---------- */
.ks-video { width: min(1000px, 92vw); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.ks-video::backdrop { background: rgba(14, 15, 17, .86); }
.ks-video__frame { background: #000; border-radius: 10px; overflow: hidden; }
.ks-video__frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.ks-video__frame img { display: block; width: 100%; max-height: 82vh; object-fit: contain; }
.ks-video__close { position: absolute; top: -52px; right: 0; color: #fff; }

@media (prefers-reduced-motion: reduce) {
    .ks *, .ks *::before, .ks *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Trafik animasyonları ---------- */
/* Üst başlıkta kaydırma ilerlemesi: sarı kesikli şerit */
.ks-progress {
    position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none;
    background: repeating-linear-gradient(90deg, var(--sari) 0 18px, transparent 18px 30px);
    clip-path: inset(0 100% 0 0);
}

/* Ehliyete giden yol: araba ve duraklar */
.ks-road__wrap { position: relative; }
.ks-road__car { position: absolute; z-index: 1; left: 0; top: 14px; width: 64px; height: 32px; opacity: 0; }
.ks-road__car svg { display: block; width: 100%; height: 100%; }
.ks-road__num { z-index: 2; transition: background-color .35s, border-color .35s, color .35s; }
.ks-road__wrap.is-in .ks-road__num { background: var(--sari); }
.ks-road__wrap.is-in .ks-road__stop:nth-child(1) .ks-road__num { transition-delay: .2s; }
.ks-road__wrap.is-in .ks-road__stop:nth-child(2) .ks-road__num { transition-delay: 1.15s; }
.ks-road__wrap.is-in .ks-road__stop:nth-child(3) .ks-road__num { transition-delay: 2.1s; }
.ks-road__wrap.is-in .ks-road__stop:nth-child(4) .ks-road__num { transition-delay: 3.05s; }
@keyframes ks-drive-x { 0% { opacity: 0; left: -40px; } 8% { opacity: 1; } 100% { opacity: 1; left: calc(100% - 64px); } }
@keyframes ks-drive-y { 0% { opacity: 0; top: -20px; } 8% { opacity: 1; } 100% { opacity: 1; top: calc(100% - 48px); } }
.ks-road__wrap.is-in .ks-road__car { opacity: 1; left: calc(100% - 64px); animation: ks-drive-x 3.4s cubic-bezier(.45, .05, .35, 1) both; }
@media (max-width: 960px) {
    .ks-road__car { left: 1px; top: 0; transform: rotate(90deg); transform-origin: 32px 16px; }
    .ks-road__wrap.is-in .ks-road__car { left: 1px; top: calc(100% - 48px); animation-name: ks-drive-y; }
}

/* Trafik lambası (çağrı bandı) */
.ks-light { display: grid; gap: 6px; padding: 9px 9px; background: var(--asfalt); border-radius: 14px; box-shadow: inset 0 0 0 2px #1A1C1F; }
.ks-light i { display: block; width: 22px; height: 22px; border-radius: 50%; background: #45494F; }
.ks-light i:nth-child(3) { background: #2BD46A; box-shadow: 0 0 14px rgba(43, 212, 106, .8); }
@media (max-width: 960px) { .ks-light { grid-auto-flow: column; justify-self: start; } }

@media (prefers-reduced-motion: no-preference) {
    .ks-js .ks-progress { transition: clip-path .1s linear; }

    /* Kilometre taşları sırayla yükselir */
    .ks-js .ks-stones[data-ks-anim] .ks-stone { opacity: 0; transform: translateY(36px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
    .ks-js .ks-stones.is-in .ks-stone { opacity: 1; transform: none; }
    .ks-js .ks-stones.is-in .ks-stone:nth-child(2) { transition-delay: .12s; }
    .ks-js .ks-stones.is-in .ks-stone:nth-child(3) { transition-delay: .24s; }
    .ks-js .ks-stones.is-in .ks-stone:nth-child(4) { transition-delay: .36s; }

    /* Yön levhası satırları sırayla yanar */
    .ks-js .ks-sign[data-ks-anim] li { opacity: 0; transform: translateX(-14px); transition: opacity .45s ease, transform .5s ease; }
    .ks-js .ks-sign[data-ks-anim] .ks-sign__arrow { transform: translateX(-10px); opacity: 0; transition: transform .5s ease .25s, opacity .4s ease .25s; }
    .ks-js .ks-sign.is-in li, .ks-js .ks-sign.is-in .ks-sign__arrow { opacity: 1; transform: none; }
    .ks-js .ks-sign.is-in li:nth-child(2) { transition-delay: .08s; } .ks-js .ks-sign.is-in li:nth-child(3) { transition-delay: .16s; }
    .ks-js .ks-sign.is-in li:nth-child(4) { transition-delay: .24s; } .ks-js .ks-sign.is-in li:nth-child(5) { transition-delay: .32s; }
    .ks-js .ks-sign.is-in li:nth-child(6) { transition-delay: .4s; }

    /* Trafik lambası: kırmızı → sarı → yeşil */
    .ks-js .ks-light[data-ks-anim] i:nth-child(3) { background: #45494F; box-shadow: none; }
    .ks-js .ks-light.is-in i:nth-child(1) { animation: ks-red 1.6s both; }
    .ks-js .ks-light.is-in i:nth-child(2) { animation: ks-amber 1.6s both; }
    .ks-js .ks-light.is-in i:nth-child(3) { animation: ks-green .4s 1.5s both; }
    @keyframes ks-red { 0%, 45% { background: #E5322D; box-shadow: 0 0 14px rgba(229, 50, 45, .8); } 50%, 100% { background: #45494F; box-shadow: none; } }
    @keyframes ks-amber { 0%, 45% { background: #45494F; box-shadow: none; } 50%, 90% { background: #FFB000; box-shadow: 0 0 14px rgba(255, 176, 0, .8); } 100% { background: #45494F; box-shadow: none; } }
    @keyframes ks-green { from { background: #45494F; box-shadow: none; } to { background: #2BD46A; box-shadow: 0 0 14px rgba(43, 212, 106, .8); } }
}
@media (prefers-reduced-motion: reduce) {
    .ks-road__car { display: none; }
    .ks-road__wrap .ks-road__num { background: #fff; }
}
