/* ============================================================
   OncuConsultancy - Tasarım Sistemi (v2 - siyah tema)
   ============================================================ */

:root {
  /* Renkler - saf/soğuk siyah, kahverengi ton yok */
  --black: #0a0a0a;
  --black-soft: #141414;
  --black-line: rgba(255, 255, 255, 0.10);
  --black-line-strong: rgba(255, 255, 255, 0.18);

  --cream: #f7f5f0;
  --cream-deep: #ece8de;

  --gold: #c9a35f;
  --gold-deep: #a17c3d;
  --gold-soft: rgba(201, 163, 95, 0.14);

  --ink: #171512;
  --ink-soft: #5c574f;
  --line: rgba(23, 21, 18, 0.13);

  --font-display: "Libre Caslon Text", Georgia, serif;
  --font-body: "Work Sans", -apple-system, Segoe UI, sans-serif;
  --font-script: "Dancing Script", cursive;

  --container: 1220px;
  --radius-sm: 2px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* body'deki overflow-x:hidden bazı mobil tarayıcılarda yetmiyor — sayfa aslen
     html (document) elemanı üzerinden kaydırıldığı için ek bir güvenlik önlemi.
     NOT: burada bilerek "hidden" DEĞİL "clip" kullanıyoruz. "hidden" (scroll/auto
     gibi) bir kaydırma konteyneri (scroll container) oluşturuyor ve overflow-y
     "visible" olsa bile CSS spesifikasyonu gereği örtük olarak "auto"ya dönüşüyor;
     bu da header'daki position:sticky'nin artık viewport'a değil bu yeni konteynere
     göre hesaplanmasına ve "menü scroll'da kayboluyor" şikayetine yol açıyordu.
     "clip" ise kaydırmaya hiç izin vermediği için böyle bir konteyner oluşturmuyor —
     yatay taşma engellenirken sticky header sorunsuz çalışmaya devam ediyor. */
  overflow-x: clip;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  /* bkz. yukarıdaki html{} kuralındaki not — aynı "clip" tercihi burada da geçerli
     (position:sticky header ile çakışmaması için "hidden" kullanılmıyor). */
  overflow-x: clip;
  /* Flex/grid item'ların varsayılan min-width:auto davranışı yüzünden uzun/kırılmasız
     bir kelime (ör. uzun bir e-posta adresi, kısa çizgisiz uzun bir hizmet adı) bir
     hücreyi viewport'tan geniş tutup yatay kaymaya (mobil "kayma" şikayeti) yol
     açabiliyor — header'daki grid düzeltmesi bunu sadece header için çözüyordu. Bu
     satır tüm site genelinde ek bir güvenlik önlemi olarak metnin gerektiğinde
     kelime ortasından da sarmasına izin veriyor. */
  overflow-wrap: break-word;
  word-break: break-word;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  margin: 0;
  letter-spacing: -0.005em;
}
p { line-height: 1.65; margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* Sabit header'ın anchor hedeflerini kapatmasını önler (ör. #checkup) */
section[id] { scroll-margin-top: 110px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow--light { color: var(--gold); }

.tm { font-size: 0.6em; vertical-align: super; }

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-deep); transform: translateY(-1px); }

.btn--outline-dark {
  background: transparent; color: var(--cream); border-color: var(--black-line-strong);
}
.btn--outline-dark:hover { border-color: var(--gold); color: var(--gold); }

.btn--outline-light {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn--outline-light:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

.btn--sm { padding: 11px 18px; font-size: 13.5px; }
.btn__arrow { transition: transform 160ms ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ============ HEADER (düzeltilmiş - taşma/alt-alta binme yok) ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  min-height: var(--header-h);
  display: flex; align-items: center;
  padding: 14px 0;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--black-line);
}
.site-header__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand { color: var(--cream); min-width: 0; }
.brand__name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; letter-spacing: 0.04em;
  white-space: nowrap;
}
.brand__tagline {
  display: block;
  font-size: 10.5px;
  color: var(--gold);
  margin-top: 3px;
  letter-spacing: 0.03em;
  white-space: normal;
  max-width: 230px;
  line-height: 1.35;
}

.main-nav__links {
  display: flex; justify-content: center; align-items: center;
  gap: 22px; list-style: none; margin: 0; padding: 0;
  min-width: 0;
}
.main-nav__links li { white-space: nowrap; }
.main-nav__links a {
  font-size: 14px;
  color: rgba(247, 245, 240, 0.82);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}
.main-nav__links a:hover { color: var(--gold); border-color: rgba(201,163,95,0.5); }
.main-nav__links a.active { color: var(--gold); border-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 16px; }

/* Dil değiştirici (TR/EN) — bkz. _Layout.cshtml. İki seçenekli tek parça "menü" görünümü;
   aktif dil vurgulu, diğeri tıklanabilir link. */
.lang-switch {
  display: inline-flex; align-items: center;
  height: 30px; padding: 2px;
  border: 1px solid rgba(201,163,95,0.45); border-radius: 8px;
  overflow: hidden;
}
.lang-switch__option {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 100%; padding: 0 8px;
  border-radius: 6px;
  color: var(--cream); font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em;
  transition: color 150ms ease, background-color 150ms ease;
}
.lang-switch__option:hover { color: var(--gold); }
.lang-switch__option.is-active { color: var(--ink); background: var(--gold); }
.lang-switch--mobile { margin-bottom: 12px; align-self: center; }

.nav-toggle {
  display: none;
  background: none; border: none; color: var(--cream);
  padding: 6px; cursor: pointer;
}
.nav-toggle svg { display: block; }

@media (max-width: 1180px) {
  .main-nav__links { gap: 16px; }
  .main-nav__links a { font-size: 13.5px; }
  .brand__tagline { max-width: 190px; }
}

@media (max-width: 980px) {
  /* "auto auto" iki sütun da içeriğine göre BÜYÜYEBİLDİĞİ (grid, min-content'in altına
     küçülmez) için dar telefonlarda ("ÖNCÜ CONSULTANCY" nowrap logo metni + TR|EN dil
     seçici + hamburger ikonu bir arada) toplam genişlik viewport'u aşıyor ve tüm sayfa
     yatayda kayabiliyordu (bildirilen "mobilde görünümde kayma" hatası budur). İlk
     sütunu minmax(0,1fr) yaparak marka alanının küçülüp gerekirse kısaltılmasına
     (aşağıdaki text-overflow: ellipsis) izin veriyoruz; ikinci sütun (dil seçici +
     hamburger) sabit genişliğinde kalıyor. */
  .site-header__inner { grid-template-columns: minmax(0, 1fr) auto; padding: 0 20px; column-gap: 14px; }
  /* Önceden sadece .main-nav__links (menü linkleri <ul>'ı) gizleniyordu, ama onu saran
     <nav class="main-nav"> BOŞ da olsa grid'de ayrı bir hücre olarak kalmaya devam
     ediyordu. Grid'de 3 öğe (brand, main-nav, header-actions) varken yukarıda SADECE
     2 sütun tanımlı olduğu için 3. öğe (dil seçici + hamburger'ı içeren header-actions)
     otomatik olarak İKİNCİ SATIRA taşıyordu — "dil seçimi/menü ikonu sağ üstte değil,
     logonun altında ayrı bir satırda" şikayetinin kök nedeni buydu. <nav>'ın tamamını
     gizleyince grid'de yalnızca 2 öğe kalıyor ve yukarıdaki "minmax(0,1fr) auto" ile
     tam olarak eşleşip tek satırda kalıyor. */
  .main-nav { display: none; }
  .header-actions { gap: 10px; }
  .header-actions .btn--gold { display: none; }
  .nav-toggle { display: flex; }
  .brand { min-width: 0; }
  .brand__name { display: block; overflow: hidden; text-overflow: ellipsis; }
  /* Mobilde tam unvan ("Restoran İşletme Performansı ve Kârlılık Danışmanı") artık
     gizlenmiyor — sadece dar ekrana göre biraz küçültülüp genişliği kısıtlanıyor. */
  .brand__tagline { display: block; font-size: 9.5px; max-width: 100%; margin-top: 2px; }
}

@media (max-width: 360px) {
  .site-header__inner { padding: 0 14px; }
  .lang-switch__option { min-width: 26px; padding: 0 6px; font-size: 12px; }
}

/* Mobil tam ekran menü */
.mobile-nav {
  position: fixed; inset: 0; z-index: 60;
  background: var(--black);
  display: flex; flex-direction: column;
  padding: 24px 28px 40px;
  transform: translateY(-100%);
  transition: transform 280ms ease;
}
.mobile-nav.is-open { transform: translateY(0); }

.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav__close { background: none; border: none; color: var(--cream); padding: 6px; cursor: pointer; }

.mobile-nav__links {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-nav__links li { border-bottom: 1px solid var(--black-line); }
.mobile-nav__links a {
  display: block; padding: 16px 4px;
  font-family: var(--font-display);
  font-size: 24px; color: var(--cream);
  border-left: 3px solid transparent;
}
.mobile-nav__links a:hover { color: var(--gold); }
.mobile-nav__links a.active { color: var(--gold); border-left-color: var(--gold); padding-left: 14px; }

.mobile-nav__cta { margin-top: auto; padding-top: 32px; }
.mobile-nav__cta .btn { width: 100%; justify-content: center; }

/* ============ HERO ============ */
.hero { position: relative; background: var(--black); color: var(--cream); overflow: hidden; }
.hero__bg {
  position: absolute; inset: -6% -6%;
  background-size: cover; background-position: center;
  /* Not: Bu değer sırasıyla 0.30 -> 0.55 idi. Birkaç kişi ana sayfanın arka plan
     fotoğrafının "çok karanlık kaldığını" bildirdi — asıl sorun aşağıdaki scrim
     gradyanının sağ/orta bölgede hâlâ koyu kalmasıydı. Fotoğrafın kendisini daha
     görünür kılmak için opaklık 0.72'ye çıkarıldı; okunabilirlik metnin durduğu SOL
     tarafta scrim ile korunuyor (bkz. altındaki .hero__scrim). */
  opacity: 0.72;
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0;
  /* Sol taraf (başlık/metin) okunabilirlik için koyu kalmaya devam ediyor; orta ve
     özellikle SAĞ taraf (fotoğrafın en görünür olması gereken kısmı — masalar,
     insanlar) eskiden 0.4/0.72 idi, yani neredeyse başlık kadar karanlıktı. Şimdi
     0.28/0.42 ile fotoğraf belirgin şekilde daha görünür, yine de düz beyaz/altın
     metin üstünde okunaklı kalacak kadar koyuluk korunuyor. */
  background: linear-gradient(100deg, rgba(10,10,10,0.88) 30%, rgba(10,10,10,0.28) 62%, rgba(10,10,10,0.42) 100%);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 48px; align-items: center;
  padding: 96px 32px 84px;
  max-width: var(--container); margin: 0 auto;
}
.hero__title { font-size: clamp(32px, 4.4vw, 52px); max-width: 16ch; margin-top: 12px; }
.hero__lead { margin-top: 22px; max-width: 48ch; color: rgba(247,245,240,0.82); font-size: 16.5px; }
.hero__cta-group { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__cta-secondary { font-size: 14.5px; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; }
.hero__cta-secondary:hover { color: var(--cream); }

.hero__signature { margin-top: 44px; display: flex; align-items: center; gap: 16px; }
.hero__signature-name { font-family: var(--font-script); font-size: 32px; font-weight: 600; color: var(--gold); }
.hero__signature-role { font-size: 13px; color: rgba(247,245,240,0.6); }

.hero__portrait { position: relative; will-change: transform; }
.hero__portrait img { border-radius: var(--radius-sm); aspect-ratio: 4 / 5; object-fit: cover; }
.hero__quote {
  position: absolute; top: -18px; right: -18px; max-width: 220px;
  background: var(--black-soft); border: 1px solid var(--black-line-strong);
  padding: 18px 20px;
  font-family: var(--font-display); font-style: italic; font-size: 15px;
  color: var(--cream); line-height: 1.4;
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 56px; }
  .hero__portrait { order: -1; max-width: 300px; }
  .hero__quote { display: none; }
}

/* Değerler şeridi */
.values-strip { border-bottom: 1px solid var(--line); background: var(--cream-deep); }
.values-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--container); margin: 0 auto; }
.value-item { display: flex; align-items: center; gap: 14px; padding: 26px 28px; border-left: 1px solid var(--line); }
.value-item:first-child { border-left: none; }
.value-item__icon {
  width: 38px; height: 38px; border: 1px solid var(--gold-deep); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--gold-deep); flex-shrink: 0;
}
.value-item__label { font-size: 14.5px; font-weight: 500; }

@media (max-width: 860px) {
  .values-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .value-item { border-left: none; border-top: 1px solid var(--line); }
}

/* Genel section */
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--dark { background: var(--black); color: var(--cream); }
.section__head { max-width: 640px; margin-bottom: 44px; }
.section__title { font-size: clamp(26px, 3vw, 36px); margin-top: 12px; }
.section__title--accent { color: var(--gold-deep); }
.section--dark .section__title--accent { color: var(--gold); }
.section__lead { margin-top: 16px; color: var(--ink-soft); max-width: 56ch; }
.section--dark .section__lead { color: rgba(247,245,240,0.72); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Problem alanı */
.problem-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.problem-grid__text p { color: var(--ink-soft); margin-top: 18px; max-width: 46ch; }
.problem-grid__text .btn { margin-top: 28px; }

.problem-panel { position: relative; background: var(--black); color: var(--cream); display: grid; grid-template-columns: 1fr 1fr; }
.problem-panel__image { background-size: cover; background-position: center; min-height: 320px; }
.problem-panel__list { padding: 30px 26px; }
.problem-panel__item { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--black-line); font-size: 14.5px; }
.problem-panel__item:last-child { border-bottom: none; }
.problem-panel__item svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }

@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-panel { grid-template-columns: 1fr; }
  .problem-panel__image { min-height: 200px; }
}

/* Bütünsel yaklaşım */
.approach-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.approach-grid__text p { color: var(--ink-soft); margin-top: 18px; max-width: 42ch; }
.approach-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.approach-card { border: 1px solid var(--line); padding: 28px 24px; background: var(--cream); }
.approach-card__icon {
  width: 42px; height: 42px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.approach-card__title { font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; }
.approach-card p { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .approach-grid { grid-template-columns: 1fr; }
  .approach-cards { grid-template-columns: 1fr; }
}

/* Ticari mimari süreci: ÖLÇ -> TEŞHİS ET -> GELİŞTİR -> BÜYÜT */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 52px; }
.process-step { position: relative; padding: 8px 0; }
.process-step:not(:last-child)::after {
  content: "";
  position: absolute; top: 22px; right: -27px; width: 1px; height: calc(100% - 30px);
  background: var(--black-line-strong);
}
.process-step__num {
  font-family: var(--font-display); font-size: 15px; color: var(--gold);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.process-step__num span:first-child {
  width: 30px; height: 30px; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0;
}
.process-step__title { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: rgba(247,245,240,0.68); }

@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .process-step:nth-child(2)::after { display: none; }
  .process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

/* Hizmetler */
.services-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; gap: 20px; flex-wrap: wrap; }
.services-head .section__head { margin-bottom: 0; }
.services-head__link { font-size: 14.5px; color: var(--gold-deep); white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { border: 1px solid var(--line); background: var(--cream); overflow: hidden; transition: border-color 160ms ease, transform 160ms ease; }
.service-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.service-card__image { height: 168px; background-size: cover; background-position: center; position: relative; }
.service-card__num {
  position: absolute; left: 16px; bottom: -18px;
  font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--cream);
  background: var(--black); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
}
.service-card__image--icon {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
  display: flex; align-items: center; justify-content: center;
}
.service-card__icon-wrap { color: var(--gold); opacity: 0.9; display: flex; }
.service-card__icon-wrap svg { width: 40px; height: 40px; }
.service-card__body { padding: 30px 22px 24px; }
.service-card__title { font-size: 17px; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 14px; }
.service-card__link { margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--gold-deep); display: inline-flex; gap: 6px; align-items: center; }

@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* Kâr Kaçağı Haritası */
.leak-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--black-line); }
.leak-card { background: var(--black); padding: 28px 22px; }
.leak-card--highlight { background: var(--black-soft); }
.leak-card__num { font-family: var(--font-display); font-size: 22px; color: var(--gold); }
.leak-card__title { margin-top: 10px; font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em; }
.leak-card__items { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.leak-card__items li { font-size: 13px; color: rgba(247,245,240,0.66); }

@media (max-width: 980px) { .leak-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .leak-grid { grid-template-columns: 1fr; } }

/* Yönetilebilir Kâr Potansiyeli - huni akışı */
.funnel { display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 560px; margin: 0 auto; }
.funnel-step {
  width: 100%; text-align: center; padding: 16px 20px;
  border: 1px solid var(--line); background: var(--cream); font-size: 14.5px;
}
.funnel-step--final { background: var(--gold); border-color: var(--gold); color: var(--black); font-weight: 600; font-size: 16px; }
.funnel-arrow { padding: 8px 0; color: var(--gold-deep); }

/* Patronun bilmesi gereken 10 rakam */
.metrics-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.metric-cell { background: var(--cream); padding: 26px 18px; text-align: center; }
.metric-cell__num { font-family: var(--font-display); font-size: 22px; color: var(--gold-deep); }
.metric-cell__label { margin-top: 8px; font-size: 13.5px; font-weight: 500; }

@media (max-width: 900px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); } }

/* Hakkımda sayfasındaki 4 sütunlu varyantlar (Rakamlarla Deneyim / Dört Adımlı Bir
   Disiplin). Önceden Hakkimda.cshtml'de doğrudan style="grid-template-columns:
   repeat(4,1fr)" INLINE olarak yazılıyordu — inline stil her zaman stylesheet
   kurallarını (aşağıdaki gibi @media içindekiler dahil) EZDİĞİ için mobilde de hep
   4 sütun kalıyor, metinler daracık hücrelere sıkışıp okunaksız/iç içe görünüyordu.
   Artık inline stil yerine bu sınıflar kullanılıyor, böylece responsive kurallar
   gerçekten çalışıyor. */
.metrics-grid--four,
.approach-cards--four { grid-template-columns: repeat(4, 1fr); }
/* NOT: base .approach-cards/.metrics-grid kurallarıyla AYNI kırılma noktalarını (900px)
   kullanıyoruz — farklı bir eşik seçilseydi, aynı özgüllükteki (tek sınıf) iki kural
   arada bir genişlik aralığında çakışıp dosyadaki SIRAYA göre (media query'den bağımsız
   olarak) hangisinin kazanacağı belirsizleşiyordu; bu da masaüstünde iyi görünüp belirli
   bir tablet genişliğinde tekrar 4 sütuna dönme gibi kırılgan bir sonuca yol açabilirdi. */
@media (max-width: 900px) {
  .metrics-grid--four { grid-template-columns: repeat(2, 1fr); }
  .approach-cards--four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .metrics-grid--four { grid-template-columns: 1fr 1fr; gap: 1px; }
  .approach-cards--four { grid-template-columns: 1fr; }
}

.approach-cards--two { grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 480px) {
  .approach-cards--two { grid-template-columns: 1fr; }
}

/* Kapanış CTA bandı */
.closing-cta { position: relative; background: var(--black); color: var(--cream); overflow: hidden; }
.closing-cta__bg { position: absolute; inset: -6%; background-size: cover; background-position: center; opacity: 0.55; will-change: transform; }
.closing-cta__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.88) 40%, rgba(10,10,10,0.45) 100%); }
.closing-cta__inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 88px 32px; max-width: var(--container); margin: 0 auto; }
.closing-cta__title { font-size: clamp(26px, 3.4vw, 38px); max-width: 13ch; }
.closing-cta__text { margin-top: 16px; color: rgba(247,245,240,0.78); max-width: 42ch; }
.closing-cta__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }
.closing-cta__quote { text-align: right; font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--gold); max-width: 20ch; margin-left: auto; }

@media (max-width: 860px) {
  .closing-cta__inner { grid-template-columns: 1fr; }
  .closing-cta__quote { text-align: left; margin-left: 0; }
}

/* Orta bant CTA (küçük, metin içi) */
.inline-cta {
  border: 1px solid var(--gold-deep);
  background: var(--gold-soft);
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.inline-cta__text h3 { font-size: 19px; }
.inline-cta__text p { margin-top: 6px; color: var(--ink-soft); font-size: 14px; }

/* Sayfa hero (iç sayfalar) */
.page-hero { position: relative; background: var(--black); color: var(--cream); padding: 80px 0 60px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: -6%; background-size: cover; background-position: center; opacity: 0.5; }
.page-hero__bg--icon {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
  display: flex; align-items: center; justify-content: center; opacity: 1;
}
.page-hero__icon-wrap { color: var(--gold); opacity: 0.4; }
.page-hero__icon-wrap svg { width: 120px; height: 120px; }
.page-hero__inner { position: relative; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); margin-top: 12px; max-width: 22ch; }
.page-hero p { margin-top: 16px; color: rgba(247,245,240,0.78); max-width: 54ch; }
.page-hero__cta { margin-top: 26px; }
.page-hero__proof {
  display: inline-block;
  border-left: 3px solid var(--gold);
  background: rgba(201,163,95,0.10);
  color: rgba(247,245,240,0.9);
  padding: 10px 18px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 62ch;
}
.page-hero__proof strong { color: var(--gold); }

/* ============ FOOTER (zenginleştirilmiş) ============ */
.site-footer { background: var(--black); color: rgba(247,245,240,0.62); }
.site-footer__cta {
  border-bottom: 1px solid var(--black-line);
  padding: 48px 0;
}
.site-footer__cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.site-footer__cta-inner h3 { color: var(--cream); font-size: 22px; max-width: 26ch; }
.site-footer__cta-inner p { color: rgba(247,245,240,0.6); margin-top: 8px; max-width: 40ch; font-size: 14px; }

.site-footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 56px 0 40px; }
.site-footer h4 { font-family: var(--font-body); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.site-footer ul a:hover { color: var(--gold); }
.site-footer__brand { color: var(--cream); font-family: var(--font-display); font-size: 20px; margin-bottom: 12px; }
.site-footer__desc { max-width: 32ch; font-size: 14px; line-height: 1.6; }

.footer-contact-item { display: flex; align-items: center; gap: 10px; }
.footer-contact-item svg { flex-shrink: 0; color: var(--gold); }
.footer-contact-item a { transition: color 150ms ease; }
.footer-contact-item a:hover { color: var(--gold); }

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-icon {
  width: 36px; height: 36px; border: 1px solid var(--black-line-strong); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--cream);
  transition: border-color 150ms ease, color 150ms ease;
}
.social-icon:hover { border-color: var(--gold); color: var(--gold); }

.site-footer__legal {
  display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 22px; border-top: 1px solid var(--black-line);
}
.site-footer__legal a { color: rgba(247,245,240,0.55); font-size: 12.5px; text-decoration: none; }
.site-footer__legal a:hover { color: var(--gold); }

.site-footer__bottom {
  display: flex; justify-content: space-between; padding: 22px 0; font-size: 13px; flex-wrap: wrap; gap: 10px;
}

.site-footer__powered-by {
  color: rgba(247,245,240,0.55);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-footer__powered-by:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

@media (max-width: 900px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer__top { grid-template-columns: 1fr; }
}

/* Form (iletişim) */
.form-field label { display:block; font-size:13.5px; margin-bottom:6px; color: var(--ink-soft); }
.form-field input, .form-field textarea {
  width:100%; padding:12px 14px; border:1px solid var(--line); font-family: var(--font-body);
  font-size: 14.5px; background: var(--cream); transition: border-color 150ms ease;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold-deep); }
.form-error { color: #b23b3b; font-size: 12.5px; margin-top: 4px; display: block; }
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .form-field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.alert-success { border:1px solid var(--gold); background: var(--gold-soft); padding: 18px 22px; margin-bottom: 32px; font-size: 14.5px; }

/* ============ Check-up promo widget (footer öncesi) ============ */
.checkup-widget {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center;
  background: var(--black); color: var(--cream);
  padding: 56px 48px;
}
.checkup-widget__desc { margin-top: 14px; color: rgba(247,245,240,0.75); max-width: 46ch; }
.checkup-widget__meta { display: flex; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.checkup-widget__meta span { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(247,245,240,0.62); }
.checkup-widget__cta { margin-top: 26px; }

.checkup-mock { background: var(--black-soft); border: 1px solid var(--black-line-strong); padding: 26px; }
.checkup-mock__label { font-size: 12px; color: rgba(247,245,240,0.55); text-transform: uppercase; letter-spacing: 0.08em; }
.checkup-mock__score { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.checkup-mock__score strong { font-family: var(--font-display); font-size: 42px; color: var(--gold); font-weight: 700; }
.checkup-mock__score span { font-size: 14px; color: rgba(247,245,240,0.5); }
.checkup-mock__bars { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.checkup-mock__bar-row { display: flex; align-items: center; gap: 10px; }
.checkup-mock__bar-label { width: 92px; flex-shrink: 0; font-size: 11.5px; color: rgba(247,245,240,0.6); }
.checkup-mock__bar-track { flex: 1; height: 6px; background: rgba(247,245,240,0.12); border-radius: 3px; overflow: hidden; }
.checkup-mock__bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  border-radius: 3px;
  /* width HTML'de zaten doğru yüzdeye ayarlı (bkz. CheckupSnapshot/Default.cshtml) —
     dolma animasyonu JS'e ihtiyaç duymadan SADECE CSS ile yapılıyor: transform:scaleX(0)
     olarak başlayıp @@keyframes ile scaleX(1)'e büyüyor. Böylece JS hiç çalışmasa veya
     herhangi bir yerde hata verse bile bar HER ZAMAN doğru genişlikte görünür — en kötü
     ihtimalle animasyonsuz belirir, asla "hiç görünmez" hale gelmez (bir önceki JS'e
     bağımlı sürümün riskiydi). */
  transform-origin: left center;
  animation: checkupBarFill 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.checkup-mock__bar-fill--good { background: linear-gradient(90deg, #3d7a52, #4f9668); }
.checkup-mock__bar-fill--mid { background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.checkup-mock__bar-fill--low { background: linear-gradient(90deg, #8f382d, #b2483b); }

@keyframes checkupBarFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Barları sırayla (art arda) doldurmak için art arda gecikme — en fazla 6 bar gösteriliyor. */
.checkup-mock__bar-row:nth-child(1) .checkup-mock__bar-fill { animation-delay: 0.05s; }
.checkup-mock__bar-row:nth-child(2) .checkup-mock__bar-fill { animation-delay: 0.15s; }
.checkup-mock__bar-row:nth-child(3) .checkup-mock__bar-fill { animation-delay: 0.25s; }
.checkup-mock__bar-row:nth-child(4) .checkup-mock__bar-fill { animation-delay: 0.35s; }
.checkup-mock__bar-row:nth-child(5) .checkup-mock__bar-fill { animation-delay: 0.45s; }
.checkup-mock__bar-row:nth-child(6) .checkup-mock__bar-fill { animation-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .checkup-mock__bar-fill { animation: none; }
}
.checkup-mock__bar-val { width: 24px; text-align: right; font-size: 11.5px; color: rgba(247,245,240,0.5); }
.checkup-mock__empty { margin-top: 20px; font-size: 13px; color: rgba(247,245,240,0.55); line-height: 1.6; }

@media (max-width: 900px) {
  .checkup-widget { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* ============ Testimonial bandı (ortalı) ============ */
.testimonial-band { background: var(--black-soft); padding: 52px 0; }
.testimonial-band__inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 26px; max-width: 760px; margin: 0 auto;
}
.testimonial-band__quote {
  font-family: var(--font-display); font-style: italic; color: var(--cream);
  font-size: clamp(19px, 2.2vw, 25px); line-height: 1.4;
}
.testimonial-band__author { font-family: var(--font-script); font-size: 28px; color: var(--gold); }
.testimonial-band__values { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.testimonial-band__value { text-align: center; }
.testimonial-band__value-icon {
  width: 40px; height: 40px; border: 1px solid var(--gold-deep); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  margin: 0 auto 8px;
}
.testimonial-band__value-label { font-size: 12px; color: rgba(247,245,240,0.7); max-width: 90px; }

/* ============ İçgörüler teaser kartları ============ */
.insights-teaser-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 20px; flex-wrap: wrap; }
.insights-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.insight-card { border: 1px solid var(--line); background: var(--cream); padding: 24px; transition: border-color 150ms ease, transform 150ms ease; }
.insight-card:hover { border-color: var(--gold-deep); transform: translateY(-2px); }
.insight-card__date { font-size: 12px; color: var(--ink-soft); }
.insight-card__title { margin-top: 10px; font-size: 16px; line-height: 1.3; }
.insight-card__link { margin-top: 16px; display: inline-flex; gap: 6px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--gold-deep); transition: gap 150ms ease; }
.insight-card:hover .insight-card__link { gap: 10px; }

@media (max-width: 860px) { .insights-teaser { grid-template-columns: 1fr; } }

/* İçgörüler LİSTESİ sayfasındaki (Home/Icgoruler.cshtml) kartlar — ana sayfadaki
   3'lük "teaser" önizlemesinden farklı olarak özet metni de gösteriyor. Önceden bu
   özet metninin altında "Devamını Oku" gibi bir aksiyon/CTA hiç yoktu, kart sadece
   düz bir metin bloğu gibi görünüyordu (bildirilen "oku falan gibi bir uyarı/buton
   konmalı" şikayeti buydu) — artık ana sayfadaki kartlarla AYNI ok'lu "Devamını Oku"
   linkini kullanıyor. display:flex + margin-top:auto ile bu link, özet metni ister
   1 satır ister 3 satır sürsün her zaman kartın en altına hizalanıyor, böylece aynı
   satırdaki kartların yükseklikleri farklı olsa bile linkler aynı çizgide kalıyor. */
.insight-card--full { display: flex; flex-direction: column; }
.insight-card--full .insight-card__summary {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insight-card--full .insight-card__link { margin-top: auto; padding-top: 16px; }

/* ============ Çalışmalarımız — proje/iş slider'ı (Views/Home/Calismalarimiz.cshtml) ============
   Sitede daha önce hiç slider/carousel yoktu; harici bir JS kütüphanesi (Swiper vb.)
   eklemek yerine, native CSS "scroll-snap" + birkaç satır JS (bkz. site.js) ile elle
   yapılmış, bağımlılıksız bir çözüm. Bu sayede sayfa hem daha hafif kalıyor hem de
   dokunmatik cihazlarda (mobil/tablet) tarayıcının kendi native kaydırma/snap
   davranışını kullanıyor — JS hiç çalışmasa bile (ör. bir hata olursa) slider yine de
   parmakla kaydırılabilir durumda kalır, sadece ok butonları çalışmaz. */
.portfolio-slider { position: relative; }
.portfolio-slider__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 4px;
  /* Kaydırma çubuğunu gizle (Firefox + WebKit) — görsel olarak temiz bir slider. */
  scrollbar-width: none;
}
.portfolio-slider__track::-webkit-scrollbar { display: none; }

.portfolio-card {
  flex: 0 0 auto;
  width: clamp(260px, 32vw, 360px);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: var(--cream);
  overflow: hidden;
  transition: border-color 150ms ease, transform 150ms ease;
}
.portfolio-card:hover { border-color: var(--gold-deep); transform: translateY(-2px); }
.portfolio-card__image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-deep); }
.portfolio-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-card__body { padding: 18px 20px 22px; }
.portfolio-card__title { font-size: 16.5px; line-height: 1.3; }
.portfolio-card__desc { margin-top: 8px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.55; }

/* Ok butonları, track'in SOL/SAĞ kenarında, dikeyde ortalanmış şekilde YÜZÜYOR
   (absolute) — bu sayede mobilde ekstra bir satır/yer kaplamıyor ve masaüstünde de
   kartların üzerine hafifçe biner (görsellerin üstünde okunaklı kalması için beyaz
   zemin + hafif gölge). */
.portfolio-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}
.portfolio-slider__nav:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.portfolio-slider__nav--prev { left: -14px; }
.portfolio-slider__nav--next { right: -14px; }
@media (max-width: 720px) {
  /* Dar ekranda oklar taşmasın diye track'in biraz içine alınıyor. */
  .portfolio-slider__nav { width: 38px; height: 38px; }
  .portfolio-slider__nav--prev { left: 2px; }
  .portfolio-slider__nav--next { right: 2px; }
}

/* ============ Hizmet detay sayfaları ============ */
.service-detail__lede { font-size: 18px; color: var(--ink); font-family: var(--font-display); font-style: italic; max-width: 60ch; }
.service-detail__body p { color: var(--ink-soft); max-width: 68ch; margin-top: 16px; }
.service-detail__body p:first-child { margin-top: 0; }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.checklist li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.checklist li:last-child { border-bottom: none; }
.checklist li svg { flex-shrink: 0; color: var(--gold-deep); margin-top: 3px; }
/* Admin panelden düz metin/basit HTML olarak girilen listeler için otomatik onay işareti
   (içerik artık admin tarafından yazılıyor, elle svg eklemesi beklenmiyor) */
.checklist li::before { content: "✓"; flex-shrink: 0; color: var(--gold-deep); font-weight: 700; }

.qna-list { display: flex; flex-direction: column; gap: 1px; background: var(--black-line); }
.qna-list__item { background: var(--black); padding: 20px 24px; font-family: var(--font-display); font-size: 17px; color: var(--cream); }

.side-card { border: 1px solid var(--line); background: var(--cream-deep); padding: 28px; position: sticky; top: 110px; }
.side-card h4 { font-size: 14px; }
.side-card .btn { width: 100%; justify-content: center; margin-top: 18px; }

.detail-grid { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: 56px; align-items: start; }
@media (max-width: 960px) {
  .detail-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
}

/* ---------- Bot tuzağı (honeypot) — gerçek kullanıcılara görünmez ---------- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
  opacity: 0;
}

/* ---------- Restoran Performans Check-up sihirbazı ---------- */
.checkup-wizard-shell { max-width: 760px; }

.checkup-progress { margin-bottom: 36px; }
.checkup-progress__track { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.checkup-progress__fill { height: 100%; width: 0%; background: var(--gold-deep); transition: width 0.35s ease; }
.checkup-progress__meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: var(--ink-soft); }

.checkup-step { border: 0; padding: 0; margin: 0; display: none; }
.checkup-step.is-active { display: block; animation: checkupFadeIn 0.3s ease; }
@keyframes checkupFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.checkup-step__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.checkup-step__code {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--black); color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 15px;
}
.checkup-step__head h2 { font-size: 22px; margin: 0 0 6px; }
.checkup-step__head p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.checkup-question { padding: 22px 0; border-bottom: 1px solid var(--line); }
.checkup-question:last-child { border-bottom: none; }
.checkup-question__text { font-size: 15.5px; margin: 0 0 14px; }

.checkup-scale { display: flex; gap: 10px; }
.checkup-scale__option {
  position: relative; flex: 1; text-align: center; padding: 10px 0;
  border: 1px solid var(--line); border-radius: 6px; cursor: pointer;
  font-family: var(--font-display); font-size: 15px; transition: all 0.15s ease;
}
.checkup-scale__option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.checkup-scale__option:has(input:checked) { background: var(--black); color: var(--cream); border-color: var(--black); }
.checkup-scale__labels { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-soft); margin-top: 6px; }

.checkup-wizard__nav { display: flex; justify-content: space-between; margin-top: 36px; }
.checkup-wizard__nav > *:only-child { margin-left: auto; }

.checkup-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
/* position:relative + width:100% (sabit piksel DEĞİL) — Chart.js'in "responsive:true"
   ayarıyla birlikte çalışan, resmi olarak önerilen kalıp: canvas'a artık Sonuc.cshtml'de
   sabit width/height attribute'u YOK, bu yüzden Chart.js grafiği bu kutunun GERÇEK
   genişliğine göre ölçekliyor. min-width:0, grid/flex içindeki canvas'ların kutudan
   taşıp mobilde yatay kaymaya (sağdaki etiketlerin ekran dışına çıkmasına) sebep olan
   klasik tarayıcı davranışını engelliyor. */
.checkup-result-chart { position: relative; width: 100%; max-width: 440px; margin: 0 auto; min-width: 0; }
@media (max-width: 900px) {
  .checkup-result-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  /* Küçük telefonlarda 440px'lik tam boy yerine ekrana daha rahat sığan bir üst sınır —
     10 kategori etiketinin (ör. "Finansal Performans ve Kârlılık") kenarlardan taşmasını
     azaltır. */
  .checkup-result-chart { max-width: 300px; }
}

.checkup-result-highlights { display: flex; flex-direction: column; gap: 14px; }
.checkup-result-highlight {
  border: 1px solid var(--line); border-left: 3px solid var(--gold-deep);
  padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; background: var(--cream-deep);
}
.checkup-result-highlight strong { font-family: var(--font-display); font-size: 17px; }
.checkup-result-highlight--warning { border-left-color: #b23b3b; }

/* ---------- Hukuki metin sayfaları (KVKK, Gizlilik, Çerez, Kullanım Şartları) ---------- */
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 21px; margin: 40px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 16px; margin: 24px 0 10px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.03em; }
.legal-content p { color: var(--ink-soft); margin-top: 12px; }
.legal-content ul, .legal-content ol { margin: 12px 0 0; padding-left: 22px; color: var(--ink-soft); }
.legal-content li { margin-bottom: 8px; line-height: 1.6; }
.legal-content strong { color: var(--ink); }
.legal-content .legal-updated { font-size: 13px; color: var(--ink-soft); margin-bottom: 30px; }

/* ---------- Sabit aksiyonlar: WhatsApp + Sayfa Başına Dön ---------- */
.fixed-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.whatsapp-btn {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  border: 1px solid var(--black-line-strong);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}
.whatsapp-btn:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }

/* "Sayfa başına dön" — halka (ring) sayfa kaydırma yüzdesine göre site.js tarafından
   dolduruluyor (stroke-dashoffset). Buton, bir miktar aşağı kaydırılana kadar (bkz.
   site.js SCROLL_TOP_SHOW_AFTER) gizli/saydam kalıyor; JS çalışmasa bile en kötü
   ihtimalle buton hiç görünmez — sayfanın geri kalanını etkilemez. */
.scroll-top-btn {
  position: relative;
  width: 48px; height: 48px;
  border: none; background: transparent; cursor: pointer;
  padding: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
}
.scroll-top-btn.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.scroll-top-btn__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.scroll-top-btn__ring-track,
.scroll-top-btn__ring-fill {
  fill: var(--cream);
  stroke-width: 3;
  cx: 22; cy: 22; r: 19.5;
}
.scroll-top-btn__ring-track { stroke: var(--black-line-strong, rgba(23,21,18,0.15)); fill: var(--cream); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.scroll-top-btn__ring-fill {
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-dasharray: 122.5;
  stroke-dashoffset: 122.5;
  transition: stroke-dashoffset 80ms linear;
}
.scroll-top-btn__arrow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  color: var(--ink);
  pointer-events: none;
}

@media (max-width: 560px) {
  .fixed-actions { right: 14px; bottom: 14px; gap: 10px; }
  .whatsapp-btn { width: 48px; height: 48px; }
  .scroll-top-btn { width: 42px; height: 42px; }
}

/* ---------- Çerez uyarısı (cookie consent banner) ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: var(--black);
  color: var(--cream);
  border-top: 1px solid var(--black-line-strong);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  transition: transform 320ms ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__text { font-size: 13.5px; line-height: 1.6; color: rgba(247,245,240,0.85); margin: 0; max-width: 760px; }
.cookie-banner__text a { color: var(--gold); border-bottom: 1px solid rgba(201,163,95,0.5); }
.cookie-banner__text a:hover { color: var(--cream); border-color: var(--cream); }
.cookie-banner__actions { flex-shrink: 0; }

@media (max-width: 640px) {
  .cookie-banner__inner { padding: 16px 20px; flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner__actions .btn { width: 100%; justify-content: center; }
}

/* Çerez bandı görünürken sağ alttaki WhatsApp/"başa dön" butonlarının bandın ALTINDA
   kalıp görünmez olmaması (ya da üstüne binip metni kapatmaması) için onları bir miktar
   yukarı kaydırıyoruz — bkz. site.js'teki "cookie-visible" body sınıfı. */
body.cookie-visible .fixed-actions { bottom: 92px; }
@media (max-width: 640px) {
  body.cookie-visible .fixed-actions { bottom: 132px; }
}
