/* ==========================================================================
   TaxPro — Audit & Law & Consult
   Ortak stil dosyası
   Tasarım & Yazılım: ASD — www.asd.web.tr
   ========================================================================== */

/* ---------- Yazı tipleri (sunucuda barındırılır, harici istek yok) ---------- */
@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/spectral-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/spectral-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/spectral-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/spectral-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Spectral";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/spectral-latin-ext-500-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Spectral";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/spectral-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tasarım değişkenleri ---------- */
:root {
  /* Renkler — logodaki antrasit ve mavi çizgiden türetildi */
  --ink: #0e1a2b;          /* gece laciverti: başlık, hero, footer */
  --ink-2: #15253b;
  --ink-3: #22375a;        /* koyu zemin üzerindeki çizgiler */
  --anthracite: #3f4349;   /* logo kutusunun antrasiti */
  --paper: #ffffff;
  --mist: #f2f5f8;         /* serin açık zemin */
  --line: #dce3eb;
  --text: #1a2330;
  --muted: #586474;
  --blue: #0c8cd9;         /* logo mavisi (açık) */
  --blue-deep: #0a4fbf;    /* logo mavisi (koyu) — bağlantı ve butonlar */
  --blue-ink: #083c93;
  --on-dark: #eef3f8;
  --on-dark-muted: #a8b6c7;
  --ok: #1d7a4f;
  --err: #b42318;
  --rule: linear-gradient(90deg, #034fc6 0%, #0c8cd9 100%);

  /* Tipografi */
  --serif: "Spectral", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Public Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-base: 1.0625rem; /* 17 */
  --fs-md: 1.25rem;     /* 20 */
  --fs-lg: 1.5625rem;   /* 25 */
  --fs-xl: 2rem;        /* 32 */
  --fs-2xl: clamp(2.125rem, 1.4rem + 2.6vw, 3.25rem);  /* 34 → 52 */
  --fs-3xl: clamp(2.5rem, 1.5rem + 3.6vw, 4rem);       /* 40 → 64 */

  /* Ölçüler */
  --wrap: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --sec: clamp(4rem, 2.8rem + 4vw, 7rem);
  --r-sm: 3px;
  --r-md: 6px;
  --header-h: 94px;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-deep); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); line-height: 1.25; }
h4 { font-size: var(--fs-md); line-height: 1.3; }
strong { font-weight: 650; }
::selection { background: #cfe3fb; color: var(--ink); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--paper); color: var(--ink); padding: 0.6rem 1rem; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 66ch; }
.lead { font-size: var(--fs-md); line-height: 1.6; color: var(--muted); }

/* Logodaki mavi çizgi: imza çizgisi */
.sig-rule { display: block; width: 96px; height: 3px; background: var(--rule); border: 0; margin: 1.5rem 0; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.7rem 1.35rem;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue-deep); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); color: #fff; }
.btn-ghost { border-color: rgba(238, 243, 248, 0.45); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; font-size: var(--fs-sm); text-decoration: none; color: var(--blue-deep);
}
.text-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(3px); }
.on-dark .text-link, .text-link.light { color: #8cc8f5; }
.on-dark .text-link:hover, .text-link.light:hover { color: #fff; }

/* ==========================================================================
   Üst bilgi şeridi + header
   ========================================================================== */
.topbar { background: #0a1422; color: var(--on-dark-muted); font-size: var(--fs-xs); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar-info, .topbar-actions { display: flex; align-items: center; gap: 1.4rem; list-style: none; }
.topbar a { color: var(--on-dark-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }
.topbar .rg-link { color: #9fd2f7; }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-3);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(5, 12, 22, 0.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 68px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav > ul { display: flex; align-items: center; list-style: none; gap: 0.15rem; }
.main-nav > ul > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  height: var(--header-h); padding: 0 0.85rem;
  color: var(--on-dark); font-size: var(--fs-sm); font-weight: 500;
  text-decoration: none; background: none; border: 0; cursor: pointer; position: relative;
}
.nav-link svg { width: 14px; height: 14px; opacity: .7; transition: transform .18s ease; }
.nav-link::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 26px; height: 2px;
  background: var(--rule); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: #fff; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-cta { margin-left: 0.75rem; min-height: 42px; padding: 0.5rem 1.1rem; }

/* Açılır menüler */
.dropdown {
  position: absolute; top: calc(100% - 8px); left: 0; min-width: 250px;
  background: var(--paper); border-radius: var(--r-md); border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(8, 20, 38, 0.18);
  padding: 0.5rem; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-dropdown.is-open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 0.6rem 0.8rem; border-radius: var(--r-sm);
  color: var(--text); text-decoration: none; font-size: var(--fs-sm);
}
.dropdown a:hover { background: var(--mist); color: var(--blue-deep); }
.dropdown a small { display: block; color: var(--muted); font-size: var(--fs-xs); line-height: 1.4; margin-top: 2px; }

/* Hizmetler mega menüsü: Audit / Law / Consult */
.mega {
  width: min(860px, calc(100vw - 2 * var(--gutter)));
  left: 50%; transform: translate(-50%, 6px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0;
}
.has-dropdown.is-open > .mega { transform: translate(-50%, 0); }
.mega-col { padding: 1.4rem 1.2rem 1.2rem; }
.mega-col + .mega-col { border-left: 1px solid var(--line); }
.mega-col h3 { font-family: var(--serif); font-size: var(--fs-md); margin: 0 0 0.2rem 0.8rem; }
.mega-col p { font-size: var(--fs-xs); color: var(--muted); margin: 0 0 0.6rem 0.8rem; line-height: 1.45; }
.mega-col ul { list-style: none; }
.mega-foot .text-link { white-space: nowrap; }
.mega-foot {
  grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.85rem 2rem; background: var(--mist); border-top: 1px solid var(--line);
  border-radius: 0 0 var(--r-md) var(--r-md); font-size: var(--fs-sm); color: var(--muted);
}

/* Mobil menü düğmesi */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: transparent; border: 1px solid var(--ink-3); color: var(--on-dark); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

/* ==========================================================================
   Ana sayfa hero — sol: başlık, sağ: canlı mevzuat masası
   ========================================================================== */
.hero {
  background: var(--ink); color: var(--on-dark);
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0 clamp(3.5rem, 2rem + 4vw, 5.5rem);
}
.hero::before { /* uzak, sessiz bir şehir silueti: firmanın kendi görseli */
  content: ""; position: absolute; inset: 0;
  background: url("../img/taxpro-sehir.jpg") center 40% / cover no-repeat;
  opacity: 0.09; filter: grayscale(1);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.hero h1 { color: #fff; font-weight: 500; max-width: 17ch; font-size: clamp(2.375rem, 1.4rem + 3vw, 3.5rem); line-height: 1.1; }
.hero .sig-rule { width: 120px; margin: 1.75rem 0; }
.hero-text { font-size: var(--fs-md); line-height: 1.6; color: var(--on-dark-muted); max-width: 52ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-pillars { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin-top: 2.75rem; list-style: none; font-size: var(--fs-sm); color: var(--on-dark-muted); }
.hero-pillars li { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-pillars li::before { content: ""; width: 7px; height: 7px; border: 1.5px solid var(--blue); transform: rotate(45deg); }

/* Mevzuat masası */
.desk {
  background: rgba(21, 37, 59, 0.92); border: 1px solid var(--ink-3); border-radius: var(--r-md);
  backdrop-filter: blur(4px);
}
.desk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.15rem 1.35rem 1rem; border-bottom: 1px solid var(--ink-3); }
.desk-head h2 { font-size: var(--fs-md); color: #fff; font-weight: 500; }
.desk-date { font-size: var(--fs-xs); color: var(--on-dark-muted); white-space: nowrap; }
.desk-live { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--sans); font-size: var(--fs-xs); color: #8fd3a8; margin-left: 0.6rem; font-weight: 500; }
.desk-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3fbf7f; box-shadow: 0 0 0 0 rgba(63, 191, 127, .6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 191, 127, .55); } 70% { box-shadow: 0 0 0 8px rgba(63, 191, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 191, 127, 0); } }
.desk-list { list-style: none; }
.desk-list li + li { border-top: 1px solid rgba(34, 55, 90, 0.7); }
.desk-item { display: block; padding: 0.9rem 1.35rem; text-decoration: none; color: var(--on-dark); }
.desk-item:hover { background: rgba(255, 255, 255, 0.035); color: #fff; }
.desk-item .t { display: block; font-size: var(--fs-sm); line-height: 1.45; font-weight: 500; }
.desk-item .m { display: flex; gap: 0.9rem; margin-top: 0.3rem; font-size: var(--fs-xs); color: var(--on-dark-muted); }
.desk-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 0.95rem 1.35rem; border-top: 1px solid var(--ink-3); font-size: var(--fs-sm); }
.desk-foot a { color: #8cc8f5; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; }
.desk-foot a:hover { color: #fff; }
.desk-foot svg { width: 16px; height: 16px; }

/* Yükleniyor iskeleti */
.skel { display: block; height: 0.8em; border-radius: 3px; background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.13), rgba(255,255,255,.06)); background-size: 200% 100%; animation: skel 1.4s linear infinite; }
.skel + .skel { margin-top: 0.5rem; width: 60%; }
.light-skel .skel { background: linear-gradient(90deg, #eef2f6, #e1e7ee, #eef2f6); background-size: 200% 100%; }
@keyframes skel { to { background-position: -200% 0; } }

/* ==========================================================================
   İç sayfa başlığı
   ========================================================================== */
.page-hero { background: var(--ink); color: var(--on-dark); padding: clamp(2.75rem, 2rem + 3vw, 4.5rem) 0 clamp(2.5rem, 2rem + 2vw, 3.5rem); position: relative; overflow: hidden; }
.page-hero.has-photo::before { content: ""; position: absolute; inset: 0; background: var(--ph) center / cover no-repeat; opacity: .14; filter: grayscale(1); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-weight: 500; font-size: var(--fs-2xl); max-width: 20ch; }
.page-hero .sig-rule { margin: 1.25rem 0 1.25rem; }
.page-hero p { color: var(--on-dark-muted); font-size: var(--fs-md); max-width: 60ch; margin: 0; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: var(--fs-xs); color: var(--on-dark-muted); margin-bottom: 1.25rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: .6; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ==========================================================================
   Bölümler
   ========================================================================== */
.section { padding: var(--sec) 0; }
.section.mist { background: var(--mist); }
.section.tight { padding: calc(var(--sec) * 0.6) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.section-head h2 { max-width: 22ch; }
.section-head p { color: var(--muted); max-width: 52ch; margin: 0.9rem 0 0; }

/* Audit / Law / Consult — logodan gelen üç sütun */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 2.25rem 2rem 0.5rem 0; }
.pillar + .pillar { padding-left: 2rem; border-left: 1px solid var(--line); }
.pillar-en { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--blue-deep); font-size: var(--fs-md); display: block; margin-bottom: 0.3rem; }
.pillar h3 { font-size: var(--fs-xl); margin-bottom: 0.9rem; }
.pillar > p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 1.25rem; }
.pillar ul { list-style: none; border-top: 1px solid var(--line); }
.pillar li { border-bottom: 1px solid var(--line); }
.pillar li a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.8rem 0; color: var(--text); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; }
.pillar li a svg { width: 16px; height: 16px; color: var(--muted); flex: none; transition: transform .18s ease, color .18s ease; }
.pillar li a:hover { color: var(--blue-deep); }
.pillar li a:hover svg { color: var(--blue-deep); transform: translateX(3px); }

/* Görsel + metin */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); background: var(--mist); }
/* Görsel yüklenemezse: marka paneli */
.img-fallback { background: var(--ink) url("../img/taxpro-ikon.png") center / 88px no-repeat; border-radius: var(--r-md); aspect-ratio: 4 / 3; max-width: 100%; }
.detail-figure.img-fallback { aspect-ratio: 21 / 9; }
.img-fallback img { visibility: hidden; }
.split-media figcaption { font-size: var(--fs-xs); color: var(--muted); margin-top: 0.6rem; }
.split h2 { margin-bottom: 0.25rem; }

/* İlkeler — slayttaki "Tarafsız, ilkeli, müşteri memnuniyetini esas alan" */
.principles { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2rem; border-top: 1px solid var(--line); }
.principles li { padding: 1.4rem 1.5rem 0 0; }
.principles li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.principles h3 { font-size: var(--fs-md); margin-bottom: 0.4rem; }
.principles p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }

/* Alıntı / slogan şeridi */
.statement { background: var(--anthracite); color: #fff; padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0; }
.statement blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); line-height: 1.35; max-width: 34ch; }
.statement .wrap { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
.statement .nib { width: 76px; height: 76px; }
.statement p { color: #d5d9de; margin: 1rem 0 0; max-width: 60ch; }

/* ==========================================================================
   Haber akışı
   ========================================================================== */
.news-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; padding: 0.3rem; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-md); }
.section.mist .tabs { background: var(--paper); }
.tab {
  border: 0; background: transparent; padding: 0.5rem 0.95rem; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 500; color: var(--muted); cursor: pointer;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.news-search { position: relative; min-width: min(320px, 100%); }
.news-search input {
  width: 100%; height: 44px; padding: 0 1rem 0 2.6rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper);
}
.news-search svg { position: absolute; left: 0.85rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }

.news-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.25rem; }
.news-item { border-top: 1px solid var(--line); padding: 1.3rem 0 1.6rem; }
.news-item a.n-title { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.1875rem; line-height: 1.35; color: var(--ink); text-decoration: none; }
.news-item a.n-title:hover { color: var(--blue-deep); text-decoration: underline; text-decoration-thickness: 1px; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem; font-size: var(--fs-xs); color: var(--muted); margin-bottom: 0.6rem; }
.news-cat { color: var(--blue-deep); font-weight: 600; }
.news-item p { font-size: var(--fs-sm); color: var(--muted); margin: 0.6rem 0 0; }
.news-item .n-ext { display: inline-flex; align-items: center; gap: 0.3rem; font-size: var(--fs-xs); color: var(--muted); margin-top: 0.75rem; }
.news-item .n-ext svg { width: 13px; height: 13px; }
.news-empty { grid-column: 1 / -1; padding: 2rem 0; color: var(--muted); border-top: 1px solid var(--line); }
.news-status { font-size: var(--fs-xs); color: var(--muted); margin-top: 1.25rem; }
.news-more { margin-top: 1.5rem; }

/* Firma duyuruları (sabit, elle güncellenir) */
.notices { list-style: none; }
.notice { display: grid; grid-template-columns: 110px 1fr; gap: 1.25rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.notice time { font-size: var(--fs-xs); color: var(--muted); padding-top: 0.25rem; }
.notice h3 { font-family: var(--serif); font-size: var(--fs-md); line-height: 1.35; }
.notice h3 a { color: var(--ink); text-decoration: none; }
.notice h3 a:hover { color: var(--blue-deep); text-decoration: underline; }
.notice p { margin: 0.35rem 0 0; color: var(--muted); font-size: var(--fs-sm); }

/* Haber sayfası düzeni */
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.news-layout .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.side-box { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem; background: var(--paper); }
.side-box + .side-box { margin-top: 1.25rem; }
.side-box h2 { font-size: var(--fs-md); margin-bottom: 0.9rem; }
.side-links { list-style: none; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.65rem 0; color: var(--text); text-decoration: none; font-size: var(--fs-sm); }
.side-links a small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.side-links a:hover { color: var(--blue-deep); }
.side-links svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }

/* ==========================================================================
   Hizmet detayları
   ========================================================================== */
.svc-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.svc-nav ul { display: flex; gap: 0.25rem; list-style: none; overflow-x: auto; scrollbar-width: none; }
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a { display: block; white-space: nowrap; padding: 1rem 0.9rem; font-size: var(--fs-sm); font-weight: 500; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.svc-nav a:hover { color: var(--ink); }
.svc-nav a.is-active { color: var(--ink); border-bottom-color: var(--blue-deep); }

.svc-group { padding: var(--sec) 0 calc(var(--sec) * 0.5); }
.svc-group + .svc-group { border-top: 1px solid var(--line); }
.svc-group-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); margin-bottom: 2.5rem; }
.svc-group-head .pillar-en { font-size: var(--fs-lg); }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 1rem + 3vw, 4rem); }
.svc { border-top: 1px solid var(--line); padding: 1.6rem 0 1.9rem; scroll-margin-top: calc(var(--header-h) + 70px); }
.svc h3 { font-size: var(--fs-lg); margin-bottom: 0.6rem; }
.svc p { color: var(--muted); font-size: var(--fs-sm); }
.svc ul { list-style: none; margin-top: 0.75rem; }
.svc li { position: relative; padding-left: 1.2rem; font-size: var(--fs-sm); margin-bottom: 0.4rem; }
.svc li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border: 1.5px solid var(--blue-deep); transform: rotate(45deg); }

/* Süreç (gerçekten sıralı olduğu için numaralı) */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; padding: 1.5rem 1.5rem 0 0; }
.steps li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s); display: block; font-family: var(--serif); font-size: var(--fs-xl); color: var(--blue-deep); line-height: 1; margin-bottom: 0.75rem; }
.steps h3 { font-size: var(--fs-md); margin-bottom: 0.4rem; }
.steps p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }

/* ==========================================================================
   Ekip
   ========================================================================== */
.team { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.member { border-top: 3px solid var(--ink); padding-top: 1.25rem; }
.member .avatar { width: 64px; height: 64px; border-radius: 20px 4px 20px 4px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: var(--fs-lg); margin-bottom: 1rem; }
.member h3 { font-size: var(--fs-lg); }
.member .role { color: var(--blue-deep); font-weight: 600; font-size: var(--fs-sm); margin: 0.25rem 0 0.75rem; }
.member p { color: var(--muted); font-size: var(--fs-sm); }

/* ==========================================================================
   İletişim + formlar
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact-list { list-style: none; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.contact-list .ic { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--mist); display: grid; place-items: center; color: var(--blue-deep); }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list h3 { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 600; color: var(--muted); letter-spacing: 0.01em; margin-bottom: 0.2rem; }
.contact-list p, .contact-list a { margin: 0; font-size: var(--fs-base); color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--blue-deep); text-decoration: underline; }
.map { margin-top: 2rem; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 340px; border: 0; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.form-card h2 { font-size: var(--fs-xl); margin-bottom: 0.5rem; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
  border: 1px solid #c9d3de; border-radius: var(--r-sm); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23586474' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(10, 79, 191, 0.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--err); }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue-deep); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.form-status { font-size: var(--fs-sm); margin: 0; flex: 1 1 260px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* ==========================================================================
   Harekete geçirici şerit
   ========================================================================== */
.cta-band { background: var(--ink); color: var(--on-dark); padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0; border-top: 3px solid; border-image: var(--rule) 1; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; }
.cta-band h2 { color: #fff; font-weight: 500; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); max-width: 24ch; }
.cta-band p { color: var(--on-dark-muted); margin: 0.75rem 0 0; max-width: 56ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #0a1422; color: var(--on-dark-muted); font-size: var(--fs-sm); }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); padding-bottom: 2.5rem; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 36ch; }
.site-footer h2 { font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; color: #fff; letter-spacing: 0.01em; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li + li { margin-top: 0.55rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact { list-style: none; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 0.7rem; }
.footer-contact li + li { margin-top: 0.8rem; }
.footer-contact svg { width: 17px; height: 17px; margin-top: 3px; color: var(--blue); }
.footer-bottom { border-top: 1px solid #1a2a42; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; min-height: 76px; padding-block: 1rem; font-size: var(--fs-xs); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; align-items: center; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; list-style: none; }
/* ASD imzası: resmi logo, beyaz, arka plansız */
.asd-sign { display: inline-flex; align-items: center; margin-left: auto; opacity: .78; transition: opacity .18s ease; }
.asd-sign:hover { opacity: 1; }
.asd-sign img { height: 26px; width: auto; }

/* Yukarı çık */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 46px; height: 46px; border-radius: var(--r-sm); border: 1px solid var(--ink-3);
  background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* Basit metin sayfaları (KVKK vb.) */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--fs-xl); margin: 2.5rem 0 0.75rem; }
.prose h3 { font-size: var(--fs-md); margin: 1.75rem 0 0.5rem; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1em; }
.prose li { margin-bottom: 0.35rem; }

/* 404 */
.notfound { min-height: 50vh; display: grid; align-content: center; }

/* ==========================================================================
   Duyarlı düzen
   ========================================================================== */
@media (max-width: 1140px) {
  .nav-link { padding: 0 0.6rem; }
  .nav-link::after { left: 0.6rem; right: 0.6rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  :root { --header-h: 78px; }
  .brand img { height: 56px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 99;
    display: block; overflow-y: auto; background: var(--ink);
    padding: 1rem var(--gutter) 2rem;
    transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--ink-3); }
  .nav-link { width: 100%; height: auto; padding: 1rem 0; justify-content: space-between; font-size: var(--fs-base); }
  .nav-link::after { display: none; }
  .dropdown, .mega {
    position: static; width: auto; min-width: 0; transform: none; box-shadow: none; border: 0; border-radius: 0;
    background: transparent; padding: 0 0 0.75rem; display: none; opacity: 1; visibility: visible;
  }
  .has-dropdown.is-open > .dropdown { display: block; transform: none; }
  .has-dropdown.is-open > .mega { display: block; transform: none; }
  .dropdown a { color: var(--on-dark-muted); padding: 0.55rem 0.75rem; }
  .dropdown a:hover { background: rgba(255,255,255,.05); color: #fff; }
  .dropdown a small { color: #7f8ea2; }
  .mega-col { padding: 0.5rem 0 0.25rem; }
  .mega-col + .mega-col { border-left: 0; }
  .mega-col h3 { color: #fff; margin-left: 0.75rem; }
  .mega-col p { display: none; }
  .mega-foot { display: none; }
  .nav-cta { margin: 1.5rem 0 0; width: 100%; }

  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .split, .contact-grid, .svc-group-head, .news-layout { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .sticky-side { position: static; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .topbar-info li:not(:first-child) { display: none; }
  .pillars, .principles { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 2rem 0 0.5rem; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); margin-top: 1.5rem; }
  .principles li, .principles li + li { padding: 1.25rem 0 0; border-left: 0; }
  .principles li + li { border-top: 1px solid var(--line); margin-top: 1.25rem; }
  .section-head { flex-direction: column; align-items: start; }
  .news-grid, .news-layout .news-grid, .svc-list, .team { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 1.25rem 0 0; border-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .statement .wrap { grid-template-columns: 1fr; }
  .notice { grid-template-columns: 1fr; gap: 0.3rem; }
  .asd-sign { margin-left: 0; }
  .tabs { width: 100%; }
  .tab { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  .topbar-actions .rg-link span { display: none; }
  .hero-actions .btn { width: 100%; }
}

/* ==========================================================================
   Hizmet detay sayfaları
   ========================================================================== */
.pillar-tag { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: var(--fs-md); color: #8cc8f5; margin-bottom: 0.4rem; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.detail-main > section + section { margin-top: clamp(2.75rem, 2rem + 2vw, 4rem); padding-top: clamp(2.75rem, 2rem + 2vw, 4rem); border-top: 1px solid var(--line); }
.detail-main h2 { font-size: var(--fs-xl); margin-bottom: 1rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.detail-main h3 { font-size: var(--fs-md); margin: 1.75rem 0 0.75rem; }
.detail-main p { max-width: 70ch; }
.detail-main .intro { font-size: var(--fs-md); line-height: 1.6; color: var(--text); }
.detail-figure { margin: 0 0 2.5rem; }
.detail-figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-md); background: var(--mist); }
.ticks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 1.25rem 0 0; border-top: 1px solid var(--line); }
.ticks.one { grid-template-columns: 1fr; }
.ticks li { position: relative; padding: 0.8rem 0 0.8rem 1.6rem; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 1.28em; width: 7px; height: 7px; border: 1.5px solid var(--blue-deep); transform: rotate(45deg); }
.note { margin-top: 1.5rem; padding: 1.1rem 1.25rem; background: var(--mist); border-left: 3px solid var(--blue-deep); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: var(--fs-sm); color: var(--text); }
.side-box.dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark-muted); }
.side-box.dark h2 { color: #fff; }
.side-box.dark p { font-size: var(--fs-sm); }
.side-box.dark .btn { width: 100%; margin-top: 0.5rem; }
.side-box.dark .side-tel { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; color: #fff; text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.side-box.dark .side-tel svg { width: 17px; height: 17px; color: var(--blue); }
.side-links a[aria-current="page"] { color: var(--blue-deep); font-weight: 600; }

/* Hizmetler genel bakış */
.svc-overview { display: grid; gap: 0; }
.svc-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0; border-top: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row h2 { font-size: var(--fs-xl); margin-bottom: 0.75rem; }
.svc-row p { color: var(--muted); }
.svc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.svc-card { display: flex; flex-direction: column; gap: 0.45rem; padding: 1.25rem 1.3rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--text); background: var(--paper); transition: border-color .18s ease; }
.svc-card:hover { border-color: var(--blue-deep); color: var(--text); }
.svc-card strong { font-family: var(--serif); font-size: 1.1875rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.svc-card span { font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.svc-card .text-link { margin-top: auto; padding-top: 0.5rem; }

/* Ofisler */
.offices { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.office { padding: 1.75rem 1.75rem 0.5rem 0; }
.office + .office { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.office h3 { font-size: var(--fs-lg); margin-bottom: 0.6rem; }
.office address { font-style: normal; color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; min-height: 3.2em; }
.office .o-tel { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0.9rem 0 0.6rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.office .o-tel svg { width: 17px; height: 17px; color: var(--blue-deep); }
.office .o-tel:hover { color: var(--blue-deep); }
.office .o-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.map-switch { margin-top: 2.5rem; }
.map-tabs { margin-bottom: 1rem; }
.map-frame { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--mist); }
.map-frame iframe { width: 100%; height: 400px; border: 0; }

/* Ekip özeti (ana sayfa) */
.partners { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.partners li { border-top: 3px solid var(--ink); padding-top: 1rem; display: grid; grid-template-columns: 48px 1fr; column-gap: .9rem; align-items: center; }
.partners .avatar { grid-row: span 2; width: 48px; height: 48px; border-radius: 16px 4px 16px 4px; background: var(--grad-ink); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.05rem; }
.partners strong { display: block; font-family: var(--serif); font-size: var(--fs-md); font-weight: 600; color: var(--ink); }
.partners span { display: block; font-size: var(--fs-sm); color: var(--muted); margin-top: 0.15rem; }

.values { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 1px solid var(--line); margin-top: 1.5rem; }
.values li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-base); }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 1rem + 3vw, 4rem); }
.mv h2 { font-size: var(--fs-xl); margin-bottom: 0.75rem; }
.mv p { color: var(--muted); }

@media (max-width: 1024px) {
  .detail, .svc-row { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ticks, .svc-cards, .values, .mv { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .office, .office + .office { padding: 1.5rem 0 1rem; border-left: 0; }
  .office + .office { border-top: 1px solid var(--line); }
  .map-frame iframe { height: 320px; }
}
@media (max-width: 480px) {
  .partners { grid-template-columns: 1fr; }
}

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

@media print {
  .topbar, .site-header, .cta-band, .to-top, .main-nav, .news-tools { display: none !important; }
  body { color: #000; }
  a { color: #000; }
}

/* ==========================================================================
   v2 — Görsel katmanı, degrade geçişler ve hareket
   ========================================================================== */
:root {
  --grad-ink: linear-gradient(160deg, #0b1626 0%, #0e1a2b 45%, #0f2747 100%);
  --grad-blue: linear-gradient(120deg, #083c93 0%, #0a4fbf 55%, #0c8cd9 100%);
  --grad-fade: linear-gradient(180deg, #ffffff 0%, #eef3f8 22%, #eef3f8 78%, #ffffff 100%);
  --glow: radial-gradient(60% 70% at 85% 15%, rgba(12, 140, 217, 0.28) 0%, rgba(12, 140, 217, 0) 70%);
  --shadow-soft: 0 24px 60px -24px rgba(8, 24, 48, 0.35);
}

/* Butonlar: degrade ve parıltı */
.btn-primary { background: var(--grad-blue); background-size: 160% 100%; background-position: 0 0; transition: background-position .4s ease, box-shadow .25s ease, transform .2s ease; box-shadow: 0 10px 24px -12px rgba(10, 79, 191, .7); }
.btn-primary:hover { background: var(--grad-blue); background-size: 160% 100%; background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(12, 140, 217, .75); }

/* Kaydırınca beliren öğeler (JS yoksa her şey görünür kalır) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-30px); }
.js [data-reveal="right"] { transform: translateX(30px); }
.js [data-reveal="left"].is-in, .js [data-reveal="right"].is-in { transform: none; }

/* ---------- Hero: fotoğraf + degrade ---------- */
.hero { background: #0b1626; padding: clamp(4.5rem, 3rem + 6vw, 8.5rem) 0 clamp(6rem, 4rem + 6vw, 9rem); isolation: isolate; }
.hero::before { display: none; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform-origin: 60% 50%; animation: kenburns 32s ease-in-out infinite alternate; }
.hero-media { transform: scaleX(-1); }
.hero-media img { filter: brightness(1.25) saturate(1.1); }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(12, 140, 217, .30) 0%, rgba(12, 140, 217, 0) 70%),
    linear-gradient(100deg, rgba(9, 18, 33, .96) 0%, rgba(11, 22, 38, .82) 36%, rgba(12, 28, 52, .38) 62%, rgba(10, 46, 104, .30) 100%),
    linear-gradient(180deg, rgba(11, 22, 38, 0) 70%, #0b1626 100%);
}
.hero h1 { letter-spacing: -0.015em; text-wrap: balance; }
.hero-kicker { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem; padding: .4rem .85rem .4rem .45rem; border: 1px solid rgba(140, 200, 245, .28); border-radius: 999px; background: rgba(12, 140, 217, .08); color: #b9dcf7; font-size: var(--fs-xs); font-weight: 500; }
.hero-kicker img { width: 22px; height: 22px; }
.desk { background: rgba(14, 28, 50, .62); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border: 1px solid rgba(140, 200, 245, .18); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.desk-head, .desk-foot { border-color: rgba(140, 200, 245, .14); }
.desk-list li + li { border-top-color: rgba(140, 200, 245, .10); }

/* Hero sonrası kayan mevzuat şeridi */
.ticker { position: relative; z-index: 2; margin-top: -3.25rem; }
.ticker .wrap { display: flex; align-items: stretch; }
.ticker-box { display: flex; align-items: center; width: 100%; min-height: 64px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-soft); overflow: hidden; }
.ticker-label { flex: none; display: flex; align-items: center; gap: .55rem; align-self: stretch; padding: 0 1.25rem; background: var(--grad-blue); color: #fff; font-size: var(--fs-sm); font-weight: 600; }
.ticker-label svg { width: 18px; height: 18px; }
.ticker-view { position: relative; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.ticker-track { display: flex; width: max-content; gap: 2.75rem; padding: 0 1.5rem; animation: ticker 70s linear infinite; list-style: none; }
.ticker-view:hover .ticker-track, .ticker-view:focus-within .ticker-track { animation-play-state: paused; }
.ticker-track li { white-space: nowrap; font-size: var(--fs-sm); }
.ticker-track a { color: var(--ink); text-decoration: none; display: inline-flex; gap: .6rem; align-items: baseline; }
.ticker-track a:hover { color: var(--blue-deep); }
.ticker-track .tk-src { color: var(--blue-deep); font-weight: 600; font-size: var(--fs-xs); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Degrade bölüm geçişleri ---------- */
.section.mist { background: var(--grad-fade); }
.section.flow-top { padding-top: calc(var(--sec) + 1rem); }
.section.dark { background: var(--grad-ink); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.section.dark::before { content: ""; position: absolute; inset: 0; background: var(--glow); z-index: -1; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .section-head p, .section.dark p { color: var(--on-dark-muted); }

/* ---------- Görselli hizmet kartları (Audit / Law / Consult) ---------- */
.pillar-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, .5rem + 1.5vw, 2rem); }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(8, 24, 48, .35); transition: box-shadow .35s ease, transform .35s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 30px 60px -28px rgba(8, 24, 48, .45); }
.pcard-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 22, 38, 0) 35%, rgba(11, 22, 38, .88) 100%); }
.pcard-media .pillar-en { position: absolute; left: 1.5rem; bottom: 1.1rem; z-index: 1; color: #fff; font-size: var(--fs-lg); margin: 0; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.25rem; }
.pcard-body h3 { font-size: var(--fs-lg); margin-bottom: .6rem; }
.pcard-body > p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 1rem; }
.pcard-body ul { list-style: none; margin-top: auto; border-top: 1px solid var(--line); }
.pcard-body li { border-bottom: 1px solid var(--line); }
.pcard-body li:last-child { border-bottom: 0; }
.pcard-body li a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 0; color: var(--text); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; }
.pcard-body li a svg { width: 16px; height: 16px; color: var(--muted); transition: transform .2s ease, color .2s ease; }
.pcard-body li a:hover { color: var(--blue-deep); }
.pcard-body li a:hover svg { color: var(--blue-deep); transform: translateX(3px); }

/* ---------- Katmanlı görsel kompozisyonu + tasdik mührü ---------- */
.layered { position: relative; padding: 0 0 3.5rem 3rem; }
.layered .l-main { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow-soft); background: var(--ink); }
.layered .l-sub { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 6px solid #fff; box-shadow: var(--shadow-soft); background: var(--ink); }
.seal { position: absolute; top: -28px; right: -22px; width: 150px; height: 150px; display: grid; place-items: center; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.seal .seal-core { position: relative; z-index: 1; width: 78px; height: 78px; border-radius: 50%; background: var(--grad-blue); display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(10, 79, 191, .7); }
.seal .seal-core img { width: 40px; height: 40px; border-radius: 12px 3px 12px 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Görselli alıntı şeridi ---------- */
.statement { position: relative; overflow: hidden; isolation: isolate; background: #1c2027; padding: clamp(4.5rem, 3rem + 5vw, 7.5rem) 0; }
.statement-media { position: absolute; inset: 0; z-index: -2; }
.statement-media img { width: 100%; height: 100%; object-fit: cover; }
.statement::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(28, 32, 39, .96) 0%, rgba(30, 36, 46, .86) 45%, rgba(10, 60, 140, .55) 100%); }
.statement blockquote { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }

/* ---------- Haber vitrini: öne çıkan + liste ---------- */
.news-showcase { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 2.75rem); align-items: stretch; }
.news-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; border-radius: 12px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--ink); box-shadow: var(--shadow-soft); }
.news-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.news-feature:hover img { transform: scale(1.05); }
.news-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 22, 38, .15) 0%, rgba(11, 22, 38, .55) 45%, rgba(9, 18, 33, .95) 100%); }
.news-feature .nf-body { padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.news-feature .news-meta { color: #c7d6e6; }
.news-feature .news-cat { color: #8cc8f5; }
.news-feature h3 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.25; margin: .4rem 0 .6rem; }
.news-feature p { color: #d5e0ec; font-size: var(--fs-sm); margin: 0; max-width: 56ch; }
.news-feature .n-ext { color: #a8b6c7; margin-top: 1rem; display: inline-flex; gap: .35rem; align-items: center; font-size: var(--fs-xs); }
.news-feature .n-ext svg { width: 13px; height: 13px; }
.news-side { list-style: none; display: flex; flex-direction: column; }
.news-side .news-item { padding: 1.05rem 0 1.15rem; }
.news-side .news-item:first-child { border-top: 0; padding-top: 0; }
.news-side .news-item a.n-title { font-size: 1.0625rem; }
.news-side .news-item p { display: none; }

/* ---------- Ofis kartları (şehir fotoğraflı) ---------- */
.city-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, .5rem + 1.5vw, 2rem); }
.city { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(8, 24, 48, .35); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.city-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.city-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.city:hover .city-media img { transform: scale(1.06); }
.city-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 22, 38, 0) 40%, rgba(11, 22, 38, .85) 100%); }
.city-media h3 { position: absolute; left: 1.4rem; bottom: 1rem; z-index: 1; color: #fff; font-size: var(--fs-xl); font-weight: 500; }
.city-media span { position: absolute; right: 1.2rem; bottom: 1.25rem; z-index: 1; color: #c9dcef; font-size: var(--fs-xs); }
.city-body { padding: 1.25rem 1.4rem 1.4rem; }
.city-body address { font-style: normal; color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.city-body .o-tel { display: inline-flex; align-items: center; gap: .5rem; margin: .85rem 0 .6rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.city-body .o-tel svg { width: 17px; height: 17px; color: var(--blue-deep); }
.city-body .o-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }

/* ---------- İç sayfa başlığı: renkli fotoğraf + degrade ---------- */
.page-hero { background: #0b1626; padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0 clamp(3.25rem, 2.5rem + 3vw, 5rem); isolation: isolate; }
.page-hero.has-photo::before { opacity: 1; filter: none; z-index: -2; transform-origin: 70% 50%; animation: kenburns 40s ease-in-out infinite alternate; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 90% 10%, rgba(12, 140, 217, .25) 0%, rgba(12, 140, 217, 0) 70%), linear-gradient(100deg, rgba(9, 18, 33, .96) 0%, rgba(11, 22, 38, .86) 45%, rgba(12, 32, 62, .55) 100%); }
.page-hero h1 { text-wrap: balance; }

/* ---------- CTA şeridi: görsel + degrade ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: #0b1626; border-top: 0; padding: clamp(4rem, 3rem + 4vw, 6.5rem) 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--cta-img, none) center / cover no-repeat; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 80% at 85% 50%, rgba(12, 140, 217, .35) 0%, rgba(12, 140, 217, 0) 70%), linear-gradient(100deg, rgba(9, 18, 33, .95) 0%, rgba(11, 26, 48, .78) 48%, rgba(8, 60, 147, .5) 100%); }

/* Hizmetler genel bakış: görselli satır */
.svc-row-media { margin: 0 0 1.5rem; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); box-shadow: var(--shadow-soft); }
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; }

/* Detay sayfası görseli */
.detail-figure img { border-radius: 10px; box-shadow: var(--shadow-soft); }

/* Geniş görsel bandı */
.photo-band { position: relative; height: clamp(260px, 30vw, 420px); overflow: hidden; isolation: isolate; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 78%, #fff 100%); }

/* Ekip kartı monogram: degrade */
.member .avatar { background: var(--grad-ink); box-shadow: 0 10px 24px -12px rgba(8, 24, 48, .6); }
.member { border-top: 0; padding: 1.5rem; background: #fff; border-radius: 10px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(8, 24, 48, .35); }

/* Footer: üst kenarda degrade çizgi ve yumuşak ışık */
.site-footer { position: relative; background: radial-gradient(40% 60% at 10% 0%, rgba(12, 140, 217, .10) 0%, rgba(12, 140, 217, 0) 70%), #0a1422; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--rule); opacity: .8; }

/* Arşiv */
.year-select { height: 44px; padding: 0 2.4rem 0 .9rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23586474' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center; appearance: none; font-size: var(--fs-sm); }
.post-hero h1 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem); max-width: 30ch; }
.post-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.post-meta svg { width: 15px; height: 15px; }
.archive-list { list-style: none; }
.archive-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.25rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.archive-item time { font-size: var(--fs-xs); color: var(--muted); padding-top: .3rem; font-variant-numeric: tabular-nums; }
.archive-item a { font-family: var(--serif); font-weight: 600; font-size: 1.125rem; color: var(--ink); text-decoration: none; line-height: 1.35; }
.archive-item a:hover { color: var(--blue-deep); text-decoration: underline; text-decoration-thickness: 1px; }
.archive-item p { margin: .35rem 0 0; color: var(--muted); font-size: var(--fs-sm); }
.pager { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.75rem; }
.pager button { min-width: 42px; height: 42px; padding: 0 .75rem; border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm); cursor: pointer; font-variant-numeric: tabular-nums; }
.pager button[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager button:disabled { opacity: .45; cursor: default; }
.post-body { max-width: 74ch; font-size: var(--fs-base); }
.post-body h2, .post-body h3, .post-body h4 { font-size: var(--fs-lg); margin: 2rem 0 .75rem; }
.post-body p { margin-bottom: 1em; }
.post-body ul, .post-body ol { padding-left: 1.3rem; margin-bottom: 1em; }
.post-body li { margin-bottom: .35rem; }
.post-body table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin: 1.25rem 0; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.post-body th { background: var(--mist); }
.post-body .tbl { overflow-x: auto; }
.post-body img { max-width: 100%; height: auto; border-radius: 6px; }
.post-body a { word-break: break-word; }
.post-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--on-dark-muted); font-size: var(--fs-sm); margin-top: 1rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post-nav a { display: block; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); font-size: var(--fs-sm); }
.post-nav a small { display: block; color: var(--muted); margin-bottom: .25rem; }
.post-nav a:hover { border-color: var(--blue-deep); }
.post-nav .next { text-align: right; }

@media (max-width: 1024px) {
  .pillar-cards, .city-cards { grid-template-columns: 1fr 1fr; }
  .news-showcase { grid-template-columns: 1fr; }
  .layered { padding: 0 0 3rem 2rem; max-width: 560px; }
  .ticker { margin-top: -2.5rem; }
}
@media (max-width: 760px) {
  .pillar-cards, .city-cards { grid-template-columns: 1fr; }
  .news-feature { min-height: 340px; }
  .seal { width: 112px; height: 112px; top: -18px; right: -6px; }
  .seal .seal-core { width: 58px; height: 58px; }
  .seal .seal-core img { width: 30px; height: 30px; }
  .ticker-label span { display: none; }
  .archive-item { grid-template-columns: 1fr; gap: .25rem; }
  .post-nav { grid-template-columns: 1fr; }
  .member { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img, .page-hero.has-photo::before, .seal svg, .ticker-track { animation: none !important; }
  .ticker-view { overflow-x: auto; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
/* Kayarak gelen öğeler ve mühür yatay kaydırma oluşturmasın */
main { overflow-x: clip; }

/* ==========================================================================
   Üstad AI (yapay zekâ sohbet penceresi)
   ========================================================================== */
.to-top { bottom: 5.5rem; }
.ai { position: fixed; right: 1.25rem; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 120; font-family: var(--sans); }
.ai-fab { display: inline-flex; align-items: center; gap: .65rem; height: 56px; padding: 0 1.25rem 0 .5rem; border: 0; border-radius: 999px; cursor: pointer; color: #fff; font-weight: 600; font-size: var(--fs-sm); background: var(--grad-blue); box-shadow: 0 16px 34px -12px rgba(10, 79, 191, .75), 0 0 0 1px rgba(255,255,255,.12) inset; transition: transform .2s ease, box-shadow .2s ease; }
.ai-fab:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(12, 140, 217, .8), 0 0 0 1px rgba(255,255,255,.18) inset; }
.ai-fab-ic { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.ai-fab-ic img { width: 28px; height: 28px; border-radius: 9px 3px 9px 3px; }
.ai.open .ai-fab { opacity: 0; pointer-events: none; transform: scale(.9); }
.ai-panel { position: absolute; right: 0; bottom: 0; width: min(390px, calc(100vw - 2rem)); height: min(600px, calc(100vh - 7rem)); display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(8, 24, 48, .55), 0 0 0 1px rgba(8, 24, 48, .08); animation: aiIn .28s cubic-bezier(.2,.7,.2,1); }
@keyframes aiIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.ai-head { display: flex; align-items: center; gap: .8rem; padding: .95rem 1rem; color: #fff; background: radial-gradient(70% 140% at 100% 0%, rgba(12,140,217,.45), transparent 60%), linear-gradient(135deg, #0b1626, #0f2747); }
.ai-av { width: 42px; height: 42px; border-radius: 12px 4px 12px 4px; background: #fff; display: grid; place-items: center; flex: none; }
.ai-av img { width: 30px; height: 30px; }
.ai-head strong { display: block; font-family: var(--serif); font-size: 1.125rem; font-weight: 600; }
.ai-head small { display: inline-flex; align-items: center; gap: .4rem; color: #a8c4e0; font-size: var(--fs-xs); }
.ai-head small i { width: 7px; height: 7px; border-radius: 50%; background: #3fbf7f; box-shadow: 0 0 0 3px rgba(63,191,127,.2); }
.ai-x { margin-left: auto; width: 38px; height: 38px; border: 0; border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.ai-x:hover { background: rgba(255,255,255,.16); }
.ai-x svg { width: 18px; height: 18px; }
.ai-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; background: linear-gradient(180deg, #f6f9fc, #eef3f8); }
.ai-msg { max-width: 88%; padding: .7rem .9rem; border-radius: 12px; font-size: .9375rem; line-height: 1.55; overflow-wrap: anywhere; }
.ai-msg p { margin: 0 0 .5em; } .ai-msg p:last-child { margin: 0; }
.ai-msg ul { margin: .25rem 0 .5rem 1.1rem; padding: 0; } .ai-msg li { margin-bottom: .25rem; }
.ai-msg a { color: var(--blue-deep); font-weight: 600; }
.ai-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-top-left-radius: 4px; color: var(--text); }
.ai-msg.me { align-self: flex-end; background: var(--grad-blue); color: #fff; border-top-right-radius: 4px; }
.ai-msg.err { border-color: #f1c4bf; background: #fff7f6; }
.ai-msg.typing { display: inline-flex; gap: 5px; padding: .85rem 1rem; }
.ai-msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aaabb; animation: aiDot 1.2s infinite ease-in-out; }
.ai-msg.typing span:nth-child(2) { animation-delay: .15s; } .ai-msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes aiDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ai-chips { display: flex; flex-wrap: wrap; gap: .45rem; padding: .7rem 1rem 0; background: #eef3f8; }
.ai-chips button { border: 1px solid #c9d6e4; background: #fff; color: var(--ink); border-radius: 999px; padding: .4rem .8rem; font-size: var(--fs-xs); cursor: pointer; }
.ai-chips button:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.ai-form { display: flex; align-items: flex-end; gap: .5rem; padding: .75rem; border-top: 1px solid var(--line); background: #fff; }
.ai-form textarea { flex: 1; resize: none; border: 1px solid #c9d3de; border-radius: 10px; padding: .7rem .8rem; font: inherit; font-size: .9375rem; line-height: 1.4; max-height: 120px; }
.ai-form textarea:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(10,79,191,.15); }
.ai-form button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 10px; background: var(--grad-blue); color: #fff; cursor: pointer; display: grid; place-items: center; }
.ai-form button svg { width: 20px; height: 20px; }
.ai-note { margin: 0; padding: 0 .9rem .7rem; background: #fff; color: #8a95a3; font-size: .72rem; text-align: center; }
@media (max-width: 560px) {
  .ai-fab-t { display: none; }
  .ai-fab { padding: 0 .5rem; width: 56px; justify-content: center; }
  .ai-panel { position: fixed; inset: auto 0 0 0; width: 100%; height: min(88vh, 100%); border-radius: 16px 16px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .to-top { bottom: 5.25rem; }
}
@media print { .ai { display: none !important; } }
