/* =========================================================================
   Ahmet Arslan Eğitim Danışmanlık Merkezi — tasarım sistemi
   Renkler Diyarbakır'dan: bazalt surlar (koyu), kireçtaşı (açık), Hevsel yeşili.
   ========================================================================= */

:root {
  --sur: #24282C;
  --sur-2: #2F343A;
  --sur-3: #3B4148;
  --sur-ink: #E6E9E4;
  --kirec: #E8E0CF;
  --kirec-2: #F3EEE3;
  --paper: #F4F5F2;
  --card: #FFFFFF;
  --line: #DCE0DA;
  --line-2: #EBEEE9;
  --ink: #1C2024;
  --ink-2: #4A535C;
  --ink-3: #78828C;
  --hevsel: #1E6B4F;
  --hevsel-2: #175640;
  --hevsel-3: #DDEFE5;
  --hevsel-4: #EEF6F1;
  --amber: #A8690F;
  --amber-3: #F7ECD4;
  --red: #B42318;
  --red-3: #FAE3E0;
  --blue: #2F6FAB;
  --blue-3: #E0EAF5;
  --radius: 12px;
  --radius-s: 8px;
  --radius-xs: 6px;
  --shadow-pop: 0 12px 32px rgba(28, 32, 36, 0.14);
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --sidebar-w: 248px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 0.75rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--hevsel); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
small, .small { font-size: 0.86rem; }
.muted { color: var(--ink-3); }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

:focus-visible { outline: 3px solid rgba(30, 107, 79, 0.45); outline-offset: 2px; border-radius: 4px; }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* -------------------------------------------------------------------------
   Sur bandı — imza motifi (bazalt / kireçtaşı şeritleri)
   ------------------------------------------------------------------------- */
.band {
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--sur) 0 56px, var(--kirec) 56px 112px);
}
.band-thin { height: 6px; }

/* -------------------------------------------------------------------------
   Uygulama kabuğu
   ------------------------------------------------------------------------- */
.app { min-height: 100vh; display: flex; background: linear-gradient(90deg, var(--sur) 0, var(--sur) var(--sidebar-w), var(--paper) var(--sidebar-w)); }

.sidebar {
  width: var(--sidebar-w);
  flex: none;
  background: var(--sur);
  color: var(--sur-ink);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 40;
}
.sidebar-brand {
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}
.sidebar-brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; flex: none;
  border-radius: 10px;
  background: repeating-linear-gradient(180deg, var(--kirec) 0 6px, var(--sur-2) 6px 12px);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--sur);
  position: relative; overflow: hidden;
}
.brand-mark span { background: var(--kirec); padding: 0 4px; border-radius: 3px; line-height: 1.3; }
.brand-text { line-height: 1.15; }
.brand-text b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; line-height: 1.2; }
.brand-text small { color: #AEB6B0; font-size: 0.78rem; }

.sidebar-user {
  margin: 0 1rem 0.75rem;
  padding: 0.7rem 0.75rem;
  background: var(--sur-2);
  border-radius: var(--radius-s);
  display: flex; align-items: center; gap: 0.65rem;
}
.sidebar-user .avatar { flex: none; }
.sidebar-user b { display: block; font-size: 0.92rem; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user small { color: #AEB6B0; font-size: 0.78rem; }

.sidebar-nav { padding: 0.25rem 0.75rem; flex: 1; }
.nav-item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.52rem 0.75rem;
  margin: 1px 0;
  border-radius: var(--radius-s);
  color: #CDD3CE;
  font-weight: 500;
  font-size: 0.94rem;
}
.nav-item:hover { background: var(--sur-2); color: #fff; text-decoration: none; }
.nav-item.active { background: var(--hevsel); color: #fff; }
.nav-item .icon { width: 1.2rem; height: 1.2rem; opacity: 0.9; }
.nav-item .count {
  margin-left: auto;
  background: var(--kirec); color: var(--sur);
  font-size: 0.72rem; font-weight: 700;
  padding: 0.05rem 0.45rem; border-radius: 999px; min-width: 1.4rem; text-align: center;
}
.nav-item.active .count { background: #fff; }
.nav-group { margin: 0.9rem 0.75rem 0.3rem; font-size: 0.72rem; color: #8E979A; letter-spacing: 0.04em; font-weight: 600; }

.sidebar-footer { padding: 0.75rem; border-top: 1px solid var(--sur-3); }
.sidebar-footer form { margin: 0; }
.sidebar-footer .nav-item { width: 100%; background: none; border: 0; cursor: pointer; font: inherit; text-align: left; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  display: none;
  align-items: center; gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: var(--sur); color: #fff;
  position: sticky; top: 0; z-index: 30;
}
.topbar .brand-text b { font-size: 0.95rem; }
.menu-btn {
  background: var(--sur-2); border: 0; color: #fff;
  width: 40px; height: 40px; border-radius: var(--radius-s);
  display: grid; place-items: center; cursor: pointer;
}
.menu-btn .icon { width: 22px; height: 22px; }
.topbar-right { margin-left: auto; display: flex; gap: 0.4rem; }
.topbar-right a { color: #fff; position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-s); background: var(--sur-2); }
.topbar-right .dot { position: absolute; top: 7px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--kirec); border: 2px solid var(--sur); }

.backdrop { display: none; position: fixed; inset: 0; background: rgba(28, 32, 36, 0.5); z-index: 35; }

.content { padding: 1.75rem 2rem 3rem; max-width: 1240px; width: 100%; margin: 0 auto; }

.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.page-head h1 { font-size: 1.7rem; }
.page-sub { color: var(--ink-2); margin-top: 0.25rem; }
.page-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.page-back { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--ink-3); font-size: 0.9rem; margin-bottom: 0.5rem; }

/* Çocuk seçici (veli) */
.child-switch { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.child-switch .select { width: auto; min-width: 200px; }
.child-chip { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.9rem 0.3rem 0.35rem; }

/* -------------------------------------------------------------------------
   Kartlar, ızgaralar
   ------------------------------------------------------------------------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card + .card { margin-top: 1.25rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.card-head h2, .card-head h3 { font-size: 1.05rem; }
.card-head .muted { font-size: 0.86rem; }
.card-body { padding: 1.25rem; }
.card-body.tight { padding: 0.75rem 1.25rem; }
.card-foot { padding: 0.85rem 1.25rem; border-top: 1px solid var(--line-2); display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; border-color: var(--ink-3); }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.grid > .card + .card { margin-top: 0; }
.stack > * + * { margin-top: 1.25rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; display: block; color: inherit; }
.stat:hover { text-decoration: none; }
a.stat:hover { border-color: var(--hevsel); }
.stat-label { color: var(--ink-2); font-size: 0.86rem; display: flex; align-items: center; gap: 0.4rem; }
.stat-value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.1; margin-top: 0.35rem; letter-spacing: -0.02em; }
.stat-value small { font-size: 1rem; color: var(--ink-3); font-weight: 500; font-family: var(--font-body); margin-left: 0.15rem; }
.stat-note { color: var(--ink-3); font-size: 0.82rem; margin-top: 0.3rem; }
.stat.good .stat-value { color: var(--hevsel); }
.stat.warn .stat-value { color: var(--amber); }
.stat.bad .stat-value { color: var(--red); }

.section-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.75rem 0 0.75rem; }
.section-title h2 { font-size: 1.15rem; }

/* Anahtar-değer listesi */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 0.45rem 1.25rem; margin: 0; }
.kv dt { color: var(--ink-3); font-size: 0.9rem; }
.kv dd { margin: 0; }

/* Liste */
.list { list-style: none; margin: 0; padding: 0; }
.list-item { display: flex; align-items: center; gap: 0.9rem; padding: 0.8rem 1.25rem; border-top: 1px solid var(--line-2); }
.list-item:first-child { border-top: 0; }
.list-main { flex: 1; min-width: 0; }
.list-main b { font-weight: 600; display: block; }
.list-meta { color: var(--ink-3); font-size: 0.86rem; margin-top: 0.1rem; }
.list-aside { flex: none; text-align: right; display: flex; align-items: center; gap: 0.5rem; }
.list-time { flex: none; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; min-width: 3.2rem; color: var(--ink); }
.list-time small { display: block; color: var(--ink-3); font-family: var(--font-body); font-weight: 400; font-size: 0.78rem; }
a.list-item { color: inherit; }
a.list-item:hover { background: var(--hevsel-4); text-decoration: none; }

.empty { padding: 2rem 1.25rem; text-align: center; color: var(--ink-3); }
.empty .icon { width: 2rem; height: 2rem; color: var(--line); display: block; margin: 0 auto 0.5rem; }
.empty b { color: var(--ink-2); display: block; font-weight: 600; }
.empty .btn { margin-top: 0.75rem; }

/* -------------------------------------------------------------------------
   Tablolar
   ------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.table th, .table td { padding: 0.7rem 1rem; text-align: left; border-top: 1px solid var(--line-2); vertical-align: middle; }
.table thead th { border-top: 0; font-size: 0.8rem; color: var(--ink-3); font-weight: 600; background: #FAFBF9; white-space: nowrap; }
.table tbody tr:hover { background: #FAFBF9; }
.table td.actions, .table th.actions { text-align: right; white-space: nowrap; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table .row-link { color: inherit; font-weight: 600; }
.table .sub { color: var(--ink-3); font-size: 0.84rem; display: block; }
.table-sm th, .table-sm td { padding: 0.45rem 0.75rem; }

/* -------------------------------------------------------------------------
   Düğmeler, rozetler
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.6rem 1.05rem;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 0.93rem;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--hevsel); color: #fff; }
.btn-primary:hover { background: var(--hevsel-2); }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink-3); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--line-2); }
.btn-danger { background: var(--card); color: var(--red); border-color: #EBC2BD; }
.btn-danger:hover { background: var(--red-3); }
.btn-dark { background: var(--sur); color: #fff; }
.btn-dark:hover { background: var(--sur-2); }
.btn-sm { padding: 0.38rem 0.7rem; font-size: 0.85rem; }
.btn-lg { padding: 0.8rem 1.4rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 0.45rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-row { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
form.inline { display: inline; margin: 0; }

.badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; line-height: 1.5; }
.badge-success { background: var(--hevsel-3); color: var(--hevsel-2); }
.badge-warning { background: var(--amber-3); color: var(--amber); }
.badge-danger { background: var(--red-3); color: var(--red); }
.badge-info { background: var(--blue-3); color: var(--blue); }
.badge-muted { background: var(--line-2); color: var(--ink-2); }
.badge-brand { background: var(--sur); color: var(--kirec); }
.badge-outline { background: transparent; border: 1px solid var(--line); color: var(--ink-2); }

.avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.02em; color: #fff; flex: none; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.15rem; }
.avatar-sm { width: 28px; height: 28px; font-size: 0.68rem; }
.avatar-h0 { background: #1E6B4F; } .avatar-h1 { background: #2F6FAB; } .avatar-h2 { background: #8A3B5C; }
.avatar-h3 { background: #A8690F; } .avatar-h4 { background: #3B4148; } .avatar-h5 { background: #4F6D7A; }

.progress { height: 8px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--hevsel); border-radius: 999px; }
.progress.warn i { background: var(--amber); }
.progress.bad i { background: var(--red); }

/* -------------------------------------------------------------------------
   Formlar
   ------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.35rem; color: var(--ink); }
.field .help { color: var(--ink-3); font-size: 0.82rem; margin-top: 0.3rem; }
.field .error { color: var(--red); font-size: 0.82rem; margin-top: 0.3rem; font-weight: 500; }
.input, .select, .textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: #fff;
  font: inherit; color: var(--ink);
  transition: border-color 0.15s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--hevsel); outline: 3px solid rgba(30, 107, 79, 0.18); outline-offset: 0; }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--red); }
.textarea { min-height: 110px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A535C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; }
.input-sm, .select-sm { padding: 0.4rem 0.6rem; font-size: 0.88rem; }
.input-num { width: 5.5rem; text-align: center; }
.check, .field .check, .field label.check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.93rem; font-weight: 400; cursor: pointer; margin-bottom: 0; }
.check input { width: 18px; height: 18px; margin: 0.15rem 0 0; accent-color: var(--hevsel); flex: none; }
.check-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.4rem 1rem; max-height: 320px; overflow: auto; padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: #FAFBF9; }
.form-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; margin-top: 1.5rem; }
.form-actions .right { margin-left: auto; }

.toolbar { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.toolbar form { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin: 0; }
.toolbar .select, .toolbar .input { width: auto; min-width: 160px; }
.toolbar .spacer { flex: 1; }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; background: #fff; }
.seg a, .seg button { padding: 0.45rem 0.85rem; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--ink-2); background: none; border: 0; border-left: 1px solid var(--line); cursor: pointer; }
.seg a:first-child, .seg button:first-child { border-left: 0; }
.seg a:hover { text-decoration: none; background: var(--line-2); }
.seg .active { background: var(--sur); color: #fff; }

/* Radyo kartları (yoklama vb.) */
.choice { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; background: #fff; }
.choice label { position: relative; padding: 0.4rem 0.55rem; font-size: 0.82rem; font-weight: 600; color: var(--ink-2); cursor: pointer; border-left: 1px solid var(--line); user-select: none; }
.choice label:first-child { border-left: 0; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice input:focus-visible + span { outline: 2px solid var(--hevsel); outline-offset: -2px; }
.choice label:has(input:checked) { color: #fff; }
.choice label.c-present:has(input:checked) { background: var(--hevsel); }
.choice label.c-absent:has(input:checked) { background: var(--red); }
.choice label.c-late:has(input:checked) { background: var(--amber); }
.choice label.c-excused:has(input:checked) { background: var(--blue); }

/* -------------------------------------------------------------------------
   Uyarılar
   ------------------------------------------------------------------------- */
.flash-stack { margin-bottom: 1.25rem; display: grid; gap: 0.6rem; }
.alert { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.85rem 1rem; border-radius: var(--radius-s); border: 1px solid; font-size: 0.93rem; }
.alert .icon { flex: none; margin-top: 0.1rem; }
.alert-success { background: var(--hevsel-3); border-color: #BFDFD0; color: var(--hevsel-2); }
.alert-error { background: var(--red-3); border-color: #EBC2BD; color: var(--red); }
.alert-info { background: var(--blue-3); border-color: #C4D6EA; color: var(--blue); }
.alert-warning { background: var(--amber-3); border-color: #E8D3A6; color: var(--amber); }
.alert-plain { background: var(--kirec-2); border-color: var(--kirec); color: var(--ink-2); }
.alert b { font-weight: 600; }

.credentials { background: var(--sur); color: #fff; border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; }
.credentials h3 { color: var(--kirec); margin-bottom: 0.5rem; }
.credentials code { font-size: 1.1rem; background: var(--sur-2); padding: 0.2rem 0.55rem; border-radius: 6px; color: #fff; }
.credentials .kv dt { color: #AEB6B0; }

/* -------------------------------------------------------------------------
   Haftalık program
   ------------------------------------------------------------------------- */
.week-nav { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.week-nav .title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.6rem; }
.week-day { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); min-height: 160px; display: flex; flex-direction: column; }
.week-day.today { border-color: var(--hevsel); box-shadow: inset 0 0 0 1px var(--hevsel); }
.week-day-head { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line-2); display: flex; align-items: baseline; justify-content: space-between; }
.week-day-head b { font-family: var(--font-display); font-weight: 600; }
.week-day-head span { color: var(--ink-3); font-size: 0.8rem; }
.week-day.today .week-day-head b { color: var(--hevsel); }
.week-day-body { padding: 0.5rem; display: grid; gap: 0.4rem; align-content: start; flex: 1; }
.week-day-body .none { color: var(--ink-3); font-size: 0.8rem; text-align: center; padding: 1rem 0; }
.lesson-card { display: block; padding: 0.5rem 0.6rem; border-radius: var(--radius-xs); background: var(--hevsel-4); border-left: 3px solid var(--hevsel); color: inherit; font-size: 0.84rem; line-height: 1.35; }
.lesson-card:hover { text-decoration: none; background: var(--hevsel-3); }
.lesson-card b { display: block; font-weight: 600; }
.lesson-card .t { font-weight: 600; color: var(--hevsel-2); font-variant-numeric: tabular-nums; }
.lesson-card .m { color: var(--ink-3); display: block; }
.lesson-card.done { background: #F6F7F5; border-left-color: var(--ink-3); }
.lesson-card.done .t { color: var(--ink-2); }
.lesson-card.cancelled { background: var(--red-3); border-left-color: var(--red); text-decoration: line-through; opacity: 0.8; }
.lesson-card.needs-att { border-left-color: var(--amber); background: var(--amber-3); }

/* -------------------------------------------------------------------------
   Grafikler
   ------------------------------------------------------------------------- */
.chart { width: 100%; height: auto; display: block; font-family: var(--font-body); }
.chart-grid { stroke: var(--line-2); stroke-width: 1; }
.chart-axis { stroke: var(--line); stroke-width: 1; }
.chart-tick { fill: var(--ink-3); font-size: 11px; }
.chart-tick.muted { fill: #AEB6B0; }
.chart-value { fill: var(--ink-2); font-size: 11px; font-weight: 600; }
.chart-legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; color: var(--ink-2); margin-top: 0.5rem; }
.chart-legend-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.chart-legend-item i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.chart-legend-item i.dashed { background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 7px) !important; color: #8B949E; }
.chart-empty { padding: 2rem; text-align: center; color: var(--ink-3); background: #FAFBF9; border-radius: var(--radius-s); }

/* -------------------------------------------------------------------------
   Mesajlar
   ------------------------------------------------------------------------- */
.msg-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.msg-thread { display: flex; flex-direction: column; min-height: 60vh; }
.msg-list { flex: 1; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; overflow-y: auto; max-height: 60vh; }
.msg { max-width: 78%; padding: 0.6rem 0.85rem; border-radius: 14px; background: var(--line-2); font-size: 0.93rem; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.mine { background: var(--hevsel); color: #fff; align-self: flex-end; border-bottom-left-radius: 14px; border-bottom-right-radius: 4px; }
.msg time { display: block; font-size: 0.72rem; opacity: 0.7; margin-top: 0.2rem; }
.msg-day { align-self: center; font-size: 0.75rem; color: var(--ink-3); background: var(--paper); padding: 0.15rem 0.7rem; border-radius: 999px; margin: 0.5rem 0; }
.msg-form { display: flex; gap: 0.6rem; padding: 0.85rem 1.25rem; border-top: 1px solid var(--line-2); }
.msg-form .textarea { min-height: 44px; max-height: 160px; }
.unread-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--hevsel); display: inline-block; }

/* -------------------------------------------------------------------------
   Duyuru kartı
   ------------------------------------------------------------------------- */
.announcement { padding: 1.25rem; border-top: 1px solid var(--line-2); }
.announcement:first-child { border-top: 0; }
.announcement h3 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.05rem; }
.announcement .meta { color: var(--ink-3); font-size: 0.84rem; margin: 0.25rem 0 0.6rem; }
.announcement.pinned { background: var(--kirec-2); }

/* -------------------------------------------------------------------------
   Giriş ekranı
   ------------------------------------------------------------------------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { background: var(--sur); color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side .brand-text b { font-size: 1.15rem; }
.auth-side h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; max-width: 18ch; }
.auth-side p { color: #C3CAC4; max-width: 44ch; font-size: 1.02rem; }
.auth-side .band { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; }
.auth-wall { position: absolute; right: -40px; top: 20%; width: 280px; height: 60%; opacity: 0.18; background: repeating-linear-gradient(180deg, var(--kirec) 0 22px, transparent 22px 44px); transform: skewY(-8deg); }
.auth-form { display: grid; place-items: center; padding: 2rem; }
.auth-form .card { width: 100%; max-width: 420px; }
.auth-form h2 { font-size: 1.5rem; margin-bottom: 0.25rem; }

/* -------------------------------------------------------------------------
   Minimal (hata) düzeni
   ------------------------------------------------------------------------- */
.minimal { min-height: 100vh; display: grid; place-items: center; padding: 2rem; }
.minimal .card { max-width: 520px; width: 100%; text-align: center; padding: 2.5rem 2rem; }
.minimal .code { font-family: var(--font-display); font-size: 4rem; font-weight: 700; color: var(--line); line-height: 1; }

/* Segment içinde radyo etiketleri */
.seg label { position: relative; cursor: pointer; margin: 0; }
.seg label input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--sur); color: #fff; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--hevsel); outline-offset: -2px; }

/* -------------------------------------------------------------------------
   Panel cilası: gölgeler, geçişler, odak
   ------------------------------------------------------------------------- */
.card { box-shadow: 0 1px 2px rgba(28, 32, 36, 0.04); }
.btn { transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s, box-shadow 0.15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { box-shadow: 0 1px 0 rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.08); }
.btn-primary:focus-visible { outline-color: rgba(30, 107, 79, 0.5); }
.stat { transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
a.stat:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(28, 32, 36, 0.06); }
.table tbody tr { transition: background 0.1s; }
.nav-item { transition: background 0.12s, color 0.12s; }
.input, .select, .textarea { transition: border-color 0.15s, box-shadow 0.15s; }
.input:hover, .select:hover, .textarea:hover { border-color: #C5CBC3; }
.help { color: var(--ink-3); font-size: 0.82rem; margin-top: 0.3rem; line-height: 1.45; }
.help a { font-weight: 500; }
.stack-sm > * + * { margin-top: 0.75rem; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.88em; background: var(--line-2); padding: 0.05rem 0.35rem; border-radius: 4px; color: var(--ink); }
.credentials code, .msg code { background: rgba(255,255,255,0.12); }

/* -------------------------------------------------------------------------
   Web sitesi yönetimi (CMS)
   ------------------------------------------------------------------------- */
.subnav { display: flex; gap: 0.25rem; flex-wrap: wrap; align-items: center; margin: -0.5rem 0 1.5rem; padding-bottom: 0.25rem; border-bottom: 1px solid var(--line); overflow-x: auto; }
.subnav a { padding: 0.5rem 0.85rem; border-radius: var(--radius-s) var(--radius-s) 0 0; color: var(--ink-2); font-weight: 500; font-size: 0.9rem; white-space: nowrap; position: relative; }
.subnav a:hover { text-decoration: none; color: var(--ink); background: var(--line-2); }
.subnav a.active { color: var(--hevsel-2); font-weight: 600; }
.subnav a.active::after { content: ""; position: absolute; left: 0.5rem; right: 0.5rem; bottom: -0.3rem; height: 3px; border-radius: 3px; background: var(--hevsel); }
.subnav .subnav-ext { margin-left: auto; display: inline-flex; align-items: center; gap: 0.35rem; color: var(--ink-3); font-size: 0.85rem; }

.check-dot { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none; margin-top: 0.05rem; }
.check-dot .icon { width: 14px; height: 14px; }
.check-dot.ok { background: var(--hevsel-3); color: var(--hevsel-2); }
.check-dot.no { background: var(--amber-3); color: var(--amber); }
.seo-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; background: var(--line); }
.seo-dot.ok { background: var(--hevsel); } .seo-dot.warn { background: var(--amber); } .seo-dot.bad { background: var(--red); }
.seo-score { font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.4rem; }

.list-item-details { display: block; padding: 0; }
.list-item-details > summary { list-style: none; display: flex; align-items: center; gap: 0.9rem; padding: 0.8rem 1.25rem; cursor: pointer; }
.list-item-details > summary::-webkit-details-marker { display: none; }
.list-item-details > summary:hover { background: #FAFBF9; }
.list-item-details[open] > summary { background: var(--hevsel-4); }
.list-item-details .list-form { padding: 1rem 1.25rem 1.25rem; border-top: 1px dashed var(--line); background: #FCFCFB; }
.chips { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0.25rem 0.7rem; font: inherit; font-size: 0.8rem; color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--hevsel); color: var(--hevsel-2); }

/* Editör düzeni */
.editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.25rem; align-items: start; }
.editor-main > .card + .card { margin-top: 1.25rem; }
.editor-side { position: sticky; top: 1.25rem; }
.editor-side > .card + .card { margin-top: 1.25rem; }
.input-title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; padding: 0.65rem 0.85rem; letter-spacing: -0.01em; }
.slug-row { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.6rem; flex-wrap: wrap; }
.slug-prefix { color: var(--ink-3); font-size: 0.85rem; font-family: ui-monospace, Menlo, Consolas, monospace; white-space: nowrap; }
.slug-input { flex: 1; min-width: 180px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.88rem; padding: 0.4rem 0.6rem; }
.slug-input[readonly] { background: var(--paper); color: var(--ink-2); }
.editor-card { overflow: hidden; }
.editor-card .tox-tinymce { border: 0 !important; border-radius: 0 !important; }
.tox .tox-toolbar__primary { background: #FAFBF9 !important; }
.tox-tinymce { font-family: var(--font-body) !important; }
.tox .tox-editor-header { box-shadow: 0 1px 0 var(--line-2) !important; }
.tox .tox-statusbar { border-top: 1px solid var(--line-2) !important; }
.counter { font-weight: 500; color: var(--ink-3); font-size: 0.8rem; margin-left: 0.3rem; }
.counter.over { color: var(--red); } .counter.under { color: var(--amber); }
.seg-full { display: flex; width: 100%; }
.seg-full label { flex: 1; text-align: center; padding: 0.5rem 0.75rem; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); border-left: 1px solid var(--line); }
.seg-full label:first-child { border-left: 0; }
.seg-full label.active, .seg-full label:has(input:checked) { background: var(--sur); color: #fff; }
.logo-pick { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.cover-preview { aspect-ratio: 16 / 9; border-radius: var(--radius-s); overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; }
.cover-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-preview.empty { border-style: dashed; }

/* Google sonuç önizlemesi */
.serp { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0.9rem 1rem; background: #fff; font-family: Arial, Helvetica, sans-serif; max-width: 640px; }
.serp-site { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.3rem; }
.serp-fav { width: 26px; height: 26px; border-radius: 50%; background: #F1F3F4; display: grid; place-items: center; color: var(--hevsel); }
.serp-fav .icon { width: 15px; height: 15px; }
.serp-site b { display: block; font-size: 0.85rem; color: #202124; font-weight: 400; }
.serp-site small { display: block; font-size: 0.75rem; color: #4D5156; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 520px; }
.serp-title { color: #1A0DAB; font-size: 1.15rem; line-height: 1.3; margin: 0.1rem 0 0.2rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.serp-desc { color: #4D5156; font-size: 0.86rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.seo-check { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.35rem 1rem; }
.seo-check-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.86rem; color: var(--ink-2); padding: 0.3rem 0; }
.seo-check-item .icon { width: 16px; height: 16px; flex: none; border-radius: 50%; padding: 2px; }
.seo-check-item.ok .icon { background: var(--hevsel-3); color: var(--hevsel-2); }
.seo-check-item.no .icon { background: var(--amber-3); color: var(--amber); }
.seo-check-item.no { color: var(--ink); }

/* Medya kütüphanesi */
.media-library { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.media-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.media-card.warn { border-color: #E8D3A6; }
.media-thumb { display: block; aspect-ratio: 4 / 3; background: repeating-conic-gradient(#F1F2EF 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.media-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.media-file { display: grid; place-items: center; height: 100%; color: var(--ink-3); gap: 0.25rem; }
.media-file .icon { width: 2rem; height: 2rem; }
.media-meta { padding: 0.75rem; display: grid; gap: 0.45rem; margin: 0; }
.media-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }

/* Medya seçici (dialog) */
.media-picker { border: 0; border-radius: var(--radius); padding: 0; width: min(960px, 94vw); max-height: 86vh; box-shadow: var(--shadow-pop); }
.media-picker::backdrop { background: rgba(28, 32, 36, 0.55); backdrop-filter: blur(2px); }
.media-picker-head { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; background: #fff; z-index: 1; }
.media-picker-head b { font-family: var(--font-display); font-size: 1.05rem; margin-right: auto; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.75rem; padding: 1rem; overflow-y: auto; max-height: calc(86vh - 60px); }
.media-tile { border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; padding: 0; overflow: hidden; cursor: pointer; text-align: left; font: inherit; display: flex; flex-direction: column; position: relative; transition: border-color 0.12s, transform 0.12s; }
.media-tile:hover { border-color: var(--hevsel); transform: translateY(-1px); }
.media-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--paper); }
.media-tile span { display: block; padding: 0.4rem 0.5rem; font-size: 0.76rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-tile.uploading { aspect-ratio: 4 / 3; justify-content: flex-end; background: var(--paper); border-style: dashed; }
.media-tile.failed { border-color: var(--red); color: var(--red); }
.media-progress { position: absolute; left: 0; top: 0; height: 4px; background: var(--hevsel); width: 0; transition: width 0.2s; }
.media-grid .empty { grid-column: 1 / -1; }

@media (max-width: 1100px) {
  .editor-layout { grid-template-columns: 1fr; }
  .editor-side { position: static; }
  .seo-check { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   Mobil — panel
   ------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-main { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .msg-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .app { background: var(--paper); }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-100%); transition: transform 0.22s ease; height: 100vh; }
  body.sidebar-open .sidebar { transform: none; }
  body.sidebar-open .backdrop { display: block; }
  body.sidebar-open { overflow: hidden; }
  .topbar { display: flex; }
  .content { padding: 1.25rem 1rem 3rem; }
  .page-head h1 { font-size: 1.45rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .week { grid-template-columns: 1fr; }
  .week-day { min-height: 0; }
  .week-day .none { padding: 0.5rem 0; }
  .card-head, .card-body, .card-foot { padding-left: 1rem; padding-right: 1rem; }
  .list-item { padding-left: 1rem; padding-right: 1rem; }
  .table th, .table td { padding: 0.6rem 0.75rem; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { padding: 2rem 1.5rem 2.5rem; min-height: 0; }
  .auth-side h1 { font-size: 1.6rem; }
  .auth-side .auth-wall { display: none; }
  .msg { max-width: 90%; }
  .stat-value { font-size: 1.6rem; }
  .kv { grid-template-columns: 1fr; gap: 0.1rem 0; }
  .kv dt { margin-top: 0.5rem; }
}

@media print {
  .sidebar, .topbar, .page-actions, .btn, .msg-form, .site-header, .site-footer { display: none !important; }
  .content { padding: 0; max-width: none; }
  body { background: #fff; }
  .card { break-inside: avoid; }
}

/* -------------------------------------------------------------------------
   Tanıtım sitesi — kurumsal site
   ------------------------------------------------------------------------- */
.site { background: #fff; font-size: 16px; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: 800px; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--sur); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-s); z-index: 100; }
.skip-link:focus { top: 1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hevsel); margin-bottom: 0.75rem; }
.eyebrow.light { color: var(--kirec); }
.eyebrow .icon { width: 0.95rem; height: 0.95rem; }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.section-head.row > div { max-width: 760px; }
.section-head .intro { margin-top: 0.75rem; }

/* Üst çubuk */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line-2); transition: box-shadow 0.2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(28, 32, 36, 0.06); }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.site-header .brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); min-width: 0; }
.site-header .brand:hover { text-decoration: none; }
.site-header .brand .brand-text b { font-size: 1.02rem; white-space: nowrap; }
.site-header .brand .brand-text small { color: var(--ink-3); }
.brand-logo { display: block; height: 44px; width: auto; max-width: 240px; object-fit: contain; }
.site-nav { margin-left: auto; display: flex; gap: 0.15rem; align-items: center; }
.site-nav a:not(.btn) { color: var(--ink-2); font-weight: 500; font-size: 0.94rem; padding: 0.45rem 0.65rem; border-radius: 8px; position: relative; white-space: nowrap; }
.site-nav a:not(.btn):hover { color: var(--ink); text-decoration: none; background: var(--paper); }
.site-nav a.active { color: var(--hevsel-2); }
.site-nav a.active::after { content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.2rem; height: 2px; background: var(--hevsel); border-radius: 2px; }
.site-nav .site-nav-phone { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600 !important; color: var(--ink) !important; margin-left: 0.35rem; }
.site-nav .btn { margin-left: 0.35rem; }
@media (max-width: 1240px) and (min-width: 901px) {
  .site-header .brand .brand-text b { font-size: 0.95rem; }
  .site-header .brand .brand-text small { display: none; }
  .site-nav .site-nav-phone { font-size: 0 !important; gap: 0; padding: 0.45rem 0.55rem; }
  .site-nav .site-nav-phone .icon { width: 1.15rem; height: 1.15rem; font-size: 1rem; }
}
.site-menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--radius-s); border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.site-menu-btn .icon { width: 22px; height: 22px; }
.site-menu-btn .icon + .icon { display: none; }
body.nav-open .site-menu-btn .icon { display: none; }
body.nav-open .site-menu-btn .icon + .icon { display: block; }

/* Kahraman alan */
.hero { background: var(--sur); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 80% at 85% 20%, rgba(30, 107, 79, 0.42), transparent 60%),
  radial-gradient(40% 60% at 10% 100%, rgba(232, 224, 207, 0.12), transparent 60%),
  linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 100% 56px,
  linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 56px 100%; }
.hero .container { padding-top: 5.5rem; padding-bottom: 5.5rem; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3.5rem; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.025em; max-width: 16ch; line-height: 1.08; }
.hero p.lead { color: #C9D0CA; font-size: 1.15rem; max-width: 52ch; margin: 1.35rem 0 1.9rem; line-height: 1.6; }
.hero .btn-row { gap: 0.75rem; }
.hero .btn-primary { box-shadow: 0 10px 30px rgba(30, 107, 79, 0.35); }
.hero .btn-outline, .page-hero .btn-outline { border-color: rgba(255,255,255,0.28); color: #fff; background: rgba(255,255,255,0.04); }
.hero .btn-outline:hover, .page-hero .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.45); }
.hero-note { margin-top: 1.75rem; color: #AEB6B0; font-size: 0.9rem; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-note .icon { color: var(--kirec); }
.hero .band { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; }

/* Veli görünümü maketi */
.demo { background: #fff; color: var(--ink); border-radius: 18px; padding: 1.25rem; box-shadow: 0 40px 80px rgba(0,0,0,0.42), 0 0 0 1px rgba(255,255,255,0.06); transform: rotate(-1.5deg); position: relative; }
.demo::before { content: ""; position: absolute; inset: -1px; border-radius: 19px; padding: 1px; background: linear-gradient(135deg, rgba(255,255,255,0.35), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.demo-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.demo-head small { color: var(--ink-3); display: block; }
.demo-live { margin-left: auto; font-size: 0.72rem; font-weight: 700; color: var(--hevsel-2); display: inline-flex; align-items: center; gap: 0.35rem; background: var(--hevsel-3); padding: 0.15rem 0.55rem; border-radius: 999px; }
.demo-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--hevsel); box-shadow: 0 0 0 0 rgba(30,107,79,0.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30,107,79,0.5); } 70% { box-shadow: 0 0 0 7px rgba(30,107,79,0); } 100% { box-shadow: 0 0 0 0 rgba(30,107,79,0); } }
.demo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 0.9rem; }
.demo-stat { background: var(--paper); border-radius: 10px; padding: 0.6rem 0.7rem; }
.demo-stat b { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--hevsel); line-height: 1.1; }
.demo-stat small { color: var(--ink-3); font-size: 0.74rem; }
.demo-line { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.55rem 0; border-top: 1px solid var(--line-2); font-size: 0.86rem; }
.demo-line .badge { font-size: 0.7rem; }
.demo-line small { color: var(--ink-3); display: block; }
.demo-spark { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--line-2); }
.demo-spark svg { width: 100%; height: 40px; display: block; }
.demo-spark polyline { fill: none; stroke: var(--hevsel); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.demo-spark small { color: var(--ink-3); font-size: 0.72rem; display: block; margin-top: 0.25rem; }

/* Güven şeridi */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line-2); }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.trust-strip > .container > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 0.75rem; align-items: start; align-content: start; }
.trust-strip .icon { grid-row: 1 / 3; align-self: center; width: 1.5rem; height: 1.5rem; color: var(--hevsel); }
.trust-strip b { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }
.trust-strip span { color: var(--ink-3); font-size: 0.84rem; }

/* Bölümler */
.site-section { padding: 5rem 0; }
.site-section.alt { background: var(--paper); }
.site-section.section-tight { padding: 3.5rem 0; }
.site-section h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.12; }
.site-section .intro { color: var(--ink-2); font-size: 1.08rem; max-width: 62ch; margin-top: 0.75rem; line-height: 1.6; }

/* Hizmet kartları */
.services { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.service { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.4rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s; position: relative; overflow: hidden; }
.service::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--hevsel); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.service:hover { text-decoration: none; border-color: var(--hevsel); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(28, 32, 36, 0.08); }
.service:hover::after { transform: scaleX(1); }
.service-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--hevsel-4); color: var(--hevsel); display: grid; place-items: center; }
.service-icon .icon { width: 1.4rem; height: 1.4rem; }
.service h3 { font-size: 1.08rem; }
.service p { color: var(--ink-2); font-size: 0.92rem; flex: 1; margin: 0; line-height: 1.5; }
.service-more { color: var(--hevsel); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.service-more .icon { transform: rotate(180deg); transition: transform 0.2s; }
.service:hover .service-more .icon { transform: rotate(180deg) translateX(-3px); }

/* Özellikler */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem 1.5rem; position: relative; }
.feature-num { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--hevsel); letter-spacing: 0.08em; display: inline-block; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--hevsel); }
.feature:nth-child(2) .feature-num { color: var(--amber); border-color: var(--amber); }
.feature:nth-child(3) .feature-num { color: var(--blue); border-color: var(--blue); }
.feature h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature p { color: var(--ink-2); line-height: 1.6; }

/* Portal */
.portal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; align-items: center; }
.portal-list { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1rem; }
.portal-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.portal-list .icon { color: var(--hevsel); flex: none; margin-top: 0.1rem; width: 1.35rem; height: 1.35rem; background: var(--hevsel-4); border-radius: 6px; padding: 3px; box-sizing: content-box; }
.portal-list b { display: block; }
.portal-list span { color: var(--ink-2); font-size: 0.95rem; }
.role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.role-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.15rem; transition: transform 0.18s, box-shadow 0.18s; }
.role-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(28, 32, 36, 0.08); }
.role-card:nth-child(2) { transform: translateY(1.25rem); }
.role-card:nth-child(2):hover { transform: translateY(calc(1.25rem - 3px)); }
.role-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--sur); color: var(--kirec); display: grid; place-items: center; }
.role-icon .icon { width: 1.3rem; height: 1.3rem; }
.role-card h3 { font-size: 1.05rem; margin: 0.75rem 0 0.35rem; }
.role-card p { color: var(--ink-2); font-size: 0.92rem; line-height: 1.5; }

/* Eğitmenler */
.teachers { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.teacher { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform 0.18s, box-shadow 0.18s; }
.teacher:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(28, 32, 36, 0.06); }
.teacher .avatar-lg { margin-bottom: 0.9rem; }
.teacher h3, .teacher h2 { font-size: 1.1rem; }
.teacher .role { color: var(--hevsel); font-weight: 600; font-size: 0.9rem; margin: 0.15rem 0 0.6rem; }
.teacher p { color: var(--ink-2); font-size: 0.93rem; line-height: 1.55; }
.teachers-page { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.teachers-page .teacher-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.9rem; }
.teachers-page .teacher-top .avatar-lg { margin: 0; }
.teachers-page .teacher-top .role { margin-bottom: 0; }

/* Görüşler */
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.testimonial { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem 1.5rem; position: relative; display: flex; flex-direction: column; }
.quote-mark { position: absolute; top: 0.35rem; left: 1.1rem; font-family: Georgia, serif; font-size: 4rem; line-height: 1; color: var(--kirec); }
.testimonial p { color: var(--ink); font-size: 1.02rem; line-height: 1.65; flex: 1; position: relative; }
.testimonial footer { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line-2); }
.testimonial footer b { display: block; font-size: 0.95rem; }
.testimonial footer small { color: var(--ink-3); }

/* SSS */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 96px; }
.faq { display: grid; gap: 0.6rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color 0.15s; }
.faq-item[open] { border-color: var(--hevsel); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; font-weight: 600; font-family: var(--font-display); font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: none; color: var(--ink-3); transition: transform 0.2s; width: 1.2rem; height: 1.2rem; }
.faq-item[open] summary .icon { transform: rotate(180deg); color: var(--hevsel); }
.faq-item[open] summary { border-bottom: 1px solid var(--line-2); }
.faq-a { padding: 0.95rem 1.25rem 1.15rem; color: var(--ink-2); line-height: 1.6; }
.faq-a p { max-width: 70ch; }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3.5rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; margin-top: 1.75rem; }
.contact-info > a, .contact-info > div { display: flex; gap: 0.85rem; align-items: flex-start; color: var(--ink); padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; transition: border-color 0.15s; }
.contact-info > a:hover { text-decoration: none; border-color: var(--hevsel); }
.contact-info .icon { color: var(--hevsel); flex: none; margin-top: 0.1rem; width: 1.3rem; height: 1.3rem; }
.contact-info small { display: block; color: var(--ink-3); }
.map-embed { margin-top: 1.25rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 20px 50px rgba(28, 32, 36, 0.06); }
.contact-form h3 { margin-bottom: 0.25rem; font-size: 1.3rem; }
.contact-form .muted { margin-bottom: 1.25rem; }
.contact-form .input, .contact-form .select, .contact-form .textarea { padding: 0.75rem 0.9rem; }
.cta-wide { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-wide .intro { margin-top: 0.5rem; }

/* İç sayfa başlıkları */
.page-hero { background: var(--sur); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 90% 10%, rgba(30, 107, 79, 0.4), transparent 60%); }
.page-hero .container { position: relative; padding-top: 3.25rem; padding-bottom: 3.75rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); max-width: 24ch; letter-spacing: -0.02em; line-height: 1.1; }
.page-hero .lead { color: #C9D0CA; font-size: 1.1rem; max-width: 64ch; margin: 1rem 0 1.5rem; line-height: 1.6; }
.page-hero .band { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; }
.crumbs { font-size: 0.85rem; color: #9AA3A5; margin-bottom: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.crumbs a { color: #C9D0CA; }
.page-head-plain { background: var(--paper); border-bottom: 1px solid var(--line-2); }
.page-head-plain .container { padding-top: 2.75rem; padding-bottom: 2.75rem; }
.page-head-plain .crumbs { color: var(--ink-3); }
.page-head-plain .crumbs a { color: var(--ink-2); }
.page-head-plain h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; max-width: 26ch; }
.page-head-plain .lead { color: var(--ink-2); font-size: 1.08rem; max-width: 64ch; margin: 0.85rem 0 0; line-height: 1.6; }
.preview-bar { background: var(--amber); color: #fff; text-align: center; padding: 0.5rem 1rem; font-size: 0.9rem; display: flex; justify-content: center; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.preview-bar a { color: #fff; text-decoration: underline; }

/* Makale düzeni ve içerik tipografisi (CMS içerikleri) */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; align-items: start; }
.article-wide .article { max-width: none; }
.article { max-width: 72ch; font-size: 1.04rem; line-height: 1.7; color: var(--ink-2); }
.article > :first-child { margin-top: 0; }
.article h2 { font-size: 1.55rem; margin: 2.25rem 0 0.75rem; max-width: none; color: var(--ink); letter-spacing: -0.015em; scroll-margin-top: 90px; }
.article h3 { font-size: 1.22rem; margin: 1.75rem 0 0.5rem; color: var(--ink); }
.article h4 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; color: var(--ink); }
.article p { margin: 0 0 1.1rem; }
.article ul, .article ol { padding-left: 1.4rem; margin: 0 0 1.1rem; }
.article li { margin-bottom: 0.4rem; }
.article li::marker { color: var(--hevsel); font-weight: 600; }
.article strong { color: var(--ink); }
.article a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(30, 107, 79, 0.35); }
.article a:hover { text-decoration-color: var(--hevsel); }
.article img { max-width: 100%; height: auto; border-radius: var(--radius); display: block; }
.article figure { margin: 1.5rem 0; }
.article figure.image { display: table; max-width: 100%; }
.article figcaption { color: var(--ink-3); font-size: 0.86rem; margin-top: 0.5rem; text-align: center; }
.article img.img-wide { width: 100%; }
.article img.img-left, .article figure.align-left { float: left; max-width: 46%; margin: 0.35rem 1.5rem 1rem 0; }
.article img.img-right, .article figure.align-right { float: right; max-width: 46%; margin: 0.35rem 0 1rem 1.5rem; }
.article blockquote { margin: 1.5rem 0; padding: 1rem 1.35rem; border-left: 4px solid var(--hevsel); background: var(--hevsel-4); border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--ink); font-size: 1.05rem; }
.article blockquote p:last-child { margin-bottom: 0; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.article table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; font-size: 0.95rem; }
.article th, .article td { padding: 0.65rem 0.9rem; text-align: left; border-top: 1px solid var(--line-2); vertical-align: top; }
.article thead th, .article tr:first-child th { background: var(--paper); border-top: 0; font-weight: 600; color: var(--ink); }
.article pre { background: var(--sur); color: #E6E9E4; padding: 1rem 1.25rem; border-radius: var(--radius-s); overflow-x: auto; font-size: 0.9rem; }
.article pre code { background: none; color: inherit; padding: 0; }
.article code { background: var(--line-2); padding: 0.1rem 0.4rem; border-radius: 4px; font-size: 0.9em; color: var(--ink); }
.article iframe { max-width: 100%; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); margin: 1.5rem 0; }
.article details { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0.75rem 1rem; margin: 0 0 0.75rem; }
.article details summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.article .faq { margin-top: 1rem; }
.article-cover { margin: 0 0 2rem; }
.article-cover img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.article-aside { position: sticky; top: 92px; display: grid; gap: 1.25rem; }
.cta-box { background: var(--kirec-2); border: 1px solid var(--kirec); border-radius: var(--radius); padding: 1.35rem; }
.cta-box h3 { margin-bottom: 0.35rem; font-size: 1.2rem; }
.cta-box p { color: var(--ink-2); font-size: 0.95rem; }
.related { display: grid; gap: 0; }
.article-aside .footer-title, .blog-widget .footer-title { color: var(--ink); font-size: 1.05rem; }
.related a { color: var(--ink); padding: 0.6rem 0; border-top: 1px solid var(--line-2); font-size: 0.95rem; font-weight: 500; }
.related a:hover { color: var(--hevsel-2); text-decoration: none; }

/* Blog listesi */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; align-items: start; }
.blog-aside { display: grid; gap: 1.5rem; position: sticky; top: 92px; }
.blog-search { display: flex; gap: 0.5rem; }
.blog-widget .footer-title { color: var(--ink); }
.cat-list { display: grid; }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0.25rem; border-top: 1px solid var(--line-2); color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.cat-list a:first-child { border-top: 0; }
.cat-list a:hover { color: var(--hevsel-2); text-decoration: none; }
.cat-list a.active { color: var(--hevsel-2); font-weight: 600; }
.cat-list small { background: var(--paper); color: var(--ink-3); border-radius: 999px; padding: 0.05rem 0.5rem; font-size: 0.75rem; }
.rss-link { color: var(--ink-3); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.post-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(28, 32, 36, 0.08); border-color: #C9D0CA; }
.post-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.post-card-media { display: block; aspect-ratio: 16 / 9; background: var(--paper); overflow: hidden; }
.post-card.featured .post-card-media { aspect-ratio: auto; min-height: 280px; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-placeholder { display: grid; place-items: center; height: 100%; color: var(--line); background: linear-gradient(135deg, var(--paper), var(--kirec-2)); }
.post-card-placeholder .icon { width: 2.5rem; height: 2.5rem; }
.post-card-body { padding: 1.25rem 1.35rem 1.35rem; display: flex; flex-direction: column; gap: 0.6rem; }
.post-card.featured .post-card-body { padding: 2rem; justify-content: center; }
.post-card.featured h2 { font-size: 1.6rem; }
.post-meta { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; font-size: 0.82rem; color: var(--ink-3); }
.post-cat { color: var(--hevsel-2); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.74rem; }
.post-card h2, .post-card h3 { font-size: 1.2rem; line-height: 1.3; }
.post-card h2 a, .post-card h3 a { color: var(--ink); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--hevsel-2); text-decoration: none; }
.post-card p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; margin: 0; flex: 1; }
.post-more { color: var(--hevsel); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.25rem; }
.post-more .icon { transform: rotate(180deg); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.blog-empty { text-align: center; padding: 3rem 1rem; color: var(--ink-3); border: 1px dashed var(--line); border-radius: var(--radius); }
.blog-empty .icon { width: 2.5rem; height: 2.5rem; color: var(--line); margin-bottom: 0.5rem; }
.blog-empty b { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 0.25rem; }

/* Blog yazısı */
.post-header { background: var(--paper); border-bottom: 1px solid var(--line-2); }
.post-header .container { padding-top: 2.75rem; padding-bottom: 2.5rem; }
.post-header .crumbs { color: var(--ink-3); }
.post-header .crumbs a { color: var(--ink-2); }
.post-header h1 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); letter-spacing: -0.025em; line-height: 1.1; }
.post-header .lead { color: var(--ink-2); font-size: 1.12rem; margin: 1rem 0 0; line-height: 1.6; }
.post-byline { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.5rem; color: var(--ink-3); font-size: 0.92rem; }
.post-byline b { color: var(--ink); }
.post-cover { margin: -1.75rem 0 0; position: relative; z-index: 1; }
.post-cover img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(28, 32, 36, 0.14); }
.post-body { padding-top: 2.75rem; padding-bottom: 1rem; }
.post-body .article { max-width: none; }
.post-footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tags a { background: var(--paper); color: var(--ink-2); border-radius: 999px; padding: 0.25rem 0.75rem; font-size: 0.85rem; font-weight: 500; }
.tags a:hover { background: var(--hevsel-3); color: var(--hevsel-2); text-decoration: none; }
.share { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.post-cta { margin: 2.5rem 0 2rem; background: var(--sur); color: #fff; border-radius: var(--radius); padding: 2rem; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; position: relative; overflow: hidden; }
.post-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 100% 0%, rgba(30, 107, 79, 0.5), transparent 60%); }
.post-cta > * { position: relative; }
.post-cta h3 { color: #fff; font-size: 1.35rem; margin-bottom: 0.4rem; }
.post-cta p { color: #C9D0CA; margin: 0; }
.post-cta .btn-row { justify-content: flex-end; }
.post-cta .btn-ghost { color: #fff; }
.post-cta .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* Alt bilgi */
.site-footer { background: var(--sur); color: #AEB6B0; padding: 3.5rem 0 1.75rem; font-size: 0.92rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--hevsel) 0 56px, var(--kirec) 56px 112px); opacity: 0.9; }
.site-footer a { color: #E6E9E4; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.9fr; gap: 2.5rem; align-items: start; }
.site-footer .brand-text b { color: #fff; font-size: 1.1rem; }
.site-footer .brand-text small { color: #AEB6B0; display: block; margin-top: 0.4rem; line-height: 1.5; max-width: 38ch; }
.footer-contact { font-style: normal; display: grid; gap: 0.5rem; margin-top: 1.25rem; }
.footer-contact span { display: flex; gap: 0.6rem; align-items: flex-start; color: #C9D0CA; }
.footer-contact .icon { color: var(--kirec); flex: none; margin-top: 0.15rem; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.footer-social a { display: inline-flex; align-items: center; gap: 0.4rem; border: 1px solid var(--sur-3); border-radius: 999px; padding: 0.3rem 0.8rem 0.3rem 0.6rem; font-size: 0.85rem; }
.footer-social a:hover { border-color: #8E979A; text-decoration: none; }
.footer-title { display: block; font-family: var(--font-display); font-weight: 600; color: #fff; margin-bottom: 0.75rem; font-size: 1rem; }
.site-footer nav { display: grid; gap: 0.45rem; }
.site-footer nav a { color: #C9D0CA; font-size: 0.92rem; }
.site-footer nav a.footer-more { color: var(--kirec); font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; border-top: 1px solid var(--sur-3); margin-top: 2.5rem; padding-top: 1.5rem; }
.footer-copy { color: #8E979A; }
.footer-credit { display: inline-flex; align-items: center; gap: 0.85rem; color: #AEB6B0; }
.footer-credit:hover { text-decoration: none; color: #fff; }
.footer-credit span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3; text-align: right; padding-right: 0.85rem; border-right: 1px solid var(--sur-3); }
.footer-credit img { height: 32px; width: auto; display: block; opacity: 0.92; transition: opacity 0.15s; }
.footer-credit:hover img { opacity: 1; }

/* Çerez çubuğu ve WhatsApp düğmesi */
.cookie-bar { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-pop); padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; max-width: 760px; margin: 0 auto; }
.cookie-bar p { flex: 1; min-width: 240px; font-size: 0.9rem; color: var(--ink-2); margin: 0; }
.cookie-bar[hidden] { display: none; }
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; display: inline-flex; align-items: center; gap: 0.5rem; background: #25D366; color: #fff; font-weight: 700; padding: 0.7rem 1rem 0.7rem 0.85rem; border-radius: 999px; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); transition: transform 0.15s; }
.wa-float:hover { transform: translateY(-2px); text-decoration: none; color: #fff; }
.wa-float .icon { width: 1.3rem; height: 1.3rem; }
body.has-cookie-bar .wa-float { bottom: 5.5rem; }

/* -------------------------------------------------------------------------
   Mobil — tanıtım sitesi
   ------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 900px) {
  .site-nav { position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0.25rem; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(28, 32, 36, 0.12); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.18s, transform 0.18s; max-height: calc(100vh - 72px); overflow-y: auto; }
  body.nav-open .site-nav { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a:not(.btn) { padding: 0.75rem 0.5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .site-nav a.active::after { display: none; }
  .site-nav .site-nav-phone, .site-nav .btn { margin-left: 0; margin-top: 0.5rem; }
  .site-nav .btn { justify-content: center; }
  .site-menu-btn { display: grid; flex: none; }
  .site-header .container { gap: 0.75rem; }
  .site-header .brand { flex: 1; min-width: 0; }
  .site-header .brand .brand-text b { white-space: normal; font-size: 0.92rem; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .site-header .brand .brand-text small { display: none; }
  .brand-logo { height: 38px; max-width: 200px; }
  .hero .container { grid-template-columns: 1fr; padding-top: 3.5rem; padding-bottom: 3.5rem; gap: 2.5rem; }
  .demo { transform: none; }
  .portal-grid, .contact-grid, .faq-grid, .blog-layout, .article-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .faq-grid .section-head, .article-aside, .blog-aside { position: static; }
  .role-cards { grid-template-columns: 1fr; }
  .role-card:nth-child(2) { transform: none; }
  .site-section { padding: 3.5rem 0; }
  .site-section.section-tight { padding: 2.5rem 0; }
  .section-head { margin-bottom: 1.75rem; }
  .post-card.featured { grid-template-columns: 1fr; }
  .post-card.featured .post-card-body { padding: 1.35rem; }
  .post-card.featured h2 { font-size: 1.3rem; }
  .post-cta { grid-template-columns: 1fr; padding: 1.5rem; }
  .post-cta .btn-row { justify-content: flex-start; }
  .post-cover { margin-top: -1rem; }
  .cta-wide .btn-row .btn { flex: 1; }
}
@media (max-width: 640px) {
  .services, .post-grid, .post-grid.cols-3, .testimonials, .trust-strip .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 1.75rem !important; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 2rem; }
  .hero p.lead { font-size: 1.02rem; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .article img.img-left, .article img.img-right, .article figure.align-left, .article figure.align-right { float: none; max-width: 100%; margin: 1rem 0; }
  .post-footer { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 1.25rem; }
  .wa-float span { display: none; }
  .wa-float { padding: 0.8rem; }
}

/* -------------------------------------------------------------------------
   Kullanım rehberi
   ------------------------------------------------------------------------- */
.guide { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.guide-toc { position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow-y: auto; }
.guide-toc-inner { display: grid; gap: 0.15rem; padding-right: 0.5rem; }
.guide-toc a { color: var(--ink); font-size: 0.9rem; padding: 0.3rem 0.5rem; border-radius: 6px; }
.guide-toc a:hover { background: var(--line-2); text-decoration: none; }
.guide-toc a.sub { color: var(--ink-3); font-size: 0.82rem; padding-left: 1.1rem; }
.guide-head { margin-bottom: 2rem; }
.guide-head h1 { font-size: 2rem; margin: 0.25rem 0; }
.guide-body { max-width: 860px; }
.guide-section { margin-bottom: 3.5rem; }
.guide-section-head { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; border-bottom: 3px solid var(--sur); padding-bottom: 0.5rem; margin-bottom: 0.75rem; }
.guide-section-head h2 { font-size: 1.6rem; }
.guide-roles { display: flex; gap: 0.3rem; }
.guide-intro { color: var(--ink-2); font-size: 1.02rem; max-width: 70ch; margin-bottom: 1.75rem; }
.guide-item { margin: 0 0 2.75rem; }
.guide-item h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.guide-num { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--hevsel); color: #fff; font-size: 0.85rem; font-weight: 700; font-family: var(--font-body); flex: none; }
.guide-item p { color: var(--ink-2); max-width: 70ch; line-height: 1.6; }
.guide-item code { background: var(--line-2); padding: 0.05rem 0.35rem; border-radius: 4px; font-size: 0.9em; }
.guide-steps { counter-reset: adim; list-style: none; padding: 0; margin: 0.75rem 0 1rem; max-width: 70ch; }
.guide-steps li { counter-increment: adim; position: relative; padding: 0.35rem 0 0.35rem 2.2rem; color: var(--ink); line-height: 1.55; }
.guide-steps li::before { content: counter(adim); position: absolute; left: 0; top: 0.4rem; width: 1.5rem; height: 1.5rem; border-radius: 6px; background: var(--kirec); color: var(--sur); font-weight: 700; font-size: 0.8rem; display: grid; place-items: center; }
.guide-tip { max-width: 70ch; margin: 0.5rem 0 1rem; }
.guide-fig { margin: 1rem 0 0; }
.guide-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(28, 32, 36, 0.08); }
.guide-fig-mobile img { max-width: 320px; }
.guide-fig figcaption { color: var(--ink-3); font-size: 0.8rem; margin-top: 0.4rem; }
@media (max-width: 1100px) { .guide { grid-template-columns: 1fr; } .guide-toc { position: static; max-height: none; } .guide-toc-inner { display: flex; flex-wrap: wrap; gap: 0.25rem; } .guide-toc a.sub { display: none; } }

/* Yazdırma / PDF */
.guide-print { grid-template-columns: 1fr; }
.guide-print .guide-toc { position: static; max-height: none; margin-bottom: 2rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); }
.guide-print .guide-toc a.sub { display: block; }
.guide-print .guide-fig img { box-shadow: none; }
@media print {
  .guide-section { break-before: page; }
  .guide-section:first-of-type { break-before: auto; }
  .guide-item { break-inside: avoid; }
  .guide-fig img { max-height: 180mm; width: auto; max-width: 100%; }
  .guide-toc a { color: var(--ink); }
  a { text-decoration: none; }
}
.guide-print .guide-toc-inner { display: block; columns: 2; column-gap: 1.5rem; }
.guide-print .guide-toc a { display: block; break-inside: avoid; }
.guide-print .guide-toc a.sub { display: block; }
