@charset "UTF-8";
/* ==========================================================================
   Kale Hukuk — tasarım sistemi
   Renk / tipografi / bileşenler. Tek dosya, bağımlılıksız.
   ========================================================================== */

/* --- 1. Tokenlar ---------------------------------------------------------- */
:root {
  --ink:        #0E1F2B;
  --yesil:      #14624A;
  --yesil-yum:  #E4F1EC;
  --ink-soft:   #17303E;
  --paper:      #FBFAF7;
  --surface:    #FFFFFF;
  --surface-2:  #EEF2F5;
  --text:       #1C2A26;
  --baslik:     #123A30;
  --muted:      #5A6B64;
  --brass:      #0A7290;
  --brass-hi:   #0E96BC;
  --brass-soft: #E2F0F6;
  --line:       rgba(12, 28, 44, .13);
  --line-soft:  rgba(12, 28, 44, .07);
  --on-dark:    #EFF3F7;
  --on-dark-mut:rgba(239, 243, 247, .68);

  --shadow-sm: 0 1px 2px rgba(12,28,44,.06), 0 2px 8px rgba(12,28,44,.05);
  --shadow-md: 0 2px 6px rgba(12,28,44,.06), 0 12px 28px rgba(12,28,44,.09);
  --shadow-lg: 0 8px 20px rgba(12,28,44,.10), 0 28px 60px rgba(12,28,44,.14);

  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-full: 999px;

  --serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --prose: 74ch;
  --gut: clamp(18px, 4vw, 40px);
  --sec: clamp(60px, 8.5vw, 116px);
  --hdr: 74px;

  --ease: cubic-bezier(.22, .68, .36, 1);
  --t: .32s var(--ease);
  color-scheme: light;
}

:root[data-tema="koyu"] {
  --ink:        #08151D;
  --yesil:      #4FB894;
  --yesil-yum:  rgba(79, 184, 148, .14);
  --ink-soft:   #0F2330;
  --paper:      #0B1420;
  --surface:    #111E2B;
  --surface-2:  #15252F;
  --text:       #E4EDE9;
  --baslik:     #D3E8DD;
  --muted:      #9AACA5;
  --brass:      #4FBBDC;
  --brass-hi:   #7BD0EA;
  --brass-soft: rgba(79, 187, 220, .15);
  --line:       rgba(230, 237, 244, .14);
  --line-soft:  rgba(230, 237, 244, .08);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 26px rgba(0,0,0,.45);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.55);
  color-scheme: dark;
}

/* --- 2. Temel ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/* display:grid/flex tanımlı öğelerde de hidden özniteliği çalışsın */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.021em;
  color: var(--baslik);
  margin: 0 0 .5em;
  text-wrap: balance;
}
:root[data-tema="koyu"] h1, :root[data-tema="koyu"] h2,
:root[data-tema="koyu"] h3, :root[data-tema="koyu"] h4 { color: var(--baslik); }

h1 { font-size: clamp(2.05rem, 1.35rem + 2.9vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.45rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); }
h4 { font-size: 1.08rem; }
p  { margin: 0 0 1.15em; }

a { color: var(--brass); text-decoration: none; }
a:hover { color: var(--brass-hi); }

:focus-visible {
  outline: 2.5px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brass); color: #fff; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--dar { max-width: 860px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
      clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.atla {
  position: absolute; left: 50%; translate: -50% -140%; z-index: 999;
  background: var(--brass); color: #fff; padding: 10px 20px; border-radius: 0 0 10px 10px;
  transition: translate .2s;
}
.atla:focus { translate: -50% 0; color: #fff; }

/* --- 3. Butonlar ---------------------------------------------------------- */
.btn {
  --bg: var(--brass); --fg: #fff; --bd: var(--brass);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.55em;
  font: 600 .95rem/1.2 var(--sans);
  letter-spacing: .01em;
  color: var(--fg); background: var(--bg);
  border: 1.5px solid var(--bd); border-radius: var(--r-full);
  cursor: pointer; white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--hayalet { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
:root[data-tema="koyu"] .btn--hayalet { --fg: var(--text); }
.btn--hayalet:hover { --bd: var(--brass); --fg: var(--brass); }

.btn--acik { --bg: transparent; --fg: var(--on-dark); --bd: rgba(255,255,255,.34); }
.btn--acik:hover { --bg: rgba(255,255,255,.1); --bd: rgba(255,255,255,.7); --fg: #fff; }

.btn--wa { --bg: #1FAD54; --bd: #1FAD54; }
.btn--kucuk { padding: .58em 1.1em; font-size: .86rem; }

/* --- 4. Başlık / Navigasyon ---------------------------------------------- */
.ust {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.ust.kayiyor { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(12,28,44,.05); }
.ust__ic { display: flex; align-items: center; gap: 20px; height: var(--hdr); }

.marka { display: flex; align-items: center; gap: 11px; margin-right: auto; color: var(--ink); }
:root[data-tema="koyu"] .marka { color: var(--text); }
.marka:hover { color: var(--ink); }
:root[data-tema="koyu"] .marka:hover { color: var(--text); }
.marka__mark { width: auto; height: 34px; flex: none; }
.marka__ad { font: 600 1.11rem/1 var(--serif); letter-spacing: .025em; }
.marka__alt {
  display: block; font: 500 .625rem/1.35 var(--sans);
  letter-spacing: .21em; text-transform: uppercase; color: var(--muted); margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: 9px 13px; border-radius: var(--r-sm);
  font: 500 .925rem/1 var(--sans); color: var(--text);
  transition: color var(--t), background var(--t);
}
.nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 1.5px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav a:hover { color: var(--brass); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--brass); }

.ust__aksiyon { display: flex; align-items: center; gap: 8px; }

.ikon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-full);
  color: var(--text); cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t), transform var(--t);
}
.ikon-btn:hover { border-color: var(--brass); color: var(--brass); transform: translateY(-1px); }
.ikon-btn svg { width: 19px; height: 19px; }
.tema-ay { display: none; }
:root[data-tema="koyu"] .tema-gunes { display: none; }
:root[data-tema="koyu"] .tema-ay { display: block; }

.menu-btn { display: none; }

/* Mobil çekmece */
.cekmece {
  position: fixed; inset: 0; z-index: 120;
  background: var(--paper);
  padding: 22px var(--gut) 40px;
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .4s var(--ease), visibility .4s;
  overflow-y: auto;
}
.cekmece[data-acik="1"] { transform: none; visibility: visible; }
.cekmece__ust { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.cekmece nav { display: flex; flex-direction: column; }
.cekmece nav a {
  font: 600 1.32rem/1 var(--serif); color: var(--ink);
  padding: 17px 0; border-bottom: 1px solid var(--line-soft);
}
:root[data-tema="koyu"] .cekmece nav a { color: var(--text); }
.cekmece nav a:hover, .cekmece nav a[aria-current="page"] { color: var(--brass); }
.cekmece__alt { margin-top: auto; padding-top: 30px; display: grid; gap: 10px; }

/* --- 5. Hero -------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(74px, 11vw, 138px) 0 clamp(62px, 8vw, 104px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 82% at 82% 6%, rgba(14,150,188,.34), transparent 56%),
    radial-gradient(90% 70% at 6% 96%, rgba(56,110,158,.34), transparent 60%),
    linear-gradient(168deg, #0E2134 0%, #0A1725 62%, #0C1C2C 100%);
}
.hero::after {   /* ince ızgara dokusu */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(100% 76% at 50% 28%, #000 32%, transparent 82%);
}
.hero__ic { position: relative; max-width: 800px; }
.hero h1 { color: #fff; margin-bottom: .34em; }
.hero__ust {
  display: inline-flex; align-items: center; gap: 9px;
  font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass-hi); margin-bottom: 26px;
  padding: 9px 15px; border: 1px solid rgba(79,187,220,.34); border-radius: var(--r-full);
  background: rgba(79,187,220,.10);
}
.hero__ust::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass-hi);
  box-shadow: 0 0 0 0 rgba(79,187,220,.6); animation: nabiz 2.6s infinite;
}
@keyframes nabiz { 70% { box-shadow: 0 0 0 9px rgba(79,187,220,0); } 100% { box-shadow: 0 0 0 0 rgba(79,187,220,0); } }

.hero__alt { font-size: clamp(1.02rem, .96rem + .35vw, 1.2rem); color: var(--on-dark-mut); max-width: 60ch; margin-bottom: 34px; }
.hero__btnlar { display: flex; flex-wrap: wrap; gap: 13px; }

/* dönen kelime */
.donen { display: inline-grid; vertical-align: bottom; color: var(--brass-hi); }
.donen > span {
  grid-area: 1 / 1; opacity: 0; transform: translateY(.42em); filter: blur(4px);
  transition: opacity .55s var(--ease), transform .55s var(--ease), filter .55s var(--ease);
}
.donen > span[data-aktif="1"] { opacity: 1; transform: none; filter: none; }

/* kale silueti */
.hero__kale {
  position: absolute; right: -40px; bottom: -8px; width: min(46%, 430px);
  color: rgba(255,255,255,.055); z-index: -1; pointer-events: none;
}
@media (max-width: 900px) { .hero__kale { display: none; } }

/* --- 6. Rakam şeridi ------------------------------------------------------ */
.rakamlar {
  background: var(--ink-soft);
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--on-dark);
}
.rakamlar__ic {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.08);
  border-inline: 1px solid rgba(255,255,255,.08);
}
.rakam { background: var(--ink-soft); padding: 30px clamp(14px, 2vw, 26px); text-align: center;
         display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.rakam__d { font: 600 clamp(1.4rem, 1.1rem + 1vw, 1.95rem)/1.1 var(--serif); color: var(--brass-hi); }
.rakam__e { font-size: .82rem; line-height: 1.45; color: var(--on-dark-mut); }
@media (max-width: 760px) { .rakamlar__ic { grid-template-columns: repeat(2, 1fr); } }

/* --- 7. Bölüm & başlık --------------------------------------------------- */
.bolum { padding-block: var(--sec); }
.bolum--alt { background: var(--surface-2); }
:root[data-tema="koyu"] .bolum--alt { background: var(--surface); }

.etiket {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 15px;
}
.etiket::before { content: ""; width: 26px; height: 1.5px; background: var(--brass); }

.bolum__bas { max-width: 66ch; margin-bottom: clamp(34px, 4.5vw, 58px); }
.bolum__bas p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.bolum__bas--orta { margin-inline: auto; text-align: center; }
.bolum__bas--orta .etiket { justify-content: center; }

.bas-satir { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; flex-wrap: wrap; }

/* --- 8. Kartlar ----------------------------------------------------------- */
.izgara { display: grid; gap: clamp(14px, 1.8vw, 22px); }
.izgara--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.izgara--2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

.kart {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 26px 24px 24px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
}
.kart::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--brass-hi));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.kart:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.kart:hover::before { transform: scaleX(1); }
.kart h3 { margin-bottom: .45em; font-size: 1.17rem; }
.kart p { color: var(--muted); font-size: .945rem; margin: 0; }
.kart__bag { position: absolute; inset: 0; }   /* tüm kartı tıklanabilir yapar */

.kart__ikon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 17px;
  border-radius: 12px; background: var(--brass-soft); color: var(--brass);
  transition: background var(--t), color var(--t), transform var(--t);
}
.kart:hover .kart__ikon { background: var(--brass); color: #fff; transform: rotate(-5deg) scale(1.06); }
.kart__ikon svg { width: 22px; height: 22px; }

.kart__ok {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 7px;
  font: 600 .86rem/1 var(--sans); color: var(--brass);
}
.kart__ok svg { width: 15px; height: 15px; transition: transform var(--t); }
.kart:hover .kart__ok svg { transform: translateX(4px); }

/* hizmet grubu */
.grup + .grup { margin-top: clamp(38px, 5vw, 64px); }
.grup__bas { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 20px;
             padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.grup__bas h3 { margin: 0; font-size: 1.32rem; }
.grup__bas span { color: var(--muted); font-size: .93rem; }

/* --- 9. Ekip -------------------------------------------------------------- */
.kisi {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
}
.kisi:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brass); }
.kisi__av {
  display: grid; place-items: center; width: 68px; height: 68px; flex: none;
  border-radius: 50%; background: linear-gradient(145deg, var(--ink), var(--ink-soft));
  color: var(--brass-hi); font: 600 1.32rem/1 var(--serif); letter-spacing: .04em;
  border: 2px solid var(--brass-soft);
}
.kisi h3 { margin: 0 0 3px; font-size: 1.16rem; }
.kisi__unvan { font: 600 .74rem/1.3 var(--sans); letter-spacing: .13em; text-transform: uppercase;
               color: var(--brass); margin-bottom: 9px; }
.kisi p { color: var(--muted); font-size: .94rem; margin: 0; }

/* --- 10. Makale listesi --------------------------------------------------- */
.arama-kutu { position: relative; margin-bottom: 18px; }
.arama-kutu svg {
  position: absolute; left: 18px; top: 50%; translate: 0 -50%;
  width: 19px; height: 19px; color: var(--muted); pointer-events: none;
}
.arama {
  width: 100%; padding: 15px 96px 15px 50px;
  font: 400 1rem var(--sans); color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-full);
  transition: border-color var(--t), box-shadow var(--t);
}
.arama::placeholder { color: var(--muted); }
.arama:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 4px var(--brass-soft); }
.arama-kutu kbd {
  position: absolute; right: 16px; top: 50%; translate: 0 -50%;
  font: 500 .72rem/1 var(--sans); color: var(--muted);
  border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; background: var(--surface-2);
}

.cipler { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.cip {
  padding: .5em 1.05em; font: 500 .875rem/1.25 var(--sans);
  color: var(--muted); background: transparent;
  border: 1px solid var(--line); border-radius: var(--r-full);
  cursor: pointer; transition: all var(--t);
}
.cip:hover { color: var(--brass); border-color: var(--brass); }
.cip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
:root[data-tema="koyu"] .cip[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: #0B1420; }
.cip span { opacity: .55; margin-left: .4em; font-variant-numeric: tabular-nums; }

.sayac { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.sayac b { color: var(--text); font-variant-numeric: tabular-nums; }

.yazi-liste { display: grid; gap: 2px; border-block: 1px solid var(--line); }
.yazi {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px 26px;
  align-items: center; padding: 22px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: background var(--t), padding-inline var(--t);
}
.yazi:last-child { border-bottom: 0; }
.yazi:hover { background: var(--surface); padding-inline: 16px; }
.yazi h3 { margin: 0 0 6px; font-size: 1.1rem; transition: color var(--t); }
.yazi:hover h3 { color: var(--brass); }
.yazi p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 84ch; }
.yazi__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 9px;
              font-size: .79rem; color: var(--muted); }
.yazi__kat {
  font: 600 .69rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--brass); background: var(--brass-soft); padding: 5px 10px; border-radius: var(--r-full);
}
a.yazi__kat { text-decoration: none; transition: background var(--t), color var(--t); }
a.yazi__kat:hover { background: var(--brass); color: #fff; }

/* Kategori arşiv sayfasının giriş paragrafı */
.giris-metin { max-width: 62ch; margin: -6px 0 26px; color: var(--muted); font-size: 1.02rem; line-height: 1.65; }

.yazi__ok { color: var(--brass); opacity: 0; transform: translateX(-6px); transition: all var(--t); }
.yazi:hover .yazi__ok { opacity: 1; transform: none; }
@media (max-width: 640px) { .yazi__ok { display: none; } }

.bos-sonuc { padding: 56px 20px; text-align: center; color: var(--muted); }

/* --- 11. Yazı (prose) ----------------------------------------------------- */
.yazi-duzen { display: grid; grid-template-columns: minmax(0, 1fr) 268px; gap: clamp(28px, 4vw, 62px); align-items: start; }
@media (max-width: 1000px) { .yazi-duzen { grid-template-columns: 1fr; } }

.metin { max-width: var(--prose); font-size: 1.055rem; }
.metin > *:first-child { margin-top: 0; }
.metin .lead { font-size: 1.2rem; line-height: 1.6; color: var(--text); font-weight: 450; margin-bottom: 1.3em; }
.metin h2 { margin: 2.1em 0 .6em; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.72rem); scroll-margin-top: calc(var(--hdr) + 20px); }
.metin h3 { margin: 1.9em 0 .55em; font-size: clamp(1.14rem, 1.05rem + .45vw, 1.34rem); scroll-margin-top: calc(var(--hdr) + 20px); }
.metin h4 { margin: 1.6em 0 .5em; }
.metin h2 + h3 { margin-top: .9em; }
.metin ul, .metin ol { margin: 0 0 1.25em; padding-left: 1.35em; }
.metin li { margin-bottom: .55em; }
.metin li::marker { color: var(--brass); }
.metin blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 24px;
  border-left: 3px solid var(--brass); color: var(--muted); font-style: italic;
}
.metin a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brass) 40%, transparent);
           text-underline-offset: 3px; transition: text-decoration-color var(--t); }
.metin a:hover { text-decoration-color: var(--brass); }
.metin strong { font-weight: 650; color: var(--baslik); }
:root[data-tema="koyu"] .metin strong { color: #fff; }
.metin table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; }
.metin th, .metin td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.metin th { background: var(--surface-2); font-weight: 600; }

.baslik-bag {
  opacity: 0; margin-left: .35em; font-size: .72em; color: var(--brass);
  text-decoration: none; transition: opacity var(--t);
}
.metin h2:hover .baslik-bag, .metin h3:hover .baslik-bag, .baslik-bag:focus { opacity: 1; }

.dosya-ek a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border: 1px solid var(--brass); border-radius: var(--r-full);
  font-weight: 600; text-decoration: none; background: var(--brass-soft);
  transition: background var(--t), color var(--t);
}
.dosya-ek a:hover { background: var(--brass); color: #fff; }

/* Yazı başlığı */
.yazi-bas { padding: clamp(34px, 5vw, 62px) 0 clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--line); margin-bottom: clamp(30px, 4vw, 48px); }
.yazi-bas h1 { font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.75rem); margin-bottom: .35em; }
.yazi-bas__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }

.kirinti { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .83rem; color: var(--muted); margin-bottom: 20px; }
.kirinti a { color: var(--muted); }
.kirinti a:hover { color: var(--brass); }
.kirinti svg { width: 13px; height: 13px; opacity: .5; }

/* İçindekiler */
.toc { position: sticky; top: calc(var(--hdr) + 26px); font-size: .9rem; }
.toc__bas { font: 600 .71rem/1 var(--sans); letter-spacing: .17em; text-transform: uppercase;
            color: var(--muted); margin-bottom: 15px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.toc ol { list-style: none; margin: 0; padding: 0; max-height: 62vh; overflow-y: auto; }
.toc li { margin-bottom: 2px; }
.toc li[data-sev="3"] a { padding-left: 24px; font-size: .855rem; }
.toc a {
  display: block; padding: 7px 11px; border-left: 2px solid var(--line);
  color: var(--muted); line-height: 1.4;
  transition: color var(--t), border-color var(--t), background var(--t);
}
.toc a:hover { color: var(--brass); background: var(--surface-2); }
.toc a[data-aktif="1"] { color: var(--brass); border-left-color: var(--brass); font-weight: 600; }
@media (max-width: 1000px) {
  .toc { position: static; margin-bottom: 34px; padding: 20px; background: var(--surface-2); border-radius: var(--r-md); }
  .toc ol { max-height: 260px; }
}

/* Okuma çubuğu */
.ilerleme {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 100;
  background: linear-gradient(90deg, var(--brass), var(--brass-hi));
  width: 0; transition: width .1s linear;
}

/* Önceki / sonraki */
.gezinme { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.gezinme a {
  padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); transition: all var(--t);
}
.gezinme a:hover { border-color: var(--brass); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.gezinme span { display: block; font: 600 .7rem/1 var(--sans); letter-spacing: .15em;
                text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.gezinme strong { display: block; font: 600 1.02rem/1.35 var(--serif); color: var(--baslik); }
:root[data-tema="koyu"] .gezinme strong { color: var(--text); }
.gezinme .sag { text-align: right; }

/* uyarı kutusu */
.uyari {
  margin-top: clamp(36px, 4vw, 52px); padding: 20px 24px;
  border: 1px dashed var(--line); border-radius: var(--r-md);
  background: var(--surface-2); color: var(--muted); font-size: .89rem; line-height: 1.6;
}
.uyari strong { color: var(--text); }

/* --- 12. SSS (akordeon) --------------------------------------------------- */
.sss { border-top: 1px solid var(--line); }
.sss details { border-bottom: 1px solid var(--line); }
.sss summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 2px; cursor: pointer; list-style: none;
  font: 600 1.06rem/1.45 var(--serif); color: var(--baslik);
  transition: color var(--t);
}
:root[data-tema="koyu"] .sss summary { color: var(--text); }
.sss summary::-webkit-details-marker { display: none; }
.sss summary:hover { color: var(--brass); }
.sss summary::after {
  content: ""; flex: none; width: 13px; height: 13px;
  border-right: 2px solid var(--brass); border-bottom: 2px solid var(--brass);
  rotate: 45deg; transition: rotate .3s var(--ease); margin-top: -5px;
}
.sss details[open] summary::after { rotate: -135deg; margin-top: 4px; }
.sss details > div { padding: 0 2px 24px; color: var(--muted); max-width: 78ch; animation: ac .35s var(--ease); }
@keyframes ac { from { opacity: 0; transform: translateY(-6px); } }

/* --- 13. CTA & iletişim --------------------------------------------------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--r-lg); padding: clamp(38px, 5.5vw, 68px);
  text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 120% at 50% -10%, rgba(14,150,188,.28), transparent 62%);
}
.cta h2 { color: #fff; margin-bottom: .4em; }
.cta p { color: var(--on-dark-mut); max-width: 58ch; margin: 0 auto 30px; }
.cta__btnlar { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }

.ilet-duzen { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
@media (max-width: 880px) { .ilet-duzen { grid-template-columns: 1fr; } }

.form { display: grid; gap: 16px; }
.alan { display: grid; gap: 7px; }
.alan label { font: 600 .82rem/1 var(--sans); color: var(--text); }
.alan input, .alan select, .alan textarea {
  width: 100%; padding: 13px 15px; font: 400 .98rem var(--sans); color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color var(--t), box-shadow var(--t);
}
.alan textarea { min-height: 140px; resize: vertical; }
.alan input:focus, .alan select:focus, .alan textarea:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-soft);
}
.alan--ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .alan--ikili { grid-template-columns: 1fr; } }
.form__not { font-size: .82rem; color: var(--muted); margin: 0; }
.form__btnlar { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 4px; }

.ilet-kart {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 28px;
}
.ilet-sat { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.ilet-sat:last-of-type { border-bottom: 0; }
.ilet-sat svg { width: 19px; height: 19px; flex: none; color: var(--brass); margin-top: 3px; }
.ilet-sat dt { font: 600 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ilet-sat dd { margin: 0; font-size: 1rem; font-weight: 500; }

/* WhatsApp yüzen buton */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 19px; border-radius: var(--r-full);
  background: #1FAD54; color: #fff; font: 600 .9rem/1 var(--sans);
  box-shadow: 0 10px 30px rgba(31,173,84,.38);
  transition: transform var(--t), box-shadow var(--t);
}
.fab:hover { color: #fff; transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 38px rgba(31,173,84,.46); }
.fab svg { width: 21px; height: 21px; }
@media (max-width: 560px) { .fab span { display: none; } .fab { padding: 15px; } }

/* --- 14. Alt bilgi -------------------------------------------------------- */
.alt { background: var(--ink); color: var(--on-dark-mut); padding-top: clamp(48px, 6vw, 76px); margin-top: var(--sec); }
.alt__ic { display: grid; grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(140px, 1fr)); gap: 36px 28px; }
@media (max-width: 880px) { .alt__ic { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .alt__ic { grid-template-columns: 1fr; } }
.alt h4 { color: #fff; font-family: var(--sans); font-size: .74rem; font-weight: 600;
          letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.alt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.alt a { color: var(--on-dark-mut); font-size: .93rem; }
.alt a:hover { color: var(--brass-hi); }
.alt__marka { color: #fff; }
.alt__marka .marka__ad { font-size: 1.22rem; }
.alt__aciklama { font-size: .93rem; line-height: 1.65; margin: 16px 0 0; max-width: 42ch; }
.alt__cizgi {
  margin-top: clamp(38px, 5vw, 58px); padding: 22px 0 26px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem;
}

/* --- 15. Hareket ---------------------------------------------------------- */
[data-goster] { opacity: 0; transform: translateY(18px); }
[data-goster].gorundu {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--gecikme, 0s);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  [data-goster] { opacity: 1; transform: none; }
}

/* --- 16. Duyarlılık ------------------------------------------------------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
}

@media print {
  .ust, .alt, .fab, .toc, .gezinme, .ilerleme, .cekmece { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .metin { max-width: none; }
  a { color: #000; text-decoration: underline; }
}

/* --- 17. Portal / uygulama kartları -------------------------------------- */
.portal {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--on-dark); border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 46px);
}
.portal::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 140% at 88% 12%, rgba(14,150,188,.32), transparent 60%);
}
.portal h3 { color: #fff; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); margin-bottom: .4em; }
.portal p { color: var(--on-dark-mut); margin: 0; max-width: 56ch; font-size: .97rem; }
.portal__rozet {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass-hi); margin-bottom: 14px;
}
.portal__rozet svg { width: 14px; height: 14px; }
@media (max-width: 700px) { .portal { grid-template-columns: 1fr; } }

/* --- 18. Duyurular -------------------------------------------------------- */
.duyurular { display: grid; gap: 2px; }
.duyuru {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px;
  padding: 20px 4px; border-bottom: 1px solid var(--line-soft);
  transition: background var(--t), padding-inline var(--t);
}
.duyuru:hover { background: var(--surface); padding-inline: 14px; }
.duyuru__t {
  font: 600 .74rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  color: var(--brass); white-space: nowrap; padding-top: 4px; font-variant-numeric: tabular-nums;
}
.duyuru h3 { margin: 0 0 5px; font-size: 1.05rem; }
.duyuru p { margin: 0; color: var(--muted); font-size: .93rem; }
.duyuru a.devam { display: inline-block; margin-top: 8px; font-size: .88rem; font-weight: 600; }
@media (max-width: 620px) { .duyuru { grid-template-columns: 1fr; } .duyuru__t { padding-top: 0; } }

.rozet-yeni {
  display: inline-block; margin-left: 9px; vertical-align: 2px;
  font: 600 .62rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--brass); padding: 4px 7px; border-radius: 4px;
}

/* --- 19. Gizli yönetim bağlantısı ---------------------------------------- */
.alt__gizli { display: flex; align-items: center; gap: 14px; }
.alt__gizli a {
  font-size: .78rem; color: rgba(239,243,247,.3);
  transition: color var(--t);
}
.alt__gizli a:hover { color: var(--brass-hi); }
.alt__gizli svg { width: 12px; height: 12px; }

/* --- 20. Satır içi ikonlar ------------------------------------------------ */
/* ik() ile üretilen tüm ikonlar varsayılan olarak metin boyutunda kalır;
   bileşenlerin kendi boyut kuralları (.btn svg, .kart__ikon svg …) bunu ezer. */
.ikon {
  display: inline-block; width: 1em; height: 1em; flex: none;
  vertical-align: -.14em;
}
.kisi .ikon, .duyuru .ikon, .metin .ikon { vertical-align: -.16em; margin-left: .25em; }

/* İletişim sayfasında yüzen WhatsApp butonu gereksiz — kartla çakışmasın */
body[data-sayfa="iletisim"] .fab { display: none; }


/* --- 21. Reklam yasağı bilgilendirmesi ----------------------------------- */
.alt__not {
  margin: clamp(34px, 5vw, 54px) 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  font-size: .8rem; line-height: 1.6; color: rgba(239,243,247,.55);
  max-width: 96ch;
}
.alt__not + .alt__cizgi { margin-top: 20px; }

/* --- 22. Dar ekranda üst başlık ------------------------------------------ */
.marka__ad { white-space: nowrap; }

@media (max-width: 560px) {
  :root { --hdr: 66px; }
  .ust__aksiyon .btn--wa { display: none; }   /* yüzen WhatsApp butonu zaten var */
  .marka__mark { height: 30px; }
  .marka__ad { font-size: 1rem; }
  .marka__alt { font-size: .58rem; letter-spacing: .16em; }
}

@media (max-width: 380px) {
  .marka__alt { display: none; }
  .marka__ad { font-size: .95rem; }
}


/* --- 23. Ekip fotoğrafları ------------------------------------------------ */
.kisi__foto {
  width: 68px; height: 68px; flex: none; border-radius: 50%;
  object-fit: cover; object-position: 50% 22%;
  border: 2px solid var(--brass-soft);
  background: var(--surface-2);
  transition: border-color var(--t), transform var(--t);
}
.kisi:hover .kisi__foto { border-color: var(--brass); transform: scale(1.03); }

.kisi-bas { display: flex; align-items: flex-start; gap: clamp(18px, 3vw, 32px); flex-wrap: wrap; }
.kisi-bas > .kirinti { flex-basis: 100%; }
.kisi-bas__foto {
  width: clamp(110px, 16vw, 168px); flex: none;
  border-radius: var(--r-md); object-fit: cover; aspect-ratio: 3 / 4;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.kisi-bas > div { flex: 1 1 260px; min-width: 0; }
.kisi-bas h1 { margin-top: .1em; }
@media (max-width: 520px) {
  .kisi-bas__foto { width: 104px; }
}

/* --- 24. Üst şeritteki Denetim Portalı butonu ---------------------------- */
.btn--portal {
  --bg: transparent;
  --fg: var(--brass);
  --bd: color-mix(in srgb, var(--brass) 38%, transparent);
}
.btn--portal:hover { --bg: var(--brass-soft); --bd: var(--brass); --fg: var(--brass); }
.cekmece .btn--portal { --bg: var(--brass); --fg: #fff; --bd: var(--brass); }

@media (max-width: 1080px) {
  .ust__aksiyon .btn--portal { display: none; }   /* çekmecede zaten var */
}


/* --- 25. Portal listesi --------------------------------------------------- */
.portal-izgara { display: grid; gap: clamp(14px, 1.8vw, 20px); }
.portal-izgara:has(> :nth-child(2)) { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

.portal--kucuk {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 18px;
  padding: clamp(24px, 3vw, 32px);
}
.portal--kucuk h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.32rem); }
.portal--kucuk p { font-size: .93rem; }
.portal--kucuk .btn { justify-self: start; }

/* üst şeritteki açılır portal menüsü */
.portal-menu { position: relative; }
.portal-menu > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5em;
}
.portal-menu > summary::-webkit-details-marker { display: none; }
.portal-menu > summary svg:last-child { transition: rotate var(--t); }
.portal-menu[open] > summary svg:last-child { rotate: 180deg; }
.portal-menu__liste {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 95;
  min-width: 260px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  display: grid; gap: 2px;
  animation: portalAc .22s var(--ease);
}
@keyframes portalAc { from { opacity: 0; transform: translateY(-6px); } }
.portal-menu__liste a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px; border-radius: var(--r-sm);
  font: 500 .92rem/1.2 var(--sans); color: var(--text);
  transition: background var(--t), color var(--t);
}
.portal-menu__liste a:hover { background: var(--brass-soft); color: var(--brass); }
.portal-menu__liste a span { margin-right: auto; }
.portal-menu__liste a > svg:last-child { opacity: .45; }

@media (max-width: 1080px) { .ust__aksiyon .portal-menu { display: none; } }

/* çekmecede portal bloğu — menünün hemen altında */
.cekmece__portal { display: grid; gap: 10px; padding-top: 18px; }
.cekmece__portal:empty { display: none; }


/* --- 26. Yazı ekleri: görsel ve PDF -------------------------------------- */
.metin figure { margin: 2em 0; }
.metin figure img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--line); }
.metin figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); }

.gorsel-ek figcaption { text-align: center; }

.pdf-ek {
  display: grid; grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px; align-items: center;
  padding: 18px; margin: 2em 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color var(--t), box-shadow var(--t);
}
.pdf-ek:hover { border-color: var(--brass); box-shadow: var(--shadow-sm); }
.pdf-ek__kapak { display: block; }
.pdf-ek__kapak img {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm); background: #fff;
}
.pdf-ek figcaption { display: grid; gap: 6px; margin: 0; justify-items: start; }
.pdf-ek__ad { font: 600 1.04rem/1.35 var(--sans); color: var(--baslik); }
.pdf-ek__boyut {
  font: 600 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--brass); background: var(--brass-soft); padding: 5px 9px; border-radius: var(--r-full);
}
.pdf-ek__btn {
  margin-top: 6px; display: inline-flex; align-items: center; gap: .5em;
  padding: .6em 1.2em; border: 1.5px solid var(--brass); border-radius: var(--r-full);
  font: 600 .88rem/1 var(--sans); color: var(--brass); text-decoration: none;
  transition: background var(--t), color var(--t);
}
.pdf-ek__btn:hover { background: var(--brass); color: #fff; }
@media (max-width: 560px) {
  .pdf-ek { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pdf-ek__kapak { max-width: 190px; }
  .pdf-ek figcaption { justify-items: center; }
}

/* duyurudaki ek */
.duyuru__ek { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.duyuru__ek img { width: 62px; height: 78px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }

/* ------------------------------------------------ karar künyeleri ------ */
.metin sup.dn { font-size: .68em; line-height: 0; vertical-align: super; margin-left: 1px; }
.metin sup.dn a { color: var(--brass); text-decoration: none; font-weight: 600; padding: 0 2px; }
.metin sup.dn a:hover { text-decoration: underline; }
.metin .dipnotlar { margin-top: 2.2em; padding-top: 1.1em; border-top: 1px solid var(--line, rgba(0,0,0,.12)); font-size: .88rem; color: var(--muted); }
.metin .dipnotlar__bas { margin: 0 0 .5em; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--baslik, inherit); }
.metin .dipnotlar ol { margin: 0; padding-left: 1.6em; }
.metin .dipnotlar li { margin: .25em 0; }
.metin .dipnotlar li:target { background: var(--brass-soft); border-radius: 4px; }
.metin .dn-geri { text-decoration: none; color: var(--brass); margin-left: .25em; }
.metin h4 { font-size: 1.02rem; margin: 1.6em 0 .5em; }
