/* =========================================================
   Bandırma Psikiyatri ve Psikoterapi Merkezi
   Yön: "Marmara sabahı" — soğuk, düşük kontrastlı, sakin bir
   yüzey; sıcaklık yalnızca serif başlıklardan ve tek bir
   okra vurgudan gelir. İmza öğe: muayenehane tabelası.

   Yazı tipleri /lib/fonts/fonts.css içinde tanımlıdır (lokal).
   ========================================================= */

:root {
  /* YÜZEY ve METİN ayrı tokenlardır. --deep her zaman koyu bir zemindir
     (üst şerit, footer, CTA, tabela plakası); --strong ise okunması gereken
     güçlü metindir. Gece modunda --deep koyu kalır, --strong açılır.
     Bu ikisini karıştırmak koyu üstüne koyu yazıya yol açar. */
  --deep: #16333f;   /* koyu yüzey */
  --strong: #16333f; /* güçlü metin — başlıklar, buton yazısı, ikonlar */
  --ink: #1d2b30;
  --muted: #5d6f75;
  --mist: #eef2ef;   /* sayfa zemini */
  --tint: #e6ece8;   /* ikinci zemin */
  --paper: #fbfcfa;  /* kart ve buton yüzeyi */
  --line: #d3ddd8;
  --line-soft: #e2e9e5;
  --teal: #2f6b6a;
  --teal-deep: #234f4f;
  --ochre: #c0812f;  /* tek sıcak vurgu — cimrice kullanılır */

  /* Katman sırası. Offcanvas paneli masthead'in yığın bağlamı içinde
     olduğu için asıl belirleyici --z-header'dır: dock/totop/consent
     ondan küçük olmalı ki panel hepsinin üstüne gelsin. */
  --z-dock: 44;
  --z-totop: 45;
  --z-consent: 46;
  --z-header: 50;

  --header-bg: rgba(238, 242, 239, .88); /* masaüstünde buzlu cam zemini */

  /* Konteyner genişliği. Metin bundan bağımsız olarak .measure (76ch) ile
     sınırlı, o yüzden burayı açmak okunabilirliği bozmaz — yalnızca ızgara
     düzenleri (galeri, adımlar, footer) nefes alır. */
  --shell: 1280px;
  --gut: clamp(20px, 4vw, 40px);
  --pad: clamp(56px, 8vw, 104px);

  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --serif: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --r: 3px;          /* neredeyse dik köşeler — tabela hissi */
  --ease: cubic-bezier(.2, .7, .3, 1);

  --head-h: 110px;   /* üst şerit + masthead toplamı */
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
  scrollbar-width: thin;
  scrollbar-color: #9fb5b0 var(--tint);
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip, hidden değil: hidden kaydırma bağlamı yaratıp sticky header'ı bozar */
  overflow-x: clip;
}

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

a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ochre); }

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

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

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--tint); }
::-webkit-scrollbar-thumb { background: #9fb5b0; border-radius: 99px; border: 3px solid var(--tint); }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--deep); color: #fff; padding: 12px 18px; text-decoration: none;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.measure { max-width: 76ch; }
.mono { font-family: var(--mono); font-size: .9em; letter-spacing: -.01em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.icon { display: inline-block; vertical-align: -.18em; flex: none; }

/* ---------- tipografi ---------- */

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.6vw, 4.15rem);
  line-height: 1.03;
  letter-spacing: -.021em;
  color: var(--strong);
  margin: 0 0 .5em;
  text-wrap: balance;
}
.display--sm { font-size: clamp(2.1rem, 4.4vw, 3.25rem); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.1vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -.017em;
  color: var(--strong);
  margin: 0 0 .45em;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(1.3rem, 2vw, 1.6rem); }

.eyebrow {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1.15em;
  display: flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--ochre); flex: none; }

.lead {
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
  line-height: 1.62;
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 1.6em;
}

.sechead { max-width: 66ch; margin-bottom: clamp(28px, 4vw, 48px); }
.sechead__lead { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* ---------- butonlar ---------- */

.btn {
  --bg: transparent; --fg: var(--strong); --bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55em;
  padding: .72em 1.35em;
  border: 1px solid var(--bd);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--fg);
  font: 500 .95rem/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--solid { --bg: var(--teal-deep); --fg: #fff; --bd: var(--teal-deep); }
.btn--solid:hover { --bg: var(--deep); --bd: var(--deep); color: #fff; }
/* İkincil buton: saydam değil, kendi yüzeyi var — açık zeminde de
   koyu zeminde de buton gibi okunur. */
.btn--ghost { --bg: var(--paper); --fg: var(--strong); --bd: var(--line); }
.btn--ghost:hover { --bg: var(--tint); --bd: var(--teal); --fg: var(--teal-deep); }
.btn--ochre { --bg: var(--ochre); --fg: #1b1405; --bd: var(--ochre); }
.btn--ochre:hover { --bg: #d5952f; --bd: #d5952f; color: #1b1405; }
.btn--onDark { --bg: transparent; --fg: #e8efeb; --bd: rgba(232, 239, 235, .32); }
.btn--onDark:hover { --bg: rgba(232, 239, 235, .1); --bd: rgba(232, 239, 235, .6); color: #fff; }
.btn--lg { padding: .95em 1.7em; font-size: 1rem; }

.biglink {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 500;
  color: var(--strong);
  text-decoration: none;
  letter-spacing: -.02em;
}
.biglink:hover { color: var(--teal); }

/* ---------- üst şerit ---------- */

.topbar { background: var(--deep); color: #b9cbc9; font-size: .76rem; }
.topbar__inner { display: flex; align-items: center; gap: 22px; min-height: 36px; }
.topbar__item { display: inline-flex; align-items: center; gap: .45em; }
.topbar__hours { margin-right: auto; }
.topbar a { color: #dbe6e2; text-decoration: none; }
.topbar a:hover { color: var(--ochre); }
@media (max-width: 760px) { .topbar__place { display: none; } }
@media (max-width: 420px) { .topbar__hours { display: none; } }

/* ---------- masthead ---------- */

.masthead {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--mist);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s var(--ease);
}
/* backdrop-filter yalnızca masaüstünde: mobilde offcanvas paneli
   position:fixed ve backdrop-filter onun için containing block yaratıp
   paneli header kutusunun içine hapsediyor. */
@media (min-width: 941px) {
  .masthead {
    background: var(--header-bg);
    backdrop-filter: saturate(1.4) blur(10px);
  }
}
.masthead.is-stuck { box-shadow: 0 1px 24px rgba(22, 51, 63, .09); }
.masthead__inner { display: flex; align-items: center; gap: 20px; min-height: 74px; }

/* Marka bloğu daralabilir (min-width: 0 + ellipsis); menü daralamaz.
   Böylece yer bittiğinde menü satır atlamak yerine marka kısalır. */
.brand {
  display: flex; align-items: center; gap: 12px;
  min-width: 0;
  text-decoration: none; color: var(--strong); margin-right: auto;
}
.brand__logo { width: auto; height: 34px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand__text strong,
.brand__text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__text strong { font-family: var(--serif); font-weight: 500; font-size: 1.02rem; letter-spacing: -.01em; }
.brand__text small { font-size: .7rem; color: var(--muted); letter-spacing: .01em; }

/* ---------- masaüstü menü ---------- */

.nav { display: flex; align-items: center; gap: 16px; flex: none; }
.nav__head, .nav__foot, .nav__toggle { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list > li { position: relative; flex: none; }
.nav__link {
  display: flex; align-items: center; gap: 4px;
  padding: 9px 11px;
  font-size: .92rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--r);
  white-space: nowrap;   /* "Online Terapi" iki satıra bölünmesin */
}
.nav__link:hover { background: var(--tint); color: var(--teal-deep); }
.nav__link[aria-current] { color: var(--teal-deep); box-shadow: inset 0 -2px 0 var(--ochre); }
.nav__caret { transition: transform .18s var(--ease); }

.sub {
  position: absolute; top: 100%; left: 0;
  min-width: 260px;
  margin: 0; padding: 6px;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 18px 44px rgba(22, 51, 63, .13);
  opacity: 0; visibility: hidden; transform: translateY(-5px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
/* Menü ile açılır kutu arasındaki görsel boşluğu dolduran köprü:
   fare aradan geçerken hover kopmaz. */
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .sub,
.has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .nav__caret { transform: rotate(180deg); }
.sub a { display: block; padding: 9px 12px; font-size: .89rem; color: var(--ink); text-decoration: none; border-radius: 2px; }
.sub a:hover { background: var(--tint); color: var(--teal-deep); }

.burger, .nav__backdrop { display: none; }

/* Yer daraldıkça feda sırası: önce marka alt başlığı (en geniş, en az kritik),
   sonra menü nefes payı, sonra randevu butonu, sonra marka yazısı.
   Menü hiçbir aşamada satır atlamaz. */
@media (max-width: 1360px) { .brand__text small { display: none; } }
@media (max-width: 1240px) { .nav__link { padding: 9px 8px; font-size: .88rem; } }
@media (max-width: 1180px) { .nav__cta { display: none; } }
@media (max-width: 1020px) { .brand__text { display: none; } }

/* ---------- offcanvas (mobil) ---------- */

@media (max-width: 940px) {
  .burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
    color: var(--strong); cursor: pointer;
  }
  .burger:hover { border-color: var(--teal); color: var(--teal-deep); }

  /* z-index'ler masthead'in yığın bağlamı içinde geçerli;
     dışarıya karşı belirleyici olan .masthead'in --z-header değeri. */
  .nav__backdrop {
    display: block;
    position: fixed; inset: 0; z-index: 1;
    background: rgba(10, 23, 28, .55);
    opacity: 0; visibility: hidden;
    transition: opacity .26s var(--ease), visibility .26s;
  }
  .nav__backdrop.is-open { opacity: 1; visibility: visible; }

  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 2;
    width: min(410px, 90vw);
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--mist);
    border-left: 1px solid var(--line);
    box-shadow: -18px 0 50px rgba(10, 23, 28, .18);
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open { transform: none; }

  .nav__head {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px var(--gut);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0;
    background: var(--mist);
    z-index: 1;
  }
  .nav__head img { height: 30px; width: auto; }
  .nav__close {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    background: none; border: 1px solid var(--line); border-radius: var(--r);
    color: var(--strong); cursor: pointer;
  }
  .nav__close:hover { border-color: var(--teal); color: var(--teal-deep); }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 0; }
  .nav__list > li { border-bottom: 1px solid var(--line-soft); }
  .nav__link { flex: 1; padding: 15px 2px; font-size: 1.05rem; border-radius: 0; }
  .nav__link:hover { background: none; }
  .nav__link[aria-current] { box-shadow: none; color: var(--teal-deep); font-weight: 500; }

  /* Alt menü mobilde akordeon: bağlantıya değil, oka basılır */
  .has-sub > .nav__row { display: flex; align-items: center; }
  .has-sub .nav__caret { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: none; border: 0; color: var(--muted); cursor: pointer;
  }
  .nav__toggle .icon { transition: transform .2s var(--ease); }
  .nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

  .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none;
    border: 0; box-shadow: none; background: none;
    padding: 0 0 12px 14px;
    margin: 0;
  }
  .sub::before { display: none; }
  .sub.is-open { display: block; }
  .sub a { padding: 9px 8px; font-size: .95rem; color: var(--muted); }

  .nav__foot { display: block; margin-top: auto; padding: 22px var(--gut) 28px; border-top: 1px solid var(--line); }
  .nav__foot .btn { width: 100%; margin-bottom: 10px; }
  .nav__foot p { margin: 0; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: .5em; }
}

/* ---------- hero ---------- */

.hero { padding-block: clamp(40px, 6vw, 84px) clamp(40px, 6vw, 76px); position: relative; }
.hero::before {
  content: "";
  position: absolute; inset: 0 0 auto;
  height: 420px;
  background: linear-gradient(178deg, #e8efec 0%, rgba(238, 242, 239, 0) 100%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, .86fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__notes { list-style: none; margin: 0; padding: 22px 0 0; display: grid; gap: 11px; border-top: 1px solid var(--line); }
.hero__notes li { display: flex; align-items: flex-start; gap: 11px; font-size: .95rem; color: var(--muted); }
.hero__notes .icon { color: var(--teal); margin-top: .28em; }

/* Portre + tabelanın üst üste bindiği kompozisyon */
.hero__figure { position: relative; }
.hero__portrait {
  position: relative;
  background: linear-gradient(168deg, #dde7e3, #eef2ef 70%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 5 / 4;
}
.hero__portrait img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.hero__figure .nameplate { position: relative; margin: -60px 16px 0; }

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { max-width: 460px; }
}

/* ---------- imza öğe: tabela ---------- */

.nameplate {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 22px 50px -32px rgba(22, 51, 63, .55);
  overflow: hidden;
}
.nameplate__plate {
  background: var(--deep);
  color: #eaf1ee;
  padding: 26px 24px 22px;
  text-align: center;
  position: relative;
}
.nameplate__plate::after {
  content: "";
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  width: 34px; height: 2px; background: var(--ochre);
}
.nameplate__unvan { margin: 0; font-family: var(--mono); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: #9fb8b6; }
.nameplate__ad { margin: 5px 0 6px; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 400; letter-spacing: -.015em; }
.nameplate__dal { margin: 0 0 14px; font-size: .8rem; color: #b6cac7; letter-spacing: .04em; }

.nameplate__rows { margin: 0; padding: 6px 22px; }
.nameplate__rows > div { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.nameplate__rows > div:last-child { border-bottom: 0; }
.nameplate__rows dt { color: var(--teal); padding-top: 2px; }
.nameplate__rows dd { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink); }
.nameplate__rows dd a { text-decoration: none; font-size: 1rem; }

.nameplate__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 18px 18px; }
.nameplate--compact .nameplate__plate { padding: 20px 20px 18px; }

/* ---------- bölümler ---------- */

.section { padding-block: var(--pad); }
.section--tint { background: var(--tint); }
.section--paper { background: var(--paper); }

.pagehead { padding-block: clamp(24px, 4vw, 48px) clamp(8px, 2vw, 20px); position: relative; }
.pagehead::before {
  content: "";
  position: absolute; inset: 0 0 auto; height: 300px;
  background: linear-gradient(178deg, #e8efec 0%, rgba(238, 242, 239, 0) 100%);
  pointer-events: none;
}
.pagehead__grid { position: relative; display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.pagehead--media .pagehead__grid { grid-template-columns: minmax(0, 1.25fr) minmax(230px, .75fr); }
.pagehead__text { max-width: 66ch; }
.pagehead .lead { margin-bottom: 0; }
@media (max-width: 860px) {
  .pagehead--media .pagehead__grid { grid-template-columns: 1fr; }
  .pagehead__media { max-width: 360px; }
}

/* ---------- breadcrumb ---------- */

.crumbs { padding-top: clamp(16px, 3vw, 26px); }
.crumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
  font-size: .8rem; color: var(--muted);
}
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-deep); text-decoration: underline; }
.crumbs .icon { color: var(--line); }
.crumbs [aria-current] { color: var(--strong); }

/* ---------- görseller ---------- */

.media {
  position: relative;
  overflow: hidden;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r);
  aspect-ratio: 3 / 2;
}
.media img { width: 100%; height: 100%; object-fit: cover; }

/* Merkez fotoğrafları kaynakta yanlardan siyah bantlı geldiği için
   %19 büyütülüp ortalanır — bantlar çerçevenin dışında kalır. */
.media--shot img {
  position: absolute; top: 50%; left: 50%;
  width: 119%; height: auto;
  max-width: none;
  object-fit: unset;
  transform: translate(-50%, -50%);
}

.media--portrait { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }

/* Sıcak tonlu stok görselleri paletle uyumlu hale getiren örtü */
.media--calm img { filter: saturate(.72) contrast(.96); }
.media--calm::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(47, 107, 106, .22), rgba(22, 51, 63, .1));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.figure { margin: 0; }
.figure figcaption {
  margin-top: 10px;
  font-size: .82rem;
  color: var(--muted);
  display: flex; align-items: flex-start; gap: .5em;
}
.figure figcaption .icon { color: var(--teal); margin-top: .15em; }

/* 4 sütun, ilk öğe 2×2: 5 fotoğrafta ızgara tam dolar (4 + 4 hücre = 8).
   4 fotoğrafta bir hücre boş kalacağı için sonuncusu iki sütuna yayılır —
   :last-child koşulu sayesinde 5'li dizilim bundan etkilenmez. */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery li:nth-child(1) .media { aspect-ratio: 1 / 1; height: 100%; }
.gallery li:nth-child(4):last-child { grid-column: span 2; }
.gallery li:nth-child(4):last-child .media { aspect-ratio: 2 / 1; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery li:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery li:nth-child(1) .media { aspect-ratio: 3 / 2; }
  .gallery li:nth-child(4):last-child .media { aspect-ratio: 3 / 2; }
}

/* 6 öğe var: 300px eşiği 1280'lik konteynerde 3 sütun verir → düzgün 3+3.
   240px olsaydı 4+2 dizilip dengesiz görünürdü. */
.press { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(18px, 3vw, 30px); }
.press__title { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; color: var(--strong); margin: 14px 0 .3em; letter-spacing: -.01em; }
.press__desc { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- prose ---------- */

.prose { color: var(--ink); }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1.15em; }
.prose h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.35rem; letter-spacing: -.012em; color: var(--strong);
  margin: 2.1em 0 .55em;
}
.prose h4 { font-size: 1rem; font-weight: 600; color: var(--strong); margin: 1.8em 0 .4em; }
.prose ul, .prose ol { margin: 0 0 1.35em; padding-left: 0; list-style: none; }
.prose ol { counter-reset: n; }
.prose li { position: relative; padding-left: 24px; margin-bottom: .55em; }
.prose ul > li::before {
  content: ""; position: absolute; left: 3px; top: .72em;
  width: 6px; height: 6px; background: var(--teal); border-radius: 50%;
}
.prose ol > li { counter-increment: n; }
.prose ol > li::before {
  content: counter(n) "."; position: absolute; left: 0; top: 0;
  font-family: var(--mono); font-size: .8rem; color: var(--teal); padding-top: .32em;
}
.prose strong { font-weight: 600; color: var(--strong); }

/* Not kutusu — sol kenarlık yok; ince tam çerçeve + ikon rozeti */
.prose .note {
  display: grid; grid-template-columns: 22px 1fr; gap: 14px;
  background: rgba(192, 129, 47, .07);
  border: 1px solid rgba(192, 129, 47, .3);
  border-radius: var(--r);
  padding: 18px 20px;
  margin: 1.9em 0;
  font-size: .95rem;
  color: var(--muted);
}
.prose .note .icon { color: var(--ochre); margin-top: .2em; }
.prose .note strong { color: var(--strong); }
.prose .note p { margin: 0; }
.prose .note ul { margin: .6em 0 0; }

.prose .cols { columns: 2; column-gap: 44px; }
.prose .cols ul { margin-bottom: 0; }
.prose .cols li { break-inside: avoid; }
@media (max-width: 620px) { .prose .cols { columns: 1; } }

.map {
  margin: 0 0 1.6em;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--tint);
  aspect-ratio: 16 / 8;
  min-height: 280px;
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Onay verilene kadar harita yerine bu panel durur */
.map--gated { display: grid; place-items: center; padding: 28px; text-align: center; }
.map__ask { max-width: 44ch; }
.map__ask .icon { color: var(--teal); margin-bottom: 12px; }
.map__title { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--strong); margin: 0 0 .4em; }
.map__text { font-size: .9rem; color: var(--muted); margin: 0 0 18px; }
.map__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- satır listesi ---------- */

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 6px 16px;
  align-items: baseline;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .18s var(--ease), padding-left .18s var(--ease);
}
.row:hover { background: rgba(255, 255, 255, .55); padding-left: 12px; }
.row__icon { color: var(--teal); align-self: start; margin-top: 3px; }
.row__main { min-width: 0; }
.row__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.42rem); letter-spacing: -.012em;
  color: var(--strong); margin: 0 0 .3em;
}
.row__title a { color: inherit; text-decoration: none; }
.row__title a:hover { color: var(--teal); }
.row__desc { margin: 0; color: var(--muted); font-size: .98rem; max-width: 62ch; }
.row__meta { margin: 0; color: var(--teal); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 640px) {
  .row { grid-template-columns: 30px 1fr; }
  .row__meta { grid-column: 2; }
}

/* ---------- adımlar ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step { background: var(--tint); padding: 28px 24px 30px; }
.step__no { display: block; font-size: .78rem; color: var(--ochre); letter-spacing: .18em; margin-bottom: 16px; }
.step__title { font-family: var(--serif); font-weight: 500; font-size: 1.16rem; color: var(--strong); margin: 0 0 .45em; letter-spacing: -.01em; }
.step__desc { margin: 0; font-size: .93rem; color: var(--muted); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- künye ---------- */

.facts { margin: 0; display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.fact { background: var(--mist); display: grid; grid-template-columns: minmax(160px, 250px) 1fr; gap: 12px 40px; padding: 22px 4px; }
.fact dt { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.fact dd { margin: 0; color: var(--ink); }
@media (max-width: 640px) { .fact { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- alıntı (sol kenarlık yerine üst çizgi) ---------- */

.quote { margin: 0 auto; text-align: center; max-width: 42ch; }
.quote::before { content: ""; display: block; width: 46px; height: 2px; background: var(--ochre); margin: 0 auto 26px; }
.quote blockquote {
  margin: 0 0 .9em;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.42; letter-spacing: -.014em;
  color: var(--strong);
}
.quote figcaption { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- SSS ---------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif); font-size: clamp(1.08rem, 1.8vw, 1.25rem); font-weight: 500;
  color: var(--strong);
  letter-spacing: -.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--teal); transition: transform .22s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--teal-deep); }
.faq__a { padding: 0 2px 24px; color: var(--muted); max-width: 68ch; }
.faq__a p { margin: 0 0 .9em; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- iletişim ---------- */

.contact__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__lines { margin-top: 26px; display: grid; gap: 12px; }
.contact__lines p { margin: 0; display: flex; align-items: center; gap: .6em; }
.contact__lines .icon { color: var(--teal); }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- form ---------- */

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 500; color: var(--strong); }
.field .req { color: var(--ochre); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .96rem;
  padding: .78em .9em;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa9ad; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47, 107, 106, .14);
}
.field__error { font-size: .82rem; color: #a8402f; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #a8402f; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form__note { font-size: .82rem; color: var(--muted); margin: 0; }

.alert { padding: 16px 18px; border-radius: var(--r); font-size: .93rem; display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-bottom: 22px; }
.alert p { margin: 0; }
.alert--ok { background: rgba(47, 107, 106, .1); border: 1px solid rgba(47, 107, 106, .35); color: var(--teal-deep); }
.alert--warn { background: rgba(192, 129, 47, .09); border: 1px solid rgba(192, 129, 47, .35); color: #7a5316; }

/* ---------- CTA ---------- */

.cta { background: var(--deep); color: #dfe9e5; padding-block: clamp(48px, 6vw, 76px); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px 48px; align-items: center; }
.cta__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.15; letter-spacing: -.018em; color: #fff; margin: 0 0 .4em; text-wrap: balance; }
.cta__desc { margin: 0; color: #a8bfbc; max-width: 54ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; } }

/* ---------- etiketler ---------- */

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .55em 1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: .88rem;
  color: var(--ink);
  text-decoration: none;
}
.chip:hover { border-color: var(--teal); color: var(--teal-deep); background: #fff; }

/* ---------- footer ---------- */

.foot { background: var(--deep); color: #a9c1bf; padding-top: clamp(48px, 6vw, 76px); font-size: .92rem; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 40px; padding-bottom: 44px; }
.foot__logo { height: 34px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .92; }
.foot__about p { margin: 0; max-width: 40ch; }
.foot__col h3 { font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #7f9c99; margin: 0 0 16px; font-weight: 500; }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: #cfdedb; text-decoration: none; }
.foot a:hover { color: var(--ochre); text-decoration: underline; }
.foot address { font-style: normal; margin: 0 0 16px; line-height: 1.6; }
.foot__social { display: flex; gap: 10px; margin-top: 16px; }
.foot__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r);
}
.foot__social a:hover { border-color: var(--ochre); background: rgba(255, 255, 255, .05); }

.foot__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 20px;
  font-size: .8rem; color: #7f9c99;
}
.foot__base p { margin: 0; }
.foot__note { max-width: 60ch; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot__maker {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 16px 20px;
  font-size: .78rem; color: #6d8a87;
  display: flex; justify-content: center; align-items: center; gap: .4em;
}
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- mobil hızlı iletişim ---------- */

.dock { display: none; }
@media (max-width: 720px) {
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-dock);
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dock__btn {
    display: flex; align-items: center; justify-content: center; gap: .5em;
    padding: 15px 10px;
    font-weight: 600; font-size: .95rem;
    text-decoration: none;
  }
  .dock__btn--call { background: var(--deep); color: #fff; }
  .dock__btn--wa { background: var(--paper); color: var(--strong); }
  .foot__maker { padding-bottom: 76px; }
}

/* ---------- yukarı çık ---------- */

.totop {
  position: fixed; right: 20px; bottom: 24px; z-index: var(--z-totop);
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  background: var(--paper); color: var(--strong);
  border: 1px solid var(--line); border-radius: 50%;
  box-shadow: 0 8px 24px rgba(22, 51, 63, .14);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s, background .18s var(--ease);
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--deep); color: #fff; border-color: var(--deep); }
@media (max-width: 720px) { .totop { bottom: 78px; right: 14px; } }

/* ---------- çerez onayı ---------- */

.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: var(--z-consent);
  max-width: 560px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(22, 51, 63, .22);
  padding: 22px 24px;
  transform: translateY(20px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.consent.is-open { opacity: 1; visibility: visible; transform: none; }
.consent__title { font-family: var(--serif); font-weight: 500; font-size: 1.16rem; color: var(--strong); margin: 0 0 .4em; display: flex; align-items: center; gap: .5em; }
.consent__text { margin: 0 0 18px; font-size: .9rem; color: var(--muted); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 720px) { .consent { bottom: 80px; } }

/* ---------- hareket ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal--d2 { transition-delay: .1s; }
.reveal.is-in { opacity: 1; transform: none; }

/* Geliştirmede <html class="force-motion"> basılır → bu blok uygulanmaz,
   yapılan animasyon Windows'ta hareket kapalı olsa da görünür. */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) { scroll-behavior: auto; }
  html:not(.force-motion) *,
  html:not(.force-motion) *::before,
  html:not(.force-motion) *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .15s !important;  /* 0 değil — opaklık geçişi kalsın */
    scroll-behavior: auto !important;
  }
  html:not(.force-motion) .reveal { transform: none; }
  html:not(.force-motion) .btn:hover { transform: none; }
  html:not(.force-motion) .row:hover { padding-left: 4px; }
}

/* ---------- gece ---------- */

/* Gece modu. Tek kural: --deep koyu kalır (yüzey), --strong açılır (metin).
   Yüzeyler mist → tint → paper sırasıyla kademeli açılır ki kart, buton ve
   bölüm zeminleri birbirinden ayırt edilebilsin. */
@media (prefers-color-scheme: dark) {
  :root {
    --deep: #0a171c;   /* yüzey — footer, CTA, üst şerit, tabela plakası */
    --strong: #e9f2ef; /* metin — başlıklar, buton yazısı */
    --ink: #dde7e4;
    --muted: #97adac;
    --mist: #101f24;   /* sayfa zemini */
    --tint: #16292f;   /* ikinci zemin */
    --paper: #1c3039;  /* kart ve buton yüzeyi — tint'ten bir kademe açık */
    --line: #2b444c;
    --line-soft: #22363d;
    --teal: #77b9b1;
    --teal-deep: #96cec6;
    --ochre: #d9a44f;
    --header-bg: rgba(16, 31, 36, .88);
  }
  html { scrollbar-color: #3c5a60 var(--tint); }
  ::-webkit-scrollbar-thumb { background: #3c5a60; }
  ::selection { background: var(--ochre); color: #10202a; }

  /* Koyu zeminde dolgu butonlar açık renk olmalı */
  .btn--solid { --bg: var(--teal); --fg: #08171b; --bd: var(--teal); }
  .btn--solid:hover { --bg: var(--teal-deep); --bd: var(--teal-deep); color: #08171b; }
  .btn--ochre { --bg: var(--ochre); --fg: #1b1405; --bd: var(--ochre); }
  .dock__btn--call { background: var(--teal); color: #08171b; }
  .totop:hover { background: var(--teal); color: #08171b; border-color: var(--teal); }

  .masthead { background: var(--mist); }
  .hero::before, .pagehead::before { background: linear-gradient(178deg, #172c33 0%, rgba(16, 31, 36, 0) 100%); }
  .hero__portrait { background: linear-gradient(168deg, #1a3038, #101f24 70%); }
  .row:hover { background: rgba(255, 255, 255, .04); }
  .step { background: #14262c; }
  .fact { background: var(--mist); }
  .brand__logo, .nav__head img { filter: brightness(0) invert(.92); }
  .foot__logo { opacity: .8; }
  .map iframe { filter: invert(.92) hue-rotate(180deg) saturate(.72); }
  .media--calm img { filter: saturate(.6) contrast(.94) brightness(.9); }
  .alert--warn { color: #e0b169; }
}

@media print {
  .topbar, .masthead, .dock, .cta, .btn, .totop, .consent, .nav__backdrop { display: none !important; }
  body { background: #fff; color: #000; }
}
