/* Lexfortis — temel stiller. Bileşen görünümleri şablonlardaki satır içi stillerde (tasarım dosyasından birebir). */

html { scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: rgb(var(--accent-rgb) / .55) transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgb(var(--accent-rgb) / .45); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: rgb(var(--accent-rgb) / .8); }
@media (pointer: coarse) { ::-webkit-scrollbar { width: 0; height: 0; } html { scrollbar-width: none; scrollbar-gutter: auto; } }
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; }
input, textarea, select, button { font-family: var(--font-body); }
::selection { background: var(--accent); color: #fff; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* overflow-x: clip, içteki position: sticky öğeleri bozmaz (hidden bozar) */
.lf-root { background: var(--bg); font-family: var(--font-body); overflow-x: hidden; overflow-x: clip; }

.lf-skip { position: absolute; left: -9999px; top: 0; z-index: 10000; background: var(--surface); color: var(--ink); padding: 12px 18px; font-size: 14px; }
.lf-skip:focus { left: 16px; top: 16px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Üzerine gelince (tasarımdaki style-hover değerleri) ---------- */
.lf-h0:hover { opacity: .65 !important; }
.lf-h1:hover { background: var(--bg) !important; }
.lf-h2:hover { color: var(--accent) !important; }
.lf-h3:hover { color: var(--light) !important; border-color: var(--ink) !important; }
.lf-h4:hover { background: var(--ink) !important; color: var(--light) !important; }
.lf-h5:hover { color: var(--light) !important; }
.lf-h6:hover { color: #fff !important; }
.lf-h7:hover { transform: translateY(-8px) !important; box-shadow: 0 30px 56px -32px rgb(var(--ink-rgb) / .42) !important; }
.lf-h8:hover { box-shadow: 0 30px 60px -34px rgb(var(--ink-rgb) / .4) !important; }
.lf-h9:hover { transform: translateY(-6px) !important; box-shadow: 0 30px 56px -34px rgb(var(--ink-rgb) / .4) !important; }
.lf-h10:hover { background: var(--accent) !important; color: #FFFFFF !important; }
.lf-f11:focus, .lf-phone:focus-within { border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / .08) !important; }
.lf-h12:hover { background: var(--light) !important; color: var(--dark) !important; border-color: var(--light) !important; }
.lf-h13:hover { color: var(--light) !important; padding-left: 6px !important; }

/* JS butonu sürmüyorsa (animasyon kapalı / betik yok) dolgu yine görünsün, yazı okunur kalsın */
[data-btn]:not([data-btn-bound]):hover [data-btn-fill],
[data-btn]:not([data-btn-bound]):focus-visible [data-btn-fill] { transform: translateY(0) !important; transition: none !important; }
[data-tcard]:not([data-hover-bound]):hover [data-tcard-img] { filter: grayscale(0) !important; }
[data-acard]:not([data-hover-bound]):hover [data-acard-img] { filter: saturate(1) !important; }

/* ---------- Üst menü ---------- */
[data-nav] { top: 0; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.admin-bar [data-nav] { top: 32px; }
@media (max-width: 782px) { .admin-bar [data-nav] { top: 46px; } }
@media (max-width: 600px) { .admin-bar [data-nav] { top: 0; } }
@media (max-width: 1119.98px) {
	[data-navlinks] { display: none !important; }
	[data-burger] { display: flex !important; }
}
/* Betik yoksa açılır menü CSS ile açılır */
html:not(.lf-ready) [data-submenu-wrap]:hover [data-submenu],
html:not(.lf-ready) [data-submenu-wrap]:focus-within [data-submenu] { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: translate(-50%, 0) !important; }

/* ---------- Açılış animasyonu ve geçiş perdesi ---------- */
[data-loader] { display: none; }
.lf-loading { overflow: hidden; }
.lf-loading [data-loader] { display: block; }
.lf-loading [data-logo-slot],
.lf-loading [data-navlinks],
.lf-loading [data-burger] { opacity: 0; }
.lf-loading [data-nav] { background: transparent; box-shadow: none; z-index: 9100 !important; }
.lf-arrive [data-wipe] { transform: none !important; opacity: 1 !important; }
.lf-arrive [data-wipe-inner] { opacity: 1 !important; }
.lf-arrive [data-wipe-heading] { transform: none !important; }

/* Animasyon başlamadan önce içerik bir an görünüp kaybolmasın */
.lf-reveal [data-reveal]:not([data-revealed="1"]) { opacity: 0; }
.lf-words:not(.lf-ready) [data-words] { visibility: hidden; }

/* Animasyonlar kapalıysa ya da cihazda "hareketi azalt" seçiliyse */
.lf-still *, .lf-still *::before, .lf-still *::after { transition-duration: 0s !important; animation-duration: 0s !important; }

/* ---------- Kapak başlığı (Kurumsal): görsel tam genişlikte arkada, lacivert katman, yazı sol altta ---------- */
/* Katman sol altta koyu (krem yazı okunur), sağ üstte açık: fotoğraftaki konu görünür kalır */
.lf-cover__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; animation: lf-cover-in 1.8s cubic-bezier(.22, 1, .36, 1) both; }
.lf-cover__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
	linear-gradient(180deg, rgb(var(--dark-rgb) / .3) 0%, rgb(var(--dark-rgb) / .12) 30%, rgb(var(--dark-rgb) / .42) 60%, rgb(var(--dark-rgb) / .9) 100%),
	linear-gradient(90deg, rgb(var(--dark-rgb) / .62) 0%, rgb(var(--dark-rgb) / .22) 45%, rgb(var(--dark-rgb) / 0) 72%); }
.lf-cover nav, .lf-cover nav a { color: rgb(var(--light-rgb) / .78) !important; }
.lf-cover nav a:hover, .lf-cover nav [aria-current] { color: var(--light) !important; }
/* Dikey ve kareye yakın ekranlarda görsel üstte durur, alta doğru lacivert zemine karışır: yazı fotoğraftaki konunun üstüne binmez */
@media (max-aspect-ratio: 3/2) {
	.lf-cover__media { bottom: 32%; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
}
@keyframes lf-cover-in { from { transform: scale(1.07); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .lf-cover__media { animation: none; } }

/* ---------- Ana sayfa · çalışma alanları ----------
   Solda görsel, sağda başlık ve liste. Görselin yüksekliği sabittir (sağ sütunun tahmini boyu);
   satır açılıp kapanırken görsel zıplamaz. Telefonda sıra: başlık, görsel, liste. */
.lf-areas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.lf-areas__visual { height: clamp(500px, 48vw, 760px); }
.lf-areas__body { display: flex; flex-direction: column; gap: clamp(32px, 3.4vw, 52px); padding-top: clamp(0px, 1vw, 16px); }
@media (max-width: 899.98px) {
	.lf-areas { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.lf-areas__body { display: contents; }
	.lf-areas__head { order: 1; }
	.lf-areas__visual { order: 2; }
	.lf-areas__list { order: 3; }
}

/* ---------- Hizmetlerimiz: grup sekmeleri ve kartlar (archive-hizmet.php) ----------
   Betik sekmeleri kurana kadar yalnızca ilk grup görünür (sayfa zıplamaz). Kapı .lf-motion'a bağlıdır: betikler
   yüklenemezse inc/setup.php'deki güvenlik zamanlayıcısı bu sınıfı kaldırır ve gruplar alt alta görünür. */
.lf-svc__tabs { display: flex; gap: clamp(22px, 3.2vw, 56px); border-bottom: 1px solid var(--line); margin: 0 0 clamp(40px, 4.6vw, 72px); overflow-x: auto; scrollbar-width: none; }
.lf-svc__tabs::-webkit-scrollbar { display: none; }
.lf-svc__tab { position: relative; flex: none; padding: 0 0 18px; font-family: var(--font-head); font-size: clamp(18px, 1.65vw, 25px); line-height: 1.2; color: rgb(var(--ink-rgb) / .55); white-space: nowrap; transition: color .35s ease; }
.lf-svc__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.lf-svc__tab:hover, .lf-svc__tab.is-active { color: var(--ink); }
.lf-svc__tab.is-active::after { transform: scaleX(1); }
/* kaydırılabilir şeritte dış çerçeve kırpılmasın */
.lf-svc__tab:focus-visible { outline-offset: -2px; }
.lf-motion [data-svc-tabs]:not(.is-ready) [data-svc-panel]:not([data-svc-initial]) { display: none; }
[data-svc-tabs]:not(.is-ready) .lf-svc__panel + .lf-svc__panel { margin-top: clamp(64px, 7vw, 110px); }
.lf-svc__panel[hidden] { display: none !important; }
.lf-svc__panel:focus { outline: none; }
.lf-svc__head { display: block; }
.lf-svc__title { font-family: var(--font-head); font-weight: 400; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.08; color: var(--ink); margin: 0 0 18px; text-wrap: balance; }
.lf-svc__intro { font-size: 15.5px; line-height: 1.7; color: var(--ink2); margin: 0 0 clamp(24px, 2.6vw, 34px); max-width: 640px; }
/* Sekmeler kuruluyken grup adı sekmede zaten yazılı: başlık yalnızca ekran okuyucuya kalır, kısa açıklama sekme şeridinin hemen altında durur */
[data-svc-tabs].is-ready .lf-svc__title { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }
[data-svc-tabs].is-ready .lf-svc__tabs { margin-bottom: clamp(20px, 2.2vw, 28px); }
/* Açıklaması boş grupta kartlar sekmelere yapışmasın */
[data-svc-tabs].is-ready .lf-svc__head:not(:has(.lf-svc__intro)) { margin-bottom: clamp(20px, 2.4vw, 44px); }
.lf-svc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); }
.lf-svc__card { position: relative; display: flex; flex-direction: column; min-height: clamp(250px, 19vw, 300px); padding: clamp(24px, 2.2vw, 34px); background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: border-color .4s ease, box-shadow .4s ease; }
.lf-svc__card:hover { color: var(--ink); border-color: rgb(var(--accent-rgb) / .45); box-shadow: 0 28px 52px -38px rgb(var(--ink-rgb) / .38); }
.lf-svc__card--child { border-left: 2px solid rgb(var(--accent-rgb) / .55); }
.lf-svc__meta { display: block; margin-bottom: clamp(26px, 2.8vw, 42px); font-family: var(--font-head); font-size: 15px; letter-spacing: .08em; color: var(--accent); }
.lf-svc__meta--parent { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink2); }
.lf-svc__name { font-family: var(--font-head); font-weight: 400; font-size: clamp(22px, 1.75vw, 28px); line-height: 1.18; margin: 0 0 12px; text-wrap: balance; }
.lf-svc__text { display: block; font-size: 14.5px; line-height: 1.7; color: var(--ink2); margin-bottom: 24px; }
.lf-svc__more { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
.lf-svc__arrow { font-size: 15px; letter-spacing: 0; color: var(--ink); transition: transform .45s cubic-bezier(.22, 1, .36, 1), color .3s ease; }
.lf-svc__card:hover .lf-svc__arrow { transform: translateX(6px); color: var(--accent); }
@media (max-width: 1099.98px) { .lf-svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639.98px) {
	.lf-svc__grid { grid-template-columns: minmax(0, 1fr); }
	.lf-svc__card { min-height: 0; }
	.lf-svc__tabs { gap: 20px; }
	.lf-svc__tab { font-size: 16px; padding-bottom: 14px; }
}

/* Hizmet detayı: metnin altındaki alt başlıklar (ör. Kurumsal Hukuki Danışmanlık → Sözleşme İncelemesi) */
.lf-svc__children { margin-top: clamp(32px, 3.4vw, 48px); border-top: 1px solid var(--line); }
.lf-svc__children-label { padding: 18px 0 4px; font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink2); }
.lf-svc__children a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-size: clamp(20px, 1.6vw, 25px); line-height: 1.25; color: var(--ink); transition: color .3s ease; }

/* ---------- Kırılımlar (tasarımda JS ile yapılıyordu) ---------- */
@media (max-width: 899.98px) {
	/* Dokunmatikte hizmet satırları ilk dokunuşta açılır; açıklama her zaman görünür */
	[data-area-desc] { max-height: none !important; opacity: 1 !important; }
	[data-area-visual] { position: relative !important; top: auto !important; aspect-ratio: 16 / 10 !important; height: auto !important; }
	[data-principles-side] { position: relative !important; top: auto !important; }
	[data-principles-img] { aspect-ratio: 16 / 9 !important; max-width: none !important; }
	[data-principle-quote] { display: none !important; }
	/* Süreç: dikey çizelge. İşaretler solda alt alta, aralarını birer çizgi bağlar; yazı çizginin sağında */
	[data-steps] { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
	[data-steps-line], [data-steps-track], [data-steps-count] { display: none !important; }
	[data-steps-shade] { background: rgb(var(--deep-rgb) / .96) !important; }
	[data-step] { padding: 0 0 clamp(34px, 7vw, 48px) 46px !important; }
	[data-step]:last-child { padding-bottom: 0 !important; }
	[data-step]:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 29px; bottom: -7px; width: 1px; background: rgb(var(--accent-rgb) / .4); }
	[data-step-mark] { top: 7px !important; }
	[data-step-num] { font-size: 40px !important; margin-bottom: 10px !important; }
}

/* ---------- Yazı ve sayfa içeriği (blok düzenleyici) ---------- */
.lf-prose > * { margin: 0 0 26px; }
.lf-prose > :last-child { margin-bottom: 0; }
.lf-prose h2, .lf-prose h3, .lf-prose h4 { font-family: var(--font-head); font-weight: 400; color: var(--ink); line-height: 1.15; margin: 48px 0 18px; text-wrap: balance; }
.lf-prose h2 { font-size: clamp(26px, 2.4vw, 36px); }
.lf-prose h3 { font-size: clamp(22px, 2vw, 28px); }
.lf-prose h4 { font-size: 20px; }
.lf-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.lf-prose ul, .lf-prose ol { padding-left: 1.3em; }
.lf-prose li + li { margin-top: 8px; }
.lf-prose blockquote { margin-left: 0; margin-right: 0; border-left: 2px solid var(--accent); padding: 4px 0 4px 24px; font-family: var(--font-head); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.5; color: var(--ink); }
.lf-prose img, .lf-prose figure { max-width: 100%; height: auto; }
.lf-prose figure { margin-left: 0; margin-right: 0; }
.lf-prose figcaption { font-size: 13px; color: var(--ink2); margin-top: 8px; }
.lf-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lf-prose th, .lf-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }

/* ---------- Paragraf hizası: iki yana yaslı (body.lf-justify, inc/setup.php) ----------
   Sayfa içindeki paragraflar ve yayın listeleri iki yana yaslanır; son satır sola dayalı kalır. Sayfa ve yayın üst
   bölümlerindeki kısa giriş metinleri (slider, kapak, yayın başlığı altı) ile ortalanmış ya da sağa yaslı bloklardaki paragraflar ve editörde hizası elle seçilmiş paragraflar kendi hizasını korur.
   Dar ekranda kelime araları açılmasın diye uzun kelimeler hecelenir (html lang="tr"; en az 7 harfli kelime, iki
   yanda en az 3 harf). Türkçe heceleme sözlüğü olmayan tarayıcılarda (ör. Windows'ta Chrome) bölme yapılmaz; dar
   sütunda kelime araları açılabilir, bunun için "Telefonda sola yasla" seçeneği vardır. */
.lf-justify { --lf-align: justify; }
/* "Telefonda sola yasla" seçeneği: dar ekranda (600 px altı) paragraflar sola dayalı kalır */
@media (max-width: 599.98px) { .lf-justify--wide { --lf-align: start; } }
.lf-justify main p:not([class*="has-text-align-"]),
.lf-justify main .lf-prose li { text-align: var(--lf-align); text-justify: inter-word; }
.lf-justify main :is(.lf-ahero, .lf-cover, [data-hero], .lf-feat__head, .lf-feat__card, .lf-ahero--classic .lf-ahero__content, .wp-block-pullquote, .lf-blog__empty, [style*="text-align: center"], [style*="text-align:center"], [style*="text-align: right"], [style*="text-align:right"]) p { text-align: inherit; }
@media (max-width: 899.98px) {
	.lf-justify main p:not([class*="has-text-align-"]),
	.lf-justify main .lf-prose li { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3; }
}

/* Uzun okuma: ~68 karakterlik satır, 17–19 px gövde, 1.78 satır aralığı */
.lf-prose--post { font-size: clamp(17px, 15px + .55vw, 19px); color: rgb(var(--ink-rgb) / .86); }
.lf-prose--post > * { margin: 0 0 1.2em; }
.lf-prose--post p, .lf-prose--post li { font-size: inherit; line-height: 1.78; color: inherit; text-wrap: pretty; }
.lf-prose--post h2 { font-size: clamp(26px, 2.3vw, 34px); margin: 2.1em 0 .6em; }
.lf-prose--post h3 { font-size: clamp(21px, 1.7vw, 25px); margin: 1.8em 0 .5em; }
.lf-prose--post h2, .lf-prose--post h3 { scroll-margin-top: calc(var(--nav-h, 96px) + 28px); }
.lf-prose--post > :first-child { margin-top: 0; }
.lf-prose--post strong { color: var(--ink); font-weight: 600; }
.lf-prose--post a { text-decoration-thickness: 1px; text-underline-offset: .22em; }
.lf-prose--post a:hover { color: var(--ink); }
.lf-prose--post li::marker { color: var(--accent); }
.lf-prose--post ol > li::marker { font-weight: 600; }
.lf-prose--post li + li { margin-top: .45em; }
.lf-prose--post blockquote { margin: 2em 0; border-left-width: 3px; padding: 2px 0 2px 26px; font-size: clamp(21px, 1.8vw, 26px); }
.lf-prose--post blockquote p { line-height: 1.5; }
.lf-prose--post figure, .lf-prose--post .wp-block-image { margin: 2.2em 0; }
.lf-prose--post img { display: block; width: 100%; height: auto; }
.lf-prose--post figcaption { font-size: 13.5px; line-height: 1.6; }
.lf-prose--post .wp-block-table { overflow-x: auto; }
.lf-prose--post table { min-width: 520px; font-size: 15px; line-height: 1.6; }
.lf-prose--post th { background: var(--surface); color: var(--ink); font-weight: 600; }
.lf-prose--post hr { border: 0; height: 1px; background: var(--line); margin: 2.6em 0; }
.lf-prose--post code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; background: rgb(var(--ink-rgb) / .06); padding: .12em .36em; }

.lf-prose--service > * { margin-bottom: 22px; }
.lf-prose--service p, .lf-prose--service li { font-size: 15px; line-height: 1.85; color: var(--ink2); }
.lf-prose--service > p:first-child { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.8; color: var(--ink); }

/* ---------- Sayfalama ---------- */
.lf-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.lf-pagination .page-numbers { min-width: 48px; height: 48px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 14px; transition: background .3s ease, color .3s ease; }
.lf-pagination a.page-numbers:hover { background: var(--ink); color: var(--light); border-color: var(--ink); }
.lf-pagination .page-numbers.current { background: var(--ink); color: var(--light); border-color: var(--ink); }

/* ---------- Form ---------- */
[data-contact-form].is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

/* ---------- Adım akışı (template-parts/flow.php → .lf-flow, lexfortis.js → initFlow, ikonlar: inc/icons.php) ----------
   Ana sayfadaki "Çalışma şeklimiz" ve hizmet sayfalarındaki süreç bölümü aynı bileşeni kullanır.
   Varsayılan görünüm düz listedir: adımlar alt alta, bütün metinler görünür, ikonlar çizili (betik yok, animasyon kapalı,
   kısa ekran). Betik uygun ekranda .is-pinned ekler: bölüm ekrana sabitlenir, kaydırdıkça adımlar tek tek gelir.
   Solda (telefonda üstte) adım listesi derinlik etkisiyle durur: etkin adım en büyük ve net; okunmuş adımlar yakında
   (biraz küçük, net); sıradakiler uzakta (giderek küçülür, soluklaşır, hafif bulanıklaşır). Yanda yalnız etkin adım görünür. */
.lf-flow { --flow-bg: var(--bg); background: var(--flow-bg); padding: clamp(78px, 9vw, 150px) clamp(20px, 4vw, 76px); border-top: 1px solid var(--line); }
.lf-flow--surface { --flow-bg: var(--surface); }
.lf-flow--deep { --flow-bg: var(--deep); }
.lf-flow__inner { max-width: 1760px; margin: 0 auto; }
.lf-flow__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 96px); }
.lf-flow__h, .lf-pubs__h { font-family: var(--font-head); font-weight: 400; font-size: clamp(32px, 3.4vw, 54px); line-height: 1.06; color: var(--ink); margin: 0; text-wrap: balance; }
.lf-flow__intro, .lf-pubs__intro { font-size: 15.5px; line-height: 1.8; color: var(--ink2); max-width: 560px; margin: 20px 0 0; }
.lf-flow__steps, .lf-flow__nav, .lf-flow__points { list-style: none; margin: 0; padding: 0; }

/* Düz liste: solda ikon ve numara, sağda metin */
.lf-flow__rail { display: none; }
.lf-flow__step { display: grid; grid-template-columns: clamp(64px, 8vw, 132px) minmax(0, 1fr); gap: clamp(18px, 3vw, 56px); padding: clamp(28px, 3.2vw, 48px) 0; border-top: 1px solid var(--line); }
.lf-flow__step:last-child { border-bottom: 1px solid var(--line); }
.lf-flow__visual { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.lf-flow__icon { display: block; width: clamp(52px, 5vw, 76px); color: var(--accent); }
.lf-ico { display: block; width: 100%; height: auto; overflow: visible; }
.lf-flow__num { font-family: var(--font-head); font-size: clamp(22px, 1.9vw, 30px); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.lf-flow__of { margin-left: 3px; font-size: .52em; color: var(--ink2); }
.lf-flow__body { max-width: 820px; }
.lf-flow__title { font-family: var(--font-head); font-weight: 400; font-size: clamp(24px, 2.2vw, 36px); line-height: 1.14; color: var(--ink); margin: 0; text-wrap: balance; }
.lf-flow__bar { display: block; width: 56px; height: 2px; margin: 18px 0 22px; background: var(--accent); }
.lf-flow__text { font-size: clamp(15.5px, 1.15vw, 17.5px); line-height: 1.8; color: var(--ink2); margin: 0 0 22px; max-width: 680px; }
.lf-flow__points { display: grid; gap: 10px; }
.lf-flow__points li { position: relative; padding-left: 32px; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.lf-flow__tick { position: absolute; left: 0; top: .8em; width: 18px; height: 1px; background: var(--accent); }

/* Sabitlenmiş görünüm (masaüstü): solda adım listesi, sağda etkin adım */
.lf-flow.is-pinned .lf-flow__stage { height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 120px); align-items: center; padding: calc(var(--nav-h, 96px) + 20px) 0 clamp(24px, 5vh, 56px); background: var(--flow-bg); }
.lf-flow.is-pinned .lf-flow__rail { display: block; position: relative; }
.lf-flow__nav { position: relative; display: flex; flex-direction: column; gap: clamp(4px, 1.2vh, 14px); }
.lf-flow__go { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 20px; width: 100%; margin: 0; padding: 6px 0; border: 0; background: none; text-align: left; color: var(--ink); font: inherit; cursor: pointer; transform-origin: 22px 50%; will-change: transform, opacity, filter; }
.lf-flow__dot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--flow-bg); font-family: var(--font-head); font-size: 17px; line-height: 1; color: var(--ink2); font-variant-numeric: tabular-nums; transition: background-color .45s ease, border-color .45s ease, color .45s ease, box-shadow .6s cubic-bezier(.22, 1, .36, 1); }
.lf-flow__go.is-done .lf-flow__dot { border-color: rgb(var(--accent-rgb) / .55); color: var(--accent); }
.lf-flow__go.is-active .lf-flow__dot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 6px rgb(var(--accent-rgb) / .12); }
.lf-flow__go-title { font-family: var(--font-head); font-size: clamp(24px, 2.1vw, 34px); line-height: 1.15; text-wrap: balance; }
.lf-flow__go:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
/* İlerleme çizgisi numaraların arasından geçer; betik yerini ölçer, dolguyu kaydırmaya göre büyütür (--p: 0…1) */
.lf-flow__track { position: absolute; left: 21.5px; top: 28px; bottom: 28px; width: 1px; background: var(--line); pointer-events: none; }
.lf-flow__fill { position: absolute; inset: 0; background: var(--accent); transform: scaleY(var(--p, 0)); transform-origin: 50% 0; }
.lf-flow.is-pinned .lf-flow__steps { display: grid; align-self: center; }
.lf-flow.is-pinned .lf-flow__step { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vh, 36px); padding: 0; border: 0; }
.lf-flow.is-pinned .lf-flow__step:not(.is-active) { visibility: hidden; opacity: 0; }
.lf-flow.is-pinned .lf-flow__visual { flex-direction: row; align-items: flex-end; gap: clamp(18px, 2vw, 32px); }
.lf-flow.is-pinned .lf-flow__icon { width: clamp(76px, 7vw, 120px); }
.lf-flow.is-pinned .lf-flow__icon .lf-ico { stroke-width: 1.15; }
.lf-flow.is-pinned .lf-flow__num { font-size: clamp(30px, 2.6vw, 44px); }
.lf-flow.is-pinned .lf-flow__title { font-size: clamp(30px, 3vw, 50px); line-height: 1.08; }
.lf-flow.is-pinned .lf-flow__text { font-size: clamp(15.5px, 1.2vw, 18.5px); }
.lf-flow.is-pinned .lf-flow__points { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px clamp(20px, 2.4vw, 40px); }

/* Sabitlenmiş görünüm (telefon, tablet): üstte yatay adım şeridi (geçilenler solda, sıradakiler sağda), altta etkin adım */
@media (max-width: 899.98px) {
	.lf-flow__head { margin-bottom: 40px; }
	.lf-flow__step { grid-template-columns: 52px minmax(0, 1fr); gap: 18px; }
	.lf-flow__icon { width: 48px; }
	.lf-flow__num { font-size: 22px; }
	.lf-flow__bar { margin: 14px 0 16px; }
	.lf-flow.is-pinned .lf-flow__stage { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: clamp(18px, 3.5vh, 32px); padding: calc(var(--nav-h, 80px) + 12px) 0 20px; }
	/* Etkin adım şeridin altında kalan alanın ortasında durur */
	.lf-flow.is-pinned .lf-flow__steps { flex: 1 1 auto; align-self: stretch; align-content: center; }
	/* Şerit ekran kenarına kadar uzanır; overflow: clip odaklanınca kendi kendine kaymasın diye */
	.lf-flow.is-pinned .lf-flow__rail { flex: none; margin: 0 calc(-1 * clamp(20px, 4vw, 76px)); padding: 4px 0 14px; overflow: hidden; overflow: clip; }
	.lf-flow__nav { flex-direction: row; align-items: center; gap: 22px; width: max-content; }
	.lf-flow__go { grid-template-columns: 32px auto; gap: 10px; width: auto; padding: 4px 0; white-space: nowrap; transform-origin: 50% 50%; }
	.lf-flow__dot { width: 32px; height: 32px; font-size: 14px; }
	.lf-flow__go.is-active .lf-flow__dot { box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .12); }
	.lf-flow__go-title { font-size: 17px; }
	.lf-flow__track { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 1px; }
	.lf-flow__fill { transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
	.lf-flow.is-pinned .lf-flow__step { gap: 16px; }
	.lf-flow.is-pinned .lf-flow__visual { gap: 16px; }
	.lf-flow.is-pinned .lf-flow__icon { width: 60px; }
	.lf-flow.is-pinned .lf-flow__icon .lf-ico { stroke-width: 1.35; }
	.lf-flow.is-pinned .lf-flow__num { font-size: 26px; }
	.lf-flow.is-pinned .lf-flow__title { font-size: clamp(25px, 6.4vw, 34px); }
	.lf-flow.is-pinned .lf-flow__bar { margin: 12px 0 14px; }
	.lf-flow.is-pinned .lf-flow__text { font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
	.lf-flow.is-pinned .lf-flow__points { gap: 8px; }
	.lf-flow.is-pinned .lf-flow__points li { font-size: 14px; line-height: 1.55; }
}

/* ---------- Kurumsal · Yaklaşımımız (page-kurumsal.php → .lf-appr) ----------
   Büronun işi üstlendiği biçimler. Geniş ekranda başlık solda yapışkan durur, satırlar sağda akar; her satırda numara,
   başlık, açıklama ve "Kapsam" satırı. Üzerine gelinince üst çizgi soldan sağa vurgu rengine döner, numara öne çıkar. */
.lf-appr__grid { max-width: 1760px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); }
.lf-appr__intro { font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.8; color: var(--ink2); margin: 24px 0 0; max-width: 520px; }
.lf-appr__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.lf-appr__item { position: relative; display: grid; grid-template-columns: clamp(52px, 5vw, 88px) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 40px); padding: clamp(28px, 3vw, 44px) 0; border-top: 1px solid var(--line); }
.lf-appr__item::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.lf-appr__num { font-family: var(--font-head); font-size: clamp(40px, 4vw, 68px); line-height: .9; color: rgb(var(--accent-rgb) / .38); font-variant-numeric: tabular-nums; transition: color .5s ease, transform .7s cubic-bezier(.22, 1, .36, 1); }
.lf-appr__body { display: grid; gap: 12px; max-width: 760px; }
.lf-appr__title { font-family: var(--font-head); font-weight: 400; font-size: clamp(24px, 2.1vw, 34px); line-height: 1.15; color: var(--ink); margin: 0; }
.lf-appr__text { font-size: 15.5px; line-height: 1.8; color: var(--ink2); margin: 0; }
.lf-appr__out { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 6px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.lf-appr__out span { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
@media (min-width: 900px) {
	.lf-appr__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 128px); align-items: start; }
	.lf-appr__head { position: sticky; top: 120px; }
}
@media (hover: hover) {
	.lf-appr__item:hover::before { transform: scaleX(1); }
	.lf-appr__item:hover .lf-appr__num { color: var(--accent); transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
	.lf-appr__item::before, .lf-appr__num { transition: none; }
}

/* ---------- Kurumsal · Çalışma ilkeleri (page-kurumsal.php → .lf-prin) ----------
   Düz görünümde liste ve yapışkan yan sütundur. Betik bölümü sabitleyince (.is-pinned) her kaydırma adımı bir ilkeyi
   açar: etkin ilkenin metni görünür, diğerleri yalnız başlık olarak kalır; soldaki çizgi ilerlemeyi gösterir.
   .is-measuring yalnız sığma ölçümü sırasında eklenir (bütün metinler kapalı). */
.lf-prin__bar { display: none; }
.lf-prin.is-pinned { padding: 0 !important; }
.lf-prin.is-pinned .lf-prin__stage { height: 100vh; height: 100svh; align-items: center !important; padding-top: calc(var(--nav-h, 96px) + 20px) !important; padding-bottom: clamp(24px, 5vh, 56px) !important; }
.lf-prin.is-pinned .lf-prin__side { position: relative !important; top: auto !important; }
.lf-prin.is-pinned .lf-prin__side p { margin: 20px 0 clamp(20px, 3.4vh, 32px) !important; }
.lf-prin.is-pinned .lf-prin__img { aspect-ratio: auto !important; height: clamp(170px, 32vh, 380px); }
.lf-prin.is-pinned .lf-prin__list { position: relative; padding-left: clamp(18px, 1.6vw, 28px); }
.lf-prin.is-pinned .lf-prin__bar { display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.lf-prin__fill { position: absolute; inset: 0; background: var(--accent); transform: scaleY(var(--p, 0)); transform-origin: 50% 0; }
.lf-prin.is-pinned .lf-prin__row { padding: clamp(12px, 2.1vh, 24px) 0 !important; cursor: pointer !important; }
.lf-prin.is-pinned .lf-prin__row:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.lf-prin.is-pinned .lf-prin__row > span:first-child { transition: color .4s ease, opacity .4s ease; }
.lf-prin.is-pinned .lf-prin__row:not(.is-active) > span:first-child { opacity: .45; }
.lf-prin.is-pinned [data-principle-h] { margin-bottom: 0 !important; font-size: clamp(22px, 1.9vw, 31px) !important; }
.lf-prin.is-pinned .lf-prin__text { overflow: hidden; padding-top: 10px; font-size: clamp(15px, 1.1vw, 17px) !important; }
.lf-prin.is-measuring .lf-prin__text { height: 0 !important; }
@media (max-width: 899.98px) {
	.lf-prin.is-pinned .lf-prin__stage { display: flex !important; flex-direction: column; align-items: stretch !important; justify-content: center; gap: clamp(16px, 3vh, 28px) !important; padding-top: calc(var(--nav-h, 80px) + 12px) !important; padding-bottom: 20px !important; }
	.lf-prin.is-pinned .lf-prin__img { display: none; }
	.lf-prin.is-pinned .lf-prin__side h2 { font-size: clamp(28px, 7.4vw, 38px) !important; }
	.lf-prin.is-pinned .lf-prin__side p { margin: 12px 0 0 !important; font-size: 15px !important; }
	.lf-prin.is-pinned [data-principle-h] { font-size: clamp(19px, 5.2vw, 24px) !important; }
	.lf-prin.is-pinned .lf-prin__row { grid-template-columns: 34px minmax(0, 1fr) !important; gap: 14px !important; padding: clamp(10px, 1.7vh, 16px) 0 !important; }
	.lf-prin.is-pinned .lf-prin__row > span:first-child { font-size: 22px !important; }
	.lf-prin.is-pinned .lf-prin__text { font-size: 14.5px !important; line-height: 1.65 !important; padding-top: 8px; }
}

/* ---------- Ana sayfa · Yayınlarımız (front-page.php → .lf-pubs) ----------
   Son üç yayın. Yayın sayfalarındaki kartla (template-parts/post-card.php) aynı dil; blog.css ana sayfada yüklenmediği
   için kendi sınıfları var. Kartın tamamı tıklanır: başlık bağlantısı kartı kaplar. */
.lf-pubs { background: var(--surface); padding: clamp(78px, 9vw, 150px) clamp(20px, 4vw, 76px); border-top: 1px solid var(--line); }
.lf-pubs__inner { max-width: 1760px; margin: 0 auto; }
.lf-pubs__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 28px 48px; margin-bottom: clamp(40px, 4.6vw, 72px); }
.lf-pubs__lead { max-width: 760px; }
.lf-pubs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 30px); }
.lf-pubs__item { display: flex; min-width: 0; }
.lf-pubs__card { position: relative; flex: 1; display: flex; flex-direction: column; min-width: 0; background: var(--bg); border: 1px solid var(--line); transition: border-color .4s ease, box-shadow .4s ease; }
.lf-pubs__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--deep); }
.lf-pubs__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.lf-pubs__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2vw, 30px); }
.lf-pubs__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
.lf-pubs__cat { color: var(--accent); }
.lf-pubs__sep { color: rgb(var(--ink-rgb) / .35); }
.lf-pubs__title { font-family: var(--font-head); font-weight: 400; font-size: clamp(21px, 1.55vw, 26px); line-height: 1.24; color: var(--ink); margin: 0; text-wrap: balance; transition: color .25s ease; }
.lf-pubs__link, .lf-pubs__link:hover { color: inherit; }
.lf-pubs__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lf-pubs__link:focus-visible { outline: none; }
.lf-pubs__link:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 3px; }
.lf-pubs__excerpt { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lf-pubs__read { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.lf-pubs__arrow { font-size: 15px; letter-spacing: 0; color: var(--accent); transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.lf-pubs__card:focus-within .lf-pubs__title { color: var(--accent); }
@media (hover: hover) {
	.lf-pubs__card:hover { border-color: rgb(var(--accent-rgb) / .45); box-shadow: 0 28px 52px -38px rgb(var(--ink-rgb) / .38); }
	.lf-pubs__card:hover .lf-pubs__img { transform: scale(1.04); }
	.lf-pubs__card:hover .lf-pubs__title { color: var(--accent); }
	.lf-pubs__card:hover .lf-pubs__arrow { transform: translateX(6px); }
}
/* Telefon ve tablet: kartlar alt alta; tablette görsel solda, yazı sağda */
@media (max-width: 899.98px) {
	.lf-pubs__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 600px) and (max-width: 899.98px) {
	.lf-pubs__card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
	.lf-pubs__media { aspect-ratio: auto; min-height: 220px; }
}

/* ---------- Meslek kuralları bloğu (template-parts/features.php → .lf-feat, lexfortis.js → initFeatures, ikonlar: inc/icons.php) ----------
   Ortalı başlık, tek cümlelik giriş, kısa vurgu çizgisi; altında ince çizgilerle ayrılmış sütunlar (ikon, başlık, metin).
   Geniş ekranda sütunlar yan yana (--n: sütun sayısı), dar ekranda alt alta. Sunucu çıktısı tamamen çizilidir; betik
   animasyon açıkken çizgiyi ortadan uzatır, sütunları sırayla getirir ve ikonları çizer. */
.lf-feat { --feat-bg: var(--surface); --feat-lift: var(--bg); background: var(--feat-bg); padding: clamp(78px, 9vw, 150px) clamp(20px, 4vw, 76px); border-top: 1px solid var(--line); }
.lf-feat--bg { --feat-bg: var(--bg); --feat-lift: var(--surface); }
.lf-feat__inner { max-width: 1760px; margin: 0 auto; }
.lf-feat__head { max-width: 820px; margin: 0 auto clamp(48px, 6vw, 92px); text-align: center; }
.lf-feat__head > div:first-child { justify-content: center; }
.lf-feat__h { font-family: var(--font-head); font-weight: 400; font-size: clamp(32px, 3.4vw, 54px); line-height: 1.06; color: var(--ink); margin: 0; text-wrap: balance; }
.lf-feat__intro { font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.8; color: var(--ink2); max-width: 600px; margin: 20px auto 0; text-wrap: pretty; }
.lf-feat__rule { display: block; width: 64px; height: 2px; margin: clamp(26px, 2.6vw, 36px) auto 0; background: var(--accent); transform-origin: 50% 50%; }
.lf-feat__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.lf-feat__item { display: flex; min-width: 0; }
.lf-feat__item + .lf-feat__item { border-top: 1px solid var(--line); }
.lf-feat__card { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; padding: clamp(34px, 4vw, 52px) clamp(8px, 3vw, 40px); transition: transform .6s cubic-bezier(.22, 1, .36, 1), background-color .45s ease, box-shadow .6s cubic-bezier(.22, 1, .36, 1); }
.lf-feat__icon { display: block; width: clamp(56px, 4.6vw, 74px); margin-bottom: clamp(22px, 2vw, 30px); color: var(--accent); }
.lf-feat__icon .lf-ico { stroke-width: 1.3; }
.lf-feat__title { font-family: var(--font-head); font-weight: 400; font-size: clamp(24px, 2vw, 32px); line-height: 1.15; color: var(--ink); margin: 0; text-wrap: balance; }
.lf-feat__text { font-size: clamp(15px, 1.1vw, 16.5px); line-height: 1.75; color: var(--ink2); max-width: 360px; margin: 14px 0 0; text-wrap: pretty; }
@media (min-width: 900px) {
	.lf-feat__list { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
	.lf-feat__item + .lf-feat__item { border-top: 0; border-left: 1px solid var(--line); }
	.lf-feat__card { padding: clamp(24px, 2.4vw, 40px) clamp(24px, 3vw, 56px) clamp(32px, 3vw, 48px); }
}
@media (hover: hover) {
	.lf-feat__item:hover .lf-feat__card { transform: translateY(-8px); background-color: var(--feat-lift); box-shadow: 0 30px 56px -40px rgb(var(--ink-rgb) / .4); }
}
@media (prefers-reduced-motion: reduce) {
	.lf-flow__dot, .lf-pubs__img, .lf-pubs__arrow, .lf-feat__card { transition: none; }
	.lf-pubs__card:hover .lf-pubs__img, .lf-feat__item:hover .lf-feat__card { transform: none; }
}
