/* ==========================================================================
   Kurumsal — Faaliyet Alanları (.kfa, pages/text.php) ve Partnerlerimiz (.kpa, pages/partners.php)
   Hakkımızda (.about) düzenini ve bileşenlerini temel alır; tüm seçiciler .kfa / .kpa ile sınırlıdır.
   ========================================================================== */

/* ---------- Faaliyet Alanları */
.kfa__intro p { max-width: 68ch; color: var(--ink-2); font-size: 16px; line-height: 1.7; margin: 0; }

.kfa__sectors { list-style: none; margin: clamp(24px, 3vw, 32px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kfa__card { position: relative; overflow: hidden; background: #fff; border: 1px solid #e6ecf4; border-radius: 18px; box-shadow: 0 10px 30px rgba(19,43,70,.06); padding: 24px 22px 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.kfa__card::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--brand), #3a74d1); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.kfa__card:hover { transform: translateY(-3px); border-color: #d5e0ef; box-shadow: 0 18px 40px rgba(19,43,70,.10); }
.kfa__card:hover::after { transform: scaleX(1); }
.kfa__num { position: absolute; top: 16px; right: 20px; font: 600 13px/1 var(--mono); color: #b7c3d6; letter-spacing: .04em; }
.kfa__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: #eaf1fb; color: var(--brand); margin-bottom: 18px; transition: background .2s, color .2s; }
.kfa__icon svg { width: 30px; height: 30px; }
.kfa__card:hover .kfa__icon { background: var(--brand); color: #fff; }
.kfa__card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 6px; color: var(--ink); }
.kfa__card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

.kfa__band { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 36px); align-items: center; margin-top: clamp(32px, 4vw, 48px); padding: clamp(26px, 3.4vw, 40px); border-radius: 20px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #12305e 0%, #0b1d3a 60%, #081530 100%); box-shadow: 0 20px 44px rgba(8,21,48,.20); }
.kfa__band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 220px; background: radial-gradient(circle, rgba(58,116,209,.35), transparent 70%); pointer-events: none; }
.kfa__band > * { position: relative; }
.kfa__band .slash { color: #fff; margin: 0 0 8px; font-size: 13px; }
.kfa__band h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 10px; color: #fff; }
.kfa__band-text p:last-child { margin: 0; color: #c9d5e8; font-size: 15.5px; line-height: 1.65; }
.kfa__services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kfa__services li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-weight: 600; font-size: 15.5px; }
.kfa__services .i { width: 24px; height: 24px; color: #8fb6f5; }

.kfa__certs { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.kfa__certs li { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #f7f9fc; border: 1px solid #e6ecf4; border-radius: 18px; }
.kfa__certicon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 1px solid #e6ecf4; color: var(--red); box-shadow: 0 6px 16px rgba(19,43,70,.06); }
.kfa__certicon .i { width: 24px; height: 24px; }
.kfa__certs h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 2px; }
.kfa__certs p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

.kfa__text { margin-top: clamp(36px, 4vw, 56px); padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid #e6ecf4; border-radius: 20px; box-shadow: 0 10px 30px rgba(19,43,70,.05); }
.kfa__text .slash-title { font-size: clamp(20px, 2vw, 26px); }
.kfa__text .prose { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.kfa__text .prose > div, .kfa__text .prose > p { margin: 0 0 1em; }
.kfa__text .prose > :last-child { margin-bottom: 0; }
.kfa__text .prose > :first-child { font-size: 17px; color: var(--ink); }

/* ---------- Partnerlerimiz */
.kpa__intro { display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 3vw, 40px); }
.kpa__intro p { max-width: 62ch; margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.kpa__count { flex: none; display: flex; align-items: center; gap: 12px; margin: 0; padding: 16px 22px; border-radius: 18px; background: #eaf1fb; border: 1px solid #d8e4f5; }
.kpa__count strong { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--brand); }
.kpa__count span { font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }

.kpa__grid { list-style: none; margin: clamp(26px, 3vw, 34px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.kpa__card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #e6ecf4; border-radius: 18px; box-shadow: 0 8px 24px rgba(19,43,70,.05); overflow: hidden; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.kpa__card:hover { transform: translateY(-3px); border-color: #d5e0ef; box-shadow: 0 18px 40px rgba(19,43,70,.10); color: var(--ink); }
.kpa__logo { display: grid; place-items: center; height: 108px; padding: 16px 18px; }
.kpa__logo img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .25s, opacity .25s, transform .25s; }
.kpa__card:hover .kpa__logo img { filter: none; opacity: 1; transform: scale(1.04); }
.kpa__name { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto; padding: 11px 12px; border-top: 1px solid #eef2f8; background: #f7f9fc; font-size: 14px; font-weight: 600; text-align: center; line-height: 1.3; color: var(--ink-2); transition: background .2s, color .2s; }
.kpa__name .i { width: 14px; height: 14px; color: var(--brand); }
.kpa__card:hover .kpa__name { background: #eaf1fb; color: var(--brand); }
.kpa__empty { margin: 24px 0 0; padding: 22px; border: 1px dashed #d5e0ef; border-radius: 18px; color: var(--muted); text-align: center; }

@media (hover: none) {
    .kpa__logo img { filter: none; opacity: 1; }
}

@media (max-width: 1240px) {
    .kfa__sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kpa__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
    .kfa__sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .kpa__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .kfa__sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kfa__band { grid-template-columns: 1fr; }
    .kpa__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .kfa__certs { grid-template-columns: 1fr; }
    .kpa__intro { flex-direction: column; align-items: flex-start; }
    .kpa__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .kpa__logo { height: 96px; padding: 14px 16px; }
    .kpa__logo img { max-height: 52px; }
}
@media (max-width: 480px) {
    .kfa__sectors { grid-template-columns: 1fr; gap: 12px; }
    .kfa__card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 18px; }
    .kfa__icon { grid-row: span 2; margin: 0; width: 48px; height: 48px; }
    .kfa__icon svg { width: 26px; height: 26px; }
    .kfa__card h3 { font-size: 17px; margin: 0 0 2px; padding-right: 24px; }
    .kfa__services { grid-template-columns: 1fr 1fr; gap: 8px; }
    .kfa__services li { padding: 12px; font-size: 14.5px; gap: 8px; }
    .kfa__services .i { width: 20px; height: 20px; }
}
