/* ==========================================================
   Doç. Dr. Cem Paketçi — Çocuk Nörolojisi
   Sade, editoryal düzen: ince çizgiler, net tipografi
   ========================================================== */

:root {
  --ink: #1d1b2a;
  --ink-soft: #46435a;
  --muted: #75718a;
  --plum: #4b3a8a;
  --plum-deep: #2b2158;
  --plum-50: #f3f0fa;
  --coral: #d9583b;
  --sun: #f3b33d;
  --bg: #ffffff;
  --bg-alt: #f7f5f1;
  --line: #e6e2da;
  --line-strong: #1d1b2a;

  --f-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --radius: 6px;
  --wrap: 1200px;
  --ease: cubic-bezier(.65, 0, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; overflow-x: clip;
  font-family: var(--f-body); font-size: 18px; line-height: 1.65;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; }
p { margin: 0 0 1.1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--muted); }
.arrow-link { font-weight: 600; text-decoration: none; color: var(--plum); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.arrow-link:hover { color: var(--coral); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--radius);
  font: 600 .98rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--plum-deep); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--plum-deep); color: #d9d2f0; font-size: .88rem; }
.topbar .wrap { display: flex; gap: 22px; align-items: center; justify-content: space-between; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--sun); }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 6px; opacity: .8; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand img { width: 220px; height: auto; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu a, .menu button.dd-toggle {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 10px 13px; font: 600 .98rem/1.2 var(--f-body); color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer; position: relative;
}
.menu > li > a::after, .menu > li > button::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.menu > li > a:hover::after, .menu > li > a[aria-current="page"]::after, .has-dd:hover > button::after { transform: scaleX(1); }
.menu a:hover, .menu button.dd-toggle:hover { color: var(--ink); }
.dd-toggle svg { width: 14px; height: 14px; transition: transform .25s; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; width: 520px; padding: 10px; list-style: none; margin: 0;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -20px rgba(29, 27, 42, .35);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 11px 12px; white-space: normal; border-bottom: 1px solid var(--line); }
.dropdown a:hover { background: var(--bg-alt); }
.dropdown a small { font-weight: 400; color: var(--muted); font-size: .85rem; }
.dropdown .dd-all { grid-column: 1 / -1; }
.dropdown .dd-all a { border-bottom: 0; color: var(--plum); }
.has-dd:hover .dropdown, .has-dd.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dd:hover .dd-toggle svg, .has-dd.open .dd-toggle svg { transform: rotate(180deg); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: transparent; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 50%; width: 18px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.burger span { top: 50%; transform: translate(-50%, -50%); }
.burger span::before, .burger span::after { content: ""; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Motion ---------- */
.rise { opacity: 0; transform: translateY(10px); animation: rise .7s var(--ease) forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .12s; } .d3 { animation-delay: .2s; } .d4 { animation-delay: .28s; } .d5 { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: 44px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 3.6vw, 2.9rem); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 10px; }
.hero-sub { font-size: 1.05rem; line-height: 1.5; color: var(--plum); font-weight: 600; margin: 0 0 22px; }
.hero-lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 520px; margin-bottom: 30px; }
.hero-appt { max-width: 520px; }
.appt-title { font-size: .85rem; color: var(--muted); margin: 0 0 6px; }
.hero-appt ul, .phone-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.hero-appt li, .phone-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hero-appt li span, .phone-list li span { color: var(--ink-soft); }
.hero-appt li a, .phone-list li a { font-family: var(--f-display); font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hero-appt li a:hover, .phone-list li a:hover { color: var(--coral); }
.appt-links { display: flex; gap: 24px; margin: 16px 0 0; font-size: .95rem; }
.appt-links a { color: var(--plum); font-weight: 600; }

/* ---------- Slider ---------- */
.slider { position: relative; }
.slides { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--bg-alt); }
.slide { position: absolute; inset: 0; margin: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.1s var(--ease); z-index: 1; }
.slide.is-active { clip-path: inset(0 0 0 0); z-index: 3; }
.slide.was-active { clip-path: inset(0 0 0 0); z-index: 2; transition: none; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); transform: scale(1.12); transition: transform 1.6s var(--ease); }
.slide.is-active img { transform: scale(1); }
.slide-count {
  position: absolute; top: 16px; left: 16px; z-index: 4;
  font-family: var(--f-display); font-weight: 600; font-size: .85rem; letter-spacing: .04em;
  background: #fff; color: var(--ink); padding: 6px 10px; font-variant-numeric: tabular-nums;
}
.slide-count b { color: var(--coral); }
.slider-bar { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); background: var(--plum-deep); color: #fff; }
.captions { position: relative; padding: 22px 24px 20px; min-height: 150px; }
.captions .progress { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(255, 255, 255, .15); }
.captions .progress i { position: absolute; inset: 0; background: var(--sun); transform: scaleX(0); transform-origin: left; }
.slider.running .captions .progress i { animation: sl-progress var(--sl-dur, 6s) linear forwards; }
.slider.paused .captions .progress i { animation-play-state: paused; }
@keyframes sl-progress { to { transform: scaleX(1); } }
.cap { position: absolute; inset: 22px 24px 20px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease), visibility 0s .5s; display: flex; flex-direction: column; }
.cap.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .35s, transform .6s var(--ease) .35s; position: relative; inset: auto; }
.cap-tag { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 4px; }
.cap-text { color: #d6cfee; font-size: .97rem; line-height: 1.45; margin: 0 0 12px; }
.cap a { color: #fff; font-weight: 600; font-size: .92rem; margin-top: auto; align-self: flex-start; }
.cap a:hover { color: var(--sun); }
.thumbs { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid rgba(255, 255, 255, .14); }
.thumb { position: relative; display: block; padding: 0; border: 0; background: none; cursor: pointer; color: #fff; text-align: left; overflow: hidden; }
.thumb + .thumb { border-left: 1px solid rgba(255, 255, 255, .14); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); filter: grayscale(1) contrast(.9); opacity: .45; transition: opacity .35s, filter .35s, transform .6s var(--ease); }
.thumb span { position: absolute; left: 12px; right: 12px; bottom: 10px; font-family: var(--f-display); font-weight: 600; font-size: .85rem; line-height: 1.2; }
.thumb span small { display: block; font-family: var(--f-body); font-weight: 400; color: #cfc7ea; font-size: .75rem; margin-bottom: 2px; }
.thumb:hover img, .thumb:focus-visible img { opacity: .8; filter: grayscale(0); transform: scale(1.05); }
.thumb[hidden] { display: none; }

.topics { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; padding: 22px 0; margin-top: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .98rem; }
.topics span { font-size: .85rem; color: var(--muted); margin-right: 4px; }
.topics a { color: var(--ink); text-decoration: none; font-weight: 600; }
.topics a:hover { color: var(--coral); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.alt { background: var(--bg-alt); }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); gap: 56px; margin-bottom: 36px; align-items: end; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--ink-soft); max-width: 560px; }

/* condition list */
.cond-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 1px solid var(--line-strong); }
.cond-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.cond-list .t { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.015em; }
.cond-list .d { grid-column: 1; color: var(--ink-soft); font-size: .98rem; }
.cond-list .arr { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.cond-list .arr svg { width: 20px; height: 20px; }
.cond-list a:hover .t { color: var(--plum); }
.cond-list a:hover .arr { color: var(--coral); transform: translateX(4px); }
.more-areas { margin: 28px 0 0; color: var(--ink-soft); max-width: 900px; }
.more-areas strong { color: var(--ink); }

/* two-column text + image */
.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); gap: 56px; align-items: start; }
.duo.flip > :first-child { order: 2; }
.duo figure { margin: 0; }
.duo figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.duo figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.duo h2 { margin-top: 0; }
.plain-list { margin: 0 0 24px; padding-left: 1.1em; }
.plain-list li { margin-bottom: 6px; }
.plain-list li::marker { color: var(--coral); }

/* CV table */
.cv { margin: 24px 0 28px; border-top: 1px solid var(--line-strong); }
.cv div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cv dt { font-family: var(--f-display); font-weight: 600; font-variant-numeric: tabular-nums; }
.cv dd { margin: 0; color: var(--ink-soft); }

/* process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; counter-reset: p; }
.process li { border-top: 1px solid var(--line-strong); padding-top: 16px; counter-increment: p; }
.process li::before { content: counter(p) "."; font-family: var(--f-display); font-weight: 600; color: var(--coral); display: block; margin-bottom: 6px; }
.process h3 { font-size: 1.1rem; margin-bottom: 6px; }
.process p { font-size: .96rem; color: var(--ink-soft); margin: 0; }
.note { margin: 36px 0 0; padding-left: 18px; border-left: 3px solid var(--coral); max-width: 760px; color: var(--ink-soft); }

/* research areas */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.cols3 > div { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.cols3 p { color: var(--ink-soft); font-size: .98rem; }

/* locations */
.locs { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.loc h3 { margin-bottom: 10px; }
.loc p { color: var(--ink-soft); margin-bottom: 12px; }
.loc .phone-list { margin-bottom: 14px; }
.loc iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(.35); }

/* closing CTA */
.closing { padding: 64px 0; border-top: 1px solid var(--line); }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); gap: 56px; align-items: end; }
.closing h2 { margin: 0; }
.closing p { margin: 0 0 14px; color: var(--ink-soft); }
.closing .big-phone { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.03em; color: var(--plum-deep); text-decoration: none; display: inline-block; line-height: 1.1; }
.closing .big-phone:hover { color: var(--coral); }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 40px 0 44px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--plum); }
.page-hero h1 { max-width: 860px; }
.page-hero .lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 740px; margin: 0; }
.meta { font-size: .92rem; color: var(--muted); margin-top: 18px; }
.meta strong { color: var(--ink); font-weight: 600; }

/* ---------- Article ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; padding-bottom: 84px; }
.prose { font-size: 1.06rem; max-width: 760px; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-top: 1.9em; scroll-margin-top: 110px; }
.prose h3 { margin-top: 1.5em; scroll-margin-top: 110px; }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--coral); }
.prose figure { margin: 32px 0; }
.prose figure img { width: 100%; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.prose .lede { font-size: 1.14rem; color: var(--ink); }
.callout { padding: 4px 0 4px 20px; margin: 28px 0; border-left: 3px solid var(--plum); }
.callout h3, .callout h2 { margin-top: 0; font-size: 1.1rem; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout.warn { border-left-color: var(--coral); }
.callout.ok { border-left-color: #2f8f7f; }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 24px 0; }
.do-dont > div { border-top: 1px solid var(--line-strong); padding-top: 14px; }
.do-dont h3 { font-size: 1.05rem; margin: 0 0 10px; }
.do-dont .do h3 { color: #2f8f7f; }
.do-dont .dont h3 { color: var(--coral); }
.do-dont ul { margin: 0; padding-left: 1.1em; }
.types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; margin: 24px 0; }
.types > div { border-top: 1px solid var(--line-strong); padding-top: 14px; }
.types h3 { margin: 0 0 6px; font-size: 1.1rem; }
.types p { margin: 0 0 12px; font-size: .99rem; color: var(--ink-soft); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 28px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-row strong { display: block; font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; color: var(--plum-deep); line-height: 1.1; letter-spacing: -.02em; }
.stat-row span { font-size: .9rem; color: var(--ink-soft); line-height: 1.4; display: block; margin-top: 4px; }

/* sidebar */
.aside { position: sticky; top: 104px; display: grid; gap: 36px; font-size: .96rem; }
.aside h2 { font-family: var(--f-body); font-size: .85rem; font-weight: 700; letter-spacing: .02em; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; text-decoration: none; color: var(--ink-soft); line-height: 1.4; border-left: 2px solid transparent; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--coral); }
.side-links ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.side-links a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.side-links a:hover { color: var(--plum); }

/* FAQ */
.faq { margin-top: 12px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-display); font-size: 1.4rem; color: var(--plum); line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 16px; color: var(--ink-soft); }
.faq .ans p:last-child { margin: 0; }

.disclaimer { font-size: .92rem; color: var(--muted); margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); }
.disclaimer p { margin: 0; }
.reviewed { font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* areas page */
.area-group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; padding: 28px 0; border-top: 1px solid var(--line-strong); }
.area-group:last-of-type { border-bottom: 1px solid var(--line-strong); }
.area-group h2 { font-size: 1.3rem; margin: 0; }
.areas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.areas li { padding: 9px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.areas a { color: var(--ink); font-weight: 600; text-decoration: none; display: flex; justify-content: space-between; gap: 12px; }
.areas a::after { content: "→"; color: var(--coral); }
.areas a:hover { color: var(--plum); }

/* publications */
.pub-tools { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 32px; }
.pub-search { flex: 1 1 320px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font: 1rem var(--f-body); background: #fff; }
.pub-search:focus { outline: none; border-color: var(--plum); }
.pub-filter { display: flex; gap: 4px; flex-wrap: wrap; }
.pub-filter button { border: 0; background: none; padding: 8px 12px; font: 600 .95rem var(--f-body); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.pub-filter button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--coral); }
.pub-group { margin-bottom: 48px; }
.pub-group-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 1.35rem; }
.pub-group-title .count { font-family: var(--f-body); font-size: .9rem; color: var(--muted); font-weight: 400; }
.pubs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.pubs li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .98rem; line-height: 1.55; color: var(--ink-soft); }
.pubs li[hidden] { display: none; }
.pubs .yr { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.pubs b { color: var(--ink); font-weight: 700; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); gap: 56px; align-items: start; padding-bottom: 72px; }
.contact-grid h2 { font-size: 1.35rem; }
.form { display: grid; gap: 16px; }
.form label { font-weight: 600; font-size: .95rem; display: grid; gap: 6px; }
.form input, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: 1rem var(--f-body); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--plum); }
.form textarea { min-height: 150px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form small { color: var(--muted); font-weight: 400; }
.form .btn { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b4b0c6; padding: 64px 0 0; font-size: .96rem; }
.site-footer a { color: #ece9f5; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-brand img { width: 210px; background: #fff; padding: 10px 12px; margin-bottom: 18px; }
.site-footer h2 { font-family: var(--f-body); font-size: .85rem; font-weight: 700; color: #8f8aa8; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-contact li { display: flex; gap: 10px; }
.foot-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: #8f8aa8; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #3a3752; border-radius: var(--radius); }
.social a:hover { border-color: var(--sun); }
.social svg { width: 18px; height: 18px; }
.foot-bottom { margin-top: 52px; border-top: 1px solid #312e47; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: #8f8aa8; }

.fab-call { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .burger { display: block; }
  .nav { min-height: 70px; }
  .brand img { width: 180px; }
  .nav-cta .btn-primary { padding: 10px 16px; }
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .menu {
    position: fixed; inset: 70px 0 0 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 16px 24px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
  }
  .nav-open .menu { transform: none; visibility: visible; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu a, .menu button.dd-toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.08rem; }
  .menu > li > a::after, .menu > li > button::after { display: none; }
  .menu a[aria-current="page"] { color: var(--plum); }
  .dropdown { position: static; transform: none; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; opacity: 1; visibility: visible; }
  .has-dd.open .dropdown { display: grid; }
}
@media (max-width: 980px) {
  body { font-size: 17px; }
  section { padding: 60px 0; }
  .hero { padding-top: 20px; }
  .hero-grid, .duo, .sec-head, .contact-grid, .article-wrap, .closing .wrap { grid-template-columns: 1fr; gap: 28px; }
  .duo.flip > :first-child { order: 0; }
  .slider { order: -1; }
  .cond-list { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .locs { grid-template-columns: 1fr; gap: 44px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .aside { position: static; }
  .area-group { grid-template-columns: 1fr; gap: 12px; }
  .fab-call {
    display: inline-flex; position: fixed; right: 16px; bottom: 16px; z-index: 40;
    width: 56px; height: 56px; border-radius: 50%; background: var(--plum-deep); color: #fff; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px -10px rgba(29, 27, 42, .7);
  }
  .fab-call svg { width: 24px; height: 24px; }
  .fab-call:hover { color: #fff; }
}
@media (max-width: 640px) {
  .topbar .tb-right { display: none; }
  .topbar .wrap { justify-content: center; }
  .nav-cta .btn-primary { display: none; }
  .slides { aspect-ratio: 1 / 1; }
  .slider-bar { grid-template-columns: 1fr; }
  .thumbs { display: none; }
  .captions { min-height: 0; padding: 18px; }
  .cap { inset: 18px; }
  .process, .cols3, .do-dont, .types, .foot-grid, .areas { grid-template-columns: 1fr; }
  .cols3 { gap: 24px; }
  .stat-row { gap: 12px; }
  .stat-row strong { font-size: 1.25rem; }
  .stat-row span { font-size: .8rem; }
  .form .row2 { grid-template-columns: 1fr; }
  .hero-appt li { font-size: .95rem; }
  .cv div { grid-template-columns: 90px 1fr; }
  .pubs li { grid-template-columns: 1fr; gap: 2px; }
  .topics { gap: 6px 18px; margin-top: 28px; }
}

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

@media print {
  .topbar, .site-header, .site-footer, .aside, .fab-call, .closing { display: none !important; }
  .article-wrap { grid-template-columns: 1fr; }
}

/* ==========================================================
   Zenginleştirme katmanı: fotoğraf, renk blokları, rakamlar
   ========================================================== */
:root { --teal: #2f8f7f; --tint-plum: #f1edf9; --tint-coral: #fcebe5; --tint-teal: #e4f2ef; --tint-sun: #fdf3dc; }

/* stats band */
.stats-band { background: var(--plum-deep); color: #fff; padding: 0; margin-top: 44px; }
.stats-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-band div.s { padding: 30px 24px 28px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stats-band div.s:first-child { border-left: 0; padding-left: 0; }
.stats-band strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.03em; line-height: 1; color: #fff; }
.stats-band strong em { font-style: normal; color: var(--sun); }
.stats-band span { display: block; margin-top: 8px; color: #cfc7ea; font-size: .95rem; line-height: 1.4; }
.topics.under-stats { margin-top: 0; border-top: 0; }

/* condition cards */
.cond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ccard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; overflow: hidden; }
.ccard:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(43, 33, 88, .45); color: var(--ink); }
.ccard .ph { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.ccard .ph img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); transition: transform .8s var(--ease); }
.ccard:hover .ph img { transform: scale(1.05); }
.ccard .ph.fact { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: var(--tint, var(--tint-plum)); }
.ccard .ph.fact b { font-family: var(--f-display); font-weight: 600; font-size: 3.2rem; line-height: .95; letter-spacing: -.04em; color: var(--fact, var(--plum-deep)); }
.ccard .ph.fact small { font-size: .95rem; color: var(--ink-soft); margin-top: 8px; max-width: 260px; line-height: 1.4; }
.ccard .bd { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ccard h3 { margin: 0 0 6px; font-size: 1.25rem; }
.ccard p { margin: 0 0 16px; color: var(--ink-soft); font-size: .98rem; }
.ccard .go { margin-top: auto; font-weight: 600; color: var(--plum); font-size: .95rem; display: inline-flex; gap: 8px; align-items: center; }
.ccard .go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.ccard:hover .go { color: var(--coral); }
.ccard:hover .go svg { transform: translateX(4px); }
.more-box { margin-top: 28px; padding: 22px 26px; background: var(--bg-alt); border-left: 3px solid var(--coral); color: var(--ink-soft); }
.more-box strong { color: var(--ink); }

/* about block */
.about-block { background: var(--bg-alt); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); gap: 64px; align-items: center; }
.photo-pair { position: relative; padding: 0 0 56px 0; }
.photo-pair .p1 { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-pair .p2 { position: absolute; right: -28px; bottom: 0; width: 52%; aspect-ratio: 1; object-fit: cover; border: 8px solid var(--bg-alt); }
.photo-pair .tag { position: absolute; left: 0; bottom: 8px; background: var(--plum-deep); color: #fff; padding: 12px 16px; font-size: .9rem; line-height: 1.35; max-width: 46%; }
.photo-pair .tag b { display: block; font-family: var(--f-display); font-size: 1.05rem; }
.about-grid .cv { background: #fff; border-top: 3px solid var(--plum-deep); padding: 4px 22px; }
.about-grid .cv div:last-child { border-bottom: 0; }

/* EEG feature */
.eeg-feature { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.eeg-feature .img { aspect-ratio: 4 / 3; overflow: hidden; }
.eeg-feature .img img { width: 100%; height: 100%; object-fit: cover; }
.eeg-feature .panel { background: var(--plum-deep); color: #e6e1f6; padding: 40px 40px 36px; margin-left: -96px; position: relative; z-index: 1; }
.eeg-feature .panel h2 { color: #fff; }
.eeg-feature .panel ul { list-style: none; padding: 0; margin: 0 0 26px; }
.eeg-feature .panel li { padding: 10px 0 10px 28px; border-top: 1px solid rgba(255, 255, 255, .14); position: relative; }
.eeg-feature .panel li::before { content: ""; position: absolute; left: 0; top: 19px; width: 14px; height: 2px; background: var(--sun); }
.eeg-feature .panel a { color: #fff; font-weight: 600; }
.eeg-feature .panel a:hover { color: var(--sun); }

/* process tinted */
.process-block { background: var(--tint-plum); }
.process-block .process li { border-top-color: var(--plum); }
.process-block .process li::before { content: "0" counter(p); font-size: 2.4rem; letter-spacing: -.04em; color: var(--plum); line-height: 1; margin-bottom: 12px; }
.process-block .note { background: #fff; padding: 18px 22px; }

/* closing band */
.closing-band { background: var(--plum-deep); color: #d9d2f0; padding: 0; overflow: hidden; }
.closing-band .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; }
.closing-band .txt { padding: 64px 48px 64px 0; }
.closing-band h2 { color: #fff; }
.closing-band p { max-width: 520px; }
.closing-band a { color: #fff; }
.closing-band .big-phone { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; color: var(--sun); text-decoration: none; display: inline-block; line-height: 1; margin: 8px 0 18px; }
.closing-band .big-phone:hover { color: #fff; }
.closing-band .others { display: flex; gap: 28px; flex-wrap: wrap; font-size: .95rem; }
.closing-band .others span { display: block; color: #a99fd0; font-size: .82rem; }
.closing-band .others a { font-weight: 600; text-decoration: none; }
.closing-band .img { position: relative; min-height: 320px; }
.closing-band .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* inner page hero with tint + image */
.page-hero { background: var(--tint-plum); border-bottom: 0; }
.page-hero.has-img .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: center; }
.page-hero .hero-img { aspect-ratio: 4 / 3; overflow: hidden; }
.page-hero .hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }

/* article enrichments */
.callout { background: var(--tint-plum); padding: 18px 22px; }
.callout.warn { background: var(--tint-coral); }
.callout.ok { background: var(--tint-teal); border-left-color: var(--teal); }
.stat-row { border: 0; padding: 0; gap: 12px; }
.stat-row div { background: var(--tint-sun); padding: 18px 18px 16px; }
.stat-row div:nth-child(2) { background: var(--tint-coral); }
.stat-row div:nth-child(3) { background: var(--tint-teal); }
.do-dont > div { padding: 18px 20px; border-top-width: 3px; }
.do-dont .do { background: var(--tint-teal); border-top-color: var(--teal); }
.do-dont .dont { background: var(--tint-coral); border-top-color: var(--coral); }
.types > div { background: var(--bg-alt); padding: 16px 18px 4px; border-top: 3px solid var(--plum); }
.side-box { background: var(--plum-deep); color: #d9d2f0; padding: 22px 22px 18px; }
.side-box h2 { color: #fff !important; }
.side-box .phone-list { border-top-color: rgba(255, 255, 255, .3); }
.side-box .phone-list li { border-bottom-color: rgba(255, 255, 255, .12); flex-direction: column; gap: 0; padding: 10px 0; }
.side-box .phone-list li span { color: #b9b0de; font-size: .88rem; }
.side-box .phone-list li a { color: #fff; font-size: 1.1rem; }
.side-box .phone-list li a:hover { color: var(--sun); }

/* contact cards */
.contact-cards { display: grid; gap: 14px; }
.contact-cards .cc { background: var(--tint-plum); padding: 20px 22px; border-left: 3px solid var(--plum); }
.contact-cards .cc:nth-child(2) { background: var(--tint-coral); border-left-color: var(--coral); }
.contact-cards .cc:nth-child(3) { background: var(--tint-teal); border-left-color: var(--teal); }
.contact-cards .cc span { display: block; font-size: .88rem; color: var(--ink-soft); }
.contact-cards .cc a { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.contact-cards .cc a:hover { color: var(--coral); }
.form-box { background: var(--bg-alt); padding: 32px; }

@media (max-width: 980px) {
  .stats-band .wrap { grid-template-columns: 1fr 1fr; }
  .stats-band div.s { padding: 22px 16px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .stats-band div.s:nth-child(-n+2) { border-top: 0; }
  .stats-band div.s:first-child { padding-left: 16px; }
  .cond-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .page-hero.has-img .wrap { grid-template-columns: 1fr; gap: 32px; }
  .photo-pair .p2 { right: 0; }
  .eeg-feature { grid-template-columns: 1fr; }
  .eeg-feature .panel { margin: -48px 16px 0; padding: 28px 24px; }
  .closing-band .wrap { grid-template-columns: 1fr; }
  .closing-band .txt { padding: 48px 0 32px; }
  .closing-band .img { min-height: 220px; margin: 0 -16px; }
}
@media (max-width: 640px) {
  .cond-grid { grid-template-columns: 1fr; }
  .ccard .ph.fact b { font-size: 2.6rem; }
  .photo-pair .tag { max-width: 60%; font-size: .82rem; }
  .form-box { padding: 20px; }
  .page-hero .hero-img { display: none; }
}

/* geliştirici bilgisi */
.foot-bottom .credit a { color: #cfc7ea; font-weight: 600; }
.foot-bottom .credit a:hover { color: var(--sun); }

/* form durum ve bot tuzağı */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: var(--coral); }
.form button[disabled] { opacity: .6; cursor: wait; }
