/* ==========================================================================
   EKT AKADEMİ — Tasarım Sistemi
   Kurumsal Kimlik Kılavuzu v1.0 (08-2026) + Apple tasarım dili
   Renkler:  Koyu Yeşil #0E332E · Antrasit #2C3033 · Siyah #0A0A0A
   Tipografi: Manrope (tek aile, ağırlık hiyerarşisi)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKEN'LAR
   -------------------------------------------------------------------------- */
:root {
  /* Kurumsal renkler — kılavuz 1.11 */
  --ekt-green: #0e332e;
  --ekt-anthracite: #2c3033;
  --ekt-black: #0a0a0a;

  /* Yeşil skala (kılavuzdaki %100→%10 tint dizisi) */
  --green-100: #0e332e;
  --green-90: #26473f;
  --green-80: #3e5b52;
  --green-70: #567065;
  --green-60: #6e8478;
  --green-50: #87998b;
  --green-40: #9fad9e;
  --green-30: #b7c2b1;
  --green-20: #cfd6c4;
  --green-10: #e7ebd7;

  /* Etkileşim için türetilmiş, daha canlı yeşiller (erişilebilir kontrast) */
  --green-action: #14584b;
  --green-action-hover: #0e332e;
  --green-bright: #1f7a66;
  --green-tint: #eef3f1;
  --green-tint-2: #dde8e4;

  /* Nötr skala */
  --ink: #0a0a0a;
  --ink-2: #1d1f21;
  --gray-900: #2c3033;
  --gray-700: #55595d;
  --gray-500: #86898d;
  --gray-400: #a4a7ab;
  --gray-300: #d2d4d7;
  --gray-200: #e6e8ea;
  --gray-100: #f2f3f4;
  --gray-50: #f7f8f8;
  --white: #ffffff;

  /* Anlamsal */
  --bg: var(--white);
  --bg-soft: var(--gray-50);
  --bg-dark: var(--ekt-green);
  --text: var(--ink);
  --text-muted: var(--gray-700);
  --text-faint: var(--gray-500);
  --line: var(--gray-200);
  --line-strong: var(--gray-300);

  --success: #1f7a4d;
  --warning: #9a6208;
  --danger: #b3261e;
  --info: #14584b;

  /* Tipografi — kılavuz 1.12 / 1.13 */
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.75rem, 1.4rem + 5.4vw, 5rem);
  --fs-h1: clamp(2.25rem, 1.3rem + 3.8vw, 3.75rem);
  --fs-h2: clamp(1.875rem, 1.2rem + 2.6vw, 2.875rem);
  --fs-h3: clamp(1.375rem, 1.1rem + 1.1vw, 1.75rem);
  --fs-h4: 1.25rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem);
  --fs-body: 1.0625rem;   /* 17px — Apple gövde ölçüsü, okunaklı taban */
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-label: 0.75rem;

  --lh-tight: 1.06;
  --lh-snug: 1.25;
  --lh-body: 1.7;         /* kılavuz: gövde satır aralığı 1.7 */

  --tracking-display: -0.035em;
  --tracking-head: -0.022em;
  --tracking-body: -0.005em;
  --tracking-label: 0.24em; /* kılavuz: etiket 0.24em */

  /* Uzay */
  --measure: 68ch;        /* kılavuz: 60–75 karakter */
  --container: 1200px;
  --container-narrow: 880px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  /* Form */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(10, 10, 10, 0.05);
  --shadow-sm: 0 2px 8px rgba(10, 10, 10, 0.06);
  --shadow: 0 8px 28px rgba(10, 10, 10, 0.08);
  --shadow-lg: 0 24px 64px rgba(10, 10, 10, 0.12);
  --shadow-green: 0 16px 40px rgba(14, 51, 46, 0.22);

  /* Hareket — Apple'ın yumuşak yaylanması */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 620ms;

  --nav-h: 68px;
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--green-bright);
}

/* --------------------------------------------------------------------------
   2. TEMEL / RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tracking-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
  /* DİKKAT: body'de overflow-x:hidden, position:sticky'yi bozar (menü yapışmaz).
     Destekleyen tarayıcılarda clip kullanılır — kaydırma bağlamı oluşturmaz. */
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }

/* [hidden] her zaman kazanmalı — .card gibi display:flex kuralları bunu eziyordu */
[hidden] { display: none !important; }

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; letter-spacing: var(--tracking-head); line-height: var(--lh-snug); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus { outline: none; }
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--radius-xs);
}

::selection { background: var(--green-tint-2); color: var(--ekt-green); }

/* Erişilebilirlik yardımcıları */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 999;
  transform: translateY(-200%);
  background: var(--ekt-green); color: var(--white);
  padding: 12px 20px; border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 600;
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Kullanıcı tercihi: animasyonları azalt (profil > erişilebilirlik). Sistem
   ayarından bağımsız, localStorage ile kalıcı, ekt.js tüm sayfalara uygular. */
html.reduce-motion { scroll-behavior: auto; }
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}
html.reduce-motion .reveal { opacity: 1; transform: none; }

/* Kullanıcı tercihi: yüksek kontrast — metin/çizgi/kenarlıkları güçlendirir. */
html.high-contrast {
  --text-muted: #1a1d20;
  --line: #6b7076;
  --line-strong: #3a3f44;
}
html.high-contrast .input, html.high-contrast .btn--secondary { border-width: 2px; }
html.high-contrast .faint, html.high-contrast .body-sm.faint { color: #33373b !important; }
html.high-contrast :focus-visible { outline-width: 3px; }

/* --------------------------------------------------------------------------
   3. TİPOGRAFİ SINIFLARI — kılavuz 1.13
   -------------------------------------------------------------------------- */
.display {
  font-size: var(--fs-display);
  font-weight: 200;               /* kılavuz: başlıklarda ince ağırlık */
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
}
.h1 { font-size: var(--fs-h1); font-weight: 300; line-height: 1.08; letter-spacing: var(--tracking-display); }
.h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.12; letter-spacing: var(--tracking-display); }
.h3 { font-size: var(--fs-h3); font-weight: 500; }
.h4 { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.012em; }

.lead {
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: var(--measure);
}
.body-sm { font-size: var(--fs-sm); }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }

/* Etiket — kılavuz: SemiBold, 0.24em aralık */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--green-action);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--green-30); }

.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

/* --------------------------------------------------------------------------
   4. DÜZEN
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ekt-green); color: var(--white); }
.section--dark .lead,
.section--dark .muted { color: var(--green-30); }
.section--ink { background: var(--ekt-black); color: var(--white); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }

/* Sütun sayıları açıkça tanımlı — auto-fit sütun sayısını garanti etmiyordu */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.stack > * + * { margin-top: 1rem; }
.row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.row--center { justify-content: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   5. LOGO
   -------------------------------------------------------------------------- */
.ekt-logo { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--ink); border-radius: var(--radius-xs); }
.ekt-logo svg, .ekt-logo img { height: 32px; width: auto; }
.ekt-logo--sm svg, .ekt-logo--sm img { height: 24px; }
.ekt-logo--lg svg, .ekt-logo--lg img { height: 52px; }
.ekt-logo--invert { color: var(--white); }
/* kılavuz 1.6 — yatay/tek satır kullanım */
.ekt-logo__wordmark {
  font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em;
  padding-left: 0.75rem; border-left: 1px solid currentColor;
  opacity: 0.9;
}
@media (max-width: 480px) { .ekt-logo__wordmark { display: none; } }

/* --------------------------------------------------------------------------
   6. DÜĞMELER
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--green-action);
  --btn-fg: var(--white);
  --btn-bd: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px;                 /* dokunma hedefi ≥44px */
  padding: 0.75rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.btn:hover { background: var(--green-action-hover); transform: translateY(-1px); box-shadow: var(--shadow-green); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.btn--secondary { --btn-bg: var(--gray-100); --btn-fg: var(--ink); }
.btn--secondary:hover { background: var(--gray-200); box-shadow: var(--shadow-sm); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--ekt-green); --btn-bd: var(--line-strong); }
.btn--outline:hover { background: var(--green-tint); border-color: var(--green-action); box-shadow: none; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); }
.btn--ghost:hover { background: var(--gray-100); box-shadow: none; }

.btn--onDark { --btn-bg: var(--white); --btn-fg: var(--ekt-green); }
.btn--onDark:hover { background: var(--green-10); box-shadow: none; }

.btn--onDarkOutline { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,0.4); }
.btn--onDarkOutline:hover { background: rgba(255,255,255,0.12); box-shadow: none; }

.btn--lg { min-height: 56px; padding: 0.95rem 2rem; font-size: var(--fs-body); }
.btn--sm { min-height: 40px; padding: 0.45rem 1.05rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }
.btn--icon { padding: 0; width: 48px; min-height: 48px; border-radius: 50%; }

/* Metin bağlantısı — Apple'ın "ok"lu bağlantısı */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--green-action); font-weight: 600; font-size: var(--fs-sm);
  padding: 0.35rem 0; border-radius: var(--radius-xs);
}
.link-arrow svg { transition: transform var(--dur-fast) var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow--light { color: var(--green-20); }

/* --------------------------------------------------------------------------
   7. NAVİGASYON — buzlu cam
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,0.86); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 100%; }
.nav__links { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 0.9rem; border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 500; color: var(--gray-900);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav__link:hover { background: var(--gray-100); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ekt-green); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: 0.5rem; }
.nav__toggle { display: none; }

@media (max-width: 1024px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto; width: 46px; height: 46px;
    background: transparent; border: 0; border-radius: var(--radius-pill); cursor: pointer;
  }
  .nav__toggle:hover { background: var(--gray-100); }
  .nav__toggle span { position: relative; display: block; width: 20px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease); }
  .nav__toggle span::before, .nav__toggle span::after {
    content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--ink); border-radius: 2px;
    transition: transform var(--dur) var(--ease);
  }
  .nav__toggle span::before { top: -6px; }
  .nav__toggle span::after { top: 6px; }
  .nav__toggle[aria-expanded="true"] span { background: transparent; }
  .nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
}

.drawer {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 99;
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  padding: 1.5rem var(--gutter) 2.5rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; font-size: 1.375rem; font-weight: 400; letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}
.drawer__actions { display: grid; gap: 0.75rem; margin-top: 2rem; }
body.no-scroll { overflow: hidden; }

/* --------------------------------------------------------------------------
   8. KARTLAR
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card--flat { border-radius: var(--radius); box-shadow: none; }
.card__media { position: relative; aspect-ratio: 16 / 10; background: var(--gray-100); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.card--link:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.5rem; flex: 1; }
.card__title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
.card__text { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.6; }
.card__foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }

/* Tam kart tıklanabilir alanı (erişilebilir) */
.stretched::after { content: ""; position: absolute; inset: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.28rem 0.7rem; border-radius: var(--radius-pill);
  background: var(--green-tint); color: var(--green-action);
  font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.badge--neutral { background: var(--gray-100); color: var(--gray-700); }
.badge--dark { background: rgba(255,255,255,0.14); color: var(--white); }
.badge--success { background: #e7f4ed; color: var(--success); }
.badge--warning { background: #fdf3e2; color: var(--warning); }
.badge--danger { background: #fdeceb; color: var(--danger); }
.badge--floating { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* --------------------------------------------------------------------------
   9. FORMLAR
   -------------------------------------------------------------------------- */
.field { display: grid; gap: 0.45rem; }
.field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--gray-900); }
.field__hint { font-size: var(--fs-xs); color: var(--text-faint); }
.field__error { font-size: var(--fs-xs); color: var(--danger); font-weight: 600; display: none; }
.field.has-error .field__error { display: block; }
.field.has-error .input { border-color: var(--danger); }

.input, .select, .textarea {
  width: 100%; min-height: 52px;
  padding: 0.85rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--gray-400); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--gray-400); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  border-color: var(--green-action);
  box-shadow: 0 0 0 4px rgba(31, 122, 102, 0.16);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2355595d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.05rem center;
  padding-right: 2.75rem;
}
/* Tablo hücresi içi küçük durum seçimi (admin başvuru durum değiştirme) */
.select--sm {
  min-height: 38px; padding: 0.3rem 2.1rem 0.3rem 0.7rem;
  font-size: var(--fs-sm); background-position: right 0.65rem center; width: auto;
}
.table-actions { display: flex; justify-content: flex-end; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.admin-dialog {
  width: min(42rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem);
  padding: 0; border: 0; border-radius: var(--radius-md); background: var(--white);
  color: var(--ink); box-shadow: 0 24px 80px rgba(5, 28, 24, 0.28); overflow: auto;
}
.admin-dialog::backdrop { background: rgba(4, 18, 16, 0.62); backdrop-filter: blur(3px); }
.admin-dialog__panel { display: grid; gap: 1.35rem; padding: clamp(1.25rem, 3vw, 2rem); }
.admin-dialog__actions { display: flex; justify-content: flex-end; gap: 0.65rem; flex-wrap: wrap; }
@media (max-width: 640px) {
  .admin-dialog__panel .grid-2 { grid-template-columns: 1fr; }
  .admin-dialog__actions .btn { flex: 1; }
}
.input-group { position: relative; }
.input-group .input { padding-left: 2.9rem; }
.input-group__icon { position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%); color: var(--gray-500); pointer-events: none; }
.input-group__action {
  position: absolute; right: 0.45rem; top: 50%; transform: translateY(-50%);
  min-height: 40px; padding: 0 0.75rem; background: transparent; border: 0;
  border-radius: var(--radius-xs); color: var(--gray-700); font-size: var(--fs-xs); font-weight: 600; cursor: pointer;
}
.input-group__action:hover { background: var(--gray-100); }

.check { display: flex; align-items: flex-start; gap: 0.7rem; cursor: pointer; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--green-action); cursor: pointer; }

/* --------------------------------------------------------------------------
   10. SEKMELER / AKORDİYON
   -------------------------------------------------------------------------- */
.tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tab {
  min-height: 44px; padding: 0.55rem 1.15rem;
  background: var(--gray-100); border: 1px solid transparent; border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 500; color: var(--gray-700); cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.tab:hover { background: var(--gray-200); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ekt-green); color: var(--white); font-weight: 600; }

.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  width: 100%; padding: 1.4rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: var(--fs-lead); font-weight: 500; letter-spacing: -0.015em; color: var(--ink);
}
.accordion__trigger:hover { color: var(--green-action); }
.accordion__icon { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--gray-100); transition: transform var(--dur) var(--ease), background-color var(--dur-fast) var(--ease); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); background: var(--green-tint); color: var(--green-action); }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease); }
.accordion__trigger[aria-expanded="true"] + .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p { padding-bottom: 1.5rem; color: var(--text-muted); max-width: var(--measure); }

/* --------------------------------------------------------------------------
   11. İSTATİSTİK / SÜREÇ
   -------------------------------------------------------------------------- */
.stat { display: grid; gap: 0.25rem; }
.stat__num { font-size: clamp(2.25rem, 1.2rem + 3vw, 3.5rem); font-weight: 200; letter-spacing: -0.04em; line-height: 1; }
.stat__label { font-size: var(--fs-sm); color: var(--text-muted); }
.section--dark .stat__label { color: var(--green-30); }

.step { position: relative; padding-top: 2rem; }
.step__num {
  font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--tracking-label);
  color: var(--green-action); display: block; margin-bottom: 0.85rem;
}
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.step--active::before { background: var(--green-action); }

/* Marka deseni — kılavuz 1.10 (kesik köşeli çerçeve motifi) */
.pattern {
  background-image:
    linear-gradient(to right, rgba(14,51,46,0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,51,46,0.055) 1px, transparent 1px);
  background-size: 68px 68px;
}
.pattern--dark {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 68px 68px;
}

/* --------------------------------------------------------------------------
   12. LOGO ŞERİDİ
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 4rem; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 34px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.5; transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease); }
.marquee img:hover { filter: grayscale(0); opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   13. ALT BİLGİ
   -------------------------------------------------------------------------- */
.footer { background: var(--ekt-black); color: var(--gray-400); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: var(--fs-sm); }
.footer a { color: var(--gray-300); border-radius: var(--radius-xs); }
.footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
/* DİKKAT: repeat(auto-fit) ile fr birlikte kullanılamaz — kural geçersiz sayılıyordu. */
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 2.5rem; }
@media (max-width: 1040px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px)  { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 420px)  { .footer__grid { grid-template-columns: 1fr; } }
.footer__title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); margin-bottom: 1.1rem; }
.footer__list li + li { margin-top: 0.6rem; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: var(--fs-xs); }
.footer .ekt-logo { color: var(--white); }

/* --------------------------------------------------------------------------
   14. YÜZEN ÇUBUK (mobil CTA)
   -------------------------------------------------------------------------- */
.dock {
  position: fixed; left: 50%; bottom: 1rem; z-index: 90;
  transform: translate(-50%, 150%);
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0.6rem 0.55rem 1.35rem;
  background: rgba(10,10,10,0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  color: var(--white); font-size: var(--fs-sm);
  transition: transform var(--dur-slow) var(--ease);
  max-width: calc(100vw - 2rem);
}
.dock.is-visible { transform: translate(-50%, 0); }
.dock__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .dock__text { display: none; } .dock { padding: 0.55rem; } }

/* --------------------------------------------------------------------------
   15. GİRİŞ EKRANI
   -------------------------------------------------------------------------- */
.auth { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
.auth__aside { display: none; }
@media (min-width: 960px) {
  .auth { grid-template-columns: 1fr 1fr; }
  .auth__aside { display: flex; flex-direction: column; justify-content: space-between; background: var(--ekt-green); color: var(--white); padding: clamp(2.5rem, 4vw, 4rem); }
}
.auth__main { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem) var(--gutter); }
.auth__form { width: 100%; max-width: 26rem; margin-inline: auto; }
.auth__aside .lead { color: var(--green-30); max-width: 32ch; }
.auth__points { display: grid; gap: 0.75rem; font-size: var(--fs-sm); color: var(--green-20); }
.auth__points li { position: relative; padding-left: 1.85rem; }
.auth__points li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.3l2.4 2.4L9.5 4' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.auth__sep { display: flex; align-items: center; gap: 1rem; margin: 2rem 0 1.5rem; color: var(--text-faint); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.16em; }
.auth__sep::before, .auth__sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* --------------------------------------------------------------------------
   16. PANEL DÜZENİ (kullanıcı + yönetici)
   -------------------------------------------------------------------------- */
.app { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; background: var(--bg-soft); }
.app__side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: var(--white); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1.5rem; padding: 1.25rem 1rem;
}
.app__brand { padding: 0.5rem 0.6rem 0.25rem; }
.side-group { display: grid; gap: 0.15rem; }
.side-group__title { padding: 0.75rem 0.85rem 0.35rem; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-400); }
.side-link {
  display: flex; align-items: center; gap: 0.8rem; min-height: 44px;
  padding: 0.55rem 0.85rem; border-radius: var(--radius-sm);
  font-size: var(--fs-sm); font-weight: 500; color: var(--gray-700);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.side-link svg { flex: none; color: var(--gray-500); transition: color var(--dur-fast) var(--ease); }
.side-link:hover { background: var(--gray-100); color: var(--ink); }
.side-link[aria-current="page"] { background: var(--green-tint); color: var(--ekt-green); font-weight: 600; }
.side-link[aria-current="page"] svg { color: var(--green-action); }
.side-link__count { margin-left: auto; font-size: var(--fs-xs); font-weight: 700; color: var(--gray-500); }

.app__main { display: flex; flex-direction: column; min-width: 0; }
.app__bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1rem;
  min-height: 68px; padding: 0.75rem clamp(1rem, 3vw, 2rem);
  background: rgba(247,248,248,0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.app__content { padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1rem, 3vw, 2rem) 4rem; display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.app__side-toggle { display: none; }

@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .app__side {
    position: fixed; inset: 0 auto 0 0; z-index: 120; width: 280px;
    transform: translateX(-100%); transition: transform var(--dur) var(--ease); box-shadow: var(--shadow-lg);
  }
  .app.is-side-open .app__side { transform: translateX(0); }
  .app__scrim { position: fixed; inset: 0; z-index: 110; background: rgba(10,10,10,0.4); opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur); border: 0; }
  .app.is-side-open .app__scrim { opacity: 1; visibility: visible; }
  .app__side-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
}
@media (min-width: 961px) { .app__scrim { display: none; } }

/* Panel bileşenleri */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.15rem 1.35rem; border-bottom: 1px solid var(--line); }
.panel__title { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.015em; }
.panel__body { padding: 1.35rem; }
.panel__body--flush { padding: 0; }

.metric { display: grid; gap: 0.4rem; padding: 1.35rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.metric__label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); }
.metric__value { font-size: 2rem; font-weight: 300; letter-spacing: -0.035em; line-height: 1.1; }
.metric__delta { font-size: var(--fs-xs); font-weight: 600; }
.metric__delta--up { color: var(--success); }
.metric__delta--down { color: var(--danger); }

.progress { height: 8px; background: var(--gray-200); border-radius: var(--radius-pill); overflow: hidden; }
.progress__bar { height: 100%; background: var(--green-action); border-radius: inherit; transition: width var(--dur-slow) var(--ease); }
.progress--onDark { background: rgba(255,255,255,0.2); }
.progress--onDark .progress__bar { background: var(--white); }

.avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-tint); color: var(--ekt-green); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.02em; overflow: hidden; }
.avatar--lg { width: 56px; height: 56px; font-size: var(--fs-body); }
.avatar--sm { width: 32px; height: 32px; font-size: var(--fs-xs); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th, .table td { padding: 0.9rem 1.35rem; text-align: left; vertical-align: middle; white-space: nowrap; }
.table th { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); background: var(--gray-50); border-bottom: 1px solid var(--line); position: sticky; top: 0; }
.table tbody tr { border-bottom: 1px solid var(--line); }
.table tbody tr:last-child { border-bottom: 0; }
.table tbody tr:hover { background: var(--gray-50); }
.table td:first-child { white-space: normal; }

.empty { display: grid; place-items: center; gap: 0.75rem; padding: 3.5rem 1.5rem; text-align: center; color: var(--text-muted); }

/* Devam eden eğitim kartı */
.resume { background: var(--ekt-green); color: var(--white); border-radius: var(--radius-lg); overflow: hidden; }
.resume__body { padding: clamp(1.5rem, 3vw, 2.25rem); max-width: 44rem; }
.resume .badge--dark { background: rgba(255,255,255,0.16); }

/* Ajanda listesi */
.agenda { display: grid; gap: 0; padding: 0 !important; }
.agenda__item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.35rem; border-bottom: 1px solid var(--line); }
.agenda__item:last-child { border-bottom: 0; }
.agenda__date {
  flex: none; display: grid; place-items: center; width: 48px; padding: 0.4rem 0;
  background: var(--green-tint); color: var(--ekt-green); border-radius: var(--radius-sm);
  font-size: var(--fs-xs); font-weight: 600; line-height: 1.15; text-transform: uppercase;
}
.agenda__date strong { font-size: 1.125rem; font-weight: 700; display: block; }
.agenda__body { display: grid; gap: 0.15rem; min-width: 0; flex: 1; line-height: 1.4; }
.agenda__body strong { font-weight: 600; letter-spacing: -0.01em; }

/* Eğitim ilerleme listesi */
.course-list { display: grid; gap: 0; padding: 0 !important; }
.course-row { padding: 1rem 1.35rem; border-bottom: 1px solid var(--line); }
.course-row:last-child { border-bottom: 0; }
.course-row strong { font-weight: 600; letter-spacing: -0.01em; }

/* Sertifika listesi */
.cert-list { display: grid; gap: 0; padding: 0 !important; }
.cert { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.35rem; border-bottom: 1px solid var(--line); }
.cert:last-child { border-bottom: 0; }
.cert__seal { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--ekt-green); }
.cert__seal img { filter: invert(1) brightness(2); width: 26px; }
.cert__body { display: grid; gap: 0.15rem; min-width: 0; flex: 1; line-height: 1.4; }

/* Panel — eğitim kartı, sertifika kartı, ilan kartı */
.my-course { height: 100%; }
.my-course__main { padding: 1.35rem; }
.cert-card { overflow: hidden; }
.cert-card__seal { display: grid; place-items: center; padding: 2rem; background: var(--ekt-green); }
.job .h4 { letter-spacing: -0.015em; }
.app__content > .grid { align-items: start; }
.app__content .panel__head .input { font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   17. GİRİŞ ANİMASYONU
   -------------------------------------------------------------------------- */
/* Yalnızca JS çalışıyorsa gizle — betik yüklenmezse içerik yine görünür kalır. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   18. YARDIMCILAR
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.text-center { text-align: center; }
.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none !important; } }
@media (max-width: 960px) { .hide-md { display: none !important; } }

/* --------------------------------------------------------------------------
   19. ANA SAYFA BÖLÜMLERİ
   -------------------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 6vw, 6rem) clamp(3.5rem, 7vw, 7rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background: radial-gradient(60% 60% at 70% 30%, rgba(31,122,102,0.10), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 1024px) { .hero__inner { grid-template-columns: 1.05fr 0.95fr; } }
.hero__copy { max-width: 40rem; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero__stats dd { margin: 0; }
/* <dl>'de dt zorunlu olarak önce gelir; görsel sırayı ters çeviriyoruz (önce rakam). */
.hero__stats .stat { display: flex; flex-direction: column-reverse; gap: 0.25rem; }
.hero__stats .stat__num { font-size: clamp(1.75rem, 1rem + 2.4vw, 2.75rem); }

.hero__art { position: relative; aspect-ratio: 1 / 0.92; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__art-main { position: absolute; inset: 0 0 12% 8%; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__art-a { position: absolute; width: 38%; left: 0; bottom: 0; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 5px solid var(--white); }
.hero__art-b { position: absolute; width: 30%; right: 2%; bottom: 4%; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 5px solid var(--white); }
@media (max-width: 1023px) { .hero__art { display: none; } }

.refs { border-block: 1px solid var(--line); background: var(--bg-soft); }
.refs__title { text-align: center; font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-faint); margin-bottom: 1.75rem; }
.ref-chip {
  display: grid; place-items: center; white-space: nowrap;
  padding: 0.6rem 1.4rem; border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 600; color: var(--gray-500);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.ref-chip:hover { color: var(--ekt-green); border-color: var(--green-action); }
.marquee__track { gap: 1rem; align-items: center; }

.cat { display: grid; }
.cat__link {
  display: grid; gap: 0.3rem; align-content: end;
  min-height: 9.5rem; padding: 1.35rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cat__link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-action); }
.cat__name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; }
.cat__desc { font-size: var(--fs-sm); color: var(--text-muted); }

.outcome { margin-bottom: 3rem; }
.ratio { max-width: 34rem; }

.people { --gap: 1rem; }
.person a {
  display: grid; justify-items: center; gap: 0.35rem; text-align: center;
  padding: 1.75rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  height: 100%;
}
.person a:hover { border-color: var(--green-action); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.person .avatar { margin-bottom: 0.6rem; }
.person__name { font-size: var(--fs-sm); font-weight: 600; }
.person__role { font-size: var(--fs-xs); color: var(--text-faint); }
.person--more { background: var(--green-tint); border-color: transparent !important; align-content: center; }

.quote { gap: 1.25rem; }
.quote__text { font-size: var(--fs-lead); font-weight: 300; line-height: 1.5; letter-spacing: -0.015em; }
.quote__by { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; font-size: var(--fs-sm); line-height: 1.35; }

.cta .lead { max-width: 34rem; }
.section--ink .lead { color: var(--gray-400); }

/* --------------------------------------------------------------------------
   20. İÇ SAYFA BAŞLIĞI
   -------------------------------------------------------------------------- */
.page-head { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head--dark { background: var(--ekt-green); color: var(--white); border-bottom: 0; }
.page-head--dark .lead { color: var(--green-30); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: var(--fs-xs); color: var(--text-faint); margin-bottom: 1rem; }
.crumbs a { border-radius: var(--radius-xs); }
.crumbs a:hover { color: var(--green-action); text-decoration: underline; text-underline-offset: 3px; }
.page-head--dark .crumbs { color: var(--green-40); }
.page-head--dark .crumbs a:hover { color: var(--white); }

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: var(--fs-h3); font-weight: 600; margin-top: 2.5rem; }
.prose h3 { font-size: var(--fs-h4); font-weight: 600; margin-top: 2rem; }
.prose ul { list-style: none; display: grid; gap: 0.6rem; }
.prose ul li { position: relative; padding-left: 1.6rem; color: var(--text-muted); }
.prose ul li::before { content: ""; position: absolute; left: 0.25rem; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--green-action); }
.prose p { color: var(--text-muted); }
.prose strong { color: var(--ink); font-weight: 600; }

/* İki sütunlu iç sayfa gövdesi */
.detail-body { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 1024px) { .detail-body { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.detail-aside { position: sticky; top: calc(var(--nav-h) + 24px); }
@media (max-width: 1023px) { .detail-aside { position: static; } }

.detail-head { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; margin-top: 0.5rem; }
@media (min-width: 1024px) { .detail-head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.detail-cta {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg); padding: 1.6rem;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

.fact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: 1.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.16); }
.fact-row li { display: grid; gap: 0.15rem; }
.fact__k { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-40); }
.fact__v { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.015em; }

.faq-group + .faq-group { margin-top: clamp(2.5rem, 5vw, 4rem); }

.swatches { display: grid; gap: 1rem; }
.swatches li { display: flex; align-items: center; gap: 0.9rem; line-height: 1.35; }
.swatch { flex: none; width: 46px; height: 46px; border-radius: var(--radius-sm); border: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   21. FOTOĞRAF ZEMİNLER
   Metin kontrastı için her zaman koyu bir kaplama katmanı kullanılır.
   -------------------------------------------------------------------------- */
.photo-bg { position: relative; isolation: isolate; overflow: hidden; }
.photo-bg > .photo-bg__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.photo-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,10,0.62), rgba(10,10,10,0.78));
}
/* Kurumsal yeşil tonlu kaplama — marka rengini korur */
.photo-bg--green::before {
  background:
    linear-gradient(180deg, rgba(14,51,46,0.80), rgba(14,51,46,0.92)),
    linear-gradient(180deg, rgba(10,10,10,0.25), rgba(10,10,10,0.45));
}
.photo-bg--soft::before {
  background: linear-gradient(100deg, rgba(14,51,46,0.90) 0%, rgba(14,51,46,0.72) 55%, rgba(10,10,10,0.55) 100%);
}

/* Hakkımızda / iç sayfa görsel şeridi */
.band { margin-block: clamp(2rem, 5vw, 3.5rem) 0; border-radius: var(--radius-xl); overflow: hidden; }
.band img { width: 100%; height: clamp(220px, 34vw, 420px); object-fit: cover; }

/* İletişim yan görseli */
.aside-photo { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.5rem; }
.aside-photo img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }

/* Yüksek kontrast tercihi */
@media (prefers-contrast: more) {
  :root { --text-muted: #33373b; --line: var(--gray-400); --line-strong: var(--gray-500); }
  .btn { font-weight: 700; }
}

/* F8-8: sabit sahte menü sayaçları kaldırıldı; sayı JS'ten (/admin/counts)
   gelene kadar boş rozet çizilmesin. */
.side-link__count:empty{display:none}

/* Yönetici eğitmen formu */
.instructor-form { display: grid; gap: 1rem; padding: 1.25rem; }
.instructor-form__fields { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1.4rem; }
.instructor-training-field { min-width: 0; margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); }
.instructor-training-field legend { padding-inline: 0.35rem; }
.instructor-training-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.5rem; margin-top: 0.85rem; max-height: 19rem; overflow-y: auto; }
.instructor-training-option { display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.7rem; border-radius: var(--radius-sm); background: var(--gray-50); font-size: var(--fs-sm); cursor: pointer; }
.instructor-training-option input { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; accent-color: var(--green-action); }
.instructor-form__notice { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); white-space: pre-wrap; overflow-wrap: anywhere; }
.instructor-profile-details { min-width: 12rem; max-width: 25rem; }
.instructor-profile-details summary { cursor: pointer; font-size: var(--fs-sm); }
.instructor-profile-details p { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 0.5rem; }
.instructor-course-list { display: grid; gap: 0.35rem; min-width: 10rem; }
@media (max-width: 620px) { .instructor-training-options { grid-template-columns: 1fr; } }
