/*
Theme Name: Yener Hukuk
Theme URI: https://www.duyguyener-fehmiturkes.av.tr/
Description: Yener Hukuk Bürosu için kurumsal, modern ve zarif; mobil öncelikli, uygulama gibi çalışan tema.
Version: 3.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: yener-hukuk
License: GPL-2.0-or-later
*/

/* ---------- Tasarım değişkenleri ---------- */
:root {
	--bg: #ffffff;
	--bg-soft: #f6f4ef;
	--bg-soft-2: #efebe3;
	--navy: #0e2238;
	--navy-2: #1a3657;
	--navy-3: #284b73;
	--ink: #17202b;
	--ink-2: #4d5866;
	--ink-3: #7c8694;
	--line: #e5e0d6;
	--line-2: #d6cfc1;
	--gold: #a8834a;
	--gold-2: #c4a26b;
	--gold-soft: #f4ede1;
	--call: #1d7a4c;
	--radius: 4px;
	--radius-lg: 8px;
	--shadow-sm: 0 1px 2px rgba(14, 34, 56, .06);
	--shadow: 0 2px 6px rgba(14, 34, 56, .05), 0 18px 40px -18px rgba(14, 34, 56, .22);
	--serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--appbar-h: 64px;
	--safe-b: env(safe-area-inset-bottom, 0px);
	--header-h: 68px;
	color-scheme: light;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: calc(var(--header-h) + 60px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.7 var(--sans);
	-webkit-font-smoothing: antialiased;
	padding-bottom: calc(var(--appbar-h) + var(--safe-b));
	/* Yatay taşma html'de "clip" ile engellenir; body'ye overflow verilmez (yapışkan başlığı bozar). */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-underline-offset: 3px; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
address { font-style: normal; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--bg); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }
.center { text-align: center; }
h1, h2, h3 { text-wrap: balance; }

/* ---------- Üst bilgi şeridi (masaüstü) ---------- */
.topbar { display: none; background: var(--navy); color: rgba(255, 255, 255, .75); font-size: .8rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 20px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 14px; height: 14px; color: var(--gold-2); }
.topbar-right { gap: 22px !important; }

/* ---------- Üst bölüm ---------- */
.site-header {
	position: sticky; top: 0; z-index: 40;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--line);
	padding-top: env(safe-area-inset-top, 0px);
}
/* Not: backdrop-filter üst bölüme konmaz; mobil menü panelinin (position: fixed) konumunu bozar. */
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); min-width: 0; margin-right: auto; }
.brand-mark {
	width: 42px; height: 42px; flex: none; display: grid; place-items: center;
	color: var(--gold-2); background: var(--navy); border-radius: 2px;
}
.brand-mark svg { width: 27px; height: 27px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: .01em; }
.brand-text small { color: var(--ink-3); font-size: .7rem; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-cta { display: none; }

/* Mobilde menü alttan açılan panel */
.primary-nav {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
	background: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -12px 40px rgba(14, 34, 56, .2);
	padding: 12px 14px calc(var(--appbar-h) + var(--safe-b) + 12px);
	transform: translateY(105%);
	transition: transform .3s cubic-bezier(.2, .8, .2, 1);
	max-height: 85vh; overflow-y: auto;
}
.primary-nav::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 0 auto 10px; }
body.menu-open .primary-nav { transform: none; }
body.menu-open .site-header { z-index: 65; }
body.menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(14, 34, 56, .45); z-index: 50; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a {
	display: flex; align-items: center; min-height: 54px; padding: 0 14px;
	color: var(--ink); text-decoration: none; font-size: 1.02rem; font-weight: 500;
	border-bottom: 1px solid var(--line);
}
.primary-nav .menu li:last-child a { border-bottom: 0; }
.primary-nav .current-menu-item > a { color: var(--navy); font-weight: 600; box-shadow: inset 3px 0 0 var(--gold); }

/* ---------- Alt uygulama çubuğu (mobil) ---------- */
.app-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
	display: grid; grid-template-columns: repeat(4, 1fr);
	height: calc(var(--appbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
	background: #fff; border-top: 1px solid var(--line);
	box-shadow: 0 -6px 24px rgba(14, 34, 56, .08);
}
.app-bar a, .app-bar button {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	color: var(--ink-3); text-decoration: none; font: 600 .68rem/1 var(--sans);
	background: none; border: 0; cursor: pointer; padding: 0;
}
.app-bar .icon { width: 22px; height: 22px; }
.app-bar .is-active { color: var(--navy); }
.app-bar .app-bar-call { color: var(--call); }

/* ---------- Butonlar ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 26px; border-radius: var(--radius);
	font: 600 .88rem/1 var(--sans); letter-spacing: .04em; text-decoration: none; border: 1px solid transparent; cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #95733e; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-call, .btn-route { justify-content: flex-start; min-height: 64px; padding: 10px 20px; gap: 14px; letter-spacing: 0; }
.btn-call .icon, .btn-route .icon { width: 24px; height: 24px; }
.btn-call span, .btn-route span { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.btn-call small, .btn-route small { font-size: .72rem; font-weight: 500; opacity: .8; }
.btn-call strong, .btn-route strong { font-size: 1.05rem; }
.btn-call { background: var(--call); color: #fff; }
.btn-call:hover { background: #17643e; }
.btn-route { background: var(--gold); color: #fff; }
.btn-route:hover { background: #95733e; }

.chip {
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	min-height: 38px; padding: 0 14px; border-radius: 999px;
	background: #fff; color: var(--ink); border: 1px solid var(--line-2);
	font: 500 .82rem/1 var(--sans); text-decoration: none; cursor: pointer;
	transition: border-color .2s, color .2s, background .2s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip .icon { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Başlık ortak ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 12px; margin: 0;
	color: var(--gold); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow a { color: inherit; text-decoration: none; }
.section-title { margin: 10px 0 0; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 6vw, 3.1rem); line-height: 1.08; color: var(--navy); letter-spacing: -.005em; }
.section-title em, .page-title em { font-style: italic; font-weight: 500; color: var(--gold); }
.section-lead { margin: 14px 0 0; color: var(--ink-2); max-width: 62ch; }
.section { padding: 64px 0; }
.section-head { margin-bottom: 32px; }

/* ---------- Slayt ---------- */
.hero { position: relative; isolation: isolate; background: var(--navy); }
.slides { position: relative; height: min(82svh, 660px); min-height: 520px; overflow: hidden; touch-action: pan-y; }
.slide {
	position: absolute; inset: 0; display: flex; align-items: flex-end;
	opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; }
.slide-media {
	position: absolute; inset: 0; z-index: -1;
	background: var(--img-m) center / cover no-repeat;
	transform: scale(1.08); transition: transform 8s ease-out;
}
.slide.is-active .slide-media { transform: scale(1); }
.slide::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(14, 34, 56, .25) 0%, rgba(14, 34, 56, .45) 40%, rgba(14, 34, 56, .92) 100%);
}
.slide-body { color: #fff; padding-bottom: 88px; }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--gold-2); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.slide-title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 9vw, 4.4rem); line-height: 1.04; max-width: 16ch; }
.slide-text { margin: 16px 0 26px; color: rgba(255, 255, 255, .85); font-size: clamp(.98rem, 2.4vw, 1.12rem); max-width: 50ch; }
.slide-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.slide.is-active .kicker, .slide.is-active .slide-title, .slide.is-active .slide-text, .slide.is-active .slide-cta { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.slide.is-active .slide-title { animation-delay: .1s; }
.slide.is-active .slide-text { animation-delay: .2s; }
.slide.is-active .slide-cta { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.slider-ui { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.slider-dots { display: flex; gap: 6px; }
.dot { width: 46px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.dot span { display: block; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.dot span::after { content: ""; position: absolute; inset: 0; background: var(--gold-2); transform: scaleX(0); transform-origin: left; }
.dot.is-active span::after { animation: progress var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .dot.is-active span::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.slider-arrows { display: none; gap: 8px; }
.arrow {
	width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; border-radius: 50%;
	color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .45);
	transition: background .2s, color .2s;
}
.arrow:hover { background: #fff; color: var(--navy); }

/* ---------- Güven şeridi ---------- */
.trust { background: var(--bg); position: relative; z-index: 2; }
.trust-strip {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: 1fr 1fr;
	border-bottom: 1px solid var(--line);
}
.trust-strip li { padding: 22px 14px 22px 0; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); }
.trust-strip li:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.trust-strip li:nth-child(even) { padding-left: 16px; }
.trust-strip strong { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--navy); font-weight: 600; }
.trust-strip span { color: var(--ink-2); font-size: .82rem; line-height: 1.45; }

/* ---------- Faaliyet alanları ---------- */
.areas-home { background: var(--bg-soft); }
.area-grid { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 639px) {
	/* Telefonda iki sütun, kısa kart: ikon + başlık */
	.area-card { padding: 18px 14px; gap: 10px; }
	.area-icon-wrap { width: 44px; height: 44px; }
	.area-icon { width: 22px; height: 22px; }
	.area-num { font-size: 1.15rem; }
	.area-title { font-size: 1.16rem; }
	.area-grid .area-summary, .area-grid .area-more { display: none; }
}
.trust-strip strong, .area-num, .section-title, .slide-title, .footer-block address, .entry-content h2, .tax-card h2 { font-variant-numeric: lining-nums; }
.area-card {
	position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%;
	padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none; color: var(--ink);
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.area-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.area-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.area-card:hover::before { transform: scaleX(1); }
.area-top { display: flex; align-items: flex-start; justify-content: space-between; }
.area-icon-wrap {
	width: 52px; height: 52px; display: grid; place-items: center; flex: none;
	color: var(--navy); background: var(--gold-soft); border-radius: 50%;
	transition: background .3s, color .3s;
}
.area-card:hover .area-icon-wrap { background: var(--navy); color: var(--gold-2); }
.area-icon { width: 25px; height: 25px; }
.area-num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.5rem; line-height: 1; color: var(--line-2); }
.area-title { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.15; color: var(--navy); }
.area-summary { color: var(--ink-2); font-size: .9rem; line-height: 1.6; }
.area-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.area-more .icon { width: 16px; height: 16px; transition: transform .25s; }
.area-card:hover .area-more .icon, .person:hover .area-more .icon { transform: translateX(4px); }

/* ---------- Hakkımızda ---------- */
.about-grid { display: grid; gap: 36px; align-items: center; }
.about-media { position: relative; margin: 0 14px 14px 0; }
.about-media::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold-2); z-index: -1; }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.about-media figcaption {
	position: absolute; left: 0; bottom: 0; background: var(--navy); color: #fff; padding: 14px 18px;
	display: flex; flex-direction: column; line-height: 1.3;
}
.about-media figcaption strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.about-media figcaption span { color: var(--gold-2); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.about-text .entry-content { margin-top: 18px; }
.about-text .entry-content a { color: var(--gold); text-decoration: none; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }

/* ---------- Ekip ---------- */
.team-home { background: var(--bg-soft); }
.team-grid { display: grid; gap: 14px; }
.person {
	display: flex; gap: 18px; align-items: flex-start; padding: 26px 22px; background: #fff;
	border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
	transition: box-shadow .3s, transform .3s;
}
.person:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.person-avatar {
	width: 68px; height: 68px; flex: none; display: grid; place-items: center; border-radius: 50%;
	font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--gold-2); background: var(--navy);
	box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--gold-2);
}
.person-body { display: flex; flex-direction: column; gap: 6px; }
.person strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--navy); line-height: 1.15; }
.person small { color: var(--ink-2); font-size: .88rem; line-height: 1.6; }

/* ---------- Kısayollar ---------- */
.quick-home { padding-top: 48px; }
.quick-grid { display: grid; gap: 12px; }
.quick {
	position: relative; display: flex; flex-direction: column; gap: 2px; padding: 22px 56px 22px 22px;
	border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff;
	transition: border-color .25s, background .25s;
}
.quick:hover { border-color: var(--navy); }
.quick small { color: var(--ink-3); font-size: .78rem; letter-spacing: .04em; }
.quick strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--navy); }
.quick .icon { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--gold); }

/* ---------- İç sayfalar ---------- */
.page-hero {
	position: relative; overflow: hidden; isolation: isolate; color: #fff;
	padding: 52px 0 40px; background: var(--navy);
}
.page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background: url("assets/img/slide-columns-m.webp") center 30% / cover no-repeat;
	opacity: .22; filter: grayscale(1);
}
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy) 20%, rgba(14, 34, 56, .6)); }
.page-hero .eyebrow { color: var(--gold-2); }
.page-hero .eyebrow a { color: rgba(255, 255, 255, .7); }
.page-hero .eyebrow a:hover { color: #fff; }
.page-title { margin: 12px 0 0; font-family: var(--serif); font-weight: 600; font-size: clamp(2.3rem, 8vw, 3.8rem); line-height: 1.04; }
.page-title em { color: var(--gold-2); }
.page-lead { margin: 12px 0 0; color: rgba(255, 255, 255, .8); font-size: 1.02rem; }
.page-article { padding-top: 40px; padding-bottom: 20px; }
.entry-content { font-size: 1.02rem; color: var(--ink-2); max-width: 76ch; }
.entry-content h2, .entry-content h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.2; margin: 1.6em 0 .5em; }
.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.35rem; }
.entry-content p { margin: 0 0 1.1em; }
.entry-content strong { color: var(--ink); }
.entry-content ul { padding-left: 1.2em; }
.entry-content table { border-collapse: collapse; width: 100%; }

/* İçerikteki kart sınıfları (Ekibimiz, Vekalet, Bağlantılar) */
.team-card, .tax-card, .link-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 26px 24px; margin: 0 0 16px; box-shadow: var(--shadow-sm);
}
.team-card { border-top: 3px solid var(--gold); }
.team-card h2, .tax-card h2 { margin-top: 0 !important; }
.team-card .role { color: var(--gold); font-weight: 600; margin-top: -8px; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.cert-list { list-style: none; padding: 0 !important; margin: 0; }
.cert-list li { padding: 10px 0 10px 20px; border-top: 1px solid var(--line); font-size: .94rem; position: relative; }
.cert-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 1px; background: var(--gold); }
.tax-grid, .link-cards { display: grid; gap: 16px; }
.tax-card { margin: 0; border-top: 3px solid var(--navy); }
.tax-card h2 { font-size: 1.5rem; }
.tax-card dl { margin: 0; display: grid; gap: 12px; }
.tax-card dt { color: var(--ink-3); font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; }
.tax-card dd { margin: 0; font-size: 1.2rem; font-weight: 600; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--navy); }
.link-card { display: flex; gap: 18px; align-items: center; margin: 0; }
.link-card img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.link-card p { margin: 0 !important; }
.link-card .link-name { font-weight: 600; font-size: .88rem; color: var(--navy); letter-spacing: .02em; }

/* ---------- Faaliyet alanları sayfası ---------- */
.area-chips {
	position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 30;
	background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line);
}
.area-chips-track { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.area-chips-track::-webkit-scrollbar { display: none; }
.area-chips .chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.area-list-detail { display: grid; gap: 16px; padding-top: 32px; padding-bottom: 8px; }
.area-detail {
	position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 26px 22px; box-shadow: var(--shadow-sm); transition: box-shadow .3s, border-color .3s;
}
.area-detail::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--gold); }
.area-detail-head { display: flex; align-items: center; gap: 16px; }
.area-icon-lg { width: 60px; height: 60px; }
.area-icon-lg .area-icon { width: 28px; height: 28px; }
.area-detail .area-num { font-size: 1.1rem; color: var(--gold); }
.area-detail h2 { margin: 2px 0 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 5vw, 1.9rem); line-height: 1.1; color: var(--navy); }
.area-detail-body { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .98rem; }
.area-detail-body p:last-child { margin-bottom: 0; }
.area-detail:target { box-shadow: var(--shadow); }
.areas-page .page-cta-band { margin-top: 40px; }

/* ---------- Alt bilgi / iletişim ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 60px 0 30px; }
.site-footer .eyebrow { color: var(--gold-2); }
.site-footer .section-title { color: #fff; }
.site-footer .section-title em { color: var(--gold-2); }
.footer-cta { display: grid; gap: 22px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-actions { display: grid; gap: 10px; }
.footer-grid { display: grid; gap: 28px; }
.footer-label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--gold-2); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.footer-label .icon { width: 15px; height: 15px; }
.footer-block address { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; color: #fff; font-weight: 600; }
.footer-hint { font-size: .9rem; margin: 8px 0 0; }
.footer-links { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 16px; }
.site-footer .chip { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.site-footer .chip:hover { border-color: var(--gold-2); color: var(--gold-2); }
.site-footer .chip .icon { color: var(--gold-2); }
.footer-dl { margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer-dl div { display: grid; gap: 2px; }
.footer-dl dt { color: rgba(255, 255, 255, .5); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-dl dd { margin: 0; color: #fff; white-space: nowrap; font-size: clamp(.86rem, 3.6vw, .98rem); }
.footer-dl a { color: #fff; text-decoration: none; }
.footer-dl a:hover { color: var(--gold-2); }
.footer-map { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .12); }
.footer-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3); }
.map-load {
	position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	border: 0; cursor: pointer; color: #fff; font: 600 .92rem var(--sans);
	background:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 30px 30px,
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 30px 30px,
		var(--navy-2);
}
.map-load .icon { width: 32px; height: 32px; color: var(--gold-2); }
.map-load small { color: rgba(255, 255, 255, .55); font-weight: 400; font-size: .78rem; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 12px; font-size: .8rem; color: rgba(255, 255, 255, .5); }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-menu a { color: rgba(255, 255, 255, .8); text-decoration: none; font-size: .88rem; }
.footer-menu a:hover { color: var(--gold-2); }
.footer-note, .footer-copy, .footer-powered { margin: 0; }
.footer-copy a, .footer-powered a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer-copy a:hover, .footer-powered a:hover { color: var(--gold-2); }
.footer-copy-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.footer-powered a { font-weight: 700; letter-spacing: .08em; }

/* ---------- Görünür olunca beliren öğeler ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Bildirim ---------- */
.toast {
	position: fixed; left: 50%; bottom: calc(var(--appbar-h) + var(--safe-b) + 16px); z-index: 80;
	transform: translateX(-50%); background: var(--navy); color: #fff;
	padding: 12px 18px; border-radius: 4px; font-size: .9rem; max-width: calc(100% - 32px); box-shadow: var(--shadow);
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
	.slide-media { background-image: var(--img); }
	.area-grid { grid-template-columns: 1fr 1fr; }
	.tax-grid, .team-grid, .link-cards { grid-template-columns: 1fr 1fr; }
	.quick-grid { grid-template-columns: repeat(3, 1fr); }
	.footer-actions { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-map { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
	.trust-strip { grid-template-columns: repeat(4, 1fr); }
	.trust-strip li, .trust-strip li:nth-child(odd), .trust-strip li:nth-child(even) { padding: 26px 20px; border-right: 1px solid var(--line); }
	.trust-strip li:first-child { padding-left: 0; }
	.trust-strip li:last-child { border-right: 0; }
	.page-hero::before { background-image: url("assets/img/slide-columns.webp"); }
}

/* ---------- Masaüstü ---------- */
@media (min-width: 1000px) {
	body { padding-bottom: 0; font-size: 16.5px; }
	:root { --header-h: 84px; }
	.app-bar { display: none; }
	.topbar { display: block; }
	.header-inner { gap: 30px; }
	.brand { margin-right: 0; flex: none; }
	.brand-mark { width: 48px; height: 48px; }
	.brand-text strong { font-size: 1.5rem; }
	.brand-text small { font-size: .74rem; }
	.primary-nav {
		position: static; transform: none; box-shadow: none; background: none; padding: 0; border-radius: 0;
		max-height: none; overflow: visible; margin-left: auto;
	}
	.primary-nav::before { display: none; }
	.primary-nav .menu { display: flex; gap: 4px; }
	.primary-nav .menu a {
		min-height: var(--header-h); padding: 0 12px; border: 0; font-size: .86rem; font-weight: 500; color: var(--ink);
		white-space: nowrap; position: relative;
	}
	.primary-nav .menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 22px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
	.primary-nav .menu a:hover::after, .primary-nav .current-menu-item > a::after { transform: scaleX(1); }
	.primary-nav .current-menu-item > a { box-shadow: none; color: var(--navy); }
	.header-cta {
		display: inline-flex; align-items: center; gap: 8px; padding: 0 20px; min-height: 46px; border-radius: var(--radius);
		background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; font-size: .84rem; letter-spacing: .04em; white-space: nowrap;
		transition: background .2s;
	}
	.header-cta:hover { background: var(--gold); }
	.header-cta .icon { color: var(--gold-2); }
	.header-cta:hover .icon { color: #fff; }
	.toast { bottom: 28px; }

	.slides { height: min(80vh, 720px); }
	.slide::after { background: linear-gradient(90deg, rgba(14, 34, 56, .92) 0%, rgba(14, 34, 56, .72) 38%, rgba(14, 34, 56, .15) 75%, rgba(14, 34, 56, .05) 100%); }
	.slide { align-items: center; }
	.slide-body { padding-bottom: 40px; }
	.slider-ui { bottom: 36px; }
	.slider-arrows { display: flex; }

	.section { padding: 104px 0; }
	.section-head { margin-bottom: 48px; max-width: 760px; }
	.areas-home .section-head, .team-home .section-head { text-align: center; margin-left: auto; margin-right: auto; }
	.areas-home .section-lead { margin-left: auto; margin-right: auto; }
	/* 10 kart: 3'lü satırlar, son satır ortalı */
	.area-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 44px; }
	.area-grid > li { flex: 0 0 calc((100% - 40px) / 3); }
	.area-card { padding: 32px 30px; min-height: 300px; }
	.about-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
	.team-grid { max-width: 980px; margin: 0 auto; gap: 22px; }
	.person { padding: 32px; }
	.quick-home { padding: 64px 0 104px; }
	.footer-cta { grid-template-columns: 1fr 1fr; align-items: end; }
	.footer-grid { grid-template-columns: 1fr 1fr 1.3fr; gap: 40px; }
	.footer-map { grid-column: auto; aspect-ratio: auto; min-height: 220px; }

	.page-hero { padding: 96px 0 72px; }
	.page-article { padding-top: 64px; }
	.area-list-detail { grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 48px; }
	.area-detail { padding: 36px 34px; }
}

/* Dar masaüstü: üst menü sığsın */
@media (min-width: 1000px) and (max-width: 1239px) {
	.brand-text small { display: none; }
	.header-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.header-cta { padding: 0 14px; }
	.primary-nav .menu a { padding: 0 9px; font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

@media print {
	.app-bar, .site-header nav, .footer-map, .footer-links, .toast, .slider-ui, .topbar { display: none !important; }
	body { padding: 0; }
}

/* ---------- İç sayfa düzeni: görsel + içerik + sağ sütun ---------- */
.page-layout { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 88px; grid-template-areas: "figure" "content" "aside"; }
.page-figure { grid-area: figure; margin: 0; position: relative; }
.page-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; }
.page-figure::after { content: ""; position: absolute; left: 0; bottom: 0; width: 90px; height: 3px; background: var(--gold); }
.page-layout .page-article { grid-area: content; padding: 0; }
.page-aside { grid-area: aside; display: grid; gap: 16px; align-content: start; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; background: #fff; }
.aside-contact { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .8); }
.aside-contact .eyebrow { color: var(--gold-2); }
.aside-phone { margin: 12px 0 4px; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; font-variant-numeric: lining-nums; }
.aside-phone a { color: #fff; text-decoration: none; }
.aside-address { margin: 0 0 18px; font-size: .9rem; line-height: 1.55; }
.aside-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.aside-actions .btn { padding: 0 12px; min-height: 46px; }
.aside-contact .btn-navy { background: #fff; color: var(--navy); }
.aside-contact .btn-navy:hover { background: var(--gold-soft); }
.aside-links ul { list-style: none; margin: 10px 0 0; padding: 0; }
.aside-links a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a .icon { color: var(--gold); width: 16px; height: 16px; transition: transform .2s; }
.aside-links a:hover { color: var(--navy); }
.aside-links a:hover .icon { transform: translateX(3px); }
.aside-links a[aria-current="page"] { color: var(--gold); font-weight: 600; }
.area-list-detail { padding-bottom: 88px; }

@media (min-width: 1000px) {
	.page-layout { grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "content figure" "content aside"; grid-template-rows: auto 1fr; gap: 24px 64px; padding-top: 64px; padding-bottom: 120px; }
	.page-figure img { aspect-ratio: 4 / 3; }
	.page-aside { position: sticky; top: calc(var(--header-h) + 24px); }
	.page-layout .entry-content { max-width: none; }
	.area-list-detail { padding-bottom: 120px; }
}

/* ---------- Çerez bilgilendirmesi ---------- */
.cookie-bar {
	position: fixed; z-index: 75; left: 12px; right: 12px; bottom: calc(var(--appbar-h) + var(--safe-b) + 12px);
	display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; color: var(--ink-2);
	border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow);
	font-size: .78rem; line-height: 1.5;
}
.cookie-bar p { margin: 0; }
.cookie-bar a { color: var(--navy); font-weight: 600; }
.cookie-bar .btn { min-height: 40px; padding: 0 16px; }
@media (min-width: 1000px) {
	.cookie-bar { left: auto; right: 24px; bottom: 24px; max-width: 480px; padding: 16px 18px; font-size: .84rem; }
}

/* ---------- İç sayfa içerik blokları (v4) ---------- */
.entry-content .lead { font-size: 1.12rem; line-height: 1.75; color: var(--ink); }
.entry-content > h2:first-child { margin-top: 0; }
.entry-content h2 { position: relative; padding-bottom: 12px; margin-top: 2.2em; }
.entry-content h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 2px; background: var(--gold); }
.team-card h2::after, .tax-card h2::after { display: none; }
.team-card h2, .tax-card h2 { padding-bottom: 0; }
.principles { display: grid; gap: 14px; margin: 8px 0 8px; }
.principle { background: var(--bg-soft); border-left: 3px solid var(--gold); padding: 20px 22px; border-radius: 0 var(--radius) var(--radius) 0; }
.principle h3 { margin: 0 0 6px !important; font-size: 1.35rem; }
.principle p { margin: 0; font-size: .95rem; }
.steps { list-style: none; counter-reset: step; padding: 0 !important; margin: 8px 0 18px; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 16px 18px 16px 64px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.steps li::before {
	content: counter(step); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%;
	display: grid; place-items: center; background: var(--navy); color: var(--gold-2);
	font-family: var(--serif); font-weight: 600; font-size: 1.15rem; font-variant-numeric: lining-nums;
}
.steps strong { display: block; color: var(--navy); margin-bottom: 2px; }
.entry-content .note { font-size: .9rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 14px; }
.link-card-text { align-items: flex-start; }
.link-dot { width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); flex: none; }
.link-desc { color: var(--ink-3); font-size: .86rem; }
@media (min-width: 640px) {
	.principles { grid-template-columns: 1fr 1fr; }
}

/* ---------- Faaliyet alanları: dengeli tam genişlik satırlar ---------- */
.area-list-detail { grid-template-columns: 1fr !important; }
@media (min-width: 1000px) {
	.area-list-detail { gap: 18px; max-width: 1100px; }
	.area-detail { display: grid; grid-template-columns: 340px 1fr; gap: 0 48px; align-items: start; padding: 36px 40px; }
	.area-detail-head { align-items: flex-start; position: sticky; top: calc(var(--header-h) + 80px); }
	.area-detail-body { margin-top: 0; padding-top: 0; border-top: 0; padding-left: 48px; border-left: 1px solid var(--line); min-height: 100%; }
	.area-detail h2 { font-size: 1.75rem; }
}
